/* ==========================================================================
   Élites Inmobiliarios del Ecuador — revista de Tu Renta Segura (solo local).
   Negro y dorado mandan; el rojo de la marca aparece solo en detalles
   (sellos, citas, etiquetas); el blanco se usa en las secciones de lectura.
   Tipografía: Bodoni Moda solo para el nombre "ÉLITES" y los números grandes;
   todos los titulares en Archivo ancho (palo seco moderno, pedido de Eduardo:
   la Bodoni en títulos "se perdía"); Newsreader para leer los artículos.
   ========================================================================== */

:root {
  --noir: #0b0a08;
  --noir-2: #14120e;
  --noir-3: #1d1a14;
  --oro: #c9a45c;
  --oro-hi: #efdcaa;
  --oro-lo: #8b6a2f;
  --papel: #faf9f6;
  --papel-2: #f1eee6;
  --tinta: #16130e;
  --tinta-suave: #5e574b;
  --humo: #9a9284;
  --rojo: #d4352b;
  --linea-oro: rgba(201, 164, 92, 0.32);
  --linea-papel: rgba(22, 19, 14, 0.14);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-texto: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1320px;
  --metal: linear-gradient(176deg, #f6e7bb 0%, #d9b873 34%, #b48a3f 52%, #e8d198 74%, #9c7534 100%);
}

@media (min-width: 760px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--oro-hi);
  font-family: var(--f-texto);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Titulares: palo seco ancho y firme. */
.cover-name, .story-title, .section-title, .award-name, .fila-name, .art-title, .anuncio-title, .parte-title {
  font-family: var(--f-head); font-stretch: 112%; font-weight: 700; letter-spacing: -.025em;
}

/* Grano sutil sobre el negro: le quita lo "plano" de pantalla. */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Etiquetas y piezas compartidas ---------- */
.kicker {
  font-family: var(--f-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--oro); display: inline-flex; align-items: center; gap: .7em;
}
.kicker--rojo { color: var(--rojo); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.oro-metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em;
  font-family: var(--f-ui); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--oro); color: var(--noir); background: var(--oro);
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--oro-hi); }
.btn--ghost { background: transparent; color: var(--oro-hi); }
.btn--ghost:hover { background: var(--oro); color: var(--noir); }
.btn--sm { padding: .7em 1.1em; font-size: 11px; letter-spacing: .12em; }
.arrow { transition: transform .25s; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- Aviso de vista previa ---------- */
.preview-bar {
  background: var(--rojo); color: #fff; text-align: center;
  font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px var(--gutter);
}

/* ---------- Barra superior con la marca dueña ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px; border-bottom: 1px solid var(--linea-oro);
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--humo);
}
.topbar a { text-decoration: none; }
.owner { display: inline-flex; align-items: center; gap: 10px; color: var(--oro-hi); }
.owner img { width: 34px; height: 34px; }
.owner-text { display: flex; flex-direction: column; line-height: 1.25; }
.owner-text small { font-size: 9.5px; letter-spacing: .18em; color: var(--humo); }
.owner-text span { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #fff; }
.owner-text span b { color: var(--rojo); font-weight: 700; }
.topbar-nav { display: none; gap: 28px; }
.topbar-nav a { color: var(--oro-hi); font-weight: 600; transition: color .2s; }
.topbar-nav a:hover { color: var(--oro); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-issue { display: none; color: var(--oro); font-weight: 600; white-space: nowrap; }
.topbar .btn { white-space: nowrap; }
.btn-largo { display: none; }
@media (min-width: 760px) { .topbar-issue { display: inline; } .btn-largo { display: inline; } .btn-corto { display: none; } }
@media (min-width: 1100px) { .topbar-nav { display: flex; } }

/* ==========================================================================
   PORTADA — el Élite N.º 1
   ========================================================================== */
.cover { position: relative; overflow: hidden; }
.cover-stage { position: relative; }

.masthead { position: relative; z-index: 1; text-align: center; padding-top: 18px; }
/* padding-top: la tilde de la É vive por encima de la línea; sin espacio, el recorte del
   degradado dorado (background-clip: text) la cortaba. */
.masthead-title {
  margin: 0; padding-top: .16em; font-family: var(--f-display); font-weight: 800; font-optical-sizing: auto;
  font-size: 25vw; line-height: .82; letter-spacing: -.035em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.masthead-sub {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-ui); font-stretch: 112%; font-size: 9.5px; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--oro-hi); white-space: nowrap;
}
.masthead-sub::before, .masthead-sub::after { content: ""; height: 1px; width: 22px; background: var(--oro); }

