/* ============================================================
   Visio Method — estilos
   ============================================================ */

:root{
  --bg: #05070f;
  --bg-soft: #090c18;
  --bg-elevated: #0e1322;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.17);

  --text: #f5f7fb;
  --text-muted: #9aa3b8;
  --text-faint: #7a8399;

  --accent: #2670d9;
  --accent-2: #1550d6;
  --accent-bright: #4fa3ef;
  --accent-soft: rgba(59,139,255,.14);
  --accent-glow: rgba(79,163,239,.28);

  --accent-violet: #a78bfa;
  --accent-violet-soft: rgba(167,139,250,.14);
  --accent-violet-glow: rgba(167,139,250,.28);

  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22,.61,.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;
}

img, svg{ display: block; max-width: 100%; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}
h3{ font-weight: 600; }

p{ margin: 0; }

ul{ margin: 0; padding: 0; list-style: none; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn--primary{
  position: relative;
  background: linear-gradient(115deg, var(--accent-2), var(--accent));
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 28px -6px var(--accent-glow), 0 0 20px -4px var(--accent-glow);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), background-position .6s var(--ease);
}
.btn--primary::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 55%);
  opacity: .8;
  pointer-events: none;
}
.btn--primary:hover{
  transform: translateY(-2px) scale(1.03);
  background-position: 100% 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 12px 34px -6px var(--accent-glow), 0 0 28px -2px var(--accent-glow);
}
@media (prefers-reduced-motion: reduce){
  .btn--primary{ transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
}

.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover{ border-color: var(--accent); color: var(--accent-bright); }

.btn--small{ padding: 10px 20px; font-size: .85rem; }

/* ---------- eyebrow ---------- */
.eyebrow{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.eyebrow__line{
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}

/* ============================================================
   Nav
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,7,15,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled{
  border-bottom-color: var(--border);
}

.nav__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: auto;
}
.nav__logo-mark{
  width: 30px; height: 30px;
  border-radius: 7px;
  object-fit: cover;
}
.nav__logo-text em{
  font-style: normal;
  color: var(--accent-bright);
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .9rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.nav__links a{ transition: color .2s var(--ease); }
.nav__links a:hover{ color: var(--text); }

.nav__toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav__toggle span{
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  padding: 164px 0 100px;
  overflow: hidden;
}
.hero__glow{
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
}
.hero__glow--1{
  top: -220px; right: -160px;
  width: 860px; height: 860px;
  background: radial-gradient(circle, rgba(59,139,255,.44), rgba(59,139,255,0) 68%);
  animation: heroGlowDrift1 14s ease-in-out infinite;
}
.hero__glow--2{
  bottom: -260px; left: -220px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(167,139,250,.32), rgba(167,139,250,0) 68%);
  animation: heroGlowDrift2 17s ease-in-out infinite;
}
@keyframes heroGlowDrift1{
  0%, 100%{ transform: translate(0,0) scale(1); opacity: .95; }
  50%{ transform: translate(-50px, 45px) scale(1.1); opacity: .7; }
}
@keyframes heroGlowDrift2{
  0%, 100%{ transform: translate(0,0) scale(1); opacity: .85; }
  50%{ transform: translate(45px, -35px) scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .hero__glow--1, .hero__glow--2{ animation: none; }
}

.hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero__title{
  font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  margin-bottom: 22px;
}

.hero__subtitle{
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__cta-group{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip{
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.hero__tags .chip:hover{ border-color: var(--border-strong); color: var(--text); }

/* ---------- hero panel (customer journey teaser) ---------- */
.hero__panel{
  position: relative;
  padding: 30px 28px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(59,139,255,.1), var(--bg-elevated) 60%);
  box-shadow: 0 30px 70px -30px rgba(0,10,40,.8);
}
.hero__panel-label{
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.hero__metrics{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero__metric{
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  transition: opacity .6s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.hero__metric:hover{
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 26px -4px var(--accent-glow), 0 12px 26px -16px rgba(0,10,40,.5);
  transform: translateY(-3px) scale(1.02) !important;
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
.hero__metric-mono{
  display: inline-block;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(79,163,239,.35);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.hero__metric p{
  color: var(--text-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.hero__metrics .hero__metric:nth-child(1){ transition-delay: .45s; }
.hero__metrics .hero__metric:nth-child(2){ transition-delay: .52s; }
.hero__metrics .hero__metric:nth-child(3){ transition-delay: .59s; }
.hero__metrics .hero__metric:nth-child(4){ transition-delay: .66s; }
body.is-loading .hero__metric{ opacity: 0; transform: translateY(10px); }

/* ---------- hero flow diagram (Visita → Email → Compra → Recompra) ---------- */
.hero__flow{ margin-bottom: 22px; }
.hero__flow-diagram{
  width: 100%;
  height: 24px;
  overflow: visible;
}
.hero__flow-diagram .draw-line{
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  transition: none !important;
}
.hero__flow-node{
  fill: var(--bg-elevated);
  stroke: var(--accent-bright);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}
.hero__flow-dot{
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 4px var(--accent-glow));
  animation: heroFlowDot 3.4s linear infinite;
  animation-play-state: paused;
}
.hero__flow-dot--2{ animation-delay: -1.133s; }
.hero__flow-dot--3{ animation-delay: -2.267s; }
.hero__flow-diagram .draw-line.is-visible ~ .hero__flow-dot{ animation-play-state: running; }
@keyframes heroFlowDot{
  0%{ transform: translateX(0); opacity: 0; }
  8%{ opacity: 1; }
  92%{ opacity: 1; }
  100%{ transform: translateX(328px); opacity: 0; }
}
.hero__flow-labels{
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (prefers-reduced-motion: reduce){
  .hero__flow-dot{ animation: none; opacity: 0; }
}

/* ---------- hero entrance animation ---------- */
.hero__content > *,
.hero__panel{
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
/* delays live on the base rule so they still apply at the moment
   is-loading is removed and the transition actually fires */
.hero__content > *:nth-child(1){ transition-delay: .05s; }
.hero__content > *:nth-child(2){ transition-delay: .13s; }
.hero__content > *:nth-child(3){ transition-delay: .21s; }
.hero__content > *:nth-child(4){ transition-delay: .29s; }
.hero__content > *:nth-child(5){ transition-delay: .37s; }
.hero__panel{ transition-delay: .46s; }

body.is-loading .hero__content > *,
body.is-loading .hero__panel{
  opacity: 0;
  transform: translateY(16px);
}

/* ---------- hover spotlight ---------- */
.benefit-card,
.service-card,
.process__step,
.showcase-card,
.hero__metric,
.result-card{
  position: relative;
  overflow: hidden;
}
.benefit-card::before,
.service-card::before,
.process__step::before,
.showcase-card::before,
.hero__metric::before,
.result-card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,0%), rgba(79,163,239,.2), transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.benefit-card:hover::before,
.service-card:hover::before,
.process__step:hover::before,
.hero__metric:hover::before,
.result-card:hover::before{ opacity: 1; }
.showcase-card:hover::before{ opacity: 1; }

.benefit-card > *,
.service-card > *,
.hero__metric > *{
  position: relative;
  z-index: 1;
}

/* ---------- ambient section glow (reusable) ---------- */
.section-glow{
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
  z-index: 0;
}
.section-glow--a{
  background: radial-gradient(circle, rgba(59,139,255,.2), rgba(59,139,255,0) 70%);
}
.section-glow--b{
  background: radial-gradient(circle, rgba(21,80,214,.18), rgba(21,80,214,0) 70%);
}

/* ============================================================
   Sections (generic)
   ============================================================ */
.section{ padding: 108px 0; }
.section--alt{ background: var(--bg-soft); }

.section__header{ max-width: 640px; margin-bottom: 56px; }
.section__title{ font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section__desc{ color: var(--text-muted); font-size: 1.05rem; }
.section__desc--sub{ margin-top: 14px; }
.section__desc strong{ color: var(--text); font-weight: 600; }

.section__title-accent{ color: var(--accent-bright); }
.section__title--split .section__title-line{ display: block; }
.section__title--split .section__title-line + .section__title-line{ margin-top: 2px; }

/* ---------- stats bar (social proof / sector figure) ---------- */
.stats{
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}
.stats__glow{
  position: absolute;
  top: 50%; left: 6%;
  transform: translateY(-50%);
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,139,255,.16), rgba(59,139,255,0) 70%);
  filter: blur(10px);
  pointer-events: none;
}
.stats__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  gap: 48px;
  align-items: end;
}
.stats__figure .eyebrow{ margin-bottom: 14px; }
.stats__value{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.6rem, 8.5vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--accent-bright);
}
.stats__value-sep{
  display: inline-block;
  font-weight: 300;
  font-size: .52em;
  color: var(--text-faint);
  vertical-align: .4em;
  margin: 0 .02em;
  transform: scaleX(1.3);
}
.stats__value-unit{ font-size: .48em; margin-left: .06em; color: var(--text); }
.stats__divider{
  align-self: stretch;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.stats__side{ display: flex; flex-direction: column; gap: 26px; }
.stats__label{ color: var(--text-muted); font-size: 1.05rem; line-height: 1.55; max-width: 380px; }
.stats__viz-wrap{ display: flex; flex-direction: column; gap: 12px; }
.stats__viz{ width: 100%; max-width: 240px; height: auto; }
.stats__viz-axis{ stroke: var(--border-strong); stroke-width: 1; }
.stats__viz-bar{ fill: var(--accent-soft); }
.stats__viz-bar--accent{ fill: var(--accent-bright); filter: drop-shadow(0 0 8px var(--accent-glow)); }
.stats__viz-trend{
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .8;
}
.stats__viz-arrowhead{
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .8;
}
.stats__viz-caption{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .85rem;
  max-width: 260px;
}
.stats__viz-caption-icon{
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
}

/* ---------- results (casos de éxito, pendiente de datos reales) ---------- */
#resultados{ position: relative; overflow: hidden; }
#resultados .section-glow{ top: -150px; left: -130px; width: 520px; height: 520px; }
.results-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.result-card{
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.result-card:hover{
  transform: translateY(-4px) scale(1.02) !important;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 30px -4px var(--accent-glow), 0 16px 32px -18px rgba(0,10,40,.55);
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
.result-card img{
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- problema ---------- */
#problema{ position: relative; overflow: hidden; }
#problema .section-glow{ top: -140px; right: -120px; width: 560px; height: 560px; }

.problem__layout{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.problem__funnel{
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.problem__funnel-row{ display: flex; flex-direction: column; gap: 11px; }
.problem__funnel-label{
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-muted);
}
.problem__funnel-track{
  height: 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.problem__funnel-bar{
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: left center;
  opacity: 1 !important;
  transform: scaleX(0) !important;
  transition: transform 1.1s var(--ease) !important;
}
.problem__funnel-bar.is-visible{ transform: scaleX(var(--bar-scale, 1)) !important; }
.problem__funnel-bar--accent{ background: linear-gradient(90deg, var(--accent-bright), #8fd6ff); }

.problem__legend{
  display: flex;
  flex-direction: column;
}
.problem__legend-item{
  position: relative;
  display: flex;
  gap: 22px;
  padding: 26px 0 26px 22px;
  border-top: 1px solid var(--border);
}
.problem__legend-item:last-child{ border-bottom: 1px solid var(--border); }
.problem__legend-item::before{
  content: '';
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent-soft);
}
.problem__legend-num{
  flex: none;
  min-width: 32px;
  padding-top: 2px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  color: var(--accent-bright);
}
.problem__legend-item h3{ font-size: 1.05rem; margin-bottom: 7px; }
.problem__legend-item p{ color: var(--text-muted); font-size: .89rem; line-height: 1.55; }

/* ---------- motor del sistema (6 flows) ---------- */
#motor .section__header{ margin-bottom: 64px; }
.section__title-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.section__title-row .section__title{ margin-bottom: 0; }
.motor__tag{
  display: inline-flex;
  align-items: center;
  flex: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--accent-bright);
  border: 1px solid rgba(79,163,239,.4);
  background: var(--accent-soft);
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.motor{
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.motor.reveal{ opacity: 1; transform: none; transition: none; }
.motor::before,
.motor::after{
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  z-index: 0;
}
.motor::before{
  background: linear-gradient(90deg, transparent, var(--border) 8%, var(--border) 92%, transparent);
}
.motor::after{
  background: linear-gradient(90deg, transparent, var(--accent-bright) 15%, var(--accent-bright) 25%, transparent 40%);
  background-size: 250% 100%;
  background-position: 100% 0;
  filter: drop-shadow(0 0 4px var(--accent-glow));
  opacity: 0;
  animation: motorFlow 4s linear infinite;
  animation-play-state: paused;
}
.motor.is-visible::after{ opacity: 1; animation-play-state: running; }
@keyframes motorFlow{
  0%{ background-position: 100% 0; }
  100%{ background-position: -150% 0; }
}
.motor__flow{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}
.motor__rail{
  display: flex;
  justify-content: center;
}
.motor__node{
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-bright);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.motor__node .icon{ width: 22px; height: 22px; }
.motor__flow:hover .motor__node{
  transform: scale(1.12);
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 24px -2px var(--accent-glow);
}
.motor__body{ margin-top: 18px; max-width: 172px; }
.motor__index{
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-bright);
  margin-bottom: 6px;
}
.motor__title{ font-size: 1rem; margin-bottom: 6px; }
.motor__desc{ color: var(--text-faint); font-size: .82rem; line-height: 1.45; }

/* ---------- about (quiénes somos) ---------- */
.about__header{ max-width: 720px; }
.about__tagline{
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.5;
}

/* ---------- showcase (ejemplos) ---------- */
.showcase-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.showcase-card{
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: 0 30px 60px -32px rgba(0,10,40,.7);
  transform: perspective(1000px) rotateY(var(--tilt, -2.5deg)) !important;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.showcase-card:nth-child(2){ --tilt: 2.5deg; }
.showcase-card:nth-child(3){ --tilt: -2.5deg; }
.showcase-card:hover{
  transform: perspective(1000px) rotateY(0deg) translateY(-6px) scale(1.02) !important;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 34px -4px var(--accent-glow), 0 30px 60px -28px rgba(0,10,40,.7);
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
.showcase-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
  display: block;
  transition: transform .5s var(--ease);
}
.showcase-card:hover img{ transform: scale(1.045); }

.showcase-card figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(3,5,12,.94) 65%);
  color: var(--text-muted);
  font-size: .88rem;
}
.showcase-card figcaption span{
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 4px;
}

/* ---------- benefits ---------- */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card{
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.benefit-card:hover{
  transform: translateY(-4px) scale(1.02) !important;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 30px -4px var(--accent-glow), 0 16px 32px -18px rgba(0,10,40,.55);
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
/* benefit-card--accent intentionally left with no permanent tint —
   all benefit cards must look neutral at rest, only hover differentiates */
.benefit-card__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 20px;
  flex: none;
}
.benefit-card__icon .icon{
  width: 22px; height: 22px;
  color: var(--accent-bright);
}
.benefit-card h3{
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.benefit-card p{
  color: var(--text-muted);
  font-size: .92rem;
}

/* ---------- services ---------- */
#servicios{ position: relative; overflow: hidden; }
#servicios .section-glow{ bottom: -180px; left: -140px; width: 520px; height: 520px; }

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.service-card:hover{
  transform: translateY(-4px) scale(1.02) !important;
  border-color: var(--accent-bright);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 30px -4px var(--accent-glow), 0 16px 32px -18px rgba(0,10,40,.55);
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
/* service-card--highlight intentionally left with no permanent tint —
   all service cards must look neutral at rest, only hover differentiates */
.service-card__ribbon{
  flex: none;
  display: inline-block;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--bg);
  border: 1px solid rgba(79,163,239,.35);
  padding: 6px 14px;
  border-radius: 999px;
}
.service-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.service-card__head-left{
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-card__index{
  font-family: var(--font-head);
  font-size: .8rem;
  color: var(--text-faint);
  padding-top: 2px;
}
.service-card .icon{
  width: 22px; height: 22px;
  color: var(--accent-bright);
  flex: none;
}
.service-card h3{
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-card > p{
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 20px;
}
.service-card__features{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.service-card__features li{
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.4;
}
.service-card__features li::before{
  content: '';
  position: absolute;
  left: 0; top: .35em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(59,139,255,.4);
}
.service-card__features li::after{
  content: '';
  position: absolute;
  left: 4.5px; top: .62em;
  width: 5px; height: 8px;
  border-right: 1.6px solid var(--accent-bright);
  border-bottom: 1.6px solid var(--accent-bright);
  transform: rotate(45deg);
}
.service-card__badge{
  display: inline-block;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.service-card__pricing{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: auto -26px -32px;
  padding: 20px 26px 24px;
  border-top: 1px solid var(--border);
  background: rgba(59,139,255,.03);
}
.service-card__pricing-label{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.service-card__pricing-row{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card__price{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -.01em;
  color: var(--text);
}
.service-card__price-prefix{
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.service-card__price-period{
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .78rem;
  color: var(--text-muted);
}
.service-card__terms{
  font-family: var(--font-head);
  font-size: .74rem;
  font-style: italic;
  color: var(--text-faint);
}
.service-card__terms::before{
  content: '· ';
  font-style: normal;
}

.services-note{
  margin-top: 32px;
  color: var(--text-muted);
  font-size: .95rem;
}
.services-note strong{ color: var(--text); }
.services-price-note{
  margin-top: 10px;
  color: var(--text-faint);
  font-size: .82rem;
}

/* ---------- process ---------- */
.process__steps{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process__step{
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-elevated);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease) !important;
}
.process__step:hover{
  transform: translateY(-4px) scale(1.02) !important;
  border-color: var(--accent-bright);
  border-left-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(79,163,239,.4), 0 0 30px -4px var(--accent-glow), 0 16px 32px -18px rgba(0,10,40,.55);
  filter: brightness(1.08);
  transition-delay: 0s !important;
}
.process__ghost{
  position: absolute;
  right: 8px;
  top: -14px;
  z-index: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  pointer-events: none;
  user-select: none;
}
.process__icon{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.process__icon .icon{ width: 20px; height: 20px; color: var(--accent-bright); }
.process__step h3{ position: relative; z-index: 1; font-size: 1.05rem; margin-bottom: 8px; }
.process__step p{ position: relative; z-index: 1; color: var(--text-muted); font-size: .92rem; }
.process__cta-wrap{
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- faq ---------- */
.faq{
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.faq__item{
  border-bottom: 1px solid var(--border);
  transition: border-color .25s var(--ease);
}
.faq__item:hover{ border-bottom-color: rgba(79,163,239,.4); }
.faq__item summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__item summary{ transition: color .2s var(--ease); border-radius: var(--radius-sm); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.faq__item summary:hover{ color: var(--accent-bright); background: rgba(255,255,255,.025); }
.faq__icon{
  flex: none;
  position: relative;
  width: 20px; height: 20px;
}
.faq__icon::before,
.faq__icon::after{
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent-bright);
  transform: translate(-50%,-50%);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq__icon::before{ width: 14px; height: 1.6px; }
.faq__icon::after{ width: 1.6px; height: 14px; }
.faq__item[open] .faq__icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq__answer > div{
  overflow: hidden;
  min-height: 0;
}
.faq__answer p{
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  padding: 0 4px 24px;
  margin: 0;
  max-width: 680px;
}
.faq__item.is-open .faq__answer{ grid-template-rows: 1fr; }
.faq__item--extra{ display: none; }
.faq.is-expanded .faq__item--extra{ display: block; }
.faq__toggle-wrap{
  display: flex;
  justify-content: center;
  padding-top: 32px;
}
.faq__toggle{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.faq__toggle:hover{
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  background: var(--accent-soft);
}
.faq__toggle-icon{
  flex: none;
  width: 8px; height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq.is-expanded .faq__toggle-icon{ transform: rotate(-135deg); }
@media (prefers-reduced-motion: reduce){
  .faq__answer{ transition: none; }
}

/* ---------- social proof (placeholder, HTML comentado hasta tener datos reales) ---------- */
.social-proof{
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.social-proof__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.social-proof__label{
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.social-proof__logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.social-proof__logo-slot{
  width: 120px;
  height: 40px;
  border-radius: 8px;
  border: 1px dashed var(--border-strong);
  background: rgba(255,255,255,.02);
}

/* ---------- contact ---------- */
.contact{ position: relative; overflow: hidden; }
.contact .section-glow{ top: -120px; left: 50%; transform: translateX(-50%); width: 680px; height: 420px; }
.contact .section__title{ font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }

#beneficios{ position: relative; overflow: hidden; }
#beneficios .section-glow{ top: -160px; left: -140px; width: 520px; height: 520px; }
#motor{ position: relative; overflow: hidden; }
#motor .section-glow{ bottom: -180px; right: -120px; width: 560px; height: 560px; }
#proceso{ position: relative; overflow: hidden; }
#proceso .section-glow{ top: -140px; right: -160px; width: 520px; height: 520px; }
#ejemplos{ position: relative; overflow: hidden; }
#ejemplos .section-glow{ top: -140px; left: -140px; width: 520px; height: 520px; }
#quienes-somos{ position: relative; overflow: hidden; }
#quienes-somos .section-glow{ bottom: -160px; left: -140px; width: 540px; height: 540px; }
#faq{ position: relative; overflow: hidden; }
#faq .section-glow{ top: -140px; right: -140px; width: 520px; height: 520px; }
.contact__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__email{
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-bright);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.contact__email:hover{ border-color: var(--accent-bright); }

.form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form__group{ display: flex; flex-direction: column; gap: 8px; }
.form__group label{
  font-family: var(--font-head);
  font-size: .82rem;
  color: var(--text-muted);
}
.form__group input,
.form__group textarea{
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form__group input:focus,
.form__group textarea:focus{
  outline: none;
  border-color: var(--accent);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__submit{ margin-top: 6px; width: 100%; animation: ctaPulse 3.4s ease-in-out infinite; }
@keyframes ctaPulse{
  0%, 100%{ box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 28px -6px var(--accent-glow), 0 0 20px -4px var(--accent-glow); }
  50%{ box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 36px -4px var(--accent-glow), 0 0 34px 2px var(--accent-glow); }
}
.form__consent{
  font-size: .78rem;
  line-height: 1.5;
  color: var(--text-faint);
}
.form__consent a{
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__consent a:hover{ color: var(--text); }
.form__note{
  min-height: 1.2em;
  font-size: .85rem;
  color: var(--accent-bright);
}

/* ============================================================
   Footer
   ============================================================ */
.footer{
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand .nav__logo{ margin-bottom: 16px; margin-right: 0; }
.footer__tagline{
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer__col-title{
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 18px;
}
.footer__col{ display: flex; flex-direction: column; }
.footer__link{
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 12px;
  transition: color .2s var(--ease);
}
.footer__link:hover{ color: var(--accent-bright); }
.footer__bottom{
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-faint);
  font-size: .82rem;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page{ padding: 168px 0 120px; }
.legal-wrap{ max-width: 720px; margin: 0 auto; }

.legal-page__title{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -.01em;
  margin: 16px 0 12px;
}
.legal-page__meta{
  color: var(--text-faint);
  font-size: .88rem;
  margin-bottom: 44px;
}

.legal-fields{
  margin: 0 0 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-fields p{ color: var(--text-muted); font-size: .95rem; }
.legal-fields strong{ color: var(--text); font-weight: 600; }
.legal-pending{ color: #e2a640; font-style: italic; }

.legal-content h2{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  margin: 48px 0 14px;
}
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p{
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul{
  list-style: disc;
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-content li{ margin-bottom: 8px; padding-left: 4px; }
.legal-content strong{ color: var(--text); font-weight: 600; }
.legal-content a{
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover{ color: var(--text); }

.legal-signature{
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
}

/* ============================================================
   Reveal-on-scroll / stagger / line-draw
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.stagger-group > .reveal{
  transition-delay: calc(var(--stagger-index, 0) * 70ms);
}

.draw-line{
  stroke-dasharray: var(--dash-length, 1000);
  stroke-dashoffset: var(--dash-length, 1000);
  transition: stroke-dashoffset 1.1s var(--ease);
}
.draw-line.is-visible{ stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .draw-line{ stroke-dashoffset: 0; transition: none; }
  .stagger-group > .reveal{ transition-delay: 0s; }
  .btn:hover{ transform: none; }
  .benefit-card:hover,
  .service-card:hover,
  .process__step:hover,
  .hero__metric:hover,
  .result-card:hover{ transform: none !important; }
  .showcase-card,
  .showcase-card:hover{ transform: none !important; }
  .motor__flow:hover .motor__node{ transform: none !important; }
  .motor::after,
  .motor__rail::after{ animation: none; opacity: .5; }
  body.is-loading .hero__content > *,
  body.is-loading .hero__panel{ opacity: 1; transform: none; }
  .problem__funnel-bar{ transition: none !important; }
  .form__submit{ animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__panel{ max-width: 480px; }
  .problem__layout{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px){
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .services-grid{ grid-template-columns: 1fr; }
  .results-grid{ grid-template-columns: 1fr; }
  .contact__inner{ grid-template-columns: 1fr; gap: 40px; }
  .showcase-grid{ grid-template-columns: repeat(2, 1fr); }
  .motor{ display: flex; flex-direction: column; grid-template-columns: none; }
  .motor::before,
  .motor::after{ display: none; }
  .motor__flow{
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    padding: 0;
  }
  .motor__rail{
    position: relative;
    width: 56px;
    flex: none;
    align-self: stretch;
  }
  .motor__rail::before,
  .motor__rail::after{
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
  }
  .motor__rail::before{
    background: var(--border);
  }
  .motor__rail::after{
    background: linear-gradient(180deg, transparent, var(--accent-bright) 15%, var(--accent-bright) 25%, transparent 40%);
    background-size: 100% 250%;
    background-position: 0 100%;
    filter: drop-shadow(0 0 4px var(--accent-glow));
    opacity: 0;
    animation: motorFlowVertical 4s linear infinite;
    animation-play-state: paused;
  }
  .motor.is-visible .motor__rail::after{ opacity: 1; animation-play-state: running; }
  @keyframes motorFlowVertical{
    0%{ background-position: 0 100%; }
    100%{ background-position: 0 -150%; }
  }
  .motor__flow:first-child .motor__rail::before,
  .motor__flow:first-child .motor__rail::after{ top: 28px; }
  .motor__flow:last-child .motor__rail::before,
  .motor__flow:last-child .motor__rail::after{ bottom: auto; height: 28px; }
  .motor__body{ margin-top: 0; padding: 14px 0 28px 16px; max-width: none; }
  .motor__flow:last-child .motor__body{ padding-bottom: 0; }
  .stats__inner{ grid-template-columns: 1fr; gap: 28px; }
  .stats__divider{ display: none; }
  .stats__label{ max-width: none; }
}

@media (max-width: 560px){
  .showcase-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 420px){
  .hero__metrics{ grid-template-columns: 1fr; }
}

@media (max-width: 1040px){
  .nav__links{
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__links a{ padding: 10px 0; width: 100%; }
  .nav__links.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__cta{ display: none; }
  .nav__toggle{ display: flex; }
}

.nav__cta{ flex-shrink: 0; }

@media (max-width: 720px){
  .hero{ padding: 140px 0 72px; }
  .section{ padding: 76px 0; }
  .benefits-grid{ grid-template-columns: 1fr; }
  .legal-page{ padding: 140px 0 72px; }
  .process__ghost{ display: none; }
}

@media (max-width: 900px){
  .process__steps{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .footer__grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer__tagline{ max-width: none; }
}
