/* ciserex.com — version 3
   ───────────────────────
   Two grounds and one thread.

   GROUND. Every page opens in obsidian and resolves into paper. The dark is where the system is
   stated — the hero, what it judges, what it proves, the close — and the paper is where it is
   explained. A reader who scrolls the home page passes through dark, light, dark: that arc is the
   page's structure, and it is why no two chapters look alike even though the page carries eight.

   THREAD. On a wide screen a hairline runs down the left margin of the whole page, ticked with the
   chapter number, and fills violet as the reader descends. It is the act log drawn as furniture: the
   record is the one idea the product rests on, so the page is built on it too. Below 1080px it is
   not drawn at all — a decoration that would cost a phone its margin is not worth its meaning.

   TYPE is the system stack, so the site loads no webfont: on the machines this is read on that is
   SF Pro, which is the reference the owner asked for. The scale is deliberately violent — 11px
   monospaced labels against a 104px display — because bold minimalism is contrast, not emptiness.
   Sentences do the work; there is almost no ornament to hide behind.

   COLOUR is ink, paper and one violet, #664099, from app/ciserex/brand. An application's own colour
   appears on its card, its icon and its page, and nowhere else: thirteen colours on one page is a
   toy, one colour per product is a catalogue.

   Radius is hierarchical: 20px on a picture, 18px on a card, 980px on a pill, 0 on a rule. */

:root {
  /* Ink and paper */
  --tinta: #0a0a0c;
  --tinta-2: #14141a;
  --papel: #ffffff;
  --papel-2: #f6f6f8;
  --gris: #6b6b74;
  --gris-2: #8b8b95;
  --linea: #e4e4ea;

  /* On obsidian */
  --claro: #f2f2f5;
  --claro-2: rgba(242, 242, 245, 0.62);
  --claro-3: rgba(242, 242, 245, 0.38);
  --linea-obs: rgba(255, 255, 255, 0.13);

  /* The mark */
  --acento: #664099;
  --acento-2: #7a51b0;
  --acento-luz: #b79ae0;
  --ambar: #fec229;

  --lienzo: 1240px;
  --canal: 24px;
  --riel: 0px;              /* the left margin the thread takes; widened on a wide screen */
  --nav: 54px;

  --sans: "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Roboto Mono", monospace;
}

@media (min-width: 1080px) { :root { --riel: 104px; --canal: 34px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 16px); overflow-x: hidden;
  background: var(--tinta);
}
body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.5; letter-spacing: -0.018em;
  color: var(--tinta); background: var(--papel);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* `height: auto` is load-bearing, not tidiness. Every <img> carries width/height attributes so the
   browser can reserve its box before the file arrives; those attributes apply as presentational
   hints, so a rule that sets only `width` leaves the attribute's height in force and the picture is
   drawn to the wrong shape. A rule that deliberately crops overrides this by being more specific.
   tools/web.test.js measures every image against its natural ratio, on desktop and on a phone. */
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--acento); color: #fff; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 3px; }

.lienzo { position: relative; width: 100%; max-width: var(--lienzo); margin-inline: auto; padding-inline: var(--canal); }

/* ── Scale ───────────────────────────────────────────────────────────────── */

.display { font-size: clamp(34px, 6vw, 90px); letter-spacing: -0.042em; line-height: 1.0; }
.titulo  { font-size: clamp(30px, 4.6vw, 62px); letter-spacing: -0.034em; line-height: 1.02; }
.enunciado { font-size: clamp(22px, 2.4vw, 33px); letter-spacing: -0.026em; line-height: 1.18; font-weight: 600; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--gris); }
.cap--tinta .lede { color: var(--claro-2); }
.nota { font-size: 16px; line-height: 1.55; color: var(--gris); }
.cap--tinta .nota { color: var(--claro-2); }

/* The monospaced label. Everything small on this site is set in it: chapter numbers, eyebrows,
   states, specifications. It is what makes a page of plain sentences read as a record. */
.rotulo {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris-2);
}
.cap--tinta .rotulo { color: var(--claro-3); }
.rotulo--acento { color: var(--acento); }
.cap--tinta .rotulo--acento { color: var(--acento-luz); }

