@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2"),
       url("/fonts/archivo.ttf") format("truetype");
  font-weight: 400 800;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: oklch(0.985 0.008 145);
  --surface: oklch(0.955 0.018 145);
  --ink: oklch(0.20 0.038 145);
  --muted: oklch(0.38 0.028 145);
  --primary: oklch(0.38 0.125 145);
  --primary-ink: oklch(0.97 0.012 145);
  --accent: oklch(0.84 0.155 92);
  --accent-ink: oklch(0.22 0.045 85);
  --up: oklch(0.38 0.125 145);
  --down: oklch(0.44 0.155 28);
  --line: oklch(0.20 0.038 145 / 0.18);
  --rule: oklch(0.20 0.038 145);
  --font: "Archivo", "Segoe UI", sans-serif;
  --z-sticky: 20;
  --z-skip: 30;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
  font-size: 1.0625rem;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

[hidden] { display: none !important; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  font-weight: 700;
  z-index: var(--z-skip);
}

.skip:focus { top: 12px; }

/* Cabecera de diario */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--primary);
  color: var(--primary-ink);
  padding: 0 var(--pad);
  border-bottom: 3px solid var(--accent);
}

.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 20px;
  align-items: end;
  padding: 18px 0 14px;
  border-bottom: 2px solid oklch(0.97 0.012 145 / 0.22);
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.brand-name {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 0.82;
  text-wrap: balance;
}

.issue {
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 38ch;
  opacity: 0.9;
  padding-bottom: 4px;
}

.folio {
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  padding-bottom: 4px;
  color: oklch(0.93 0.02 145);
}

.folio time {
  display: block;
  font-stretch: condensed;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.page-end { padding-bottom: 80px; }

.dateline {
  padding: 10px var(--pad);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--primary-ink);
  border-bottom: 3px solid var(--accent);
}

.portada {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  min-height: min(78vh, 720px);
  background: var(--ink);
}

.lead {
  position: relative;
  display: block;
  min-height: min(78vh, 720px);
  background: oklch(0.22 0.04 145);
  color: var(--primary-ink);
  overflow: hidden;
  text-decoration: none;
}

.lead-foto {
  position: absolute;
  inset: 0;
  background: oklch(0.22 0.04 145);
  overflow: hidden;
}

.lead-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.86);
  opacity: 0;
}

.lead-foto img.is-on { opacity: 1; }

.lead-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.035 145 / 0.78) 0%, oklch(0.14 0.035 145 / 0.12) 38%),
    linear-gradient(0deg, oklch(0.14 0.035 145 / 0.9) 0%, oklch(0.14 0.035 145 / 0.08) 46%);
  pointer-events: none;
}

.lead-foto .foto-fallback {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(22px, 4vw, 40px);
  gap: 0;
  color: oklch(0.97 0.012 145 / 0.14);
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
}

.lead-foto .poster-marca,
.lead-foto .poster-modelo {
  display: block;
  font-stretch: extra-condensed;
  font-weight: 800;
}

.lead-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(22px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.lead-top,
.lead-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 40rem;
}

.lead-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 4px 8px 3px;
}

.lead-marca {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.lead h2 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: -0.035em;
  line-height: 0.86;
  text-wrap: balance;
  color: var(--primary-ink);
}

.lead-dek {
  font-size: 1.06rem;
  line-height: 1.45;
  max-width: 40ch;
  color: oklch(0.92 0.02 145);
}

.lead-meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: oklch(0.78 0.03 145);
}

.rail {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--accent);
  background: var(--ink);
}

.rail-story {
  position: relative;
  flex: 1;
  display: block;
  min-height: 280px;
  text-decoration: none;
  color: var(--primary-ink);
  overflow: hidden;
  border-bottom: 1px solid oklch(0.97 0.012 145 / 0.14);
}

.rail-story:last-child { border-bottom: 0; }

.rail-foto {
  position: absolute;
  inset: 0;
  background: oklch(0.26 0.04 145);
  overflow: hidden;
}

