/* ICONO Revista — expositor del showroom. Pensado para el marco PF1007L (A33, 1 GB, 1280x800, WebView 106):
   solo transform/opacity en animaciones, nada de blur/backdrop-filter ni sombras grandes. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url(fonts/montserrat-500.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(fonts/montserrat-600.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url(fonts/montserrat-700.woff2) format('woff2'); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(fonts/montserrat-800.woff2) format('woff2'); }

@font-face { font-family: Playfair; font-weight: 500; font-display: swap; src: url(fonts/playfair-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-weight: 700; font-display: swap; src: url(fonts/playfair-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-weight: 800; font-display: swap; src: url(fonts/playfair-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/playfair-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: Playfair; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/playfair-latin-500-italic.woff2) format('woff2'); }

:root {
  --bg: #050505;
  --panel: #101010;
  --line: #262626;
  --ink: #f4f2ee;
  --mute: #b7b7b7;
  --dim: #7a7a7a;
  --red: #ff3b1f;
  --bar: 64px;
  --pad: 40px;
  --head: Montserrat, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --serif: Playfair, Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body {
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
img { display: block; max-width: 100%; }
.kicker { font: 600 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.h1 { font: 800 44px/1.05 var(--head); letter-spacing: -.02em; margin-top: 10px; }
.num { font-variant-numeric: tabular-nums; }

/* ── barra superior ─────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 20;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: transform .5s ease, opacity .5s ease;
}
body.on-cover .bar { transform: translateY(-100%); opacity: 0; }
.bar__logo { height: 48px; display: flex; align-items: center; }
.bar__logo img { width: 124px; height: auto; }
.bar__nav { display: flex; gap: 4px; margin-left: 12px; }
.bar__nav button {
  height: 48px; padding: 0 20px; border-radius: 24px;
  font: 600 16px/1 var(--head); letter-spacing: .02em; color: var(--mute);
}
.bar__nav button.is-on { color: var(--ink); background: #1b1b1b; }
.bar__n { color: var(--red); margin-left: 4px; }
.bar__issue { margin-left: auto; font: 500 13px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* ── vistas ─────────────────────────────────────── */
main { position: absolute; inset: 0; }
.view { position: absolute; inset: var(--bar) 0 0; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.view.is-on { visibility: visible; opacity: 1; transition: opacity .35s ease; }

/* ── portada (modo escaparate) ──────────────────── */
.cover { inset: 0; background: #000; overflow: hidden; }
.cover__img {
  position: absolute; inset: 0; background: #000 center/cover no-repeat;
  opacity: 0; transform: scale(1.02); will-change: opacity, transform;
  transition: opacity 1.4s ease, transform 9s linear;
}
.cover__img.is-on { opacity: 1; transform: scale(1.09); }
.lite .cover__img { transition: opacity 1s ease; transform: none !important; }
.cover__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 62%),
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 45%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%);
}
.cover__mast { position: absolute; top: 36px; left: var(--pad); }
.cover__mast img { width: 250px; height: auto; }
.cover__mast span { display: block; margin-top: 10px; font: 600 13px/1 var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
/* sumario de portada: panel oscuro propio para que se lea sobre cualquier foto */
.cover__lines {
  position: absolute; top: 32px; right: var(--pad); width: 350px; display: grid; gap: 16px; text-align: right;
  padding: 22px 24px 24px; background: rgba(5,5,5,.78); border-top: 3px solid var(--red);
}
.cover__lines button { text-align: right; display: block; width: 100%; }
.cover__lines .issue { font: 700 12px/1 var(--head); letter-spacing: .22em; color: #fff; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.22); }
.cover__lines b { display: block; font: 800 38px/1 var(--head); color: #fff; }
.cover__lines small { display: block; margin-top: 6px; font: 500 15px/1.35 var(--body); color: #e2e0dc; }
.cover__lines .read { font: 700 17px/1.3 var(--head); color: #fff; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
.cover__lines .read::before { content: attr(data-label); display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.cover__story { position: absolute; left: var(--pad); bottom: 92px; max-width: 760px; }
.cover__story .brand { font: 700 20px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: 16px; }
.cover__story h2 { font: 800 88px/.95 var(--head); letter-spacing: -.035em; margin-top: 8px; text-wrap: balance; }
.cover__story .meta { margin-top: 18px; font: 500 18px/1 var(--body); color: var(--mute); }
.cover__story .meta span + span::before { content: '·'; margin: 0 10px; color: var(--dim); }
.cover__story .prices { display: flex; gap: 36px; margin-top: 22px; }
.cover__story .prices small { display: block; font: 600 12px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.cover__story .prices strong { font: 700 34px/1 var(--head); }
.cover__story .prices .fin strong { color: var(--red); }
.cover__story.is-in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.cover__story.is-in > *:nth-child(2) { animation-delay: .08s; }
.cover__story.is-in > *:nth-child(3) { animation-delay: .16s; }
.cover__story.is-in > *:nth-child(4) { animation-delay: .24s; }
.cover__story.is-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cover__hint {
  position: absolute; left: 0; right: 0; bottom: 30px; text-align: center;
  font: 600 13px/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--mute);
}
.cover__hint span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 12px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }

/* ── en venta ───────────────────────────────────── */
.stock { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 28px var(--pad) 48px; }
.stock__head { display: flex; align-items: flex-end; justify-content: space-between; }
.sort { display: flex; border: 1px solid var(--line); border-radius: 26px; padding: 3px; }
.sort button { height: 44px; padding: 0 18px; border-radius: 22px; font: 600 14px/1 var(--head); color: var(--mute); }
.sort button.is-on { background: var(--ink); color: var(--bg); }
.chips { display: flex; gap: 10px; margin: 24px 0 26px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar, .stock::-webkit-scrollbar, .panel::-webkit-scrollbar, .reader::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; height: 48px; padding: 0 22px; border-radius: 24px; border: 1px solid var(--line);
  font: 600 15px/1 var(--head); color: var(--mute);
}
.chips button i { font-style: normal; color: var(--dim); margin-left: 8px; font-weight: 500; }
.chips button.is-on { border-color: var(--red); color: var(--ink); background: rgba(255,59,31,.12); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.card { text-align: left; display: block; width: 100%; }
.card__img { position: relative; aspect-ratio: 4/3; background: var(--panel); overflow: hidden; border-radius: 4px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__tag { position: absolute; top: 12px; left: 12px; padding: 7px 10px; background: var(--red); color: #fff; font: 700 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.card .brand { margin-top: 14px; font: 600 12px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.card h3 { margin-top: 6px; font: 700 22px/1.15 var(--head); letter-spacing: -.01em; }
.card .meta { margin-top: 6px; font-size: 15px; color: var(--mute); }
.card .meta span + span::before { content: '·'; margin: 0 7px; color: var(--dim); }
.card .price { margin-top: 12px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.card .price strong { font: 700 24px/1 var(--head); }
.card .price em { font-style: normal; font-size: 14px; color: var(--mute); }
.card .price em b { color: var(--red); font-weight: 600; }
.card:active .card__img img { opacity: .8; }
.empty { grid-column: 1/-1; padding: 80px 0; text-align: center; color: var(--mute); }

/* ── ficha (hoja a pantalla completa) ───────────── */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: flex; animation: sheetIn .35s cubic-bezier(.2,.7,.2,1); }
.sheet[hidden] { display: none; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px); } }
.close {
  position: absolute; top: 18px; left: 18px; z-index: 3; height: 52px; padding: 0 22px 0 18px; border-radius: 26px;
  background: rgba(5,5,5,.78); border: 1px solid rgba(255,255,255,.18); font: 600 15px/1 var(--head);
}
.close::before { content: '←'; margin-right: 10px; }
.gal { position: relative; flex: 0 0 62%; min-width: 0; min-height: 0; background: #000; display: flex; flex-direction: column; }
.gal__track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.gal__count { position: absolute; top: 26px; right: 22px; padding: 8px 12px; background: rgba(5,5,5,.78); font: 600 13px/1 var(--head); letter-spacing: .1em; }
.gal__thumbs { flex: none; display: flex; gap: 6px; padding: 8px; overflow-x: auto; scrollbar-width: none; background: var(--bg); }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumbs button { flex: none; width: 92px; height: 62px; opacity: .45; border: 2px solid transparent; }
.gal__thumbs button.is-on { opacity: 1; border-color: var(--red); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal__arrow { position: absolute; top: calc(50% - 40px); width: 56px; height: 56px; border-radius: 50%; background: rgba(5,5,5,.6); border: 1px solid rgba(255,255,255,.2); font-size: 22px; }
.gal__arrow.prev { left: 16px; } .gal__arrow.next { right: 16px; }
.panel { flex: 1; min-width: 0; overflow-y: auto; padding: 36px 36px 48px; border-left: 1px solid var(--line); }
.panel .brand { font: 600 13px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.panel h1 { margin-top: 10px; font: 800 38px/1.04 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.badge { display: inline-block; margin-top: 14px; padding: 7px 10px; font: 700 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; background: var(--red); }
.badge.sold { background: var(--ink); color: var(--bg); }
.pricebox { margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pricebox small { display: block; font: 600 11px/1.2 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.pricebox strong { font: 700 30px/1 var(--head); }
.pricebox .fin strong { color: var(--red); }
.pricebox p { grid-column: 1/-1; font-size: 13px; color: var(--dim); line-height: 1.45; }
.specs { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.specs dt { font: 600 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.specs dd { margin-top: 6px; font: 600 17px/1.2 var(--body); }
.ask { margin-top: 24px; padding: 16px 18px; background: var(--panel); border-left: 3px solid var(--red); font-size: 15px; color: var(--mute); }
.ask b { color: var(--ink); font-weight: 600; }
.desc { margin-top: 28px; }
.desc h3 { font: 700 18px/1.3 var(--head); margin: 22px 0 8px; }
.desc h3:first-child { margin-top: 0; }
.desc p { color: #d6d3cd; font-size: 16px; line-height: 1.62; margin-bottom: 12px; }
.desc ul { margin: 4px 0 12px; list-style: none; }
.desc li { position: relative; padding: 5px 0 5px 18px; font-size: 15px; color: #d6d3cd; border-bottom: 1px solid #1a1a1a; }
.desc li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--red); }
.desc blockquote { margin: 16px 0; padding-left: 16px; border-left: 3px solid var(--red); font: 600 19px/1.4 var(--head); }

/* ── archivo (vendidos, maquetado como revista de motor) ── */
.pages { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pages::-webkit-scrollbar { display: none; }
.page { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 58% 42%; }
.page__img { position: relative; overflow: hidden; background: #000; }
.page__img img { width: 100%; height: 100%; object-fit: cover; }
.page__img .strip { position: absolute; left: 0; bottom: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--bg); height: 108px; }
.page__img .strip img { height: 100px; }
.stamp {
  position: absolute; top: 28px; left: 28px; padding: 10px 14px 9px; border: 2px solid var(--red); color: var(--red);
  font: 800 15px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; transform: rotate(-4deg); background: rgba(5,5,5,.7);
}
.page__txt { padding: 44px 48px 64px 44px; display: flex; flex-direction: column; overflow: hidden; }
.page__txt .folio { display: flex; justify-content: space-between; font: 600 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--dim); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.page__txt .folio b { color: var(--red); font-weight: 600; }
.page__txt .brand { margin-top: 30px; font: 700 18px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.page__txt h2 { margin-top: 10px; font: 800 52px/.98 var(--head); letter-spacing: -.03em; text-wrap: balance; }
.page__txt .figs { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page__txt .figs div { padding: 14px 0; }
.page__txt .figs div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.page__txt .figs b { display: block; font: 800 26px/1 var(--head); }
.page__txt .figs small { display: block; margin-top: 6px; font: 600 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.page__txt .lede { margin-top: 24px; font: 600 20px/1.35 var(--head); color: var(--ink); }
.page__txt .body { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #cfccc6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.page__txt .more { margin-top: auto; align-self: flex-start; height: 48px; padding: 0 22px; border-radius: 24px; border: 1px solid var(--line); font: 600 14px/1 var(--head); }
.page--intro { grid-template-columns: 1fr; place-items: center; text-align: center; padding: 0 120px; }
.page--intro .h1 { font-size: 72px; margin-top: 18px; }
.page--intro p.sub { margin: 22px auto 0; max-width: 640px; font-size: 19px; color: var(--mute); line-height: 1.55; }
.page--intro .swipe { margin-top: 44px; font: 600 13px/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.page--intro .swipe::after { content: ' →'; color: var(--red); }
.dots { position: absolute; left: 58%; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; transition: background .3s, transform .3s; }
.dots i.is-on { background: var(--red); transform: scale(1.3); }

/* ── noticias ───────────────────────────────────── */
.news { overflow-y: auto; padding: 28px var(--pad) 48px; scrollbar-width: none; }
.news::-webkit-scrollbar { display: none; }
.news__list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.post { text-align: left; }
.post__img { aspect-ratio: 16/10; background: var(--panel); overflow: hidden; border-radius: 4px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post .kicker { margin-top: 16px; font-size: 11px; }
.post h3 { margin-top: 10px; font: 700 21px/1.2 var(--head); }
.post p { margin-top: 8px; font-size: 15px; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post--lead { grid-column: 1/-1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; }
.post--lead .post__img { aspect-ratio: 16/10; }
.post--lead h3 { font-size: 34px; line-height: 1.1; letter-spacing: -.015em; }
.post--lead p { font-size: 17px; -webkit-line-clamp: 5; }
.post--lead .read { display: inline-block; margin-top: 20px; height: 48px; padding: 0 22px; border-radius: 24px; border: 1px solid var(--red); font: 600 14px/46px var(--head); }

.reader { flex: 1; overflow-y: auto; scrollbar-width: none; }
.reader__hero { position: relative; height: 420px; background: #000 center/cover no-repeat; }
.reader__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(5,5,5,0) 60%); }
.reader__body { position: relative; max-width: 780px; margin: -90px auto 0; padding: 0 40px 80px; }
.reader__body h1 { margin-top: 14px; font: 800 44px/1.08 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.reader__body .date { margin-top: 14px; color: var(--dim); font-size: 14px; }
.reader__body .desc { margin-top: 30px; }
.reader__body .desc p { font-size: 19px; line-height: 1.7; }
.reader__body .desc h3 { font-size: 24px; margin-top: 34px; }
.reader__body .desc img { margin: 24px 0; width: 100%; height: auto; border-radius: 4px; }

/* ── botones y acciones ─────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 26px; border: 1px solid #3a3a3a; font: 600 15px/1.2 var(--head); color: var(--ink); text-align: center; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost { border-color: transparent; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.btn--wide { width: 100%; margin-top: 8px; }
.btn:active { opacity: .75; }
.actions { margin-top: 22px; display: grid; gap: 10px; }
.actions--row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qrbox { margin-top: 16px; display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--panel); border-left: 3px solid var(--red); }
.qrbox p { font-size: 14px; color: var(--mute); line-height: 1.45; }
.qrbox b { display: block; color: var(--ink); font: 700 15px/1.3 var(--head); margin-bottom: 4px; }
.qr { flex: none; background: #fff; padding: 6px; border-radius: 4px; }
.qr svg { display: block; width: 100%; height: 100%; }

/* ── revista ────────────────────────────────────── */
.h2 { font: 800 30px/1.1 var(--head); letter-spacing: -.015em; margin-top: 8px; }
.news__head--2 { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.news__head--2[hidden] { display: none; }
.reader__body .standfirst { margin-top: 16px; font: 500 22px/1.45 var(--head); color: #e6e3de; }
.reader__body .desc blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font: 700 26px/1.3 var(--head); color: var(--ink); }
.reader__body .desc li { font-size: 18px; padding: 8px 0 8px 22px; }
.reader__body .desc li::before { top: 18px; }
.endcard { margin-top: 44px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 20px; background: var(--panel); border-top: 3px solid var(--red); }
.endcard img { width: 220px; height: 150px; object-fit: cover; border-radius: 4px; }
.endcard .brand { font: 600 12px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.endcard h3 { margin-top: 6px; font: 800 26px/1.1 var(--head); }
.endcard .num { margin-top: 6px; color: var(--mute); }

/* ── contacto ───────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 540px; gap: 40px; padding: 30px var(--pad) 30px; overflow-y: auto; scrollbar-width: none; }
.contact::-webkit-scrollbar { display: none; }
.contact .lead { margin-top: 14px; max-width: 520px; font-size: 18px; color: var(--mute); }
.crows { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.crow small { display: block; font: 600 11px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.crow b { display: block; margin-top: 6px; font: 700 21px/1.2 var(--head); }
.crow span { display: block; margin-top: 2px; font-size: 14px; color: var(--mute); }
.qrs { margin-top: 30px; display: flex; gap: 22px; }
.qrs figure { text-align: center; }
.qrs figcaption { margin-top: 8px; font: 600 12px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.contact__form { background: var(--panel); padding: 26px 28px; border-top: 3px solid var(--red); align-self: start; }

/* ── formulario ─────────────────────────────────── */
.lead__t { margin-top: 8px; font: 800 28px/1.1 var(--head); }
.lead__sub { margin-top: 6px; font-size: 15px; color: var(--mute); }
.lead .group { margin-top: 14px; }
.glabel, .field span { display: block; margin-bottom: 7px; font: 600 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid #3a3a3a; font: 600 14px/1 var(--head); color: var(--mute); }
.opts button.is-on { border-color: var(--red); background: rgba(255,59,31,.14); color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.field { display: block; }
.lead > .field { margin-top: 12px; }
.field[hidden] { display: none; }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 6px; border: 1px solid #3a3a3a; background: #050505; color: var(--ink);
  font: 500 17px var(--body); user-select: text; -webkit-user-select: text;
}
.field input:focus { outline: none; border-color: var(--red); }
.consent { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.consent input { flex: none; width: 26px; height: 26px; margin-top: 1px; accent-color: var(--red); }
.consent small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; color: var(--dim); }
.lead__err { min-height: 20px; margin-top: 10px; font-size: 14px; color: #ff7a66; }
.done p { margin-top: 12px; color: var(--mute); font-size: 17px; }
.done .btn { margin-top: 22px; }

.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72); display: flex; justify-content: center; align-items: flex-start; padding-top: 28px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__card { position: relative; width: 620px; background: var(--panel); padding: 28px 32px 30px; border-top: 3px solid var(--red); animation: sheetIn .3s cubic-bezier(.2,.7,.2,1); }
.modal__x { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; font-size: 30px; color: var(--mute); }

/* ══ Revista: maquetación editorial (referencias: Classic Driver, Robb Report) ══ */
.mag { overflow-y: auto; padding: 0 var(--pad) 70px; scrollbar-width: none; }
.mag::-webkit-scrollbar { display: none; }
.mag__mast { text-align: center; padding-top: 26px; }
.mag__issue { font: 600 11px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.mag__title { margin-top: 12px; font: 700 66px/1 var(--serif); letter-spacing: -.01em; }
.mag__title em { font-style: italic; font-weight: 500; color: var(--red); }
.mag__tag { margin-top: 10px; font-size: 15px; color: var(--mute); }
.mag__tabs { margin-top: 22px; display: flex; justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mag__tabs button { position: relative; height: 54px; padding: 0 20px; font: 600 12px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.mag__tabs button.is-on { color: var(--ink); }
.mag__tabs button.is-on::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--red); }
.msec { font: 700 11px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.mby { margin-top: 12px; font: 500 11px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.mstand { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--mute); }
.mimg { overflow: hidden; background: var(--panel); }
.mimg img { width: 100%; height: 100%; object-fit: cover; }
.mag__body button { text-align: left; display: block; width: 100%; }

.mhero { position: relative; height: 520px; margin-top: 30px; overflow: hidden; background: #000; }
.mhero > img { width: 100%; height: 100%; object-fit: cover; }
.mhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 65%); }
.mhero__txt { position: absolute; z-index: 1; left: 48px; right: 48px; bottom: 40px; max-width: 820px; }
.mhero__txt h2 { margin-top: 14px; font: 700 54px/1.04 var(--serif); letter-spacing: -.01em; color: #fff; }
.mhero__txt .mstand { font-size: 19px; color: #e4e1dc; max-width: 700px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mduo { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mcard .mimg { aspect-ratio: 16/10; }
.mcard .msec { margin-top: 16px; }
.mcard h3 { margin-top: 10px; font: 700 28px/1.16 var(--serif); }
.mcard:active img, .mrow:active img, .mhero:active > img { opacity: .82; }

.mgrid { margin-top: 48px; padding-top: 6px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; }
.mag__body .mrow, .mag__rows .mrow { display: grid; grid-template-columns: 300px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mrow .mimg { aspect-ratio: 3/2; }
.mrow h3 { margin-top: 10px; font: 700 26px/1.18 var(--serif); }
.mrow .mstand { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mside { padding-top: 24px; display: grid; gap: 36px; }
.mside__t { padding-top: 12px; border-top: 3px solid var(--red); font: 700 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.mpicks { list-style: none; }
.mpicks li { border-bottom: 1px solid var(--line); }
.mag__body .mpicks button { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 16px 0; align-items: start; font: 700 18px/1.25 var(--serif); color: var(--ink); }
.mpicks small { display: block; margin-bottom: 5px; font: 600 10px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.mnum { font: italic 500 36px/.9 var(--serif); color: var(--red); }
.mag__body .mnews { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; font: 700 16px/1.3 var(--serif); }
.mnews img { width: 96px; height: 64px; object-fit: cover; }
.mfollow p { margin: 10px 0 14px; font-size: 15px; color: var(--mute); }
.mag__body .mfollow .btn { display: inline-flex; width: auto; }

/* lector de reportaje */
.reader { flex: 1; overflow-y: auto; scrollbar-width: none; background: var(--bg); }
.rhero { position: relative; height: 620px; background: #000; overflow: hidden; }
.rhero > img { width: 100%; height: 100%; object-fit: cover; }
.rhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(5,5,5,.55) 34%, rgba(5,5,5,0) 62%); }
.rhero__txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 46px; max-width: 940px; margin: 0 auto; padding: 0 40px; text-align: center; }
.rhero__txt h1 { margin-top: 16px; font: 700 58px/1.04 var(--serif); letter-spacing: -.01em; color: #fff; }
.credit { position: absolute; z-index: 1; right: 16px; top: 16px; max-width: 520px; text-align: right; font-size: 11px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.45); padding: 4px 8px; }
.rbody { max-width: 780px; margin: 0 auto; padding: 10px 40px 90px; }
.rstand { font: italic 500 25px/1.45 var(--serif); color: #eeebe6; text-align: center; }
.rmeta { margin: 28px 0 38px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font: 600 11px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.rbody .desc p { font-size: 19px; line-height: 1.8; color: #dcd8d2; margin-bottom: 20px; }
.rbody .desc p.dropcap::first-letter { float: left; font: 700 92px/.8 var(--serif); color: var(--red); margin: 8px 14px 0 0; }
.rbody .desc h3 { margin: 44px 0 14px; font: 700 30px/1.2 var(--serif); }
.rbody .desc blockquote { position: relative; margin: 44px 0; padding: 30px 10px; border: 0; text-align: center; font: italic 500 31px/1.35 var(--serif); color: var(--ink); }
.rbody .desc blockquote::before, .rbody .desc blockquote::after { content: ''; position: absolute; left: 50%; width: 64px; margin-left: -32px; height: 2px; background: var(--red); }
.rbody .desc blockquote::before { top: 0; }
.rbody .desc blockquote::after { bottom: 0; }
.rbody .desc li { font-size: 18px; }
.rfig { margin: 40px -110px; }
.rfig img { width: 100%; height: auto; }
.rfig figcaption { margin-top: 10px; padding: 0 110px; font-size: 12px; color: var(--dim); }
.endcard { margin-top: 56px; display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center; padding: 22px; background: var(--panel); border-top: 3px solid var(--red); }
.endcard img { width: 240px; height: 170px; object-fit: cover; }
.endcard h3 { margin-top: 10px; font: 700 28px/1.1 var(--serif); }
.endcard .num { margin-top: 6px; color: var(--mute); font-size: 15px; }
.endcard .endcard__price { color: var(--ink); font: 700 18px/1.3 var(--head); }
.rrel { margin-top: 56px; }
.rrel__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rrel .mcard { text-align: left; }
.rrel .mcard h3 { font-size: 19px; }

/* ══ Síguenos ══ */
.social { overflow-y: auto; padding: 30px var(--pad) 50px; scrollbar-width: none; }
.social::-webkit-scrollbar { display: none; }
.social .lead { margin-top: 12px; font-size: 18px; color: var(--mute); }
.social__cards { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.scard { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: 22px 14px 24px; background: var(--panel); border-top: 3px solid var(--red); }
.scard h3 { margin-top: 10px; font: 700 21px/1.15 var(--serif); }
.scard p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--mute); }
.social__videos { margin-top: 40px; display: grid; gap: 16px; }
.social__videos .mside__t { margin-top: 26px; }
.vgrid { margin-top: 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.vcard { text-align: left; display: block; align-self: start; }
.vcard .mimg { position: relative; aspect-ratio: 4/5; }
.vplay { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,59,31,.92); color: #fff; font-size: 20px; line-height: 56px; text-align: center; padding-left: 4px; }
.vcard h3 { margin-top: 10px; font: 700 16px/1.25 var(--serif); }
.modal__card--video { display: grid; grid-template-columns: 240px 1fr; width: 720px; padding: 0; }
.modal__card--video > img { width: 240px; height: 426px; object-fit: cover; }
.vqr { display: flex; flex-direction: column; gap: 20px; justify-content: center; padding: 28px 32px; }
.vqr h3 { margin-top: 8px; font: 700 24px/1.2 var(--serif); }
.vqr p:last-child { margin-top: 8px; color: var(--mute); }

.igrid { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.igpost { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--panel); text-align: left; }
.igpost--big { grid-column: span 2; grid-row: span 2; }
.igpost img { width: 100%; height: 100%; object-fit: cover; }
.igpost__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.igpost__txt b { display: block; font: 700 14px/1.25 var(--serif); color: #fff; }
.igpost--big .igpost__txt b { font-size: 24px; }
.igpost__txt small { display: block; margin-top: 4px; font: 600 11px/1 var(--head); letter-spacing: .1em; color: #ddd; }
.vviews { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; background: rgba(0,0,0,.7); font: 600 11px/1 var(--head); color: #fff; }
.vstats { font: 600 12px/1.3 var(--head); letter-spacing: .08em; color: var(--dim) !important; }
.vhint { font-size: 12px; color: var(--dim); }
.modal__card--video > img { width: 240px; height: 100%; min-height: 426px; object-fit: cover; }
