/* =========================================================
   ByClass · Landing
   Paleta de marca: menta + negro
   ========================================================= */
:root {
  --mint: #E3F5EA;
  --mint-2: #D2EEDD;
  --mint-3: #A6E4BF;
  --mint-4: #5FCB8D;
  --ink: #0B0B0B;
  --ink-2: #161816;
  --ink-3: #232623;
  --text: #2B302D;
  --muted: #5B635E;
  --muted-light: #A9B5AE;
  --paper: #F7FCF9;
  --white: #FFFFFF;
  --line: rgba(11, 11, 11, .10);
  --line-light: rgba(227, 245, 234, .14);

  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 11, 11, .04), 0 12px 32px -8px rgba(11, 11, 11, .14);
  --shadow-lg: 0 2px 4px rgba(11, 11, 11, .04), 0 30px 60px -18px rgba(11, 11, 11, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mint);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint-4); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 116px) 0; }
section[id] { scroll-margin-top: 60px; }
.hero__grid > *, .funnel-sec__grid > *, .channels__grid > *, .cta__grid > *, .faq__grid > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-display);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; }
.eyebrow--light { color: var(--mint); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin-top: 20px; }

/* Subrayado de marca (la barra del logo) */
.mark {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 92% / 0% .13em;
  padding-bottom: .06em;
  transition: background-size 1s var(--ease) .35s;
}
.in .mark, .mark.in, .no-js .mark { background-size: 100% .13em; }
.mark--light { color: var(--mint); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-display);
  padding: 18px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--mint); }
.btn--dark:hover { box-shadow: 0 10px 24px -8px rgba(11, 11, 11, .5); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--mint); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--white); }
.btn--sm { padding: 12px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo {
  font: 800 1.55rem/1 var(--font-display);
  letter-spacing: .01em; color: var(--ink); text-decoration: none;
  display: inline-block; padding-bottom: 9px; white-space: nowrap;
}
.logo__u { position: relative; }
.logo__u::after {
  content: ""; position: absolute; left: -.34em; right: .12em; bottom: -.36em;
  height: .2em; background: currentColor;
}
.logo--light { color: var(--mint); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(227, 245, 234, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font: 500 .95rem/1 var(--font-display); color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.nav__quick { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { max-width: 15ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 .85rem/1 var(--font-display); color: var(--ink);
  background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px;
}
.pills li::before { content: "✓"; font-size: .75rem; font-weight: 700; }
.pills a { color: inherit; text-decoration: none; background: linear-gradient(transparent 62%, rgba(95, 203, 141, .45) 62%); }
.pills li:has(a) { transition: border-color .25s, background .25s; }
.pills li:has(a):hover { border-color: var(--ink); background: var(--white); }

/* Dashboard */
.hero__visual { position: relative; padding: 58px 10px 20px 36px; }
.dash {
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 22px; border: 1px solid var(--line); position: relative; z-index: 1;
}
.dash__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-2); }
.dash__title { font: 600 .9rem/1 var(--font-display); color: var(--ink); }
.dash__live { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; font-size: .75rem; color: var(--muted); }
.dash__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-4); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 203, 141, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(95, 203, 141, 0); } }

.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 6px; }
.kpi__label { font-size: .72rem; color: var(--muted); line-height: 1.2; }
.kpi__value { font: 700 1.55rem/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.kpi__delta { font-size: .68rem; color: #146B3A; font-weight: 600; }

.dash__chart { margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 14px 10px; }
.dash__chart svg { width: 100%; height: 120px; overflow: visible; }
.dash__chart .grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.dash__chart .line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; }
.dash__chart .area { opacity: 0; transition: opacity 1s ease 1.2s; }
.dash__chart .dot { fill: var(--mint-4); stroke: var(--ink); stroke-width: 2; opacity: 0; transition: opacity .4s ease 1.8s; }
.in .dash__chart .line { animation: draw 1.8s var(--ease) .3s forwards; }
.in .dash__chart .area, .in .dash__chart .dot { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash__legend { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: 6px; }

.dash__channels { margin-top: 14px; display: grid; gap: 9px; }
.ch { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: .78rem; color: var(--text); }
.ch b { height: 8px; border-radius: 99px; background: var(--mint-2); position: relative; overflow: hidden; }
.ch b::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--ink); border-radius: inherit; transition: width 1.4s var(--ease) .6s; }
.in .ch b::after { width: var(--w); }

.float-card {
  position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px 12px 12px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font: 600 .85rem/1.2 var(--font-display); color: var(--ink); }
