/* =====================================================================
   Web pública · Agencia de autos
   Dirección: ficha técnica de concesionaria. Tipografía condensada para
   modelos y precios, mono para datos, la patente como sello del código,
   tiras de especificaciones con filetes finos. Un solo color de marca.
   ===================================================================== */
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-var.woff2') format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
    --ink: #101216; --ink-2: #464B54; --ink-3: #6E747E;
    --line: #E4E1DA; --line-2: #D3CFC6;
    --paper: #F4F2EE; --surface: #FFFFFF; --surface-2: #FAF9F6;
    --night: #0F1115; --night-2: #181B21; --night-3: #22262E; --night-line: #2C313A; --night-ink: #EDEBE6; --night-ink-2: #A7ABB3;
    --accent: var(--brand-accent, #D9361E); --accent-ink: var(--brand-accent-ink, #FFFFFF);
    --wa: #128C4B; --wa-ink: #FFFFFF;
    --ok: #15803D; --ok-bg: #EAF6EE; --warn: #A15C07; --warn-bg: #FDF3E1; --offer: #C2410C; --offer-bg: #FFF1E8;
    --muted: #6E747E; --muted-bg: #EFEDE8; --danger: #B42318; --danger-bg: #FEF0EE;
    --r-sm: 6px; --r: 10px; --r-lg: 16px;
    --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
    --shadow-1: 0 1px 2px rgba(16,18,22,.06), 0 1px 1px rgba(16,18,22,.04);
    --shadow-2: 0 10px 30px -12px rgba(16,18,22,.28), 0 2px 6px rgba(16,18,22,.06);
    --header-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-stretch: 100%; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

h1, h2, h3, h4 { font-stretch: 78%; font-weight: 800; margin: 0 0 12px; line-height: 1.05; letter-spacing: -.012em; }
h1 { font-size: clamp(32px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,128,61,.15); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 56ch; }

/* ===== Íconos ===== */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 28px; height: 28px; }
.ico-fill { fill: currentColor; stroke: none; }

/* ===== Botones ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r); font-weight: 700; font-size: 15px; font-stretch: 92%; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s, border-color .15s, box-shadow .15s, filter .15s; white-space: nowrap; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(.94); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24272E; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-night { background: transparent; border-color: var(--night-line); color: var(--night-ink); }
.btn-ghost-night:hover { border-color: var(--night-ink-2); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { filter: brightness(.94); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-stretch: 92%; color: var(--ink); }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; font-weight: 700; }

/* ===== Header ===== */
.topbar { background: var(--night); color: var(--night-ink-2); font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar a, .topbar .ti { color: var(--night-ink); display: inline-flex; align-items: center; gap: 6px; }
.topbar .ti { color: var(--night-ink-2); }
.topbar .spacer { flex: 1; }
@media (max-width: 760px) { .topbar .hide-sm { display: none !important; } }

.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { font-weight: 900; font-stretch: 70%; font-size: 24px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; line-height: 1; text-transform: uppercase; }
.brand img { height: 44px; width: auto; max-width: min(180px, 42vw); object-fit: contain; background: #fff; border-radius: 3px; }
@media (max-width: 520px) { .brand { min-width: 0; } .brand img { height: 38px; max-width: 126px; } .site-header .container { gap: 10px; } .header-actions { gap: 0; } .header-actions .hide-xs { display: none; } }
html, body { overflow-x: clip; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 16px; font-stretch: 80%; }
.nav-main { display: none; gap: 4px; font-weight: 700; font-stretch: 90%; font-size: 15px; }
.nav-main a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.nav-main a:hover, .nav-main a.active { color: var(--ink); background: var(--muted-bg); }
@media (min-width: 1000px) { .nav-main { display: flex; } }
.header-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.header-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative; color: var(--ink); }
.header-icon:hover { background: var(--muted-bg); }
.header-icon .count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: none; align-items: center; justify-content: center; }
.header-icon .count.on { display: flex; }
.menu-toggle { display: grid; }
@media (min-width: 1000px) { .menu-toggle { display: none; } }
@media (max-width: 520px) { .header-actions .btn-wa span { display: none; } .header-actions .btn-wa { width: 42px; padding: 0; border-radius: 50%; } }

