/* =====================================================================
   DEXENS · web-joinway (3-nov-2026)
   Monolito: fondo casi negro, blanco roto, un rojo de señal.
   El rojo solo marca lo que decide o revisa una persona (y una palabra
   por titular). Grotesca pesada y estrecha en mayúsculas (Archivo, eje
   de anchura) y Plex Mono para rótulos técnicos.
   ===================================================================== */

:root {
  --ink: #0b0b0a;
  --ink-2: #121210;
  --ink-3: #1a1a17;
  --line: rgba(236, 232, 224, .14);
  --line-2: rgba(236, 232, 224, .3);
  --bone: #ece8e0;
  --bone-2: #bdb8ae;
  --mute: #8e8a81;
  --dim: #6b675f;          /* solo texto grande (≥ 3:1) */
  --red: #e8261c;          /* superficies y texto grande */
  --red-ink: #ff4a3f;      /* texto pequeño sobre --ink */
  --red-btn: #d81f15;      /* fondo de botón con texto blanco */
  --red-deep: #c11a12;     /* texto pequeño sobre papel */
  --paper: #ece8e0;
  --paper-2: #e0dbd1;
  --paper-ink: #141412;
  --paper-mute: #57534b;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --top-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; }
.inbox :focus-visible, .mini :focus-visible { outline-color: var(--paper-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--bone); color: var(--ink); padding: 12px 18px; font-family: var(--f-mono); font-size: 13px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.display, .h2, .h3, .hero__title {
  font-weight: 820;
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .93;
  text-wrap: balance;
}
.display { font-size: clamp(3rem, 11vw, 11rem); line-height: .9; }
.h2 { font-size: clamp(2.5rem, 6.4vw, 6.6rem); }
.h3 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: .95; }

.label {
  display: flex; align-items: center; gap: 0;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--mute);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.label__n { color: var(--red-ink); margin-right: 16px; }
.label__n::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 16px; }
.label__dot { width: 8px; height: 8px; background: var(--red); margin-right: 12px; flex: none; }
.note { color: var(--mute); font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; text-decoration: none;
  background: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 12px; }
.btn--bone { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--bone:hover { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.btn--line { border-color: var(--line-2); color: var(--bone); }
.btn--line:hover { border-color: var(--bone); background: rgba(236, 232, 224, .06); }
.btn--ink { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.btn--ink:hover { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }
.btn--ghost { border-color: rgba(20, 20, 18, .35); color: var(--paper-ink); }
.btn--ghost:hover { border-color: var(--paper-ink); background: rgba(20, 20, 18, .05); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line-2); background: none; color: var(--bone); text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--bone); background: rgba(236, 232, 224, .06); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- Cabecera ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: rgba(11, 11, 10, .9); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__mark { position: relative; width: 16px; height: 16px; background: var(--bone); }
.brand__mark::after { content: ""; position: absolute; right: -5px; bottom: -5px; width: 7px; height: 7px; background: var(--red); }
.brand__name { font-weight: 850; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 20px; line-height: 1; }
.top__nav { display: flex; gap: 4px; margin-left: auto; margin-right: 8px; }
.top__nav a {
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--bone-2); text-decoration: none; padding: 14px 12px; position: relative;
}
.top__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top__nav a:hover { color: var(--bone); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top__menu {
  display: none; min-height: 44px; min-width: 44px; padding: 0 16px;
  background: none; border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
}

.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0;
  border: 0; padding: 0 var(--gutter) 32px; background: var(--ink); color: var(--bone);
  display: none; flex-direction: column;
}
.menu[open] { display: flex; animation: fade .3s var(--ease); }
.menu::backdrop { background: var(--ink); }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); border-bottom: 1px solid var(--line); }
.menu__nav { display: flex; flex-direction: column; margin-top: 24px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-weight: 820; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.8rem, 8vw, 3rem); line-height: 1; text-decoration: none;
}
.menu__nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--red-ink); font-weight: 500; letter-spacing: .1em; }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: 14px; }
.menu__foot a { padding: 10px 0; }

/* ---------- Pausar movimiento (en la cabecera, siempre a mano) ---------- */
.motion-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-2); color: var(--bone);
}
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle__play { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
.motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle:hover { border-color: var(--bone); }

/* ---------- Placas fotográficas ---------- */
.plate { position: absolute; inset: 0; overflow: hidden; background: var(--ink-3); }
.plate__img, .plate picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate__img { object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.86); transform: scale(var(--zoom, 1.06)); transform-origin: 50% 60%; will-change: transform; }
.plate::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.plate__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Portada ---------- */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; transform: translateY(calc(var(--p, 0) * 12%)); }
.plate--hero::after { background:
  linear-gradient(to top, rgba(11, 11, 10, .96) 0%, rgba(11, 11, 10, .72) 30%, rgba(11, 11, 10, .2) 62%, rgba(11, 11, 10, .55) 100%),
  linear-gradient(to right, rgba(11, 11, 10, .55), rgba(11, 11, 10, 0) 60%); }