/* El número gigante de contorno dorado, detrás del retrato. */
.cover-numeral {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-style: italic; font-weight: 400; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.2px var(--oro); opacity: .75;
  font-size: 100vw; left: -10vw; top: 38vw;
}

/* El retrato pasa por delante de la parte baja del nombre de la revista, como en una
   portada impresa. Sus bordes se funden con el negro para que no se note el rectángulo. */
.cover-figure {
  position: relative; z-index: 2; width: 92vw; max-width: 460px; margin: -21vw auto 0;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 16%), linear-gradient(to right, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to top, transparent 0%, #000 16%), linear-gradient(to right, transparent 0%, #000 14%, #000 84%, transparent 100%);
          mask-composite: intersect;
}
.cover-figure img { width: 100%; height: auto; }

.cover-copy { position: relative; z-index: 3; margin-top: -8vw; padding-bottom: 42px; }
.cover-name { margin: 14px 0 6px; font-size: 40px; line-height: 1; color: #fff; }
.cover-role { margin: 0; font-family: var(--f-ui); font-size: 13px; letter-spacing: .06em; color: var(--oro); }
.cover-quote {
  margin: 22px 0 0; font-family: var(--f-texto); font-style: italic; font-weight: 300; font-size: 21px; line-height: 1.4;
  color: var(--oro-hi); text-wrap: balance;
}
.cover-quote::before { content: "“"; color: var(--rojo); font-family: var(--f-display); font-style: normal; margin-right: 2px; }

.cover-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 28px; border-block: 1px solid var(--linea-oro);
}
.cover-stats div { padding: 14px 10px 14px 0; }
.cover-stats div + div { padding-left: 12px; border-left: 1px solid var(--linea-oro); }
.cover-stats strong {
  display: block; font-family: var(--f-head); font-stretch: 112%; font-weight: 700; font-size: 26px; line-height: 1; color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}
.cover-stats span { display: block; margin-top: 6px; font-family: var(--f-ui); font-size: 11px; line-height: 1.35; color: var(--humo); }
.cover-stats .verificado strong { color: var(--oro); }

.cover-lines { display: none; }
.issue-box { display: none; }