.saltar {
  position: fixed; top: 8px; left: 8px; z-index: 10000;
  padding: 10px 18px; background: var(--papel); color: var(--tinta); border-radius: 980px;
  font-size: 14px; font-weight: 500; transform: translateY(-200%);
}
.saltar:focus { transform: none; }

/* ── The bar ─────────────────────────────────────────────────────────────── */

/* Every page opens on obsidian, so the bar starts transparent and belongs to the picture behind it.
   It takes its own ground only once the reader has left the opening — `pegada`, set by js/sitio.js.
   Without the script it is simply always transparent over a dark opening, which still reads. */
.barra {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999; height: var(--nav);
  background: transparent; transition: background 260ms ease, backdrop-filter 260ms ease;
}
.barra.pegada {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.barra > .lienzo { display: flex; align-items: center; gap: 30px; height: 100%; }
.barra a { color: var(--claro); }
.marca { display: inline-flex; align-items: center; flex: none; }
.marca img { height: 18px; width: auto; }
.barra nav { display: flex; align-items: center; gap: 4px; }
.barra nav a {
  padding: 6px 13px; border-radius: 980px; font-size: 13px; letter-spacing: -0.006em;
  color: rgba(242, 242, 245, 0.8); transition: color 140ms ease, background 140ms ease;
}
.barra nav a:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }
.barra .fin { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.barra .fin > * { flex: none; }
.idioma { color: rgba(242, 242, 245, 0.8); padding: 6px 11px; border-radius: 980px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.idioma:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }
.pastilla {
  display: inline-flex; align-items: center; padding: 6px 15px; border-radius: 980px;
  background: var(--papel); color: var(--tinta) !important; font-size: 13px; font-weight: 500;
  white-space: nowrap; border: 0; cursor: pointer; transition: opacity 140ms ease;
}
.pastilla:hover { opacity: 0.86; }
[data-cuenta] { display: flex; align-items: center; gap: 12px; min-width: 0; }
[data-cuenta]:empty { display: none; }
.quien { display: inline-flex; align-items: center; gap: 8px; color: rgba(242, 242, 245, 0.72); min-width: 0; }
.quien img { flex: none; width: 22px; height: 22px; border-radius: 980px; }
.quien .nombre { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 13ch; }
.salir { border: 0; background: none; font: inherit; font-size: 13px; color: rgba(242, 242, 245, 0.8); cursor: pointer; white-space: nowrap; }
.salir:hover { color: #fff; }
.abrir-menu { display: none; border: 0; background: transparent; color: rgba(242, 242, 245, 0.85); font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; }

/* ── A chapter, and the thread down the margin ───────────────────────────── */

.cap { position: relative; padding-block: clamp(64px, 8vw, 132px); }
.cap--papel { background: var(--papel); color: var(--tinta); }
.cap--tinta { background: var(--tinta); color: var(--claro); }
.cap--junta { padding-top: 0; }                 /* a chapter that continues the one above it */
.cap-cuerpo { padding-left: var(--riel); }

/* The thread. One hairline per chapter, drawn at the inner edge of the gutter; chapters are
   contiguous, so the segments read as one line from the first page-fold to the footer. Its violet
   half is a scroll-driven animation where the browser has them and simply absent where it does not:
   nothing on the page depends on it. */
.riel { display: none; }
@media (min-width: 1080px) {
  .riel { display: block; position: absolute; left: var(--canal); top: 0; bottom: 0; width: 1px; background: var(--linea); }
  .cap--tinta .riel { background: var(--linea-obs); }
}
@supports (animation-timeline: view()) {
  @media (min-width: 1080px) {
    .riel::after {
      content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: var(--acento);
      transform-origin: top; animation: llenar linear both;
      animation-timeline: view(); animation-range: cover 0% cover 92%;
    }
    .cap--tinta .riel::after { background: var(--acento-luz); }
  }
}
@keyframes llenar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .riel::after { display: none; } html { scroll-behavior: auto; } }

/* The tick that carries the chapter number. It hangs into the margin the thread reserved, so it
   lines up with the hairline without a single magic number. */
.marca-cap { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(26px, 3vw, 40px); margin-left: calc(-1 * var(--riel)); }
.marca-cap::before { content: ""; flex: none; width: 26px; height: 1px; background: var(--acento); }
.cap--tinta .marca-cap::before { background: var(--acento-luz); }
.marca-cap b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; color: var(--acento); }
.cap--tinta .marca-cap b { color: var(--acento-luz); }
.marca-cap span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris-2); }
.cap--tinta .marca-cap span { color: var(--claro-3); }
@media (max-width: 1079px) { .marca-cap { margin-left: 0; } }

