/* =====================================================================
   DASVO AGENCY — Landing de conversión (versión premium)
   styles.css  ·  hand-authored, sin build step, sin dependencias
   ---------------------------------------------------------------------
   ¿CAMBIAR COLOR O TIPOGRAFÍA?  ->  edita las variables de :root (abajo).
   Mobile-first: los estilos base son para celular; las media queries
   ajustan a tablet/escritorio.
   ===================================================================== */

/* ---------- VARIABLES (cambia el look del sitio aquí) ---------- */
:root {
  /* COLOR DE ACENTO PRINCIPAL (botones/CTA). Azul eléctrico de la marca Dasvo.
     Cambia este valor y se actualizan TODOS los botones del sitio. */
  --accent:        #2f80ff;        /* azul eléctrico Dasvo */
  --accent-strong: #1f6cf0;        /* hover del acento */
  --accent-2:      #36e2c8;        /* verde-azul tecnológico (detalles/glow) */
  --accent-soft:   rgba(47, 128, 255, 0.14);
  --accent-line:   rgba(47, 128, 255, 0.45);

  /* FONDOS (base oscura: negro azulado / azul noche) */
  --bg:            #070b12;        /* fondo principal */
  --bg-2:          #0b111c;        /* secciones alternas */
  --bg-card:       rgba(255, 255, 255, 0.035);  /* tarjetas (glass) */
  --bg-card-solid: #0e1622;        /* tarjetas opacas */
  --border:        rgba(255, 255, 255, 0.09);
  --border-soft:   rgba(255, 255, 255, 0.06);

  /* TEXTO */
  --text:          #eef3fb;        /* texto principal */
  --text-soft:     #9aa6b9;        /* texto secundario */
  --text-dim:      #5f6b7e;        /* texto tenue */

  /* TIPOGRAFÍA */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* MEDIDAS */
  --maxw: 1180px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 16px 40px rgba(47, 128, 255, 0.4);
}

/* ---------- RESET LIGERO ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 86px; /* aire para la barra fija de móvil */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 66px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3 { line-height: 1.14; font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.18rem; }
.section-head { margin-bottom: 8px; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lead { color: var(--text-soft); font-size: 1.08rem; }
.muted { color: var(--text-soft); }
.accent-text {
  background: linear-gradient(100deg, var(--accent), #6fa8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- BADGE (píldora superior) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-soft);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
  max-width: 100%; text-align: left;   /* el texto baja de línea en móvil, no desborda */
}
.badge .pulse {
  flex: none;
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(54, 226, 200, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 226, 200, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(54, 226, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 226, 200, 0); }
}

/* ---------- BOTONES (tamaño "pulgar de celular") ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.06rem; font-weight: 800; line-height: 1.1;
  padding: 18px 30px; border-radius: 999px; border: none; cursor: pointer;
  text-align: center; width: 100%;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(47,128,255,0.55); }
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 13px 22px; font-size: 0.98rem; width: auto; }
.btn .wa-icon { width: 22px; height: 22px; flex: none; }
@media (min-width: 640px) { .btn { width: auto; } }

/* ---------- MICRO-LÍNEA DE CONFIANZA ---------- */
.trustline {
  margin-top: 16px; font-size: 0.92rem; color: var(--text-dim);
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
}
.trustline span { display: inline-flex; align-items: center; gap: 6px; }
.trustline .dot { color: var(--accent-2); }

/* ---------- CHIPS de confianza (bajo el CTA del hero) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; color: var(--text-soft);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }

/* =====================================================================
   1) HERO
   ===================================================================== */
.hero {
  position: relative; padding: 52px 0 60px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(47,128,255,0.22), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(54,226,200,0.10), transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; gap: 38px; }
.hero-grid > * { min-width: 0; }            /* evita que el contenido ancho desborde en móvil */
.hero h1 { margin-bottom: 18px; overflow-wrap: break-word; }
.hero .lead { margin-bottom: 30px; max-width: 560px; }

/* Mockup principal (imagen real o placeholder) */
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Tarjetas flotantes sobre el mockup */
.float-card {
  position: absolute; display: none; align-items: center; gap: 10px;
  background: rgba(14, 22, 34, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 14px; font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-2);
}
.float-card .fc-ico svg { width: 18px; height: 18px; }
.fc-1 { top: 12%; left: -8px; }
.fc-2 { bottom: 16%; right: -6px; animation-delay: 1.2s; }
.fc-3 { bottom: -10px; left: 18%; animation-delay: 2.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* Las tarjetas flotantes solo aparecen cuando la imagen real del hero ha cargado
   (script.js añade .has-art). Así el placeholder se ve limpio mientras no hay imagen. */
.hero-visual.has-art .float-card { display: flex; }

/* Placeholder visual reutilizable (cuando aún no hay imagen) */
.ph {
  background: linear-gradient(160deg, var(--bg-card-solid), #131e2c);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--text-dim); font-size: 0.88rem; padding: 22px; min-height: 240px;
}
.ph small { display: block; margin-top: 6px; color: var(--text-dim); opacity: 0.7; }

@media (min-width: 960px) {
  .hero { padding: 92px 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .hero h1 { font-size: 3.1rem; }
  .ph { min-height: 380px; }
}

/* =====================================================================
   2) BARRA DE CONFIANZA RÁPIDA
   ===================================================================== */
.trustbar { background: var(--bg-2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.trustbar .container { padding-top: 44px; padding-bottom: 44px; }
.trustbar h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-soft); max-width: 760px; margin: 0 auto 30px; text-align: center; line-height: 1.5; }
.trustbar h2 strong { color: var(--text); }
.mini-grid { display: grid; gap: 16px; }
.mini {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mini svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.mini b { display: block; font-size: 0.98rem; }
.metrics { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; margin-top: 28px; }
.metric { text-align: center; }
.metric .num { font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.metric .lbl { font-size: 0.85rem; color: var(--text-dim); }
@media (min-width: 720px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   3) PROBLEMA  (tarjetas de dolor)
   ===================================================================== */
.pain-list { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.pain-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pain-list .ico { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
@media (min-width: 720px) { .pain-list { grid-template-columns: 1fr 1fr; } }

/* Antes / Después (imágenes o placeholders) */
.beforeafter { display: grid; gap: 16px; margin-top: 30px; }
.ba-box { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.ba-box img { width: 100%; display: block; }
.ba-box .ba-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: rgba(7,11,18,0.8); color: var(--text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba-box .ba-tag.after { color: var(--accent-2); }
.ba-box .ph { min-height: 220px; border: none; border-radius: 0; }
@media (min-width: 760px) { .beforeafter { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   4) COSTO INVISIBLE
   ===================================================================== */
.highlight-quote {
  margin-top: 26px; text-align: center; font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.35;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: var(--radius); padding: 28px 24px;
}

/* =====================================================================
   5) SOLUCIÓN  (diagrama de flujo conectado)
   ===================================================================== */
.flow {
  display: grid; gap: 14px; margin-top: 36px;
  grid-template-columns: 1fr; align-items: stretch;
}
.flow-step {
  position: relative; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.flow-step .fs-ico {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), rgba(54,226,200,0.12));
  color: var(--accent);
}
.flow-step .fs-ico svg { width: 24px; height: 24px; }
.flow-step b { display: block; font-size: 0.98rem; }
.flow-step span { font-size: 0.82rem; color: var(--text-dim); }
/* flecha entre pasos */
.flow-step:not(:last-child)::after {
  content: "↓"; position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  color: var(--accent); font-size: 1.1rem; z-index: 2;
}
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .flow-step:not(:last-child)::after { content: "→"; bottom: auto; top: 50%; left: auto; right: -14px; transform: translateY(-50%); }
}

/* =====================================================================
   6) QUÉ CONSTRUIMOS  (tarjetas premium)
   ===================================================================== */
.cards { display: grid; gap: 18px; margin-top: 36px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.card .card-ico {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.card .card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 0.97rem; }
.tag-opcional {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--accent-2); border: 1px solid var(--accent-2);
  border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle;
}
.stack-remate { margin-top: 32px; text-align: center; font-size: 1.2rem; font-weight: 700; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   7) PRUEBA SOCIAL
   ===================================================================== */
.proof-grid { display: grid; gap: 18px; margin-top: 30px; }
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.testimonial .stars { color: var(--accent-2); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial .quote { font-size: 1.0rem; color: var(--text); }
.testimonial .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  background: var(--bg-2); border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--text-dim); text-align: center;
}
.testimonial .who b { display: block; font-size: 0.94rem; }
.testimonial .who span { font-size: 0.84rem; color: var(--text-dim); }
@media (min-width: 860px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } }

/* Capturas reales (galería) */
.shots { display: grid; gap: 14px; margin-top: 28px; }
.shots .ph { min-height: 150px; font-size: 0.8rem; }
@media (min-width: 600px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .shots { grid-template-columns: repeat(4, 1fr); } }

/* Casos antes/después (texto) */
.cases { display: grid; gap: 18px; margin-top: 30px; }
.case {
  background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.case .case-row { padding: 20px 22px; }
.case .case-row + .case-row { border-top: 1px solid var(--border); }
.case .case-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.case .before .case-label { color: #ff7a7a; }
.case .after .case-label { color: var(--accent-2); }
.case p { color: var(--text-soft); font-size: 0.96rem; }
@media (min-width: 760px) { .cases { grid-template-columns: 1fr 1fr; } }

/* Sectores */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.sector {
  font-size: 0.9rem; color: var(--text-soft);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 999px;
}

/* =====================================================================
   8) MINI CASO / TIMELINE
   ===================================================================== */
.timeline { display: grid; gap: 16px; margin-top: 36px; }
.tl-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tl-num {
  flex: none; width: 38px; height: 38px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.tl-item b { display: block; }
.tl-item p { color: var(--text-soft); font-size: 0.95rem; margin-top: 2px; }
@media (min-width: 820px) { .timeline { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   9) CÓMO FUNCIONA  (3 pasos)
   ===================================================================== */
.steps { display: grid; gap: 20px; margin-top: 36px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.step .num {
  width: 46px; height: 46px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff;
  font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.97rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   10) OFERTA (Godfather)
   ===================================================================== */
.offer-card {
  max-width: 760px; margin: 32px auto 0; text-align: center;
  background:
    radial-gradient(500px 280px at 50% 0%, rgba(47,128,255,0.18), transparent 60%),
    var(--bg-card-solid);
  border: 1px solid var(--accent-line); border-radius: var(--radius);
  padding: 40px 28px; box-shadow: var(--shadow);
}
.offer-includes { list-style: none; text-align: left; max-width: 540px; margin: 24px auto; display: grid; gap: 14px; }
.offer-includes li { display: flex; gap: 12px; align-items: flex-start; }
.offer-includes .check { color: var(--accent-2); flex: none; width: 24px; height: 24px; }
.offer-card .recalca {
  color: var(--text); font-weight: 700; font-size: 1.05rem; margin: 8px auto 26px; max-width: 520px;
}

/* =====================================================================
   11) REVERSIÓN DE RIESGO
   ===================================================================== */
.guarantees { display: grid; gap: 14px; margin-top: 28px; }
.guarantee {
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px;
}
.guarantee svg { width: 24px; height: 24px; color: var(--accent-2); flex: none; }
@media (min-width: 760px) { .guarantees { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   12) COMPARACIÓN (tabla)
   ===================================================================== */
.compare { display: grid; gap: 18px; margin-top: 36px; }
.compare-col {
  border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--border);
  background: var(--bg-card-solid);
}
.compare-col.dasvo { border-color: var(--accent-line); box-shadow: var(--shadow-accent); background:
  radial-gradient(400px 260px at 50% 0%, rgba(47,128,255,0.14), transparent 60%), var(--bg-card-solid); }
.compare-col h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-col.dasvo h3 { color: var(--accent); }
.compare-col ul { list-style: none; display: grid; gap: 12px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); font-size: 0.96rem; }
.compare-col li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.compare-col.trad li svg { color: #ff7a7a; }
.compare-col.dasvo li svg { color: var(--accent-2); }
.compare-remate { text-align: center; margin-top: 30px; font-size: 1.2rem; font-weight: 800; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   13) FAQ  (acordeón)
   ===================================================================== */
.faq-list { margin-top: 30px; display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-size: 1.03rem; font-weight: 700; padding: 20px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform 0.25s ease; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-soft); }
.faq-a p { padding: 0 22px 20px; }

/* =====================================================================
   14) CTA FINAL
   ===================================================================== */
.final-cta {
  text-align: center;
  background:
    radial-gradient(760px 420px at 50% 120%, rgba(47,128,255,0.22), transparent 60%),
    radial-gradient(500px 300px at 50% -10%, rgba(54,226,200,0.10), transparent 60%),
    var(--bg-2);
}
.final-cta h2 { font-size: 2.05rem; margin-bottom: 16px; }
.final-cta .lead { margin-bottom: 28px; }
@media (min-width: 720px) { .final-cta h2 { font-size: 2.5rem; } }

/* =====================================================================
   15) FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--border); padding: 44px 0 56px; color: var(--text-dim); font-size: 0.9rem; }
.footer-logo { font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent); }
.footer-grid { display: grid; gap: 22px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer .links a:hover { color: var(--accent); }
.footer-bottom { margin-top: 26px; color: var(--text-dim); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* =====================================================================
   BARRA CTA FIJA (solo móvil)
   ===================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  background: rgba(7, 11, 18, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta .sc-text { flex: 1; min-width: 0; }
.sticky-cta .sc-text b { display: block; font-size: 0.92rem; line-height: 1.2; }
.sticky-cta .sc-text small { color: var(--text-dim); font-size: 0.74rem; }
.sticky-cta .btn { width: auto; padding: 13px 20px; font-size: 0.95rem; flex: none; }
@media (min-width: 880px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* =====================================================================
   FADE-IN al hacer scroll (activado por script.js)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .float-card { transition: none; animation: none; }
}

/* =====================================================================
   ANTES / DESPUÉS — imagen combinada única
   ===================================================================== */
.ba-single { max-width: 620px; margin: 30px auto 0; }
.ba-single img, .ba-single .ph { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* =====================================================================
   PRUEBA SOCIAL PREMIUM  (A: Marcas · B: Reseñas PRO · C: Casos ULTRA PRO)
   ===================================================================== */

/* --- A) Banner de marcas (marquee) --- */
.brands { background: radial-gradient(720px 360px at 50% -10%, rgba(47,128,255,0.16), transparent 60%), var(--bg-2); }
.brands-panel {
  position: relative; margin-top: 34px; padding: 30px 12px; border-radius: 26px; overflow: hidden;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(47,128,255,0.32);
  box-shadow: inset 0 0 0 1px rgba(47,128,255,0.06), 0 24px 60px rgba(0,0,0,0.5), 0 0 60px rgba(47,128,255,0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.brands-panel::before {
  content: ""; position: absolute; left: 20%; right: 20%; top: -45%; height: 60%; z-index: 0;
  background: radial-gradient(closest-side, rgba(47,128,255,0.28), transparent); filter: blur(30px);
}
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-card {
  flex: none; display: flex; align-items: center; justify-content: center;
  min-width: 152px; height: 64px; padding: 0 24px; border-radius: 14px;
  background: rgba(255,255,255,0.045); border: 1px solid var(--border);
  color: var(--text-soft); font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; white-space: nowrap;
  opacity: 0.7; transition: opacity .2s, border-color .2s, box-shadow .2s, color .2s;
}
.brand-card:hover { opacity: 1; color: #fff; border-color: var(--accent-line); box-shadow: 0 0 26px rgba(47,128,255,0.28); }
.brands-note { margin: 18px auto 0; max-width: 680px; text-align: center; font-size: 0.8rem; color: var(--text-dim); }

/* --- B) Reseñas PRO --- */
.reviews-grid { display: grid; gap: 18px; margin-top: 40px; }
.review-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
  padding: 26px 24px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 22px 50px rgba(47,128,255,0.22); }
.review-card.featured { border-color: rgba(47,128,255,0.5); box-shadow: inset 0 0 0 1px rgba(47,128,255,0.12), 0 26px 60px rgba(47,128,255,0.28); }
.review-flag {
  position: absolute; top: -12px; left: 24px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-accent);
}
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), #1b3f86);
}
.review-id { flex: 1; min-width: 0; }
.review-id b { display: block; }
.review-id span { font-size: 0.85rem; color: var(--text-dim); }
.badge-verif {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700;
  color: var(--accent-2); background: rgba(54,226,200,0.10); border: 1px solid rgba(54,226,200,0.38);
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 0 16px rgba(54,226,200,0.2);
}
.badge-verif svg { width: 14px; height: 14px; }
.review-stars { color: var(--accent-2); letter-spacing: 2px; margin: 16px 0 12px; }
.pill-service {
  display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 12px; border-radius: 999px;
}
.review-text { margin-top: 14px; color: var(--text); font-size: 0.98rem; }
.review-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }
@media (min-width: 880px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

/* --- C) Casos ULTRA PRO --- */
.ultra-list { display: grid; gap: 22px; margin-top: 40px; }
.ultra-card {
  position: relative; overflow: hidden; display: grid; gap: 22px;
  background: radial-gradient(620px 320px at 100% 0%, rgba(47,128,255,0.10), transparent 60%), var(--bg-card-solid);
  border: 1px solid var(--border); border-radius: 26px; padding: 28px 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ultra-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: 0 28px 64px rgba(47,128,255,0.22); }
.ultra-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  background-size: 200% 100%; animation: lightline 6s linear infinite; opacity: 0.85;
}
@keyframes lightline { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ultra-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ultra-company { font-size: 1.25rem; }
.ultra-person { color: var(--text-soft); margin-top: 6px; font-size: 0.92rem; }
.ultra-main .pill-service { margin-top: 14px; }
.ultra-ba { display: grid; gap: 14px; margin-top: 18px; }
.ultra-col { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.ultra-lbl { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.ultra-col.before .ultra-lbl { color: #ff7a7a; }
.ultra-col.after .ultra-lbl { color: var(--accent-2); }
.ultra-col p { color: var(--text-soft); font-size: 0.93rem; }
.ultra-quote { margin-top: 18px; font-size: 1.12rem; font-weight: 700; line-height: 1.4; border-left: 3px solid var(--accent); padding-left: 16px; }
.ultra-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.uchip { font-size: 0.8rem; color: var(--text-soft); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 6px 12px; border-radius: 999px; }
.ultra-mock { order: -1; }
.ultra-mock img, .ultra-mock .ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .ultra-ba { grid-template-columns: 1fr 1fr; }
  .ultra-card { grid-template-columns: 1.5fr 1fr; align-items: center; }
  .ultra-mock { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .ultra-card::before { animation: none; }
}

/* ============================================================
   DASVO — Diagrama animado premium del ecosistema
   ============================================================ */

.dasvo-ecosystem {
  width: 100%;
  position: relative;
}

.eco-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    radial-gradient(circle at 18% 16%, rgba(47,128,255,0.16), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(54,226,200,0.11), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
    #08101b;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 28px 80px rgba(0,0,0,0.52);
  isolation: isolate;
}

.eco-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0 1px, transparent 1px);
  background-size: 28px 28px, 34px 34px;
}

.eco-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47,128,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,128,255,0.14) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.eco-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.eco-glow-blue {
  width: 320px;
  height: 320px;
  background: rgba(47,128,255,0.22);
  top: -80px;
  left: -70px;
}

.eco-glow-cyan {
  width: 360px;
  height: 360px;
  background: rgba(54,226,200,0.13);
  right: -100px;
  bottom: -110px;
}

.eco-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 22px 10px;
}

.eco-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(54,226,200,0.08);
  border: 1px solid rgba(54,226,200,0.18);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eco-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(54,226,200,0.9);
}

.eco-header h3 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: 12px;
}

.eco-header p {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

.eco-map {
  position: relative;
  z-index: 2;
  min-height: 760px;
  margin: 10px 18px 0;
}

.eco-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.eco-path-base {
  fill: none;
  stroke: rgba(255,255,255,0.075);
  stroke-width: 2;
}

.eco-path-flow {
  fill: none;
  stroke: url(#dasvoLineGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 22;
  animation: ecoFlowDash 9s linear infinite;
  filter: drop-shadow(0 0 8px rgba(47,128,255,0.55));
  opacity: 0.92;
}

.eco-delay-2 { animation-delay: -1.2s; }
.eco-delay-3 { animation-delay: -2.1s; }
.eco-delay-4 { animation-delay: -3.2s; }
.eco-delay-5 { animation-delay: -4s; }

@keyframes ecoFlowDash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -240; }
}

.eco-orb {
  fill: var(--accent-2);
  filter: drop-shadow(0 0 14px rgba(54,226,200,0.95));
}

.eco-orb-blue {
  fill: var(--accent);
  filter: drop-shadow(0 0 14px rgba(47,128,255,0.95));
}

/* Centro */
.eco-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 310px;
  transform: translate(-50%, -50%);
  padding: 26px 22px;
  text-align: center;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),
    rgba(9,15,26,0.78);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.52),
    0 0 55px rgba(47,128,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.eco-core-rings {
  position: absolute;
  inset: -38px;
  pointer-events: none;
}

.eco-core-rings span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(47,128,255,0.16);
  animation: ecoRingPulse 4s ease-in-out infinite;
}

.eco-core-rings span:nth-child(2) {
  inset: 14px;
  border-color: rgba(54,226,200,0.13);
  animation-delay: 1.2s;
}

.eco-core-rings span:nth-child(3) {
  inset: 28px;
  border-color: rgba(255,255,255,0.08);
  animation-delay: 2.3s;
}

@keyframes ecoRingPulse {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.eco-core-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 30%),
    linear-gradient(135deg, var(--accent), #164bff 52%, var(--accent-2));
  box-shadow:
    0 0 34px rgba(47,128,255,0.38),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.eco-core-icon svg {
  width: 34px;
  height: 34px;
}

.eco-core-badge {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eco-core h4 {
  font-size: 1.45rem;
  margin-bottom: 9px;
  color: var(--text);
}

.eco-core p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.eco-core-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.eco-core-stats span {
  padding: 9px 7px;
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-dim);
  font-size: 0.7rem;
}

.eco-core-stats b {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.1;
}

/* Nodos */
.eco-node {
  position: absolute;
  z-index: 3;
  width: 250px;
  min-height: 250px;
  padding: 19px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.024)),
    rgba(10,17,29,0.72);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.eco-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47,128,255,0.42), transparent 35%, rgba(54,226,200,0.25));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.eco-node:hover {
  transform: translateY(-7px);
  border-color: rgba(47,128,255,0.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035)),
    rgba(10,17,29,0.78);
  box-shadow:
    0 24px 62px rgba(0,0,0,0.44),
    0 0 35px rgba(47,128,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.eco-node:hover::before {
  opacity: 1;
}

.eco-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.eco-node-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  background:
    linear-gradient(135deg, rgba(47,128,255,0.20), rgba(54,226,200,0.11));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 22px rgba(47,128,255,0.13),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.eco-node-icon svg {
  width: 26px;
  height: 26px;
}

.eco-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dffcff;
  background: rgba(54,226,200,0.08);
  border: 1px solid rgba(54,226,200,0.16);
  font-size: 0.7rem;
  font-weight: 800;
}

.eco-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(54,226,200,0.9);
}

.eco-node h4 {
  font-size: 1.14rem;
  color: var(--text);
  margin-bottom: 7px;
}

.eco-node p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.eco-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Mini interfaces dentro de tarjetas */
.eco-mini-ui {
  min-height: 74px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(3,7,13,0.35);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

/* Web UI */
.browser-ui {
  position: relative;
  padding: 13px;
}

.browser-ui > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  margin-right: 5px;
}

.browser-ui div {
  height: 7px;
  border-radius: 999px;
  background: rgba(47,128,255,0.35);
  margin-top: 10px;
}

.browser-ui div:nth-of-type(1) { width: 72%; }
.browser-ui div:nth-of-type(2) {
  width: 48%;
  background: rgba(255,255,255,0.12);
}

.browser-ui button {
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 0.68rem;
  font-weight: 800;
}

/* Chat UI */
.chat-ui {
  padding: 10px;
}

.chat-ui .bubble {
  width: max-content;
  max-width: 78%;
  padding: 7px 10px;
  margin-bottom: 6px;
  border-radius: 12px;
  font-size: 0.68rem;
  color: var(--text);
}

.chat-ui .left {
  background: rgba(255,255,255,0.08);
}

.chat-ui .right {
  margin-left: auto;
  background: rgba(47,128,255,0.42);
}

/* Calendar UI */
.calendar-ui {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 12px;
}

.calendar-ui span {
  height: 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.calendar-ui span.active {
  background: linear-gradient(135deg, rgba(47,128,255,0.7), rgba(54,226,200,0.55));
  box-shadow: 0 0 18px rgba(47,128,255,0.22);
}

/* Dashboard UI */
.dash-ui {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 12px;
  padding: 12px;
}

.dash-bars {
  height: 56px;
  display: flex;
  align-items: end;
  gap: 6px;
}

.dash-bars span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--accent), rgba(47,128,255,0.22));
  animation: ecoBars 2.8s ease-in-out infinite;
}

.dash-bars span:nth-child(2) { animation-delay: 0.2s; }
.dash-bars span:nth-child(3) { animation-delay: 0.4s; }
.dash-bars span:nth-child(4) { animation-delay: 0.6s; }
.dash-bars span:nth-child(5) { animation-delay: 0.8s; }

@keyframes ecoBars {
  0%, 100% { opacity: 0.72; transform: scaleY(0.92); }
  50% { opacity: 1; transform: scaleY(1.05); }
}

.dash-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 14px;
  color: var(--accent-2);
  background: rgba(54,226,200,0.08);
  border: 1px solid rgba(54,226,200,0.13);
  font-weight: 900;
  font-size: 1.25rem;
}

/* Automation UI */
.automation-ui {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px;
}

.automation-ui span {
  flex: 1;
  text-align: center;
  padding: 8px 7px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.07);
  font-size: 0.68rem;
  font-weight: 800;
}