.rail-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: contrast(1.06) saturate(0.88);
  opacity: 0;
}

.rail-foto img.is-on { opacity: 1; }

.rail-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.035 145 / 0.55) 0%, transparent 40%),
    linear-gradient(0deg, oklch(0.14 0.035 145 / 0.88) 0%, transparent 48%);
  pointer-events: none;
}

.rail-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.rail-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 3px 7px 2px;
  align-self: flex-start;
}

.rail-marca {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
}

.rail-body h3 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-wrap: balance;
}

.rail-body p {
  font-size: 0.88rem;
  line-height: 1.35;
  color: oklch(0.88 0.02 145);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail .stamp {
  color: var(--accent);
  background: transparent;
  border-color: var(--accent);
}

.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 11px;
  font-weight: 800;
  line-height: 1.05;
  border: 2px solid currentColor;
}

.stamp.up { color: var(--up); background: oklch(0.38 0.125 145 / 0.08); }
.stamp.down { color: var(--down); background: oklch(0.44 0.155 28 / 0.08); }
.stamp.flat { color: var(--muted); background: var(--surface); }
.stamp .fromto { font-size: 1.02rem; font-stretch: condensed; }
.stamp .delta { font-size: 1.32rem; }
.lead .stamp {
  color: var(--accent);
  background: transparent;
  border-color: var(--accent);
  align-self: flex-start;
}

/* Clasificación */
.segunda {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--primary-ink);
  border-top: 3px solid var(--accent);
}

.brief {
  display: grid;
  grid-template-rows: 168px 1fr;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid oklch(0.97 0.012 145 / 0.14);
  min-width: 0;
}

.brief:last-child { border-right: 0; }

.brief-foto {
  position: relative;
  background: oklch(0.26 0.04 145);
  overflow: hidden;
}

.brief-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: contrast(1.05) saturate(0.88);
  opacity: 0;
}

.brief-foto img.is-on { opacity: 1; }

.brief-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.brief-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.brief h3 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-wrap: balance;
}

.brief-nota {
  font-stretch: condensed;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--accent);
}

.brief-body p:last-child {
  font-size: 0.88rem;
  line-height: 1.35;
  color: oklch(0.88 0.02 145);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brief:hover h3 { color: var(--accent); }

.clasif-band {
  background: var(--surface);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: clamp(22px, 4vw, 36px) 0;
}

.clasif-band:has(#rankings[hidden]) { display: none; }

.clasif {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}

.clasif > div {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.clasif > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.clasif > div:last-child { padding-right: 0; }

.clasif h2 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  margin: 0;
  padding: 8px 10px 7px;
  background: var(--ink);
  color: var(--primary-ink);
}

.clasif-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  margin: 8px 0 4px;
}

.clasif ol { list-style: none; counter-reset: n; }
.clasif li { counter-increment: n; }

.clasif a {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.clasif a::before {
  content: counter(n, decimal-leading-zero);
  font-stretch: condensed;
  font-weight: 800;
  color: var(--muted);
}

.clasif a span small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

.clasif a:hover { color: var(--primary); }
.clasif .delta { font-stretch: condensed; font-weight: 800; }
.clasif .suben .delta { color: var(--up); }
.clasif .bajan .delta { color: var(--down); }
.clasif .salen .delta { color: var(--ink); }

/* Mesa de búsqueda */
.mesa {
  background: var(--ink);
  color: var(--primary-ink);
  padding: 18px 0 20px;
}

.mesa-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 28px;
  align-items: center;
}

.mesa-label {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--accent);
}

.indice {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  align-items: stretch;
  padding: 0;
  border: 0;
}

.indice input,
.indice select {
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
}

.indice input { flex: 2; min-width: 200px; }
.indice select { flex: 1; min-width: 160px; }
.indice input::placeholder { color: var(--muted); opacity: 1; }
.indice input:focus,
.indice select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent);
}

.count {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}

#marcas,
#list-head { margin: clamp(28px, 5vw, 48px) 0 8px; }

#marcas { scroll-margin-top: 96px; }