.cabecera { max-width: 20ch; }
.cabecera + .lede { margin-top: 20px; max-width: 48ch; }

/* ── Pictures ────────────────────────────────────────────────────────────── */

/* Every picture is a photograph of an object on a dark ground, so on paper it is a dark block and
   needs a corner and a shadow to sit down; on obsidian it needs neither, and its own backdrop is
   close enough to the section's that a soft mask makes the two one space. */
.objeto { border-radius: 20px; overflow: hidden; background: #0e0e12; }
.cap--papel .objeto { box-shadow: 0 30px 60px -34px rgba(10, 10, 12, 0.55); }
.cap--tinta .objeto { border-radius: 0; background: none; }
.cap--tinta .objeto img {
  -webkit-mask-image: radial-gradient(68% 76% at 50% 50%, #000 34%, transparent 80%);
  mask-image: radial-gradient(68% 76% at 50% 50%, #000 34%, transparent 80%);
}

/* ── The opening ─────────────────────────────────────────────────────────── */

.portada { background: var(--tinta); color: var(--claro); padding-top: calc(var(--nav) + clamp(56px, 9vh, 104px)); overflow: hidden; }
/* One breath of violet behind the statement, so the dark is a room and not a rectangle. */
.portada::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 78%;
  background: radial-gradient(58% 60% at 50% 34%, rgba(102, 64, 153, 0.42), transparent 72%);
  pointer-events: none;
}
.portada .lienzo { z-index: 1; }
/* Each line of the statement is a line, not a paragraph that happens to break there. Above 700px
   the type is small enough relative to the canvas that every line fits, and is held to one; below
   it the lines wrap like any other text. The last line is the one the product is named for, so it
   is the one that carries the colour. */
.portada h1 span { display: block; }
.portada h1 span:last-child { color: var(--acento-luz); }
@media (min-width: 700px) { .portada h1 span { white-space: nowrap; } }
.portada .rotulo { margin-bottom: clamp(20px, 3vw, 34px); }
.portada .lede { margin-top: clamp(22px, 2.6vw, 34px); max-width: 44ch; }
.acciones { margin-top: clamp(26px, 3vw, 38px); display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; }
.boton {
  display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 980px;
  background: var(--papel); color: var(--tinta); font-size: 16px; font-weight: 500;
  transition: transform 160ms ease, opacity 160ms ease;
}
.boton:hover { transform: translateY(-1px); opacity: 0.9; }
.cap--papel .boton { background: var(--tinta); color: var(--papel); }
.enlace { display: inline-flex; align-items: baseline; gap: 5px; font-size: 16px; color: var(--acento); }
.cap--tinta .enlace { color: var(--acento-luz); }
.enlace::after { content: "\2192"; font-size: 1.05em; transition: transform 160ms ease; }
.enlace:hover::after { transform: translateX(3px); }

.portada-arte { position: relative; margin-top: clamp(24px, 4vw, 52px); max-width: 1440px; margin-inline: auto; }
.portada-arte img { width: 100%; height: auto; }
.portada-arte::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--tinta) 0%, rgba(10, 10, 12, 0) 24%, rgba(10, 10, 12, 0) 66%, var(--tinta) 99%),
    linear-gradient(to right, var(--tinta) 0%, rgba(10, 10, 12, 0) 13%, rgba(10, 10, 12, 0) 87%, var(--tinta) 100%);
}

/* ── Three figures, on one rule ──────────────────────────────────────────── */

