/* LoomBids landing — sistema visual.
   Tokens alineados con frontend/src/theme/tokens.ts (navy, azul, neutros, Inter). */

:root {
  --shadow-lg: 0 2px 6px rgba(10, 15, 26, .05), 0 32px 80px -24px rgba(15, 29, 58, .28);
  --ink: #0F1D3A;
  --ink-soft: #16294F;
  --blue: #2B6EF5;
  --blue-hover: #1F5AD6;
  --blue-soft: #E8F0FF;
  --green: #0FB56E;
  --green-soft: #E6F8F0;
  --amber: #F5A623;
  --amber-soft: #FEF4E4;

  --n0: #FFFFFF;
  --n50: #F6F7F9;
  --n100: #EDEFF3;
  --n200: #E1E4EA;
  --n300: #CBD1DC;
  --n400: #9AA3B2;
  --n500: #6B7482;
  --n600: #4B5563;
  --n700: #343C49;
  --n900: #141A26;
  --n950: #0A0F1A;

  --bg: var(--n0);
  --fg: var(--n950);
  --fg-2: var(--n600);
  --fg-3: var(--n500);
  --line: var(--n200);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --section: 128px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 15, 26, .04), 0 12px 40px -12px rgba(15, 29, 58, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ───── Base ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--soft { background: var(--n50); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .lead, .section--ink p { color: rgba(255, 255, 255, .78); }
.section--ink .h2, .section--ink .h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head .lead { margin-top: 20px; }

/* ───── Tipografía ───── */
.display {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.h2--sm { font-size: clamp(1.625rem, 2.8vw, 2.125rem); }
.h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--fg-2); }
.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow--light { color: #8FB4FF; }
.eyebrow--n .num { color: var(--fg-3); margin-right: 6px; }
.pull {
  margin-top: 40px;
  padding-left: 20px;
  border-left: 3px solid var(--ink);
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--fg);
}
.tagline {
  margin-top: 72px;
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* ───── Botones ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; height: 44px; border-radius: 10px;
  font-weight: 600; font-size: .9375rem; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 38px; padding: 0 14px; font-size: .875rem; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--n300); }
.btn--ghost:hover { border-color: var(--fg); background: var(--n50); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--n100); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-white:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ───── Nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; }
.brand__word { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.03em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: .9375rem; font-weight: 500; color: var(--fg-2); }
.nav__links > a:not(.btn):hover { color: var(--fg); }
.nav__lang { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--fg); }
.nav__signin { color: var(--fg); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; height: 38px; padding: 0 12px; font-weight: 500; font-size: .875rem; }

/* ───── Hero ───── */
.hero { padding: 88px 0 var(--section); }
.hero__copy { max-width: 980px; margin: 0 auto; text-align: center; }
.hero__copy .lead { max-width: 680px; margin: 28px auto 0; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); }
.hero__support { margin-top: 16px; font-weight: 500; letter-spacing: -0.01em; }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust { margin-top: 24px; font-size: .875rem; color: var(--fg-3); }

