/* Robin — estilos. Hueso cálido + tarjetas suaves + un solo acento verde. */
:root {
  --bg: #efede8;
  --card: #f7f6f2;
  --card-2: #f2f1ec;
  --ink: #121211;
  --mute: #63625d;
  --mute-2: #77756f;
  --line: #e0ddd6;
  --green: #65bf55;
  --green-dark: #1f3a1f;
  --green-ink: #2f7a27;
  --green-pale: #dcefd5;
  --green-wash: #edf6e9;
  --night: #131b14;
  --night-2: #1b261c;
  --night-line: #2c3a2d;

  --f-sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 24px;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 120px;
  /* Margen vertical de cada bloque: dos seguidos dejan unos 140 px entre el final de uno y el número del siguiente */
  --sec: clamp(48px, 5vw, 72px);
  --shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 2px rgba(20,20,10,.04), 0 24px 48px -30px rgba(40,38,30,.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-feature-settings: 'tnum'; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--green-pale); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ── Card base ── */
.card, .svc__visual, .screen, .perk, .price__item, .calc, .versus__item, .trust__row {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.6);
}
.card__head { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; }
.ico { width: 26px; height: 26px; color: var(--green); flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Wordmark: "Robin" negro, punto de la i en verde ── */
.wordmark { font-family: var(--f-sans); font-weight: 600; letter-spacing: -.045em; line-height: .9; color: var(--ink); text-decoration: none; display: inline-flex; }
.wm-i { position: relative; display: inline-block; }
.wm-i::after {
  content: ''; position: absolute; left: 50%; top: .07em; width: .15em; height: .15em; border-radius: 50%;
  background: var(--green); transform: translateX(-46%);
}
.wordmark--nav { font-size: 28px; }
.wordmark--hero { font-size: clamp(96px, min(19vw, 26svh), 300px); }
.wordmark--hero > span { display: inline-block; will-change: transform; }
.wordmark--footer { font-size: 26vw; letter-spacing: -.06em; justify-content: center; width: 100%; }

/* ── Type ── */
.label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: var(--s-3); display: flex; align-items: center; gap: 10px;
}
.label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.h2 { font-weight: 400; font-size: clamp(42px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; }
.h2--xl { font-size: clamp(56px, 8.4vw, 132px); }
.h3 { font-weight: 400; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.03em; }
.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  font: 500 16px/1 var(--f-sans); padding: 17px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--green-dark); }
.btn--accent { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.btn--accent::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.btn--accent:hover { background: var(--green-dark); }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: var(--s-4);
  padding: 14px var(--gutter); background: rgba(239,237,232,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__links { display: flex; gap: var(--s-3); margin-left: auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--mute); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ── Hero ── */
.hero {
  min-height: 100svh; padding: 120px var(--gutter) var(--s-5);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-3);
}
.hero__brand { margin-bottom: 4px; }
.hero__claim { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -.03em; }
.hero__sub { color: var(--mute); max-width: 520px; font-size: 18px; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__card { width: min(1100px, 100%); margin-top: var(--s-4); padding: var(--s-3) var(--s-3) var(--s-2); text-align: left; }
.hero__map { position: relative; height: clamp(150px, 22vw, 250px); margin-top: var(--s-2); }
.streets { position: absolute; inset: 0 0 34px 0; width: 100%; height: calc(100% - 34px); }
.streets__grid path { fill: none; stroke: var(--line); stroke-width: 1.4; }
.streets__diag { stroke-dasharray: 2 6; }
.route { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.route--thin { stroke-width: 2.5; stroke: var(--ink); opacity: .14; }
.pin { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; }
.pin--home { fill: var(--green-dark); stroke: var(--green-dark); }
.rider { fill: var(--green); stroke: #fff; stroke-width: 3; }
.ticker { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--mute-2); }
.ticker li { transition: color .3s; }
.ticker li.on { color: var(--ink); }
.ticker li.on::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }

/* ── Savings ── */
.savings { padding: var(--sec) var(--gutter); }
.savings > .label { justify-content: center; }
.savings__title { margin-bottom: var(--s-5); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.versus__item { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.versus__vs { display: none; }
.big-num { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: clamp(96px, 13vw, 210px); line-height: .9; letter-spacing: -.06em; }
.big-num small { font-size: .2em; letter-spacing: .02em; margin-left: .15em; color: var(--mute); }
.versus__item--them .big-num { color: var(--mute-2); }
.versus__item--us { background: var(--green-wash); }
.versus__item--us .big-num { color: var(--green-dark); }
.versus__who { font-size: 18px; font-weight: 500; order: -1; }
.versus__plus { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; color: var(--green-dark); margin-top: -6px; }
.versus__arrow { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: var(--s-1); text-decoration: none; font-family: var(--f-mono); font-size: 13px; color: var(--green-ink); }
.versus__arrow svg { width: 18px; height: 30px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s var(--ease) infinite; }
.versus__arrow:hover span { text-decoration: underline; }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }

.calc { margin-top: var(--s-3); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-5); padding: var(--s-4); }
/* Las barras se reparten en toda la altura del bloque (la columna de resultados es más alta) */
.calc__inputs { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-3); }
.calc__inputs > * { margin-bottom: 0; }
.calc__title { font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.03em; margin-bottom: var(--s-4); }
.field { display: block; margin-bottom: var(--s-4); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); margin-bottom: 12px; font-size: 16px; color: var(--mute); }
/* Cifra editable junto a cada barra: se escribe encima, con el mismo aspecto que una cifra fija */
.num { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; font-family: var(--f-mono); font-feature-settings: 'tnum'; color: var(--ink); font-size: 19px; font-weight: 300; }
.num i { font-style: normal; }
.num__in { font: inherit; color: inherit; width: 4ch; min-width: 2ch; padding: 0 0 1px; margin: 0; border: 0; border-bottom: 1.5px dotted rgba(18,18,17,.28); border-radius: 0; background: transparent; text-align: right; cursor: text; transition: border-color .2s; }
.num__in:hover { border-bottom-color: var(--ink); }
.num__in:focus { outline: none; border-bottom: 1.5px solid var(--green); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--fill, var(--green)) var(--p, 50%), #e4e2dc var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: #e4e2dc; }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--fill, var(--green)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
/* Comisión y reparto: secundarios, más pequeños y con un verde suave */
.field--sm { --fill: #b5dcaa; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 0; padding: 14px 16px 8px; border-radius: 14px; background: var(--card-2); }
.field--sm .field__row { font-size: 13.5px; line-height: 1.3; margin-bottom: 6px; }
.field--sm .num { font-size: 16px; }
.field--sm input[type=range] { height: 22px; }
.field--sm input[type=range]::-webkit-slider-runnable-track { height: 5px; }
.field--sm input[type=range]::-moz-range-track, .field--sm input[type=range]::-moz-range-progress { height: 5px; }
.field--sm input[type=range]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6.5px; }
.field--sm input[type=range]::-moz-range-thumb { width: 18px; height: 18px; }
.field__hint { font-size: 12px; color: var(--mute); margin-bottom: 4px; }
@media (max-width: 560px) {
  .field--sm { padding: 12px 12px 6px; }
}
.calc__note { padding: 14px 16px; border-radius: 14px; background: var(--card-2); font-size: 15px; line-height: 1.45; color: var(--mute); }
.calc__note b { color: var(--ink); font-weight: 600; }