.cinta { background: var(--tinta); color: var(--claro); padding-bottom: clamp(56px, 7vw, 92px); }
.cinta ul { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea-obs); }
.cinta li { padding: clamp(26px, 3vw, 40px) 0; padding-right: 24px; }
.cinta li + li { border-left: 1px solid var(--linea-obs); padding-left: clamp(22px, 3vw, 40px); }
.cinta b { display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.cinta span { display: block; margin-top: 12px; font-size: 15px; color: var(--claro-2); max-width: 22ch; }

/* ── The five steps ──────────────────────────────────────────────────────── */

.pasos { margin-top: clamp(30px, 4vw, 56px); }
.paso {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 5vw, 76px); align-items: center;
  padding-block: clamp(30px, 4vw, 56px); border-top: 1px solid var(--linea);
}
.paso:first-child { border-top: 0; padding-top: 0; }
.pasos--suelto .paso:first-child { border-top: 1px solid var(--linea); padding-top: clamp(30px, 4vw, 56px); }
.paso--volteado .paso-texto { order: 2; }
.paso-indice { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris-2); display: flex; gap: 12px; }
.paso-indice b { color: var(--acento); font-weight: 500; }
.paso h3 { margin-top: 16px; max-width: 17ch; }
.paso p { margin-top: 14px; max-width: 42ch; color: var(--gris); font-size: 17px; }

/* ── Two halves of one idea ──────────────────────────────────────────────── */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(34px, 4vw, 56px); border-top: 1px solid var(--linea-obs); }
.duo > div { padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3vw, 44px) 0 0; }
.duo > div + div { border-left: 1px solid var(--linea-obs); padding-left: clamp(24px, 3vw, 44px); }
.duo h3 { font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.026em; }
.duo p { margin-top: 14px; color: var(--claro-2); font-size: 16px; max-width: 40ch; }
.cap--papel .duo { border-top-color: var(--linea); }
.cap--papel .duo > div + div { border-left-color: var(--linea); }
.cap--papel .duo p { color: var(--gris); }
.duo-arte { grid-column: 1 / -1; padding: clamp(24px, 3vw, 44px) 0 0 !important; border-left: 0 !important; }
.duo-arte img { width: 100%; max-width: 860px; margin-inline: auto; }

/* ── The applications ────────────────────────────────────────────────────── */

.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 52px); }
.tarjeta {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: var(--papel); border: 1px solid var(--linea);
  transition: transform 260ms cubic-bezier(.2,.7,.3,1), box-shadow 260ms ease, border-color 260ms ease;
}
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(10, 10, 12, 0.5); border-color: #d6d6de; }
.cartel { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0e0e12; }
.cartel img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.3,1); }
.tarjeta:hover .cartel img { transform: scale(1.04); }
.tarjeta .texto { padding: 18px 20px 22px; display: flex; gap: 13px; align-items: flex-start; }
.tarjeta .texto > span { min-width: 0; }
.tarjeta h3 { font-size: 19px; letter-spacing: -0.026em; }
.tarjeta p { margin-top: 5px; font-size: 14px; line-height: 1.42; color: var(--gris); }
.marcha {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 980px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92); color: var(--tinta);
}
.marcha.pronto { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.azulejo { flex: none; border-radius: 11px; }
.todas { margin-top: clamp(26px, 3vw, 40px); }
@media (prefers-reduced-motion: reduce) {
  .tarjeta, .cartel img { transition: none; }
  .tarjeta:hover { transform: none; }
  .tarjeta:hover .cartel img { transform: none; }
}

/* ── A hairline list ─────────────────────────────────────────────────────── */

.lista { margin-top: clamp(26px, 3vw, 40px); }
.lista li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 6px 40px; padding: 18px 0; border-top: 1px solid var(--linea); }
.lista li:last-child { border-bottom: 1px solid var(--linea); }
.lista b { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.lista span { color: var(--gris); font-size: 16px; max-width: 54ch; }
.cap--tinta .lista li { border-color: var(--linea-obs); }
.cap--tinta .lista span { color: var(--claro-2); }

/* ── Permissions, shown rather than described ────────────────────────────── */

.hoja { border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; background: var(--papel); }
.hoja-cab { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linea); }
.hoja-cab h3 { font-size: 16px; }
.hoja-cab p { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris-2); margin-top: 3px; }
.permiso { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; padding: 14px 20px; }
.permiso + .permiso { border-top: 1px solid var(--linea); }
.permiso b { font-weight: 500; font-size: 15px; }
.permiso small { grid-column: 1; color: var(--gris); font-size: 13px; line-height: 1.45; }
.minimo {
  grid-row: 1; grid-column: 2; align-self: center; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 980px; border: 1px solid var(--linea); color: var(--gris);
}
.minimo.admin { border-color: #e3c9cf; color: #9c2f43; }

/* ── Compliance ──────────────────────────────────────────────────────────── */

.franqueza {
  margin-top: clamp(26px, 3vw, 38px); padding: 22px 26px; border-radius: 18px;
  border: 1px solid rgba(254, 194, 41, 0.34); background: rgba(254, 194, 41, 0.08);
  font-size: 15px; line-height: 1.55; color: #f0e3c4; max-width: 84ch;
}
.normas { margin-top: 22px; }
.normas li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--linea-obs); font-size: 15px; }
.normas li b { font-weight: 500; min-width: 11em; }
.normas li span { color: var(--claro-2); }