.automation-ui i {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(54,226,200,0.45);
}

/* Posiciones desktop */
.eco-web {
  top: 50px;
  left: 28px;
}

.eco-chatbot {
  top: 50px;
  right: 28px;
}

.eco-agenda {
  bottom: 96px;
  left: 36px;
}

.eco-dashboard {
  bottom: 96px;
  right: 36px;
}

.eco-auto {
  left: 50%;
  bottom: 22px;
  width: 320px;
  min-height: 215px;
  transform: translateX(-50%);
}

.eco-auto:hover {
  transform: translateX(-50%) translateY(-7px);
}

/* Footer del diagrama */
.eco-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 18px 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.eco-footer strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.eco-footer span {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Responsive tablet */
@media (max-width: 1080px) {
  .eco-map {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 18px 18px;
  }

  .eco-svg-lines {
    display: none;
  }

  .eco-core,
  .eco-node,
  .eco-auto {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    transform: none;
  }

  .eco-core {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .eco-auto {
    grid-column: 1 / -1;
  }

  .eco-auto:hover,
  .eco-node:hover {
    transform: translateY(-6px);
  }

  .eco-node {
    padding: 18px;
  }
}

/* Responsive móvil */
@media (max-width: 680px) {
  .eco-shell {
    border-radius: 24px;
  }

  .eco-header {
    padding: 32px 18px 8px;
  }

  .eco-header h3 {
    font-size: 1.45rem;
  }

  .eco-header p {
    font-size: 0.94rem;
  }

  .eco-map {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px 14px 14px;
  }

  .eco-core {
    padding: 22px 17px;
    border-radius: 22px;
  }

  .eco-core-rings {
    display: none;
  }

  .eco-core-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .eco-core h4 {
    font-size: 1.22rem;
  }

  .eco-core-stats {
    grid-template-columns: 1fr;
  }

  .eco-node {
    border-radius: 20px;
  }

  .eco-node-top {
    margin-bottom: 13px;
  }

  .eco-node-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .eco-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin: 0 14px 14px;
    padding: 16px;
  }

  .eco-footer .btn {
    width: 100%;
  }
}

/* Accesibilidad: reduce animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  .eco-path-flow,
  .eco-core-rings span,
  .dash-bars span {
    animation: none !important;
  }

  .eco-orb {
    display: none;
  }
}

/* ============================================================
   HERO V2 — DASVO AGENCY PREMIUM ANIMADO
   ============================================================ */

.hero-v2 {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 86px 0 96px;
  background:
    radial-gradient(circle at 75% 20%, rgba(47,128,255,0.18), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(54,226,200,0.10), transparent 30%),
    linear-gradient(180deg, #07101c 0%, #060a11 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-v2-bg,
.hero-v2-grid,
.hero-v2-noise,
.hero-v2-orb {
  position: absolute;
  pointer-events: none;
}

.hero-v2-bg {
  inset: 0;
  z-index: 0;
}

.hero-v2-grid {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(47,128,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,128,255,0.14) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 70% 45%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 45%, black 0%, transparent 70%);
}

.hero-v2-noise {
  inset: 0;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.04) 0 1px, transparent 1px);
  background-size: 32px 32px, 42px 42px;
}

