/* =========================================================
   Velmatix — Sistema de diseño
   ========================================================= */
:root {
  --bg: #0b1020;
  --bg-2: #172036;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f8fc;
  --text-soft: #dde1ee;   /* cuerpo de texto sobre tarjetas */
  --muted: #c3c8dc;       /* texto secundario: contraste alto sobre fondo oscuro */
  --violet: #8b6cff;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #8b6cff 0%, #5b8cff 50%, #22d3ee 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --violet-soft: #b9a8ff;
  --grad-btn: linear-gradient(120deg, #5b3df5 0%, #3550d6 100%);
  --blue: #5b8cff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { --container: 820px; }

.accent { color: var(--violet-soft); }
.accent--cyan { color: #5fe3f5; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--cyan);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 250ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(3px); } }
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 108, 255, 0.7);
}
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.6); } }
.btn--primary:active { transform: scale(0.97); }
.btn--ghost { border-color: var(--border-strong); background: var(--surface); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; }
.logo__text { font: 700 20px/1 var(--font-head); letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav__links a:not(.btn) { position: relative; transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(139,108,255,.28), transparent 60%);
  filter: blur(40px); pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
@keyframes drift { to { transform: translate(-12%, 18%) scale(1.15); } }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.1; margin: 20px 0 18px; }
#rotator { display: inline-block; min-height: 1.1em; white-space: nowrap; transition: opacity .4s, transform .4s var(--ease), filter .4s; }
#rotator.is-out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.hero__sub { font-size: clamp(16px, 1.3vw, 17px); color: var(--muted); max-width: 520px; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--cyan); }

/* Demo card */
.hero__demo { position: relative; }
.demo-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 22, 38, .92), rgba(12, 13, 24, .92));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 1px rgba(139,108,255,.08), 0 0 80px -20px rgba(139,108,255,.4);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.demo-card__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.avatar svg { width: 20px; height: 20px; }
.demo-card__name { font-weight: 600; font-size: 15px; }
.demo-card__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.demo-card__body { height: 360px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg {
  max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(.98);
  animation: msgIn .45s var(--ease) forwards;
}
.msg--user { align-self: flex-end; background: #1f6f5c; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(16, 18, 32, .9); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(12px) scale(.95);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.float-card.is-visible { opacity: 1; transform: none; animation: float 5s ease-in-out infinite; }
.float-card__icon { font-size: 20px; }
.float-card__title { font-weight: 600; font-size: 14px; }
.float-card__meta { font-size: 12px; color: var(--muted); }
.float-card--a { left: -36px; top: 22%; }
.float-card--b { right: -28px; bottom: 14%; animation-delay: 1.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Marquee ---------- */
.marquee { padding: 36px 0 20px; border-block: 1px solid var(--border); background: var(--bg-2); }
.marquee__label { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.marquee__track {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; flex-shrink: 0; gap: 56px; padding-right: 56px; animation: marquee 38s linear infinite; }
.marquee__row span { font: 600 18px/1 var(--font-head); color: rgba(236,238,246,.42); white-space: nowrap; padding: 8px 0; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), #131a2e); border-block: 1px solid rgba(139,108,255,.14); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 18px 0 16px; }
.section__head p { color: var(--muted); font-size: 18px; }

/* Stats */
.stats { padding: 72px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px; border: 1px solid rgba(139,108,255,.25); border-radius: var(--radius); background: linear-gradient(160deg, rgba(139,108,255,.11), rgba(34,211,238,.03) 60%); text-align: center; }
.stat__num { font: 700 clamp(34px, 4vw, 46px)/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --accent: 139,108,255;
  position: relative; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--accent),.13), rgba(var(--accent),.04) 45%, rgba(255,255,255,.025));
  border: 1px solid rgba(var(--accent),.28);
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139,108,255,.16), transparent 45%);
}
.cards .card:nth-child(3n+2) { --accent: 91,140,255; }
.cards .card:nth-child(3n+3) { --accent: 34,211,238; }
.card::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent),.9), transparent);
}
.card:hover { transform: translateY(-4px); border-color: rgba(var(--accent),.55); box-shadow: 0 20px 50px -24px rgba(var(--accent),.55); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(var(--accent),.35), rgba(var(--accent),.12));
  border: 1px solid rgba(var(--accent),.5);
  box-shadow: 0 8px 24px -10px rgba(var(--accent),.7);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: #ffffff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.card p { color: var(--text-soft); font-size: 15px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card__tags li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(var(--accent, 139,108,255),.16); color: #eef0fa; border: 1px solid rgba(var(--accent, 139,108,255),.38); }