/* ── The close ───────────────────────────────────────────────────────────── */

.cierre { padding-bottom: clamp(70px, 9vw, 130px); }
.cierre h2 { max-width: 16ch; }
.cierre .lede { margin-top: 22px; max-width: 44ch; }

/* ── A page that is not the home page ────────────────────────────────────── */

.encabezado { background: var(--tinta); color: var(--claro); padding-top: calc(var(--nav) + clamp(52px, 7vw, 92px)); padding-bottom: clamp(48px, 6vw, 84px); overflow: hidden; }
.encabezado::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 90%;
  background: radial-gradient(48% 58% at 70% 34%, color-mix(in srgb, var(--app, #664099) 62%, transparent), transparent 72%);
  pointer-events: none;
}
.encabezado .lienzo { z-index: 1; }
.encabezado .lede { margin-top: 20px; max-width: 46ch; }
.miga { margin-bottom: clamp(24px, 3vw, 36px); }
.miga a { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--claro-3); }
.miga a::before { content: "\2190"; }
.miga a:hover { color: var(--claro); }

/* One application: the opening is the product's own. */
.ficha-fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.ficha-texto .azulejo { border-radius: 16px; margin-bottom: clamp(18px, 2.2vw, 26px); }
.ficha-texto .rotulo { margin-bottom: 12px; }
.ficha-texto h1 { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -0.04em; }
.ficha-texto .lede { margin-top: 18px; max-width: 30ch; }
.ficha-arte img { width: 100%; }

/* The specification strip: what a buyer checks before reading anything else. */
.placa { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(34px, 4vw, 54px); border-top: 1px solid var(--linea-obs); }
.placa > div { padding: 18px 20px 0 0; }
.placa > div + div { border-left: 1px solid var(--linea-obs); padding-left: clamp(18px, 2vw, 28px); }
.placa dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--claro-3); }
.placa dd { margin-top: 8px; font-size: 16px; font-weight: 500; }