.hero-v2-orb {
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.65;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(47,128,255,0.25);
  top: -160px;
  right: 8%;
  animation: heroOrbFloat 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(54,226,200,0.13);
  bottom: -150px;
  left: -90px;
  animation: heroOrbFloat 11s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(47,128,255,0.16);
  top: 42%;
  left: 42%;
  animation: heroOrbFloat 13s ease-in-out infinite;
}

@keyframes heroOrbFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-24px,0) scale(1.06); }
}

.hero-v2-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-v2-copy {
  max-width: 620px;
}

.hero-v2-badge {
  margin-bottom: 22px;
  box-shadow: 0 0 28px rgba(47,128,255,0.13);
}

.hero-v2 h1 {
  max-width: 620px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-v2 h1 span {
  display: inline;
  background: linear-gradient(100deg, #ffffff 0%, #83b5ff 42%, var(--accent) 72%, #63f7de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-v2-lead {
  max-width: 590px;
  color: #a9b6ca;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-v2-main-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-v2-main-cta::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -1;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.28) 50%, transparent 75%);
  transform: translateX(-80%) rotate(12deg);
  animation: heroButtonShine 3.8s ease-in-out infinite;
}

@keyframes heroButtonShine {
  0%, 55% { transform: translateX(-95%) rotate(12deg); }
  100% { transform: translateX(95%) rotate(12deg); }
}

.hero-v2-mini-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-v2-mini-proof span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 14px rgba(54,226,200,0.9);
}

.hero-v2-trustline {
  margin-top: 18px;
}

.hero-v2-chips {
  margin-top: 28px;
}

/* Visual */
.hero-v2-visual {
  position: relative;
  min-height: 610px;
}

.hero-device-stage {
  position: relative;
  width: min(100%, 760px);
  min-height: 610px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-device-stage::before {
  content: "";
  position: absolute;
  inset: 12% 4% 8%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 40% 25%, rgba(47,128,255,0.18), transparent 35%),
    radial-gradient(circle at 76% 72%, rgba(54,226,200,0.12), transparent 34%),
    rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.05);
  filter: blur(0);
  transform: rotateX(58deg) rotateZ(-8deg);
}

.hero-data-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(47,128,255,0.15);
  pointer-events: none;
  z-index: 1;
}

.hero-data-ring-1 {
  width: 520px;
  height: 520px;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  animation: heroRingRotate 18s linear infinite;
}

.hero-data-ring-2 {
  width: 360px;
  height: 360px;
  top: 125px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(54,226,200,0.12);
  animation: heroRingRotate 14s linear infinite reverse;
}

@keyframes heroRingRotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* Dashboard */
.hero-dashboard {
  position: absolute;
  z-index: 4;
  top: 95px;
  left: 4%;
  width: 590px;
  min-height: 380px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.022)),
    rgba(8,14,24,0.86);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    0 35px 90px rgba(0,0,0,0.55),
    0 0 60px rgba(47,128,255,0.13),
    inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: rotateY(-7deg) rotateX(3deg);
  animation: dashboardFloat 6s ease-in-out infinite;
}

@keyframes dashboardFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(4deg) translateY(-12px); }
}

.dashboard-topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}

.dasvo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dasvo-mark > span {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #1a4eff);
  box-shadow: 0 0 20px rgba(47,128,255,0.35);
}

.dasvo-mark strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1;
}

.dasvo-mark small {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #dffcff;
  background: rgba(54,226,200,0.08);
  border: 1px solid rgba(54,226,200,0.16);
  font-size: 0.72rem;
  font-weight: 800;
}

.dash-live span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(54,226,200,0.9);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 318px;
}

.dash-sidebar {
  padding: 18px 14px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-sidebar span {
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
}

.dash-sidebar span.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 22px rgba(47,128,255,0.28);
}

.dash-main {
  padding: 18px;
}

.dash-welcome {
  margin-bottom: 16px;
}

.dash-welcome span {
  display: block;
  color: var(--text-dim);
  font-size: 0.74rem;
  margin-bottom: 4px;
}

.dash-welcome strong {
  color: var(--text);
  font-size: 1.08rem;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 13px;
}

.dash-kpi {
  padding: 13px;
  border-radius: 17px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
}

.dash-kpi small {
  display: block;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.dash-kpi strong {
  display: block;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.1;
  margin: 5px 0;
}

.dash-kpi em {
  color: var(--accent-2);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.dash-content {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 12px;
}

.dash-chart-card,
.dash-list-card {
  min-height: 148px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 13px;
}

.chart-title {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.animated-chart {
  height: 88px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.animated-chart span {
  flex: 1;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, #5aa1ff, rgba(47,128,255,0.18));
  animation: heroBars 3s ease-in-out infinite;
}

.animated-chart span:nth-child(2) { animation-delay: 0.2s; }
.animated-chart span:nth-child(3) { animation-delay: 0.4s; }
.animated-chart span:nth-child(4) { animation-delay: 0.6s; }
.animated-chart span:nth-child(5) { animation-delay: 0.8s; }
.animated-chart span:nth-child(6) { animation-delay: 1s; }
.animated-chart span:nth-child(7) { animation-delay: 1.2s; }

@keyframes heroBars {
  0%, 100% { transform: scaleY(0.9); opacity: 0.75; }
  50% { transform: scaleY(1.06); opacity: 1; }
}

.mini-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
}

.mini-row + .mini-row {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.mini-row strong {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
}

.mini-row small {
  display: block;
  color: var(--text-dim);
  font-size: 0.64rem;
}

.mini-row em {
  color: var(--accent-2);
  font-style: normal;
  font-size: 0.66rem;
}

/* Phone */
.hero-phone {
  position: absolute;
  z-index: 6;
  width: 205px;
  height: 410px;
  right: 4%;
  top: 175px;
  border-radius: 34px;
  padding: 13px;
  background: #050912;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 55px rgba(47,128,255,0.20);
  animation: phoneFloat 5.8s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #02050a;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 6px 11px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: rgba(47,128,255,0.14);
}

.bot-avatar svg {
  width: 19px;
  height: 19px;
}

.phone-header strong {
  display: block;
  color: var(--text);
  font-size: 0.78rem;
}

.phone-header small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  font-size: 0.65rem;
}

.phone-header small span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(54,226,200,0.8);
}

.phone-chat {
  padding: 13px 5px;
}

.chat-bubble {
  width: fit-content;
  max-width: 92%;
  margin-bottom: 9px;
  padding: 9px 10px;
  border-radius: 15px;
  color: var(--text);
  font-size: 0.67rem;
  line-height: 1.35;
  animation: bubbleIn 4.2s ease-in-out infinite;
}

.chat-bubble.bot {
  background: rgba(255,255,255,0.075);
  border-bottom-left-radius: 5px;
}

.chat-bubble.user {
  margin-left: auto;
  background: rgba(47,128,255,0.56);
  border-bottom-right-radius: 5px;
  animation-delay: 0.4s;
}

.chat-bubble.final {
  animation-delay: 1s;
}

@keyframes bubbleIn {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-2px); opacity: 1; }
}

.chat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 9px;
}

.chat-options button {
  padding: 8px 5px;
  border-radius: 12px;
  color: #dfeeff;
  background: rgba(47,128,255,0.14);
  border: 1px solid rgba(47,128,255,0.35);
  font-size: 0.62rem;
  font-weight: 800;
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 192px;
  padding: 12px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(8,14,24,0.76);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.38),
    0 0 28px rgba(47,128,255,0.12);
  animation: floatCard 5.4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.float-icon {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(47,128,255,0.14);
  flex: none;
}

.float-icon.green {
  color: var(--accent-2);
  background: rgba(54,226,200,0.10);
}

.float-icon svg {
  width: 20px;
  height: 20px;
}

.hero-float-card strong {
  display: block;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.2;
}