/* ───── Capturas del producto ───── */
.frame { background: var(--n50); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame__bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--n50); border-bottom: 1px solid var(--line); }
.frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--n200); }
.frame img { display: block; width: 100%; height: auto; }
.shot { margin: 0; }
.shot figcaption { margin-top: 14px; font-size: .875rem; color: var(--fg-3); text-align: center; }
.shot--hero { position: relative; margin-top: 72px; }
.frame__img { position: relative; }
.marker {
  position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; line-height: 26px; text-align: center;
  border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(15, 29, 58, .18), 0 4px 12px rgba(15, 29, 58, .25);
}
.marker--1 { left: 20.5%; top: 8%; }
.marker--2 { left: 20.5%; top: 32%; }
.marker--3 { left: 75.5%; top: 9.5%; }
.legend { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; }
.legend li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.4; }
.legend__n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; line-height: 24px; text-align: center; margin-top: 1px; }
.legend strong { display: block; font-weight: 600; }
.legend div > span { color: var(--fg-3); }
.panelshot { max-width: 400px; margin: 0 auto; }
.panelshot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vis--1, .vis--2, .vis--3 { padding: 0; border: 0; background: transparent; box-shadow: none; }
.shot--team { margin-top: 72px; }
.pipeline { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
.pipeline__title { max-width: 560px; }
.pipeline__list { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.pipeline__item { position: relative; padding: 24px 24px 26px; border-left: 1px solid var(--line); }
.pipeline__item:first-child { border-left: 0; }
.pipeline__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--n300); }
.pipeline__item--2::before { background: var(--blue); }
.pipeline__item--3::before { background: var(--green); }
.pipeline__item--4::before { background: var(--ink); }
.pipeline__n { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.pipeline__item--3 .pipeline__n { color: var(--green); }
.pipeline__item strong { display: block; margin-top: 10px; font-weight: 600; }
.pipeline__item p { margin-top: 6px; font-size: .9375rem; color: var(--fg-2); }
.combo { position: relative; padding: 0 14% 10% 0; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; border: 5px solid var(--ink); box-shadow: var(--shadow-lg); background: #fff; }
.phone figcaption { margin-top: 10px; font-size: .8125rem; color: var(--fg-3); text-align: center; }

/* ───── Split layout ───── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split--wide { grid-template-columns: 1fr 1.15fr; }
.split__a .lead { margin-top: 20px; }
.split__a { position: sticky; top: 100px; }

/* ───── Problem ───── */
.pains li { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains__n { font-size: .8125rem; font-weight: 600; color: var(--fg-3); }

/* ───── Way / steps ───── */
.way__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); transition: opacity .3s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-weight: 600; font-size: .875rem; color: var(--blue); padding-top: 4px; }
.step p { margin-top: 8px; color: var(--fg-2); }
.js .steps.has-active .step:not(.is-active) { opacity: .45; }
.flow { position: sticky; top: 110px; }
.flow__shot { display: none; margin: 0; }
.flow__shot.is-active { display: block; }
.flow figcaption { margin-top: 12px; font-size: .875rem; color: var(--fg-3); }
.frame--flow { box-shadow: var(--shadow); }

/* ───── Pillars ───── */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar:nth-child(even) .pillar__copy { order: 2; }
.pillar__copy > p:not(.eyebrow) { margin-top: 20px; color: var(--fg-2); }
.ticks { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 3px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.ticks--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.pillar__vis { min-width: 0; }
.vis { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); font-size: .875rem; }

.lanes__title { font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .02em; color: var(--fg-3); margin-bottom: 16px; }
.lanes__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 8px 0; }
.lanes__name { font-weight: 500; color: var(--fg-2); }
.lanes__bar { position: relative; height: 10px; border-radius: 999px; background: var(--n100); }
.lanes__bar i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--blue-soft); }
.lanes__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--n100); font-size: .8125rem; font-weight: 500; }
.lanes__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lanes__legend > span::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--n300); }
.lanes__you { color: var(--fg-3); }
.lanes__cov { color: var(--green); }
.lanes__cov::before { background: var(--green) !important; }

