/* ==========================================================================
   Universal Vending — hoja de estilos
   Tres círculos del logo = tres portales:
   azul → Mercavending · rojo → Todovending · naranja → Vending Conecta
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/sourceserif4.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/sourceserif4-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #141414;
  --ink-2: #242424;
  --ink-3: #3a3a3a;
  --paper: #f2eee5;
  --paper-2: #e8e2d4;
  --line: #cfc6b3;
  --muted: #5f594e;

  --red: #d63c4e;
  --blue: #0b6dc2;
  --orange: #e57e14;
  --orange-ink: #a85500; /* naranja legible sobre papel */

  --lcd: #0d4a94;
  --lcd-hi: #1560b8;
  --lcd-ink: #d8ecff;

  --accent: var(--ink);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
}

.t-merca   { --accent: var(--blue); }
.t-todo    { --accent: var(--red); }
.t-conecta { --accent: var(--orange); }
.t-serv    { --accent: var(--ink); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 { margin: 0; line-height: 1.02; font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* etiquetas tipo "código de selección" */
.code {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.kicker { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker b { display: inline-block; padding: .15em .45em; background: var(--ink); color: var(--paper); font-weight: 500; border-radius: 2px; }
.t-merca .kicker b, .t-todo .kicker b, .t-conecta .kicker b { background: var(--accent); color: #fff; }

/* ---------- botones: teclas físicas ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-edge: #000;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.3em .8em;
  background: var(--b-bg); color: var(--b-fg);
  border: 0; border-radius: var(--radius);
  font: 700 1rem/1 var(--f-display); font-stretch: 90%;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--b-edge);
  transform: translateY(0);
  transition: transform .08s ease, box-shadow .08s ease, background .15s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-edge); }
.btn .arr { font-weight: 400; transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn--accent { --b-bg: var(--accent); --b-edge: color-mix(in srgb, var(--accent) 60%, #000); }
.btn--paper { --b-bg: var(--paper); --b-fg: var(--ink); --b-edge: #8d8676; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px currentColor; }
.t-conecta .btn--accent { --b-fg: #1a1000; }

/* ---------- cabecera ---------- */
.site-head { background: #000; color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1d1d1d; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex; align-items: baseline; gap: .45em;
  padding: .55em .75em; border-radius: 2px;
  color: #d9d9d9; text-decoration: none; font-weight: 600; font-size: .98rem; font-stretch: 90%;
}
.nav a .code { font-size: .68rem; color: #7c7c7c; }
.nav a:hover { color: #fff; background: #151515; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--dot, #fff); }
.nav a[data-dot="red"] { --dot: var(--red); }
.nav a[data-dot="blue"] { --dot: var(--blue); }
.nav a[data-dot="orange"] { --dot: var(--orange); }
.nav .nav-cta { margin-left: 10px; background: #fff; color: #000; box-shadow: 0 3px 0 #6d6d6d; }
.nav .nav-cta:hover { background: #fff; color: #000; }
.nav-toggle { display: none; background: none; border: 1px solid #444; color: #fff; font: 600 .9rem var(--f-mono); padding: .5em .8em; border-radius: 2px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; border-bottom: 1px solid #222; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9em .2em; border-bottom: 1px solid #1c1c1c; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--dot, #fff); padding-left: .8em; }
  .nav .nav-cta { margin: 14px 0 0; justify-content: center; border: 0; }
  .brand img { width: 170px; }
}

/* ---------- HERO (inicio) ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero h1 {
  font-style: italic; font-weight: 850; font-stretch: 72%;
  font-size: clamp(2.9rem, 7.4vw, 6.4rem);
  line-height: .9; letter-spacing: -.02em;
  margin: .35em 0 .4em;
}
.hero h1 .u { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .09em; text-decoration-skip-ink: none; }
.hero h1 .u-red { text-decoration-color: var(--red); }
.hero h1 .u-blue { text-decoration-color: var(--blue); }
.hero h1 .u-orange { text-decoration-color: var(--orange); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; color: var(--ink-2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; width: 100%; border-radius: var(--radius); filter: saturate(.9) contrast(1.05); }
.hero-photo figcaption {
  position: absolute; left: -18px; bottom: 28px; max-width: 80%;
  background: var(--paper); border: 1px solid var(--ink); padding: .7em .9em;
  font-size: .86rem; line-height: 1.35; box-shadow: 5px 5px 0 var(--ink);
}
.hero-photo figcaption .code { display: block; color: var(--muted); margin-bottom: .2em; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-photo figcaption { left: 12px; bottom: 12px; }
}

/* ---------- selector tipo máquina (inicio) ---------- */
.machine { background: var(--ink); color: #eee; padding: clamp(56px, 8vw, 110px) 0; }
.machine .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.machine h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; }
.machine .head p { max-width: 30em; color: #a9a9a9; margin: 0; }

.panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 0; background: #0b0b0b; border: 1px solid #2b2b2b; border-radius: 6px; overflow: hidden; }
.lcd-bay { padding: clamp(18px, 3vw, 34px); border-right: 1px solid #2b2b2b; display: flex; }
.lcd-bay .lcd { flex: 1; }
.lcd {
  position: relative; min-height: 330px;
  background: var(--lcd); color: var(--lcd-ink);
  border-radius: 4px; padding: clamp(20px, 3vw, 34px);
  box-shadow: inset 0 0 0 1px #0a3a78, inset 0 0 50px rgba(0,0,0,.35);
  font-family: var(--f-mono);
  overflow: hidden;
}
.lcd::after { /* líneas de barrido del display */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
}
.lcd-screen[hidden] { display: none; }
.lcd-screen { animation: lcdIn .35s steps(4, end); }
@keyframes lcdIn { from { opacity: 0; } to { opacity: 1; } }
.lcd .sel { font-size: .8rem; letter-spacing: .12em; opacity: .75; }
.lcd h3 { font-family: var(--f-mono); font-weight: 500; font-stretch: 100%; font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.01em; color: #fff; margin: .35em 0 .45em; line-height: 1.1; }
.lcd p { font-size: .98rem; line-height: 1.6; max-width: 36em; }
.lcd .facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 1.2em 0 1.6em; font-size: .82rem; letter-spacing: .04em; list-style: none; }
.lcd .facts li::before { content: "▸ "; opacity: .6; }
.lcd .go { display: inline-flex; gap: .5em; color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.lcd .go:hover { border-bottom-color: #fff; }
.lcd .go + .go { margin-left: 22px; }
.lcd .blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.keypad { padding: clamp(18px, 3vw, 34px); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; background: #121212; }
.keypad .label { color: #8a8a8a; }
.keys { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; }
.key {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 4px;
  background: #242424; color: #e8e8e8;
  border: 1px solid #333; border-top-color: #3d3d3d;
  box-shadow: 0 4px 0 #000;
  font: 600 1rem/1.2 var(--f-display); font-stretch: 88%;
  transition: transform .06s, box-shadow .06s, background .15s;
}
.key:hover { background: #2c2c2c; }
.key:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
.key .k { font: 500 1.05rem var(--f-mono); color: #fff; background: #111; border: 1px solid #3a3a3a; border-radius: 3px; padding: .25em .5em; min-width: 2.6em; text-align: center; }
.key .led { width: 10px; height: 10px; border-radius: 50%; background: #3b3b3b; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); }
.key[aria-selected="true"] { background: #2f2f2f; transform: translateY(2px); box-shadow: 0 2px 0 #000; }
.key[aria-selected="true"] .led { background: var(--led); box-shadow: 0 0 10px var(--led), 0 0 2px var(--led); }
.key[data-led="red"] { --led: var(--red); }
.key[data-led="blue"] { --led: #3d97ff; }
.key[data-led="orange"] { --led: var(--orange); }
.key[data-led="white"] { --led: #fff; }
.slot { height: 64px; border-radius: 4px; background: #070707; border: 1px solid #262626; display: flex; align-items: center; justify-content: center; color: #555; font: 500 .72rem var(--f-mono); letter-spacing: .2em; }

@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
  .lcd-bay { border-right: 0; border-bottom: 1px solid #2b2b2b; order: 2; }
  .keypad { order: 1; }
  .keys { grid-template-columns: 1fr 1fr; }
  .key { grid-template-columns: auto 1fr; }
  .key .led { grid-column: 1; grid-row: 1; justify-self: start; display: none; }
  .slot { display: none; }
  .lcd { min-height: 0; }
}
@media (max-width: 460px) { .key { grid-template-columns: 1fr; gap: 8px; padding: 12px; font-size: .95rem; } .key .k { justify-self: start; } }

/* ---------- cifras ---------- */
.figures { padding: clamp(56px, 8vw, 110px) 0; }
.figures .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 44px; }
.figures h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.figures .intro p { color: var(--muted); max-width: 32em; margin: 0; }
.fig-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 3px solid var(--ink); }
.fig { padding: 22px 22px 26px 0; border-bottom: 1px solid var(--line); grid-column: span 2; }
.fig + .fig { padding-left: 22px; border-left: 1px solid var(--line); }
.fig:nth-child(3) { border-left: 0; padding-left: 0; }
.fig.big { grid-column: span 3; }
.fig .n { display: block; font-weight: 800; font-stretch: 70%; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fig .n small { font-size: .45em; letter-spacing: 0; }
.fig .d { display: block; margin-top: 10px; font-size: .98rem; color: var(--ink-2); max-width: 22em; }
.fig .code { display: inline-flex; align-items: center; gap: .5em; margin-bottom: 14px; color: var(--muted); }
.dot { display: inline-block; width: .75em; height: .75em; border-radius: 50%; background: var(--c, var(--ink)); flex-shrink: 0; }
.dot.red { --c: var(--red); } .dot.blue { --c: var(--blue); } .dot.orange { --c: var(--orange); }

@media (max-width: 860px) {
  .figures .intro { grid-template-columns: 1fr; }
  .fig-grid { grid-template-columns: 1fr; }
  .fig, .fig.big, .fig + .fig { grid-column: auto; padding: 20px 0 22px; border-left: 0; }
}

/* ---------- manifiesto ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-block: 1px solid var(--line); }
.manifesto figure { margin: 0; min-height: 420px; }
.manifesto figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.manifesto .txt > * { max-width: 34rem; }
.manifesto .txt { padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.manifesto h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .5em 0 .7em; }
.manifesto blockquote { margin: 0 0 1em; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.35; padding-left: 20px; border-left: 3px solid var(--ink); }
.manifesto blockquote + blockquote { border-left-color: var(--line); }
.manifesto .sign { margin-top: 1em; color: var(--muted); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } .manifesto figure { min-height: 0; aspect-ratio: 16/10; } }

/* ---------- perfiles / quién ---------- */
.who { padding: clamp(56px, 8vw, 110px) 0; }
.who h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 14em; margin-bottom: 36px; }
.who-list { list-style: none; border-top: 3px solid var(--ink); }
.who-list li { display: grid; grid-template-columns: 4.5rem 1.1fr 1.6fr 10rem; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.who-list .code { color: var(--muted); }
.who-list h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-stretch: 80%; }
.who-list p { margin: 0; color: var(--ink-2); }
.who-list .to { font-family: var(--f-mono); font-size: .8rem; white-space: nowrap; display: inline-flex; gap: .5em; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.who-list .to:hover { border-bottom-color: var(--ink); }
@media (max-width: 860px) {
  .who-list li { grid-template-columns: 3rem 1fr; gap: 6px 14px; }
  .who-list p, .who-list .to { grid-column: 2; }
  .who-list .to { justify-self: start; margin-top: 8px; }
}

/* ---------- banda CTA ---------- */
.band { background: var(--ink); color: #f1f1f1; padding: clamp(56px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.band h2 { margin-bottom: .45em; font-size: clamp(2.4rem, 6vw, 4.8rem); font-style: italic; font-stretch: 72%; color: #fff; }
.band h2 em { font-style: italic; color: var(--orange); }
.band p { color: #b8b8b8; }
.band .free { list-style: none; border-top: 1px solid #333; }
.band .free li { padding: 16px 0; border-bottom: 1px solid #333; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.band .free .code { color: #8a8a8a; }
.band .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.band .circles { position: absolute; right: -80px; top: -60px; display: flex; opacity: .09; pointer-events: none; }
.band .circles span { width: 260px; height: 260px; border-radius: 50%; margin-left: -70px; border: 3px solid #000; }
.band .circles span:nth-child(1) { background: var(--red); }
.band .circles span:nth-child(2) { background: var(--blue); }
.band .circles span:nth-child(3) { background: var(--orange); }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- cabecera de página interior ---------- */
.page-head { padding: clamp(40px, 6vw, 84px) 0 0; position: relative; }
.page-head .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px 60px; align-items: end; }
.page-head h1 { font-style: italic; font-weight: 850; font-stretch: 70%; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .9; letter-spacing: -.02em; margin: .3em 0 .35em; }
.page-head h1 .acc { color: var(--accent); }
.t-conecta .page-head h1 .acc { color: var(--orange-ink); }
.page-head .lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 36em; }
.page-head .side { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 1.6em; }
.page-head .side img { height: 38px; width: auto; margin-bottom: 14px; }
.page-head .side p { font-size: .95rem; color: var(--muted); }
.page-head .rule { height: 10px; margin-top: clamp(32px, 5vw, 60px); background: var(--accent); }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: 1fr; } }

.page-hero-img { margin: 0; }
.page-hero-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 700px) { .page-hero-img img { aspect-ratio: 16 / 10; } }

/* ---------- secciones genéricas ---------- */
.sec { padding: clamp(52px, 7vw, 96px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--tint { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: #eaeaea; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.sec-head p { margin: 0; color: var(--muted); max-width: 32em; }
.sec--ink .sec-head p { color: #a8a8a8; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* filas numeradas estilo índice de revista */
.rows { list-style: none; border-top: 3px solid var(--ink); counter-reset: r; }
.sec--ink .rows { border-top-color: #fff; }
.rows > li { display: grid; grid-template-columns: 4rem 1fr 1.5fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sec--ink .rows > li { border-bottom-color: #333; }
.rows > li::before { counter-increment: r; content: counter(r, decimal-leading-zero); font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }
.sec--ink .rows > li::before { color: #8a8a8a; }
.rows h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-stretch: 82%; }
.rows p { margin: 0; color: var(--ink-2); }
.sec--ink .rows p { color: #c4c4c4; }
@media (max-width: 760px) {
  .rows > li { grid-template-columns: 2.6rem 1fr; gap: 6px 12px; }
  .rows > li p { grid-column: 2; }
}

/* dos columnas enfrentadas (vendedor / inversor) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); }
.split > div { padding: clamp(24px, 4vw, 48px); }
.split > div + div { border-left: 1px solid var(--ink); background: #fff8ee; }
.split h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .4em 0 .3em; }
.split .sub { color: var(--muted); margin-bottom: 1.4em; }
.ticks { list-style: none; margin-bottom: 28px; }
.ticks li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.t-conecta .ticks li::before { border-color: var(--orange-ink); }
.ticks strong { font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--ink); } }

/* tarjetas de categoría con foto (a modo de ranura) */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.slot-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.slot-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }
.slot-card .img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--ink); background: #ddd; }
.slot-card .img img { width: 100%; height: 100%; object-fit: cover; }
.slot-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.slot-card .num { font-family: var(--f-mono); font-size: .74rem; color: var(--muted); display: flex; justify-content: space-between; }
.slot-card h3 { font-size: 1.35rem; font-stretch: 82%; }
.slot-card p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.slot-card .more { margin-top: auto; padding-top: 10px; font-family: var(--f-mono); font-size: .8rem; }
@media (max-width: 1000px) { .slots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .slots { grid-template-columns: 1fr; } }

/* bloque de dato destacado dentro de página */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat-strip div { padding: 20px 20px 22px 0; }
.stat-strip div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-strip .n { display: block; font-weight: 800; font-stretch: 70%; font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: .95; font-variant-numeric: tabular-nums; }
.stat-strip .d { color: var(--muted); font-size: .95rem; }
.note { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.55; max-width: 44em; margin-top: 28px; }

/* pasos del proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; list-style: none; }
.steps li { padding: 0 22px 0 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px dashed #555; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #1a1000; font: 800 1.5rem var(--f-display); font-stretch: 80%; margin-bottom: 18px; }
.steps h3 { font-size: 1.4rem; font-stretch: 82%; margin-bottom: .4em; }
.steps p { color: #c4c4c4; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li, .steps li:nth-child(3) { padding: 0 0 0 70px; border-left: 0; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* lista de tipos de negocio a modo de etiquetas */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tags li { padding: .55em 1em; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; font-stretch: 90%; background: #fff; }

/* ---------- servicios: carta ---------- */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: #fff; }
.menu > div { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; }
.menu > div + div { border-left: 1px solid var(--ink); }
.menu .tier { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.menu .price { font-family: var(--f-mono); font-size: .8rem; padding: .25em .6em; border-radius: 2px; background: var(--paper-2); }
.menu .price.free { background: var(--ink); color: #fff; }
.menu h3 { font-size: 2rem; font-stretch: 78%; margin-bottom: 16px; }
.menu ul { list-style: none; }
.menu li { padding: 12px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.menu li .code { display: block; color: var(--muted); font-size: .7rem; margin-bottom: 2px; }
@media (max-width: 900px) { .menu { grid-template-columns: 1fr; } .menu > div + div { border-left: 0; border-top: 1px solid var(--ink); } }

/* ---------- contacto ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: .5em; }
.contact .direct { list-style: none; border-top: 3px solid var(--ink); margin-top: 28px; }
.contact .direct li { border-bottom: 1px solid var(--line); }
.contact .direct a { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 16px 0; text-decoration: none; align-items: baseline; }
.contact .direct a:hover strong { text-decoration: underline; }
.contact .direct .code { color: var(--muted); }
.contact .direct strong { font-size: 1.3rem; font-stretch: 85%; }
.social { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 22px; font-family: var(--f-mono); font-size: .85rem; }

.form { background: #fff; border: 1px solid var(--ink); padding: clamp(22px, 3vw, 38px); box-shadow: 8px 8px 0 var(--ink); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--f-display); color: var(--ink);
  padding: .8em .9em; background: var(--paper); border: 1px solid #b9b09c; border-radius: 2px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,109,194,.25); background: #fff; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { text-transform: none; letter-spacing: 0; font: 600 .95rem var(--f-display); font-stretch: 90%; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: .55em 1em; border: 1px solid #b9b09c; border-radius: 2px; cursor: pointer; background: var(--paper); }
.choices input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choices input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 14px; }
.consent input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.legal-small { font-size: .78rem; line-height: 1.5; color: var(--muted); margin-bottom: 20px; }
.form-msg { margin-top: 16px; font-family: var(--f-mono); font-size: .88rem; }
.form-msg.ok { color: #1c6b2d; }
.form-msg.err { color: var(--red); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } .form { box-shadow: 5px 5px 0 var(--ink); } }

/* ---------- textos legales ---------- */
.legal { max-width: 46em; padding-block: clamp(20px, 4vw, 40px) clamp(56px, 8vw, 100px); }
.legal h2 { font-size: 1.5rem; font-stretch: 85%; margin: 2em 0 .6em; }
.legal p, .legal li { font-family: var(--f-serif); font-size: 1.06rem; line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal .box { font-family: var(--f-mono); font-size: .88rem; line-height: 1.7; background: var(--paper-2); padding: 18px 20px; border-left: 3px solid var(--ink); margin: 1.4em 0; }

/* ---------- pie ---------- */
.site-foot { background: #000; color: #bdbdbd; padding: 64px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid #222; }
.site-foot .brand img { width: 220px; margin-bottom: 18px; }
.site-foot h2 { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #777; margin-bottom: 14px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #e2e2e2; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .dot { margin-right: .5em; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; font-size: .84rem; color: #7d7d7d; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a { color: #9d9d9d; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1em .7em .8em; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 700 .92rem var(--f-display); font-stretch: 90%;
}
.wa:hover { text-decoration: none; }
.wa:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.wa svg { width: 22px; height: 22px; color: #1fa855; }
@media (max-width: 520px) { .wa span { display: none; } .wa { padding: .75em; } }

/* aparición suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* destacado de la banda según portal */
.t-merca .band h2 em { color: #5aa9ff; }
.t-todo .band h2 em { color: #ff7a89; }
.t-serv .band h2 em { color: #fff; }
.field-err { display: block; flex-basis: 100%; font-family: var(--f-mono); font-size: .78rem; color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); }
.btn:disabled { opacity: .6; cursor: wait; }
.consent { flex-wrap: wrap; }
.legal h3 { font-size: 1.15rem; font-stretch: 90%; margin: 1.6em 0 .5em; }
.legal nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: .85rem; }
.legal h2[id], .legal h3[id] { scroll-margin-top: 90px; }
.consent > span:not(.field-err) { flex: 1; min-width: 0; }