#marcas h2,
#list-head h2,
h2.sec {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.marcas-letter {
  break-inside: avoid;
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
  margin: 20px 0 2px;
  padding-top: 10px;
  border-top: 2px solid var(--rule);
}

.marcas-list > .marcas-letter:first-child {
  margin-top: 0;
  padding-top: 8px;
}

.marcas-list {
  columns: 3;
  column-gap: clamp(24px, 4vw, 56px);
  border-top: 3px solid var(--rule);
  padding-top: 6px;
}

.marcas-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.marcas-list a span:last-child {
  color: var(--muted);
  font-weight: 600;
}

.marcas-list a:hover { color: var(--primary); }

#list-head { margin: 12px 0 4px; }

#catalog { display: flex; flex-direction: column; }

.ficha {
  display: grid;
  grid-template-columns: 176px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.ficha:first-child { border-top: 3px solid var(--rule); }
.ficha:hover .ficha-title { color: var(--primary); }

.ficha-foto {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--surface);
  overflow: hidden;
}

.ficha-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.92);
}

.foto-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-stretch: extra-condensed;
  font-size: 2.5rem;
  font-weight: 800;
  color: oklch(0.20 0.038 145 / 0.16);
}

.ficha-title {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.ficha-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 600;
}

.ficha-compra {
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: 52ch;
}

.vacio {
  color: var(--muted);
  padding: 48px 0;
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
}

.vacio a { color: var(--primary); font-weight: 700; }