.card--featured { background: linear-gradient(160deg, rgba(139,108,255,.24), rgba(34,211,238,.10)); border-color: rgba(139,108,255,.5); }
.card__link { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--cyan); }

/* Tarjeta destacada: conciliación para Siigo */
.spotlight {
  position: relative; display: grid; grid-template-columns: 55fr 45fr; gap: 48px; align-items: center;
  padding: 44px; margin-bottom: 56px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, rgba(139,108,255,.14), rgba(34,211,238,.05) 60%, var(--surface));
  border: 1px solid rgba(139,108,255,.38);
  box-shadow: var(--shadow), 0 0 80px -30px rgba(139,108,255,.45);
}
.spotlight::before {
  content: ""; position: absolute; right: -15%; top: -40%; width: 60%; height: 140%; z-index: -1;
  background: radial-gradient(closest-side, rgba(34,211,238,.12), transparent); pointer-events: none;
}
.spotlight__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(139,108,255,.16); border: 1px solid rgba(139,108,255,.4);
  color: #d6ccff; font-size: 13px; font-weight: 600;
}
.spotlight__title { font-size: clamp(26px, 3vw, 36px); margin: 18px 0 14px; }
.spotlight__desc { color: var(--text-soft); font-size: 16px; }
.spotlight__points { display: grid; gap: 10px; margin-top: 22px; }
.spotlight__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #eef0fa; }
.spotlight__points svg {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%;
  background: rgba(34,211,238,.14); fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.spotlight__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Mini mockup del flujo (misma familia que el chat del hero) */
.spotlight__flow { display: grid; gap: 0; }
.flow-chat, .flow-board {
  border-radius: 18px; border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(20,22,38,.92), rgba(12,13,24,.92));
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.flow-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.flow-chat__avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #1f6f5c; font: 700 12px/1 var(--font-head); }
.flow-chat__name { font-size: 14px; font-weight: 600; }
.flow-chat__meta { font-size: 12px; color: var(--muted); }
.flow-bubble {
  margin: 14px; max-width: 86%; padding: 10px; border-radius: 16px; border-bottom-left-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; line-height: 1.45;
}
.flow-bubble > p { padding: 8px 4px 2px; }
.flow-receipt { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; background: #f3f5fa; color: #0b0d18; }
.flow-receipt__ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; flex-shrink: 0; }
.flow-receipt__ok svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.flow-receipt__title { font-size: 11px; color: #4b5266; font-weight: 600; }
.flow-receipt__amount { font: 700 16px/1.2 var(--font-head); }
.flow-receipt__line { display: block; width: 110px; height: 5px; margin-top: 5px; border-radius: 3px; background: #d7dbe6; }
.flow-receipt__line--short { width: 70px; }
.flow-link { display: flex; flex-direction: column; align-items: center; padding: 4px 0; }
.flow-link__line { width: 2px; height: 16px; background: linear-gradient(var(--violet), var(--cyan)); }
.flow-link__pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #d6f6fb; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.4); }
.flow-board { padding: 14px; }
.flow-board__title { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 4px 10px; }
.flow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--border); }
.flow-row + .flow-row { margin-top: 8px; }
.flow-row__id { font-size: 13px; font-weight: 600; }
.flow-row__amount { font-size: 13px; color: var(--muted); }
.status { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status--ok { color: #6ee7b7; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.4); }
.status--warn { color: #fcd34d; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.4); }

/* Entrada escalonada del flujo (se desactiva con prefers-reduced-motion) */
.spotlight .flow-chat, .spotlight .flow-link, .spotlight .flow-row { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.spotlight.is-in .flow-chat { opacity: 1; transform: none; transition-delay: .25s; }
.spotlight.is-in .flow-link { opacity: 1; transform: none; transition-delay: .55s; }
.spotlight.is-in .flow-row { opacity: 1; transform: none; transition-delay: .8s; }
.spotlight.is-in .flow-row + .flow-row { transition-delay: 1s; }

.cards__subtitle { font-size: clamp(20px, 2.2vw, 26px); text-align: center; margin: 0 0 28px; }

.marquee__link { font: 600 18px/1 var(--font-head); color: rgba(236,238,246,.42); white-space: nowrap; padding: 8px 0; transition: color .2s; }
.marquee__link:hover, .marquee__link:focus-visible { color: var(--cyan); }
.btn:focus-visible, .marquee__link:focus-visible, .tab:focus-visible, .faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Timeline */
.timeline { position: relative; }
.timeline__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline__line { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--border); border-radius: 2px; }
.timeline__progress { height: 100%; width: 0; background: var(--grad); border-radius: inherit; box-shadow: 0 0 16px rgba(34,211,238,.6); transition: width .2s linear; }
.step { position: relative; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border-strong);
  font: 700 16px/1 var(--font-head); margin-bottom: 22px;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.step.is-active .step__num { background: var(--grad); border-color: transparent; box-shadow: 0 0 30px -4px rgba(139,108,255,.8); }
.step h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.step p { color: var(--text-soft); font-size: 15px; }
.step__time { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--cyan); }

/* Tabs */
.sectors { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; max-width: 1080px; margin: 0 auto; }
.sectors__label { margin: 0 0 12px 4px; font-size: 15px; font-weight: 600; color: #fff; }
.tabs__list { display: grid; gap: 10px; }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left;
  border-radius: 16px; border: 1.5px solid rgba(139,108,255,.38); background: rgba(139,108,255,.08);
  color: #fff; font: 600 16px/1.2 var(--font-head); cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.tab:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .tab:hover { border-color: rgba(139,108,255,.75); background: rgba(139,108,255,.16); } }
.tab__icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: rgba(139,108,255,.22); border: 1px solid rgba(139,108,255,.5); }
.tab__icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab__name { flex: 1; }
.tab__chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
.tab.is-active { background: var(--grad-btn); border-color: transparent; box-shadow: 0 14px 34px -14px rgba(91,61,245,.9); }
.tab.is-active .tab__icon { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.tab.is-active .tab__chev { opacity: 1; transform: translateX(3px); }
.tabs__panel {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-content: start;
  padding: 36px; border-radius: 24px; border: 1px solid rgba(139,108,255,.3);
  background: linear-gradient(160deg, rgba(139,108,255,.14), rgba(34,211,238,.04) 60%, var(--surface));
  min-height: 100%;
}
.tabs__panel.is-switching > * { animation: fadeUp 300ms var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__title { font-size: 28px; margin-bottom: 12px; }
.panel__lead { color: var(--muted); }
.panel__list { display: grid; gap: 12px; }
.panel__list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(0,0,0,.2); border: 1px solid var(--border);
}
.panel__list b { display: block; font-weight: 600; margin-bottom: 2px; }
.panel__list span { color: var(--text-soft); font-size: 14px; }
.panel__list b { color: #fff; }
.panel__list .ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-btn); display: grid; place-items: center; font-size: 14px; }

/* ROI */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.roi__copy h2 { font-size: clamp(32px, 4vw, 46px); margin: 18px 0 16px; }
.roi__copy p { color: var(--muted); font-size: 17px; }
.roi__note { margin-top: 18px; font-size: 13px !important; opacity: .75; }
.roi__panel { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #c8cbe0; font-weight: 500; }
.field output { font-weight: 700; color: var(--text); font-family: var(--font-head); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--violet), var(--cyan)) 0 / var(--fill, 50%) 100% no-repeat, rgba(255,255,255,.1);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--violet); box-shadow: 0 0 0 6px rgba(139,108,255,.2);
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--violet); }
.roi__result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 0; margin: 8px 0 22px; border-top: 1px solid var(--border); }
.roi__label { color: var(--muted); font-size: 13px; }
.roi__value { font: 700 clamp(24px, 3vw, 32px)/1.2 var(--font-head); margin-top: 6px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why__item { padding: 32px; border-radius: var(--radius); border: 1px solid rgba(139,108,255,.25); background: linear-gradient(160deg, rgba(139,108,255,.11), rgba(34,211,238,.03) 60%); position: relative; overflow: hidden; }
.why__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: rgba(139,108,255,.18); border: 1px solid rgba(139,108,255,.45); }
.why__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.why__item p { color: var(--text-soft); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(139,108,255,.4); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 600 17px/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--font-body); color: var(--cyan); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--text-soft); }