.float-card small { font-size: .72rem; color: var(--muted); }
.fc__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--ink); font-weight: 700; flex: none; }
.fc__icon--dark { background: var(--ink); color: var(--mint); }
.float-card--a { top: 0; left: -8px; }
.float-card--b { bottom: 34px; right: -16px; animation-delay: -3s; }

/* Notificaciones en vivo: tarjetas que se reemplazan cada pocos segundos */
.feed { position: absolute; z-index: 2; width: 290px; height: 62px; animation: float 6s ease-in-out infinite; pointer-events: none; }
.feed--a { top: 0; left: -8px; }
.feed--b { bottom: 34px; right: -16px; animation-delay: -3s; }
.feed .float-card { position: absolute; top: 0; left: 0; white-space: nowrap; animation: none; opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.feed--b .float-card { left: auto; right: 0; }
.feed .float-card.is-on { opacity: 1; transform: none; }
.feed .float-card.is-out { opacity: 0; transform: translateY(-12px) scale(.95); }
.no-js .feed .float-card:first-child { opacity: 1; transform: none; }
.fc__icon--win { background: var(--mint-4); color: var(--ink); box-shadow: 0 0 0 4px rgba(95, 203, 141, .2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.dash__note { font-size: .72rem; color: var(--muted); text-align: right; margin-top: 12px; }

/* ---------- Logos de empresas ---------- */
/* Todos los logos se llevan a la paleta de marca:
   .brand       → logos con fondo transparente: silueta negra
   .brand--flat → logos con fondo blanco: escala de grises + multiplicar sobre menta */
.logos { padding: 34px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__title { text-align: center; font: 500 .9rem/1.4 var(--font-display); color: var(--muted); margin-bottom: 22px; }
.marquee {
  overflow: hidden; background: var(--mint);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.brand {
  flex: none; height: 76px; padding: 0 44px; display: flex; align-items: center; gap: 10px;
  opacity: .82; transition: opacity .3s, transform .3s var(--ease);
}
.brand:hover { opacity: 1; transform: scale(1.05); }
.brand img { height: var(--h, 40px); width: auto; max-width: none; filter: brightness(0); }
.brand--flat img { filter: grayscale(1) contrast(4); mix-blend-mode: multiply; }
.brand--colun img { clip-path: inset(0 0 22% 0); margin-bottom: -12px; }
.brand__txt { font: 800 1.45rem/1 var(--font-display); color: var(--ink); letter-spacing: .02em; }
.brand--word { font: 800 1.3rem/1.05 var(--font-display); color: var(--ink); letter-spacing: -.01em; text-transform: uppercase; }
.brand--word span { display: block; width: 9ch; }

/* ---------- Encabezados de sección ---------- */
.section__head { max-width: 760px; margin-bottom: 52px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__head--row .lead { margin-top: 0; }

/* ---------- Estadísticas ---------- */
.stats { background: var(--paper); }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 28px;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__num { font: 700 clamp(3rem, 5vw, 4.2rem)/1 var(--font-display); color: var(--ink); letter-spacing: -.04em; }
.stat__bar { height: 8px; background: var(--mint); border-radius: 99px; margin: 22px 0 18px; overflow: hidden; }
.stat__bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width 1.6s var(--ease) .3s; }
.stat.in .stat__bar i { width: var(--w); }
.stat p { color: var(--text); font-size: 1rem; flex: 1; }
.stat small { display: block; margin-top: 18px; font-size: .75rem; color: var(--muted); }
.statement {
  margin: 52px auto 0; text-align: center; font: 600 clamp(1.25rem, 2.3vw, 1.7rem)/1.35 var(--font-display);
  color: var(--ink); letter-spacing: -.015em; max-width: 34ch;
}
.statement strong { background: var(--ink); color: var(--mint); padding: 0 .25em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Funnel ---------- */
.funnel-sec { background: var(--ink); color: var(--muted-light); overflow: hidden; }
.funnel-sec h2 { color: var(--white); }
.funnel-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.funnel-legend { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; counter-reset: f; }
.funnel-legend li { counter-increment: f; position: relative; padding-left: 40px; font-size: 1rem; }
.funnel-legend li::before { content: "0" counter(f); position: absolute; left: 0; top: 0; font: 600 .8rem/1.9 var(--font-display); color: var(--mint); }
.funnel-legend b { color: var(--white); font-weight: 600; }

.funnel { position: relative; padding-bottom: 8px; }
.funnel__stages { display: grid; gap: 8px; }
.stage {
  height: 72px; display: grid; place-items: center;
  font: 600 .95rem/1 var(--font-display); color: var(--mint); letter-spacing: .02em;
  opacity: 0; transform: scaleX(.8); transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i) * .15s);
}
.stage:nth-child(1) { clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); background: rgba(227, 245, 234, .10); }
.stage:nth-child(2) { clip-path: polygon(10% 0, 90% 0, 81% 100%, 19% 100%); background: rgba(227, 245, 234, .18); }
.stage:nth-child(3) { clip-path: polygon(19% 0, 81% 0, 73% 100%, 27% 100%); background: rgba(227, 245, 234, .32); }
.stage:nth-child(4) { clip-path: polygon(27% 0, 73% 0, 67% 100%, 33% 100%); background: var(--mint); color: var(--ink); }
.funnel.in .stage { opacity: 1; transform: none; }
.funnel__particles { position: absolute; inset: 0 0 auto 0; height: 312px; pointer-events: none; }
.particle { position: absolute; top: 0; width: 7px; height: 7px; margin-left: -3.5px; background: var(--mint); border-radius: 50%; opacity: 0; }
.particle--win { width: 11px; height: 11px; margin-left: -5.5px; box-shadow: 0 0 0 4px rgba(227, 245, 234, .25); }

.funnel__out { display: flex; justify-content: center; margin-top: 22px; position: relative; }
.funnel__out::before { content: ""; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; background: linear-gradient(var(--mint), transparent); }
.ticket {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 330px;
  background: var(--white); border-radius: 16px; padding: 14px 22px 14px 14px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.ticket small { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 6px; }
.ticket__body { flex: 1; min-width: 0; }
.ticket__logo { height: 52px; display: flex; align-items: center; }
.ticket__logo .brand { height: 52px; padding: 0; opacity: 1; transform: none; }
.ticket__logo .brand img { height: calc(var(--h, 40px) * .8); }
.ticket__logo .brand--colun img { margin-bottom: -8px; }
.ticket__logo .brand__txt { font-size: 1.25rem; }
.ticket__logo .brand--word { font-size: 1.1rem; }
.ticket__logo .brand--word span { width: auto; }
.ticket__check { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-weight: 700; flex: none; }
.ticket.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: translateY(8px) scale(.96); opacity: .3; } 100% { transform: none; opacity: 1; } }

/* ---------- Método (línea de tiempo) ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: var(--line); }
.timeline::after { background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.timeline.in::after { transform: scaleX(1); }
.tl { position: relative; z-index: 1; }
.tl__n {
  width: 54px; height: 54px; border-radius: 14px; background: var(--white); color: var(--ink); border: 2px solid var(--ink);
  display: grid; place-items: center; font: 700 1rem/1 var(--font-display);
  transition: background .4s, color .4s; transition-delay: calc(var(--d, 0s) * 5 + .4s);
}
.timeline.in .tl__n { background: var(--ink); color: var(--mint); }
.tl h3 { margin: 22px 0 8px; font-size: 1.3rem; }
.tl p { color: var(--muted); font-size: .98rem; max-width: 24ch; }

/* ---------- Canales + KPIs ---------- */
.channels { background: var(--paper); }
.channels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.channels__grid--plain { grid-template-columns: 1fr 1.3fr; align-items: start; }
.channels__grid--plain .chlist { margin-top: 0; }
.photo-kpi { position: relative; padding: 0 28px 28px 0; }
.photo-kpi img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.chip {
  position: absolute; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: .85rem; min-width: 230px; animation: float 7s ease-in-out infinite;
}
.chip span { font: 700 .72rem/1 var(--font-display); letter-spacing: .08em; background: var(--ink); color: var(--mint); padding: 7px 8px; border-radius: 8px; }
.chip b { font: 600 .88rem/1.2 var(--font-display); color: var(--ink); }
.chip--1 { top: 8%; right: 0; }
.chip--2 { top: 44%; left: -24px; animation-delay: -2.3s; }
.chip--3 { bottom: 0; right: 8%; animation-delay: -4.6s; }
.mini { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.mini em { width: 6px; height: 0; background: var(--mint-4); border-radius: 2px; transition: height 1s var(--ease); }
.photo-kpi.in .mini em { height: var(--h); }
.photo-kpi.in .mini em:nth-child(2) { transition-delay: .15s; }
.photo-kpi.in .mini em:nth-child(3) { transition-delay: .3s; }
.photo-kpi.in .mini em:nth-child(4) { transition-delay: .45s; }

.chlist { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.chlist li {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px 18px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  cursor: pointer; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.chlist li:hover { transform: translateX(6px); border-color: var(--ink); box-shadow: var(--shadow); }
.chlist h3 { margin-bottom: 4px; }
.chlist h3 a { color: inherit; text-decoration: none; }
.chlist p { color: var(--muted); font-size: .95rem; }
.chlist__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; }
.chlist__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chlist__actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 24px; transition: border-color .3s; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font: 600 1.02rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--mint); display: grid; place-items: center;
  font: 500 1.2rem/1 var(--font-display); transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ink); color: var(--mint); }
.faq details p { color: var(--muted); padding-bottom: 22px; font-size: .98rem; }

/* ---------- CTA / Formulario ---------- */
.cta { position: relative; padding: clamp(80px, 10vw, 120px) 0; background: var(--ink); overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 11, 11, .97) 35%, rgba(11, 11, 11, .78)),
    url("https://images.unsplash.com/photo-1560179707-f14e90ef3623?auto=format&fit=crop&w=1200&q=45") center / cover;
}
.cta__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { color: var(--white); }
.cta .lead { color: var(--muted-light); }
.form {
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: 22px; padding: 32px;
  display: grid; gap: 16px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font: 500 .82rem/1 var(--font-display); color: var(--muted-light); }