.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15,17,21,.5); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--surface); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; animation: slideIn .2s ease; }
.drawer-panel.left { right: auto; left: 0; animation-name: slideInL; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInL { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 20px; font-weight: 800; font-stretch: 80%; border-bottom: 1px solid var(--line); }

/* ===== Patente (sello del código del auto) ===== */
.plate { display: inline-flex; flex-direction: column; border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; background: #fff; line-height: 1; vertical-align: middle; }
.plate::before { content: ''; height: 4px; background: var(--accent); }
.plate span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 3px 7px 4px; color: var(--ink); }
.plate.on-dark { border-color: rgba(255,255,255,.85); }

/* ===== Badges ===== */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; font-stretch: 90%; padding: 4px 9px; border-radius: 999px; white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-muted { background: var(--muted-bg); color: var(--muted); }
.badge-offer { background: var(--offer); color: #fff; }
.badge-new { background: var(--ink); color: #fff; }
.badge-solid-warn { background: #B45309; color: #fff; }
.badge-solid-muted { background: #4B5058; color: #fff; }
.badge-danger { background: var(--danger-bg); color: var(--danger); }

/* ===== HERO ===== */
.hero { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.025) 46px 47px); pointer-events: none; }
.hero .container { position: relative; display: grid; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
@media (min-width: 1000px) { .hero .container { grid-template-columns: 1.02fr 1fr; align-items: center; padding-top: 64px; padding-bottom: 72px; } }
.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 76px); font-stretch: 68%; font-weight: 900; text-transform: uppercase; line-height: .94; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .eyebrow { color: var(--night-ink-2); }
.hero .lead { color: var(--night-ink-2); }
.hero-assist { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 11px 13px; border: 1px solid var(--night-line); border-radius: var(--r); color: var(--night-ink); transition: background .15s, border-color .15s; }
.hero-assist:hover { background: var(--night-2); border-color: #454B56; }
.hero-assist-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; }
.hero-assist-icon .ico { width: 20px; height: 20px; }
.hero-assist > span:nth-child(2) { display: grid; line-height: 1.25; }
.hero-assist b { font-size: 14px; }
.hero-assist small { color: var(--night-ink-2); font-size: 12px; }
.hero-assist > .ico { margin-left: auto; color: var(--night-ink-2); }

.finder { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-2); margin-top: 26px; }
.finder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.finder-grid .full { grid-column: 1 / -1; }
@media (min-width: 700px) { .finder-grid { grid-template-columns: 1.2fr 1fr 1fr; } .finder-grid .full { grid-column: 1 / -1; } }
@media (max-width: 699px) { .finder-grid > label:last-child { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.finder .btn { margin-top: 12px; }
.finder-q { position: relative; }
.finder-q .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.finder-q input { padding-left: 42px !important; }

.hero-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--night-2); aspect-ratio: 4/3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: block; }
.hero-feature picture, .hero-feature img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,11,14,.88)); }
.hero-feature-info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: #fff; }
.hero-feature-info h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 2px; text-transform: uppercase; font-stretch: 72%; }
.hero-feature-info .meta { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.price-tag { background: #fff; color: var(--ink); border-radius: var(--r); padding: 10px 14px; text-align: right; flex: none; }
.price-tag small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.price-tag b { font-size: 24px; font-stretch: 75%; font-weight: 900; font-variant-numeric: tabular-nums; }
.hero-feature-label { position: absolute; top: 16px; left: 16px; z-index: 2; }
.hero-empty { border: 1px solid var(--night-line); border-radius: var(--r-lg); aspect-ratio: 4/3; min-height: 340px; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--night-ink-2); background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,.055), transparent 60%), var(--night-2); }
.hero-empty-content { display: grid; justify-items: center; max-width: 360px; }
.hero-empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid #414752; border-radius: 50%; color: var(--accent); background: rgba(255,255,255,.04); }
.hero-empty-icon .ico { width: 25px; height: 25px; }
.hero-empty h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; margin: 10px 0; }
.hero-empty p { max-width: 32ch; margin: 0 0 18px; color: var(--night-ink-2); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }
.hero-stats div b { display: block; font-size: 34px; font-stretch: 70%; font-weight: 900; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats div span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-ink-2); }