/* CTA / Form */
.cta { overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 60%); pointer-events: none;
}
.cta__grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.cta__copy h2 { font-size: clamp(34px, 4.5vw, 54px); margin-bottom: 18px; }
.cta__copy p { color: var(--muted); font-size: 18px; }
.cta__list { margin-top: 26px; display: grid; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 10px; }
.cta__list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(34,211,238,.15); color: var(--cyan); font-size: 12px; font-weight: 700; }
.form { padding: 32px; border-radius: 24px; background: rgba(14, 16, 28, .8); border: 1px solid var(--border-strong); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(0,0,0,.25); color: var(--text); font: 400 15px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,108,255,.18); }
.form input.is-invalid { border-color: #f87171; }
.form__msg { margin-top: 14px; font-size: 14px; text-align: center; min-height: 1.4em; }
.form__msg.ok { color: #34d399; }
.form__msg.err { color: #f87171; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.footer__tag { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; opacity: .7; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animación de entrada ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__demo { max-width: 480px; margin: 0 auto; width: 100%; }
  .float-card--a { left: -12px; }
  .float-card--b { right: -8px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .roi, .cta__grid { grid-template-columns: 1fr; }
  .tabs__panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: rgba(11, 16, 32, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .4s var(--ease); font-size: 17px;
  }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open { background: rgba(11, 16, 32, .97); }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; }
  .nav__toggle {
    display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .timeline__steps { grid-template-columns: 1fr; gap: 36px; padding-left: 80px; }
  .timeline__line { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .timeline__progress { width: 100% !important; height: var(--h, 0%); transition: height .2s linear; }
  .step__num { position: absolute; left: -80px; top: -6px; margin: 0; }

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

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .demo-card__body { height: 320px; }
  .float-card { padding: 10px 12px; }
  .float-card--a { left: -4px; top: 18%; }
  .float-card--b { right: -4px; }
  .tabs__panel, .roi__panel, .form { padding: 24px; }
  .roi__result { grid-template-columns: 1fr; }
  .btn--lg { white-space: normal; text-align: center; }
}

@media (max-width: 1023px) {
  .spotlight { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px; }
}
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__flow { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 767px) {
  .spotlight { padding: 24px; margin-bottom: 44px; }
  .spotlight__ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .flow-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight .flow-chat, .spotlight .flow-link, .spotlight .flow-row { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* =========================================================
   Capa de rediseño (Impeccable · Emil Kowalski · Taste)
   ========================================================= */

/* Superficies del navegador con la paleta de marca */
::selection { background: rgba(139,108,255,.45); color: #fff; }
html { scrollbar-color: #3a3361 var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2750; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #4a3f8a; }
input, textarea { caret-color: var(--cyan); }
input[type="range"] { accent-color: var(--violet); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.footer__links a, .nav__links a:not(.btn) { text-underline-offset: 4px; }

/* Encabezados de sección: sin etiqueta, el título habla solo */
.section__head h2 { margin-top: 0; }
.section__head { margin-bottom: 64px; }

/* Entrada única del hero al cargar (desde casi visible, ease-out) */
[data-enter] { animation: enter 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

/* Íconos de las tarjetas flotantes del hero */
.float-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(139,108,255,.22); border: 1px solid rgba(139,108,255,.5); }
.float-card__icon--cyan { background: rgba(34,211,238,.16); border-color: rgba(34,211,238,.5); }
.float-card__icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Bento de soluciones ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  --accent: 139,108,255;
  position: relative; display: flex; flex-direction: column; grid-column: span 2;
  padding: 28px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, rgba(var(--accent),.16), rgba(var(--accent),.04) 50%, rgba(255,255,255,.02));
  border: 1px solid rgba(var(--accent),.3);
  box-shadow: 0 24px 60px -36px rgba(var(--accent),.55);
  transition: transform 250ms var(--ease-out), border-color 250ms ease, box-shadow 250ms var(--ease-out);
}
.tile[data-accent="blue"] { --accent: 91,140,255; }
.tile[data-accent="cyan"] { --accent: 34,211,238; }
.tile::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent),1), transparent); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent),.22), transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-2px); border-color: rgba(var(--accent),.6); box-shadow: 0 30px 70px -34px rgba(var(--accent),.75); }
  .tile:hover::before { opacity: 1; }
}
.tile__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(var(--accent),.4), rgba(var(--accent),.14)); border: 1px solid rgba(var(--accent),.55);
  box-shadow: 0 10px 26px -12px rgba(var(--accent),.9); }