.form input, .form select {
  font: 400 1rem/1.4 var(--font-body); color: var(--white);
  background: var(--ink-3); border: 1px solid var(--line-light); border-radius: 10px; padding: 13px 14px;
  transition: border-color .25s, background .25s; width: 100%;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(135deg, var(--mint) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--mint); background-color: #1b1e1b; }
.form .invalid { border-color: #E07A6B; }
.form__msg { font-size: .9rem; color: var(--mint); min-height: 1.2em; }
.form__msg.error { color: #F0A597; }
.form button { margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-light); padding: 64px 0 32px; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__inner > div:first-child p { margin-top: 18px; max-width: 32ch; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer h4 { font: 600 .78rem/1 var(--font-display); color: var(--mint); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--mint); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .82rem; }

.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .78rem; line-height: 1.5; color: var(--muted-light); }
.form__legal a, .form__msg a { color: var(--mint); }
.form button:disabled { opacity: .6; cursor: wait; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted-light); }

/* ---------- Página legal ---------- */
.legal-page { background: var(--paper); }
.legal-head { background: var(--mint); border-bottom: 1px solid var(--line); }
.legal-head .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.legal-head a:not(.logo) { font: 500 .9rem/1 var(--font-display); color: var(--ink); text-decoration: none; }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { color: var(--muted); margin-top: 12px; font-size: .92rem; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text); font-size: 1rem; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal a { color: var(--ink); font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .93rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--font-display); font-weight: 600; color: var(--ink); background: var(--mint); }
.legal .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 14px; }
@media (max-width: 600px) {
  .legal { padding: 40px 16px 72px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { padding: 4px 0; border: 0; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal td:first-child { font-weight: 600; color: var(--ink); }
}

/* ---------- WhatsApp en contacto + oficina ---------- */
.wa-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font: 500 .95rem/1.3 var(--font-display); color: var(--mint); text-decoration: none;
  border-bottom: 1px solid var(--line-light); padding-bottom: 4px; transition: border-color .25s;
}
.wa-link:hover { border-color: var(--mint); }
.wa-link svg { width: 22px; height: 22px; fill: #25D366; flex: none; }
.office {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; max-width: 400px;
  padding: 10px 18px 10px 10px; border: 1px solid var(--line-light); border-radius: 16px; background: rgba(255, 255, 255, .03);
}
.office img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; filter: saturate(.85); }
.office b { display: block; font: 600 .92rem/1.3 var(--font-display); color: var(--white); }
.office span { font-size: .84rem; color: var(--muted-light); }

/* ---------- Botones flotantes: asistente + WhatsApp ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__wa {
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(11, 11, 11, .45); transition: transform .25s var(--ease);
}
.fab__wa:hover { transform: scale(1.07); }
.fab__wa svg { width: 30px; height: 30px; fill: #fff; }
.fab__bot {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--mint); border-radius: 999px; padding: 12px 16px 12px 14px;
  font: 600 .88rem/1 var(--font-display); box-shadow: 0 10px 24px -8px rgba(11, 11, 11, .45);
  transition: transform .25s var(--ease);
}
.fab__bot:hover { transform: translateY(-2px); }
.fab__bot svg { width: 20px; height: 20px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linejoin: round; }
.fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-4); animation: pulse 2s infinite; }
.fab.is-open .fab__bot { display: none; }

.bot {
  width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px);
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right;
  animation: botIn .35s var(--ease);
}
.bot[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: var(--mint); }
.bot__head b { display: block; font: 600 .95rem/1.2 var(--font-display); color: var(--white); }
.bot__head small { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted-light); }
.bot__head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-4); }
.bot__avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--mint); color: var(--ink); display: grid; place-items: center; font: 800 1rem/1 var(--font-display); }
.bot__close { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--mint); font-size: 1.3rem; cursor: pointer; }
.bot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.45; animation: botIn .3s var(--ease); }
.msg--bot { background: var(--white); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--ink); color: var(--mint); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: inherit; font-weight: 600; }
.msg .btn { color: var(--mint); }
.msg--typing { display: inline-flex; gap: 4px; padding: 13px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bot__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.bot__quick:empty { display: none; }
.bot__quick button {
  font: 500 .8rem/1 var(--font-display); color: var(--ink); background: var(--mint); border: 1px solid transparent;
  border-radius: 999px; padding: 8px 11px; cursor: pointer; transition: border-color .2s;
}
.bot__quick button:hover { border-color: var(--ink); }
.bot__input { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--white); border-top: 1px solid var(--line); }
.bot__input input { flex: 1; min-width: 0; font: 400 .92rem/1.3 var(--font-body); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.bot__input input:focus { outline: none; border-color: var(--ink); }
.bot__input button { width: 42px; border: 0; border-radius: 10px; background: var(--ink); cursor: pointer; display: grid; place-items: center; }
.bot__input svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Páginas internas (servicios, nosotros, blog) ---------- */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5;
  mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__meta { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.page-body { background: var(--paper); padding: clamp(56px, 8vw, 96px) 0; }
.page-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 1.05rem; color: var(--text); line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.prose a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; background: var(--white); border-radius: 10px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mint); font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.prose .sources { font-size: .85rem; color: var(--muted); margin-top: 36px; }
.prose .sources a { font-weight: 400; color: var(--muted); }

.aside-card { position: sticky; top: 100px; background: var(--ink); color: var(--muted-light); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { color: var(--white); margin-bottom: 10px; }
.aside-card p { font-size: .95rem; margin-bottom: 20px; }
.aside-card .btn { width: 100%; }
.aside-card .wa-link { margin-top: 18px; font-size: .88rem; }

.related { padding: clamp(56px, 8vw, 88px) 0; }
.related h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.svc-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.svc-card b { font: 600 1.05rem/1.3 var(--font-display); color: var(--ink); }
.svc-card span { font-size: .92rem; color: var(--muted); }
.svc-card em { font-style: normal; font: 600 .85rem/1 var(--font-display); color: var(--ink); margin-top: auto; padding-top: 10px; }

.founder { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 24px 0; }
.founder__avatar { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; background: var(--mint); }
.founder__avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { margin: 0 0 4px; font-size: 1.3rem; }
.founder small { display: block; color: var(--muted); margin-bottom: 10px; }

.post-list { display: grid; gap: 16px; }
.post-card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .3s, box-shadow .3s; }
.post-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.post-card small { color: var(--muted); font-size: .82rem; }
.post-card h2 { font-size: 1.3rem; margin: 6px 0 8px; }
.post-card p { color: var(--muted); }

/* Encabezado con panel animado */
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.kpi-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  box-shadow: var(--shadow-lg); display: grid; gap: 16px; animation: float 7s ease-in-out infinite;
}
.kpi-panel__head { display: flex; align-items: center; gap: 10px; font: 600 .9rem/1 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.kpi-panel__head i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-4); animation: pulse 2s infinite; }
.kpi-panel__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: center; font-size: .88rem; color: var(--text); }
.kpi-panel__row b { height: 10px; border-radius: 99px; background: var(--mint); position: relative; overflow: hidden; }
.kpi-panel__row b::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--ink); border-radius: inherit; transition: width 1.4s var(--ease); transition-delay: calc(var(--d) + .3s); }
.in .kpi-panel__row b::after { width: var(--w); }
.kpi-panel small { font-size: .75rem; color: var(--muted); }