.plate--hero .plate__img { --zoom: calc(1.04 + var(--p, 0) * .12); transform-origin: 60% 30%; }
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--top-h) + 24px) var(--gutter) clamp(88px, 12vh, 128px);
  opacity: calc(1 - var(--p, 0) * 1.4);
}
.hero__kicker { margin-bottom: clamp(20px, 3vh, 36px); color: var(--bone-2); }
.hero__title { font-size: clamp(2.7rem, 7.7vw, 9rem); font-weight: 860; font-stretch: 76%; line-height: .92; max-width: 16ch; text-wrap: initial; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-top: clamp(28px, 4.4vh, 48px); }
.hero__lede { max-width: 46ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--bone-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ticker { position: absolute; z-index: 2; inset: auto 0 0; height: 52px; border-top: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; opacity: calc(1 - var(--p, 0) * 2); }
.ticker__track { display: flex; flex: none; width: max-content; animation: ticker 70s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--bone-2); white-space: nowrap; }
.ticker__track span::before { content: ""; width: 6px; height: 6px; background: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* La hoja que sube sobre la portada */
.sheet { position: relative; z-index: 1; background: var(--ink); box-shadow: 0 -40px 80px rgba(0, 0, 0, .45); }
.sheet > section, .sheet > .catalogo { position: relative; }

/* ---------- Cifras ---------- */
.cifras { padding-block: clamp(96px, 13vw, 200px) clamp(72px, 9vw, 140px); }
.cifras__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.cifras__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--top-h) + 40px); }
.cifras__title { font-weight: 820; font-stretch: 78%; text-transform: uppercase; line-height: .93; font-size: clamp(2.4rem, 4.6vw, 4.8rem); letter-spacing: -.01em; max-width: 9ch; }
.cifras__list { grid-column: 7 / span 6; }
.cifra { display: grid; grid-template-columns: 1fr minmax(0, 17rem); gap: 24px; align-items: end; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.cifra:last-child { border-bottom: 1px solid var(--line); }
.cifra__n { display: flex; align-items: flex-start; font-weight: 800; font-stretch: 72%; font-size: clamp(5.5rem, 13vw, 12.5rem); line-height: .78; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cifra__n sup { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); margin: .3em 0 0 14px; line-height: 1; }
.cifra__text { color: var(--bone-2); font-size: 15px; line-height: 1.5; padding-bottom: 6px; }

/* ---------- Obras (cuatro formas de empezar) ---------- */
.obras { padding-block: clamp(80px, 10vw, 160px) clamp(64px, 8vw, 120px); }
.obras__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.obras__aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--top-h) + 40px); align-self: start; }
.obras__lede { margin-top: 28px; color: var(--bone-2); max-width: 36ch; }
.obras__lede .note { display: block; margin-top: 12px; }
.obras__counter { margin-top: clamp(40px, 8vh, 96px); display: flex; align-items: flex-start; gap: 12px; font-variant-numeric: tabular-nums; }
.obras__counter b { font-weight: 800; font-stretch: 72%; font-size: clamp(4rem, 7vw, 7rem); line-height: .8; color: var(--red); }
.obras__counter span { font-family: var(--f-mono); font-size: 13px; color: var(--mute); letter-spacing: .1em; }
.obras__list { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: clamp(64px, 9vw, 128px); }
.obra__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.obra__plate {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3);
  clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-io);
}
.js .obra:not(.is-in) .obra__plate { clip-path: inset(18% 0 0 0); }
.obra__plate picture, .obra__plate .plate__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.obra__plate .plate__img { --zoom: 1.12; transition: transform 1.6s var(--ease), filter .6s; filter: grayscale(1) contrast(1.06) brightness(.62); }
.obra.is-in .obra__plate .plate__img { --zoom: 1.02; }
.obra__btn:hover .plate__img, .obra__btn:focus-visible .plate__img { --zoom: 1.06; filter: grayscale(1) contrast(1.1) brightness(.72); }
.obra__plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, rgba(11, 11, 10, .55), rgba(11, 11, 10, 0) 55%); pointer-events: none; }
.obra__num {
  position: absolute; z-index: 2; right: clamp(14px, 2vw, 28px); top: clamp(8px, 1.5vw, 20px);
  font-weight: 800; font-stretch: 72%; font-size: clamp(4rem, 9vw, 9rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 232, 224, .55);
}
.obra__plate .mini { position: absolute; z-index: 2; left: clamp(14px, 3vw, 40px); bottom: clamp(14px, 3vw, 40px); width: min(340px, calc(100% - 28px)); }
.obra__meta { display: flex; gap: 24px; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.obra__estado::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 10px; vertical-align: 2px; }
.obra__title { display: block; margin-top: 10px; font-weight: 820; font-stretch: 78%; text-transform: uppercase; font-size: clamp(2.2rem, 4.8vw, 5.2rem); line-height: .88; letter-spacing: -.01em; transition: color .3s; }
.obra__open { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 44px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--bone-2); border-bottom: 1px solid var(--line-2); }
.obra__open svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.obra__btn:hover .obra__open svg { transform: translate(3px, -3px); }
.obra__btn:hover .obra__open { color: var(--bone); border-color: var(--red); }