@media (min-width: 760px) {
  .masthead-title { font-size: 21vw; }
  .masthead-sub { font-size: 12px; letter-spacing: .42em; }
  .masthead-sub::before, .masthead-sub::after { width: 28px; }
  .cover-figure { width: 60vw; max-width: 520px; margin-top: -14vw; }
  .cover-numeral { font-size: 96vw; left: -4vw; top: 20vw; }
  .cover-copy { margin-top: -5vw; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 48px; align-items: end; }
  .cover-copy .cover-stats { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .cover-name { font-size: 50px; }
}

/* Escritorio: portada de revista — nombre y cita a la izquierda, titulares a la derecha,
   el retrato al centro por encima del nombre de la revista. */
@media (min-width: 1100px) {
  .cover-stage { min-height: min(100vh, 960px); display: grid; grid-template-columns: 1fr minmax(420px, 34vw) 1fr; grid-template-rows: auto 1fr; }
  .masthead { grid-column: 1 / -1; grid-row: 1; padding-top: 12px; }
  .masthead-title { font-size: min(17.5vw, 264px); }
  .cover-numeral { font-size: min(78vh, 760px); left: 12%; top: auto; bottom: -9%; }
  .cover-figure {
    grid-column: 2; grid-row: 1 / -1; align-self: end; width: 100%; max-width: none; margin: 0; padding-top: 70px;
  }
  .cover-copy {
    grid-column: 1; grid-row: 2; align-self: end; display: block; margin: 0; padding: 0 0 56px; max-width: 380px;
  }
  .cover-copy .cover-stats { margin: 26px 0 28px; }
  .cover-name { font-size: 52px; }
  .cover-lines {
    display: flex; flex-direction: column; gap: 22px; grid-column: 3; grid-row: 2; align-self: end;
    justify-self: end; max-width: 300px; padding-bottom: 120px; position: relative; z-index: 3; text-align: right;
  }
  .cover-line { text-decoration: none; display: block; }
  .cover-line small {
    display: block; font-family: var(--f-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rojo);
  }
  .cover-line span {
    display: block; margin-top: 4px; font-family: var(--f-head); font-stretch: 108%; font-weight: 600; font-size: 20px; line-height: 1.2;
    letter-spacing: -.01em; color: #fff; transition: color .2s;
  }
  .cover-line:hover span { color: var(--oro); }
  .issue-box {
    display: grid; grid-template-columns: auto auto; gap: 4px 14px; align-items: center;
    position: absolute; right: var(--gutter); bottom: 40px; z-index: 3; padding: 10px 12px; border: 1px solid var(--linea-oro);
    font-family: var(--f-ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-hi);
  }
  .issue-box b { color: var(--oro); font-weight: 700; }
  .barcode {
    grid-row: span 2; width: 74px; height: 34px;
    background: repeating-linear-gradient(90deg, var(--oro-hi) 0 1px, transparent 1px 3px, var(--oro-hi) 3px 5px, transparent 5px 6px, var(--oro-hi) 6px 7px, transparent 7px 10px);
  }
}

/* ==========================================================================
   LA HISTORIA — el perfil del N.º 1 (papel blanco)
   ========================================================================== */
.story { background: var(--papel); color: var(--tinta); padding: 72px 0 84px; }
.story-head { max-width: 920px; }
.story-title { margin: 18px 0 18px; font-size: 36px; line-height: 1.04; text-wrap: balance; }
.story-title em { font-style: normal; color: var(--oro-lo); }
.story-dek { margin: 0; font-style: italic; font-weight: 300; font-size: 21px; line-height: 1.45; color: var(--tinta-suave); max-width: 660px; }
.byline {
  margin-top: 22px; font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-suave);
}
.byline b { color: var(--tinta); }

/* Ficha en horizontal, debajo del encabezado (sin ciudad: la revista es nacional). */
.ficha {
  margin-top: 36px; border-block: 2px solid var(--tinta); padding: 16px 0 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; font-family: var(--f-ui);
}
.ficha div { min-width: 0; }
.ficha dt { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-suave); }
.ficha dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: var(--tinta); }
.sellos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.sello {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--linea-papel);
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; background: #fff;
}
.sello i { width: 7px; height: 7px; border-radius: 50%; background: var(--oro); }
.sello--rojo i { background: var(--rojo); }

.story-body { margin-top: 40px; font-size: 19px; line-height: 1.72; max-width: 720px; }
.story-body p { margin: 0 0 1.1em; }
.story-body > p:first-of-type::first-letter {
  float: left; font-family: var(--f-display); font-weight: 700; font-size: 5.1em; line-height: .78;
  margin: .06em .1em 0 0; color: var(--tinta);
}
.pull {
  margin: 1.6em 0; padding: 22px 0 0; border-top: 1px solid var(--oro);
  font-family: var(--f-head); font-stretch: 106%; font-weight: 600; font-size: 26px; line-height: 1.22; letter-spacing: -.015em; color: var(--tinta);
  break-inside: avoid; text-wrap: balance;
}
.pull::before { content: "“"; display: block; font-family: var(--f-display); font-size: 64px; line-height: .6; color: var(--rojo); }