/* Resultados: ahorro (mes y año) → cuánto menos pagas → plataforma vs Robin → desglose de lo que pagas con Robin */
.calc__out { background: var(--green-wash); border-radius: 18px; padding: var(--s-4); display: grid; gap: var(--s-3); align-content: start; }
.calc__save { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.calc__save > div { container-type: inline-size; min-width: 0; }
.calc__lead { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--green-ink); }
.calc__big { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: min(92px, 24cqi); line-height: 1; letter-spacing: -.05em; color: var(--green-dark); margin-top: 10px; white-space: nowrap; }
.calc__big small { font-size: .32em; color: var(--mute); letter-spacing: 0; }
.calc__pct { display: flex; align-items: center; gap: var(--s-3); padding: 14px 0; border-top: 1px solid rgba(31,58,31,.14); border-bottom: 1px solid rgba(31,58,31,.14); }
.calc__pct-n { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: clamp(52px, 5vw, 76px); line-height: 1; letter-spacing: -.045em; color: var(--green-ink); white-space: nowrap; }
.calc__pct-t { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.02em; color: var(--green-dark); }
.calc__vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__vs > div { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.55); }
.calc__vs > div > span { font-size: 14px; color: var(--mute); }
.calc__vs b { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: var(--mute-2); white-space: nowrap; }
.calc__vs b small { font-size: .42em; letter-spacing: 0; color: var(--mute); margin-left: 3px; }
.calc__vs em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.calc__vs-us b { color: var(--green-dark); }
.calc__vs-us em { color: var(--green-ink); }
/* "Con Robin": la barra de reparto, el % que pagas y la suma que da el total, en una sola tarjeta */
.calc__robin { display: grid; gap: var(--s-3); padding: var(--s-3); border-radius: 18px; background: #fff; }
.calc__robin-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.calc__pays { display: grid; align-content: center; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--green-wash); }
.calc__pays span { font-size: 14px; color: var(--mute); }
.calc__pays b { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.03em; color: var(--green-dark); }
.calc__pays em { font-style: normal; font-size: 12px; color: var(--green-ink); }
/* La suma de Robin, con lo que se lleva Glovo / Uber Eats en paralelo, fila a fila */
.calc__sum { width: 100%; border-collapse: collapse; }
.calc__sum th, .calc__sum td { padding: 5px 0; vertical-align: baseline; }
.calc__sum thead th { padding: 0 0 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; text-align: right; color: var(--green-ink); }
.calc__sum tbody th { text-align: left; font-size: 15px; font-weight: 400; color: var(--mute); }
.calc__sum th i { display: inline-block; width: 1ch; margin-right: 10px; font-style: normal; font-family: var(--f-mono); color: var(--green-ink); }
.calc__sum td { font-family: var(--f-mono); font-size: 17px; text-align: right; white-space: nowrap; color: var(--mute); }
.calc__sum td:last-child, .calc__sum thead th:last-child { padding-left: var(--s-4); color: var(--mute-2); }
.calc__sum td:nth-child(2) { padding-left: var(--s-3); }
.calc__total th, .calc__total td { padding-top: 12px; border-top: 1.5px solid var(--ink); }
.calc__sum .calc__total th { font-size: 16px; font-weight: 600; color: var(--ink); }
.calc__total td { font-size: 26px; }
.calc__total td:nth-child(2) { color: var(--green-dark); }
.calc__equiv { color: var(--mute); }
.calc__equiv strong { color: var(--ink); font-weight: 600; }

