/* Ortúzar Vidal — estilos de la plantilla del estudio contable. Un escritorio visto desde arriba: cartón kraft, papeles
   dibujados en HTML (facturas, recibos, F.931, extractos, constancias, VEP), carpetas que se cierran, el resaltador
   fluo y la birome, el vade azul marino y una mono de máquina de escribir para los números.
   Tipos: Hanken Grotesk (titulares y texto) y Courier Prime (números, rótulos). */

:root {
  --kraft: #c8a676;
  --kraft-2: #b8925e;
  --kraft-3: #9c7646;
  --manila: #dcc08f;
  --papel: #f8f4ea;
  --papel-2: #efe7d6;
  --tinta: #1c2b4b;
  --tinta-2: #2f4470;
  --cafe: #3a2c1c;
  --gris: #565d6c;
  --rojo: #9e2a22;
  --vade: #18243f;
  --ok: #2d6a4f;
  --fluo: #f6e64a;
  --fluo-verde: #a5e382;
  --birome: #1f3f8f;
  --foco: #1c2b4b;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --hdr: 64px;
  --sombra: 0 1px 1px rgba(60, 40, 10, .16), 0 .7rem 1.6rem -.6rem rgba(60, 40, 10, .45);
  --sombra-s: 0 1px 1px rgba(60, 40, 10, .18), 0 .35rem .8rem -.35rem rgba(60, 40, 10, .45);
  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .08  0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibra: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .35' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .1  0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
body {
  margin: 0; font: 400 1.0625rem/1.55 var(--sans); color: var(--tinta);
  background-color: var(--kraft); background-image: var(--fibra), var(--tex);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--papel); padding: .6rem 1rem; border-radius: .5rem; font-weight: 700; transition: top .2s; }
.skip:focus { top: 1rem; }
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.kicker { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cafe); font-weight: 700; }
h2 { font: 800 clamp(2.1rem, 4.6vw, 4rem)/1 var(--sans); letter-spacing: -.035em; margin-top: .5rem; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -.02em; }

/* Botones pill: padding extra del lado del texto por las puntas redondas */
.btn {
  --h: 2.9rem; --r: calc(var(--h) / 2); --pad: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  block-size: var(--h); border-radius: var(--r); border: 2px solid var(--tinta);
  padding-inline: calc(var(--pad) + var(--r) * (1 - pi / 4));
  font: 700 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-tinta { background: var(--tinta); color: var(--papel); box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.btn-tinta:hover { background: var(--tinta-2); border-color: var(--tinta-2); }
.btn-tinta:disabled { opacity: .45; box-shadow: none; }
.btn-linea { background: transparent; color: var(--tinta); }
.btn-linea:hover { background: rgba(28, 43, 75, .08); }
.link { background: none; border: 0; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }
.link:hover { text-decoration-color: var(--rojo); }
/* Links externos: el ícono de "abre fuera" con su texto para lectores */
a[target="_blank"] { white-space: nowrap; }
a[target="_blank"]::after {
  content: "" / " (abre en una pestaña nueva)";
  display: inline-block; inline-size: .7em; block-size: .7em; margin-inline-start: .3em; vertical-align: .05em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2h6v6M10 2 3 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ic-lock { display: inline-block; flex: none; width: .8em; height: .65em; border: 2px solid currentColor; border-radius: 2px; position: relative; margin-top: .3em; }
.ic-lock::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: .5em; height: .4em; translate: -50% 0; border: 2px solid currentColor; border-bottom: 0; border-radius: .3em .3em 0 0; }
.ic-bell { width: 1em; height: 1em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 16V11a6 6 0 0 1 12 0v5l2 2H4zM10 20a2 2 0 0 0 4 0' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.ic-play { flex: none; width: 0; height: 0; border-left: .55em solid currentColor; border-block: .35em solid transparent; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; gap: 1.5rem; padding-inline: clamp(1rem, 3vw, 2rem);
  background: rgba(248, 244, 234, .95); border-bottom: 1px solid rgba(28, 43, 75, .14);
  transition: transform .35s cubic-bezier(.3, .7, .2, 1);
}
@supports (backdrop-filter: blur(4px)) { .hdr { background: rgba(248, 244, 234, .86); backdrop-filter: blur(8px); } }
.hdr.hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-marca { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .55rem; background: var(--tinta); color: var(--papel); font: 800 .9rem/1 var(--sans); letter-spacing: .02em; position: relative; isolation: isolate; }
.logo-marca span { position: relative; z-index: 1; }
.logo-t { display: flex; flex-direction: column; font: 800 1.08rem/1.05 var(--sans); letter-spacing: -.02em; }
.logo-t small { font: 400 .72rem/1.2 var(--mono); letter-spacing: .04em; color: var(--gris); }
.nav { display: flex; gap: .3rem; margin-inline: auto; }
.nav a { position: relative; padding: .5rem .7rem; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: .4rem; }
.nav a:hover { background: rgba(28, 43, 75, .07); }
/* ítem activo: barra de alto contraste con aire a los costados */
.nav a::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 3px; border-radius: 2px; background: var(--rojo); transform: scaleX(0); transition: transform .25s; }
.nav a.on::after { transform: scaleX(1); }
.hdr-r { display: flex; align-items: center; gap: .9rem; }
.hdr-portal { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; text-decoration: none; padding: .4rem .3rem; }
.hdr-portal:hover { text-decoration: underline; text-underline-offset: .2em; }
.hdr-cta { --h: 2.5rem; font-size: .92rem; }
.burger { display: none; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--tinta); background: transparent; position: relative; }
.burger span { position: absolute; left: 50%; width: 1.1rem; height: 2px; background: var(--tinta); translate: -50% 0; transition: transform .25s, top .25s; }
.burger span:first-child { top: calc(50% - 4px); }
.burger span:last-child { top: calc(50% + 3px); }
.menu-open .burger span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-open .burger span:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }
.menu {
  position: fixed; inset: var(--hdr) 0 0; z-index: 49; padding: 1.5rem 1.25rem 2rem; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--papel); opacity: 0; visibility: hidden; transform: translateY(-.75rem); transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
.menu-nav a { display: flex; align-items: baseline; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed rgba(28, 43, 75, .25); text-decoration: none; font: 800 1.7rem/1.1 var(--sans); letter-spacing: -.02em; }
.menu-nav .mono { font-size: .85rem; font-weight: 400; color: var(--rojo); }
.menu-foot { display: grid; gap: 1rem; justify-items: start; }
.menu-foot .mono { color: var(--gris); font-size: .9rem; }

