/* =========================================================
   ContaPyme IA — Landing
   Estructura: HTML semántico + CSS + JS separados
   ========================================================= */

/* ---------- Tokens de marca (ContaPyme) ---------- */
:root {
  --blue:        #00AAF8;
  --blue-bright: #00BFFF;
  --blue-pale:   #BCDDFF;
  --blue-500:    #007BFF;
  --blue-600:    #004EA6;
  --blue-700:    #003787;

  --navy:     #1B1E35;
  --gray-700: #4F505C;
  --gray-500: #939397;
  --gray-200: #E4E8F2;
  --gray-100: #EEF2F7;
  --gray-50:  #F9FAFC;
  --white:    #FFFFFF;

  --success:      #5CBA35;
  --success-deep: #008C42;

  --claude-orange: #D97757;

  --font-display: 'Open Sans', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27,30,53,.06), 0 1px 3px rgba(27,30,53,.08);
  --shadow-md: 0 4px 12px rgba(27,30,53,.08), 0 2px 4px rgba(27,30,53,.06);
  --shadow-lg: 0 12px 32px rgba(27,30,53,.12);
  --shadow-blue: 0 10px 28px rgba(0,123,255,.30);

  --gradient-brand: linear-gradient(135deg,#00BFFF 0%,#00AAF8 45%,#007BFF 100%);
  --gradient-deep:  linear-gradient(135deg,#007BFF 0%,#004EA6 60%,#003787 100%);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-600); }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 96px; }

/* ---------- Iconos (Lucide) ---------- */
.ic { display: inline-block; vertical-align: middle; flex: none; width: 20px; height: 20px; }
.ic--13 { width: 13px; height: 13px; }
.ic--14 { width: 14px; height: 14px; }
.ic--15 { width: 15px; height: 15px; }
.ic--16 { width: 16px; height: 16px; }
.ic--17 { width: 17px; height: 17px; }
.ic--18 { width: 18px; height: 18px; }
.ic--19 { width: 19px; height: 19px; }
.ic--20 { width: 20px; height: 20px; }
.ic--22 { width: 22px; height: 22px; }
.ic--24 { width: 24px; height: 24px; }
.ic--26 { width: 26px; height: 26px; }
.ic--30 { width: 28px; height: 28px; }
.ic--32 { width: 32px; height: 32px; }
.ic--40 { width: 40px; height: 40px; }
.i-blue        { color: var(--blue-500); }
.i-blue6       { color: var(--blue-600); }
.i-blue7       { color: var(--blue-700); }
.i-claude      { color: var(--claude-orange); }
.i-bright      { color: var(--blue-bright); }
.i-brand       { color: var(--blue); }
.i-white       { color: #fff; }
.i-success     { color: var(--success); }
.i-success-deep{ color: var(--success-deep); }

/* ---------- Layout ---------- */
.container { max-width: 1400px; width: 90%; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 1400px; width: 90%; }
.container--slim { max-width: 960px; }
.section { padding: 82px 0; }
.section--white { background: #fff; }
.section--gray  { background: var(--gray-50); }
.section--navy  { background: var(--navy); }
.section__head { text-align: center; max-width: 1000px; margin: 0 auto 48px; }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500);
}
.h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 40px;
  line-height: 1.15; color: var(--navy); margin-top: 12px;
}
.lead { font-size: 17px; color: var(--gray-700); margin: 14px auto; width: 100%; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: var(--radius-pill); border: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease;
  text-align: center;
}
.btn--primary { background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3); }
.btn--primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--blue-600); }
.btn--white:hover { color: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--sm { font-size: 15px; padding: 11px 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #1bbcfb; backdrop-filter: blur(10px);
}
.header-inner {
  padding: 13px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: auto; }
.brand__badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: #fff; background: var(--gradient-brand);
  padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: .02em;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: white; }