.trayectoria { margin-top: 48px; border-top: 1px solid var(--linea-papel); padding-top: 22px; }
.trayectoria h3 { margin: 0 0 18px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.trayectoria ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.trayectoria li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: baseline; }
.trayectoria time { font-family: var(--f-display); font-weight: 600; font-size: 26px; color: var(--oro-lo); font-variant-numeric: lining-nums; }
.trayectoria p { margin: 0; font-size: 16px; line-height: 1.5; }

@media (min-width: 760px) {
  .story { padding: 100px 0 110px; }
  .story-title { font-size: 52px; }
  .ficha { grid-template-columns: repeat(4, 1fr) auto; align-items: center; }
  .sellos { grid-column: auto; justify-content: flex-end; }
  .trayectoria ol { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .trayectoria li { grid-template-columns: 1fr; gap: 6px; border-top: 1px solid var(--oro); padding-top: 12px; }
}
@media (min-width: 1100px) {
  .story-title { font-size: 64px; }
  .story-body { max-width: none; columns: 2; column-gap: 56px; }
  .pull { column-span: all; margin: .6em 0 1.4em; font-size: 34px; max-width: 920px; }
}

/* ==========================================================================
   EL RANKING — reconocimientos (carrusel) + lista completa
   ========================================================================== */
.ranking { padding: 76px 0 92px; }
.ranking-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px; }
.section-title { margin: 14px 0 0; font-size: 36px; line-height: 1.02; color: #fff; }
.section-title em { font-style: normal; color: var(--oro); }
.sub-title {
  margin: 56px 0 0; font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro);
  display: flex; align-items: center; gap: 12px;
}
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--linea-oro); }

/* Carrusel de reconocimientos: nadie queda como "N.º 2"; cada tarjeta es un premio. */
.carrusel { position: relative; margin-top: 30px; }
.carrusel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.carrusel-track::-webkit-scrollbar { display: none; }
.award {
  flex: 0 0 74%; scroll-snap-align: start; position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--linea-oro); background: var(--noir-2); text-decoration: none; transition: border-color .3s;
}
.award:hover { border-color: var(--oro); }
.award-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--noir-3); }
.award-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  filter: grayscale(1) contrast(1.12) brightness(.94); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s;
}
.award:hover .award-photo img { transform: scale(1.04); filter: grayscale(.15) contrast(1.05); }
.award-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--noir-2) 0%, transparent 42%); }
/* Sin foto todavía: monograma dorado. */
.award-mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; font-size: 96px; line-height: 1;
  background: radial-gradient(90% 70% at 50% 35%, #2a241a, var(--noir-3));
}
.award-mono span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.award-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; background: rgba(11, 10, 8, .72); border: 1px solid var(--oro); backdrop-filter: blur(4px);
  font-family: var(--f-ui); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-hi);
}
.award-badge::before { content: "★"; color: var(--oro); font-size: 11px; letter-spacing: 0; }
.award-info { position: relative; z-index: 2; margin-top: -54px; padding: 0 18px 20px; flex: 1; display: flex; flex-direction: column; }
.cat { font-family: var(--f-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rojo); }
.award-name { margin: 6px 0 2px; font-size: 24px; line-height: 1.08; color: #fff; }
.award-firm { margin: 0; font-family: var(--f-ui); font-size: 13px; color: var(--oro); }
.mini-stats { display: flex; gap: 22px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--linea-oro); font-family: var(--f-ui); }
.award-firm + .mini-stats { margin-top: 16px; }
.mini-stats b { display: block; font-family: var(--f-head); font-stretch: 110%; font-size: 20px; font-weight: 700; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.mini-stats span { font-size: 11px; color: var(--humo); }

.carrusel-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.dots { display: flex; gap: 8px; }
.dot { width: 22px; height: 3px; padding: 0; border: 0; background: var(--linea-oro); cursor: pointer; transition: background .3s, width .3s; }
.dot[aria-current="true"] { background: var(--oro); width: 40px; }
.flechas { display: flex; gap: 8px; }
.flecha {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--linea-oro); background: transparent;
  color: var(--oro-hi); cursor: pointer; font-size: 18px; transition: all .2s;
}
.flecha:hover { background: var(--oro); color: var(--noir); border-color: var(--oro); }