/* Ficha */
.volver {
  display: inline-block;
  margin: 28px 0 20px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.volver:hover { text-decoration: underline; }

.detail-head {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.detail-foto {
  position: relative;
  background: var(--surface);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.detail-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.foto-credito {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 8px;
  font-weight: 600;
}

.detail-head h1 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-wrap: balance;
}

.detail-head .card-sub {
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

.veredicto {
  font-weight: 750;
  font-size: 1.05rem;
  margin: 6px 0 4px;
}

.compra-box {
  margin-top: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 16px 16px 14px;
  font-weight: 750;
  line-height: 1.4;
  border-top: 4px solid var(--ink);
}

.compra-box .albaran {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.resumen {
  font-size: 1.14rem;
  line-height: 1.55;
  max-width: 65ch;
  margin: 8px 0 32px;
  text-wrap: pretty;
}

h2.sec { margin: 32px 0 12px; }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

ul { list-style: none; }

.pros li,
.contras li,
.problemas li {
  padding: 11px 12px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.pros li { background: oklch(0.38 0.125 145 / 0.08); }
.contras li { background: oklch(0.44 0.155 28 / 0.08); }
.problemas li {
  background: var(--surface);
  border-bottom: 0;
}

.envejecido {
  line-height: 1.6;
  max-width: 65ch;
  text-wrap: pretty;
}

.relacionados {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--rule);
}

.relacionados a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.relacionados a:hover { color: var(--primary); }
.relacionados .delta { font-stretch: condensed; font-weight: 800; }

footer {
  margin-top: 72px;
  padding-top: 16px;
  border-top: 3px solid var(--rule);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  max-width: 70ch;
}

footer strong { color: var(--ink); }
footer a { color: var(--primary); font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.legal {
  max-width: 72ch;
}

.legal .kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.legal h1 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 8px 0 12px;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.legal h2 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 28px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type {
  border-top: 3px solid var(--rule);
}

.legal p {
  max-width: 65ch;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.legal a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.legal a:hover { text-decoration: underline; }

.legal ul {
  list-style: disc;
  max-width: 65ch;
  margin: 0 0 14px 1.15em;
}

.legal li {
  margin-bottom: 6px;
}

.legal .compra-box {
  max-width: 65ch;
  margin: 8px 0 28px;
}

.titular {
  display: grid;
  grid-template-columns: 11rem 1fr;
  max-width: 65ch;
  margin: 8px 0 24px;
  border: 3px solid var(--rule);
}

.titular dt,
.titular dd {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.titular dt {
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.titular dd { font-weight: 650; }

.titular dt:nth-last-of-type(1),
.titular dd:nth-last-of-type(1) { border-bottom: 0; }

.titular .pendiente {
  color: var(--muted);
  font-weight: 600;
}

.legal-nav {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.legal footer { margin-top: 48px; }

@media (max-width: 980px) {
  .portada { grid-template-columns: 1fr; min-height: 0; }
  .lead { min-height: min(72vh, 620px); }
  .rail { border-left: 0; border-top: 3px solid var(--accent); flex-direction: row; }
  .rail-story { min-height: 280px; border-bottom: 0; border-right: 1px solid oklch(0.97 0.012 145 / 0.14); }
  .rail-story:last-child { border-right: 0; }
  .segunda { grid-template-columns: 1fr 1fr; }
  .brief:nth-child(2) { border-right: 0; }
  .brief:nth-child(1),
  .brief:nth-child(2) { border-bottom: 1px solid oklch(0.97 0.012 145 / 0.14); }
  .clasif { grid-template-columns: 1fr; }
  .clasif > div {
    padding: 0 0 22px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .clasif > div:last-child { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 820px) {
  .masthead-inner {
    grid-template-columns: 1fr auto;
  }
  .issue { display: none; }
  .mesa-inner { grid-template-columns: 1fr; gap: 10px; }
  .ficha {
    grid-template-columns: 108px 1fr;
    align-items: start;
    gap: 12px;
  }
  .ficha .stamp { grid-column: 2; justify-self: start; }
  .detail-head { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .marcas-list { columns: 2; }
}

@media (max-width: 520px) {
  .titular { grid-template-columns: 1fr; }
  .titular dt { padding-bottom: 2px; border-bottom: 0; }
  .titular dd { padding-top: 2px; }
  .lead { min-height: 80vh; }
  .rail { flex-direction: column; }
  .rail-story { border-right: 0; border-bottom: 1px solid oklch(0.97 0.012 145 / 0.14); }
  .segunda { grid-template-columns: 1fr; }
  .brief { border-right: 0; border-bottom: 1px solid oklch(0.97 0.012 145 / 0.14); }
  .brief:last-child { border-bottom: 0; }
  .marcas-list { columns: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .ficha-title,
  .lead-link,
  .marcas-list a,
  .clasif a,
  .relacionados a {
    transition: color 180ms var(--ease), border-color 180ms var(--ease);
  }
  .lead-foto img,
  .rail-foto img,
  .brief-foto img {
    transition: transform 700ms var(--ease), opacity 280ms var(--ease);
  }
  .lead:hover .lead-foto img.is-on,
  .rail-story:hover .rail-foto img.is-on,
  .brief:hover .brief-foto img.is-on {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.seo-home {
  max-width: 72ch;
  margin: 28px auto 8px;
  padding: 0 var(--gutter, 20px);
}
.seo-intro h1 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 12px;
}
.seo-intro p,
#list-head p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 8px;
}
.seo-modelos {
  margin: clamp(40px, 7vw, 72px) 0 24px;
  padding-top: 28px;
  border-top: 3px solid var(--rule);
}
.seo-modelos > h2 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.seo-grid {
  columns: 3;
  column-gap: clamp(24px, 4vw, 56px);
}
.seo-marca {
  break-inside: avoid;
  margin-bottom: 18px;
}
.seo-marca h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  border: 0;
  padding: 0;
}
.seo-marca h2 a { color: var(--ink); text-decoration: none; }
.seo-marca h2 a:hover { color: var(--primary); }
.seo-marca ul { list-style: none; margin: 0; padding: 0; }
.seo-marca li { margin: 0; }
.seo-marca a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.seo-marca a span { color: var(--muted); font-size: 0.82rem; }
.seo-marca a:hover { color: var(--primary); }
#list-head h1 {
  font-stretch: extra-condensed;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 10px;
}
@media (max-width: 980px) {
  .seo-grid { columns: 2; }
}
@media (max-width: 640px) {
  .seo-grid { columns: 1; }
}