.confidence-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.confidence-grid { display: grid; grid-template-columns: 1fr; }
.confidence-item { min-width: 0; min-height: 76px; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.confidence-item:last-child { border-bottom: 0; }
.confidence-item > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.25; }
.confidence-item b { font-size: 14px; font-weight: 800; }
.confidence-item small { margin-top: 3px; color: var(--ink-3); font-size: 12px; }
.confidence-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--muted-bg); color: var(--accent); }
.confidence-arrow { margin-left: auto; color: var(--ink-3); transition: transform .15s; }
.confidence-item:hover .confidence-arrow { transform: translateX(3px); color: var(--accent); }
@media (min-width: 720px) {
  .confidence-grid { grid-template-columns: repeat(3, 1fr); }
  .confidence-item { padding: 14px 18px; border-bottom: 0; }
  .confidence-item:first-child { padding-left: 0; }
  .confidence-item + .confidence-item { border-left: 1px solid var(--line); padding-left: 22px; }
}

/* ===== Secciones ===== */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
@media (max-width: 700px) { .section { padding: 40px 0; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 6px 0 0; text-transform: uppercase; font-stretch: 70%; font-weight: 900; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Rail de carrocerías */
.type-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x mandatory; }
.type-rail::-webkit-scrollbar { display: none; }
.type-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.type-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.type-card svg { width: 64px; height: 40px; stroke: var(--ink); stroke-width: 1.3; fill: none; }
.type-card b { font-size: 18px; font-stretch: 80%; font-weight: 800; }
.type-card span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ===== Tarjeta de vehículo ===== */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; gap: 14px; } }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.vcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.vcard-link { position: absolute; inset: 0; z-index: 1; }
.vcard-media { position: relative; aspect-ratio: 4/3; background: var(--muted-bg); overflow: hidden; }
.vcard-media picture, .vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vcard:hover .vcard-media img { transform: scale(1.035); }
.vcard-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.vcard-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.vcard-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; border: 0; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-1); }
.vcard-fav.active { color: var(--accent); }
.vcard-fav.active .ico { fill: currentColor; }
.vcard-count { position: absolute; bottom: 10px; right: 10px; z-index: 2; color: #fff; font-family: var(--mono); font-size: 11px; display: inline-flex; gap: 5px; align-items: center; }
.vcard-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.vcard-placeholder svg { width: 90px; height: 56px; stroke: currentColor; fill: none; stroke-width: 1.2; opacity: .5; }
.vcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.vcard-title { font-weight: 900; font-size: 21px; font-stretch: 72%; text-transform: uppercase; line-height: 1.05; letter-spacing: -.005em; }
.vcard-version { color: var(--ink-2); font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.vcard-specs span { display: inline-flex; align-items: center; gap: 5px; }
.vcard-specs .ico { width: 15px; height: 15px; color: var(--ink-3); }
.vcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.vcard-price { font-weight: 900; font-size: 26px; font-stretch: 72%; line-height: 1; font-variant-numeric: tabular-nums; }
.vcard-price.ask { font-size: 18px; }
.vcard-price-old { color: var(--ink-3); text-decoration: line-through; font-size: 13px; font-variant-numeric: tabular-nums; }
.vcard-cuota { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.vcard-cuota b { color: var(--ink); }
.vcard-wa { position: relative; z-index: 2; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; font-size: 13px; font-weight: 800; }
.vcard-wa:hover { filter: brightness(.92); }
.vcard-wa .ico { width: 19px; height: 19px; }
.vcard.is-sold { opacity: .72; }

.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 82vw); gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.home-stock-track { grid-auto-columns: 31%; scroll-behavior: smooth; }
.home-stock-controls { display: flex; gap: 8px; margin-left: auto; }
.home-stock-control { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.home-stock-control:hover { border-color: var(--ink); background: var(--muted-bg); }
@media (max-width: 900px) { .home-stock-track { grid-auto-columns: 46%; } }
@media (max-width: 600px) { .home-stock-track { grid-auto-columns: min(300px, 82vw); } }

/* Presupuesto */
.budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.budget-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; position: relative; }
.budget-card:hover { border-color: var(--ink); }
.budget-card small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.budget-card b { font-size: 30px; font-stretch: 70%; font-weight: 900; line-height: 1; }
.budget-card span { font-size: 14px; color: var(--ink-2); }
.budget-card .ico { position: absolute; right: 16px; top: 18px; color: var(--ink-3); }

/* Marcas */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 9px 16px; font-weight: 800; font-stretch: 85%; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.brand-chip span { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.brand-chip:hover { border-color: var(--ink); }

/* Cómo comprar */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { border-bottom: 0; border-right: 1px solid var(--line); padding: 26px 26px 10px 0; } .step + .step { padding-left: 26px; } .step:last-child { border-right: 0; } }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.step h3 { margin: 10px 0 6px; text-transform: uppercase; font-stretch: 75%; font-size: 22px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Banda de permuta / financiación */
.split-cta { display: grid; gap: 16px; }
@media (min-width: 900px) { .split-cta { grid-template-columns: 1fr 1fr; } }
.cta-card { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; position: relative; overflow: hidden; }
.cta-card h3 { font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; font-stretch: 68%; font-weight: 900; margin: 0; max-width: 16ch; }
.cta-card p { margin: 0; max-width: 42ch; }
.cta-card .btn { margin-top: auto; align-self: flex-start; }
.cta-card.dark { background: var(--night); color: var(--night-ink); }
.cta-card.dark h3 { color: #fff; }
.cta-card.dark p { color: var(--night-ink-2); }
.cta-card.accent { background: var(--accent); color: var(--accent-ink); }
.cta-card.accent h3 { color: var(--accent-ink); }
.cta-card .bg-ico { position: absolute; right: -20px; bottom: -30px; width: 220px; height: 220px; opacity: .1; stroke-width: 1; }

/* Sucursales */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.branch-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.branch-card h3 { margin: 0; text-transform: uppercase; font-stretch: 75%; font-size: 22px; }
.branch-card .row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.branch-card .row .ico { margin-top: 2px; color: var(--ink-3); }
.branch-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* ===== Inventario ===== */
.page-head { padding: 32px 0 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { text-transform: uppercase; font-stretch: 68%; font-weight: 900; margin: 8px 0 6px; font-size: clamp(34px, 4.6vw, 54px); }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.inv-search { display: flex; gap: 8px; margin-top: 16px; max-width: 720px; }
.inv-search .finder-q { flex: 1; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 0 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; font-stretch: 90%; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; background: var(--surface); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { font-family: var(--mono); font-weight: 500; font-size: 12px; opacity: .7; }
.chip svg.body { width: 28px; height: 18px; stroke-width: 1.4; }

.inv-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 26px 0 70px; }
@media (min-width: 1000px) { .inv-layout { grid-template-columns: 260px 1fr; } }
.filters { display: none; }
@media (min-width: 1000px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; } }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; display: block; }
.filter-list { display: flex; flex-direction: column; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r-sm); font-size: 15px; }
.filter-link:hover { background: var(--muted-bg); }
.filter-link.on { font-weight: 800; }
.filter-link.on::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.filter-link .label { flex: 1; display: flex; align-items: center; }
.filter-link .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .btn { margin-top: 14px; }

.inv-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.inv-count { font-weight: 800; font-stretch: 85%; font-size: 18px; }
.inv-count span { color: var(--ink-3); font-weight: 500; font-size: 15px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pill { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 8px 6px 12px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.pill .ico { width: 14px; height: 14px; }
.pill-clear { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.sort-select { min-width: 170px; }
.mobile-filter-btn { display: inline-flex; }
@media (min-width: 1000px) { .mobile-filter-btn { display: none; } }

.empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; text-align: left; display: grid; gap: 22px; }
@media (min-width: 800px) { .empty-state { grid-template-columns: 1fr 1fr; align-items: center; } }
.empty-state h2 { text-transform: uppercase; font-stretch: 70%; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-weight: 700; background: var(--surface); font-variant-numeric: tabular-nums; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Formularios ===== */
select, input:not([type]), input[type=text], input[type=number], input[type=email], input[type=password], input[type=date], input[type=tel], input[type=search], textarea {
    font: inherit; font-size: 16px; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23464B54' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,18,22,.08); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.form-row { margin-bottom: 14px; }
.form-row label, .form-grid label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: var(--r); margin: 16px 0; font-size: 15px; font-weight: 600; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.file-drop { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 22px; text-align: center; color: var(--ink-2); cursor: pointer; display: block; }
.file-drop:hover { border-color: var(--ink); }
.file-drop input { display: none; }

/* ===== Ficha ===== */
.vd { padding-top: 18px; padding-bottom: 70px; }
.vd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.vd-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1000px) { .vd-grid { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: 36px; } }

.gallery { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); background: var(--night-2); aspect-ratio: 4/3; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; cursor: zoom-in; }
.gallery-slide picture, .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; z-index: 3; box-shadow: var(--shadow-1); }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
@media (hover: none) { .gallery-nav { display: none; } }
.gallery-counter { position: absolute; bottom: 14px; right: 14px; background: rgba(15,17,21,.75); color: #fff; font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; z-index: 3; display: inline-flex; gap: 6px; align-items: center; }
.gallery-status { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 6px; }
.gallery-expand { position: absolute; bottom: 14px; left: 14px; z-index: 3; background: rgba(15,17,21,.75); color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--muted-bg); opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gallery-track { border-radius: 0; margin: 0 -16px; } .gallery-thumbs { display: none; } }

.vd-panel { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; display: flex; flex-direction: column; gap: 14px; }
.vd-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.vd-title { text-transform: uppercase; font-stretch: 68%; font-weight: 900; font-size: clamp(34px, 3.6vw, 46px); line-height: .95; margin: 10px 0 6px; }
.vd-version { color: var(--ink-2); font-size: 17px; margin: 0 0 14px; }
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-strip > div { padding: 12px 10px 12px 0; border-right: 1px solid var(--line); min-width: 0; }
.spec-strip > div + div { padding-left: 10px; }
.spec-strip > div:last-child { border-right: 0; }
.spec-label { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 3px; }
.spec-value { font-weight: 800; font-size: 17px; font-stretch: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 420px) { .spec-strip { grid-template-columns: repeat(2, 1fr); } .spec-strip > div:nth-child(2) { border-right: 0; } .spec-strip > div:nth-child(3) { padding-left: 0; } .spec-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.vd-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vd-price b { font-size: clamp(40px, 4.4vw, 52px); font-stretch: 68%; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.vd-price .old { color: var(--ink-3); text-decoration: line-through; font-size: 17px; font-variant-numeric: tabular-nums; }
.vd-cuota { font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.vd-cuota b { color: var(--ink); }
.vd-actions { display: grid; gap: 10px; margin-top: 18px; }
.vd-actions .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vd-meta { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.vd-meta div { display: flex; gap: 10px; align-items: flex-start; }
.vd-meta .ico { color: var(--ink-3); margin-top: 1px; }
.vd-tools { display: flex; gap: 8px; }

.vd-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.vd-section:last-child { border-bottom: 0; }
.vd-section h2 { font-size: 26px; text-transform: uppercase; font-stretch: 70%; margin-bottom: 16px; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.tech-grid div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); margin-right: 24px; }
.tech-grid dt { color: var(--ink-3); font-size: 14.5px; }
.tech-grid dd { margin: 0; font-weight: 700; text-align: right; }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature-groups h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 6px 0; font-size: 15.5px; display: flex; gap: 10px; align-items: center; }
.feature-list li .ico { color: var(--ok); width: 18px; height: 18px; stroke-width: 2.2; }
.desc { font-size: 16.5px; color: var(--ink-2); max-width: 70ch; white-space: pre-line; }

/* Simulador de cuotas */
.calc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; }
@media (min-width: 760px) { .calc { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.calc-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-terms { display: flex; gap: 6px; flex-wrap: wrap; }
.calc-terms button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.calc-terms button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-result { background: var(--night); color: #fff; border-radius: var(--r); padding: 20px; }
.calc-result small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-ink-2); }
.calc-result b { display: block; font-size: 42px; font-stretch: 68%; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-result p { font-size: 12.5px; color: var(--night-ink-2); margin: 8px 0 0; }

/* Barra fija móvil */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); }
.mobile-bar .p { flex: 1; min-width: 0; }
.mobile-bar .p small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-bar .p b { font-size: 22px; font-stretch: 70%; font-weight: 900; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .mobile-bar { display: none; } }
body.has-mobile-bar { padding-bottom: 84px; }
@media (min-width: 1000px) { body.has-mobile-bar { padding-bottom: 0; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(18,140,75,.55); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; stroke-width: 1.6; }
body.has-mobile-bar .wa-float { display: none; }
@media (min-width: 1000px) { body.has-mobile-bar .wa-float { display: grid; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,9,11,.96); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; font-family: var(--mono); font-size: 13px; }
.lightbox-top button { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 0 0 20px; }
.lightbox-track img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; }

/* Diálogo (test drive, etc.) */
dialog.modal { border: 0; border-radius: var(--r-lg); padding: 0; width: min(460px, calc(100vw - 24px)); box-shadow: var(--shadow-2); }
dialog.modal::backdrop { background: rgba(15,17,21,.55); }
.modal-body { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.modal-head h3 { margin: 0; text-transform: uppercase; font-stretch: 72%; font-size: 26px; }
.modal-close { background: var(--muted-bg); border: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }

/* Favoritos / comparador */
.compare-wrap { overflow-x: auto; margin-top: 28px; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; min-width: 560px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: top; }
.compare-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; width: 140px; }
.compare-table td.best { font-weight: 800; color: var(--ok); }

/* Páginas de contenido */
.content-grid { display: grid; gap: 30px; padding: 34px 0 70px; }
@media (min-width: 900px) { .content-grid { grid-template-columns: 1.2fr 1fr; } }
.prose { font-size: 17px; color: var(--ink-2); max-width: 70ch; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 28px; }
.prose ul { padding-left: 20px; }
.post-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { margin: 0; text-transform: uppercase; font-stretch: 75%; }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.plan-card h3 { text-transform: uppercase; font-stretch: 75%; margin-bottom: 4px; }

/* ===== Footer ===== */
.site-footer { background: var(--night); color: var(--night-ink-2); padding: 56px 0 28px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 34px; grid-template-columns: 1fr; padding-bottom: 34px; border-bottom: 1px solid var(--night-line); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-map { width: 100%; overflow: hidden; margin: 0 0 12px; border: 1px solid var(--night-line); border-radius: var(--r); background: var(--night-2); }
.footer-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.footer-map-go { min-height: 34px; margin: 0 0 6px; }
.footer-col .footer-map-go { display: inline-flex; align-items: center; margin-bottom: 6px; }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--night-ink-2); font-weight: 500; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: flex; gap: 8px; align-items: flex-start; color: var(--night-ink); margin: 0 0 10px; }
.footer-col .ico { color: var(--night-ink-2); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; flex-wrap: wrap; font-size: 13px; }
.footer-legal { max-width: 70ch; display: grid; gap: 5px; }
.footer-tagline { color: var(--night-ink-2); font-size: 12px; }
.apoh-credit { color: var(--night-ink-2); font-size: 11px; letter-spacing: .01em; opacity: .72; transition: opacity .15s ease; }
.apoh-credit:hover { color: var(--night-ink) !important; opacity: 1; }

/* Reveal sutil al hacer scroll (respeta reduce-motion) */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
    .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
