/* =========================================================
   Velmatix — Sistema de diseño
   ========================================================= */
:root {
  --bg: #07080f;
  --bg-2: #0b0d18;
  --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: #eceef6;
  --muted: #9ba1b9;
  --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);
}

*,
*::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; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 108, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.6); }
.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(7, 8, 15, 0.72);
  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.85; }
.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.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(40px, 6.2vw, 76px); font-weight: 700; margin: 22px 0 22px; }
#rotator { display: inline-block; min-height: 1.12em; 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(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.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: var(--bg-2); border-block: 1px solid var(--border); }
.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 var(--border); border-radius: var(--radius); background: var(--surface); 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 {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  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%);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.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(139,108,255,.2), rgba(34,211,238,.12));
  border: 1px solid rgba(139,108,255,.3);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: #c4b5ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card__tags li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: #c8cbe0; border: 1px solid var(--border); }
.card--featured { background: linear-gradient(160deg, rgba(139,108,255,.16), rgba(34,211,238,.06)); border-color: rgba(139,108,255,.35); }
.card__link { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--cyan); }

/* 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; }
.step p { color: var(--muted); font-size: 15px; }
.step__time { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--cyan); }

/* Tabs */
.tabs { max-width: 980px; margin: 0 auto; }
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font: 500 14px/1 var(--font-body); cursor: pointer;
  transition: all .3s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.tabs__panel {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  min-height: 320px;
}
.tabs__panel.is-switching > * { animation: fadeUp .5s var(--ease); }
@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(--muted); font-size: 14px; }
.panel__list .ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); 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 var(--border); background: var(--surface); position: relative; overflow: hidden; }
.why__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.why__item h3 { font-size: 20px; margin-bottom: 10px; }
.why__item p { color: var(--muted); }

/* 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(--muted); }

/* 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 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 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(7, 8, 15, .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(7, 8, 15, .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 (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