/* ---------- Catálogo: lista de servicios ---------- */
.catalogo { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.catalogo__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 3vw, 36px) 0; list-style: none; cursor: pointer;
  font-weight: 820; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: .9;
}
.catalogo__toggle::-webkit-details-marker { display: none; }
.catalogo__icon { display: grid; place-items: center; width: clamp(48px, 5vw, 72px); aspect-ratio: 1; border: 1px solid var(--line-2); flex: none; transition: background-color .3s, border-color .3s; }
.catalogo__icon svg { width: 18px; height: 18px; }
.catalogo__toggle:hover .catalogo__icon { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.catalogo__close-label, .catalogo__details[open] .catalogo__open-label { display: none; }
.catalogo__details[open] .catalogo__close-label { display: inline; }
.catalogo__icon svg { transition: transform .5s var(--ease); }
.catalogo__details[open] .catalogo__icon svg { transform: rotate(45deg); }
.catalogo__content { padding-bottom: clamp(48px, 6vw, 96px); }
.catalogo__head { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: end; padding: 16px 0 32px; }
.catalogo__filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.catalogo__count { grid-row: 1; grid-column: 2; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.chip-btn {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); background: none;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--bone-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip-btn:hover { border-color: var(--bone); color: var(--bone); }
.chip-btn[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.servicios { border-top: 1px solid var(--line); }
.servicio { border-bottom: 1px solid var(--line); }
.servicio[hidden] { display: none; }
.servicio__btn {
  width: 100%; display: grid; grid-template-columns: 4.5rem 1fr 11rem 11rem 48px; align-items: center; gap: 16px;
  padding: clamp(14px, 1.6vw, 22px) 0; background: none; border: 0; text-align: left; color: var(--dim);
  transition: color .5s var(--ease);
}
.servicio__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); transition: color .3s; }
.servicio__title { font-weight: 820; font-stretch: 78%; text-transform: uppercase; font-size: clamp(1.7rem, 4.4vw, 4.4rem); line-height: .92; letter-spacing: -.01em; transition: transform .5s var(--ease); }
.servicio__area, .servicio__estado { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.servicio__go { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--bone); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.servicio__go svg { width: 14px; height: 14px; }
.servicio.is-lit .servicio__btn, .no-js .servicio__btn { color: var(--bone); }
.servicio__btn:hover, .servicio__btn:focus-visible { color: var(--bone); }
.servicio__btn:hover .servicio__n, .servicio__btn:focus-visible .servicio__n, .servicio.is-lit .servicio__n { color: var(--red-ink); }
.servicio__btn:hover .servicio__title { transform: translateX(12px); }
.servicio__btn:hover .servicio__go, .servicio__btn:focus-visible .servicio__go { opacity: 1; }
.catalogo__note { margin-top: 20px; display: block; }

/* ---------- Un lunes cualquiera ---------- */
.lunes { padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); }
.lunes__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.lunes__clock { grid-column: 1 / span 5; position: sticky; top: calc(var(--top-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
.lunes__day { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--red-ink); }
.lunes__time { font-weight: 800; font-stretch: 70%; font-size: clamp(5rem, 13.5vw, 14rem); line-height: .8; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lunes__count { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--bone-2); }
.lunes__count b { color: var(--bone); font-weight: 500; }
.lunes__bar { display: block; height: 2px; background: var(--line); max-width: 420px; margin-top: 6px; }
.lunes__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--lp, 0)); transition: transform .4s var(--ease); }
.lunes__body { grid-column: 7 / span 6; }
.lunes__lede { margin-top: 24px; color: var(--bone-2); font-size: 19px; }
.lunes__list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.evento { display: grid; grid-template-columns: 5.5rem 1fr; gap: 6px 20px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.evento__time { font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; color: var(--mute); padding-top: 4px; transition: color .4s; }
.evento__text { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.42; color: var(--bone-2); transition: color .5s; }
.evento__estado { grid-column: 2; margin-top: 10px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; min-height: 20px; }
.evento__pend { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); }
.evento__pend::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--mute); }
.evento__visto { display: none; align-items: center; gap: 10px; color: var(--bone); }
.evento__visto svg { width: 14px; height: 14px; }
.evento.is-done .evento__text, .no-js .evento__text { color: var(--bone); }
.evento.is-done .evento__pend { display: none; }
.evento.is-done .evento__visto { display: inline-flex; animation: rise .5s var(--ease); }
.evento--persona.is-done .evento__visto, .evento--persona.is-done .evento__time { color: var(--red-ink); }
.evento.is-done .evento__time { color: var(--bone); }
.evento--persona.is-done .evento__time { color: var(--red-ink); }
.lunes__end { margin-top: 48px; font-weight: 820; font-stretch: 78%; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .92; }
.lunes__end span { color: var(--red); }