/* Lista del ranking */
.filtros { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.filtros::-webkit-scrollbar { display: none; }
.filtro {
  flex: none; padding: 9px 14px; border: 1px solid var(--linea-oro); background: transparent; color: var(--oro-hi); cursor: pointer;
  font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: all .2s;
}
.filtro:hover { border-color: var(--oro); }
.filtro[aria-pressed="true"] { background: var(--oro); border-color: var(--oro); color: var(--noir); }
.lista-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; }
.lista-head .sub-title { margin: 0; flex: 1; min-width: 200px; }
.lista { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--linea-oro); }
.fila { border-bottom: 1px solid var(--linea-oro); }
.fila a {
  display: grid; grid-template-columns: 44px 52px 1fr; gap: 14px; align-items: center; padding: 16px 0; text-decoration: none;
  position: relative;
}
.fila a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--oro); transition: width .5s; }
.fila a:hover::after { width: 100%; }
.fila-num { font-family: var(--f-display); font-style: italic; font-size: 34px; line-height: 1; color: var(--oro); font-variant-numeric: lining-nums; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--noir-3); border: 1px solid var(--linea-oro);
  font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--oro);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.1); }
.fila-name { display: block; font-size: 19px; line-height: 1.15; color: #fff; }
.fila-meta { display: block; margin-top: 3px; font-family: var(--f-ui); font-size: 12px; color: var(--humo); }
.fila-meta .cat { font-size: 10px; margin-right: 6px; }
.fila-stat { display: none; }
.lista-vacia { padding: 28px 0; font-family: var(--f-ui); font-size: 14px; color: var(--humo); }

@media (min-width: 760px) {
  .ranking { padding: 110px 0 120px; }
  .section-title { font-size: 52px; }
  .award { flex-basis: calc((100% - 32px) / 2.4); }
  .filtros { margin: 0; padding: 0; }
  .fila a { grid-template-columns: 64px 56px 1fr auto; gap: 20px; padding: 18px 0; }
  .fila-num { font-size: 42px; }
  .avatar { width: 56px; height: 56px; }
  .fila-name { font-size: 21px; }
  .fila-stat { display: block; text-align: right; font-family: var(--f-ui); font-size: 11px; color: var(--humo); }
  .fila-stat b { display: block; font-family: var(--f-head); font-stretch: 110%; font-size: 22px; font-weight: 700; color: var(--oro-hi); font-variant-numeric: lining-nums tabular-nums; }
}
@media (min-width: 1100px) {
  .award { flex-basis: calc((100% - 48px) / 4); }
  .carrusel-track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

/* ==========================================================================
   LA REVISTA — artículos (papel)
   ========================================================================== */
.revista { background: var(--papel); color: var(--tinta); padding: 72px 0 84px; }
.revista .section-title { color: var(--tinta); }
.revista .section-title em { color: var(--oro-lo); }
.revista-grid { display: grid; gap: 36px; margin-top: 36px; }
.art { text-decoration: none; display: block; }
.art-img { overflow: hidden; background: #e9e5dc; }
.art-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.art:hover .art-img img { transform: scale(1.03); }
.art-sec { display: block; margin-top: 16px; font-family: var(--f-ui); font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rojo); }
.art-title { margin: 8px 0 8px; font-size: 24px; line-height: 1.12; text-wrap: balance; transition: color .2s; }
.art:hover .art-title { color: var(--oro-lo); }
.art-dek { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--tinta-suave); }
.art-meta { margin-top: 10px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); }
.art--lead .art-title { font-size: 30px; }