/* ── Marquee ── */
.marquee { overflow: hidden; padding: var(--s-4) 0; }
.marquee__track {
  display: flex; gap: .35em; white-space: nowrap; width: max-content;
  font-weight: 300; font-size: clamp(56px, 9vw, 150px); line-height: 1; letter-spacing: -.045em; color: var(--ink);
}
.marquee__track i { font-style: normal; color: var(--green); }

/* ── Services (pin horizontal) ── */
.services { position: relative; }
/* Altura justa: el JS lo fija centrado en pantalla, así no queda media pantalla vacía al llegar */
.services__pin { display: flex; flex-direction: column; padding: 40px 0 32px; overflow: hidden; }
.services__head { padding: 0 var(--gutter); margin-bottom: clamp(20px, 4svh, 48px); text-align: center; }
.services__head .label { justify-content: center; }
.services__head .h2 { font-size: clamp(34px, min(4.2vw, 6.4svh), 64px); }
/* Padding lateral = media pantalla menos media tarjeta: cada tarjeta puede quedar centrada, también la primera y la última */
.services__track { flex: 0 0 auto; height: clamp(340px, calc(100svh - 330px), 520px); display: flex; gap: var(--s-3); padding: 0 calc((100vw - min(72vw, 940px)) / 2); width: max-content; }
.svc {
  width: min(72vw, 940px); height: 100%; max-height: 520px; display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto 1fr;
  column-gap: var(--s-4); padding: var(--s-4); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.svc__n { font-family: var(--f-mono); font-size: 13px; color: var(--green-ink); grid-column: 1; }
.svc__title { grid-column: 1; font-weight: 400; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -.03em; margin: var(--s-2) 0 var(--s-3); }
.svc__list { grid-column: 1; display: grid; gap: 12px; align-content: start; }
.svc__list li { display: flex; gap: 12px; font-size: 17px; color: var(--mute); }
.svc__list li::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 9px; }
.svc__visual { grid-column: 2; grid-row: 1 / span 3; min-height: 0; background: var(--card-2); box-shadow: none; display: grid; place-items: center; position: relative; overflow: hidden; }
.grid-lite { fill: none; stroke: var(--line); stroke-width: 1.2; }
.shop-sq { fill: var(--ink); }

.vis-store { gap: var(--s-3); grid-template-columns: auto auto; padding: var(--s-4); }
.tablet { width: 250px; background: #fff; border: 9px solid var(--ink); border-radius: 22px; padding: 10px; display: grid; gap: 8px; }
.tablet__bar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.tablet__order { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; padding: 10px; background: var(--card-2); border-radius: 10px; font-size: 12.5px; }
.tablet__order b { font-weight: 600; }
.tablet__order em { font-style: normal; font-size: 12px; }
.tablet__order--new { background: var(--green-pale); animation: newOrder 4s var(--ease) infinite; }
@keyframes newOrder { 0%, 8% { transform: translateY(-14px); opacity: 0; } 18%, 100% { transform: none; opacity: 1; } }
.printer { width: 130px; position: relative; align-self: start; margin-top: 30px; }
.printer__slot { height: 24px; background: var(--ink); border-radius: 8px 8px 3px 3px; position: relative; z-index: 2; }
.ticket {
  margin: -4px 12px 0; background: #fff; padding: 14px 12px; display: grid; gap: 4px; font-size: 11px;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.3); transform-origin: top; animation: print 4s steps(14) infinite;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 84% 96%, 76% 100%, 68% 96%, 60% 100%, 52% 96%, 44% 100%, 36% 96%, 28% 100%, 20% 96%, 12% 100%, 4% 96%, 0 100%);
}
@keyframes print { 0%, 15% { transform: scaleY(0); } 55%, 100% { transform: scaleY(1); } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(101,191,85,.55); } 70% { box-shadow: 0 0 0 10px rgba(101,191,85,0); } 100% { box-shadow: 0 0 0 0 rgba(101,191,85,0); } }