/* ---------- Pruébalo: bandeja ---------- */
.bandeja { padding-block: clamp(96px, 12vw, 180px); background: var(--ink-2); border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .label { grid-column: 1 / -1; }
.sec-head .h2 { grid-column: 1 / span 8; }
.sec-head__lede { grid-column: 9 / span 4; align-self: end; color: var(--bone-2); }
.sec-head__lede .note { display: block; margin-top: 12px; }

.inbox { background: var(--paper); color: var(--paper-ink); position: relative; box-shadow: 0 40px 120px rgba(0, 0, 0, .55); }
.inbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid rgba(20, 20, 18, .16); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.inbox__title { font-weight: 500; }
.inbox__count b { font-weight: 500; color: var(--red-deep); }
.inbox__chooser { display: none; padding: 16px 20px; border-bottom: 1px solid rgba(20, 20, 18, .16); }
.inbox__chooser label { display: block; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-mute); margin-bottom: 8px; }
.inbox__chooser select { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid rgba(20, 20, 18, .4); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23141412' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; color: var(--paper-ink); -webkit-appearance: none; appearance: none; font-size: 16px; border-radius: 0; }
.inbox__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 520px; }
.inbox__list { border-right: 1px solid rgba(20, 20, 18, .16); }
.inbox__list li + li { border-top: 1px solid rgba(20, 20, 18, .1); }
.inbox__item {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center;
  padding: 18px 24px; min-height: 84px; background: none; border: 0; text-align: left; color: var(--paper-ink); position: relative;
  transition: background-color .2s;
}
.inbox__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transition: transform .3s var(--ease); }
.inbox__item:hover { background: rgba(20, 20, 18, .04); }
.inbox__item[aria-current="true"] { background: var(--paper-2); }
.inbox__item[aria-current="true"]::before { transform: scaleY(1); }
.inbox__kind { grid-column: 1; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--paper-mute); }
.inbox__subject { grid-column: 1; font-weight: 600; font-size: 16px; line-height: 1.3; }
.chip { grid-column: 2; grid-row: 1 / span 2; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border: 1px solid rgba(20, 20, 18, .35); white-space: nowrap; }
.chip.is-ok { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.chip.is-off { color: var(--paper-mute); border-style: dashed; text-decoration: line-through; }
.inbox__item.is-closed .inbox__subject { color: var(--paper-mute); }

.inbox__detail { position: relative; padding: clamp(24px, 3vw, 44px); outline: none; overflow: hidden; }
.draft { display: none; position: relative; }
.draft.is-active { display: block; animation: rise .45s var(--ease); }
.draft__source { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--paper-mute); }
.draft__title { margin-top: 12px; font-weight: 820; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: .92; }
.draft__text { margin-top: 22px; padding: 20px 22px; border: 1px solid rgba(20, 20, 18, .2); background: #f4f1eb; font-size: 17px; line-height: 1.55; max-width: 60ch; }
.draft__text [data-resolved] { font-weight: 700; color: var(--red-deep); }
.draft__text [data-resolved].is-set { color: var(--paper-ink); }
.draft__edit { display: block; width: 100%; min-height: 150px; margin-top: 22px; padding: 18px 20px; border: 2px solid var(--paper-ink); background: #fff; color: var(--paper-ink); font-size: 17px; line-height: 1.55; resize: vertical; border-radius: 0; }
.draft__edit-label { display: block; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-mute); }
.draft__edit-label + .draft__edit { margin-top: 8px; }
.draft__check { margin: 22px 0 0; padding: 0; border: 0; max-width: 60ch; }
.draft__check legend { font-size: 15px; line-height: 1.5; margin-bottom: 12px; padding: 0; }
.draft__check label { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px 0 16px; margin: 0 8px 8px 0; border: 1px solid rgba(20, 20, 18, .35); cursor: pointer; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.draft__check label:hover { border-color: var(--paper-ink); }
.draft__check label:has(input:checked) { border: 2px solid var(--paper-ink); background: #fff; }
.draft__check input { width: 20px; height: 20px; accent-color: var(--red-deep); margin: 0; }
.draft__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.draft__hint { margin-top: 12px; font-size: 14px; color: var(--paper-mute); }
.draft__hint.is-hidden { display: none; }
.draft__result { margin-top: 16px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; min-height: 1.4em; }
.draft.is-closed .draft__actions, .draft.is-closed .draft__check, .draft.is-closed .draft__hint { display: none; }
.sello {
  display: none; position: relative; z-index: 2; pointer-events: none; margin: 18px 0 4px 6px;
  padding: 10px 14px 8px; border: 3px solid var(--red); color: var(--red);
  font-weight: 860; font-stretch: 75%; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: .02em;
  transform: rotate(-6deg); transform-origin: left center;
  mix-blend-mode: multiply;
}
.sello.is-on { display: inline-block; opacity: .92; animation: stamp .5s cubic-bezier(.3, 1.4, .5, 1); }
.sello.is-off { border-color: var(--paper-mute); color: var(--paper-mute); }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(1.9); } 60% { opacity: .95; transform: rotate(-6deg) scale(.96); } 100% { opacity: .92; transform: rotate(-6deg) scale(1); } }
.inbox__done { padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 64px); min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; outline: none; }
.inbox__done[hidden] { display: none; }
.inbox__done-title { font-weight: 860; font-stretch: 76%; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7rem); line-height: .85; }
.inbox__done-text { font-size: 18px; max-width: 52ch; }

