/* Hopser Studio · sistema Comanda
   Colores, tipografías y espaciados tomados del design system "Hopser Gastro · Comanda". */

/* ---------- Fuentes (autoalojadas, licencia SIL OFL) ---------- */
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --papel: #F3EEE4;
  --papel-ticket: #FBFAF6;
  --tinta: #141414;
  --grafito: #5E5A53;
  --hueso: #D9D2C3;
  --boli: #2340D8;
  --calco: #DCE2F7;
  --sello: #C2352B;

  /* Modo servicio (secciones oscuras) */
  --s-papel: #141414;
  --s-tinta: #F3EEE4;
  --s-grafito: #B3ADA2;
  --s-hueso: #3A3834;
  --s-boli: #7B90FF;

  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 80px);
  --max: 1200px;
  --section-y: clamp(72px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--boli); }
:focus-visible { outline: 2px solid var(--boli); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
section[id], [id="contacto"] { scroll-margin-top: 16px; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--tinta); color: var(--papel); padding: 10px 16px;
  font-family: var(--f-mono); font-size: 13px; text-decoration: none;
}
.skip:focus { top: 8px; color: var(--papel); }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.rule-top { border-top: 1px solid var(--hueso); }
.stack { display: flex; flex-direction: column; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.label {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--grafito);
}
.label--sm { font-size: 12px; font-weight: 400; }
.display { font-family: var(--f-display); font-weight: 400; line-height: 0.95; }
.h-hero { font-size: clamp(54px, 7.6vw, 120px); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.5px; }
.h-section { font-size: clamp(40px, 5.2vw, 76px); }
.h-card { font-size: 32px; line-height: 1; }
.lead { font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; }
.boli { font-family: var(--f-hand); font-weight: 700; color: var(--boli); display: inline-block; }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin-bottom: 48px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--f-sans); font-size: 16px; font-weight: 700;
  text-decoration: none; border: 1.5px solid var(--tinta); border-radius: 0;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--solid { background: var(--tinta); color: var(--papel); }