.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--n200); }
.tl li { position: relative; padding: 10px 0; display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; }
.tl li::before { content: ""; position: absolute; left: -26px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--n300); }
.tl li.tl--won::before { border-color: var(--green); background: var(--green); }
.tl__t { font-size: .8125rem; font-weight: 600; color: var(--fg-3); }
.tl__e { color: var(--fg); }
.tl--won .tl__e { font-weight: 600; color: #0A8F56; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.paths__title { font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.paths__col--manual .paths__title { color: var(--fg-3); }
.paths__col--loom .paths__title { color: var(--blue); }
.paths li { padding: 10px 0; border-top: 1px solid var(--n100); position: relative; padding-left: 22px; }
.paths__col--manual li { color: var(--fg-3); }
.paths__col--manual li::before { content: "+"; position: absolute; left: 2px; color: var(--n400); font-weight: 600; }
.paths__col--loom li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 6px; height: 3px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ───── Band ───── */
.band { background: var(--ink); color: #fff; padding: 72px 0; }
.band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band p { margin-top: 12px; color: rgba(255, 255, 255, .75); }
.band__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: flex-end; }
.band__phone { width: 100%; text-align: right; font-size: .9375rem; color: rgba(255, 255, 255, .7); }
.band__phone a, .final__phone a { color: #fff; font-weight: 600; }

/* ───── Teams ───── */
.teams__sub { margin-top: 12px; font-size: 1.125rem; font-weight: 500; color: var(--blue); letter-spacing: -0.01em; }
.net { position: relative; display: grid; grid-template-columns: 40% 1fr 18%; align-items: center; min-height: 420px; }
.net__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__lines path { fill: none; stroke: var(--n300); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.net__lines .net__out { stroke: var(--blue); stroke-width: 2; }
.net__nodes { display: flex; flex-direction: column; justify-content: space-between; height: 100%; position: relative; z-index: 1; width: 50%; }
.net__nodes li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .8125rem; line-height: 1.35; display: flex; flex-direction: column; }
.net__nodes strong { font-weight: 600; }
.net__nodes span { color: var(--fg-3); white-space: nowrap; }
.net__center { position: relative; z-index: 1; justify-self: center; background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 20px; text-align: center; box-shadow: var(--shadow); }
.net__center strong { display: block; font-size: 1rem; }
.net__center span { display: block; font-size: .75rem; color: rgba(255, 255, 255, .7); margin-top: 4px; white-space: nowrap; }
.net__auction { position: relative; z-index: 1; justify-self: end; border: 1.5px solid var(--blue); color: var(--blue); border-radius: 10px; padding: 10px 14px; font-size: .875rem; }
.roles { margin-top: 88px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.roles__item, .cases__item, .points__item { border-top: 2px solid var(--ink); padding-top: 16px; }
.roles dt, .cases dt, .points dt { font-weight: 600; letter-spacing: -0.01em; }
.roles dd, .cases dd, .points dd { margin-top: 8px; font-size: .9375rem; color: var(--fg-2); }
.guarantees { margin-top: 80px; padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--n50); }
.guarantees .ticks { margin-top: 20px; }

/* ───── Pool ───── */
.pool .split__a { position: static; }
.poolvis { background: var(--ink-soft); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 22px; }
.poolvis__head { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: rgba(255, 255, 255, .6); }
.poolvis__counter { color: #fff; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.poolvis__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 18px; }
.poolvis__grid span { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.poolvis__grid .won, .sq--won { background: var(--green); }
.poolvis__grid .active, .sq--active { background: transparent; box-shadow: inset 0 0 0 2px var(--blue); }
.poolvis__grid .over, .sq--over { background: rgba(255, 255, 255, .12); }
.poolvis__grid .passed, .sq--passed { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.poolvis__legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.poolvis__legend span { display: inline-flex; align-items: center; gap: 8px; }
.sq { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.poolvis__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: rgba(255, 255, 255, .7); }
.poolvis__foot strong { color: var(--green); }
.pool__ab { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 80px; }
.pool__a, .pool__b { padding: 28px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); }
.pool__b { border-color: rgba(143, 180, 255, .5); background: rgba(43, 110, 245, .1); }
.pool__a p, .pool__b p { margin-top: 10px; }
.pool__capital { margin-top: 64px; max-width: 760px; }
.shot--similar { margin-top: 40px; }
.shot--similar .frame { border-color: rgba(255, 255, 255, .12); }
.section--ink .shot figcaption { color: rgba(255, 255, 255, .6); }
.pool__capital p { margin-top: 12px; }

/* ───── Cases ───── */
.cases .section__head { margin-bottom: 48px; }
.cases__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }

/* ───── Why ───── */
.contrasts li { padding: 24px 0; border-top: 1px solid var(--line); }
.contrasts li:last-child { border-bottom: 1px solid var(--line); }
.contrasts__pair { display: flex; align-items: center; gap: 14px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.contrasts__a { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--n300); text-decoration-thickness: 2px; }
.contrasts__arrow { width: 28px; height: 2px; background: var(--n300); position: relative; }
.contrasts__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--n300); border-right: 2px solid var(--n300); transform: rotate(45deg); }
.contrasts__b { color: var(--blue); }
.contrasts p { margin-top: 8px; color: var(--fg-2); }
.cmp { margin-top: 96px; }
.cmp__title { margin-bottom: 24px; }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9375rem; }
.cmp__table th, .cmp__table td { text-align: left; padding: 16px 20px; vertical-align: top; border-top: 1px solid var(--line); }
.cmp__table thead th { border-top: 0; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-3); font-weight: 600; padding-top: 18px; }
.cmp__table tbody th { font-weight: 600; color: var(--fg); width: 20%; }
.cmp__table td { color: var(--fg-2); }
.cmp__table td.cmp__loom { color: var(--fg); font-weight: 500; background: var(--blue-soft); }
.cmp__table thead th.cmp__loom { color: var(--blue); background: var(--blue-soft); }

/* ───── Vision ───── */
.points { display: flex; flex-direction: column; gap: 28px; }
.sources { margin-top: 48px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .875rem; }
.sources__label { color: var(--fg-3); margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; font-weight: 600; }
.sources__item { height: 36px; min-width: 96px; border-radius: 8px; border: 1px dashed var(--n300); }
.sources__item--on { border: 1px solid var(--ink); color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; }
.sources__more { color: var(--fg-3); }