/* Tarjetas de puntos clave */
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 26px 0; }
.hl { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 12px; padding: 20px; display: grid; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.hl:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hl b { font: 600 1rem/1.3 var(--font-display); color: var(--ink); }
.hl span { font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* Proceso paso a paso con línea animada */
.prose ol.steps-v { list-style: none; padding: 0; margin: 24px 0; counter-reset: st; gap: 0; position: relative; }
.steps-v::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps-v::after { content: ""; position: absolute; left: 21px; top: 10px; width: 2px; height: calc(100% - 20px); background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease) .2s; }
.steps-v.in::after { transform: scaleY(1); }
.steps-v li { counter-increment: st; position: relative; padding: 0 0 22px 64px; display: grid; gap: 4px; }
.steps-v li::before {
  content: "0" counter(st); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--white); border: 2px solid var(--ink); color: var(--ink);
  font: 700 .9rem/1 var(--font-display); z-index: 1; transition: background .4s, color .4s;
}
.steps-v.in li::before { background: var(--ink); color: var(--mint); }
.steps-v li b { font: 600 1.05rem/1.35 var(--font-display); color: var(--ink); }
.steps-v li span { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---------- Servicios: bloques visuales ---------- */
.hero__visual--page { max-width: 560px; }
.hl__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--mint); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 8px; }
.hl-grid--icons { margin: 0; }
.hl-grid--icons .hl { border-top: 1px solid var(--line); padding: 26px; }
.svc-benefits { background: var(--paper); }