.tira { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tira img { flex: none; width: min(70vw, 268px); border-radius: 22px; scroll-snap-align: start; border: 1px solid var(--linea); box-shadow: 0 30px 56px -32px rgba(10, 10, 12, 0.45); }
.sin-capturas { color: var(--gris); font-size: 16px; max-width: 46ch; }

.detalle { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 72px); align-items: start; }
.detalle > div > p.enunciado { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.22; color: var(--tinta); max-width: 26ch; }
.detalle > div > p { margin-top: 18px; color: var(--gris); font-size: 17px; max-width: 46ch; }
.trae { margin-top: 8px; }
.trae li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--linea); font-size: 16px; }
.trae li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 980px; background: var(--app, var(--acento)); }
.otras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.otra { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--linea); border-radius: 16px; transition: border-color 200ms ease, transform 200ms ease; }
.otra:hover { border-color: #d0d0d8; transform: translateY(-2px); }
.otra b { font-weight: 500; font-size: 15px; display: block; }
.otra span { display: block; font-size: 13px; color: var(--gris); margin-top: 2px; }

/* ── How it is built ─────────────────────────────────────────────────────── */

.tecnica { display: grid; gap: clamp(40px, 5vw, 64px); max-width: 72ch; }
.tecnica article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tecnica article + article { border-top: 1px solid var(--linea); padding-top: clamp(40px, 5vw, 64px); }
.tecnica h2 { font-size: clamp(24px, 2.4vw, 32px); }
.tecnica .rotulo { margin-bottom: -10px; color: var(--acento); }
.tecnica p { color: var(--gris); font-size: 17px; line-height: 1.62; }

/* ── Foot ────────────────────────────────────────────────────────────────── */

footer { background: var(--tinta); color: var(--claro-2); padding-block: clamp(46px, 5vw, 70px) 40px; font-size: 14px; }
.pie-col { display: grid; gap: 34px; grid-template-columns: 1.6fr repeat(2, 1fr); padding-left: var(--riel); }
.pie-col h2 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--claro-3); margin-bottom: 14px; }
.pie-col li { padding: 5px 0; }
.pie-col a { color: var(--claro-2); }
.pie-col a:hover { color: var(--claro); }
.pie-marca img { height: 19px; width: auto; }
.pie-col > div:first-child p { margin-top: 14px; max-width: 30ch; color: var(--claro-3); font-size: 14px; }
.pie-fin { margin-top: 40px; padding-top: 20px; padding-left: var(--riel); border-top: 1px solid var(--linea-obs); display: grid; gap: 10px; color: var(--claro-3); font-size: 13px; }
.pie-fin p { max-width: 74ch; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.vacio { background: var(--tinta); color: var(--claro); min-height: 62vh; display: flex; align-items: center; padding-block: clamp(80px, 12vw, 150px); }
.vacio .lede { margin-top: 18px; }
.vacio--papel { background: var(--papel); color: var(--tinta); }
.vacio--papel .lede { color: var(--gris); }
.vacio--papel .boton { background: var(--tinta); color: var(--papel); }

/* ── Narrower ────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .rejilla, .otras, .placa { grid-template-columns: repeat(2, 1fr); }
  .placa > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .detalle, .ficha-fila { grid-template-columns: 1fr; }
  .pie-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --canal: 18px; --nav: 50px; }
  .barra nav, .barra .idioma-larga { display: none; }
  .abrir-menu { display: inline-flex; }
  .rejilla, .otras, .cinta ul, .duo, .placa { grid-template-columns: 1fr; }
  .cinta li + li, .duo > div + div, .placa > div + div { border-left: 0; padding-left: 0; }
  .cinta li + li, .duo > div + div { border-top: 1px solid var(--linea-obs); }
  .cap--papel .duo > div + div { border-top-color: var(--linea); }
  .cinta li, .duo > div { padding-right: 0; }
  .placa > div { border-top: 1px solid var(--linea-obs); padding-top: 14px; }
  .placa { border-top: 0; }
  .paso { grid-template-columns: 1fr; }
  .paso--volteado .paso-texto { order: 0; }
  .lista li { grid-template-columns: 1fr; gap: 6px; }
  .tarjeta .texto { padding: 16px 16px 20px; }
}

/* ── A menu only the phone sees ──────────────────────────────────────────── */

#menu { border: 0; padding: 0; background: transparent; max-width: 100%; width: 100%; }
#menu::backdrop { background: rgba(10, 10, 12, 0.5); backdrop-filter: blur(4px); }
#menu .panel { position: fixed; inset: 0 0 auto 0; background: var(--papel); color: var(--tinta); padding: 10px var(--canal) 26px; }
#menu .panel > div { display: flex; align-items: center; height: calc(var(--nav) - 10px); }
#menu .panel form { margin-left: auto; }
#menu button.equis { border: 0; background: transparent; padding: 6px; color: var(--gris); cursor: pointer; font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
#menu ul { margin-top: 14px; }
#menu li { border-top: 1px solid var(--linea); }
#menu a { display: block; padding: 16px 0; color: var(--tinta); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