/* ---------- Papeles (Hoja.astro) ---------- */
.hoja {
  display: block; position: relative; overflow: hidden; text-align: left; color: #2b303b;
  background: var(--papel); line-height: 1.22; font-family: var(--sans); font-weight: 400;
  box-shadow: 0 1px 1px rgba(60, 40, 10, .2), 0 .5em 1.2em -.4em rgba(60, 40, 10, .55);
}
.hoja > * { display: block; }
.hoja > * small { font-size: 1em; }
.hoja .ln { height: .3em; margin: .55em 0 0; background: #ddd5c4; border-radius: 1px; }
.hoja .ln-s { width: 62%; }
.barcode { display: flex; gap: .12em; height: 1.6em; align-items: stretch; }
.barcode i { width: calc(var(--w) * .1em); background: #2b303b; }

.h-factura { width: 16em; height: 21em; padding: .9em; }
.h-factura > * { font-size: .5em; }
.hf-top { display: grid; grid-template-columns: 1fr auto 1fr; border: .12em solid #2b303b; }
.hf-em, .hf-n { display: flex; flex-direction: column; padding: .6em .7em; gap: .15em; min-width: 0; }
.hf-em b { font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.hf-n { border-left: .12em solid #2b303b; }
.hf-n b { font-size: 1.5em; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hf-letra { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4.2em; border: .12em solid #2b303b; border-top: 0; margin: 0 -.06em; background: #fff; }
.hf-letra b { font-size: 3em; line-height: 1; font-weight: 800; }
.hf-letra small { font-size: .8em; }
.hf-cli { display: flex; gap: .6em; padding: .7em; border: .12em solid #2b303b; border-top: 0; }
.hf-cli small { color: #6b6f78; }
.hf-rows { display: flex; flex-direction: column; gap: .5em; padding: 1em .7em; min-height: 13em; border-inline: .12em solid #2b303b; }
.hf-r { display: flex; justify-content: space-between; gap: 1em; font-family: var(--mono); }
.hf-tot { display: flex; flex-direction: column; gap: .3em; align-items: flex-end; padding: .7em; border: .12em solid #2b303b; font-family: var(--mono); }
.hf-tot > span { display: flex; gap: 1.5em; }
.hf-total b { font-size: 1.35em; }
.hf-cae { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding-top: .9em; }
.h-c .hf-letra { background: #f6f0e2; }


.h-recibo { width: 17em; height: 12.6em; padding: .8em .9em; }
.h-recibo > * { font-size: .5em; }
.hr-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .5em; border-bottom: .2em solid var(--tinta); }
.hr-h b { font-size: 1.6em; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--tinta); }
.hr-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: .35em 1em; padding: .6em 0; }
.hr-grid > span { display: flex; flex-direction: column; font-weight: 600; }
.hr-grid small, .hr-cols small { color: #6b6f78; font-weight: 400; }
.hr-cols, .hr-r { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: .6em; padding: .2em .3em; }
.hr-cols { background: #e8e1d1; }
.hr-r { font-family: var(--mono); }
.hr-r span:not(:first-child), .hr-cols small:not(:first-child) { text-align: right; }
.hr-neto { display: flex; justify-content: flex-end; align-items: baseline; gap: 1em; margin-top: .4em; padding: .3em; border-top: .12em solid #2b303b; }
.hr-neto b { font: 700 1.4em var(--mono); }
.hr-firma { display: flex; flex-direction: column; align-items: flex-end; margin-top: .1em; }
.hr-firma svg { width: 9em; height: 2.2em; fill: none; stroke: var(--tinta-2); stroke-width: 1.6; stroke-linecap: round; }
.hr-firma small { border-top: .1em solid #6b6f78; padding-top: .1em; width: 11em; text-align: center; color: #6b6f78; }

.h-f931 { width: 15em; height: 20em; padding: .9em; background: #f5f3ec; }
.h-f931 > * { font-size: .5em; }
.h9-h { display: flex; flex-direction: column; gap: .2em; padding: .7em .8em; margin: -.1em; background: #2f5468; color: #f2efe6; }
.h9-h b { font-size: 2.4em; font-weight: 800; line-height: 1; }
.h9-id { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding: .9em 0; }
.h9-id > span, .h9-b { display: flex; flex-direction: column; }
.h9-id small, .h9-b small { color: #5d6b72; text-transform: uppercase; font-size: .85em; letter-spacing: .04em; }
.h9-id > span { font-family: var(--mono); font-weight: 700; font-size: 1.15em; }
.h9-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; }
.h9-b { border: .12em solid #8fa3ad; padding: .45em .55em; background: #fff; font-family: var(--mono); }
.h9-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9em; padding: .6em .7em; border: .2em solid #2f5468; }
.h9-tot b { font: 700 1.5em var(--mono); }

.h-extracto { width: 15em; height: 20.5em; padding: 0 .9em .9em; }
.h-extracto > * { font-size: .5em; }
.he-h { display: flex; flex-direction: column; gap: .15em; margin-inline: -1.8em; padding: 1.4em 1.8em 1em; background: #2c4a63; color: #f1eee5; }
.he-h b { font-size: 1.8em; font-weight: 800; letter-spacing: -.01em; }
.he-id { display: flex; justify-content: space-between; padding: .8em 0; color: #5a6170; font-family: var(--mono); }
.he-cols, .he-r { display: grid; grid-template-columns: 3.6em 1fr auto; gap: .6em; padding: .35em .2em; }
.he-cols { border-bottom: .14em solid #2b303b; color: #5a6170; }
.he-r { font-family: var(--mono); border-bottom: .08em solid #e3dccd; }
.he-r.marca { background: linear-gradient(transparent 12%, color-mix(in srgb, var(--fluo) 80%, transparent) 12% 88%, transparent 88%); }
.he-saldo { display: flex; justify-content: space-between; align-items: baseline; margin-top: .7em; }
.he-saldo b { font: 700 1.4em var(--mono); }

.h-constancia { width: 15em; height: 19em; padding: .9em; }
.h-constancia > * { font-size: .5em; }
.hc-h { display: flex; flex-direction: column; align-items: center; text-align: center; padding: .8em; background: #e6e2d6; gap: .1em; }
.hc-h b { font-size: 2.1em; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--tinta); }
.hc-body { display: flex; gap: 1em; padding: 1em 0; }
.hc-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; border: .2em solid var(--tinta); padding: .4em .9em; color: var(--tinta); }
.hc-cat b { font-size: 4.2em; line-height: .95; font-weight: 800; }
.hc-data { display: grid; gap: .35em; flex: 1; }
.hc-data > span { display: flex; flex-direction: column; font-weight: 600; }
.hc-data small { color: #6b6f78; font-weight: 400; }
.hc-qr { display: grid; grid-template-columns: repeat(10, 1fr); width: 9em; aspect-ratio: 1; margin-top: .2em; border: .35em solid #fff; outline: .1em solid #ccc; }
.hc-qr i.on { background: #222; }

.h-vep { width: 13em; height: 9.4em; padding: .8em .9em; background: #eaf0f5; }
.h-vep > * { font-size: .5em; }
.hv-h { display: flex; align-items: baseline; gap: .7em; padding-bottom: .5em; margin-bottom: .5em; border-bottom: .14em solid #2c4a63; }
.hv-h b { font-size: 2.2em; font-weight: 800; color: #2c4a63; }
.hv-r { display: flex; justify-content: space-between; gap: 1em; padding: .25em 0; font-family: var(--mono); }
.hv-r small { color: #5a6170; font-family: var(--sans); }
.hv-imp { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5em; padding: .4em .5em; background: #fff; border: .12em solid #9fb0bf; }
.hv-imp b { font: 700 1.5em var(--mono); }

/* ---------- El resaltador (lo suyo) ----------
   .rz: un trazo fluo detrás del texto (::before) que se pinta con scaleX cuando entra en pantalla (.on). */
.rz { position: relative; isolation: isolate; display: inline-block; background: none; color: inherit; }
mark.rz { white-space: nowrap; }
@media (max-width: 380px) { mark.rz { white-space: normal; display: inline; } }
.rz::before {
  content: ''; position: absolute; z-index: -1; left: -.22em; right: -.22em; top: .12em; bottom: .02em;
  background: var(--rz-c, var(--fluo)); mix-blend-mode: multiply; border-radius: .12em .45em .2em .38em / .35em .25em .4em .3em;
  transform: scaleX(0) skewX(-6deg); transform-origin: 0 50%; transition: transform .55s cubic-bezier(.6, .05, .3, 1) var(--rz-d, 0s);
}
.rz.on::before { transform: scaleX(1) skewX(-6deg); }
mark.rz { padding: 0; }
/* el trazo que pinta GSAP en las carpetas y la ficha del orden (un elemento, no un ::before) */
.rz-t { position: relative; isolation: isolate; display: inline-block; }
.rz-b { position: absolute; z-index: -1; left: -.3em; right: -.3em; top: .1em; bottom: 0; background: var(--fluo); mix-blend-mode: multiply; border-radius: .12em .45em .2em .38em; transform-origin: 0 50%; }
/* tilde de birome */
.tilde { display: inline-block; width: 1.25em; height: 1.05em; vertical-align: -.1em; fill: none; stroke: var(--birome); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tilde svg { width: 100%; height: 100%; overflow: visible; }
.tilde path, .tilde use { fill: none; }
span.tilde { margin-left: .35em; opacity: 0; transform: scale(.4) rotate(-10deg); transition: opacity .2s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
span.tilde.on { opacity: 1; transform: none; }
/* los trazos a mano de la portada: frescos brillan, secos se asientan */
.trazos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: multiply; overflow: visible; }
.trazo { fill: none; stroke-linecap: square; stroke-linejoin: round; opacity: .85; }
.trazo.seco { opacity: .5; transition: opacity 1.6s ease-out; }

/* ---------- Portada: el escritorio ---------- */
.hero { position: relative; min-height: max(100svh, 660px); padding-top: var(--hdr); overflow: hidden; isolation: isolate; }
.hero::after { /* luz de lámpara sobre el escritorio */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 22% 45%, rgba(255, 240, 210, .38), transparent 70%), radial-gradient(120% 90% at 50% 120%, rgba(60, 35, 10, .25), transparent 60%);
}
.hero-desk { position: absolute; inset: var(--hdr) 0 0; font-size: clamp(8.5px, .9vw, 14px); }
.hp {
  position: absolute; left: var(--x); top: var(--y); --rr: var(--r); padding: 0; border: 0; background: none; border-radius: 2px;
  touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg transform='rotate(45 17 17)'%3E%3Crect x='12' y='-2' width='10' height='22' rx='2' fill='%231c2b4b' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M12 20h10l-2 7h-6z' fill='%23f6e64a' stroke='%23fff' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") 4 30, crosshair;
}
.hp .rz::before { left: -.3em; right: -.3em; }
.hp .hoja { position: relative; }
.hp .hoja { rotate: var(--rr); transition: box-shadow .2s; }
.hp:hover .hoja { box-shadow: 0 1px 1px rgba(60, 40, 10, .2), 0 1em 1.8em -.5em rgba(60, 40, 10, .6); }
.hp:focus-visible { outline-offset: 6px; }
.marcador {
  --fluo-mano: var(--fluo); position: absolute; right: 5%; bottom: 7%; z-index: 2; display: flex; align-items: center;
  width: 17em; height: 3.4em; padding: 0; border: 0; background: none; rotate: -24deg; border-radius: 1.7em; cursor: pointer;
  filter: drop-shadow(0 .5em .5em rgba(60, 40, 10, .4));
}
.mc-tapa { width: 4.4em; height: 100%; border-radius: 1.4em .3em .3em 1.4em; background: linear-gradient(180deg, color-mix(in srgb, var(--fluo-mano) 70%, #fff), var(--fluo-mano) 45%, color-mix(in srgb, var(--fluo-mano) 72%, #000)); }
.mc-cuerpo { flex: 1; height: 86%; display: grid; place-items: center; background: linear-gradient(180deg, #33476f, var(--tinta) 50%, #101a30); color: var(--fluo-mano); }
.mc-cuerpo span { font-size: 1.2em; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.mc-punta { width: 2.6em; height: 62%; background: var(--fluo-mano); clip-path: polygon(0 0, 100% 22%, 100% 78%, 0 100%); }
.marcador:hover { translate: 0 -.3em; }

.hero-in { position: relative; z-index: 3; width: min(1240px, 100% - 2.5rem); margin-inline: auto; padding: clamp(2.5rem, 9vh, 6rem) 0 3rem; pointer-events: none; }
.hero-in > * { max-width: 44%; pointer-events: auto; }
.hero-h { font: 800 clamp(3.4rem, 8.4vw, 8.6rem)/.9 var(--sans); letter-spacing: -.05em; margin: .9rem 0 1.4rem; }
.hero-h .hl { display: block; }
.hero-h em { font-style: normal; color: var(--rojo); position: relative; }
.hero-h em::after { content: ''; position: absolute; left: .02em; right: .1em; bottom: .04em; height: .07em; background: var(--rojo); border-radius: 2px; rotate: -1.2deg; }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--cafe); max-width: 31rem; }
.hero-lead mark { color: var(--tinta); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.8rem; }
.memo {
  display: grid; gap: .2rem; width: max-content; margin-top: 2.4rem; padding: .9rem 1.2rem 1rem; rotate: -1.5deg;
  background: var(--papel) linear-gradient(var(--rojo), var(--rojo)) 0 0 / 100% 4px no-repeat; box-shadow: var(--sombra-s); text-decoration: none;
  transition: rotate .2s, translate .2s;
}
.memo:hover { rotate: 0deg; translate: 0 -2px; }
.memo-k { font-size: .78rem; color: var(--gris); }
.memo-n { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.memo-d { font-size: .9rem; }
.memo-d b { color: var(--rojo); font-size: 1.05rem; }
.hero-hint { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .85rem; color: var(--cafe); }
.hint-ic { width: 1.6rem; height: .55rem; background: var(--fluo); border-radius: .1rem .35rem .15rem .3rem; rotate: -6deg; }
.intro .hp, .intro .hero-in > *, .intro .marcador { opacity: 0; }

/* ---------- El orden ---------- */
.orden { position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; }
.orden::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 65% 40%, rgba(255, 240, 210, .3), transparent 70%); }
.or-ficha {
  position: absolute; z-index: 4; left: max(1.25rem, 4%); top: 50%; translate: 0 -50%; width: min(29%, 400px);
  padding: 1.7rem 1.7rem 1.5rem; rotate: -1.5deg; box-shadow: var(--sombra);
  background: var(--papel) linear-gradient(transparent calc(3.1rem - 2px), rgba(158, 42, 34, .55) calc(3.1rem - 2px) 3.1rem, transparent 3.1rem) no-repeat;
}
.or-ficha::after { content: ''; position: absolute; inset: 3.1rem 0 0; background: repeating-linear-gradient(transparent 0 calc(1.7rem - 1px), rgba(44, 74, 120, .14) calc(1.7rem - 1px) 1.7rem); pointer-events: none; }
.or-ficha h2 { font-size: clamp(1.9rem, 3.1vw, 3rem); margin-top: 1.1rem; }
.or-txt { margin-top: .9rem; color: var(--cafe); }
.or-cuenta { display: flex; align-items: baseline; gap: .55rem; margin-top: 1.2rem; font-size: 1rem; color: var(--gris); }
.or-cuenta b { font-size: 3.6rem; line-height: .9; color: var(--rojo); min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.orden.listo .or-cuenta b { color: var(--ok); }
.or-ok { position: absolute; right: 1.6rem; bottom: 1.6rem; font: 800 1.15rem/1 var(--sans); color: var(--tinta); white-space: nowrap; }
.or-ok .tilde, .fo-ok .tilde { width: 1.5em; height: 1.25em; margin-left: .25em; }
.or-desk { position: absolute; inset: 0; font-size: clamp(8px, .95vw, 15px); }
.or-papers { position: absolute; inset: 0; z-index: 2; }
.or-p { position: absolute; left: var(--x); top: var(--y); --rr: var(--r); will-change: transform; }
.or-p .hoja { rotate: var(--rr); }
.or-backs, .or-fronts { position: absolute; left: 36%; right: 3%; top: 56%; height: 21.5%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4%; }
.or-backs { z-index: 1; }
.or-fronts { z-index: 3; pointer-events: none; }
.fo-back { position: relative; background: var(--kraft-2) var(--tex); border-radius: 0 .5em .4em .4em; box-shadow: 0 .5em 1.2em -.4em rgba(50, 30, 5, .6), inset 0 0 0 1px rgba(80, 50, 15, .25); }
.fo-tab { position: absolute; left: 0; bottom: calc(100% - 1px); width: 46%; height: 2.4em; display: flex; align-items: center; justify-content: flex-start; gap: .6em; padding: 0 .7em; background: inherit; border-radius: .6em .6em 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.fo-tab b { font-size: 1.05em; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-n { font-size: .9em; font-weight: 700; }
.fo-front { position: relative; }
.fo-cover { position: absolute; inset: 0; transform-origin: 50% 100%; transform-style: preserve-3d; }
.fo-out, .fo-in { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: .35em .35em .45em .45em; }
.fo-out { background: #c39c66 var(--tex); box-shadow: 0 .5em 1.1em -.3em rgba(50, 30, 5, .55), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(80, 50, 15, .25); }
.fo-in { transform: rotateX(180deg); background: #d6b886 var(--tex); box-shadow: inset 0 0 0 1px rgba(80, 50, 15, .22), inset 0 .7em .6em -.55em rgba(80, 50, 15, .4), inset 0 -.7em .6em -.55em rgba(80, 50, 15, .4); }
.fo-label { position: absolute; left: 8%; top: 13%; max-width: 72%; display: flex; flex-direction: column; gap: .15em; padding: .55em .75em; background: var(--papel); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); rotate: -1deg; }
.fo-label b { font-size: 1.5em; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.fo-label small { font-size: .78em; color: var(--gris); line-height: 1.25; }
.fo-ok { position: absolute; left: 8%; bottom: 11%; font-size: 1.25em; font-weight: 700; color: var(--tinta); white-space: nowrap; }

/* ---------- Secciones ---------- */
.servicios, .venc, .papeles, .equipo, .contacto { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: .4rem 3rem; align-items: end; }
.sec-h .kicker { grid-column: 1 / -1; }
.sec-aside { color: var(--cafe); font-size: 1.08rem; max-width: 30rem; padding-bottom: .4rem; }
.vade {
  --foco: #f1d283; position: relative; color: var(--papel); padding-block: clamp(4.5rem, 10vw, 8rem);
  background-color: var(--vade); background-image: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .06), transparent 60%), var(--tex);
}
.vade::before { content: ''; position: absolute; inset: 12px; border: 1.5px dashed rgba(248, 244, 234, .22); border-radius: 20px; pointer-events: none; }
.vade .kicker { color: #e3c690; }
.ticks { display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ''; position: absolute; left: .1rem; top: .38em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--tinta); border-bottom: 2.5px solid var(--tinta); rotate: -45deg; }
.ticks-doc li::before { width: .7rem; height: .85rem; top: .3em; border: 1.5px solid var(--tinta); border-radius: 1px; rotate: none; background: linear-gradient(var(--tinta), var(--tinta)) 50% 40% / 60% 1.5px no-repeat, linear-gradient(var(--tinta), var(--tinta)) 50% 70% / 60% 1.5px no-repeat; }
.ar-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); font-weight: 700; margin-bottom: .7rem; }

/* ---------- Servicios: el archivo ---------- */
.archivo { margin-top: clamp(2rem, 5vw, 3.5rem); }
.ar-tabs { display: flex; gap: .35rem; padding-inline: 1rem; scroll-padding-inline: 2.5rem; }
.ar-tab {
  flex: none; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
  padding: .65rem 1.2rem .9rem; border: 0; border-radius: .8rem .8rem 0 0; background: var(--kraft-2) var(--tex);
  font-weight: 700; color: var(--tinta); text-align: left; translate: 0 .45rem; transition: translate .2s, background-color .2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.ar-tab .mono { font-size: .75rem; font-weight: 400; }
.ar-tab:hover { translate: 0 .15rem; }
.ar-tab[aria-selected="true"] { background: var(--manila) var(--tex); translate: 0 0; z-index: 2; }
.ar-tab[aria-selected="true"]::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: .45rem; height: 3px; border-radius: 2px; background: var(--rojo); }
.ar-tab:focus-visible { outline-offset: -4px; }
.ar-body { position: relative; background: var(--manila) var(--tex); border-radius: 0 1.2rem 1.2rem 1.2rem; padding: clamp(1rem, 3vw, 2.4rem); box-shadow: var(--sombra); }
.ar-hoja { display: grid; gap: 1.6rem; padding: clamp(1.4rem, 3.5vw, 2.6rem); background: var(--papel); box-shadow: var(--sombra-s); rotate: -.4deg; }
.ar-top { display: grid; gap: .5rem; max-width: 46rem; }
.ar-tag { font-size: .8rem; color: var(--rojo); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ar-top h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; }
.ar-desc { font-size: 1.1rem; color: var(--gris); }
.ar-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 1.4rem; border-top: 1px dashed rgba(28, 43, 75, .3); }
.ar-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px dashed rgba(28, 43, 75, .3); }
.ar-fee { display: grid; font-size: 1.05rem; }
.ar-fee b { font-size: 1.5rem; justify-self: start; }
.ar-fee small { font-size: .8rem; color: var(--gris); }

/* ---------- ¿Qué necesito? ---------- */
.nd-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.nd-side { position: sticky; top: calc(var(--hdr) + 2rem); }
.nd-lead { margin-top: 1.2rem; color: #d9d3c5; font-size: 1.1rem; max-width: 26rem; }
.nd-trail { display: grid; gap: .2rem; margin-top: 2rem; }
.nd-trail li { display: grid; grid-template-columns: 2.4rem 1fr; padding: .7rem 0; border-top: 1px solid rgba(248, 244, 234, .18); color: #b9b3a6; }
.nd-trail li b { font-family: var(--sans); font-weight: 600; }
.nd-trail li em { grid-column: 2; font-style: normal; font-size: .88rem; color: #e3c690; }
.nd-trail li.on, .nd-trail li.done { color: var(--papel); }
.nd-trail li.on span { color: #f1d283; }
.nd-panel {
  --foco: var(--tinta); position: relative; color: var(--tinta); background: var(--papel); padding: 0 clamp(1.1rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 1.5rem 3rem -1rem rgba(0, 0, 0, .55); rotate: .5deg; min-height: 30rem;
}
.fh-head { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; margin-inline: calc(-1 * clamp(1.1rem, 3vw, 2.2rem)); padding: .8rem clamp(1.1rem, 3vw, 2.2rem); border-bottom: 2px solid var(--tinta); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.fh-head span + span { padding-left: 1rem; border-left: 1px solid rgba(28, 43, 75, .35); }
.nd-step { display: none; padding-top: 1.4rem; }
.nd-step.is-on { display: block; animation: hoja-in .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hoja-in { from { opacity: 0; transform: translateY(14px); } }
.nd-q { display: flex; flex-direction: column; gap: .2rem; font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--sans); letter-spacing: -.02em; margin-bottom: 1.2rem; }
.nd-q .mono { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rojo); }
.nd-opts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(28, 43, 75, .25); }
.nd-opts2 { grid-template-columns: 1fr; }
.nd-opt {
  display: flex; align-items: flex-start; gap: .9rem; padding: 1rem .6rem; text-align: left; background: none; border: 0;
  border-bottom: 1px solid rgba(28, 43, 75, .25); transition: background-color .15s;
}
.nd-opts:not(.nd-opts2) .nd-opt:nth-child(odd) { border-right: 1px solid rgba(28, 43, 75, .25); }
.nd-opt:hover { background: rgba(28, 43, 75, .05); }
.nd-opt:focus-visible { outline-offset: -3px; }
.nd-box { flex: none; position: relative; width: 1.35rem; height: 1.35rem; margin-top: .1rem; border: 2px solid var(--tinta); background: #fff; }
.nd-box::before, .nd-box::after { content: ''; position: absolute; left: 50%; top: 50%; width: 140%; height: 2.5px; background: var(--tinta-2); border-radius: 2px; translate: -50% -50%; scale: 0; transition: scale .18s cubic-bezier(.3, 1.6, .5, 1); }
.nd-box::before { rotate: 45deg; }
.nd-box::after { rotate: -45deg; transition-delay: .06s; }
.nd-opt.sel .nd-box::before, .nd-opt.sel .nd-box::after { scale: 1; }
.nd-t { display: flex; flex-direction: column; gap: .15rem; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.nd-t small { font-weight: 400; font-size: .9rem; color: var(--gris); }
.nd-back { background: none; border: 0; padding: .3rem 0; color: var(--gris); font-size: .9rem; margin-bottom: .6rem; }
.nd-back:hover { color: var(--tinta); text-decoration: underline; }
.nd-result { position: relative; }
.ndr-code { font-size: .85rem; color: var(--gris); font-weight: 400; letter-spacing: 0; text-transform: none; }
.ndr-h { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; max-width: 75%; }
.ndr-d { margin-top: .8rem; font-size: 1.05rem; color: var(--gris); max-width: 38rem; }
.ndr-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed rgba(28, 43, 75, .3); }
.ndr-person { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.ndr-person b { display: block; }
.ndr-person small { font-size: .82rem; color: var(--gris); }
.foto { display: block; overflow: hidden; background: var(--papel-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.85) contrast(1.02); }
.ndr-av { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--sombra-s); }
.ndr-fee { font-size: 1.05rem; font-weight: 700; }
.ndr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }

/* ---------- Vencimientos ---------- */
.cuit { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 2.4rem; }
.cuit-l { font-weight: 700; font-size: .95rem; }
.cuit-keys { display: flex; flex-wrap: wrap; gap: .55rem; }
.cuit-chip {
  width: 2.85rem; height: 2.85rem; border-radius: 50%; border: 2.5px solid #26221c; font-weight: 700; font-size: 1.15rem;
  background: radial-gradient(circle at 40% 35%, #fffdf7, #e8e0cc); color: #26221c; box-shadow: 0 4px 0 #26221c, 0 6px 10px rgba(40, 25, 5, .3);
  transition: transform .1s, box-shadow .1s, background-color .15s;
}
.cuit-chip:hover { transform: translateY(1px); box-shadow: 0 3px 0 #26221c, 0 5px 8px rgba(40, 25, 5, .3); }
.cuit-chip[aria-pressed="true"] { transform: translateY(3px); box-shadow: 0 1px 0 #26221c, 0 2px 4px rgba(40, 25, 5, .3); background: var(--tinta); color: var(--papel); }
.venc-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.4rem; align-items: start; }
.almanaque { position: relative; display: grid; gap: 1rem; justify-items: start; }
.alm-anillos { position: absolute; z-index: 3; top: -.7rem; left: 0; display: flex; justify-content: space-around; padding-inline: 25%; pointer-events: none; width: min(100%, 24rem); }
.alm-anillos i { width: .9rem; height: 1.8rem; border-radius: .5rem; background: linear-gradient(90deg, #8b8f97, #e2e4e8 45%, #7a7e86); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.alm-taco { position: relative; width: min(100%, 24rem); box-shadow: 0 3px 0 -1px #e9e1cf, 0 6px 0 -2px #ddd3be, 0 9px 0 -3px #d2c7b0, var(--sombra); background: var(--papel); }
.alm-hoja, .alm-vieja { background: var(--papel); text-align: center; padding: 0 1.4rem 1.6rem; }
.alm-vieja { position: absolute; inset: 0; z-index: 2; box-shadow: var(--sombra-s); pointer-events: none; }
.alm-mes { margin-inline: -1.4rem; padding: 1.3rem 1rem .8rem; background: var(--rojo); color: var(--papel); font: 800 1.2rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.alm-lt { margin-top: 1rem; font-size: .85rem; color: var(--gris); }
.alm-dia { font: 700 clamp(5.5rem, 10vw, 8rem)/.9 var(--mono); letter-spacing: -.04em; margin-top: .3rem; }
.alm-fecha { font-size: .95rem; }
.alm-n { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(28, 43, 75, .3); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.alm-d { color: var(--gris); font-size: .95rem; margin-top: .3rem; }
.alm-left { margin-top: .9rem; font-weight: 700; color: var(--tinta); font-size: 1.05rem; }
.alm-left .rz.ok { --rz-c: var(--fluo-verde); }
.vn-alert.on { background: var(--tinta); color: var(--papel); }
.vn-ok { font-size: .88rem; color: var(--cafe); min-height: 1.2em; max-width: 24rem; }
.cal-hoja { background: var(--papel); padding: clamp(1rem, 2.5vw, 1.8rem); box-shadow: var(--sombra); rotate: .6deg; }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem; padding-bottom: .8rem; border-bottom: 2px solid var(--tinta); }
.cal-head > span:first-child { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .78rem; color: var(--gris); }
.lg { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; margin-left: .4rem; }
.lg-imp, .ev-imp { --c: var(--tinta); }
.lg-lab, .ev-lab { --c: #2d6a4f; }
.lg-iibb, .ev-iibb { --c: #8a5a14; }
.lg { background: var(--c); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { padding: .6rem 0 .3rem; font-size: .75rem; color: var(--gris); text-align: center; }
.cal-grid { border-top: 1px solid rgba(28, 43, 75, .2); border-left: 1px solid rgba(28, 43, 75, .2); }
.cd { position: relative; min-height: 4.6rem; padding: .3rem; border: 0; border-right: 1px solid rgba(28, 43, 75, .2); border-bottom: 1px solid rgba(28, 43, 75, .2); background: none; text-align: left; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.cd-n { font: 700 .85rem/1 var(--mono); }
.cd.wk { background: rgba(28, 43, 75, .04); }
.cd.wk .cd-n { color: var(--gris); }
.cd.past .cd-n { color: #6e737d; text-decoration: line-through; text-decoration-color: var(--rojo); }
.cd.today .cd-n { background: var(--tinta); color: var(--papel); padding: .15rem .25rem; border-radius: 2px; align-self: flex-start; text-decoration: none; }
.cd.next::after { content: ''; position: absolute; inset: .15rem; border: 2.5px solid var(--rojo); border-radius: 48% 52% 45% 55%; rotate: -4deg; pointer-events: none; }
button.cd:hover { background: rgba(28, 43, 75, .07); }
button.cd:focus-visible { outline-offset: -3px; }
.cd.pick { background: rgba(240, 205, 70, .3); }
.evs { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ev { display: block; font-size: .68rem; line-height: 1.15; font-weight: 700; color: var(--c); border-left: 3px solid var(--c); padding-left: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.libro {
  margin-top: 2.4rem; padding: 1rem 0 1rem 3rem; box-shadow: var(--sombra); position: relative;
  background: var(--papel) linear-gradient(90deg, transparent 2.2rem, rgba(158, 42, 34, .55) 2.2rem 2.35rem, transparent 2.35rem);
}
.libro-h, .vl { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.4fr) 11rem; gap: 1rem; align-items: center; padding: .7rem 1.4rem .7rem 0; }
.libro-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); border-bottom: 2px solid var(--tinta); }
.vl { border-bottom: 1px solid rgba(44, 74, 120, .18); }
.vl-date, .vl-name { font-weight: 700; }
.vl-desc { color: var(--gris); font-size: .92rem; }
.vl.past .vl-name, .vl.past .vl-date { color: #6e737d; }
.vl.next { background: rgba(240, 205, 70, .2); }
.est { display: inline-block; font-size: .78rem; font-weight: 700; }
.est-ok { color: var(--rojo); border: 2px solid currentColor; padding: .12rem .4rem; text-transform: uppercase; letter-spacing: .08em; rotate: -4deg; }
.est-next { color: var(--tinta); font-weight: 700; }
.est-pend { color: var(--gris); }
.venc-note { margin-top: 1.2rem; font-size: .82rem; color: var(--cafe); }

/* ---------- Mandá tus papeles ---------- */
.pp-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.pp-how li { display: flex; gap: .8rem; padding: 1.1rem 1.2rem; background: var(--papel); box-shadow: var(--sombra-s); rotate: -.6deg; }
.pp-how li:nth-child(2) { rotate: .8deg; }
.pp-how li:nth-child(3) { rotate: -.3deg; }
.pp-how .mono { color: var(--rojo); font-weight: 700; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; align-items: start; }
.pp-portal {
  position: relative; background: var(--papel); padding: 1.6rem clamp(1rem, 2.5vw, 1.8rem);
  border: 14px solid #7c5c3b; border-top-width: 46px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), var(--sombra);
}
.clip { position: absolute; left: 50%; top: -38px; width: 7.5rem; height: 2.6rem; translate: -50% 0; border-radius: .6rem .6rem .3rem .3rem; background: linear-gradient(180deg, #e3e5e9, #9a9fa8 60%, #c7cad0); box-shadow: 0 3px 4px rgba(0, 0, 0, .35); }
.clip::before { content: ''; position: absolute; left: 50%; top: .45rem; width: 2.2rem; height: .7rem; translate: -50% 0; border-radius: 1rem; background: #7c5c3b; box-shadow: inset 0 2px 2px rgba(0, 0, 0, .4); }
.pp-top { display: flex; align-items: center; gap: .8rem; }
.pp-av { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tinta); color: var(--papel); font-weight: 700; }
.pp-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pp-who small { font-size: .82rem; color: var(--gris); }
.pp-count { font-size: 1.1rem; }
.pp-count b { font-size: 2rem; }
.pp-prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: .3rem; margin-top: 1rem; }
.pp-prog i { height: .4rem; border-radius: 2px; background: rgba(28, 43, 75, .15); transition: background-color .3s; }
.pp-prog i.on { background: var(--tinta); }
.pp-period { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .9rem; font-size: .9rem; }
.pp-st { padding: .15rem .3rem; color: var(--tinta); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; }
.pp-st.ok .rz { --rz-c: var(--fluo-verde); }
.pp-tools { display: grid; grid-template-columns: 1fr auto; gap: .8rem; margin-top: 1.2rem; align-items: stretch; }
.pp-drop { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 2px dashed rgba(28, 43, 75, .45); border-radius: .6rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.pp-drop:hover, .pp-drop.over { background: rgba(28, 43, 75, .06); border-color: var(--tinta); }
.pp-drop:focus-within { outline: 3px solid var(--foco); outline-offset: 3px; }
.pp-drop-ic svg { display: block; width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--tinta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-drop-t { display: flex; flex-direction: column; }
.pp-drop-t small { font-size: .8rem; color: var(--gris); }
.pp-sample { --h: 3.2rem; font-size: .9rem; }
.pp-sample:has(> .ic-play:first-child) { padding-inline-start: 1.25rem; }
.pp-sample:disabled { opacity: .5; }
.pp-list { margin-top: 1.2rem; border-top: 2px solid var(--tinta); }
.pp-item { display: grid; grid-template-columns: 1.5rem 1fr auto auto; gap: .8rem; align-items: center; padding: .75rem .2rem; border-bottom: 1px solid rgba(44, 74, 120, .18); }
.pp-check { width: 1.35rem; height: 1.35rem; border: 2px solid var(--tinta); display: grid; place-items: center; background: #fff; }
.pp-check svg { width: 1rem; height: 1rem; fill: none; stroke: var(--tinta); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pp-item.done .pp-check svg { opacity: 1; transform: none; }
.pp-t { display: flex; flex-direction: column; font-weight: 700; }
.pp-t small { font-weight: 400; font-size: .82rem; color: var(--gris); }
.pp-item.done .pp-t { text-decoration: line-through; text-decoration-color: rgba(28, 43, 75, .5); }
.pp-st-i { font-size: .8rem; color: var(--gris); }
.pp-item:not(.done) .pp-st-i { color: var(--rojo); font-weight: 700; }
.pp-up { min-height: 2rem; padding: 0 .8rem; border: 1.5px solid var(--tinta); border-radius: 1rem; background: none; font-size: .8rem; }
.pp-up:hover { background: var(--tinta); color: var(--papel); }
.pp-item.done .pp-up { visibility: hidden; }
.pp-item.flash { animation: flash .9s; }
@keyframes flash { 0% { background: rgba(240, 205, 70, .55); } 100% { background: transparent; } }
.pp-files { display: grid; gap: .5rem; margin-top: 1rem; }
.pf { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .7rem; align-items: center; padding: .55rem .7rem; background: var(--papel-2); animation: hoja-in .35s both; }
.pf-ic { display: grid; place-items: center; height: 2.6rem; background: #fff; border: 1.5px solid var(--tinta); font-size: .68rem; text-transform: uppercase; font-weight: 700; }
.pf-ic.img { background: #e3ecf3; }
.pf-main { display: grid; gap: .25rem; min-width: 0; }
.pf-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-bar { height: 3px; background: rgba(28, 43, 75, .12); overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: var(--tinta); transform-origin: left; transform: scaleX(0); }
.pf.ok .pf-bar { opacity: 0; }
.pf-meta { font-size: .75rem; color: var(--gris); }
.pf-to { font-size: .78rem; font-weight: 700; color: var(--ok); text-align: right; }
.pp-done { display: none; margin-top: 1.2rem; padding: 1rem 1.1rem; border: 2px solid var(--ok); background: rgba(45, 106, 79, .08); }
.pp-portal.complete .pp-done { display: block; animation: hoja-in .4s both; }
.pp-done .link { margin-top: .5rem; }
.pp-tabs { display: inline-flex; padding: .3rem; border-radius: 2rem; background: rgba(58, 44, 28, .15); gap: .2rem; }
.pp-tab { min-height: 2.4rem; padding: 0 1.2rem; border: 0; border-radius: 1.5rem; background: none; font-weight: 700; color: var(--cafe); }
.pp-tab[aria-selected="true"] { background: var(--tinta); color: var(--papel); }
.pp-ch { margin-top: 1rem; }
.pp-ch[hidden] { display: none; }
.phone { width: min(100%, 22rem); border-radius: 2.2rem; padding: .7rem; background: #1d1f24; box-shadow: var(--sombra); }
.wa-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #1f3b33; color: #f0f2ee; border-radius: 1.6rem 1.6rem 0 0; }
.wa-av { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--papel); color: var(--tinta); font-weight: 700; font-size: .8rem; }
.wa-who { display: flex; flex-direction: column; font-size: .92rem; }
.wa-who small { opacity: .8; font-size: .75rem; }
.wa-chat { display: flex; flex-direction: column; gap: .5rem; height: 24rem; overflow-y: auto; padding: 1rem .8rem; background: #e9e2d6; border-radius: 0 0 1.6rem 1.6rem; font-size: .88rem; color: #1e2228; }
.wa-date { align-self: center; font-size: .7rem; padding: .2rem .6rem; border-radius: .5rem; background: #fff; color: #555; }
.wa-msg { position: relative; max-width: 85%; padding: .5rem .7rem 1.1rem; border-radius: .7rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); animation: hoja-in .3s both; }
.wa-in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.wa-out { align-self: flex-end; background: #d6ecd0; border-top-right-radius: 0; }
.wa-time { position: absolute; right: .55rem; bottom: .25rem; font-size: .65rem; color: #5b6068; }
.wa-doc { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.wa-doc i { display: grid; place-items: center; flex: none; width: 2rem; height: 2.4rem; background: #b33; color: #fff; font: 700 .6rem var(--mono); font-style: normal; }
.wa-doc i.img { background: #3b6ea5; }
.wa-doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.wa-typing { align-self: flex-start; display: flex; gap: .25rem; padding: .7rem .8rem; background: #fff; border-radius: .7rem; }
.wa-typing i { width: .4rem; height: .4rem; border-radius: 50%; background: #999; animation: tipeo 1s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tipeo { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.mail { background: var(--papel); box-shadow: var(--sombra); }
.mail-h { padding: 1rem 1.2rem; border-bottom: 1px solid rgba(28, 43, 75, .2); }
.mail-s { font-weight: 800; font-size: 1.1rem; }
.mail-f { font-size: .78rem; color: var(--gris); margin-top: .2rem; overflow-wrap: anywhere; }
.mail-b { padding: 1rem 1.2rem 1.3rem; display: grid; gap: .7rem; font-size: .95rem; }
.mail-l { display: grid; gap: .3rem; }
.mail-l li { padding-left: 1.4rem; position: relative; }
.mail-l li::before { content: '□'; position: absolute; left: 0; }
.mail-l li.done { text-decoration: line-through; color: var(--gris); }
.mail-l li.done::before { content: '☑'; color: var(--ok); }
.mail-btn { justify-self: start; padding: .55rem 1rem; background: var(--tinta); color: var(--papel); border-radius: 1.5rem; font-weight: 700; font-size: .88rem; }
.mail-sig { font-size: .78rem; color: var(--gris); }
.pp-foot { margin-top: 1rem; font-size: .92rem; color: var(--cafe); max-width: 22rem; }

/* ---------- Turno: la agenda ---------- */
.turno-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tt-side { position: sticky; top: calc(var(--hdr) + 2rem); }
.tt-lead { margin-top: 1.2rem; color: #d9d3c5; font-size: 1.08rem; }
.tt-steps { display: grid; margin-top: 1.8rem; }
.tt-steps li { display: grid; grid-template-columns: 2.4rem 1fr; padding: .55rem 0; border-top: 1px solid rgba(248, 244, 234, .18); color: #b9b3a6; font-family: var(--sans); font-weight: 600; }
.tt-steps li span { font-family: var(--mono); font-weight: 400; }
.tt-steps li em { grid-column: 2; font-style: normal; font-size: .85rem; color: #e3c690; font-weight: 400; }
.tt-steps li.on, .tt-steps li.done { color: var(--papel); }
.tt-steps li.on span { color: #f1d283; }
.tt-fig { margin-top: 1.8rem; aspect-ratio: 3 / 2; border: 8px solid var(--papel); box-shadow: var(--sombra); rotate: -2deg; max-width: 22rem; }
.tt-panel {
  --foco: var(--tinta); position: relative; color: var(--tinta); padding: 1.6rem clamp(1.1rem, 3vw, 2.2rem) 1.4rem clamp(2.6rem, 5vw, 3.6rem);
  background-color: var(--papel); background-image: repeating-linear-gradient(transparent 0 calc(2rem - 1px), rgba(44, 74, 120, .1) calc(2rem - 1px) 2rem);
  box-shadow: 0 1.5rem 3rem -1rem rgba(0, 0, 0, .55);
}
.espiral { position: absolute; left: -.55rem; top: 1rem; bottom: 1rem; width: 2rem; pointer-events: none;
  background: radial-gradient(circle at 1.45rem 50%, var(--vade) 0 .28rem, transparent .3rem) 0 0 / 2rem 1.6rem repeat-y,
    linear-gradient(90deg, #a9adb5, #e5e7ea 50%, #8d9199) 0 .65rem / 1.5rem .26rem repeat-y; background-size: 2rem 1.6rem, 1.5rem 1.6rem; }
.tt-top { display: flex; align-items: baseline; gap: 1rem; }
.tt-count { font-size: .9rem; color: var(--gris); white-space: nowrap; }
.tt-count b { color: var(--rojo); font-size: 1.1rem; }
.tt-title { font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--sans); letter-spacing: -.02em; }
.tt-prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; margin: 1rem 0 1.4rem; }
.tt-prog i { height: .35rem; background: rgba(28, 43, 75, .15); transition: background-color .3s; }
.tt-prog i.on { background: var(--tinta); }
.tt-stage { min-height: 15rem; }
.tt-step { display: none; }
.tt-step.is-on { display: block; }
.tt-step.enter { animation: hoja-in .38s cubic-bezier(.2, .7, .2, 1) both; }
.tt-step.enter-back { animation: hoja-back .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hoja-back { from { opacity: 0; transform: translateY(-14px); } }
.tt-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.tt-opt { display: grid; gap: .2rem; align-content: start; padding: .9rem 1rem; text-align: left; background: #fff; border: 1.5px solid rgba(28, 43, 75, .35); border-radius: .5rem; transition: border-color .15s, background-color .15s, transform .15s; }
.tt-opt:hover { border-color: var(--tinta); transform: translateY(-1px); }
.tt-opt b { font-size: 1.02rem; line-height: 1.2; }
.tt-opt small { font-size: .78rem; color: var(--gris); }
.tt-k, .tt-ic { font-size: .78rem; color: var(--rojo); font-weight: 700; }
.tt-opt.sel { background: var(--tinta); border-color: var(--tinta); color: var(--papel); }
.tt-opt.sel small, .tt-opt.sel .tt-k, .tt-opt.sel .tt-ic { color: #e3c690; }
.tt-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.tt-day { display: grid; justify-items: center; gap: .1rem; padding: .6rem .2rem; background: #fff; border: 1.5px solid rgba(28, 43, 75, .35); border-radius: .5rem; }
.tt-day small { font-size: .72rem; color: var(--gris); text-transform: capitalize; }
.tt-day b { font: 700 1.5rem/1 var(--mono); }
.tt-day:hover { border-color: var(--tinta); }
.tt-day.sel { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.tt-day.sel small { color: #e3c690; }
.tt-hint { margin-top: .9rem; font-size: .82rem; color: var(--gris); }
.tt-slots-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; font-size: .85rem; color: var(--gris); }
.tt-legend { white-space: nowrap; }
.tt-legend i { display: inline-block; width: .9rem; height: .6rem; margin-right: .3rem; background: repeating-linear-gradient(135deg, rgba(28, 43, 75, .35) 0 2px, transparent 2px 5px); }
.tt-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; }
.tt-slot { min-height: 2.6rem; background: #fff; border: 1.5px solid rgba(28, 43, 75, .35); border-radius: .4rem; font-weight: 700; font-size: .92rem; }
.tt-slot:hover:not(:disabled) { border-color: var(--tinta); }
.tt-slot:disabled { color: #6e737d; background: repeating-linear-gradient(135deg, rgba(28, 43, 75, .12) 0 2px, transparent 2px 6px); text-decoration: line-through; border-style: dashed; }
.tt-slot.sel { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.tt-form { display: grid; grid-template-columns: max-content 1fr; gap: .9rem 1.2rem; }
.fld { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
.fld > span { font-size: .85rem; color: var(--gris); font-weight: 700; }
.fld i { font-style: normal; font-weight: 400; }
.fld input { width: 100%; min-height: 2.8rem; padding: .4rem .2rem; border: 0; border-bottom: 2px solid var(--tinta); background: transparent; font-size: 1.1rem; font-family: var(--mono); }
.fld input:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; background: rgba(255, 255, 255, .7); }
.fld.err input { border-color: var(--rojo); }
.form-err { grid-column: 1 / -1; color: var(--rojo); font-size: .88rem; min-height: 1.2em; }
.tt-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px dashed rgba(28, 43, 75, .35); }
.tt-back { background: none; border: 0; padding: .5rem 0; color: var(--gris); font-size: .9rem; }
.tt-back:not(:disabled):hover { color: var(--tinta); text-decoration: underline; }
.tt-back:disabled { opacity: .35; }
.tt-sum { font-size: .82rem; color: var(--gris); text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-done .tt-foot { display: none; }
.tt-ticket {
  position: relative; padding: 1.8rem 1.6rem 1.4rem; background: #fff; box-shadow: var(--sombra-s);
  background: #fff linear-gradient(90deg, transparent 1.05rem, rgba(158, 42, 34, .45) 1.05rem calc(1.05rem + 1px), transparent calc(1.05rem + 1px));
}
.tk-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--gris); }
.tk-code { font-weight: 700; color: var(--tinta); }
.tk-hello { font: 800 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--sans); letter-spacing: -.02em; margin-top: .6rem; max-width: 70%; }
.tk-rows { display: grid; gap: .1rem; margin-top: 1.2rem; }
.tk-rows > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem; padding: .45rem 0; border-bottom: 1px dashed rgba(28, 43, 75, .3); }
.tk-rows dt { font-size: .82rem; color: var(--gris); }
.tk-rows dd { font-weight: 700; }
.tk-bring { margin-top: 1.2rem; }
.tk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.4rem; }

/* ---------- Socios: tarjetas personales ---------- */
.tarjetas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: 3rem; }
.tarjeta { display: grid; justify-items: center; gap: .9rem; rotate: var(--r); }
.tj-in { position: relative; width: 100%; aspect-ratio: 5 / 7.3; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.tarjeta.flip .tj-in { transform: rotateY(180deg); }
.tj-cara { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fbf9f3; box-shadow: var(--sombra); border-radius: 4px; display: flex; flex-direction: column; padding: clamp(1rem, 2vw, 1.5rem); overflow: hidden; }
.tj-frente { background: #fbf9f3 linear-gradient(var(--tinta), var(--tinta)) 0 100% / 100% 6px no-repeat; }
.tj-dorso { transform: rotateY(180deg); background: var(--tinta); color: var(--papel); gap: 1rem; --foco: #f1d283; }
.tj-logo { align-self: flex-start; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .45rem; background: var(--tinta); color: var(--papel); font-weight: 800; font-size: .78rem; }
.tj-nombre { margin-top: 1.4rem; font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.tj-nombre b { display: block; font-weight: 800; }
.tj-rol { margin-top: .5rem; font-size: .85rem; color: var(--gris); line-height: 1.3; }
.tj-datos { display: grid; gap: .1rem; margin-top: 1rem; padding-top: .7rem; border-top: 1px solid rgba(28, 43, 75, .2); font-size: .78rem; }
.tj-datos div { display: flex; justify-content: space-between; gap: .6rem; }
.tj-datos dt { color: var(--gris); }
.tj-datos dd { font-weight: 700; text-align: right; }
.tj-esp { margin-top: .8rem; font-size: .88rem; line-height: 1.35; }
.tj-dir { margin-top: auto; padding-top: .8rem; font-size: .7rem; color: var(--gris); }
.tj-foto { width: 100%; flex: 1 1 auto; min-height: 0; border: 5px solid var(--papel); }
.tj-frase { font-size: .95rem; line-height: 1.4; font-style: italic; }
.tj-dorso .btn { flex: none; --h: 2.6rem; background: var(--papel); color: var(--tinta); border-color: var(--papel); font-size: .88rem; }
.tj-flip { min-height: 2.4rem; padding: 0 1.2rem; border: 2px solid var(--tinta); border-radius: 1.2rem; background: var(--papel); font-weight: 700; font-size: .85rem; }
.tj-flip:hover { background: var(--tinta); color: var(--papel); }
.notas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); margin-top: clamp(3rem, 7vw, 5rem); }
.nota { position: relative; padding: 1.8rem 1.5rem 1.3rem; background: var(--papel); box-shadow: var(--sombra-s); rotate: var(--r); }
.grampa { position: absolute; top: .6rem; left: 1.2rem; width: 2.4rem; height: .55rem; border: 2px solid #8e939c; border-bottom: 0; rotate: -6deg; }
.nota blockquote { font-size: 1.05rem; line-height: 1.45; }
.nota figcaption { display: grid; margin-top: 1rem; font-size: .92rem; }
.nota figcaption span { font-size: .78rem; color: var(--gris); }

/* ---------- Contacto: el membrete ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.membrete { position: relative; padding: clamp(1.6rem, 4vw, 3rem); background: var(--papel); box-shadow: var(--sombra); rotate: -.5deg; }
.mb-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.8rem; border-bottom: 3px double var(--tinta); }
.mb-head p { display: grid; }
.mb-head b { font-size: 1.3rem; letter-spacing: -.02em; }
.mb-head .mono { font-size: .8rem; color: var(--gris); }
.logo-marca-xl { width: 3.4rem; height: 3.4rem; font-size: 1.1rem; }
.mb-txt { margin-top: 1rem; color: var(--gris); font-size: 1.05rem; max-width: 34rem; }
.mb-rows { display: grid; margin-top: 1.6rem; border-top: 1px solid rgba(28, 43, 75, .25); }
.mb-rows div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(28, 43, 75, .25); }
.mb-rows dt { font-size: .85rem; color: var(--gris); }
.mb-rows dd { font-weight: 700; overflow-wrap: anywhere; }
.mb-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.mb-firma { margin-top: 2rem; font-size: .8rem; color: var(--gris); }
.ct-mesa { position: relative; display: grid; gap: 1.6rem; justify-items: center; }
.polaroid { width: min(100%, 19rem); padding: .7rem .7rem 0; background: #fff; box-shadow: var(--sombra); rotate: var(--r); }
.polaroid img { aspect-ratio: 4 / 4.4; object-fit: cover; filter: sepia(.2) saturate(.85); }
.polaroid figcaption { padding: .7rem .2rem .9rem; font-size: .8rem; color: var(--gris); }
.polaroid-b { width: min(80%, 15rem); justify-self: end; margin-top: -4rem; }
.credencial { --foco: var(--tinta); display: grid; gap: .35rem; width: min(100%, 22rem); padding: 1.4rem 1.5rem; border-radius: .8rem; background: var(--tinta); color: var(--papel); text-decoration: none; box-shadow: var(--sombra); rotate: 1.5deg; position: relative; transition: rotate .2s, translate .2s; }
.credencial::before { content: ''; position: absolute; top: .8rem; left: 50%; width: 2.6rem; height: .45rem; translate: -50% 0; border-radius: 1rem; background: var(--kraft); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.credencial:hover { rotate: 0deg; translate: 0 -3px; }
.cr-k { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; font-size: .8rem; color: #e3c690; }
.cr-t { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.cr-d { font-size: .92rem; color: #d9d3c5; }
.cr-go { margin-top: .4rem; font-weight: 700; color: #f1d283; }

/* ---------- Footer y aviso ---------- */
.foot { --foco: #f1d283; background: var(--vade); color: var(--papel); padding: 3rem 0 2rem; }
.foot-in { display: grid; gap: 2rem; }
.foot-claim { font: 800 clamp(1.6rem, 3vw, 2.4rem)/1.1 var(--sans); letter-spacing: -.03em; }
.foot-claim .link { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-left: .6rem; color: #f1d283; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 1.6rem; border-top: 1px dashed rgba(248, 244, 234, .25); }
.foot-cols .mono { font-size: .8rem; color: #e3c690; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .08em; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: #c9c2b4; }
.toast { position: fixed; left: 50%; bottom: 5.5rem; z-index: 90; translate: -50% 1rem; max-width: calc(100% - 2rem); padding: .8rem 1.2rem; background: var(--papel); color: var(--tinta); border-left: 4px solid var(--rojo); box-shadow: var(--sombra); font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.toast.on { opacity: 1; translate: -50% 0; }

/* ---------- Detalles con scroll (CSS scroll-driven, con respaldo: sin soporte quedan quietos) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
    .nota, .pp-how li { animation: cae linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}
@keyframes rv { from { opacity: 0; transform: translateY(1.6rem); } }
@keyframes cae { from { opacity: 0; transform: translateY(2.4rem) rotate(4deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-r { margin-left: auto; }
  .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tj-in { aspect-ratio: 5 / 6.4; }
}
@media (max-width: 860px) {
  .sec-h, .nd-grid, .venc-grid, .pp-grid, .turno-grid, .ct-grid { grid-template-columns: 1fr; }
  .nd-side, .tt-side { position: static; }
  .tt-fig { display: none; }
  .libro-h, .vl { grid-template-columns: 5.5rem minmax(0, 1fr) 9rem; }
  .hide-sm, .vl-desc { display: none; }
  .ct-mesa { grid-template-columns: 1fr 1fr; align-items: start; }
  .polaroid-b { margin-top: 2rem; width: 100%; }
  .credencial { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 58px; }
  body { font-size: 1rem; }
  .hdr { gap: .6rem; }
  .hdr-portal, .logo-t small { display: none; }
  .hdr-cta { --h: 2.4rem; --pad: .6rem; font-size: .85rem; }
  /* portada: el texto arriba y el cajón abajo */
  .hero { min-height: max(100svh, 680px); }
  .hero-desk { font-size: 6.4px; }
  .hp { left: var(--mx); top: var(--my); --rr: var(--mr); }
  .hero-in { padding-top: 1.6rem; }
  .hero-in > * { max-width: none; }
  .hero-in .kicker { font-size: .72rem; letter-spacing: .06em; }
  .hero-h { font-size: clamp(3rem, 15vw, 4.2rem); margin: .6rem 0 .9rem; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas { margin-top: 1.2rem; gap: .6rem; }
  .hero-ctas .btn { --h: 2.75rem; font-size: .92rem; }
  .memo, .hero-hint { display: none; }
  .marcador { right: 3%; bottom: auto; top: 48%; font-size: 4.6px; }
  /* el orden */
  .or-ficha { left: 4%; right: 4%; top: calc(var(--hdr) + .4rem); translate: none; width: auto; padding: .9rem 1rem .8rem; rotate: -.8deg; background-image: none; }
  .or-ficha::after { display: none; }
  .or-ficha .kicker { font-size: .72rem; }
  .or-ficha h2 { font-size: 1.55rem; margin-top: .35rem; }
  .or-txt { display: none; }
  .or-cuenta { margin-top: .4rem; font-size: .88rem; }
  .or-cuenta b { font-size: 2.2rem; }
  .or-ok { right: 1rem; bottom: .9rem; font-size: .9rem; }
  .or-desk { font-size: 6.8px; }
  .or-p { left: var(--mx); top: var(--my); --rr: var(--mr); }
  .or-backs, .or-fronts { left: 3%; right: 3%; top: 62%; height: 15.5%; gap: 2.4%; }
  .fo-tab { width: 48%; padding: 0 .45em; }
  .fo-tab b { font-size: .95em; }
  .fo-tab .fo-n { display: none; }
  .fo-label { left: 6%; right: 6%; max-width: none; padding: .45em .5em; }
  .fo-label b { font-size: 1.45em; }
  .fo-label small { display: none; }
  .fo-ok { left: 8%; bottom: 12%; font-size: 1.15em; }
  /* secciones */
  .ar-tabs { overflow-x: auto; scrollbar-width: none; padding-inline: .2rem; mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .ar-tabs::-webkit-scrollbar { display: none; }
  .ar-tab { padding: .6rem .9rem .85rem; font-size: .92rem; }
  .ar-body { border-radius: 0 0 1rem 1rem; padding: .7rem; }
  .ar-cols, .ndr-cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .nd-opts { grid-template-columns: 1fr; }
  .nd-opts:not(.nd-opts2) .nd-opt:nth-child(odd) { border-right: 0; }
  .nd-panel { rotate: 0deg; min-height: 0; }
  .fh-head { grid-template-columns: 1fr auto; }
  .fh-head span:last-child { display: none; }
  .cuit-chip { width: 2.6rem; height: 2.6rem; }
  .cd { min-height: 3.2rem; padding: .2rem; }
  .ev { font-size: 0; height: .35rem; border-left: 0; background: var(--c); border-radius: 2px; padding: 0; }
  .libro { padding-left: 1.6rem; background-image: linear-gradient(90deg, transparent 1rem, rgba(158, 42, 34, .55) 1rem 1.1rem, transparent 1.1rem); }
  .libro-h, .vl { grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .6rem; padding-right: .8rem; font-size: .9rem; }
  .pp-how { grid-template-columns: 1fr; }
  .pp-tools { grid-template-columns: 1fr; }
  .pp-portal { border-width: 10px; border-top-width: 40px; padding-inline: .9rem; }
  .clip { top: -34px; }
  .pp-item { grid-template-columns: 1.4rem 1fr auto; }
  .pp-item .pp-st-i { display: none; }
  .wa-chat { height: 20rem; }
  .tt-panel { padding-left: 2.4rem; padding-right: 1rem; }
  .tt-opts { grid-template-columns: 1fr 1fr; }
  .tt-mod:last-child { grid-column: 1 / -1; }
  .tt-days { gap: .35rem; }
  .tt-day b { font-size: 1.2rem; }
  .tt-slots { grid-template-columns: repeat(4, 1fr); }
  .tt-form { grid-template-columns: 1fr; gap: .7rem; }
  .fld { grid-template-columns: 1fr; }
  .tt-foot { grid-template-columns: auto 1fr; }
  .tt-sum { display: none; }
  .tt-next { justify-self: end; }
  .tt-ticket { padding: 1.6rem 1.1rem 1.2rem; }
  .tk-rows > div { grid-template-columns: 4.5rem 1fr; }
  .tarjetas { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 1.25rem 1.5rem; margin-inline: -1.25rem; }
  .tarjeta { scroll-snap-align: center; }
  .tj-in { aspect-ratio: 5 / 7.6; }
  .notas { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .mb-rows div { grid-template-columns: 5.5rem 1fr; }
  .mb-rows dd { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}