/* ---------- Frase ---------- */
.frase { height: 230vh; border-top: 1px solid var(--line); }
.frase__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.frase__content { position: relative; }
.frase__label { margin-bottom: clamp(24px, 4vh, 48px); }
.frase__text { font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 6.4rem); line-height: 1; letter-spacing: -.01em; max-width: 24ch; }
.frase__text .fw { color: #4b4842; transition: color .35s; }
.frase__text .fw.is-on { color: var(--bone); }
.frase__text em .fw.is-on, .frase__text .fw.is-on em { color: var(--red); }
.frase__text em .fw { color: #4b4842; }

/* ---------- Cómo trabajamos ---------- */
.metodo { padding-block: clamp(96px, 12vw, 180px) clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.metodo__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.metodo__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--top-h) + 40px); align-self: start; }
.metodo__lede { margin-top: 24px; color: var(--bone-2); max-width: 36ch; }
.metodo__indice { margin-top: 36px; border-top: 1px solid var(--line); max-width: 420px; }
.metodo__indice li { border-bottom: 1px solid var(--line); }
.metodo__indice a { display: flex; align-items: center; gap: 18px; min-height: 48px; font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); text-decoration: none; transition: color .3s, padding-left .3s var(--ease); }
.metodo__indice a span { color: var(--mute); }
.metodo__indice a:hover { color: var(--bone); }
.metodo__indice a[aria-current="step"] { color: var(--bone); padding-left: 10px; }
.metodo__indice a[aria-current="step"] span { color: var(--red-ink); }
.metodo__big { margin-top: clamp(24px, 5vh, 56px); font-weight: 800; font-stretch: 68%; font-size: clamp(7rem, 15vw, 15rem); line-height: .78; letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; overflow: hidden; }
.metodo__big span { display: inline-block; }
.metodo__big span.is-swap { animation: numIn .6s var(--ease); }
@keyframes numIn { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.pasos { grid-column: 7 / span 6; }
.paso { min-height: 72vh; padding: 48px 0 64px; border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.paso__n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; color: var(--red-ink); }
.paso__title {
  margin-top: 14px; font-weight: 840; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 6rem); line-height: .9; letter-spacing: -.01em;
  color: var(--dim); transition: color .5s, text-shadow .6s var(--ease);
}
.paso.is-active .paso__title, .no-js .paso__title {
  color: var(--bone);
  text-shadow: 1px 1px 0 #34322d, 2px 2px 0 #2f2d29, 3px 3px 0 #2a2925, 4px 4px 0 #262521, 5px 5px 0 #22211e, 6px 6px 0 #1e1d1a, 7px 7px 0 #1a1a17, 8px 8px 0 #171714;
}
.paso__text { margin-top: 24px; color: var(--bone-2); font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.paso__lleva, .paso__ejemplo { margin-top: 24px; padding: 18px 20px; max-width: 52ch; border-left: 2px solid var(--red); background: rgba(236, 232, 224, .03); font-size: 16px; }
.paso__ejemplo { border-left-color: var(--line-2); }
.paso__lleva span, .paso__ejemplo span { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }

/* ---------- Garantías ---------- */
.garantias { border-top: 1px solid var(--line); padding-bottom: clamp(96px, 12vw, 180px); }
.garantias__band { position: relative; height: clamp(460px, 82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.plate--band::after { background: linear-gradient(to top, rgba(11, 11, 10, 1) 0%, rgba(11, 11, 10, .6) 34%, rgba(11, 11, 10, .12) 70%, rgba(11, 11, 10, .4) 100%); }
.plate--band .plate__img { --zoom: calc(1.18 - var(--bp, 0) * .14); transform-origin: 50% 50%; }
.garantias__band-in { position: relative; z-index: 2; padding-bottom: clamp(32px, 5vw, 64px); }
.garantias__band-in .label { color: var(--bone-2); }
.claves { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(32px, 4vw, 56px); }
.clave { padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px) 12px; border-left: 1px solid var(--line); }
.clave:first-child { border-left: 0; padding-left: 0; }
.clave__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--red-ink); }
.clave__kicker { display: block; margin-top: 18px; font-weight: 840; font-stretch: 74%; text-transform: uppercase; font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: .86; letter-spacing: -.01em; }
.clave__title { margin-top: 22px; font-size: 20px; font-weight: 650; line-height: 1.25; }
.clave__list { margin-top: 14px; display: grid; gap: 12px; color: var(--bone-2); font-size: 16px; }
.presu { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-top: clamp(72px, 9vw, 140px); }
.presu__head { grid-column: 1 / span 4; }
.presu__title { font-weight: 820; font-stretch: 78%; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: .9; }
.presu__head p { margin-top: 20px; color: var(--bone-2); max-width: 34ch; }
.presu__partes { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.presu__partes > div { display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: 12px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.presu__partes dt { display: flex; align-items: baseline; gap: 16px; font-weight: 820; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1; }
.presu__partes dt span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--red-ink); letter-spacing: .1em; }
.presu__partes dd { color: var(--bone-2); }

/* ---------- Programas ---------- */
.programas { padding-block: clamp(80px, 9vw, 140px); border-top: 1px solid var(--line); background: var(--ink-2); }
.programas__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.programas__head .h2 { font-size: clamp(2.2rem, 5vw, 5rem); max-width: 14ch; }
.programas__head .h2__soft .w__in { color: var(--dim); }
.programas__note { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 650; font-size: 17px; color: var(--bone); white-space: nowrap; transition: background-color .3s; }
.logo:hover { background: rgba(236, 232, 224, .04); }
.logo img { filter: brightness(0) invert(.92); width: auto; height: 24px; }
.logo img[src*="holded"] { height: 26px; }
.logo__icon--lg { height: 34px !important; }
.logo__word { font-weight: 860; font-size: 26px; letter-spacing: -.02em; }