/* Noticias cortas en tarjetas */
.noticias { display: grid; gap: 14px; }
.noticia {
  display: flex; flex-direction: column; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--linea-papel);
  border-top: 3px solid var(--oro); text-decoration: none; transition: border-color .25s, transform .25s;
}
.noticia:hover { border-color: var(--oro); transform: translateY(-2px); }
.noticia .art-sec { margin-top: 0; }
.noticia .art-title { font-size: 19px; margin: 10px 0 8px; }
.noticia .art-dek { font-size: 15px; }
.noticia .art-meta { margin-top: auto; padding-top: 14px; }

@media (min-width: 760px) {
  .revista { padding: 100px 0 110px; }
  .revista-grid { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .art--lead { grid-column: 1 / -1; }
  .art--lead .art-img img { aspect-ratio: 16 / 8; }
  .art--lead .art-title { font-size: 40px; max-width: 820px; }
  .noticias { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 1100px) {
  .revista-grid { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 44px 40px; }
  .art--lead { grid-column: 1; grid-row: 1 / span 2; }
  .art--lead .art-img img { aspect-ratio: 5 / 4; }
  .art--lead .art-title { font-size: 44px; }
  .art--side { grid-column: 2 / span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
  .art--side .art-sec { margin-top: 0; }
  .noticias { grid-column: 2 / span 2; }
}

/* ---------- Espacio publicitario ---------- */
.anuncio { padding: 64px 0; }
.anuncio-box {
  position: relative; border: 1px solid var(--oro); padding: 34px 24px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(201,164,92,.12), transparent 60%);
}
.anuncio-box::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--linea-oro); pointer-events: none; }
.anuncio-tag { font-family: var(--f-ui); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--humo); }
.anuncio-title { margin: 12px 0 10px; font-size: 30px; line-height: 1.05; }
.anuncio-text { margin: 0 auto 22px; max-width: 580px; font-size: 17px; color: var(--oro-hi); }
.alcance { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 0 26px; padding: 0; list-style: none; font-family: var(--f-ui); font-size: 12px; letter-spacing: .08em; color: var(--oro-hi); }
.alcance li::before { content: "◆"; color: var(--oro); margin-right: 8px; font-size: 9px; }
.anuncio-contacto { position: relative; z-index: 1; }
@media (min-width: 760px) { .anuncio-box { padding: 54px 40px; } .anuncio-title { font-size: 44px; } }