.vis-fleet svg, .vis-chart svg { width: 86%; }
.vis-fleet .rider { stroke-width: 2; }
.spark { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bars-mini rect { fill: var(--green); opacity: .22; }
.wallet { width: 260px; background: #fff; padding: var(--s-3); display: grid; gap: 10px; border-radius: 20px; box-shadow: var(--shadow); }
.wallet__label { font-size: 12px; color: var(--mute); }
.wallet__amount { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: 54px; line-height: 1; letter-spacing: -.04em; }
.wallet__stamps { display: flex; gap: 8px; }
.wallet__stamps i { width: 24px; height: 24px; border-radius: 50%; background: var(--card-2); border: 1.5px solid var(--line); }
.wallet__stamps i.on { background: var(--green); border-color: var(--green); }
.wallet__hint { font-size: 12px; color: var(--green-ink); }

/* ── Panel (scrollytelling) ── */
.panel { padding: var(--sec) var(--gutter); }
.panel__intro { margin-bottom: var(--s-5); text-align: center; }
.panel__intro .label { justify-content: center; }
.panel__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-6); }
.panel__sticky { position: sticky; top: calc((100svh + 64px - min(100svh - 120px, 640px)) / 2); height: calc(100svh - 120px); max-height: 640px; }
.screen { position: relative; height: 100%; overflow: hidden; }
.screen__chrome { display: flex; align-items: center; gap: 6px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 12px; }
.screen__chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.screen__chrome i:first-child { background: var(--green); }
.screen__chrome span { margin-left: 12px; color: var(--mute); }
.layer {
  position: absolute; inset: 50px 0 0 0; padding: clamp(18px, 3vw, 40px);
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-3);
}
.screen[data-state="0"] .layer--0, .screen[data-state="1"] .layer--1, .screen[data-state="2"] .layer--2,
.screen[data-state="3"] .layer--3, .screen[data-state="4"] .layer--4, .screen[data-state="5"] .layer--5 { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.layer > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.screen[data-state="0"] .layer--0 > *, .screen[data-state="1"] .layer--1 > *, .screen[data-state="2"] .layer--2 > *,
.screen[data-state="3"] .layer--3 > *, .screen[data-state="4"] .layer--4 > *, .screen[data-state="5"] .layer--5 > * { opacity: 1; transform: none; }
.layer > :nth-child(2) { transition-delay: .12s; } .layer > :nth-child(3) { transition-delay: .24s; }

/* A · pedido: tres puntos conectados con el mismo estado */
.nodes3 { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 32px); }
.nodes3::before { content: ''; position: absolute; left: 16%; right: 16%; top: 34%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px); }
.nodes3::after { content: ''; position: absolute; top: calc(34% - 4px); left: 16%; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(101,191,85,.22); animation: hop 3.2s var(--ease) infinite; }
@keyframes hop { 0%, 6% { left: 16%; } 44%, 56% { left: calc(50% - 5px); } 94%, 100% { left: calc(84% - 10px); } }
.n3 { position: relative; z-index: 1; display: grid; justify-items: center; gap: 3px; padding: 18px 8px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; transition: border-color .3s, box-shadow .3s; }
.n3.ping { border-color: var(--green); box-shadow: 0 0 0 4px rgba(101,191,85,.16); }
.n3__ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 13px; background: var(--green-wash); color: var(--green-dark); }
.n3--hub .n3__ico { background: var(--green-dark); color: #fff; }
.n3__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.n3 b { font-weight: 600; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.2; }
.n3 em { font-style: normal; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.n3__st { margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--green-pale); color: var(--green-dark); font-size: 11.5px; white-space: nowrap; }
.sync-pill { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--green-wash); color: var(--green-ink); font-size: 12.5px; }
.sync-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.prog li { display: grid; gap: 5px; min-width: 0; font-size: clamp(10.5px, .9vw, 12px); color: var(--mute-2); transition: color .3s; }
.prog li i { height: 4px; border-radius: 99px; background: var(--line); transition: background .4s; }
.prog li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prog li b { font-weight: 400; }
.prog li.on { color: var(--mute); }
.prog li.on i { background: var(--green); }
.prog li.now { color: var(--ink); }

.layer--1 { flex-direction: row; align-items: center; }
.zones { width: 46%; flex: none; }
.z { fill: none; stroke: var(--green-dark); stroke-width: 1.2; opacity: .5; }
.z1 { fill: var(--green-pale); stroke: var(--green); opacity: 1; }
.z2 { stroke-dasharray: 5 5; }
.z3 { stroke-dasharray: 2 6; }
.z-dots circle { fill: var(--green-dark); }
.ztable, .htable { width: 100%; border-collapse: collapse; font-size: clamp(12px, 1.05vw, 14px); }
.ztable th, .htable th { text-align: left; font-weight: 400; color: var(--mute); padding: 8px 6px; border-bottom: 1px solid var(--ink); }
.ztable td, .htable td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ztable .hl td { color: var(--green-ink); }

.heat { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 16px; gap: 4px; }
.heat i { background: var(--green-dark); opacity: var(--o); border-radius: 3px; }
.heat__axis { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 11px; color: var(--mute); text-align: center; margin-top: -12px; }
.top { display: grid; gap: 8px; font-size: 13px; }
.top div { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; }
.top i { height: 8px; border-radius: 99px; background: var(--green); transform: scaleX(var(--w)); transform-origin: left; }