.nav a:hover { color: var(--blue-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:#2CA3F1;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__grid {
  position: relative; padding: 70px 0 84px;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center;
}
.badge-pill {
  display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .09em;
    color: var(--blue-500);
    background: white;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
}
.badge-pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(92,186,53,.3);
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; font-size: 39px;
  line-height: 1.04; letter-spacing: -.015em; color: #fff; margin-top: 22px;
}
.hero__accent {
  background: rgba(255, 255, 255, 0.5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc {
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.82);
  margin-top: 22px; max-width: 560px;
}
.hero__desc strong { color: #fff; }
.hero__ctas { display: grid; grid-template-columns: max-content; gap: 13px; margin-top: 32px; }
.hero__ctas .btn--white { font-size: 15px; padding: 15px 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.8);
}
.hero__trust .ic { color: #fff; }

/* ---------- Chat simulado ---------- */
.chat-wrap { position: relative; min-width: 0; }
.chat-wrap__glow {
  position: absolute; inset: -14px -14px auto auto; width: 60%; height: 50%;
  background: var(--gradient-brand); border-radius: var(--radius-xl);
  opacity: .22; filter: blur(6px);
}
.chat {
  position: relative; background: #fff; border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.4);
  overflow: hidden; cursor: pointer;
}
.chat__bar {
  display: flex; align-items: center; gap: 9px; padding: 0 0 0 14px;
  height: 38px; border-bottom: 1px solid #c8e8fb; background: #e8f6fd;
}
.chat__title {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy);
}
.chat__win-controls { display: flex; margin-left: auto; }

/* Fila superior del chat: la píldora "Conectado con ContaPyme®" queda
   centrada (align-self propio) y empuja la pregunta hacia abajo (nunca la
   tapa); los hijos se estiran al 100% para no romper el alineado a la
   derecha que ya trae la burbuja de la pregunta */
.chat-qrow { display: flex; flex-direction: column; }

/* Notificación "Conectado con ContaPyme®" — píldora centrada arriba de
   la pregunta, fija todo el tiempo (visible desde antes de escribir) */
.chat-toast {
  box-sizing: border-box; overflow: hidden;
  display: inline-flex; align-items: center; gap: 5px; align-self: center;
  font-size: 8.5px; font-weight: 700; color: var(--success-deep);
  background: #EAF7E4; border: 1px solid rgba(92,186,53,.35);
  border-radius: var(--radius-pill);
  max-height: 30px; padding: 5px 12px; margin-bottom: 8px; opacity: 1;
}
.chat-toast::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.win-btn {
  background: none; border: none; cursor: default; width: 44px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; color: #444; line-height: 1; font-family: system-ui, sans-serif;
  transition: background .12s;
}
.win-btn:hover { background: rgba(0,0,0,.09); }
.win-btn--close:hover { background: #e81123; color: #fff; }
.chat__body {
  position: relative;
  padding: 10px 18px 20px 18px; min-height: 340px; display: flex; flex-direction: column;
  gap: 18px; background: #fff;
}

/* Mensaje del usuario — estilo Claude */
.bubble-user {
  align-self: flex-end; max-width: 78%;
  background: #f0f0f0; color: var(--navy);
  font-size: 14.5px; line-height: 1.5; padding: 10px 15px;
  border-radius: 18px 18px 4px 18px; min-height: 20px;
}
.type-cursor {
  display: inline-block; width: 2px; height: 1.05em; background: var(--navy);
  vertical-align: -2px; margin-left: 1px; animation: blink 1s step-end infinite;
}

/* ---------- Mockup de escritorio en el hero: primero se ve ContaPyme,
   luego cambia al chat de Claude (ver startIntro() en main.js) ---------- */
.win-desk { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.35); background: radial-gradient(120% 120% at 15% 10%, #EAF3FF, #CFE3FB); }
.win-area { padding: 16px; }
.win-anim { animation: winIn .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes winIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

.win-taskbar { height: 46px; background: rgba(243,246,251,.94); border-top: 1px solid rgba(0,0,0,.06); display: flex; align-items: center; justify-content: center; gap: 20px; }
.win-taskicon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }
.win-taskicon .ic { width: 22px; height: 22px; }
.win-logo { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; width: 18px; height: 18px; }
.win-logo span { background: #0067C0; border-radius: 1px; }
.win-taskapp { position: relative; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: transparent; color: var(--blue-500); transition: background .3s; }
.win-taskapp img { width: 24px; height: 24px; object-fit: contain; }
.win-taskapp .ic { width: 22px; height: 22px; }
.win-taskapp b { position: absolute; bottom: -3px; width: 0; height: 3px; border-radius: 2px; background: var(--blue-500); transition: width .3s; }
.win-taskapp.is-active { background: rgba(0,123,255,.12); }
.win-taskapp.is-active b { width: 20px; }
/* El ícono de Claude en la barra de tareas es naranja (no el azul de ContaPyme) */
#hero-task-claude { color: var(--claude-orange); }
#hero-task-claude b { background: var(--claude-orange); }
#hero-task-claude.is-active { background: rgba(217,119,87,.14); }
#hero-task-claude.is-switching { animation: taskPulse 1s ease-in-out infinite; }
@keyframes taskPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,119,87,.45); } 50% { box-shadow: 0 0 0 7px rgba(217,119,87,0); } }
/* El mouse arranca en el centro de la ventana (--sx/--sy) y viaja hasta el
   ícono de Claude en la barra de tareas (--ex/--ey) para "hacer click" justo
   cuando la ventana cambia al chat (ver positionCursor() y startIntro() en
   main.js: 1300ms + 700ms = 2000ms, la misma duración de esta animación).
   El recorrido va en un solo tramo (10%→65%) para que se vea como un
   desplazamiento continuo, sin cortes ni paradas a mitad de camino.
   Las variables --sx/--sy/--ex/--ey las calcula JS con getBoundingClientRect,
   así que el recorrido se adapta al tamaño real de la ventana en pantalla. */
.task-cursor {
  display: block; position: absolute; top: 0; left: 0; z-index: 20; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
  opacity: 0;
  --sx: 0px; --sy: 0px; --ex: 0px; --ey: 0px;
}
.task-cursor.is-animating { animation: cursorTravel 2s ease-in-out both; }
@keyframes cursorTravel {
  0%   { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1); }
  10%  { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1); }
  65%  { opacity: 1; transform: translate(var(--ex), var(--ey)) scale(1); }
  75%  { opacity: 1; transform: translate(var(--ex), var(--ey)) scale(.78); }
  100% { opacity: 1; transform: translate(var(--ex), var(--ey)) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .win-anim, #hero-task-claude.is-switching, .task-cursor { animation: none; } }

/* Ventana "ContaPyme 4.00" — mockup del escritorio antes de pasar al chat.
   min-height igualado al alto natural de .chat para que la ventana no
   cambie de tamaño al alternar entre ContaPyme y el chat (ver #hero-cp/
   #hero-chat en startIntro()/restartIntro() en main.js). */
.cp-win { display: flex; flex-direction: column; min-height: 435px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 34px rgba(11,16,48,.20); border: 1px solid #D7DEE8; }
.cp-win__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #F3F6FB; border-bottom: 1px solid #E1E4E8; }
.cp-win__bar img { width: 16px; height: 16px; object-fit: contain; }
.cp-win__bar span:nth-child(2) { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--navy); }
.cp-win__ctl { margin-left: auto; display: flex; align-items: center; gap: 13px; color: #9aa3b4; font-size: 12px; }
.cp-win__ctl i { width: 11px; height: 2px; background: #042855; display: block; }
.cp-win__ctl b { width: 10px; height: 10px; border: 1.5px solid #042855; border-radius: 2px; display: block; }
.cp-win__bar--os { background: #deedff; border-bottom: none; }
.cp-win__bar--os img { border-radius: 3px; padding: 1px; }
.cp-win__bar--os span:nth-child(2) { color: #042855; font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-win__bar--os .cp-win__ctl { color: rgba(255,255,255,.9); }
.cp-win__ribbon { display: flex; align-items: center; gap: 13px; padding: 5px 11px; background: #EEF3FA; border-bottom: 1px solid #DCE3EE; font-size: 10px; color: #66707f; white-space: nowrap; overflow: hidden; }
.cp-win__ribbon .on { color: #1A5FB4; font-weight: 700; border-bottom: 2px solid #1A5FB4; padding-bottom: 4px; }
.cpw-row { display: grid; grid-template-columns: 1.6fr .92fr .92fr .92fr 1.04fr; border-bottom: 1px solid #E7ECF3; }
.cpw-row span { padding: 4px 8px; font-size: 10px; color: var(--navy); text-align: right; }
.cpw-row span:first-child { text-align: left; }
.cpw-row.cpw-head { background: #2F6FC0; }
.cpw-row.cpw-head span { color: #fff; font-size: 9.5px; font-weight: 700; }
.cpw-row.ing { background: #EAF1FB; font-weight: 700; }
.cpw-row.ing span { color: #0B3D91; }
.cpw-row.sub span { color: #C0561F; }
.cpw-row.hl { background: #FFF7C6; font-weight: 700; }
.cpw-row .tot { font-weight: 700; }
.cpw-row .hlc { background: #FFF6C2; font-weight: 700; color: #8a6d00; }
.cpw-chart { flex: 1; display: flex; flex-direction: column; padding: 10px 14px 12px; min-height: 0; }
.cpw-chart__t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cpw-chart__t > span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--navy); }
.cpw-legs { display: flex; gap: 10px; }
.cpw-leg { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #5b6472; }
.cpw-leg span { width: 9px; height: 9px; border-radius: 2px; }
.cpw-plot { flex: 1; display: flex; align-items: flex-end; gap: 6px; border-bottom: 2px solid var(--gray-200); padding-top: 4px; }
.cpw-grp { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cpw-bars { display: flex; align-items: flex-end; gap: 2px; height: 130px; }
.cpw-bars span { border-radius: 2px 2px 0 0; }
.cpw-grp > span { font-size: 9px; color: var(--gray-500); }

.ans__avatar {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
}

/* Indicador "pensando" — dos líneas con sweep */
.th-two { align-self: flex-start; display: flex; flex-direction: column; gap: 9px; background: #fff; border: 1px solid var(--gray-200); padding: 13px 16px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-sm); }
.th-two > div { display: flex; align-items: center; gap: 9px; }
.th-txt { font-size: 13px; font-weight: 600; background: linear-gradient(90deg,var(--gray-500) 30%,var(--navy) 50%,var(--gray-500) 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: thsweep 1.8s linear infinite; }
.th-ia { width: 17px; height: 17px; flex: none; color: var(--claude-orange); animation: thpulse 1.4s ease-in-out infinite; }
.th-cp { width: 17px; height: 17px; flex: none; object-fit: contain; animation: thpulse 1.4s ease-in-out infinite .5s; }

/* Respuesta de Claude — avatar + contenido fluido */
.bubble-answer {
  align-self: flex-start; max-width: 92%;
  display: flex; gap: 12px; align-items: flex-start;
  animation: floatUp .35s ease both;
}
.ans__content { flex: 1; }
.ans__title {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--navy); margin-bottom: 10px;
}
.ans__rows { display: flex; flex-direction: column; gap: 0; }
.ans__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--gray-100);
}
.ans__row:first-child { border-top: 1px solid var(--gray-100); }
.ans__row .label { font-size: 13px; color: var(--gray-700); }
.ans__row .value { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.ans__foot {
  margin: 10px 16px 14px; font-size: 12px; color: var(--gray-700); font-weight: 700;
}
.chat__input {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-top: 1px solid var(--gray-200);
}
.chat__input span:first-child { flex: 1; font-size: 13.5px; color: var(--gray-500); }
.chat__send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue-500); color: #fff;
}

/* ---------- Banda de confianza ---------- */
.band-trust { background: var(--navy); }
.bt-slider { display: flex; align-items: center; }
.bt-arrow {
  display: none; flex-shrink: 0; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; transition: background .15s; padding: 0;
}
.bt-arrow:hover { background: rgba(255,255,255,.25); }
.bt-viewport { flex: 1; overflow: hidden; min-width: 0; }
.band-trust__grid { flex: 1; padding: 26px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.tb-item { display: flex; align-items: center; gap: 13px; justify-content: center; color: var(--blue); }
.tb-num { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; line-height: 1; }
.tb-label { font-size: 13px; color: rgba(255,255,255,.65); }

@media (max-width: 768px) {
  .bt-arrow { display: inline-flex; }
  .bt-viewport { flex: 1; overflow: hidden; min-width: 0; }
  .band-trust__grid {
    display: flex; flex-wrap: nowrap;
    transition: transform .35s ease; gap: 0; padding: 26px 0;
  }
  .tb-item { min-width: 100%; flex-shrink: 0; justify-content: center; }
}

/* ---------- Slider genérico de tarjetas (tablet/móvil) ----------
   Mismo patrón que la banda de confianza (.bt-slider), reutilizado para
   los pilares, los módulos y las tarjetas del ecosistema IA: en escritorio
   se ve la grilla normal; en tablet/móvil (<=768px) se vuelve un slider
   de una tarjeta por vez, con flechas a los lados. */
.card-slider { display: flex; align-items: center; gap: 10px;}
.card-slider__arrow {
  display: none; flex-shrink: 0; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gray-200);
  background: #fff; color: var(--navy); font-size: 26px; line-height: 1;
  cursor: pointer; transition: background .15s, border-color .15s; padding: 0;
  box-shadow: var(--shadow-sm);
}
.card-slider__arrow:hover { background: var(--gray-50); border-color: var(--blue-pale); }
.card-slider__viewport { flex: 1; overflow: hidden; min-width: 0; }
@media (max-width: 768px) {
  .card-slider__arrow { display: inline-flex; }
}

/* ---------- Qué es (órbita) ---------- */
.bridge__circle { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-brand); box-shadow: var(--shadow-blue); animation: hubPulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .bridge__circle { animation: none !important; }
}
.orbit-stage { position: relative; width: 100%; margin: 0 auto; height: 560px; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.orbit-svg--mobile { display: none; }
.orbit-card { position: absolute; width: 384px; max-width: 44%; background: #fff; border: 1.5px solid var(--blue-pale); border-radius: var(--radius-xl); padding: 28px 30px; box-shadow: var(--shadow-md); z-index: 2; }
.orbit-card--ai { top: 14px; left: 0; }
.orbit-card--cp { bottom: 14px; right: 0; }
.orbit-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin: 0 0 8px; }
.orbit-card p { font-size: 14px; line-height: 1.6; color: var(--gray-700); }
.orbit-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.orbit-icon-group { display: flex; gap: 10px; margin-bottom: 16px; }
.orbit-icon-group .orbit-icon { margin-bottom: 0; }
.orbit-icon--claude { background: #FCE9E2; color: #D97757; }
.orbit-icon--gpt { background: #F1F1F2; color: #0D0D0D; }
.orbit-symbol-wrap { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.orbit-symbol-wrap img { width: 48px; height: 48px; display: block; }
.orbit-hub { position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.orbit-hub__label { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); }
.orbit-hub__sub { font-size: 15px; color: var(--gray-500); text-align: center; max-width: 180px; }
.orbit-note { position: absolute; bottom: 22px; left: 4px; max-width: 500px; z-index: 2; }
.orbit-note p { font-size: 15px; color: var(--gray-500); margin: 0; line-height: 1.5; }
.orbit-note strong { color: var(--navy); font-family: var(--font-display); font-size: 20px; }
.orbit-biz { position: absolute; top: 26%; right: 15%; width: 165px; z-index: 2; }
.orbit-biz svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(0,123,255,.18)); }
@media (max-width: 900px) {
  .orbit-stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .orbit-svg--desktop { display: none; }
  .orbit-svg--mobile { display: block; }
  .orbit-loop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
  .orbit-card, .orbit-note {
    position: relative; z-index: 1; top: auto; left: auto; right: auto; bottom: auto;
    width: 100%; max-width: 460px;
  }
  .orbit-card { padding: 20px 22px; }
  .orbit-card h3 { font-size: 17px; margin: 0 0 6px; }
  .orbit-card p { font-size: 14px; line-height: 1.5; }
  .orbit-icon, .orbit-symbol-wrap { width: 40px; height: 40px; margin-bottom: 12px; }
  .orbit-icon-group { margin-bottom: 12px; }
  .orbit-icon-group .orbit-icon { margin-bottom: 0; }
  .orbit-symbol-wrap img { width: 40px; height: 40px; }
  .orbit-hub { position: relative; z-index: 1; top: auto; left: auto; transform: none; }
  .orbit-biz { position: static; transform: none; margin: 0 auto; }
  .orbit-note { text-align: center; }
}

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pillar {
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s, border-color .3s;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gray-200); transition: background-color .3s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.pillar:hover::before { background: var(--blue); }
.pillar:hover .pillar__icon { transform: rotate(-8deg); }
.pillar__icon { width: 46px; height: 46px; border-radius: 12px; background: #eaf4ff; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; transition: transform .3s; }
.pillar__icon img { filter: brightness(0) saturate(100%) invert(17%) sepia(85%) saturate(7351%) hue-rotate(203deg) brightness(83%) contrast(103%); }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 7px; }
.pillar p { font-size: 14px; line-height: 1.55; color: var(--gray-700); }

/* ---------- Ejemplos ---------- */
.examples { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.example { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 12px; align-items: flex-start; }
.example .ic { margin-top: 2px; }
.example p { font-size: 15px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.ej-channels { margin: 32px auto 0; max-width: 585px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;  border: 1px solid #A9D3FF; border-radius: var(--radius-pill); padding: 12px 24px; }
.ej-channels__chips { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.ej-channels__lead { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--navy); white-space: nowrap; }
.ej-channels__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--gray-700); }
.ej-channels__chip--xls { font-weight: 700; color: #217346; }
/* --- Sección ejemplos: chat + playlist --- */
.ej-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; align-items: stretch; }
.ej-chat { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
/* Ícono sutil de "en pausa": oculto salvo cuando el usuario hace click en el chat
   (se reutiliza en los tres chats simulados: hero, ejemplos y excel) */
.chat-pause-badge {
  display: none; align-items: center; justify-content: center;
  position: absolute; bottom: 12px; right: 16px; width: 60px; height: 60px;
  background: rgba(255,255,255,.92); border: 1px solid #2CA3F1; border-radius: 50%;
  color: #2CA3F1; box-shadow: var(--shadow-sm); z-index: 2;
}
.chat.is-paused .chat-pause-badge,
.ej-chat.is-paused .chat-pause-badge,
.xls-window.is-paused .chat-pause-badge { display: inline-flex; }
.ej-chat__bar { display: flex; align-items: center; gap: 9px; padding: 0 0 0 14px; height: 38px; border-bottom: 1px solid #c8e8fb; background: #e8f6fd; }
.ej-chat__body { position: relative; padding: 10px 18px 20px 18px; flex: 0 0 410px; height: 410px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg,#fff,#FBFCFE); overflow-y: auto; overflow-x: hidden; }
.ej-chat__body::-webkit-scrollbar { width: 7px; }
.ej-chat__body::-webkit-scrollbar-track { background: transparent; }
.ej-chat__body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: var(--radius-pill); }
.ej-chat__body::-webkit-scrollbar-thumb:hover { background: var(--blue-pale); }
.ej-slide { animation: ejSlide .5s ease both; }
.ej-slide .bubble-user { align-self: flex-end; margin-left: auto; max-width: 86%; width: fit-content; }
.ej-answer { align-self: flex-start; max-width: 95%; background: #fff; border: 1px solid var(--gray-200); border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-sm); overflow: hidden; animation: floatUp .4s ease both; }
.ej-answer--wide { width: 78%; max-width: 78%; }
@media (max-width: 480px) { .ej-answer--wide { width: 94%; max-width: 94%; } }
.ej-answer__head { display: flex; align-items: center; gap: 8px; padding: 12px 16px 9px; }
.ej-answer__head strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.ej-answer__rows { padding: 0 16px 6px; }
.ej-answer__split { display: flex; align-items: stretch; gap: 6px; }
.ej-answer__split .ej-answer__rows { flex: 1; min-width: 0; padding: 0 8px 6px 16px; }
.ej-answer__split .ej-chart { flex: 1; min-width: 0; padding: 4px 16px 10px 8px; border-left: 1px solid var(--gray-100); }
.ej-answer__bullets { padding: 2px 16px 10px; display: flex; flex-direction: column; gap: 9px; }
.ej-answer__bullets > div { display: flex; gap: 10px; align-items: flex-start; }
.ej-answer__bullets > div::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--blue-500); }
.ej-answer__bullets span { font-size: 13.5px; line-height: 1.5; color: var(--gray-700); }
.ej-playlist { display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.ej-playlist__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 2px; }
.ej-item { display: flex; gap: 11px; align-items: center; padding: 13px 15px; border-radius: 12px; cursor: pointer; transition: background .18s, border-color .18s; border: 1px solid var(--gray-200); background: #fff; margin-bottom: 10px;}
.ej-item:hover { border-color: var(--blue-pale); }
.ej-item p { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--navy); }
.ej-item .ic { color: var(--gray-500); }
.ej-item.is-active { border-color: var(--blue-500); background: #eaf4ff; box-shadow: var(--shadow-sm); }
.ej-item.is-active p { color: var(--blue-600); }
.ej-item.is-active .ic { color: var(--blue-600); }
.ej-playlist__row { display: flex; align-items: center; gap: 8px; }
.ej-nav { display: none; }
.ej-trust { margin-top: 24px; display: flex; gap: 16px; align-items: center; background: #eaf4ff;; border: 1px solid #A9D3FF; border-radius: var(--radius-xl); padding: 22px 26px; }
.ej-trust__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-sm); }
.ej-trust h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.ej-trust__badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); background: #fff; border: 1px solid var(--blue-pale); padding: 4px 11px; border-radius: var(--radius-pill); margin-bottom: 9px; }
.ej-trust strong { color: var(--navy); }
.ej-trust p { font-size: 14.5px; line-height: 1.55; color: var(--gray-700); margin: 0; }
@keyframes ejSlide { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: translateX(0); } }
/* mini gráfico de barras */
.ej-chart { padding: 4px 18px 10px; }
.ej-chart__bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; height: 88px; border-bottom: 2px solid var(--gray-200); padding-top: 6px; }
.ej-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.ej-bar__v { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--navy); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ej-bar__fill { width: 100%; border-radius: 6px 6px 0 0; transition: height .5s ease; }
.ej-chart__labels { display: flex; justify-content: space-around; gap: 14px; padding-top: 5px; }
.ej-chart__labels span { flex: 1; min-width: 0; text-align: center; font-size: 11.5px; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* hoja de Excel */
.ej-xls { margin: 4px 16px 12px; max-width: 300px; border: 1px solid #D7DEE8; border-radius: 7px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ej-xls__bar { display: flex; align-items: center; gap: 6px; background: #217346; padding: 5px 9px; }
.ej-xls__bar span { font-family: var(--font-body); font-weight: 700; font-size: 10.5px; color: #fff; }
.ej-xls__bar em { margin-left: auto; font-style: normal; font-size: 9px; color: rgba(255,255,255,.85); }
.ej-xls__row { display: grid; grid-template-columns: 1.4fr 1fr .7fr; border-bottom: 1px solid #D7DEE8; }
.ej-xls__row span { padding: 4px 8px; font-size: 10.5px; color: var(--navy); }
.ej-xls__row span:nth-child(2), .ej-xls__row span:nth-child(3) { text-align: right; }
.ej-xls__row span:nth-child(3) { color: var(--success-deep); }
.ej-xls__letters { background: #F2F5F9; }
.ej-xls__letters span { padding: 3px 8px; font-size: 9px; font-weight: 700; color: var(--gray-500); border-right: 1px solid #E4E8F2; text-align: left !important; }
.ej-xls__cols { background: #EAF3EC; font-weight: 700; }
.ej-xls__cols span { font-size: 10.5px; color: #155724; }
.ej-xls__row.is-total { background: #EAF3EC; font-weight: 700; }
@media (max-width: 900px) {
  .ej-grid { grid-template-columns: 1fr; }
  .ej-chat { order: 2; }
  #ej-list { flex: 1; min-width: 0; }
  .ej-item { display: none; }
  .ej-item.is-active { display: flex; flex: 1; min-width: 0; }
  .ej-nav {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-200);
    background: #fff; color: var(--gray-500); cursor: pointer; transition: border-color .18s, color .18s;
  }
  .ej-nav:hover { border-color: var(--blue-pale); color: var(--blue-600); }
  .ej-chat__body { flex-basis: 480px; height: 480px; }
  .ej-answer__split { flex-direction: column; }
  .ej-answer__split .ej-chart { border-left: none; border-top: 1px solid var(--gray-100); padding: 10px 16px 10px 16px; }
  .ej-xls { max-width: 100%; }
  .ej-channels { flex-direction: column; border-radius: var(--radius-lg); padding: 16px 20px; gap: 12px; }
  .ej-channels__lead { white-space: normal; width: 100%; text-align: center; }
}
/* --- Showcase ContaPyme para Excel --- */
.xls-showcase { margin-top: 52px; }
.xls-showcase__head { text-align: center; max-width: 900px; margin: 0 auto 26px; }
.h3-sm { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.15; color: var(--navy); margin: 10px 0 0; }
.xls-window { position: relative; width: 100%; margin: 0 auto; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(11,16,48,.18); background: #fff; cursor: pointer; }
.xls-titlebar { display: flex; align-items: center; gap: 10px; background: #F3F3F3; padding: 8px 14px; border-bottom: 1px solid #E1E4E8; }
.xls-titlebar__name { display: flex; align-items: center; gap: 7px; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: #217346; }
.xls-titlebar__ico { width: 18px; height: 18px; border-radius: 4px; background: #217346; display: inline-flex; align-items: center; justify-content: center; }
.xls-titlebar__dots { margin-left: auto; display: flex; gap: 16px; }
.xls-titlebar__dots span { width: 11px; height: 11px; border-radius: 50%; background: #E1E4E8; }
.xls-ribbon { display: flex; align-items: center; gap: 18px; padding: 7px 16px; border-bottom: 1px solid #E1E4E8; font-family: var(--font-body); font-size: 12.5px; color: var(--gray-700); overflow: hidden; white-space: nowrap; }
.xls-ribbon .is-active { color: #217346; font-weight: 700; border-bottom: 2px solid #217346; padding-bottom: 6px; }
.xls-ribbon__cp { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #217346; font-weight: 700; }
.xls-ribbon__claude { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #D97706; }
.xls-body { display: grid; grid-template-columns: 1fr 264px; }
/* Alto fijo: mismo alto durante toda la animación (escribiendo, pensando,
   con respuesta) para que la página no salte al cambiar de estado */
.xls-sheet { overflow-x: auto; overflow-y: auto; border-right: 1px solid #E1E4E8; height: 480px; }
.xls-cols { display: grid; grid-template-columns: 26px 96px 150px 118px 92px; font-family: var(--font-body); font-size: 11px; color: var(--gray-500); background: #F7F8FA; border-bottom: 1px solid #E1E4E8; }
.xls-cols span { padding: 4px 8px; border-right: 1px solid #E1E4E8; }
.xls-cols span:first-child { padding: 4px 0; }
.xls-title { padding: 12px 12px 4px; border-bottom: 1px solid #F0F2F5; }
.xls-title__h { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.xls-title__s { font-size: 11.5px; font-style: italic; color: var(--gray-500); margin-top: 2px; }
.xls-row { display: grid; grid-template-columns: 96px 150px 118px 92px; font-size: 12px; border-bottom: 1px solid #F0F2F5; }
.xls-row span { padding: 6px 8px; color: var(--navy); }
.xls-row .num { text-align: right; }
.xls-row .mes { color: var(--gray-700); }
.xls-row--alt { background: #FAFBFC; }
.xls-row--head { background: #EAF3EC; font-weight: 700; }
.xls-row--head span { color: #155724; padding: 7px 8px; }
.xls-row--total { background: #EAF3EC; font-weight: 700; border-top: 2px solid #C7DFCB; }
.xls-row--total span { padding: 8px 8px; }
.xls-row--total .green { color: var(--success-deep); }
.xls-chart { padding: 16px 14px 14px; }
.xls-chart__title { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 10px; }
.xls-chart__bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 120px; border-bottom: 2px solid var(--gray-200); }
.xb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.xb span { font-size: 9px; color: var(--gray-500); }
.xb i { width: 100%; border-radius: 3px 3px 0 0; background: var(--blue-600); }
.xls-chart__labels { display: flex; justify-content: space-between; gap: 6px; padding-top: 5px; }
.xls-chart__labels span { flex: 1; text-align: center; font-size: 9.5px; color: var(--gray-500); }
.xls-claude { background: #FBFBFC; display: flex; flex-direction: column; }
.xls-claude__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #E1E4E8; }
.xls-claude__head .ic { color: var(--claude-orange); }
.xls-claude__head span { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.xls-claude__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; line-height: 1.5; color: var(--gray-700); flex: 1; overflow-y: auto; min-height: 0; }
.xls-claude__q { align-self: flex-end; max-width: 90%; background: var(--blue-500); color: #fff; padding: 9px 12px; border-radius: 12px 12px 3px 12px; }
.xls-claude__a { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px 12px 12px 3px; padding: 10px 12px; }
.xls-claude__tool { color: var(--gray-500); font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.sx-loading { position: relative; height: 100%; min-height: 0; }
.sx-skel { opacity: .35; pointer-events: none; padding: 14px 12px; }
.sx-skel__title { height: 15px; width: 58%; background: #C9D2E0; border-radius: 4px; margin-bottom: 16px; }
.sx-skel__head { height: 26px; background: #EAF3EC; border-radius: 4px; margin-bottom: 6px; }
.sx-skel__rows { display: flex; flex-direction: column; gap: 9px; }
.sx-skel__rows i { display: block; height: 13px; background: var(--gray-200); border-radius: 4px; }
.sx-skel__chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 16px; }
.sx-skel__chart b { flex: 1; background: var(--blue-pale); border-radius: 3px 3px 0 0; }
.sx-loading__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.sx-loading__overlay span { font-size: 13px; color: var(--gray-700); background: rgba(255,255,255,.9); padding: 5px 14px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.sx-spin { width: 38px; height: 38px; border: 3px solid var(--blue-pale); border-top-color: var(--blue-500); border-radius: 50%; animation: ejspin .8s linear infinite; }
#sx-content { animation: floatUp .4s ease both; }
.xls-modes { width: 100%; margin: 20px auto 0; display: grid; gap: 16px; }
.xls-mode { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px 22px; }
.xls-mode--green { background: linear-gradient(160deg,#EAF3EC,#fff); border-color: #C7DFCB; }
.xls-mode__h { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.xls-mode--green .xls-mode__h .ic { color: #217346; }
.xls-mode__h h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy); margin: 0; }
.xls-mode p { font-size: 14px; line-height: 1.55; color: var(--gray-700); margin: 0; }
@media (max-width: 900px) {
  .xls-body { grid-template-columns: 1fr; }
  .xls-claude { order: -1; border-bottom: 1px solid #E1E4E8; }
  .xls-modes { grid-template-columns: 1fr; }
  .xls-titlebar__name { font-size: 11px; }
  .xls-ribbon { font-size: 10.5px; gap: 10px; padding: 7px 12px; }
  .xls-ribbon__cp, .xls-ribbon__claude { gap: 4px; }
  /* En móvil/tablet las columnas se apilan, así que ya no comparten fila de
     grid (no hay stretch); el panel de Claude necesita su propio alto fijo */
  .xls-claude { height: 320px; }
}
@media (max-width: 480px) {
  .xls-ribbon { gap: 7px; padding: 6px 10px; }
  .xls-ribbon span:not(.xls-ribbon__cp):not(.xls-ribbon__claude):not(.is-active) { display: none; }
  .xls-ribbon__cp, .xls-ribbon__claude { font-size: 0; gap: 0; }
}
@media (max-width: 600px) {
  .xls-cols { grid-template-columns: 18px 68px 88px 92px 72px; font-size: 9.5px; }
  .xls-cols span { padding: 3px 5px; }
  .xls-title { padding: 10px 10px 4px; }
  .xls-title__h { font-size: 13px; }
  .xls-title__s { font-size: 10px; }
  .xls-row { grid-template-columns: 68px 88px 92px 72px; font-size: 10.5px; }
  .xls-row span, .xls-row--head span, .xls-row--total span { padding: 4px 5px; }
  .xls-chart { padding: 12px 10px 10px; }
  .xls-chart__title { font-size: 12px; }
  .xls-chart__bars { height: 90px; gap: 3px; }
  .xb span { font-size: 8px; }
  .xls-chart__labels { gap: 3px; }
  .xls-chart__labels span { font-size: 8px; }
}

/* ---------- Funciones ---------- */
.modules { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.module {
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px 22px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s, border-color .3s;
}
.module::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gray-200); transition: background-color .3s ease;
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.module:hover::before { background: var(--blue); }
.module:hover .module__icon { transform: rotate(-8deg); }
.module__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.module__icon { width: 42px; height: 42px; border-radius: 11px; background: #eaf4ff;; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.module h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.module p { font-size: 14px; line-height: 1.55; color: var(--gray-700); }
.module--soon { background: linear-gradient(160deg,#EEF7FF,#fff); border: 1.5px dashed var(--blue-pale); box-shadow: none; }
.module--soon .module__icon { background: #fff; border: 1px solid var(--blue-pale); }
.module--soon::before { background: transparent; }
.module--soon:hover { border-style: dashed; }

/* ---------- Dónde usarlo ---------- */
.places { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.place { text-align: center; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 18px; }
.place__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); margin: 12px 0 2px; }
.place__title span { color: var(--blue-500); }
.place__sub { font-size: 14px; color: var(--gray-500); }
.places-note { text-align: center; font-size: 12.5px; color: var(--gray-500); margin-top: 20px; }

/* ---------- Pasos (números grandes) ---------- */
.steps-big-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; width: 100%; margin: 0 auto; }
.step-big { position: relative; display: flex; flex-direction: row; align-items: flex-start; gap: 6px; padding: 0 6px; }
.step-big__num {
  font-family: var(--font-display); font-weight: 800; font-size: 130px; line-height: .8;
  color: rgba(0,123,255,.18); flex-shrink: 0; position: relative; right: -22px;
  z-index: 1; user-select: none; transition: color .3s ease;
}
.step-big:hover .step-big__num { color: rgba(0,123,255,.3); }
.step-big__content { position: relative; z-index: 2; margin-top: 12px; }
.step-big__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.step-big__title .highlight-blue { color: var(--blue-500); }
.step-big__text { font-size: 14.5px; line-height: 1.55; color: var(--gray-700); max-width: 280px; }
.step-big__text strong { color: var(--navy); }
.steps-cta { display: flex; justify-content: center; margin-top: 46px; }
.btn-steps-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 15px 32px; border-radius: var(--radius-pill);
  box-shadow: 0 10px 26px rgba(27,30,53,.25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-steps-cta:hover { background: #262A48; color: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,123,255,.35); }
@media (max-width: 1024px) {
  .steps-big-grid { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin: 0 auto; }
  .step-big { flex-direction: column; align-items: center; text-align: center; padding-top: 26px; }
  .step-big__num { position: absolute; top: 4px; left: 50%; transform: translateX(-115%); font-size: 140px; z-index: 0; }
  .step-big__content { width: 100%; max-width: 320px; z-index: 1; margin-top: 0; }
  .step-big__text { max-width: none; margin: 0 auto; }
}
@media (max-width: 640px) {
  .step-big__num { font-size: 120px; left: 20%; transform: translateX(-60%); }
  .step-big__title { font-size: 18px; }
  .step-big__text { font-size: 14px; }
  .btn-steps-cta { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .step-big__num { font-size: 80px; transform: translateX(-60%); }
  .step-big__title { font-size: 15px; }
  .step-big__text { font-size: 12.5px; }
}

/* ---------- Doble camino ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.path { border-radius: var(--radius-xl); padding: 36px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.path--client { background: linear-gradient(170deg,#EEF7FF,#fff); border: 1.5px solid var(--blue-pale); }
.path--prospect { background: var(--blue-500); }
.path__glow { position: absolute; inset: auto -30px -30px auto; width: 180px; height: 180px; background: var(--gradient-brand); border-radius: 50%; opacity: .2; filter: blur(10px); }
.path__badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .05em;
 padding: 5px 12px; border-radius: var(--radius-pill);
}
.path--client .path__badge { color: var(--blue-600); background: #d4e8fd; }
.path--prospect .path__badge { color: #fff; background: rgba(255, 255, 255, 0.281); }
.path h3 { font-family: var(--font-display); font-weight: 700; font-size: 25px; margin: 16px 0 8px; position: relative; }
.path--client h3 { color: var(--navy); }
.path--prospect h3 { color: #fff; }
.path > p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; position: relative; }
.path--client > p { color: var(--gray-700); }
.path--prospect > p { color: rgba(255,255,255,.8); }
.path__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; position: relative; }
.path__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.path--client .path__list li { color: var(--navy); }
.path--prospect .path__list li { color: #fff; }
.path--prospect .path__list .i-success { color: #fff; }
.path__list-item--highlight {
  background: linear-gradient(90deg, rgba(0,170,248,.10), rgba(0,170,248,.02));
  border: 1px solid rgba(0,170,248,.25);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  margin: 2px -10px;
  font-weight: 700;
}
.path--client .path__list-item--highlight { color: var(--blue-600); }
.path__list-item--highlight .i-accent { color: var(--blue-500); }
.path .btn { margin-top: auto; position: relative; }
.path--client .btn { background: var(--blue-500); color: #fff; border: none; }
.path--client .btn:hover { background: var(--blue-600); transform: translateY(-2px); }

/* ---------- Ecosistema IA ---------- */
.eco-decide { width: 100%; margin: 0 auto; }
.eco-hub { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eco-hub__circle { position: relative; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--blue-500); box-shadow: var(--shadow-blue); animation: hubPulse 2.4s ease-in-out infinite; }
.eco-hub__pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: var(--blue-500); padding: 8px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-blue); }
.eco-flow-svg { width: 100%; height: 96px; display: block; margin-top: 2px; }
.eco-note-box { max-width: 1100px; margin: 28px auto 0; display: flex; align-items: flex-start; gap: 13px; border: 1px solid #A9D3FF; border-radius: var(--radius-lg); padding: 16px 22px; }
.eco-note-box__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; flex: none; box-shadow: var(--shadow-sm); }
.eco-note-box p { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); margin: 0; }
.eco-note-box strong { color: var(--navy); }
.eco-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 2px; }
.eco-paty { margin-top: 16px; background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-xl); padding: 20px 26px 20px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; box-shadow: var(--shadow-sm); }
.eco-paty__avatar { position: relative; flex: none; width: 92px; height: 92px; display: flex; align-items: flex-end; justify-content: center; }
.eco-paty__avatar-img { width: 92px; height: 92px; border-radius: 50%; background: var(--blue-pale); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.eco-paty__avatar-img img { width: 86px; height: 86px; object-fit: contain; object-position: bottom; }
.eco-paty__badge { position: absolute; z-index: 2; bottom: -4px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; color: #fff; background: var(--gradient-brand); padding: 3px 10px; border-radius: var(--radius-pill); box-shadow: var(--shadow-blue); white-space: nowrap; }
.eco-paty__body { flex: 1; min-width: 240px; }
.eco-paty__title { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.eco-paty__title h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); margin: 0; }
.eco-paty__title span { font-size: 12px; color: var(--blue-600); font-weight: 600; background: var(--blue-pale); padding: 3px 10px; border-radius: var(--radius-pill); }
.eco-paty__body p { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); margin: 0; }
.eco-paty__body strong { color: var(--navy); }
.eco-card { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px 20px 22px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s, box-shadow .2s; }
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.eco-card__num { position: absolute; top: 14px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-500); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.eco-card__icon { width: 52px; height: 52px; border-radius: 14px; background: #eaf4ff; display: flex; align-items: center; justify-content: center; margin: 4px auto 14px; }
.eco-card__icon--green { background: rgba(33,115,70,.12); }
.eco-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--navy); margin: 0 0 6px; }
.eco-card p { font-size: 13.5px; line-height: 1.5; color: var(--gray-700); margin: 0; }
.eco-card--ia { background: linear-gradient(160deg,#EEF7FF,#fff); border: 1.5px solid var(--blue-pale); }
.eco-card--ia p strong { color: var(--blue-600); }
.eco-card__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .04em; color: #fff; background: var(--gradient-brand); padding: 4px 9px; border-radius: var(--radius-pill); }
.eco-card__icon--ia { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-brand); box-shadow: var(--shadow-blue); display: flex; align-items: center; justify-content: center; margin: 4px auto 14px; animation: hubPulse 2.4s ease-in-out infinite .8s; }
.star-icon {
  display: inline-block; width: 40px; height: 40px; flex: none; background-color: var(--blue-700);
  -webkit-mask-image: url('../img/estrellas.png'); mask-image: url('../img/estrellas.png');
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
@media (prefers-reduced-motion: reduce) { .eco-hub__circle, .eco-card__icon--ia { animation: none !important; } }
@media (max-width: 900px) {
  .eco-flow-svg { display: none; }
  .eco-hub { margin-bottom: 28px; }
  .eco-hub__circle { width: 56px; height: 56px; }
  .eco-hub__circle .ic { width: 26px; height: 26px; }
  .eco-hub__pill { font-size: 12px; padding: 6px 14px; gap: 6px; }
  .eco-hub__pill .ic { width: 13px; height: 13px; }
}

/* Slider en tablet/móvil (<=768px): una tarjeta por vez, con flechas.
   Va después de las reglas base de .pillars/.modules/.eco-cards (misma
   especificidad) para que este display:flex gane sobre su display:grid. */
@media (max-width: 768px) {
  .pillars, .modules, .eco-cards {
    display: flex; flex-wrap: nowrap;
    transition: transform .35s ease; gap: 0;
  }
  .pillar, .module, .eco-card { min-width: 100%; flex-shrink: 0; }

  /* Tarjeta más compacta dentro del slider: letra, caja e íconos más chicos */
  .pillar, .module { padding: 18px 16px; }
  .eco-card { padding: 18px 16px 16px; }
  .pillar__icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .module__icon { width: 34px; height: 34px; }
  .eco-card__icon, .eco-card__icon--ia { width: 40px; height: 40px; margin: 2px auto 10px; }
  .pillar h3, .module h3 { font-size: 14px; margin-bottom: 5px; }
  .eco-card h3 { font-size: 14.5px; margin-bottom: 4px; }
  .pillar p, .module p { font-size: 13px; line-height: 1.45; }
  .eco-card p { font-size: 12.5px; }
}

/* ---------- Pioneros ---------- */
.pioneers { background: var(--gradient-deep); position: relative; overflow: hidden; }
.pioneers__inner { padding: 60px 0; text-align: center; position: relative; }
.pioneers::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 40%); }
.pioneers h2 { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.2; color: #fff; margin: 14px 0 8px; }
.pioneers p { font-size: 17px; color: rgba(255,255,255,.85); }
.pion-word {
  display: inline-block; color: #7FD4FF;
}
.pion-h { opacity: 0; }
.pion-h.is-in { animation: pionReveal 1.5s cubic-bezier(.2,.7,.2,1) both; }
.pion-sub { opacity: 0; }
.pion-sub.is-in { animation: pionRise 1s ease .35s both; }
@media (prefers-reduced-motion: reduce) {
  .pion-h, .pion-sub { animation: none; opacity: 1; }
  .pion-word { animation: none; box-shadow: none; }
}

/* ---------- Sección formulario ---------- */
.container-90 { width:90%; max-width:1400px; margin:0 auto }
.form-section-dark { padding:80px 0 100px; background:#0A2540; color:#fff; position:relative; overflow:hidden }
.form-section-dark::after { content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px; background:rgba(0,170,248,.10); border-radius:50%; pointer-events:none }
.form-flex-container { display:flex; align-items:center; gap:80px; position:relative; z-index:1 }
.form-content-left { flex:1.2 }
.form-pre-title { display:block; font-size:14px; font-weight:700; color:rgba(255,255,255,.5); margin-bottom:20px; letter-spacing:2px; text-transform:uppercase }
.form-main-title { font-family:var(--font-display); font-size:40px; font-weight:800; line-height:1.1; margin-bottom:25px; color:#fff }
.form-main-title .highlight-blue { color:var(--blue) }
.form-description { font-size:17px; color:rgba(255,255,255,.7); margin-bottom:40px; line-height:1.6 }
.form-benefits-list { list-style:none; padding:0; margin:0 }
.form-benefits-list li { display:flex; align-items:center; gap:14px; font-size:17px; font-weight:600; margin-bottom:18px; color:rgba(255,255,255,.9) }
.form-check-icon { width:20px; height:20px; color:var(--blue); flex-shrink:0 }
.form-card-right { flex:1; display:flex; justify-content:flex-end }
.countdown__form { width:560px; background:#fff; border-radius:24px; padding:36px 40px; box-shadow:0 30px 60px rgba(0,0,0,.3); color:var(--navy) }
.title_form { display:block; font-family:var(--font-display); font-size:24px; font-weight:700; margin-bottom:20px; color:var(--blue); text-align:center }
/* Pestañas "Ya soy cliente" / "Aún no lo tengo" arriba del formulario */
.form-tabs { display: flex; justify-content: center; gap: 4px; background: var(--gray-100); border-radius: var(--radius-pill); padding: 4px; margin: 0 auto 20px; width: fit-content; }
.form-tab { border: none; background: transparent; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: var(--radius-pill); color: var(--gray-700); transition: background .18s ease, color .18s ease; white-space: nowrap; }
.form-tab:hover { color: var(--navy); }
.form-tab.is-active { background: var(--navy); color: #fff; }
/* El iframe (IFrameFormulario2020) es de otro origen y trae su propio
   bloque de título en blanco arriba de los campos; como no podemos tocar
   su contenido, recortamos apenas ese espacio subiendo el iframe un poco.
   A propósito dejamos overflow-y:auto (no hidden) y una caja generosa:
   preferimos que quede algo de espacio en blanco arriba (o un scroll
   interno) antes que cortar los checkboxes/botón del final del formulario. */
.iframe-crop { position: relative; overflow-y: auto; overflow-x: hidden; height: 485px; border-radius: inherit; }
.iframe-crop::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; z-index: 1;
  background: linear-gradient(#fff, rgba(255,255,255,0)); pointer-events: none;
}
.iframe-crop iframe { width: 100%; height: 600px; margin-top: -115px; border: none; display: block; }

/* ---------- Modal formulario flotante ---------- */
.form-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.form-modal.is-open { display: flex; }
.form-modal__overlay { position: absolute; inset: 0; background: rgba(10,14,30,.65); backdrop-filter: blur(2px); }
.form-modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: var(--radius-xl); padding: 36px 32px 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); color: var(--navy); }
.form-modal__close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: none; border-radius: 50%; background: var(--gray-100); color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.form-modal__close:hover { background: var(--gray-200); }
body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .form-modal { padding: 12px; }
  .form-modal__dialog { padding: 30px 20px 20px; border-radius: var(--radius-lg); }
}
@media (max-width: 480px) {
  .form-tabs { flex-wrap: wrap; }
  .form-tab { font-size: 12.5px; padding: 8px 14px; }
}

/* ---------- Footer ---------- */
.site-footer { position:fixed; left:0; bottom:0; width:100%; background:#000; color:#fff; text-align:center; padding:14px 20px; z-index:1000 }
.site-footer__content { max-width:1200px; margin:0 auto; padding:0 12px; font-size:14px }

/* ---------- Animaciones ---------- */
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes thpulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes thsweep { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pionPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,170,248,.6); }
  70% { box-shadow: 0 0 0 16px rgba(0,170,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,170,248,0); }
}
@keyframes pionReveal { from { clip-path: inset(0 100% 0 0); filter: blur(7px); opacity: .15; letter-spacing: .06em; } to { clip-path: inset(0 0 0 0); filter: blur(0); opacity: 1; letter-spacing: normal; } }
@keyframes pionRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ejspin { to { transform: rotate(360deg); } }
@keyframes hubPulse { 0%,100% { box-shadow: var(--shadow-blue),0 0 0 0 rgba(0,170,248,.45); } 50% { box-shadow: var(--shadow-blue),0 0 0 12px rgba(0,170,248,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 425px) {
  .chat { font-size: 12px; }
  .chat__bar { height: 32px; padding: 0 0 0 10px; }
  .chat__title { font-size: 11px; gap: 5px; }
  .chat-toast { font-size: 10px; padding: 4px 9px; }
  .win-btn { width: 34px; height: 32px; font-size: 13px; }
  .chat__body { padding: 14px 12px; height: 220px; gap: 12px; }
  .bubble-user { font-size: 12px; padding: 8px 11px; }
  .ans__avatar { width: 22px; height: 22px; }
  .ans__title { font-size: 12px; margin-bottom: 6px; }
  .ans__row .label { font-size: 11px; }
  .ans__row .value { font-size: 12px; }
  .ans__foot { font-size: 10px; margin-top: 6px; }
  .ans__row { padding: 5px 0; }
  .chat__input { padding: 9px 12px; }
  .chat__input span:first-child { font-size: 12px; }
  .chat__send { width: 26px; height: 26px; }
}
@media (max-width: 375px) {
  .chat__bar { height: 28px; padding: 0 0 0 8px; }
  .chat__title { font-size: 10px; gap: 4px; }
  .chat-toast { font-size: 9px; padding: 3px 8px; }
  .win-btn { width: 28px; height: 28px; font-size: 12px; }
  .chat__body { padding: 10px 10px; height: 180px; gap: 10px; }
  .bubble-user { font-size: 11px; padding: 7px 10px; border-radius: 14px 14px 3px 14px; }
  .ans__avatar { width: 18px; height: 18px; }
  .ans__content { gap: 0; }
  .ans__title { font-size: 11px; margin-bottom: 4px; }
  .ans__row { padding: 4px 0; }
  .ans__row .label { font-size: 10px; }
  .ans__row .value { font-size: 11px; }
  .ans__foot { font-size: 9px; margin-top: 4px; }
  .chat__input { padding: 7px 10px; }
  .chat__input span:first-child { font-size: 11px; }
  .chat__send { width: 24px; height: 24px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero__title { font-size: 38px; }
  .band-trust__grid, .places, .pillars, .modules, .eco-cards { grid-template-columns: 1fr 1fr; }
  .examples { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .form-flex-container { flex-direction:column; gap:40px; }
  .form-card-right { justify-content:center; width:100%; }
  .countdown__form { width:100%; max-width:480px; }
  .form-main-title { font-size:30px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .band-trust__grid, .places { grid-template-columns: 1fr; }
  .hero__title { font-size: 32px; }
  .h2 { font-size: 28px; }
}


@media (max-width: 1420px){
  .hero__title{
    font-size: 36px;
  }

  .hero__desc, .lead, .pioneers p, .form-description, .form-benefits-list li{
    font-size: 14px;
  }

  .hero__trust span{
    font-size: 10px;
  }

  .tb-num{
    font-size: 15px;
  }

  .tb-label{
    font-size: 9px;
  }

  .h2, .form-main-title{
    font-size: 32px;
  }

  .path h3{
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr; gap: 36px;
    text-align: center;
  }
  .hero__grid > div:first-child { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
  }
  .hero__desc { 
    margin-left: auto; 
    margin-right: auto; 
  }
  .hero__ctas {
    justify-content: center;
  }
  .hero__trust { 
    justify-content: center; 
  }
  .chat-wrap { 
    order: 2; 
    max-width: 520px; 
    margin: 0 auto; 
    width: 100%; 
  }
  .hero__title{
    font-size: 38px;
  }
  .hero__desc{
    font-size: 12px;
  }
  .btn{
    font-size: 12px;
  }
  /* Alto fijo en móvil/tablet: evita que la pantalla salte mientras cicla el contenido */
  .chat__body { height: 340px; overflow-y: auto; }
}

@media (max-width: 768px) {
  .badge-pill{
    font-size: 7px;
  }
  .hero__trust span{
    font-size: 10px;
  }
  .hero__ctas .btn--white {
    font-size: 9px;
  }
  .h2{
    font-size: 30px;
  }
  .lead{
    font-size: 16px;
  }
}

@media (max-width: 425px) {
  .hero__title{
    font-size: 32px;
  }
  .hero__trust span {
        font-size: 7px;
    }
  .h2, .pioneers h2, .h3-sm {
        font-size: 21px;
  }
  .lead {
        font-size: 14px;
        width: 100%;
        margin: 14px auto;
  }

  .eco-paty__body p, .eco-note-box p{
    font-size: 14px;
  }
  .title_form{
    font-size: 18px;
  }
  .btn-header{
    font-size: 10px !important;
  }
  .brand img{
    height: 38px;
  }
  .eco-card, .module, .pillar{
    width: 40%;
  }

  .iframe-crop iframe {
      height: 650px;
      margin-top: -105px;
  }

  .eco-note-box__ico, .ej-trust__icon{
    display: none;
  }
  
}

@media (max-width: 375px) {
  
  .btn-header{
    font-size: 7px !important;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .8s ease-out, transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal-on-scroll.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}