.hero-float-card small {
  display: block;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.hero-float-1 {
  top: 72px;
  left: 0;
}

.hero-float-2 {
  right: 0;
  bottom: 60px;
  animation-delay: 1.2s;
}

.hero-float-3 {
  left: 110px;
  bottom: 20px;
  animation-delay: 2.1s;
}

.hero-connections {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-connection-line {
  fill: none;
  stroke: url(#heroConnectionGradient);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 10 18;
  animation: heroConnectionMove 8s linear infinite;
  opacity: 0.72;
  filter: drop-shadow(0 0 9px rgba(47,128,255,0.5));
}

@keyframes heroConnectionMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -220; }
}

.hero-dot-flow {
  fill: var(--accent);
  filter: drop-shadow(0 0 12px rgba(47,128,255,0.95));
}

.hero-dot-flow.cyan {
  fill: var(--accent-2);
  filter: drop-shadow(0 0 12px rgba(54,226,200,0.95));
}

/* Desktop layout */
@media (min-width: 980px) {
  .hero-v2-wrap {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

/* Tablet */
@media (max-width: 1120px) {
  .hero-dashboard {
    width: 540px;
    left: 0;
  }

  .hero-phone {
    right: 0;
  }
}

/* Mobile */
@media (max-width: 979px) {
  .hero-v2 {
    padding: 58px 0 72px;
  }

  .hero-v2-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-v2 h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v2-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v2-actions,
  .hero-v2-trustline,
  .hero-v2-chips {
    justify-content: center;
  }

  .hero-v2-visual {
    min-height: auto;
  }

  .hero-device-stage {
    min-height: 720px;
    width: 100%;
  }

  .hero-dashboard {
    top: 42px;
    left: 50%;
    width: min(94%, 580px);
    transform: translateX(-50%);
    animation: dashboardFloatMobile 6s ease-in-out infinite;
  }

  @keyframes dashboardFloatMobile {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
  }

  .hero-phone {
    top: 355px;
    right: 50%;
    transform: translateX(50%) rotate(2deg);
    animation: phoneFloatMobile 5.8s ease-in-out infinite;
  }

  @keyframes phoneFloatMobile {
    0%, 100% { transform: translateX(50%) translateY(0) rotate(2deg); }
    50% { transform: translateX(50%) translateY(-12px) rotate(0deg); }
  }

  .hero-float-1 {
    top: 20px;
    left: 20px;
  }

  .hero-float-2 {
    right: 18px;
    bottom: 38px;
  }

  .hero-float-3 {
    left: 18px;
    bottom: 96px;
  }

  .hero-connections,
  .hero-data-ring {
    display: none;
  }
}

@media (max-width: 680px) {
  .hero-v2 {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-v2 h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .hero-v2-lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-v2-actions {
    align-items: stretch;
  }

  .hero-v2-main-cta {
    width: 100%;
  }

  .hero-device-stage {
    min-height: 640px;
  }

  .hero-dashboard {
    width: 100%;
    top: 20px;
    border-radius: 22px;
  }

  .dashboard-layout {
    grid-template-columns: 52px 1fr;
  }

  .dashboard-topbar {
    height: 56px;
    padding: 0 13px;
  }

  .dash-sidebar {
    padding: 14px 10px;
  }

  .dash-sidebar span {
    height: 28px;
  }

  .dash-main {
    padding: 13px;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
  }

  .dash-content {
    grid-template-columns: 1fr;
  }

  .dash-list-card {
    display: none;
  }

  .hero-phone {
    width: 185px;
    height: 370px;
    top: 360px;
  }

  .hero-float-card {
    min-width: 160px;
    padding: 10px 11px;
  }

  .hero-float-card small {
    display: none;
  }

  .hero-float-1 {
    top: 0;
    left: 8px;
  }

  .hero-float-2 {
    right: 8px;
    bottom: 26px;
  }

  .hero-float-3 {
    left: 8px;
    bottom: 86px;
  }
}

@media (max-width: 430px) {
  .hero-device-stage {
    min-height: 620px;
  }

  .hero-dashboard {
    transform: none;
    left: 0;
  }

  .hero-phone {
    top: 350px;
  }

  .hero-float-1 {
    top: 8px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .hero-orb-1,
  .hero-orb-2,
  .hero-orb-3,
  .hero-data-ring,
  .hero-dashboard,
  .hero-phone,
  .hero-float-card,
  .hero-connection-line,
  .animated-chart span,
  .chat-bubble,
  .hero-v2-main-cta::before {
    animation: none !important;
  }

  .hero-dot-flow {
    display: none;
  }
}

/* ============================================================
   HISTORIA CON SCROLL — Caos → Dasvo conecta → Sistema
   ============================================================ */

.problem-transformation-section {
  position: relative;
  margin-top: 34px;
  min-height: 185vh;                 /* da espacio para el scroll-pin (desktop) */
}

.pts-sticky {
  position: sticky;
  top: 90px;
}

/* Indicador de fases */
.pts-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.pts-step {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.phase-chaos .s-chaos { color: #ffb27a; border-color: rgba(255,140,80,0.45); background: rgba(255,140,80,0.10); }
.phase-connect .s-connect { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); box-shadow: 0 0 22px rgba(47,128,255,0.18); }
.phase-system .s-system { color: var(--accent-2); border-color: rgba(54,226,200,0.4); background: rgba(54,226,200,0.10); box-shadow: 0 0 22px rgba(54,226,200,0.16); }

/* Escenario (tarjeta glass donde ocurre el crossfade) */
.pts-stage {
  position: relative;
  height: 70vh;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(620px 320px at 18% 16%, rgba(47,128,255,0.12), transparent 60%),
    radial-gradient(560px 320px at 84% 86%, rgba(54,226,200,0.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012)),
    var(--bg-card-solid);
  box-shadow: var(--shadow);
}
.pts-stage::before,
.pts-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.pts-stage::before {
  background-image:
    radial-gradient(circle at 18% 32%, rgba(255,140,80,0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 24%, rgba(47,128,255,0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 72%, rgba(54,226,200,0.24) 0 2px, transparent 3px);
  background-size: 180px 160px, 220px 190px, 260px 220px;
  opacity: 0.34;
  animation: ptsParticles 12s linear infinite;
}
.pts-stage::after {
  background: linear-gradient(115deg, transparent 0 35%, rgba(47,128,255,0.08) 48%, transparent 62% 100%);
  opacity: calc(var(--connect-progress, 0) * 0.8);
}
@keyframes ptsParticles {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 180px -160px, -220px 190px, 260px -220px; }
}

.pts-moment {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.phase-chaos .pts-chaos,
.phase-connect .pts-connect,
.phase-system .pts-system {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* Texto de cada momento */
.pts-text .pts-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(54,226,200,0.10);
  border: 1px solid rgba(54,226,200,0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pts-text .pts-label.red {
  color: #ff9d6e;
  background: rgba(255,140,80,0.10);
  border-color: rgba(255,140,80,0.35);
}
.pts-text h3 { font-size: clamp(1.25rem, 2.4vw, 1.85rem); color: var(--text); margin-bottom: 16px; }
.pts-bullets { list-style: none; display: grid; gap: 10px; }
.pts-bullets li { position: relative; padding-left: 24px; color: var(--text-soft); font-size: 0.98rem; }
.pts-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 999px;
  background: #ff8c50; box-shadow: 0 0 10px rgba(255,140,80,0.6);
}
.pts-bullets.ok li::before { background: var(--accent-2); box-shadow: 0 0 10px rgba(54,226,200,0.7); }

/* ---------- MOMENTO 1: CAOS ---------- */
.chaos-visual { position: relative; height: 100%; min-height: 380px; }

.chaos-phone {
  position: absolute; left: 50%; top: 50%;
  width: 212px; transform: translate(-50%, -50%) rotate(-3deg);
  background: #0b1320; border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 12px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.5);
  animation: chaosShake 0.5s ease-in-out infinite;
}
@keyframes chaosShake {
  0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); }
  50% { transform: translate(calc(-50% + 1px), calc(-50% - 1px)) rotate(-3.4deg); }
}
.chaos-phone-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.chaos-phone-head b { color: #e9f7ee; font-size: 0.82rem; }
.chaos-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ch-av { width: 28px; height: 28px; border-radius: 999px; background: linear-gradient(135deg, #2b3banti, #1d2734); background: #1d2734; }
.ch-tx b { display: block; color: var(--text); font-size: 0.72rem; }
.ch-tx small { display: block; color: var(--text-dim); font-size: 0.64rem; }
.chaos-badge { font-size: 0.66rem; font-weight: 800; color: #fff; padding: 2px 7px; border-radius: 999px; }
.chaos-badge.red { background: #e5484d; box-shadow: 0 0 12px rgba(229,72,77,0.5); animation: badgePulse 1.6s ease-in-out infinite; }
.chaos-badge.orange { background: #e8770f; }
.chaos-badge.yellow { background: #c79a12; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.chaos-note, .chaos-stat, .chaos-alert {
  position: absolute; z-index: 3; font-size: 0.74rem; font-weight: 700;
  padding: 8px 12px; border-radius: 12px; white-space: nowrap;
  background: rgba(20,16,10,0.78); border: 1px solid rgba(255,180,80,0.28); color: #ffce9e;
  box-shadow: 0 14px 34px rgba(0,0,0,0.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: noteFloat 5s ease-in-out infinite;
}
.chaos-note { transform: rotate(-4deg); background: rgba(28,24,8,0.82); border-color: rgba(220,200,60,0.3); color: #f3e58a; }
.chaos-note.n1 { top: 6%; left: 0; }
.chaos-note.n2 { top: 0; right: 4%; animation-delay: 1s; transform: rotate(4deg); }
.chaos-note.n3 { bottom: 16%; left: 2%; animation-delay: 2s; }
.chaos-note.n4 { bottom: 4%; right: 0; animation-delay: 1.6s; transform: rotate(3deg); }
.chaos-stat.st1 { top: 40%; left: -2%; animation-delay: 0.6s; }
.chaos-stat.st2 { top: 30%; right: -2%; animation-delay: 1.4s; }
.chaos-alert {
  left: 50%; bottom: -6px; transform: translateX(-50%);
  background: rgba(40,12,12,0.85); border-color: rgba(229,72,77,0.5); color: #ff9b9b; z-index: 5;
  animation: alertPulse 1.8s ease-in-out infinite;
}
.chaos-alert i { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #e5484d; margin-right: 6px; box-shadow: 0 0 12px rgba(229,72,77,0.9); }
@keyframes noteFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes alertPulse { 0%,100% { box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 0 0 rgba(229,72,77,0.4); } 50% { box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 0 10px rgba(229,72,77,0); } }

/* ---------- MOMENTO 2: CONEXIÓN ---------- */
.pts-connect { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.connect-inner { max-width: 620px; width: 100%; }
.connect-core {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 26px;
  padding: 14px 22px; border-radius: 18px; color: var(--text); font-weight: 800; font-size: 1.15rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)), rgba(9,15,26,0.7);
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 50px rgba(47,128,255,0.22);
  animation: coreGlow 3s ease-in-out infinite;
}
@keyframes coreGlow { 0%,100% { box-shadow: 0 0 40px rgba(47,128,255,0.18); } 50% { box-shadow: 0 0 64px rgba(47,128,255,0.34); } }
.connect-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.connect-icon svg { width: 22px; height: 22px; }

.connect-track { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; margin: 0 auto 26px; max-width: 480px; }
.connect-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: calc(var(--connect-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(47,128,255,0.5);
}
.connect-orb { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 14px rgba(54,226,200,0.9); transform: translateY(-50%); animation: orbRun 2.6s linear infinite; }
.connect-orb.o2 { animation-delay: 0.8s; background: var(--accent); box-shadow: 0 0 14px rgba(47,128,255,0.9); }
.connect-orb.o3 { animation-delay: 1.6s; }
@keyframes orbRun { from { left: -4%; } to { left: 104%; } }

.connect-map { display: grid; gap: 10px; max-width: 420px; margin: 0 auto 20px; }
.map-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.map-row .from { text-align: right; color: #ffb27a; font-size: 0.86rem; font-weight: 700; background: rgba(255,140,80,0.08); border: 1px solid rgba(255,140,80,0.2); padding: 7px 10px; border-radius: 10px; }
.map-row .map-arrow { color: var(--accent); font-weight: 900; }
.map-row .to { text-align: left; color: var(--accent-2); font-size: 0.86rem; font-weight: 800; background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 7px 10px; border-radius: 10px; }
.connect-text { color: var(--text-soft); font-size: 0.98rem; max-width: 460px; margin: 0 auto; }

/* ---------- MOMENTO 3: SISTEMA ---------- */
.system-visual { position: relative; height: 100%; display: flex; align-items: center; }
.sys-dashboard {
  width: 100%; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(8,14,24,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 26px 64px rgba(0,0,0,0.45), 0 0 50px rgba(47,128,255,0.12);
  transform: scale(calc(0.96 + (var(--system-progress, 0) * 0.04)));
  opacity: calc(0.72 + (var(--system-progress, 0) * 0.28));
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sys-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sys-mark { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 0.8rem; background: linear-gradient(135deg, var(--accent), #1a4eff); }
.sys-top b { color: var(--text); font-size: 0.9rem; flex: 1; }
.sys-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 800; color: #dffcff; }
.sys-live i { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 12px rgba(54,226,200,0.9); animation: badgePulse 1.6s ease-in-out infinite; }
.sys-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.sys-kpi { position: relative; padding: 12px; border-radius: 15px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.sys-kpi b { display: block; color: var(--text); font-size: 1.4rem; line-height: 1; }
.sys-kpi small { color: var(--text-dim); font-size: 0.66rem; }
.sys-kpi.hl { border-color: rgba(54,226,200,0.35); background: rgba(54,226,200,0.06); }
.sys-kpi.hl b { color: var(--accent-2); }
.sys-chk { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; color: #04210f; background: var(--accent-2); box-shadow: 0 0 12px rgba(54,226,200,0.7); animation: badgePulse 1.8s ease-in-out infinite; }
.sys-chk svg { width: 11px; height: 11px; }
.sys-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; padding: 0 14px 12px; }
.sys-chart { display: flex; align-items: end; gap: 6px; height: 88px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.sys-chart span { flex: 1; border-radius: 999px 999px 4px 4px; background: linear-gradient(180deg, #5aa1ff, rgba(47,128,255,0.2)); animation: heroBars 3s ease-in-out infinite; }
.sys-chart span:nth-child(2){animation-delay:.2s}.sys-chart span:nth-child(3){animation-delay:.4s}.sys-chart span:nth-child(4){animation-delay:.6s}.sys-chart span:nth-child(5){animation-delay:.8s}.sys-chart span:nth-child(6){animation-delay:1s}
.sys-agenda { display: grid; gap: 8px; align-content: center; padding: 10px 12px; border-radius: 15px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.sys-appt { display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 0.74rem; }
.sys-appt .sys-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.sys-appt em { margin-left: auto; color: var(--accent-2); font-style: normal; font-weight: 800; }
.sys-chat { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 11px 13px; border-radius: 13px; color: var(--text); font-size: 0.78rem; background: rgba(47,128,255,0.12); border: 1px solid var(--accent-line); }
.sys-chat .sys-bot { width: 9px; height: 9px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 12px rgba(54,226,200,0.8); flex: none; }
.sys-chat small { margin-left: auto; color: var(--text-dim); font-size: 0.66rem; }

/* ---------- RESPONSIVE: móvil = apilado y ligero ---------- */
@media (max-width: 900px) {
  .problem-transformation-section { min-height: 0; margin-top: 26px; }
  .pts-sticky { position: static; top: auto; }
  .pts-stage::before { opacity: 0.18; animation-duration: 18s; }
  .pts-stage::after { display: none; }
  .pts-stage {
    height: auto; min-height: 0; overflow: visible;
    border: none; background: none; box-shadow: none;
    display: grid; gap: 18px; padding: 0;
  }
  .pts-moment {
    position: relative; inset: auto; opacity: 1 !important; transform: none !important; pointer-events: auto;
    grid-template-columns: 1fr; gap: 22px; padding: 22px;
    border-radius: 24px; border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012)), var(--bg-card-solid);
    box-shadow: var(--shadow);
  }
  .pts-chaos { border-color: rgba(255,140,80,0.22); }
  .pts-system { border-color: rgba(54,226,200,0.22); }
  .chaos-visual { min-height: 340px; }
  .pts-steps { margin-bottom: 6px; }
  .pts-connect { min-height: auto; }
  .connect-inner { max-width: 100%; }
  .sys-dashboard { transform: none; opacity: 1; }
}

@media (max-width: 520px) {
  .pts-moment { padding: 18px; }
  .pts-stage { gap: 14px; }
  .pts-steps { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .pts-step { flex: 0 0 auto; font-size: 0.7rem; padding: 7px 10px; }
  .pts-text h3 { font-size: 1.18rem; }
  .pts-bullets li { font-size: 0.9rem; }
  .chaos-visual { min-height: 300px; overflow: hidden; }
  .chaos-phone { width: 188px; }
  .chaos-note, .chaos-stat { font-size: 0.68rem; padding: 6px 9px; }
  .chaos-note.n1 { left: -4px; } .chaos-note.n2 { right: -4px; }
  .chaos-stat.st1 { left: -6px; } .chaos-stat.st2 { right: -6px; }
  .chaos-note.n4 { display: none; }
  .chaos-alert { width: max-content; max-width: calc(100% - 18px); font-size: 0.68rem; text-align: center; }
  .connect-core { font-size: 1rem; padding: 12px 15px; }
  .connect-track { margin-bottom: 18px; }
  .connect-map { gap: 8px; }
  .sys-row { grid-template-columns: 1fr; }
  .sys-kpis { grid-template-columns: 1fr; }
  .sys-chat { align-items: flex-start; flex-wrap: wrap; }
  .sys-chat small { margin-left: 0; width: 100%; }
  .sys-kpi b { font-size: 1.2rem; }
  .map-row .from, .map-row .to { font-size: 0.78rem; padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-phone, .chaos-badge.red, .chaos-note, .chaos-stat, .chaos-alert,
  .connect-core, .connect-orb, .sys-chart span, .sys-live i, .sys-chk {
    animation: none !important;
  }
  .pts-stage::before {
    animation: none !important;
  }
}

/* ============================================================
   SISTEMA INTERACTIVO DASVO
   ============================================================ */

.system-interactive-section {
  margin-top: 34px;
}

.system-interactive-section + .flow,
.system-interactive-section ~ .dasvo-ecosystem {
  display: none;
}

.system-interactive-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(47,128,255,0.28);
  background:
    radial-gradient(620px 360px at 14% 10%, rgba(47,128,255,0.18), transparent 64%),
    radial-gradient(560px 320px at 92% 92%, rgba(54,226,200,0.12), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    var(--bg-card-solid);
  box-shadow: var(--shadow), 0 0 70px rgba(47,128,255,0.13);
  isolation: isolate;
}

.system-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(47,128,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,128,255,0.16) 1px, transparent 1px),
    radial-gradient(circle at 22% 28%, rgba(54,226,200,0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 68%, rgba(47,128,255,0.48) 0 2px, transparent 3px);
  background-size: 74px 74px, 74px 74px, 210px 190px, 250px 220px;
  mask-image: radial-gradient(circle at center, #000 0 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 70%, transparent 100%);
}

.system-card-head,
.system-tabs,
.system-experience,
.system-card-footer {
  position: relative;
  z-index: 1;
}

.system-card-head {
  display: grid;
  gap: 16px;
  padding: 34px 28px 18px;
  align-items: end;
}

.system-kicker,
.system-info-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(54,226,200,0.28);
  background: rgba(54,226,200,0.08);
  color: var(--accent-2);
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card-head h3 {
  max-width: 760px;
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
}

.system-card-head p {
  color: var(--text-soft);
  max-width: 440px;
  font-size: 0.98rem;
}

.system-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 28px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.system-tabs::-webkit-scrollbar {
  display: none;
}

.system-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.045);
  color: var(--text-soft);
  padding: 10px 14px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.system-tab:hover,
.system-tab.active {
  transform: translateY(-1px);
  color: #fff;
  border-color: var(--accent-line);
  background: var(--accent-soft);
  box-shadow: 0 0 24px rgba(47,128,255,0.18);
}

.system-experience {
  display: grid;
  gap: 22px;
  padding: 0 28px 24px;
}

.system-map {
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(4,9,18,0.45);
  overflow: hidden;
}

.system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.system-line {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, opacity 0.25s ease;
}

.system-line.active {
  stroke: url(#systemLineGradient);
  stroke-width: 4;
  stroke-dasharray: 12 18;
  animation: systemLineFlow 2.6s linear infinite;
  filter: drop-shadow(0 0 10px rgba(47,128,255,0.75));
}

@keyframes systemLineFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -180; }
}

.system-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(300px, calc(100% - 34px));
  transform: translate(-50%, -50%);
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8,15,28,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px 20px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 48px rgba(47,128,255,0.22);
  animation: systemCorePulse 4s ease-in-out infinite;
}

@keyframes systemCorePulse {
  50% { box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 68px rgba(54,226,200,0.18); }
}

.system-core span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-core h4 {
  color: var(--text);
  font-size: 1.35rem;
  margin: 8px 0;
}

.system-core p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.system-core-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.system-core-metrics b {
  display: grid;
  gap: 2px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 9px 6px;
  color: var(--text);
  font-size: 0.9rem;
}

.system-core-metrics small {
  color: var(--text-dim);
  font-size: 0.62rem;
  font-weight: 700;
}

.system-node {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 166px;
  min-height: 96px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(9,16,30,0.74);
  color: var(--text);
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0,0,0,0.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.system-node:hover,
.system-node.active {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-line);
  background: rgba(47,128,255,0.15);
  box-shadow: 0 22px 54px rgba(0,0,0,0.42), 0 0 34px rgba(47,128,255,0.28);
}

.system-node-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.72rem;
  font-weight: 950;
}

.system-node b {
  font-size: 0.96rem;
}

.system-node small {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.node-ad { left: 5%; top: 8%; }
.node-web { left: 42%; top: 5%; }
.node-whatsapp { right: 5%; top: 11%; }
.node-crm { left: 5%; bottom: 10%; }
.node-dashboard { left: 42%; bottom: 6%; }
.node-followup { right: 5%; bottom: 10%; }

.system-info-panel {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(8,15,28,0.72);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.system-info-panel.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.system-info-title {
  color: var(--text);
  font-size: 1.5rem;
  margin-top: 14px;
}

.system-info-subtitle {
  color: var(--accent-2);
  font-weight: 850;
  margin-top: 2px;
}

.system-info-description {
  color: var(--text-soft);
  margin-top: 12px;
}

.system-info-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.system-info-block {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 14px;
}

.system-info-block b {
  display: block;
  color: var(--text);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.system-info-block span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.system-card-footer {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 0 28px 30px;
}

.system-card-footer p {
  color: var(--text-soft);
}

.system-card-footer strong,
.system-card-footer span {
  display: block;
}

.system-card-footer strong {
  color: var(--text);
  font-size: 1.05rem;
}

@media (min-width: 1024px) {
  .system-card-head {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .system-experience {
    grid-template-columns: minmax(0, 1.6fr) minmax(310px, 0.68fr);
  }

  .system-card-footer {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 767px) {
  .system-interactive-section {
    margin-top: 24px;
  }

  .system-interactive-card {
    border-radius: 24px;
  }

  .system-card-head {
    padding: 24px 16px 14px;
  }

  .system-card-head p {
    font-size: 0.92rem;
  }

  .system-tabs {
    padding: 0 16px 14px;
  }

  .system-tab {
    min-height: 40px;
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  .system-experience {
    padding: 0 16px 18px;
    gap: 14px;
  }

  .system-map {
    min-height: 280px;
    display: grid;
    align-items: end;
    padding: 16px;
  }

  .system-lines {
    display: none;
  }

  .system-core {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    padding: 18px 14px;
    align-self: start;
  }

  .system-core-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-node {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    margin-top: 14px;
    display: none;
  }

  .system-node.active {
    display: grid;
    transform: none;
  }

  .system-info-panel {
    padding: 18px;
  }

  .system-info-title {
    font-size: 1.28rem;
  }

  .system-info-grid {
    gap: 10px;
  }

  .system-card-footer {
    padding: 0 16px 22px;
  }

  .system-card-footer .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-line.active,
  .system-core {
    animation: none !important;
  }
}

/* ============================================================
   PIPELINE CONECTADO DASVO
   ============================================================ */

.system-interactive-card {
  border-radius: 22px;
}

.system-card-bg {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 16% 18%, rgba(47,128,255,0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 76%, rgba(54,226,200,0.3) 0 2px, transparent 3px);
  background-size: 220px 180px, 260px 220px;
}

.system-flow-experience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 6px 28px 26px;
}

.system-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  isolation: isolate;
}

.system-step {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  min-height: 132px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(7,14,27,0.76);
  color: var(--text);
  padding: 14px 12px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 16px 36px rgba(0,0,0,0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.system-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  top: 50%;
  width: 12px;
  height: 2px;
  background: rgba(87,119,166,0.42);
  transform: translateY(-50%);
  z-index: 2;
}

.system-step.completed:not(:last-child)::after,
.system-step.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(54,226,200,0.42);
}

.system-step.completed,
.system-step.active {
  border-color: rgba(54,226,200,0.44);
  background:
    linear-gradient(180deg, rgba(47,128,255,0.18), rgba(54,226,200,0.06)),
    rgba(7,14,27,0.84);
}

.system-step.active {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 20px 46px rgba(0,0,0,0.36), 0 0 34px rgba(47,128,255,0.28);
}

.system-step.idle {
  opacity: 0.76;
}

.system-step-id {
  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 950;
}

.system-step-icon {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(47,128,255,0.28);
  background: rgba(47,128,255,0.12);
  color: #dceaff;
  padding: 6px 8px;
  font-size: 0.66rem;
  font-weight: 950;
}

.system-step-title {
  font-size: 0.94rem;
  line-height: 1.16;
}

.system-step-subtitle {
  align-self: end;
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.25;
}

.system-connector-dot {
  position: absolute;
  right: -7px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #173255;
  border: 2px solid rgba(126,155,202,0.7);
  transform: translateY(-50%);
  z-index: 3;
}

.system-step.active .system-connector-dot,
.system-step.completed .system-connector-dot {
  background: var(--accent-2);
  border-color: rgba(255,255,255,0.72);
  box-shadow: 0 0 18px rgba(54,226,200,0.6);
}

.system-step:last-child .system-connector-dot {
  display: none;
}

.system-step-check {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: rgba(54,226,200,0.14);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.system-step.completed .system-step-check {
  opacity: 1;
  transform: scale(1);
}

.system-flow-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.system-flow-body .system-core {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 100%;
  transform: none;
  display: grid;
  align-content: center;
  border-radius: 12px;
  border-color: rgba(54,226,200,0.24);
}

.system-flow-body .system-core::before,
.system-flow-body .system-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(54,226,200,0), rgba(54,226,200,0.5));
}

.system-flow-body .system-core::after {
  left: auto;
  right: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(54,226,200,0.5), rgba(47,128,255,0));
}

.system-core.active-pulse {
  animation: systemCoreTap 0.72s ease;
}

@keyframes systemCoreTap {
  0% { box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 28px rgba(47,128,255,0.14); }
  45% { box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 70px rgba(54,226,200,0.34); }
  100% { box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 48px rgba(47,128,255,0.22); }
}

.system-info-panel {
  border-radius: 12px;
  border-color: rgba(47,128,255,0.24);
}

.system-mobile-visual {
  display: none;
}

@media (max-width: 1120px) {
  .system-pipeline {
    grid-template-columns: repeat(6, 158px);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .system-pipeline::-webkit-scrollbar {
    display: none;
  }

  .system-step {
    scroll-snap-align: start;
  }

  .system-flow-body {
    grid-template-columns: 1fr;
  }

  .system-flow-body .system-core::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .system-interactive-card {
    border-radius: 18px;
  }

  .system-card-head {
    gap: 10px;
  }

  .system-flow-experience {
    padding: 0 16px 18px;
    gap: 14px;
  }

  .system-pipeline {
    display: none;
  }

  .system-mobile-visual {
    display: grid;
    gap: 8px;
  }

  .system-mobile-card,
  .system-mobile-core {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(8,15,28,0.78);
    padding: 12px 14px;
    text-align: center;
  }

  .system-mobile-active {
    border-color: rgba(54,226,200,0.42);
    background: rgba(47,128,255,0.14);
  }

  .system-mobile-card span,
  .system-mobile-core span {
    display: block;
    margin-bottom: 3px;
    color: var(--accent-2);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .system-mobile-card b,
  .system-mobile-core b {
    color: var(--text);
    font-size: 1rem;
  }

  .system-mobile-card small {
    display: block;
    margin-top: 3px;
    color: var(--text-dim);
  }

  .system-mobile-line {
    justify-self: center;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 16px rgba(54,226,200,0.42);
  }

  .system-flow-body .system-core {
    display: none;
  }

  .system-info-panel {
    padding: 16px;
  }

  .system-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-step,
  .system-step::after,
  .system-core.active-pulse,
  .system-info-panel {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESEÑAS VERIFICADAS - GRID PREMIUM
   ============================================================ */

.reviews-note {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  color: var(--accent-2);
  border: 1px solid rgba(54,226,200,0.26);
  background: rgba(54,226,200,0.07);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 750;
}

.reviews .reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reviews .review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border-radius: 16px;
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(47,128,255,0.12), transparent 58%),
    rgba(9,16,30,0.74);
}

.reviews .review-head {
  align-items: flex-start;
}

.reviews .review-avatar {
  width: 44px;
  height: 44px;
  box-shadow: 0 0 24px rgba(47,128,255,0.2);
}

.reviews .review-id b {
  line-height: 1.15;
}

.reviews .review-id span,
.reviews .review-id small {
  display: block;
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.35;
}

.reviews .badge-verif {
  margin-top: 8px;
  width: fit-content;
  max-width: 100%;
}

.reviews .review-stars {
  margin: 14px 0 10px;
  color: #36e2c8;
  font-size: 0.82rem;
}

.reviews .pill-service {
  width: fit-content;
  max-width: 100%;
  line-height: 1.25;
}

.reviews .review-text {
  flex: 1;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.91rem;
  line-height: 1.58;
}

@media (min-width: 1180px) {
  .reviews .reviews-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 879px) {
  .reviews .reviews-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .reviews .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .reviews .review-card {
    flex: 0 0 min(82vw, 340px);
    min-height: auto;
    padding: 18px;
    scroll-snap-align: start;
  }

  .reviews-note {
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
    text-align: left;
    line-height: 1.45;
  }

  .reviews .review-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* Carrusel horizontal de reseñas en desktop y móvil */
.reviews .reviews-grid {
  display: flex;
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(54,226,200,0.55) rgba(255,255,255,0.06);
  -webkit-overflow-scrolling: touch;
}

.reviews .reviews-grid::-webkit-scrollbar {
  height: 8px;
}

.reviews .reviews-grid::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

.reviews .reviews-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}

.reviews .review-card {
  flex: 0 0 clamp(300px, 27vw, 370px);
  scroll-snap-align: start;
}

.reviews .reviews-grid::after {
  content: "";
  flex: 0 0 2px;
}

@media (min-width: 1280px) {
  .reviews .review-card {
    flex-basis: clamp(300px, 23vw, 350px);
  }
}

@media (max-width: 768px) {
  .reviews .reviews-grid {
    gap: 12px;
    margin-top: 28px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .reviews .reviews-grid::-webkit-scrollbar {
    display: none;
  }

  .reviews .review-card {
    flex-basis: min(84vw, 330px);
  }
}

/* Reseñas más visuales y compactas */
.reviews .review-card {
  flex-basis: clamp(350px, 31vw, 420px);
  min-height: 310px;
  padding: 20px;
}

.reviews .review-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.reviews .review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.82rem;
}

.reviews .review-avatar.has-photo {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(54,226,200,0.22);
}

.reviews .review-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.reviews .review-id b {
  max-width: none;
  font-size: 0.98rem;
  padding-right: 0;
}

.reviews .review-id span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.reviews .review-id small {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  padding: 4px 8px;
  color: var(--text-soft);
}

.review-country-flag {
  font-size: 0.9rem;
  line-height: 1;
}

.reviews .badge-verif {
  grid-column: 1 / -1;
  max-width: 132px;
  margin-top: 2px;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.68rem;
  padding: 6px 8px;
}

.reviews .review-stars {
  margin: 14px 0 10px;
  letter-spacing: 1px;
  font-size: 0.78rem;
}

.reviews .pill-service {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
}

.reviews .review-text {
  display: -webkit-box;
  overflow: hidden;
  min-height: 5.9em;
  margin-top: 13px;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 1280px) {
  .reviews .review-card {
    flex-basis: 380px;
  }
}

@media (max-width: 768px) {
  .reviews .review-card {
    flex-basis: min(86vw, 340px);
    min-height: 306px;
    padding: 16px;
  }

  .reviews .review-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }

  .reviews .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
  }

  .reviews .badge-verif {
    position: static;
    grid-column: 1 / -1;
    max-width: 100%;
    width: fit-content;
    margin-top: 2px;
  }

  .reviews .review-id b {
    max-width: none;
  }

  .reviews .review-text {
    -webkit-line-clamp: 4;
    min-height: 5.7em;
  }
}

/* Rating premium dentro de las reseñas */
.reviews .review-stars {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0 11px;
  border: 1px solid rgba(54,226,200,0.22);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(47,128,255,0.12), rgba(54,226,200,0.08)),
    rgba(255,255,255,0.035);
  color: transparent;
  background-clip: padding-box;
  padding: 6px 10px 6px 6px;
  letter-spacing: 1px;
  font-size: 0.76rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 22px rgba(54,226,200,0.08);
}

.reviews .review-stars::before {
  content: "5.0";
  display: inline-grid;
  width: 34px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 18px rgba(47,128,255,0.28);
}

.reviews .review-stars {
  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(90deg, rgba(47,128,255,0.12), rgba(54,226,200,0.08)),
    linear-gradient(90deg, #36e2c8, #88fff0, #2f80ff);
  -webkit-background-clip: padding-box, text;
  background-clip: padding-box, text;
  text-shadow: 0 0 14px rgba(54,226,200,0.28);
}

.reviews .review-stars::after {
  content: "Impacto verificado";
  color: var(--text-soft);
  -webkit-text-fill-color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .reviews .review-stars {
    gap: 7px;
    padding-right: 8px;
    font-size: 0.72rem;
  }

  .reviews .review-stars::after {
    content: "Verificado";
  }
}

/* ============================================================
   MOBILE SAAS PREMIUM OPTIMIZATION
   ============================================================ */

.compact-lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.stack-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px;
  border: 1px solid rgba(47,128,255,0.2);
  border-radius: 18px;
  background: rgba(7,14,27,0.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 36px rgba(47,128,255,0.08);
}

.stack-flow span {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(54,226,200,0.2);
  border-radius: 999px;
  background: rgba(47,128,255,0.1);
  color: #eef5ff;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 0.82rem;
}

.stack-flow i {
  flex: 0 0 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(54,226,200,0.4);
}

.invisible-cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.invisible-cost-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47,128,255,0.22);
  border-radius: 16px;
  background:
    radial-gradient(160px 80px at 50% 0%, rgba(47,128,255,0.18), transparent 70%),
    rgba(9,16,30,0.78);
  padding: 16px;
  text-align: left;
}

.invisible-cost-grid article::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a59, #ff456b);
  box-shadow: 0 0 18px rgba(255,69,107,0.45);
}

.invisible-cost-grid b,
.invisible-cost-grid span {
  display: block;
}

.invisible-cost-grid b {
  color: var(--text);
  font-size: 0.95rem;
}

.invisible-cost-grid span {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 4px;
}

.card-tag {
  float: right;
  display: inline-flex;
  margin: 0 0 8px 8px;
  border: 1px solid rgba(54,226,200,0.22);
  border-radius: 999px;
  background: rgba(54,226,200,0.08);
  color: var(--accent-2);
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 900;
}

.brand-card img {
  width: 160px;
  max-width: 100%;
  height: 52px;
  display: block;
  object-fit: contain;
}

.brands-note {
  display: none !important;
}

@media (max-width: 767px) {
  section {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-head,
  .narrow.center h2,
  .container.narrow.center h2 {
    font-size: clamp(2rem, 8.6vw, 2.55rem);
    line-height: 1.08;
  }

  .lead,
  .compact-lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .trustbar .container {
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .trustbar h2 {
    margin-bottom: 18px;
    font-size: 1.75rem;
    line-height: 1.18;
    color: var(--text);
  }

  .stack-flow {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
    border-radius: 24px;
    padding: 12px;
    scrollbar-width: none;
  }

  .stack-flow::-webkit-scrollbar {
    display: none;
  }

  .stack-flow span {
    min-width: max-content;
    min-height: 36px;
    font-size: 0.78rem;
  }

  .stack-flow i {
    flex-basis: 18px;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .mini {
    min-height: 108px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    padding: 14px;
  }

  .mini svg {
    width: 24px;
    height: 24px;
  }

  .mini b {
    font-size: 0.9rem;
  }

  .mini span {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .compact-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(47,128,255,0.15);
    border-radius: 20px;
    background: rgba(255,255,255,0.025);
  }

  .compact-metrics .metric .num {
    font-size: 1.25rem;
  }

  .compact-metrics .metric .lbl {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .pain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .pain-list li {
    min-height: 128px;
    flex-direction: column;
    gap: 10px;
    border-radius: 20px;
    padding: 14px;
  }

  .pain-list .ico {
    width: 25px;
    height: 25px;
  }

  .pain-list li b,
  .pain-list li small {
    display: block;
  }

  .pain-list li b {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .pain-list li small {
    margin-top: 4px;
    color: var(--text-dim);
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .problem-transformation-section {
    margin-top: 22px;
  }

  .pts-moment {
    max-height: 70vh;
    overflow: hidden;
    border-radius: 24px;
  }

  .pts-chaos .pts-visual {
    min-height: 260px;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .pts-text {
    padding: 18px;
  }

  .pts-text h3 {
    font-size: 1.3rem;
    line-height: 1.13;
  }

  .pts-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .pts-bullets li {
    margin: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.035);
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .invisible-cost-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .invisible-cost-grid article {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 6px 12px;
    align-items: center;
    border-radius: 20px;
    padding: 14px;
  }

  .invisible-cost-grid article::before {
    grid-row: span 2;
    margin: 0;
  }

  .highlight-quote {
    margin-top: 16px;
    border-radius: 24px;
    padding: 22px 18px;
    font-size: 1.25rem;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .card {
    min-height: 162px;
    border-radius: 20px;
    padding: 14px;
  }

  .card .card-ico {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .card h3 {
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .card p {
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .card-tag {
    padding: 4px 7px;
    font-size: 0.62rem;
  }

  .brands-panel {
    margin-top: 22px;
    border-radius: 24px;
    padding: 20px 8px;
  }

  .brand-card {
    min-width: 168px;
    height: 68px;
    padding: 8px;
  }

  .brand-card img {
    width: 150px;
    height: 50px;
  }

  .timeline {
    position: relative;
    gap: 10px;
    margin-top: 24px;
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    opacity: 0.55;
  }

  .tl-item {
    position: relative;
    min-height: 74px;
    gap: 12px;
    border-radius: 20px;
    padding: 12px 14px;
  }

  .tl-num {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
    z-index: 1;
  }

  .tl-item b {
    font-size: 0.92rem;
  }

  .tl-item p {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .system-card-head h3 {
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .system-card-head p,
  .system-info-description {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .system-mobile-visual {
    position: relative;
  }

  .system-mobile-visual::before,
  .system-mobile-visual::after {
    display: block;
    border: 1px solid rgba(47,128,255,0.22);
    border-radius: 8px;
    background: rgba(47,128,255,0.08);
    color: var(--text-soft);
    padding: 10px 12px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .system-mobile-visual::before {
    content: "Cliente";
  }

  .system-mobile-visual::after {
    content: "Resultado ordenado";
  }

  .system-mobile-line {
    height: 14px;
  }

  .system-info-panel {
    border-radius: 20px;
  }

  .closing-chip {
    width: fit-content;
    max-width: 100%;
    margin: 18px auto 0 !important;
    border: 1px solid rgba(54,226,200,0.22);
    border-radius: 999px;
    background: rgba(54,226,200,0.07);
    padding: 9px 13px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 12px;
    border-radius: 20px;
    padding: 14px;
  }

  .step .num {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .step h3 {
    margin: 0;
    font-size: 1rem;
  }

  .step p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .offer-card {
    margin-top: 18px;
    border-radius: 26px;
    padding: 24px 18px;
    text-align: left;
  }

  .offer-card h2 {
    font-size: 1.65rem;
    line-height: 1.08;
  }

  .offer-card .lead {
    font-size: 0.94rem;
  }

  .offer-includes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px auto;
  }

  .offer-includes li {
    min-height: 116px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    padding: 12px;
  }

  .offer-includes .check {
    width: 21px;
    height: 21px;
  }

  .offer-includes b,
  .offer-includes small {
    display: block;
  }

  .offer-includes b {
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .offer-includes small {
    margin-top: 4px;
    color: var(--text-dim);
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .offer-card .recalca {
    width: fit-content;
    max-width: 100%;
    margin: 10px 0 18px;
    border-radius: 999px;
    background: rgba(47,128,255,0.1);
    border: 1px solid rgba(47,128,255,0.22);
    color: var(--text-soft);
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .offer-card .btn {
    width: 100%;
    justify-content: center;
  }

  .guarantees {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .guarantee {
    border-radius: 20px;
    padding: 13px 14px;
    align-items: flex-start;
  }

  .guarantee span b,
  .guarantee span small {
    display: block;
  }

  .guarantee span b {
    color: var(--text);
    font-size: 0.92rem;
  }

  .guarantee span small {
    color: var(--text-dim);
    font-size: 0.76rem;
    margin-top: 2px;
  }

  .compare {
    gap: 10px;
    margin-top: 22px;
  }

  .compare-col {
    border-radius: 22px;
    padding: 16px;
  }

  .compare-col h3 {
    margin-bottom: 12px;
    font-size: 1.02rem;
  }

  .compare-col ul {
    gap: 8px;
  }

  .compare-col li {
    align-items: center;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    background: rgba(255,255,255,0.026);
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .compare-col li svg {
    width: 17px;
    height: 17px;
    margin-top: 0;
  }

  .compare-remate {
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    border-radius: 999px;
    border: 1px solid rgba(47,128,255,0.2);
    background: rgba(47,128,255,0.07);
    padding: 9px 13px;
    font-size: 0.86rem;
  }

  .faq-list {
    gap: 9px;
    margin-top: 22px;
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-q {
    min-height: 58px;
    padding: 15px 16px;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .faq-a p {
    padding: 0 16px 16px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .final-cta {
    padding-bottom: 110px;
  }

  .final-cta h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .final-cta .lead {
    font-size: 0.96rem;
    line-height: 1.4;
  }
}

/* ============================================================
   CASOS PREMIUM COMO SEGUNDA SECCION
   ============================================================ */

.premium-cases-section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.premium-cases-section .ultra-list {
  margin-top: clamp(28px, 4vw, 42px);
}

.case-premium-card {
  scroll-margin-top: 100px;
}

.case-premium-media img,
.case-premium-img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .premium-cases-section .ultra-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    padding: clamp(24px, 3vw, 34px);
  }

  .premium-cases-section .ultra-mock img,
  .premium-cases-section .ultra-mock .ph {
    max-height: 330px;
  }
}

@media (max-width: 768px) {
  .premium-cases-section {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .premium-cases-section .narrow.center {
    text-align: left;
  }

  .premium-cases-section .lead {
    font-size: 0.95rem;
  }

  .case-premium-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
  }

  .case-premium-media {
    order: -1;
  }

  .case-premium-media img,
  .case-premium-img {
    width: 100%;
    max-height: 260px;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 16px;
  }

  .case-before-after {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .case-before-after .ultra-col {
    padding: 12px;
  }

  .case-before-after .ultra-col p {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .case-premium-quote {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-top: 14px;
  }

  .case-premium-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
  }

  .case-premium-chips .uchip {
    font-size: 0.74rem;
    padding: 6px 10px;
  }
}

/* =====================================================================
   PULIDO 2026 — capa de refinamiento (motion, CTA, carga cognitiva)
   Reglas: 1-2 animaciones por vista, 150-400ms, solo transform/opacity,
   un CTA primario por pantalla, stagger 60ms, reduced-motion respetado.
   ===================================================================== */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* Reveal más fino: menos distancia, curva natural, un pelín más rápido */
.reveal {
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.55s var(--ease-out);
}

/* Stagger sutil en grillas clave (60ms por tarjeta, máx 4 visibles) */
.reviews-grid .review-card:nth-child(2),
.guarantees .guarantee:nth-child(2) { transition-delay: 0.06s; }
.reviews-grid .review-card:nth-child(3),
.guarantees .guarantee:nth-child(3) { transition-delay: 0.12s; }
.reviews-grid .review-card:nth-child(4) { transition-delay: 0.18s; }

/* CTA primario premium: profundidad real, hover con vida, press táctil */
.btn-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px -10px rgba(54, 226, 200, 0.55);
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 36px -12px rgba(54, 226, 200, 0.7);
}
.btn-primary:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn-primary:focus-visible,
.reviews-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 10, 12, 1), 0 0 0 6px rgba(54, 226, 200, 0.55);
}
/* El ícono del CTA avanza 2px al hover: señala "siguiente paso" */
.btn-primary .wa-icon { transition: transform 0.2s var(--ease-out); }
.btn-primary:hover .wa-icon { transform: translateX(2px); }

/* Reseñas plegadas: 4 visibles, el resto tras "Ver más" */
.review-card.review-hidden { display: none !important; }
.reviews-grid.show-all .review-card.review-hidden { display: revert !important; }
.reviews-toggle {
  display: block;
  margin: 26px auto 0;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 245, 243, 0.85);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s var(--ease-out);
}
.reviews-toggle:hover {
  border-color: rgba(54, 226, 200, 0.5);
  background: rgba(54, 226, 200, 0.08);
  transform: translateY(-1px);
}
.reviews-toggle:active { transform: scale(0.97); }

/* Marquee de marcas más sereno (menos ruido periférico al leer) */
.marquee-track { animation-duration: 48s; }

/* Anclas sin quedar bajo el header + barra fija móvil con safe-area */
section[id] { scroll-margin-top: 84px; }
.sticky-cta { padding-bottom: max(10px, env(safe-area-inset-bottom)); }

/* Tap nítido en móvil */
a.btn, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reviews-grid .review-card,
  .guarantees .guarantee,
  .btn-primary,
  .btn-primary .wa-icon,
  .reviews-toggle { transition: none !important; }
  .marquee-track { animation: none !important; }
}

/* =====================================================================
   MENTORES — tarjetas compactas + panel lateral glass
   ===================================================================== */
.team { padding: 72px 0; }
.team-head-copy { max-width: 680px; }
.team-head-copy .lead { margin-top: 10px; }

.team-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px; margin-top: 34px; align-items: start;
}
.team-cards { display: flex; flex-direction: column; gap: 14px; }

/* Tarjeta compacta */
.team-card {
  display: flex; gap: 16px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: 18px; cursor: pointer; position: relative;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.24s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s ease, background 0.2s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 226, 200, 0.45);
  box-shadow: 0 18px 42px -16px rgba(0, 0, 0, 0.65), 0 0 26px -8px rgba(54, 226, 200, 0.28);
}
.team-card.active {
  border-color: rgba(54, 226, 200, 0.65);
  background: linear-gradient(140deg, rgba(54, 226, 200, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(54, 226, 200, 0.25), 0 16px 40px -16px rgba(0, 0, 0, 0.6), 0 0 32px -8px rgba(54, 226, 200, 0.32);
}
.team-card:focus-visible { outline: 2px solid rgba(54, 226, 200, 0.6); outline-offset: 3px; }

.team-avatar {
  width: 64px; height: 64px; border-radius: 999px; overflow: hidden; flex: none;
  border: 2px solid rgba(54, 226, 200, 0.45);
  box-shadow: 0 0 0 4px rgba(54, 226, 200, 0.08);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar .ph { border: 0; font-size: 0.5rem; padding: 4px; }

.team-card-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.team-tag {
  align-self: flex-start; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #0b1e1a;
  background: linear-gradient(135deg, #36e2c8, #23b8a2);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 2px;
}
.team-name { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.team-role { font-size: 0.8rem; color: var(--text-dim); }
.team-hook { font-size: 0.84rem; color: rgba(214, 236, 231, 0.9); margin-top: 3px; }
.team-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.team-chips span {
  font-size: 0.68rem; font-weight: 600; color: rgba(235, 245, 243, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03);
  padding: 3px 9px; border-radius: 999px;
}

/* Panel lateral (glassmorphism) */
.team-panel {
  position: sticky; top: 92px; min-height: 460px;
  border-radius: 22px; padding: 28px;
  background: linear-gradient(165deg, rgba(22, 32, 40, 0.72), rgba(9, 14, 20, 0.62));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(54, 226, 200, 0.22);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 40px -18px rgba(54, 226, 200, 0.25);
  overflow: hidden;
}
.tp-inner { transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out); }
.team-panel.is-changing .tp-inner { opacity: 0; transform: translateY(10px); }
.tp-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.tp-avatar {
  width: 76px; height: 76px; border-radius: 999px; object-fit: cover; flex: none;
  border: 2px solid rgba(54, 226, 200, 0.5);
  box-shadow: 0 0 0 5px rgba(54, 226, 200, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
}
.tp-eyebrow { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #36e2c8; }
.tp-name { font-size: 1.5rem; font-weight: 800; margin: 4px 0 2px; line-height: 1.15; }
.tp-role { font-size: 0.9rem; color: var(--text-dim); }
.tp-bio { font-size: 0.94rem; line-height: 1.7; color: rgba(226, 240, 236, 0.88); }
.tp-sub { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(160, 180, 176, 0.8); margin: 18px 0 8px; }
.tp-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-areas span {
  font-size: 0.76rem; font-weight: 600; color: rgba(235, 245, 243, 0.82);
  border: 1px solid rgba(54, 226, 200, 0.25); background: rgba(54, 226, 200, 0.06);
  padding: 5px 11px; border-radius: 999px;
}
.tp-metrics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.tp-metrics li { font-size: 0.88rem; color: rgba(220, 236, 231, 0.85); padding-left: 20px; position: relative; line-height: 1.5; }
.tp-metrics li::before { content: "◆"; position: absolute; left: 0; top: 1px; font-size: 0.6rem; color: #36e2c8; }
.tp-cta { width: 100%; justify-content: center; margin-top: 20px; }

/* Flecha indicadora de la tarjeta */
.team-chevron {
  margin-left: auto; flex: none; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(160, 180, 176, 0.55);
  transition: color 0.2s ease, transform 0.28s var(--ease-out);
}
.team-chevron svg { width: 18px; height: 18px; }
.team-card:hover .team-chevron, .team-card.active .team-chevron { color: #36e2c8; transform: translateX(3px); }
.team-card.open .team-chevron { color: #36e2c8; transform: rotate(90deg); }

/* Acordeón móvil */
.team-acc { flex-basis: 100%; overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease-out); }
.team-acc .tp-inner { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 14px; }
.tp-close {
  display: block; width: 100%; margin-top: 12px; padding: 9px;
  background: none; border: 0; cursor: pointer;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(160, 180, 176, 0.75);
}

@media (min-width: 921px) { .team-acc { display: none !important; } }
@media (max-width: 920px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-panel { display: none; }
  .team-card { flex-wrap: wrap; }
  .team-card:hover { transform: none; }
  .team-card.open { border-color: rgba(54, 226, 200, 0.55); box-shadow: 0 0 30px -10px rgba(54, 226, 200, 0.3); }
  .team-card.open .team-chevron { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .team-card, .tp-inner, .team-acc, .team-chevron { transition: none !important; }
}

/* =====================================================================
   PÁGINA MÁS CORTA — ritmo vertical compacto (menos scroll, misma info)
   (se excluye la sección de scroll-story, que necesita su altura)
   ===================================================================== */
section:not(.problem-transformation-section) {
  padding-top: clamp(52px, 6vw, 76px) !important;
  padding-bottom: clamp(52px, 6vw, 76px) !important;
}
.narrow.center .lead, .team-head-copy .lead { margin-top: 10px !important; }
.narrow.center h2 { margin-bottom: 0; }
.reviews-grid, .guarantees { margin-top: 30px; }


/* =====================================================================
   FLUJO CONECTADO — pasos que avanzan solos
   ===================================================================== */
.cflow { max-width: 860px; margin: 34px auto 0; text-align: center; }
.cflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cflow-step {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 16px 10px 14px; border-radius: 16px; cursor: pointer;
  color: inherit; font: inherit; text-align: center;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.24s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s ease, background 0.2s ease;
}
.cflow-step b { font-size: 0.85rem; font-weight: 700; line-height: 1.25; }
.cflow-ico {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: rgba(160, 180, 176, 0.8); background: rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, background 0.25s ease, transform 0.3s var(--ease-out);
}
.cflow-ico svg { width: 20px; height: 20px; }
.cflow-step:hover { border-color: rgba(54, 226, 200, 0.35); transform: translateY(-3px); }
.cflow-step.active {
  border-color: rgba(54, 226, 200, 0.55);
  background: linear-gradient(150deg, rgba(54, 226, 200, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 26px -10px rgba(54, 226, 200, 0.35);
}
.cflow-step.active .cflow-ico {
  color: #0b1e1a; background: linear-gradient(135deg, #36e2c8, #23b8a2);
  transform: scale(1.08);
}
.cflow-step:focus-visible { outline: 2px solid rgba(54, 226, 200, 0.6); outline-offset: 3px; }
.cflow-track { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); margin: 18px 2px 14px; overflow: hidden; }
.cflow-progress { display: block; height: 100%; width: 25%; border-radius: 99px; background: linear-gradient(90deg, #36e2c8, #4da3ff); transition: width 0.5s var(--ease-out); }
.cflow-caption { min-height: 1.7em; font-size: 0.95rem; color: rgba(220, 236, 231, 0.85); margin: 0; transition: opacity 0.2s ease; }
.cflow-caption.is-changing { opacity: 0; }
@media (max-width: 720px) {
  .cflow-steps { grid-template-columns: repeat(2, 1fr); }
  .cflow-step b { font-size: 0.8rem; }
}

/* Ruta de 3 pasos dentro de la oferta */
.offer-route { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 6px; }
.offer-route span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(54, 226, 200, 0.25); background: rgba(54, 226, 200, 0.05);
}
.offer-route span i {
  font-style: normal; width: 18px; height: 18px; border-radius: 99px; flex: none;
  background: linear-gradient(135deg, #36e2c8, #23b8a2); color: #0b1e1a;
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.offer-route > svg { width: 15px; height: 15px; color: rgba(160, 180, 176, 0.55); flex: none; }

/* =====================================================================
   COMPARACIÓN INTERACTIVA — toggle web vs sistema
   ===================================================================== */
.vs { max-width: 680px; margin: 30px auto 0; text-align: center; }
.vs-toggle {
  position: relative; display: inline-flex; padding: 4px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
}
.vs-btn {
  padding: 9px 22px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  color: rgba(200, 215, 211, 0.75); font-weight: 700; font-size: 0.85rem; font-family: inherit;
  transition: color 0.2s ease, background 0.25s ease;
}
.vs-btn.active[data-vs-btn="dasvo"] { background: linear-gradient(135deg, #36e2c8, #23b8a2); color: #0b1e1a; }
.vs-btn.active[data-vs-btn="trad"] { background: rgba(255, 255, 255, 0.12); color: #fff; }
.vs-panel { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.vs-panel li {
  display: flex; gap: 10px; align-items: center;
  padding: 13px 15px; border-radius: 14px; font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.028);
  animation: vsIn 0.4s var(--ease-out) both;
}
.vs-panel li:nth-child(2) { animation-delay: 0.06s; }
.vs-panel li:nth-child(3) { animation-delay: 0.12s; }
.vs-panel li:nth-child(4) { animation-delay: 0.18s; }
.vs-panel li svg { width: 16px; height: 16px; flex: none; }
.vs-panel.trad li { color: rgba(220, 225, 224, 0.72); }
.vs-panel.trad li svg { color: #ff7a7a; }
.vs-panel.dasvo li { border-color: rgba(54, 226, 200, 0.22); background: rgba(54, 226, 200, 0.045); }
.vs-panel.dasvo li svg { color: #36e2c8; }
.vs .compare-remate { margin-top: 22px; }
@keyframes vsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .vs-panel { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .cflow-step, .cflow-progress, .cflow-caption, .vs-btn { transition: none !important; }
  .vs-panel li { animation: none !important; }
}

/* =====================================================================
   DEMOS EN VIVO — tarjetas de software real
   ===================================================================== */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.demo-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.24s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s ease;
}
.demo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 226, 200, 0.5);
  box-shadow: 0 20px 46px -18px rgba(0, 0, 0, 0.7), 0 0 30px -8px rgba(54, 226, 200, 0.3);
}
.demo-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0b1e1a; background: linear-gradient(135deg, #36e2c8, #23b8a2);
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.6);
}
.demo-badge i {
  width: 6px; height: 6px; border-radius: 99px; background: #0b1e1a;
  animation: demoPulse 1.6s ease-in-out infinite;
}
@keyframes demoPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.demo-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0c141a; }
.demo-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block;
  transition: transform 0.5s var(--ease-out);
}
.demo-card:hover .demo-shot img { transform: scale(1.045); }
.demo-info { display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 18px; }
.demo-info > b { font-size: 1rem; font-weight: 800; }
.demo-desc { font-size: 0.83rem; color: var(--text-dim); line-height: 1.55; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.demo-chips span {
  font-size: 0.67rem; font-weight: 600; color: rgba(235, 245, 243, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03);
  padding: 3px 9px; border-radius: 999px;
}
.demo-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 0.82rem; font-weight: 800; color: #36e2c8;
}
.demo-cta svg { width: 15px; height: 15px; transition: transform 0.24s var(--ease-out); }
.demo-card:hover .demo-cta svg { transform: translate(2px, -2px); }
.demo-nota {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 24px auto 0; max-width: 640px; text-align: center;
  font-size: 0.78rem; color: rgba(160, 180, 176, 0.75);
}
.demo-nota svg { width: 14px; height: 14px; flex: none; color: #36e2c8; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
@media (prefers-reduced-motion: reduce) {
  .demo-card, .demo-shot img, .demo-cta svg { transition: none !important; }
  .demo-badge i { animation: none !important; }
}

/* =====================================================================
   INVERSIÓN + CUPOS — urgencia honesta
   ===================================================================== */
.cupos {
  max-width: 720px; margin: 30px auto 0; text-align: center;
  padding: 22px 26px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(54, 226, 200, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(54, 226, 200, 0.25);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cupos p { margin: 0; font-size: 0.92rem; color: rgba(220, 236, 231, 0.85); line-height: 1.65; }
.cupos-dot {
  width: 9px; height: 9px; border-radius: 99px; background: #36e2c8;
  box-shadow: 0 0 0 5px rgba(54, 226, 200, 0.15);
  animation: demoPulse 1.8s ease-in-out infinite;
}

/* =====================================================================
   PRUEBA SOCIAL v2 — demos con checklist, bot, casos con números, mensajes
   ===================================================================== */
/* Checklist dentro de las tarjetas demo */
.demo-try-t { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(160, 180, 176, 0.7); margin-top: 10px; }
.demo-try { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.demo-try li { font-size: 0.8rem; color: rgba(214, 232, 227, 0.8); padding-left: 16px; position: relative; line-height: 1.45; }
.demo-try li::before { content: "→"; position: absolute; left: 0; color: #36e2c8; font-size: 0.75rem; }
.demo-cta em { font-style: normal; font-weight: 500; font-size: 0.72rem; color: rgba(160, 180, 176, 0.6); }

/* Bloque: así conversa un bot Dasvo */
.bot-demo {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 30px; align-items: center; max-width: 860px; margin: 44px auto 0;
  padding: 26px 28px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(22, 32, 40, 0.6), rgba(9, 14, 20, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.bot-demo-media { margin: 0; position: relative; }
.bot-demo-media img {
  width: 100%; max-width: 340px; height: auto; display: block; cursor: zoom-in;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.75);
}
.bot-demo-media figcaption {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0b1e1a; background: rgba(255, 214, 102, 0.95);
  padding: 4px 10px; border-radius: 999px;
}
.bot-demo-copy h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 10px; }
.bot-demo-copy p { font-size: 0.92rem; color: rgba(214, 232, 227, 0.85); line-height: 1.7; margin: 0 0 18px; }
@media (max-width: 760px) {
  .bot-demo { grid-template-columns: 1fr; }
  .bot-demo-media img { margin: 0 auto; }
}

/* Cierre de demos: puente al diagnóstico */
.demo-close { text-align: center; margin-top: 40px; }
.demo-close-q { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; margin: 0 0 6px; }
.demo-close-s { font-size: 0.95rem; color: var(--text-dim); margin: 0 0 18px; }

/* Casos: etiqueta honesta + métricas + doble imagen + enlace a demo */
.case-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(214, 232, 227, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.case-metrics { margin: 16px 0 4px; padding: 15px 18px; border-radius: 14px; background: rgba(54, 226, 200, 0.05); border: 1px solid rgba(54, 226, 200, 0.2); }
.case-metrics-t { display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #36e2c8; margin-bottom: 8px; }
.case-metrics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.case-metrics li { font-size: 0.88rem; color: rgba(220, 236, 231, 0.85); padding-left: 22px; position: relative; line-height: 1.5; }
.case-metrics li::before { content: "◆"; position: absolute; left: 0; top: 2px; font-size: 0.6rem; color: #36e2c8; }
.case-demo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.85rem; font-weight: 800; color: #36e2c8; text-decoration: none; }
.case-demo-link:hover { text-decoration: underline; }
.case-media-double { display: flex; flex-direction: column; gap: 12px; }
.case-media-double img { border-radius: 14px; }

/* Mensajes reales de clientes */
.msgs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
.msg-block { display: flex; gap: 20px; align-items: flex-start; }
.msg-phone { margin: 0; flex: none; width: min(300px, 42%); transform: rotate(-1.2deg); }
.msg-block:nth-child(2) .msg-phone { transform: rotate(1.2deg); }
.msg-phone img {
  width: 100%; height: auto; display: block; cursor: zoom-in;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.8), 0 0 30px -14px rgba(54, 226, 200, 0.2);
  transition: transform 0.3s var(--ease-out);
}
.msg-phone img:hover { transform: scale(1.02); }
.msg-copy { display: flex; flex-direction: column; gap: 7px; padding-top: 8px; }
.msg-copy > b { font-size: 1rem; font-weight: 800; }
.msg-sys { font-size: 0.74rem; font-weight: 700; color: #36e2c8; }
.msg-copy p { margin: 0; font-size: 0.88rem; color: rgba(214, 232, 227, 0.82); line-height: 1.65; }
.msg-key { color: rgba(235, 245, 243, 0.95) !important; font-weight: 600; }
@media (max-width: 940px) {
  .msgs-grid { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .msg-block { flex-direction: column; align-items: center; text-align: left; }
  .msg-phone { width: min(320px, 86%); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 8, 10, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(560px, 92vw); max-height: 90vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lightbox-x {
  position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 16px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .msg-phone, .msg-phone img { transform: none !important; transition: none !important; } }

/* Caso estrella SCC */
.case-star { border-color: rgba(54, 226, 200, 0.35); box-shadow: 0 0 40px -18px rgba(54, 226, 200, 0.25); }
.case-tag-star { border-color: rgba(54, 226, 200, 0.45); background: rgba(54, 226, 200, 0.08); color: #b8efe4; }
.case-verif-line { margin: 14px 0 10px; font-size: 0.85rem; color: rgba(235, 245, 243, 0.9); font-weight: 600; }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); color: #e8f2ef; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { border-color: rgba(54, 226, 200, 0.5); color: #fff; }

/* =====================================================================
   CHATBOT DEMO INTERACTIVO
   ===================================================================== */
.chatbot {
  width: min(360px, 100%); border-radius: 20px; overflow: hidden;
  background: #0a1014; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 55px -22px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column;
}
.chatbot-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: linear-gradient(135deg, #0d2622, #0a1a20);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chatbot-ava { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, #36e2c8, #23b8a2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.chatbot-tit { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chatbot-tit b { font-size: 0.85rem; }
.chatbot-tit i { font-style: normal; font-size: 0.68rem; color: #36e2c8; }
.chatbot-tag {
  margin-left: auto; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0b1e1a; background: rgba(255, 214, 102, 0.95); padding: 4px 9px; border-radius: 999px; flex: none;
}
.chatbot-msgs {
  height: 320px; overflow-y: auto; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  background:
    radial-gradient(400px 200px at 80% 10%, rgba(54, 226, 200, 0.03), transparent),
    #0b0f12;
}
.chat-b {
  max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 0.84rem; line-height: 1.5;
  color: #e8f2ef; position: relative; animation: vsIn 0.3s var(--ease-out) both;
}
.chat-b.bot { align-self: flex-start; background: #16211f; border-bottom-left-radius: 4px; }
.chat-b.user { align-self: flex-end; background: #0f5245; border-bottom-right-radius: 4px; }
.chat-h { display: inline-block; font-size: 0.58rem; color: rgba(255, 255, 255, 0.4); margin-left: 8px; vertical-align: bottom; }
.chat-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.45); animation: chatDot 1.1s ease-in-out infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatDot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.07); background: #0a1014; min-height: 58px; }
.chat-q {
  font-family: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer;
  color: #36e2c8; background: rgba(54, 226, 200, 0.07);
  border: 1px solid rgba(54, 226, 200, 0.4); border-radius: 999px; padding: 8px 13px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.chat-q:hover { background: rgba(54, 226, 200, 0.16); transform: translateY(-1px); }
.bot-demo-nota { font-size: 0.76rem !important; color: rgba(160, 180, 176, 0.65) !important; }

/* Caso VetPlus: imágenes en horizontal */
.case-media-double { flex-direction: row !important; align-items: stretch; }
.case-media-double img { width: calc(50% - 6px); object-fit: cover; }

/* Enlace a demo dentro de casos: ahora tipo botón */
.case-demo-link {
  margin-top: 14px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(54, 226, 200, 0.45); background: rgba(54, 226, 200, 0.08);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.case-demo-link:hover { text-decoration: none; background: rgba(54, 226, 200, 0.16); transform: translateY(-2px); box-shadow: 0 8px 22px -10px rgba(54, 226, 200, 0.4); }

/* Mensajes reales: un solo bloque centrado */
.msgs-grid { grid-template-columns: 1fr !important; max-width: 780px; margin-left: auto; margin-right: auto; }

/* =====================================================================
   DIAGNÓSTICO DEL COSTO DEL CAOS — calculadora interactiva por nicho
   ===================================================================== */
.chaos-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px; margin-top: 38px; align-items: start; }

/* Chips de nicho */
.chaos-lbl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(160, 180, 176, 0.8); margin-bottom: 10px; }
.chaos-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chaos-chip {
  font-family: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
  color: rgba(220, 236, 231, 0.8); padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.chaos-chip:hover { transform: translateY(-2px); border-color: rgba(54, 226, 200, 0.4); }
.chaos-chip.active {
  color: #0b1e1a; background: linear-gradient(135deg, #36e2c8, #23b8a2);
  border-color: transparent; box-shadow: 0 8px 24px -8px rgba(54, 226, 200, 0.5);
}
.chaos-chip:focus-visible { outline: 2px solid rgba(54, 226, 200, 0.7); outline-offset: 3px; }

/* Textos dinámicos (izquierda) */
.chaos-dyn { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; transition: opacity 0.22s ease, transform 0.22s var(--ease-out); }
.chaos-dyn.is-changing { opacity: 0; transform: translateY(8px); }
.chaos-sub { margin: 0; font-size: 1.05rem; line-height: 1.7; color: rgba(226, 240, 236, 0.9); }
.chaos-box {
  padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(22, 32, 40, 0.55), rgba(9, 14, 20, 0.4));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.chaos-box p { margin: 6px 0 0; font-size: 0.92rem; color: rgba(214, 232, 227, 0.85); line-height: 1.6; }
.chaos-dolor { font-size: 1.02rem !important; font-weight: 700; color: #eef4f2 !important; }
.chaos-tag { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #36e2c8; }
.chaos-tag-hi { color: #0b1e1a; background: linear-gradient(135deg, #36e2c8, #23b8a2); padding: 4px 11px; border-radius: 999px; display: inline-block; }
.chaos-demo-link { display: inline-block; margin-top: 8px; font-size: 0.8rem; font-weight: 800; color: #36e2c8; text-decoration: none; }
.chaos-demo-link:hover { text-decoration: underline; }

/* Calculadora (derecha) */
.chaos-calc {
  padding: 26px 26px 22px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(22, 32, 40, 0.72), rgba(9, 14, 20, 0.6));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(54, 226, 200, 0.22);
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.7), 0 0 44px -18px rgba(54, 226, 200, 0.22);
}
.chaos-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #36e2c8; margin-bottom: 10px; }
.chaos-live i { width: 7px; height: 7px; border-radius: 99px; background: #36e2c8; animation: demoPulse 1.6s ease-in-out infinite; }
.chaos-calc h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.chaos-help { margin: 0 0 20px; font-size: 0.86rem; color: rgba(190, 210, 205, 0.75); line-height: 1.6; }

/* Sliders personalizados */
.chaos-slider { margin-bottom: 16px; }
.chaos-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.chaos-slider-head label { font-size: 0.86rem; font-weight: 700; color: #e8f2ef; }
.chaos-slider-head output { font-size: 0.95rem; font-weight: 800; color: #36e2c8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chaos-aux { margin: 6px 0 0; font-size: 0.72rem; color: rgba(160, 180, 176, 0.6); line-height: 1.5; }
.chaos-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #36e2c8 var(--fill, 30%), rgba(255, 255, 255, 0.1) var(--fill, 30%));
}
.chaos-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 99px;
  background: #eafffb; border: 3px solid #36e2c8; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.chaos-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.chaos-slider input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 99px; background: #eafffb; border: 3px solid #36e2c8; cursor: pointer;
}
.chaos-slider input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); }
.chaos-slider input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: #36e2c8; }
.chaos-slider input[type="range"]:focus-visible { outline: 2px solid rgba(54, 226, 200, 0.7); outline-offset: 4px; }

/* Resultado */
.chaos-result {
  margin: 22px 0 14px; padding: 20px 22px; border-radius: 18px; text-align: center;
  background: radial-gradient(320px 140px at 50% 0%, rgba(54, 226, 200, 0.1), transparent 70%), rgba(10, 16, 20, 0.5);
  border: 1px solid rgba(54, 226, 200, 0.3);
}
.chaos-result-lbl { margin: 12px 0 4px; font-size: 0.9rem; color: rgba(214, 232, 227, 0.85); }
.chaos-big { font-size: clamp(2.3rem, 5.5vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.chaos-big em { font-style: normal; font-size: 0.35em; font-weight: 700; color: #36e2c8; margin-left: 6px; }
.chaos-por { margin: 8px 0 0; font-size: 0.88rem; color: rgba(214, 232, 227, 0.85); }
.chaos-por span { color: #b8efe4; }
.chaos-fine { margin: 10px 0 0; font-size: 0.7rem; color: rgba(160, 180, 176, 0.55); line-height: 1.55; }
.chaos-fine-c { text-align: center; }

/* Mini tarjetas */
.chaos-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chaos-mini-card {
  padding: 14px 16px; border-radius: 14px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.09);
}
.chaos-mini-card span { font-size: 0.68rem; font-weight: 700; color: rgba(160, 180, 176, 0.75); }
.chaos-mini-card b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.chaos-mini-card i { font-style: normal; font-size: 0.62rem; color: rgba(160, 180, 176, 0.5); }
.chaos-nivel { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-size: 0.85rem !important; }
.chaos-nivel[data-nivel="ok"] { background: rgba(54, 226, 200, 0.15); color: #7ce8d5; }
.chaos-nivel[data-nivel="medio"] { background: rgba(255, 214, 102, 0.15); color: #ffd666; }
.chaos-nivel[data-nivel="alto"] { background: rgba(255, 154, 88, 0.16); color: #ff9a58; }
.chaos-nivel[data-nivel="critico"] { background: rgba(255, 107, 107, 0.16); color: #ff6b6b; }

/* Recomendación + CTAs */
.chaos-reco { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(54, 226, 200, 0.05); border: 1px solid rgba(54, 226, 200, 0.2); }
.chaos-reco b { display: block; margin: 6px 0 2px; font-size: 0.95rem; }
.chaos-reco p { margin: 2px 0 0; font-size: 0.9rem; color: rgba(220, 236, 231, 0.85); }
.chaos-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.chaos-ctas .btn-primary { flex: 1; justify-content: center; min-width: 220px; }

@media (max-width: 940px) {
  .chaos-layout { grid-template-columns: 1fr; }
  .chaos-mini { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .chaos-chip, .chaos-dyn { transition: none !important; }
}

/* Panel "Mas negocios" de la calculadora */
.chaos-more i { font-style: normal; font-size: 0.7rem; opacity: 0.7; margin-left: 2px; }
.chaos-panel {
  margin-top: 12px; padding: 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(22, 32, 40, 0.7), rgba(9, 14, 20, 0.55));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(54, 226, 200, 0.2);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7);
}
.chaos-search {
  width: 100%; padding: 10px 14px; border-radius: 999px; font: inherit; font-size: 0.85rem;
  color: #eef4f2; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14); outline: none;
}
.chaos-search:focus { border-color: rgba(54, 226, 200, 0.55); }
.chaos-search::placeholder { color: rgba(160, 180, 176, 0.5); }
.chaos-panel-grid {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px;
  max-height: 216px; overflow-y: auto; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(54,226,200,.35) transparent;
}
.chaos-panel-grid::-webkit-scrollbar { width: 6px; }
.chaos-panel-grid::-webkit-scrollbar-thumb { background: rgba(54, 226, 200, 0.3); border-radius: 99px; }
.chaos-mini-chip {
  font-family: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer;
  color: rgba(220, 236, 231, 0.85); padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.11);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.chaos-mini-chip:hover { border-color: rgba(54, 226, 200, 0.5); transform: translateY(-1px); }
.chaos-mini-chip.active { color: #0b1e1a; background: linear-gradient(135deg, #36e2c8, #23b8a2); border-color: transparent; }