.inc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.inc__col { display: grid; gap: 12px; align-content: start; }
.inc__tag { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.inc__step { position: relative; padding: 14px; background: #fff; border-radius: 12px; font-weight: 500; font-size: clamp(14px, 1.3vw, 16px); line-height: 1.25; }
.inc__step + .inc__step::before { content: '↓'; position: absolute; top: -17px; left: 14px; font-size: 13px; color: var(--mute); }
.inc__step--us { background: var(--green-dark); color: #fff; }
.inc__step--you { background: var(--green-pale); color: var(--green-dark); }

.export, .cats { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 12px; line-height: 1; color: var(--ink); }
.chip--on { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

.menu { display: grid; gap: 8px; }
.menu li { display: grid; grid-template-columns: 38px 1fr auto auto; gap: 14px; align-items: center; padding: 8px 10px; background: #fff; border-radius: 12px; font-weight: 500; font-size: 15px; }
.menu em { font-style: normal; font-weight: 300; font-size: 13px; }
.menu__img { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--green-wash), var(--green-pale)); }
.tgl { width: 40px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .3s; }
.tgl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.tgl.on { background: var(--green); }
.tgl.on::after { transform: translateX(18px); }
.screen[data-state="5"] .menu__flip .tgl { animation: flipOn .4s 1s var(--ease) forwards; }
.screen[data-state="5"] .menu__flip .tgl::after { animation: flipKnob .4s 1s var(--ease) forwards; }
@keyframes flipOn { to { background: var(--green); } }
@keyframes flipKnob { to { transform: translateX(18px); } }

.panel__steps { display: grid; }
.step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; max-width: 460px; opacity: .22; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
/* El último paso mide lo mismo que la pantalla fija: el bloque termina justo cuando ella deja de estar fija */
.step:last-child { min-height: min(100svh - 120px, 640px); }
.step.is-active { opacity: 1; transform: none; }
.step.is-past { transform: translateY(-12px); }
.step__n { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--green-ink); margin-bottom: var(--s-2); }
.step h3 { font-weight: 400; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: var(--s-2); }
.step p { font-size: 18px; color: var(--mute); }

/* ── Loyalty ── */
/* Fidelización en banda oscura suave: separa el bloque de Panel y de Otros servicios */
.loyalty { --band: #2b3a2e; padding: calc(var(--sec) * 1.25) var(--gutter); text-align: center; background: var(--band); color: #fff; }
.loyalty > .label { color: rgba(255,255,255,.6); }
.loyalty .label::before { background: var(--green); }
.loyalty .perk { color: var(--ink); }
.loyalty > .label { justify-content: center; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin-top: var(--s-5); text-align: left; }
.perk { padding: var(--s-4) var(--s-3); display: grid; gap: 10px; align-content: start; }
.perk h3 { font-weight: 500; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.perk p { color: var(--mute); font-size: 16px; }
.perk__glyph { height: 56px; display: flex; align-items: center; gap: 5px; margin-bottom: var(--s-2); }
.glyph-cal i { font-style: normal; font-family: var(--f-mono); font-size: 11px; width: 24px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--card-2); color: var(--mute); }
.glyph-cal i.on { background: var(--green); color: #fff; }
.glyph-crew i { width: 32px; height: 32px; border-radius: 50%; background: var(--green-pale); margin-left: -12px; border: 3px solid var(--card); }
.glyph-crew i:first-child { margin-left: 0; }
.glyph-crew i.on { background: var(--green); }
.glyph-cash { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: 48px; color: var(--green-dark); letter-spacing: -.04em; }
.glyph-code { font-size: 14px; letter-spacing: .14em; border: 1.5px dashed var(--green); color: var(--green-dark); border-radius: 10px; padding: 10px 14px; height: auto; align-self: start; display: inline-flex; }

/* Automatizaciones: maqueta de la herramienta, con la lista a la izquierda y el ejemplo activo a la derecha */
.auto { max-width: 1040px; margin: var(--s-6) auto 0; text-align: left; }
.auto__head { text-align: center; margin-bottom: var(--s-4); }
.auto__head p { margin-top: 12px; font-size: 18px; color: rgba(255,255,255,.7); }
.auto__app { overflow: hidden; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.auto__bar { display: flex; align-items: center; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.auto__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.auto__bar i:first-child { background: var(--green); }
.auto__bar span { margin-left: 12px; }
.auto__body { display: grid; grid-template-columns: 280px 1fr; }
.auto__list { display: grid; gap: 2px; align-content: start; padding: var(--s-3) var(--s-2); background: var(--card-2); border-right: 1px solid var(--line); }
.auto__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 15px; color: var(--mute); }
.auto__list li.is-on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.auto__list .tgl { flex: none; }
.flow { padding: var(--s-4); }
.flow__title { margin-bottom: var(--s-3); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.flow__title span { color: var(--green-ink); }
.flow__steps { position: relative; display: grid; gap: 14px; }
.flow__steps::before { content: ''; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 2px; background: var(--green); transform: scaleY(var(--grow, 1)); transform-origin: top; }
.flow__steps li { position: relative; margin-left: 58px; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.flow__steps li::before { content: attr(data-n); position: absolute; left: -58px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 2px solid var(--green); font: 500 14px var(--f-mono); color: var(--green-dark); }
.flow__steps li:last-child { background: var(--green-pale); border-color: transparent; }
.flow__steps li:last-child::before { background: var(--green); color: var(--night); }
.flow__steps span { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.flow__steps b { display: block; font-weight: 500; font-size: 17px; line-height: 1.25; }
.flow__steps small { display: block; margin-top: 3px; font-size: 14px; color: var(--mute); }

/* ── Otros servicios ── */
.extra { padding: var(--sec) var(--gutter); }
.extra > .label { justify-content: center; }
/* Dos tarjetas gemelas: imagen arriba, texto debajo */
.extra { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: stretch; }
.extra > .label, .extra > .h2 { grid-column: 1 / -1; }
.extra > .h2 { margin-bottom: var(--s-4); }
.xsvc { display: grid; grid-template-rows: auto auto 1fr; gap: 24px; align-content: start; padding: 32px; background: var(--card); border-radius: 32px; box-shadow: var(--shadow); }
.xsvc .h3 { font-size: clamp(26px, 2.2vw, 32px); }
.xsvc__sub { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.xsvc .ba, .xsvc .sync { box-shadow: none; background: var(--card-2); }
.xsvc .sync { min-height: 324px; padding: var(--s-3); }
.xsvc__tag { display: inline-flex; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--green-ink); background: var(--green-wash); padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.xsvc__list { margin-top: var(--s-3); display: grid; gap: 12px; }
.xsvc__list li { position: relative; padding-left: 20px; font-size: 17px; color: var(--mute); }
.xsvc__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.xsvc__list b { color: var(--ink); font-weight: 600; }

/* Antes / después de la web */
.ba { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ba__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.ba__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ba__bar span { margin-left: 10px; padding: 4px 12px; background: var(--card-2); border-radius: 999px; }
.ba__view { position: relative; height: 280px; }
.ba__page { position: absolute; inset: 0; padding: var(--s-3); }
.ba__before { background: #f4f4f4; font-family: 'Times New Roman', serif; color: #555; display: grid; align-content: start; gap: 12px; }
.old__title { font-size: 22px; color: #2a3f9e; text-decoration: underline; }
.old__img { height: 38%; background: repeating-linear-gradient(45deg, #ddd 0 10px, #e8e8e8 10px 20px); border: 1px solid #ccc; }
.old__txt { font-size: 14px; }
.ba__after { clip-path: inset(0 0 0 var(--x)); background: #fff; display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 12px; }
.new__hero { background: var(--green-dark); color: #fff; border-radius: 16px; padding: var(--s-3); display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 10px; }
.new__brand { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.new__claim { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.03em; }
.new__btn { background: var(--green); color: var(--night); font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px; }
.new__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.new__cards i { height: 64px; border-radius: 12px; background: linear-gradient(135deg, var(--green-wash), var(--green-pale)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ba__handle b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.ba__handle b::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; letter-spacing: 2px; }
.ba__handle span { position: absolute; bottom: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; background: var(--ink); color: #fff; padding: 4px 8px; border-radius: 6px; }
.ba__handle span:first-child { right: 12px; }
.ba__handle span:last-of-type { left: 12px; background: var(--green); color: var(--night); }
.ba__range { position: absolute; left: 0; right: 0; bottom: 0; top: 45px; width: 100%; height: auto; opacity: 0; cursor: ew-resize; margin: 0; }

/* Sinqro: de muchas tablets a una lista */
.sync { display: grid; grid-template-columns: auto auto 1fr; gap: var(--s-3); align-items: center; padding: var(--s-4); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.sync__cap { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-bottom: 12px; }
.sync__srcs { display: grid; gap: 10px; }
.sync__src { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 128px; padding: 12px 14px; background: #fff; border: 5px solid var(--ink); border-radius: 12px; font-size: 14px; font-weight: 500; transition: transform .3s var(--ease); }
.sync__src i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .2s; }
.sync__src.ping { transform: scale(1.05); }
.sync__src.ping i { background: #e5533d; }
.sync__arrow { width: 40px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sync__screen { background: #fff; border: 8px solid var(--ink); border-radius: 18px; padding: 12px; min-width: 0; }
.sync__bar { display: flex; justify-content: space-between; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin-bottom: 10px; }
.sync__list { display: grid; gap: 6px; height: 184px; overflow: hidden; align-content: start; }
.sync__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--card-2); border-radius: 10px; font-size: 13px; animation: syncIn .5s var(--ease); }
.sync__list li:first-child { background: var(--green-pale); }
.sync__list em { font-style: normal; font-family: var(--f-mono); font-size: 10.5px; padding: 3px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.sync__list b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sync__list span { font-family: var(--f-mono); font-size: 12px; }
@keyframes syncIn { from { opacity: 0; transform: translateY(-10px); } }
.sync__tpv { margin-top: 10px; font-size: 11px; color: var(--green-ink); text-align: right; }

/* ── Trust ── */
.trust { padding: 0 var(--gutter) var(--sec); }
.trust .label { justify-content: center; }
.trust__row { display: flex; align-items: center; justify-content: center; gap: var(--s-5); flex-wrap: wrap; padding: var(--s-4); }
.trust__client { display: flex; align-items: center; gap: var(--s-3); }
.trust__client img { height: 76px; width: auto; }
.trust__client figcaption { font-size: 14px; color: var(--mute); }

/* ── Price ── */
.price { padding: 0 var(--gutter) var(--sec); }
.price > .label { justify-content: center; }
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.price__item { padding: var(--s-4); display: grid; gap: var(--s-2); }
.price__num { font-family: var(--f-sans); font-weight: 300; font-feature-settings: 'tnum'; font-size: clamp(110px, 14vw, 220px); line-height: .9; letter-spacing: -.06em; }
.price__num small { font-size: .22em; color: var(--mute); letter-spacing: 0; margin-left: .1em; }
.price__item--accent { background: var(--green-wash); }
.price__item--accent .price__num { color: var(--green-dark); }
.price__plus { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; color: var(--green-dark); }
.price__what { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.price__list { display: grid; gap: 8px; margin-top: var(--s-2); }
.price__list li { font-size: 17px; display: flex; gap: 12px; align-items: center; }
.price__list li::before { content: ''; flex: 0 0 18px; height: 18px; border-radius: 50%; background: var(--green-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%231f3a1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price__note { margin: var(--s-4) auto 0; max-width: 640px; text-align: center; font-size: 17px; color: var(--mute); }
.price__note b { color: var(--ink); font-weight: 600; }
.price__note a { color: var(--green-ink); white-space: nowrap; }

/* ── Contacto: reserva de llamada ── */
.contact { padding: var(--sec) var(--gutter); display: grid; gap: var(--s-4); }
.contact__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; }
.contact__sub { font-size: 19px; color: var(--mute); max-width: 420px; }
.book { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: var(--s-4); padding: var(--s-4); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.book__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.book__month { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.book__month::first-letter { text-transform: uppercase; }
.book__nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.book__nav:disabled { opacity: .3; cursor: default; }
.book__dow, .book__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.book__dow { font-size: 11px; color: var(--mute); margin-bottom: 6px; }
.book__day { aspect-ratio: 1; border: 0; border-radius: 12px; background: #fff; font: 500 15px var(--f-sans); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.book__day:hover:not(:disabled) { background: var(--green-pale); }
.book__day:disabled { background: transparent; color: var(--mute-2); cursor: default; font-weight: 400; }
.book__day.is-today { box-shadow: inset 0 0 0 1.5px var(--green); }
.book__day.is-sel { background: var(--ink); color: #fff; }
.book__pick { font-size: 16px; font-weight: 500; margin: 8px 0 var(--s-2); min-height: 1.5em; }
.book__pick::first-letter { text-transform: uppercase; }
.book__times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book__time { padding: 11px 0; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 400 14px var(--f-mono); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.book__time:hover:not(:disabled) { border-color: var(--green); }
.book__time:disabled { color: var(--mute-2); text-decoration: line-through; cursor: default; background: transparent; }
.book__time.is-sel { background: var(--green); border-color: var(--green); color: var(--night); }
.book__empty { grid-column: 1 / -1; font-size: 14px; color: var(--mute); }
.book__form { display: grid; gap: 14px; align-content: start; }
.book__sel { font-size: 13px; padding: 10px 14px; border-radius: 12px; background: var(--card-2); color: var(--mute); }
.book__sel.on { background: var(--green-wash); color: var(--green-dark); }
.book__form label { display: grid; gap: 6px; }
.book__form label span { font-size: 14px; color: var(--mute); }
.book__form input {
  font: 400 17px var(--f-sans); color: var(--ink); background: #fff; border: 1px solid var(--line);
  padding: 12px 15px; border-radius: 14px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.book__form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.book__form .btn { justify-self: start; margin-top: var(--s-1); }
.form__msg { font-size: 13px; color: var(--mute); min-height: 1.5em; }
.form__msg.ok { color: var(--green-ink); }

/* Ventana de reserva (botón Hablemos) */
.modal { width: min(1120px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0,0,0,.45); overflow: auto; }
.modal::backdrop { background: rgba(239,237,232,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--s-4) 0; }
.modal__title { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.modal__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.modal .book-slot { padding: var(--s-3); }
.modal .book { box-shadow: none; }
body.modal-open { overflow: hidden; }

/* ── Footer ── */
.footer { padding: var(--s-4) var(--gutter) var(--s-3); overflow: hidden; }
.footer__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-top: var(--s-3); }
.footer__row { flex-wrap: wrap; gap: 8px var(--s-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px var(--s-3); }
.footer__row a { color: inherit; }
.footer__row a:hover { color: var(--ink); }
.form__legal { font-size: 12px; line-height: 1.5; color: var(--mute); max-width: 52ch; }
.form__legal a { color: inherit; }

/* ── Páginas legales y 404 ── */
.nav--legal { justify-content: space-between; }
.legal { max-width: 820px; margin: 0 auto; padding: calc(var(--s-5) + 40px) var(--gutter) var(--s-5); }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin: 12px 0 8px; }
.legal__upd { font-size: 13px; color: var(--mute); margin-bottom: var(--s-4); }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin: var(--s-4) 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { color: #3b3a37; max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 12px 0; }
.legal a { color: var(--green-ink); }
.legal .btn { color: #fff; margin-top: var(--s-3); }
.legal__data { display: grid; border-top: 1px solid var(--line); margin: 12px 0; }
.legal__data div { display: grid; grid-template-columns: 140px 1fr; gap: var(--s-2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal__data dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.legal__table { overflow-x: auto; margin: 12px 0; border-radius: 14px; background: var(--card); }
.legal__table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table thead th { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.legal__table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .legal__data div { grid-template-columns: 1fr; gap: 2px; } }

/* ── Responsive ── */
/* Portátiles: la tarjeta de Sinqro es estrecha, se compacta el esquema */
@media (min-width: 981px) and (max-width: 1280px) {
  .xsvc .sync { gap: 12px; padding: 16px; }
  .sync__src { min-width: 0; gap: 8px; padding: 8px 10px; font-size: 12.5px; border-width: 3px; }
  .sync__arrow { width: 24px; }
  .sync__list span { display: none; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .versus, .calc { grid-template-columns: 1fr; }
  .calc { gap: var(--s-4); }
  .services__pin { padding: var(--sec) 0 var(--s-4); }
  .step:last-child { min-height: 46svh; }
  .services__track { flex-direction: column; width: auto; height: auto; gap: var(--s-3); padding: 0 var(--gutter); }
  .svc { width: auto; height: auto; max-height: none; grid-template-columns: 1fr; padding: var(--s-3); }
  .svc__visual { grid-column: 1; grid-row: auto; margin-top: var(--s-3); min-height: 300px; }
  .panel__body { grid-template-columns: 1fr; gap: 0; }
  .panel__sticky { top: 64px; height: 50svh; max-height: none; z-index: 2; background: var(--bg); padding-bottom: 12px; }
  .panel__steps { padding: 4svh 0 30svh; }
  .step { min-height: 46svh; justify-content: flex-start; }
  .perks { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: var(--s-4); }
  .auto__body { grid-template-columns: 1fr; }
  .auto__list { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--s-2); border-right: 0; border-bottom: 1px solid var(--line); }
  .auto__list li { padding: 7px 12px; font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
  .auto__list li.is-on { border-color: var(--green); }
  .auto__list .tgl { display: none; }
  .extra { grid-template-columns: 1fr; }
  .xsvc { padding: var(--s-3); gap: var(--s-3); }
  .xsvc .sync { min-height: 0; }
  .book { grid-template-columns: 1fr 1fr; }
  .book__form { grid-column: 1 / -1; }
  .price__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wordmark--nav { font-size: 25px; }
  .hero { padding-top: 104px; }
  .hero__card { padding: var(--s-2); }
  .versus__item, .calc, .price__item, .book, .sync, .trust__row { padding: var(--s-3); }
  .calc__out { padding: var(--s-3); }
  .calc__save, .calc__vs, .calc__robin-top { grid-template-columns: 1fr; }
  .calc__robin { padding: var(--s-2); }
  /* En móvil, cada concepto encima y las dos cifras debajo, en dos columnas */
  .calc__sum, .calc__sum tbody { display: block; }
  .calc__sum thead { display: block; }
  .calc__sum tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-2); }
  .calc__sum thead td { display: none; }
  .calc__sum thead th { letter-spacing: .04em; white-space: nowrap; }
  .calc__sum tbody tr { padding: 6px 0; }
  .calc__sum tbody th { grid-column: 1 / -1; padding: 0 0 2px; font-size: 14px; }
  .calc__sum th, .calc__sum td, .calc__sum td:nth-child(2), .calc__sum td:last-child, .calc__sum thead th:last-child { padding-left: 0; text-align: left; }
  .calc__sum td { padding: 0; font-size: 16px; }
  .calc__sum tr.calc__total { margin-top: 4px; padding-top: 12px; border-top: 1.5px solid var(--ink); }
  .calc__total th, .calc__total td { border-top: 0; padding-top: 0; }
  .calc__total td { font-size: 22px; }
  .vis-store { grid-template-columns: 1fr; justify-items: center; padding: var(--s-3) var(--s-2); }
  .tablet { width: 100%; max-width: 260px; }
  .layer--1 { flex-direction: column; }
  .zones { width: 52%; }
  .nodes3 { gap: 8px; }
  .n3 { padding: 12px 4px 10px; }
  .n3__ico { width: 36px; height: 36px; margin-bottom: 2px; }
  .n3 em { font-size: 9.5px; letter-spacing: .04em; }
  .n3__st { font-size: 10px; padding: 3px 7px; }
  .prog { gap: 4px; }
  .prog li { font-size: 9.5px; }
  .inc { grid-template-columns: 1fr; gap: var(--s-2); }
  .inc__step { padding: 10px; }
  .perks { grid-template-columns: 1fr; }
  .flow { padding: var(--s-3) var(--s-2); }
  .flow__steps li { margin-left: 46px; padding: 12px 14px; }
  .flow__steps li::before { left: -46px; width: 34px; height: 34px; }
  .flow__steps::before { left: 16px; }
  .flow__steps li b { font-size: 15.5px; }
  .book { grid-template-columns: 1fr; }
  .sync { grid-template-columns: 1fr; justify-items: center; }
  .sync__arrow { transform: rotate(90deg); }
  .sync__srcs { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .step { opacity: 1; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