/* ───── Final / form ───── */
.final .split__a { position: static; }
.final__alt { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.final__phone { color: rgba(255, 255, 255, .7); }
.form { background: #fff; color: var(--fg); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.form .h3 { margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--fg-2); }
.form__full { grid-column: 1 / -1; }
.form input, .form select {
  height: 46px; padding: 0 12px; border: 1px solid var(--n300); border-radius: 8px; background: #fff; color: var(--fg); font-size: 1rem; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form input:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form input[aria-invalid="true"] { border-color: #E32227; }
.form__submit { width: 100%; margin-top: 20px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { margin-top: 12px; font-size: .9375rem; min-height: 1.4em; }
.form__msg.is-ok { color: #0A8F56; }
.form__msg.is-err { color: #B71C20; }
.form__privacy { margin-top: 10px; font-size: .8125rem; color: var(--fg-3); }

/* ───── Footer ───── */
.footer { padding: 48px 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--fg-3); }
.footer__inner { display: grid; gap: 20px; }
.footer__brand { display: flex; justify-content: space-between; align-items: center; color: var(--fg); }
.footer__brand a { font-weight: 500; }
.footer__legal { max-width: 760px; }
.footer__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__lang a:hover { color: var(--fg); }

/* ───── Reveal (solo con JS y sin reduced-motion) ───── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .dot--live { animation: pulse 2.2s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--green-soft); } 50% { box-shadow: 0 0 0 6px rgba(15, 181, 110, .18); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .flow__card, .step { transition: none; }
}

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  :root { --section: 96px; }
  .split, .split--wide, .way__grid, .pillar { grid-template-columns: 1fr; gap: 40px; }
  .split__a, .flow { position: static; }
  .marker { display: none; }
  .flow { display: grid; gap: 28px; }
  .flow__shot { display: block; }
  .flow__shot[data-for="3"] .frame { max-width: 320px; }
  .pillar:nth-child(even) .pillar__copy { order: 0; }
  .roles, .cases__grid, .pipeline__list { grid-template-columns: repeat(2, 1fr); }
  .pipeline__item:nth-child(3) { border-left: 0; }
  .pipeline__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band__inner { grid-template-columns: 1fr; }
  .band__cta { justify-content: flex-start; }
  .band__phone { text-align: left; }
}
@media (max-width: 768px) {
  :root { --section: 72px; --gutter: 16px; }
  body { font-size: 16px; }
  .nav__inner { height: 60px; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: 12px 0; border-bottom: 1px solid var(--n100); }
  .nav__links > a.btn { margin-top: 12px; border-bottom: 0; }
  .nav__lang { align-self: flex-start; margin-top: 8px; border: 0; padding: 12px 0; }
  .hero { padding-top: 56px; }
  .hero__copy { text-align: left; }
  .hero__copy .lead { margin-left: 0; }
  .hero__cta { justify-content: flex-start; }
  .hero__cta .btn { flex: 1 1 auto; }
  .section__head { margin-bottom: 40px; text-align: left; }
  .roles, .cases__grid { grid-template-columns: 1fr; gap: 24px; }
  .legend { grid-template-columns: 1fr; gap: 12px; }
  .pipeline__list { grid-template-columns: 1fr; }
  .pipeline__item { border-left: 0; border-top: 1px solid var(--line); }
  .pipeline__item:first-child { border-top: 0; }
  .pipeline { margin-top: 64px; padding-top: 40px; }
  .ticks--2col, .pool__ab, .paths, .form__grid { grid-template-columns: 1fr; }
  .guarantees { padding: 24px; }
  .net { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .net__lines { display: none; }
  .net__nodes { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; height: auto; }
  .net__nodes li { flex: 1 1 40%; }
  .net__center, .net__auction { justify-self: stretch; text-align: center; }
  .net__center span { white-space: normal; }
  .cmp { margin-top: 64px; }
  .cmp__scroll { overflow: visible; border: 0; background: transparent; }
  .cmp__table { min-width: 0; display: block; }
  .cmp__table thead { display: none; }
  .cmp__table tbody, .cmp__table tr { display: block; }
  .cmp__table tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; margin-bottom: 12px; }
  .cmp__table tbody th, .cmp__table td { display: block; width: auto; border-top: 0; padding: 12px 16px; }
  .cmp__table tbody th { padding-bottom: 4px; }
  .cmp__table td::before { content: attr(data-col); display: block; font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; color: var(--fg-3); margin-bottom: 2px; font-weight: 600; }
  .cmp__table td.cmp__loom::before { color: var(--blue); }
  .form { padding: 24px; }
  .tagline { margin-top: 48px; text-align: left; }
  .pull { font-size: 1.125rem; }
  .contrasts__pair { font-size: 1.125rem; }
  .pillar { padding: 40px 0; }
  .poolvis__grid { grid-template-columns: repeat(6, 1fr); }
}