/* ---------- Ser parte ---------- */
.parte { padding: 20px 0 90px; }
.parte-box { display: grid; gap: 28px; border-top: 1px solid var(--linea-oro); padding-top: 48px; }
.parte-title { margin: 14px 0 14px; font-size: 32px; line-height: 1.08; color: #fff; text-wrap: balance; }
.parte-title em { font-style: normal; color: var(--oro); }
.parte p { margin: 0 0 24px; color: var(--oro-hi); max-width: 560px; }
.criterios { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.criterios li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-family: var(--f-ui); font-size: 14.5px; line-height: 1.45; color: var(--oro-hi); }
.criterios li b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.criterios i { width: 34px; height: 34px; border: 1px solid var(--oro); display: grid; place-items: center; font-style: normal; color: var(--oro); font-size: 14px; }
.parte-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 760px) {
  .parte-title { font-size: 46px; }
  .parte-box { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
}

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--linea-oro); padding: 44px 0 36px; text-align: center; }
.pie-mark { font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.03em; }
.pie-sub { margin-top: 6px; font-family: var(--f-ui); font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--oro-hi); }
.pie-owner { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; text-decoration: none; }
.pie-owner img { width: 30px; height: 30px; }
.pie-owner span { font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.pie-owner span b { color: var(--rojo); }
.pie-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 22px 0 20px; font-family: var(--f-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.pie-links a { color: var(--oro-hi); text-decoration: none; }
.pie-links a:hover { color: var(--oro); }
.pie-nota { font-family: var(--f-ui); font-size: 12px; color: var(--humo); }
.pie-nota b { color: var(--rojo); }

/* ---------- Entrada de la portada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .masthead-title { animation: subir 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .cover-numeral { animation: aparecer 1.6s .2s ease-out both; }
  .cover-figure { animation: subir 1.1s .25s cubic-bezier(.2,.7,.2,1) both; }
  .cover-copy, .cover-lines { animation: subir .9s .5s cubic-bezier(.2,.7,.2,1) both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: .75; } }

/* ==========================================================================
   Páginas que se arman desde el panel: perfil, artículo, anuncios, avisos
   ========================================================================== */
.preview-bar a { color: #fff; }
.preview-bar--editor { background: var(--oro-lo); }

/* Nombre corto de la revista en la barra de las páginas internas. */
.mini-mark {
  font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.02em;
  text-transform: none; padding-top: .12em;
}

.cover-pronto { padding: 40px 0 70px; text-align: center; font-family: var(--f-ui); color: var(--humo); }
.story-pronto { margin: 36px 0 0; font-style: italic; color: var(--tinta-suave); }
.cuerpo-sub {
  margin: 1.4em 0 .5em; font-family: var(--f-head); font-stretch: 108%; font-weight: 700; font-size: 22px; line-height: 1.2;
  letter-spacing: -.01em; color: var(--tinta); break-after: avoid;
}

/* Perfil: retrato y datos sobre negro, la historia debajo en papel. */
.perfil-hero { padding-bottom: 56px; }
.perfil-hero-grid { display: grid; gap: 28px; margin-top: 32px; }
.perfil-foto { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 420px; overflow: hidden; background: var(--noir-3); border: 1px solid var(--linea-oro); }
.perfil-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.perfil-datos .cover-name { margin-top: 16px; }
.perfil-datos .cover-stats { margin: 26px 0 0; }
@media (min-width: 760px) {
  .perfil-hero { padding-bottom: 80px; }
  .perfil-hero-grid { grid-template-columns: minmax(260px, 380px) 1fr; gap: 56px; align-items: end; margin-top: 48px; }
  .perfil-datos .cover-name { font-size: 56px; }
}
.volver { background: var(--papel); padding: 0 0 72px; }
.volver .btn--ghost { color: var(--tinta); border-color: var(--tinta); }
.volver .btn--ghost:hover { background: var(--tinta); color: var(--papel); }

/* Artículo: una sola columna cómoda para leer. */
.mini-cabeza { padding-bottom: 4px; }
.articulo { padding-top: 56px; }
.articulo .story-title { font-size: 34px; }
.articulo-foto { margin: 36px 0 0; }
.articulo-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.articulo-body { max-width: 720px; margin-inline: auto; }
.borrador { color: var(--rojo); font-weight: 700; }
@media (min-width: 760px) { .articulo .story-title { font-size: 50px; } }
@media (min-width: 1100px) {
  .articulo-body { columns: auto; }
  .articulo-body .pull { font-size: 30px; }
}
.revista--mas { padding-top: 0; }
.sub-title--tinta { color: var(--tinta); margin-top: 0; margin-bottom: 22px; }
.sub-title--tinta::after { background: var(--linea-papel); }
@media (min-width: 760px) { .revista--mas .noticias { grid-template-columns: repeat(3, 1fr); } }

/* Anuncio pagado: banner ancho, con la palabra "Publicidad" visible. */
.banner { padding: 34px 0; background: var(--noir); }
.banner-tag { display: block; margin-bottom: 8px; font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--humo); }
.banner a, .banner div > div { display: block; }
.banner img { width: 100%; height: auto; border: 1px solid var(--linea-oro); }

.vacio { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.vacio p { margin-top: 26px; }