/* Enlaces dentro del texto: frase destacada que lleva a su página */
.lead a, .hl span a, .tl p a, .faq details p a, .funnel-legend a, .flow__node small a, .metric-chips a {
  color: inherit; font-weight: 600; text-decoration: none;
  background: linear-gradient(transparent 62%, rgba(95, 203, 141, .35) 62%);
  padding: 0 2px; border-radius: 2px; transition: background .25s, color .25s;
}
.lead a:hover, .hl span a:hover, .tl p a:hover, .faq details p a:hover, .flow__node small a:hover {
  background: var(--ink); color: var(--mint);
}
.funnel-legend a, .diff .lead a, .svc-flow .flow__node small a { color: var(--mint); background: linear-gradient(transparent 62%, rgba(95, 203, 141, .3) 62%); }
.funnel-legend a:hover, .svc-flow .flow__node small a:hover { background: var(--mint); color: var(--ink); }
.hl-grid--dark .hl span a { color: var(--mint); background: linear-gradient(transparent 62%, rgba(95, 203, 141, .3) 62%); }

/* Nota de confianza bajo los botones */
.cta-note { margin-top: 14px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cta-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-4); flex: none; }
.cta-note--light { color: var(--muted-light); margin-top: 10px; }

/* Llamado a la acción a mitad de página */
.mid-cta { background: var(--ink-2); border-top: 1px solid var(--line-light); padding: 40px 0; }
.mid-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.mid-cta h2 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.mid-cta p { color: var(--muted-light); margin-top: 6px; }
.mid-cta__action { display: grid; justify-items: start; }