.tile__icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 20px; color: #fff; margin-bottom: 10px; }
.tile p { color: var(--text-soft); font-size: 15px; }
.tile .card__tags li { background: rgba(var(--accent),.16); border-color: rgba(var(--accent),.38); }
.tile__visual { margin-top: auto; padding-top: 24px; }

.tile--wide { grid-column: span 4; flex-direction: row; gap: 32px; align-items: stretch; }
.tile--wide .tile__copy { flex: 1 1 52%; display: flex; flex-direction: column; }
.tile--wide .tile__visual { flex: 1 1 48%; margin-top: 0; padding-top: 0; }
.tile--cta { grid-column: span 6; flex-direction: row; align-items: center; gap: 24px; padding: 28px 32px; }
.tile--cta .tile__icon { margin-bottom: 0; flex-shrink: 0; }
.tile--cta .tile__copy { flex: 1; }
.tile--cta h3 { margin-bottom: 4px; }

/* Mini demo: chat */
.viz-chat { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(5,6,14,.55); border: 1px solid var(--border-strong); }
.vc { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; color: #fff; }
.vc--in { align-self: flex-start; background: rgba(255,255,255,.08); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.vc--out { align-self: flex-end; background: #1f6f5c; border-bottom-right-radius: 4px; }
.vc-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #6ee7b7; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.4); }
.vc-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Mini demo: documento */
.viz-doc { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.vd-page { position: relative; height: 104px; padding: 14px 10px; border-radius: 10px; background: #f3f5fa; overflow: hidden; display: grid; gap: 8px; align-content: start; }
.vd-page span { height: 5px; border-radius: 3px; background: #cfd5e4; }
.vd-page span.short { width: 60%; }
.vd-scan { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, transparent, rgba(91,140,255,.45), transparent); opacity: 0; }
.vd-fields { display: grid; gap: 6px; }
.vd-fields span { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: #fff; background: rgba(91,140,255,.14); border: 1px solid rgba(91,140,255,.35); }
.vd-fields b { color: #c9d6ff; font-weight: 500; }

/* Mini demo: búsqueda */
.viz-search { display: grid; gap: 10px; }
.vs-query { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; background: rgba(5,6,14,.55); border: 1px solid rgba(34,211,238,.4); font-size: 13px; color: #fff; overflow: hidden; }
.vs-query svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
.vs-type { white-space: nowrap; overflow: hidden; border-right: 2px solid var(--cyan); }
.vs-answer { padding: 10px 12px; border-radius: 12px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.28); }
.vs-answer p { color: #fff; font-size: 13px; }
.vs-source { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #a5f3fc; background: rgba(34,211,238,.14); }

/* Mini demo: embudo comercial */
.viz-pipe { display: grid; gap: 8px; }
.vp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vp-cols span { padding: 5px 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #d6ccff; border-radius: 8px; background: rgba(139,108,255,.12); border: 1px dashed rgba(139,108,255,.4); }
.vp-track { position: relative; height: 38px; border-radius: 10px; background: rgba(5,6,14,.5); border: 1px solid var(--border); }
.vp-deal { position: absolute; top: 5px; left: 5px; width: calc(33.33% - 10px); height: 26px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; color: #fff; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 6px 16px -6px rgba(139,108,255,.9); white-space: nowrap; overflow: hidden; }

/* Mini demo: barras */
.viz-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 14px; border-radius: 14px; background: rgba(5,6,14,.5); border: 1px solid var(--border); }
.viz-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8fb0ff, var(--blue)); transform-origin: bottom; }
.viz-bars i:last-child { background: linear-gradient(180deg, #67e8f9, var(--cyan)); box-shadow: 0 0 18px -4px rgba(34,211,238,.8); }

/* Mini demos: se reproducen una sola vez al entrar en pantalla y se quedan completas */
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.js-motion .tile[data-live]:not(.is-live) :is(.vc:nth-child(n+2), .vc-chip, .vd-fields span, .vs-answer) { opacity: 0; }
.js-motion .tile[data-live]:not(.is-live) .viz-bars i { transform: scaleY(.12); }
.js-motion .tile[data-live]:not(.is-live) .vs-type { max-width: 0; }
.js-motion .tile[data-live]:not(.is-live) .vp-deal { left: 5px; }
.tile.is-live .vc:nth-child(2) { animation: pop 450ms var(--ease-out) 600ms both; }
.tile.is-live .vc:nth-child(3) { animation: pop 450ms var(--ease-out) 1500ms both; }
.tile.is-live .vc-chip { animation: pop 450ms var(--ease-out) 2300ms both; }
.tile.is-live .vd-scan { animation: scan 1.4s var(--ease-in-out) 200ms both; }
.tile.is-live .vd-fields span { animation: pop 400ms var(--ease-out) 900ms both; }
.tile.is-live .vd-fields span:nth-child(2) { animation-delay: 1150ms; }
.tile.is-live .vd-fields span:nth-child(3) { animation-delay: 1400ms; }
@keyframes scan { 0% { top: -26px; opacity: 0; } 15% { opacity: 1; } 85% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.tile.is-live .vs-type { animation: typing 1.3s steps(26) 300ms both, caret .7s step-end 2.2s 3 both; }
.tile.is-live .vs-answer { animation: pop 450ms var(--ease-out) 1800ms both; }
@keyframes typing { from { max-width: 0; } to { max-width: 26ch; } }
@keyframes caret { 50% { border-color: transparent; } 100% { border-color: transparent; } }
.tile.is-live .vp-deal { animation: deal 2.6s var(--ease-in-out) 400ms both; }
@keyframes deal { 0% { left: 5px; } 35%, 55% { left: calc(33.33% + 2px); } 100% { left: calc(66.66% - 1px); background: linear-gradient(135deg, #16a34a, #22c55e); } }
.tile.is-live .viz-bars i { animation: bar 800ms var(--ease-out) both; }
.tile.is-live .viz-bars i:nth-child(2) { animation-delay: 70ms; } .tile.is-live .viz-bars i:nth-child(3) { animation-delay: 140ms; }
.tile.is-live .viz-bars i:nth-child(4) { animation-delay: 210ms; } .tile.is-live .viz-bars i:nth-child(5) { animation-delay: 280ms; }
.tile.is-live .viz-bars i:nth-child(6) { animation-delay: 350ms; }
@keyframes bar { from { transform: scaleY(.12); } }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide { grid-column: span 1; }
  .tile--wide { grid-column: span 2; }
  .tile--cta { grid-column: span 2; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--cta { grid-column: span 1; }
  .tile--wide { flex-direction: column; gap: 22px; }
  .tile--wide .tile__visual { flex: none; }
  .viz-chat { min-height: 210px; }
  .tile--cta { flex-direction: column; align-items: flex-start; }
  .tile--cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-enter] { animation: none; }
  .tile .vc, .tile .vc-chip, .tile .vs-answer, .tile .vd-fields span { opacity: 1 !important; transform: none !important; }
  .tile .vs-type { max-width: none; }
  .tile .viz-bars i { transform: none !important; }
}

/* Íconos de línea en la pestaña de industrias */
.panel__list .ico svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sectores: acordeón en celular y tablet vertical */
@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr; }
  .tabs__panel { min-height: 0; padding: 22px; border-radius: 18px; margin: 2px 0 6px; }
  .tab .tab__chev { transform: rotate(90deg); }
  .tab.is-active .tab__chev { transform: rotate(-90deg); }
  /* Sector cerrado: vuelve al estilo de los demás y la flecha apunta hacia abajo */
  .tab.is-active.is-collapsed { background: rgba(139,108,255,.08); border-color: rgba(139,108,255,.38); box-shadow: none; }
  .tab.is-active.is-collapsed .tab__icon { background: rgba(139,108,255,.22); border-color: rgba(139,108,255,.5); }
  .tab.is-active.is-collapsed .tab__chev { transform: rotate(90deg); opacity: .6; }
  .tabs__panel[hidden] { display: none; }
}