.btn--solid:hover { background: #2a2a2a; color: var(--papel); }
.btn--line { background: transparent; color: var(--tinta); }
.btn--line:hover { background: var(--tinta); color: var(--papel); }
.btn--boli { background: var(--s-boli); border-color: var(--s-boli); color: var(--tinta); }
.btn--boli:hover { background: #9aaaff; border-color: #9aaaff; color: var(--tinta); }
.btn--line-light { background: transparent; border-color: var(--s-tinta); color: var(--s-tinta); }
.btn--line-light:hover { background: var(--s-tinta); color: var(--tinta); }
.btn--sm { min-height: 44px; padding: 0 20px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Cabecera ---------- */
.site-header { border-bottom: 1px solid var(--hueso); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding-block: 18px;
}
.logo img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
@media (max-width: 720px) {
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 20px; font-size: 14px; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .logo img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center;
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__text .lead { max-width: 520px; }
.tachado { position: relative; display: inline-block; white-space: nowrap; }
.tachado svg { position: absolute; left: -6%; top: 36%; width: 112%; height: 28%; overflow: visible; pointer-events: none; }
.tachado path { stroke-dasharray: 260; stroke-dashoffset: 0; }
.js .tachado path { stroke-dashoffset: 260; transition: stroke-dashoffset .9s cubic-bezier(.6,0,.2,1) .5s; }
.js .is-in .tachado path, .js .tachado.is-in path { stroke-dashoffset: 0; }

/* Ticket de resultados */
.ticket {
  position: relative; justify-self: center; width: 100%; max-width: 420px;
  background: var(--papel-ticket); border: 1px solid var(--hueso); border-radius: 2px;
  padding: 36px 32px 44px; font-family: var(--f-mono); text-transform: uppercase;
  transform: rotate(1.5deg);
}
.ticket::after { /* borde de corte */
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 10px;
  background: linear-gradient(-45deg, transparent 6px, var(--papel-ticket) 0) 0 0 / 12px 10px repeat-x,
              linear-gradient(45deg, transparent 6px, var(--papel-ticket) 0) 0 0 / 12px 10px repeat-x;
}
.ticket__head { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.ticket__brand { font-size: 15px; font-weight: 500; letter-spacing: 2px; }
.ticket__meta { font-size: 12px; letter-spacing: 1px; color: var(--grafito); }
.ticket__cut { border: 0; border-top: 1.5px dashed var(--grafito); margin: 22px 0 18px; }
.ticket__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 15px; letter-spacing: 1px; }
.ticket__row strong { font-size: 22px; font-weight: 500; }
.ticket__row--hl { background: var(--calco); margin-inline: -12px; padding-inline: 12px; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; }
.ticket__total .display { font-size: 56px; line-height: 1; text-transform: none; }
.ticket__bottom { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ticket__foot { font-size: 11px; letter-spacing: 1px; color: var(--grafito); line-height: 1.5; }
.sello {
  flex: none; transform: rotate(-14deg); margin-right: 4px;
  border: 3px solid var(--sello); color: var(--sello); padding: 4px 12px;
  font-size: 18px; font-weight: 500; letter-spacing: 3px; opacity: .85;
}
.js .sello { opacity: 0; transform: rotate(-14deg) scale(1.6); transition: opacity .25s ease 1.3s, transform .35s cubic-bezier(.2,1.4,.4,1) 1.3s; }
.js .is-in .sello { opacity: .85; transform: rotate(-14deg) scale(1); }

/* ---------- Secciones oscuras (modo servicio) ---------- */
.servicio { background: var(--s-papel); color: var(--s-tinta); }
.servicio .label { color: var(--s-grafito); }
.servicio a:hover { color: var(--s-boli); }
.servicio .boli { color: var(--s-boli); }

/* Franja de cifras */
.stats { padding-block: 64px; display: flex; flex-direction: column; gap: 40px; }
.stats__title { color: var(--s-tinta); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; }
@media (max-width: 640px) { .stats__grid { grid-template-columns: minmax(0, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--s-hueso); padding-top: 20px; margin: 0; }
.stat dd { margin: 0; font-family: var(--f-display); font-size: clamp(64px, 8vw, 112px); line-height: .95; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .14em; }
.stat__pre { font-size: .36em; color: var(--s-grafito); }
.stat dt { font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--s-grafito); }
.stats__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.stats__foot .boli { font-size: 34px; transform: rotate(-4deg); }

/* ---------- Tarjetas ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--papel-ticket); border: 1px solid var(--hueso); border-radius: 2px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card__num { font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.5px; color: var(--grafito); }
.dato { margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--grafito); display: flex; flex-direction: column; gap: 6px; }
.dato__num { font-size: 52px; line-height: 1; }
.dato__txt { font-size: 15px; line-height: 1.4; min-height: calc(1.4em * 3); }
@media (max-width: 700px) { .dato__txt { min-height: 0; } }
.dato__src { font-family: var(--f-mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--grafito); line-height: 1.5; }
.dato__src a { color: var(--grafito); }
.dato__src a:hover { color: var(--boli); }
.pending { margin-top: auto; border: 1px dashed var(--hueso); padding: 12px 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--grafito); }
.problem-head .boli { font-size: 40px; transform: rotate(-4deg); align-self: flex-start; margin-left: 8px; }

/* ---------- Resultados ---------- */
.case-main { background: var(--papel-ticket); border: 1px solid var(--hueso); border-radius: 2px;
  padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; align-items: center; margin-bottom: 40px; }
.case-main__text { display: flex; flex-direction: column; gap: 18px; }
.case-main__text .display { font-size: clamp(40px, 4.4vw, 64px); }
.bars { display: flex; flex-direction: column; gap: 22px; }
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar__label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grafito); }
.bar__label--strong { color: var(--tinta); }
.bar__fill { height: 44px; background: var(--hueso); width: var(--w); position: relative; }
.bar__fill--tinta { background: var(--tinta); }
.js .bar__fill { width: 0; transition: width 1.1s cubic-bezier(.6,0,.2,1) .2s; }
.js .is-in .bar__fill { width: var(--w); }
.bar__circle { position: absolute; right: -24px; top: -22px; width: 112px; height: 88px; overflow: visible; }
.bar__circle path { stroke-dasharray: 320; stroke-dashoffset: 0; }
.js .bar__circle path { stroke-dashoffset: 320; transition: stroke-dashoffset .8s ease 1.3s; }
.js .is-in .bar__circle path { stroke-dashoffset: 0; }
.case { border-top: 2px solid var(--tinta); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.case .display { font-size: 40px; line-height: 1; }
.note { margin-top: 32px; }

/* ---------- Paquetes ---------- */
.wrap--wide { max-width: 1360px; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan.plan--custom { background: transparent; border: 1.5px dashed var(--grafito); }
.plan > .label:first-child, .plan__top { min-height: 28px; display: flex; align-items: center; }
.plan__price .display.plan__price--quote { font-size: 32px; }
.plan { background: var(--papel-ticket); border: 1px solid var(--hueso); border-radius: 2px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.plan--featured { background: var(--s-papel); color: var(--s-tinta); border-color: var(--s-papel); }
.plan--featured .label { color: var(--s-grafito); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 12px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.plan .display { font-size: clamp(36px, 3.2vw, 44px); }
.plan__promise { font-weight: 500; }
.plan__cut { border: 0; border-top: 1.5px dashed var(--grafito); margin: 0; width: 100%; }
.plan--featured .plan__cut { border-top-color: var(--s-grafito); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan li::before { content: "— "; }
.plan__price { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.plan__price .display { font-size: 38px; line-height: 1; }
.plan__price small { font-family: var(--f-sans); font-size: 16px; font-weight: 500; }
.plan .btn { width: 100%; }
.plan__price small { white-space: nowrap; }

/* Tarjeta a medida: talón de comanda, en línea discontinua */
.custom {
  margin-top: 24px; border: 1.5px dashed var(--grafito); border-radius: 2px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
}
.custom__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.custom .display { font-size: clamp(32px, 3.4vw, 44px); line-height: 1; }
.custom__text p:last-child { max-width: 620px; }
.custom .btn { flex: 0 0 auto; }
@media (max-width: 640px) { .custom .btn { width: 100%; } }

/* ---------- Método ---------- */
.metodo { background: var(--papel-ticket); border-block: 1px solid var(--hueso); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 40px 24px; }
.step { border-top: 2px solid var(--tinta); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step .display { font-size: 30px; line-height: 1; }
.step p { font-size: 16px; }
.step--goal { border-top-style: dashed; background: var(--calco); padding: 20px 20px 24px; position: relative; }
.step--goal .label { color: var(--tinta); }
.step--goal .boli { position: absolute; right: 10px; top: -50px; font-size: 38px; transform: rotate(-6deg); display: flex; align-items: center; gap: 4px; }
.step--goal .boli svg { width: 30px; height: 30px; }

/* ---------- Quién ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: center; }
/* Foto como copia impresa sujeta con cinta de carrocero */
.about__media { display: flex; justify-content: center; padding: 28px 12px 8px; }
.print {
  position: relative; margin: 0; width: 100%; max-width: 480px;
  background: var(--papel-ticket); border: 1px solid var(--hueso);
  padding: 14px 14px 0; transform: rotate(-1.8deg);
}
.portrait { display: block; aspect-ratio: 4 / 5; max-width: 100%; background: var(--hueso); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.print__cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 16px; }
.print__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--grafito); line-height: 1.6; }
.print__cap .boli { font-size: 46px; line-height: 1; transform: rotate(-5deg); margin-right: 6px; }
.tape {
  position: absolute; z-index: 2; top: -18px; width: 118px; height: 34px;
  background: rgba(217, 210, 195, .82);
  clip-path: polygon(0 0, 100% 0, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 0 100%, 3% 75%, 0 50%, 3% 25%);
}
.tape--left { left: -26px; transform: rotate(-32deg); }
.tape--right { right: -26px; transform: rotate(28deg); }
@media (max-width: 480px) {
  .tape { width: 92px; height: 28px; top: -14px; }
  .tape--left { left: -16px; } .tape--right { right: -16px; }
}
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text .display { font-size: clamp(40px, 4.6vw, 68px); }
.about__text p:not(.label):not(.boli) { font-size: 19px; }
.about__text .boli { font-size: 44px; transform: rotate(-4deg); align-self: flex-start; }

/* ---------- Condiciones ---------- */
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: start; }
.terms__text { display: flex; flex-direction: column; gap: 18px; }
.terms__text p:not(.label) { font-size: 19px; max-width: 440px; }
.terms__ticket { background: var(--papel-ticket); border: 1px solid var(--hueso); border-radius: 2px; padding: 16px 32px; margin: 0; font-family: var(--f-mono); text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.terms__ticket div { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px dashed var(--hueso); }
.terms__ticket div:last-child { border-bottom: 0; }
.terms__ticket dt { color: var(--grafito); }
.terms__ticket dd { margin: 0; font-weight: 500; }

/* ---------- Cierre y formulario ---------- */
.cierre { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start; }
.cierre__text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cierre__text .display { font-size: clamp(54px, 7vw, 112px); line-height: .9; text-transform: uppercase; }
.cierre__text p:not(.label):not(.contact-line) { max-width: 520px; font-size: 20px; font-weight: 500; }
.form { display: flex; flex-direction: column; gap: 18px; background: #1c1b19; border: 1px solid var(--s-hueso); padding: clamp(24px, 3vw, 40px); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--s-grafito); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--s-tinta); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--s-hueso); border-radius: 0; padding: 10px 0; min-height: 44px; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--s-grafito) 50%), linear-gradient(135deg, var(--s-grafito) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--tinta); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--s-boli); }
.field input::placeholder, .field textarea::placeholder { color: #8a857c; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--s-grafito); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--s-boli); flex: none; }
.check a { color: var(--s-tinta); }
.form .btn { width: 100%; }
.hp { display: none; }
.contact-line { font-family: var(--f-mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--s-grafito); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-line a { text-decoration: none; }

/* ---------- Pie ---------- */
.site-footer .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { height: 36px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grafito); }
.footer-links a { color: var(--grafito); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; } .js .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .js .tachado path, .js .bar__circle path { stroke-dashoffset: 0; transition: none; }
  .js .bar__fill { width: var(--w); transition: none; }
  .js .sello { opacity: .85; transform: rotate(-14deg); transition: none; }
}

/* ---------- Páginas simples (gracias, legal, 404) ---------- */
.page { min-height: 70vh; padding-block: var(--section-y); }
.page .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 24px; }
.page h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 6vw, 88px); line-height: .95; }
.page h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin-top: 16px; }
.page p, .page li { font-size: 17px; }
.page ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.todo { background: var(--calco); padding: 2px 6px; font-family: var(--f-mono); font-size: 14px; }
.plans__note { margin-top: 20px; }