/* Comparación "genérico vs ByClass" (formato distinto a las tarjetas) */
.compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1fr; }
.compare__head span { padding: 14px 24px; font: 600 .78rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.compare__head .compare__bad { color: var(--muted); background: var(--paper); }
.compare__head .compare__good { color: var(--mint); background: var(--ink); }
.compare__row span { padding: 20px 24px; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.45; display: flex; gap: 12px; align-items: flex-start; }
.compare__row .compare__bad { color: var(--muted); background: var(--paper); }
.compare__row .compare__bad::before { content: "✕"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: rgba(11, 11, 11, .06); color: var(--muted); }
.compare__row .compare__good { color: var(--ink); font-weight: 600; font-family: var(--font-display); position: relative; overflow: hidden; }
.compare__row .compare__good::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--mint-4); color: var(--ink); box-shadow: 0 0 0 4px rgba(95, 203, 141, .18); }
.compare__row .compare__good::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(95, 203, 141, .18), transparent); transform: translateX(-100%); }
.compare__row { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * .18s + .15s); }
.compare.in .compare__row { opacity: 1; transform: none; }
.compare.in .compare__row .compare__good::after { animation: sweep 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * .18s + .45s); }
@keyframes sweep { to { transform: translateX(100%); } }

/* Bloque destacado (licitaciones y diferenciación) */
.svc-highlight { background: var(--mint); }

/* Sección oscura de diferenciación en la portada */
.diff { background: var(--ink); }
.diff h2 { color: var(--white); }
.diff .lead { color: var(--muted-light); }
.hl-grid--dark .hl { background: var(--ink-2); border-color: var(--line-light); }
.hl-grid--dark .hl b { color: var(--white); }
.hl-grid--dark .hl span { color: var(--muted-light); }
.hl-grid--dark .hl__icon { background: var(--mint); color: var(--ink); }
.hl-grid--dark .hl a { color: var(--mint); font-weight: 600; text-decoration: none; }
.hl-grid--dark .hl:hover { box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .8); border-color: rgba(227, 245, 234, .35); }