/* ---------- Preguntas ---------- */
.preguntas { padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); }
.preguntas__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.preguntas__head { grid-column: 1 / span 5; }
.preguntas__head .display { font-size: clamp(3rem, 6.6vw, 7rem); }
.faq { grid-column: 6 / span 7; border-top: 1px solid var(--line); align-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 3.5rem 1fr 48px; align-items: center; gap: 12px; min-height: 84px; padding: 14px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.faq__q { font-weight: 650; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; transition: transform .4s var(--ease); }
.faq summary svg { justify-self: end; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.faq summary:hover .faq__q { transform: translateX(8px); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--red-ink); }
.faq details[open] .faq__n { color: var(--red-ink); }
.faq details p { padding: 0 64px 28px 3.5rem; margin-left: 12px; color: var(--bone-2); max-width: 62ch; }
.faq details[open] p { animation: rise .45s var(--ease); }

/* ---------- Cierre ---------- */
.cierre { position: relative; padding-block: clamp(96px, 12vw, 180px); border-top: 1px solid var(--line); overflow: hidden; }
.cierre .plate::after { background: linear-gradient(to bottom, rgba(11, 11, 10, .95), rgba(11, 11, 10, .78) 40%, rgba(11, 11, 10, .9)); }
.cierre__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; }
.cierre__intro { grid-column: 1 / span 6; }
.cierre__intro .h2 { font-size: clamp(2.4rem, 5.2vw, 5.4rem); }
.cierre__lede { margin-top: 28px; color: var(--bone-2); max-width: 44ch; font-size: 18px; }
.contacto { margin-top: 44px; border-top: 1px solid var(--line); max-width: 520px; }
.contacto li { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacto li[hidden] { display: none; }
.contacto span:first-child { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.contacto a { text-decoration-color: var(--red); text-underline-offset: 4px; }
.form { grid-column: 8 / span 5; align-self: start; background: rgba(18, 18, 16, .92); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.form__title { font-weight: 820; font-stretch: 80%; text-transform: uppercase; font-size: 28px; line-height: 1; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--bone-2); }
.optional { color: var(--mute); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--bone); font-size: 17px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23ece8e0' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center / 14px; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--bone-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--red); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.field__error { display: none; font-size: 13px; color: var(--red-ink); }
.field.is-invalid .field__error, .consent__error.is-shown { display: block; }
.field.is-invalid input { border-bottom-color: var(--red-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 6px; font-size: 14px; color: var(--bone-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--red); }
.consent [hidden] { display: none; }
.consent__error { margin-top: 8px; }
.form__foot { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 24px; }
.form__status { font-size: 14px; color: var(--bone-2); min-height: 1.4em; }
.form__status.is-ok { color: var(--bone); }

/* ---------- Pie ---------- */
.foot { position: relative; z-index: 1; background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; padding-bottom: clamp(48px, 6vw, 88px); }
.foot__id { grid-column: 1 / span 7; }
.foot__claim { font-weight: 820; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: .95; max-width: 18ch; }
.foot__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.foot__pills li[hidden] { display: none; }
.foot__cols { grid-column: 9 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-content: start; font-size: 15px; color: var(--bone-2); }
.foot__cols [hidden] { display: none; }
.foot__h { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-bottom: 10px; }
.foot__cols a { display: inline-block; padding: 4px 0; }
.foot__word { margin-bottom: clamp(48px, 6vw, 96px); padding-inline: clamp(8px, 1.4vw, 24px); overflow: hidden; }
.monolito { width: 100%; height: auto; overflow: visible; }
.monolito text { fill: var(--bone); font-family: var(--f-sans); font-weight: 860; font-stretch: 74%; letter-spacing: -6px; }
.monolito__dot { fill: var(--red); }
.js .monolito { transform: translateY(var(--fy, 40%)); transition: transform 1.4s var(--ease); }
.foot__word.is-in .monolito { --fy: 0%; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.foot__bottom a:not(.icon-btn) { color: var(--bone-2); }

/* ---------- Ficha ---------- */
.ficha {
  position: fixed; inset: 0 0 0 auto; width: min(600px, 100%); height: 100dvh; max-height: none; max-width: none; margin: 0 0 0 auto;
  padding: 0; border: 0; border-left: 1px solid var(--line-2); background: var(--ink-2); color: var(--bone); overflow-y: auto; overscroll-behavior: contain;
}
.ficha[open] { animation: slideIn .5s var(--ease); }
.ficha::backdrop { background: rgba(0, 0, 0, .66); }
.ficha__inner { padding: 20px clamp(20px, 3vw, 40px) 40px; display: flex; flex-direction: column; min-height: 100%; }
.ficha__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ficha__meta { display: flex; gap: 18px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.ficha__n { color: var(--red-ink); }
.ficha__title { margin-top: 28px; font-weight: 840; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: .88; }
.ficha__mini { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: var(--ink-3); border: 1px solid var(--line); display: grid; place-items: center; }
.ficha__mini .mini { width: min(380px, 100%); }
.ficha__note { margin-top: 10px; }
.ficha__body { margin-top: 28px; }
.ficha__lede { font-size: 21px; line-height: 1.4; font-weight: 500; }
.ficha__body dl { margin-top: 24px; border-top: 1px solid var(--line); }
.ficha__body dt { margin-top: 18px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.ficha__body dd { margin-top: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--bone-2); }
.ficha__rule { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(232, 38, 28, .08); font-weight: 600; }
.ficha__cta { margin-top: 32px; width: 100%; }

/* ---------- Mini pantallas (ejemplos ficticios) ---------- */
.mini { display: block; background: var(--paper); color: var(--paper-ink); padding: 14px 16px 16px; font-size: 14px; line-height: 1.35; text-align: left; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.mini svg { width: 14px; height: 14px; flex: none; }
.mini__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(20, 20, 18, .18); font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--paper-mute); }
.mini__estado { display: inline-flex; align-items: center; gap: 6px; color: var(--paper-ink); font-weight: 500; }
.mini__estado svg { width: 12px; height: 12px; }
.mini__estado--wait { color: var(--red-deep); }
.mini__estado--wait::before { content: ""; width: 7px; height: 7px; background: var(--red-deep); }
.m-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(20, 20, 18, .18); font-weight: 600; }
.m-row > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-tag { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border: 1px solid rgba(20, 20, 18, .4); }
.m-tag--red { border-color: var(--red-deep); color: var(--red-deep); }
.m-ok { color: var(--paper-ink); }
.m-due { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--red-deep); white-space: nowrap; }
.m-foot { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 11.5px; color: var(--paper-mute); }
.m-foot span { color: var(--paper-ink); font-weight: 500; }
.m-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; background: rgba(20, 20, 18, .06); border-left: 2px solid var(--paper-ink); font-size: 13px; }
.m-bar { display: block; height: 6px; margin-top: 10px; background: rgba(20, 20, 18, .12); }
.m-bar i { display: block; height: 100%; width: var(--w); background: var(--red); transform-origin: left; }
.m-call { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-weight: 600; }
.m-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; animation: live 1.2s ease-in-out infinite; }
.m-time { font-family: var(--f-mono); font-size: 12px; color: var(--paper-mute); }
.m-wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 6px 0; }
.m-wave i { flex: 1; height: 100%; background: var(--paper-ink); transform-origin: center; transform: scaleY(.25); animation: wave 1.1s ease-in-out infinite; }
.m-wave i:nth-child(3n) { animation-delay: -.3s; } .m-wave i:nth-child(3n+1) { animation-delay: -.7s; } .m-wave i:nth-child(4n) { animation-delay: -.5s; } .m-wave i:nth-child(5n) { animation-delay: -.9s; }
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; }
.a-swap-a { opacity: 0; }
.a-swap-b { opacity: 1; }
.m-doc { display: block; position: relative; padding: 10px 12px 14px; border: 1px solid rgba(20, 20, 18, .2); background: #f6f3ee; }
.m-doc__title { display: block; font-weight: 700; margin-bottom: 10px; }
.m-doc i { display: block; height: 6px; width: var(--w); margin-top: 7px; background: rgba(20, 20, 18, .18); transform-origin: left; }
.m-stamp { display: inline-block; margin-top: 14px; padding: 4px 8px; border: 2px solid var(--red-deep); color: var(--red-deep); font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-4deg); }
.m-btn { display: block; margin-top: 12px; }
.m-btn__face { display: inline-flex; padding: 8px 14px; background: var(--paper-ink); color: var(--paper); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.m-slot { display: flex; gap: 12px; align-items: baseline; padding: 8px 10px; margin-top: 6px; border-left: 2px solid var(--red-deep); background: rgba(20, 20, 18, .05); font-weight: 600; }
.m-alert { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; color: var(--red-deep); }
.m-scan { display: block; position: relative; height: 44px; margin-bottom: 6px; overflow: hidden; background: repeating-linear-gradient(to bottom, rgba(20, 20, 18, .14) 0 2px, transparent 2px 7px); }
.m-scan i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); box-shadow: 0 0 10px rgba(232, 38, 28, .6); }
.m-field { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(20, 20, 18, .18); }
.m-field > span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--paper-mute); }
.m-field--check b { color: var(--red-deep); }
.m-sign { width: 100%; height: 48px; color: var(--paper-ink); margin: 6px 0; }
.m-sign path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-to { display: block; padding: 6px 0 8px; font-family: var(--f-mono); font-size: 12px; }
.m-bars { display: flex; align-items: flex-end; gap: 8px; height: 76px; padding-top: 6px; border-bottom: 1px solid rgba(20, 20, 18, .3); }
.m-bars i { flex: 1; height: var(--h); background: var(--paper-ink); transform-origin: bottom; }
.m-bars i:last-child { background: var(--red); }
.m-send { display: inline-block; }
.m-kpi { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed rgba(20, 20, 18, .18); }
.m-kpi > span { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--paper-mute); }
.m-kpi b { font-size: 18px; font-variant-numeric: tabular-nums; }
.m-spark { grid-column: 1 / -1; width: 100% !important; height: 18px !important; color: var(--red); }