/* Recorrido animado (embudo horizontal) */
.svc-flow { background: var(--ink); overflow: hidden; }
.svc-flow h2 { color: var(--white); }
.flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px; background: rgba(227, 245, 234, .16); }
/* Luz que recorre el camino (la mueve main.js, funciona en horizontal y vertical) */
.flow__fill, .flow__pulse { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; }
.flow__fill {
  background: linear-gradient(90deg, rgba(95, 203, 141, .35), var(--mint-4)); border-radius: 2px;
  box-shadow: 0 0 10px rgba(95, 203, 141, .55); transition: width .55s cubic-bezier(.45, 0, .55, 1), height .55s cubic-bezier(.45, 0, .55, 1), opacity .4s;
}
.flow--vertical .flow__fill { background: linear-gradient(180deg, rgba(95, 203, 141, .35), var(--mint-4)); }
.flow__pulse {
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #BDF5D2;
  box-shadow: 0 0 0 4px rgba(95, 203, 141, .35), 0 0 24px 8px rgba(95, 203, 141, .75);
  opacity: 0; transition: opacity .35s; will-change: transform;
}
.flow__dot { transition: border-color .25s, box-shadow .25s, color .25s, background .25s, transform .25s; }
.flow__node.is-lit .flow__dot {
  border-color: var(--mint-4); color: #BDF5D2; transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(95, 203, 141, .18), 0 0 26px 4px rgba(95, 203, 141, .6);
}
.flow__node.is-lit b { color: #BDF5D2; }
/* Punto final: respira en verde 5 veces */
/* La respiración parte y termina en el mismo brillo con que llega la luz: sin saltos */
.flow__node.is-final .flow__dot {
  background: var(--mint-4); border-color: #BDF5D2; color: var(--ink); transition: none;
  transform: scale(1.06); box-shadow: 0 0 0 6px rgba(95, 203, 141, .18), 0 0 26px 4px rgba(95, 203, 141, .6);
  animation: breathe 1s ease-in-out 5;
}
.flow__node.is-final b { color: #BDF5D2; }
@keyframes breathe {
  0%, 100% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(95, 203, 141, .18), 0 0 26px 4px rgba(95, 203, 141, .6); }
  50% { transform: scale(1.16); box-shadow: 0 0 0 14px rgba(95, 203, 141, .12), 0 0 52px 16px rgba(95, 203, 141, .85); }
}
.flow__node { position: relative; text-align: center; display: grid; justify-items: center; gap: 8px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * .18s); }
.flow.in .flow__node { opacity: 1; transform: none; }
.flow__dot {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--ink-2); border: 2px solid rgba(227, 245, 234, .35); color: var(--mint); font: 700 1.1rem/1 var(--font-display);
}
@media (prefers-reduced-motion: reduce) {
  .flow__node:last-child .flow__dot { background: var(--mint); color: var(--ink); border-color: var(--mint); }
}
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(95, 203, 141, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(95, 203, 141, 0); } }
.flow__node b { font: 600 1rem/1.3 var(--font-display); color: var(--white); }
.flow__node small { font-size: .84rem; color: var(--muted-light); max-width: 20ch; line-height: 1.45; }

/* Métricas */
.svc-metrics { background: var(--paper); padding: clamp(56px, 7vw, 88px) 0; }
.svc-metrics__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.metric-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.metric-chips li {
  font: 600 .92rem/1 var(--font-display); color: var(--ink); background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 13px 18px; display: inline-flex; gap: 10px; align-items: center; transition: background .25s, color .25s;
}
.metric-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-4); }
.metric-chips li:hover { background: var(--ink); color: var(--mint); }
.svc-metrics .lead a { color: var(--ink); font-weight: 500; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 18px; max-width: 420px; margin: 0 auto; }
  .flow::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; }
  .flow__node { grid-template-columns: 60px 1fr; text-align: left; justify-items: start; column-gap: 16px; row-gap: 2px; }
  .flow__dot { grid-row: span 2; }
  .flow__node small { max-width: none; }
  .svc-metrics__inner { grid-template-columns: 1fr; gap: 24px; }
}

.chlist a.chlist__more, .chlist__ask {
  display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--ink); font: 600 .85rem/1 var(--font-display); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.chlist a.chlist__more { background: var(--ink); color: var(--mint); }
.chlist__ask { background: var(--mint); color: var(--ink); border-color: var(--line); }
.chlist__ask:hover, .chlist__ask:focus-visible { border-color: var(--ink); }
@media (max-width: 600px) {
  .chlist li { padding: 16px 16px 18px; gap: 12px 14px; }
  .chlist__actions { grid-column: 1 / -1; }
  .chlist a.chlist__more, .chlist__ask { padding: 0 14px; font-size: .82rem; }
}
.msg b { font-weight: 600; color: var(--ink); }
.msg__link { display: inline-block; margin-top: 2px; }

@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .kpi-panel { max-width: 520px; }
  .page-body__grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 600px) {
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__avatar { margin: 0 auto; width: 120px; height: 120px; }
  .page-hero__ctas .btn { width: 100%; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .funnel-sec__grid, .channels__grid, .cta__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 18ch; }
  .hero__visual { max-width: 560px; }
  .section__head--row { grid-template-columns: 1fr; gap: 0; }
  .section__head--row .lead { margin-top: 20px; }
  .photo-kpi { max-width: 560px; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--mint); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav__links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__quick { display: flex; gap: 20px; margin-left: auto; }
  .nav__quick a {
    font: 500 .85rem/1 var(--font-display); color: var(--ink); text-decoration: none; white-space: nowrap;
    padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .25s;
  }
  .nav__quick a:hover, .nav__quick a:focus-visible { border-bottom-color: var(--ink); }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; border: 0; background: var(--ink); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { width: 18px; height: 2px; background: var(--mint); transition: transform .3s; }
  .nav.open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .sgrid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before, .timeline::after { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__inner { gap: 12px; }
  .nav__cta { display: none; }
  .nav__quick { gap: 12px; }
  .nav__quick a { font-size: .74rem; }
  .logo { font-size: 1.2rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { padding: 44px 0 16px; }
  .float-card--a { left: 0; top: 0; }
  .float-card--b { right: 0; bottom: 18px; }
  .feed--a { left: 0; top: 0; }
  .feed--b { right: 0; bottom: 18px; }
  .feed { width: 250px; }
  .dash { padding: 16px; }
  .kpi { padding: 10px; }
  .kpi__value { font-size: 1.15rem; }
  .kpi__delta { display: none; }
  .ch { grid-template-columns: 84px 1fr; }
  .brand { padding: 0 28px; height: 64px; }
  .stage { height: 60px; font-size: .82rem; }
  .funnel__particles { height: 264px; }
  .timeline { grid-template-columns: 1fr; row-gap: 28px; }
  .tl { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
  .tl__n { grid-row: span 2; }
  .tl h3 { margin: 4px 0 4px; }
  .photo-kpi { padding: 0 0 40px; }
  .chip { min-width: 0; font-size: .8rem; }
  .chip--1 { right: 8px; }
  .chip--2 { left: 8px; }
  .chip--3 { right: 8px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { gap: 40px; }
  .statement { margin-top: 40px; }
}

@media (max-width: 600px) {
  .fab { right: 14px; bottom: 14px; gap: 10px; }
  .fab__label { display: none; }
  .fab__bot { width: 52px; height: 52px; padding: 0; justify-content: center; position: relative; }
  .fab__dot { position: absolute; top: 4px; right: 4px; }
  .fab__wa { width: 52px; height: 52px; }
  .fab.is-open { left: 14px; }
  .bot { width: 100%; max-width: none; height: min(600px, calc(100vh - 110px)); height: min(600px, calc(100dvh - 110px)); max-height: none; }
  /* Opciones rápidas en una sola fila deslizable: deja más espacio para leer la respuesta */
  .bot__quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bot__quick::-webkit-scrollbar { display: none; }
  .bot__quick button { flex: none; }
  .office { max-width: none; }
}

/* Celular: menos aire vacío y tarjetas compactas (ícono al lado del texto) */
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 28px; }
  .section__head--row .lead { margin-top: 14px; }
  .hl-grid--icons { gap: 10px; }
  .hl-grid--icons .hl { grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; align-items: start; }
  .hl-grid--icons .hl__icon { grid-row: span 2; margin: 0; }
  .method .timeline { row-gap: 18px; }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row span { padding: 12px 16px; border-top: 0; font-size: .95rem; }
  .compare__row .compare__bad { padding-bottom: 6px; text-decoration: line-through; text-decoration-color: rgba(11, 11, 11, .25); }
  .compare__row .compare__good { padding-top: 6px; background: var(--white); }
  .compare__row + .compare__row { border-top: 1px solid var(--line); }
  .mid-cta { padding: 32px 0; }
}

@media (max-width: 359px) {
  .nav__quick a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}