/* Animaciones de las mini pantallas: solo cuando su contenedor tiene .play */
.play .a-in { animation: aIn .5s var(--ease) var(--d, 0s) both; }
.play .a-pop { animation: aPop .4s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0s) both; }
.play .a-gx { animation: aGx .9s var(--ease) var(--d, 0s) both; }
.play .a-gy { animation: aGy .8s var(--ease) var(--d, 0s) both; }
.play .a-type { animation: aType 1s steps(24) var(--d, 0s) both; }
.play .a-late { animation: aIn .5s var(--ease) 2.4s both; }
.play .a-stamp { animation: aStamp .5s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s) both; }
.play .a-draw { animation: aDraw 1.4s ease-in-out var(--d, 0s) both; }
.play .a-scan { animation: aScan 1.8s ease-in-out .2s 2 both; }
.play .a-blink { animation: aBlink .8s steps(2) 2s 3 both; }
.play .a-swap-a { animation: swapA 2.2s linear both; }
.play .a-swap-b { animation: swapB 2.2s linear both; }
.play .swap--late .a-swap-a, .play .swap--late .a-swap-b { animation-duration: 2.8s; }
@keyframes aIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes aPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes aGx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes aGy { from { transform: scaleY(0); } to { transform: none; } }
@keyframes aType { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes aStamp { from { opacity: 0; transform: rotate(-4deg) scale(1.8); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
@keyframes aDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes aScan { 0% { transform: translateY(0); } 50% { transform: translateY(42px); } 100% { transform: translateY(0); } }
@keyframes aBlink { 0% { opacity: 1; } 50% { opacity: .2; } 100% { opacity: 1; } }
@keyframes swapA { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes swapB { 0%, 85% { opacity: 0; } 100% { opacity: 1; } }
@keyframes live { 50% { opacity: .25; } }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- Revelados ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .02em .08em; margin: -.2em -.02em -.08em; }
.w__in { display: inline-block; }
.js .split-lines:not(.is-in) .w__in { transform: translateY(108%); }
.js .split-lines .w__in { transition: transform 1s var(--ease) calc(var(--i, 0) * 45ms); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-delay: .7s; }

/* ---------- Movimiento pausado y movimiento reducido ---------- */
.is-paused .ticker__track, .is-paused .plate__grain, .is-paused .m-live, .is-paused .m-wave i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .split-lines:not(.is-in) .w__in { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .obra:not(.is-in) .obra__plate { clip-path: none; }
  .frase__text .fw, .frase__text em .fw { color: var(--bone); }
  .frase__text em .fw { color: var(--red); }
  .js .monolito { --fy: 0%; transform: none; }
  .ticker__track { animation: none; }
  .m-wave i { transform: scaleY(.6); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__menu { display: inline-flex; align-items: center; }
  .cifras__head, .obras__aside, .lunes__clock, .metodo__aside { grid-column: 1 / -1; }
  .cifras__head { position: static; margin-bottom: 40px; }
  .cifras__title { max-width: 14ch; }
  .cifras__list { grid-column: 1 / -1; }
  .obras__aside { position: static; margin-bottom: 56px; }
  .obras__counter { display: none; }
  .obras__list { grid-column: 1 / -1; }
  .lunes__body { grid-column: 1 / -1; }
  .metodo__aside { position: static; }
  .metodo__big { display: none; }
  .pasos { grid-column: 1 / -1; margin-top: 48px; }
  .paso { min-height: 0; }
  .sec-head .h2, .sec-head__lede { grid-column: 1 / -1; }
  .sec-head__lede { margin-top: 24px; max-width: 56ch; }
  .presu__head, .presu__partes { grid-column: 1 / -1; }
  .presu__partes { margin-top: 32px; }
  .preguntas__head, .faq { grid-column: 1 / -1; }
  .faq { margin-top: 32px; }
  .cierre__intro, .form { grid-column: 1 / -1; }
  .foot__id, .foot__cols { grid-column: 1 / -1; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .servicio__btn { grid-template-columns: 3.5rem 1fr 9rem 48px; }
  .servicio__estado { display: none; }
  /* Reloj del lunes: barra fija arriba */
  .lunes__clock { position: sticky; top: var(--top-h); z-index: 3; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 12px 0; margin-bottom: 40px; background: var(--ink); border-bottom: 1px solid var(--line); }
  .lunes__time { font-size: clamp(2.6rem, 10vw, 4rem); order: -1; }
  .lunes__bar { flex-basis: 100%; max-width: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top__cta { display: none; }
  .hero { min-height: 600px; }
  .hero__content { padding-bottom: 84px; }
  .hero__title { font-size: clamp(2.5rem, 12.4vw, 4.4rem); }
  .hero__foot { margin-top: 24px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__kicker { font-size: 11px; }
  .cifra { grid-template-columns: 1fr; gap: 12px; }
  .cifra__n { font-size: clamp(5rem, 28vw, 8rem); }
  .obra__plate { aspect-ratio: 4 / 5; }
  .obra__plate .mini { width: calc(100% - 28px); }
  .obra__num { font-size: 4.5rem; }
  .catalogo__head { grid-template-columns: 1fr; }
  .catalogo__count { grid-row: auto; grid-column: 1; }
  .servicio__btn { grid-template-columns: 2.4rem 1fr 44px; gap: 6px 10px; grid-template-areas: "n t g" ". a g"; }
  .servicio__n { grid-area: n; align-self: start; padding-top: .45em; }
  .servicio__title { grid-area: t; font-size: clamp(1.55rem, 7.6vw, 2.4rem); }
  .servicio__area { grid-area: a; font-size: 11px; }
  .servicio__go { grid-area: g; opacity: 1; width: 44px; height: 44px; }
  .evento { grid-template-columns: 1fr; }
  .evento__estado { grid-column: 1; }
  .inbox__chooser { display: block; }
  .inbox__body { grid-template-columns: 1fr; min-height: 0; }
  .inbox__list { display: none; }
  .inbox__bar { padding: 14px 20px; }
  .draft__text { padding: 16px; font-size: 16px; }
  .draft__actions .btn { flex: 1 1 auto; }
  .frase { height: 190vh; }
  .frase__text { font-size: clamp(1.75rem, 8.4vw, 2.8rem); }
  .claves { grid-template-columns: 1fr; }
  .clave { border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
  .presu__partes > div { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo { min-height: 104px; font-size: 15px; white-space: normal; text-align: center; }
  .faq summary { grid-template-columns: 2.4rem 1fr 32px; }
  .faq details p { padding: 0 0 24px 2.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .contacto li { grid-template-columns: 6rem 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bottom { flex-wrap: wrap; }
  .note { white-space: normal; }
}

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--top-h) + clamp(48px, 8vw, 120px)) 0 clamp(64px, 8vw, 120px); }
.legal__card { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.legal__card h1 { font-weight: 840; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 6rem); line-height: .86; letter-spacing: -.01em; }
.legal__card .lede { margin-top: 24px; font-size: 20px; color: var(--bone-2); max-width: 56ch; }
.legal__card h2 { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1; }
.legal__card p, .legal__card ul { margin-top: 14px; color: var(--bone-2); max-width: 68ch; }
.legal__card ul { padding-left: 0; display: grid; gap: 8px; }
.legal__card ul li { padding-left: 20px; position: relative; }
.legal__card ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--red); }
.legal__card a { color: var(--bone); text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal__card strong { color: var(--bone); }
.legal__card [hidden] { display: none; }
.pending { margin-top: 24px !important; padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(232, 38, 28, .08); color: var(--bone) !important; font-size: 15px; }
.placeholder { font-family: var(--f-mono); font-size: .9em; color: var(--red-ink); }
.muted { color: var(--mute) !important; font-size: 14px; }
.legal-foot { padding-top: 0; }
.legal-foot .foot__bottom a { text-decoration-color: var(--red); }

/* Cierre con fotografía de fondo */
.plate--cierre { z-index: 0; }
.plate--cierre .plate__img { --zoom: 1.04; }
.cierre .plate--cierre::after { background: linear-gradient(to bottom, rgba(11, 11, 10, .97) 0%, rgba(11, 11, 10, .8) 45%, rgba(11, 11, 10, .93) 100%); }
.legal__card ul li:has(> span:only-child:empty) { display: none; }
