:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #faf9f5;
  --muted: rgba(255, 255, 255, 0.62);
  --soft: rgba(255, 255, 255, 0.82);
  --accent: #f31010; /* rojo MaxiAuto (maxiauto.com.ar), usado con moderación */
  --accent-hover: #d40d0d;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100vw; } /* clip: no rompe el sticky del hero */
html { scroll-behavior: smooth; color-scheme: dark; }
body { background: var(--bg); color: var(--text); font-family: 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }

/* ================= HERO ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* El hero queda pegado atrás y el contenido sube por encima. `top` negativo si el hero es más
   alto que la pantalla (celulares bajos), para que el buscador no quede cortado. */
.hero { position: sticky; top: min(0px, calc(100svh - 720px)); z-index: 0; width: 100%; height: 100vh; height: 100svh; min-height: 720px;
  overflow: hidden; background: var(--bg); --sp: 0; }
main, .footer { position: relative; z-index: 1; background: var(--bg); }
main { box-shadow: 0 -30px 60px rgba(0,0,0,.55); }

/* ---- foto + video del salón ---- */
.hero-media { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  transform: scale(calc(1 + var(--sp) * 0.08)); transform-origin: 50% 40%; }
.hero-bg, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 45%; }
.hero-video { opacity: 0; transition: opacity 1s ease; }
.hero-video.on { opacity: 1; }

.hero-dim { position: absolute; inset: 0; z-index: 2; background: #050506; opacity: calc(var(--sp) * 0.8); pointer-events: none; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.62) 0%, rgba(8,8,10,0.10) 26%, rgba(8,8,10,0.18) 48%, rgba(8,8,10,0.94) 100%),
    linear-gradient(90deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0) 55%);
}

.nav { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 34px 56px; }
.nav > * { flex: 1; }
.nav-links { display: flex; gap: 42px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.82); }
.nav-links a.active { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.nav-logo { display: flex; justify-content: center; flex: 0 0 auto; }
.nav-logo img { height: 34px; width: auto; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.btn-browse {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #FAF9F5;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 10px; transition: background .2s, color .2s;
}
.btn-browse span { font-size: 15px; }
.btn-browse:hover { background: #e9e9ec; color: var(--bg); }
.nav-social { display: flex; gap: 6px; margin-right: 6px; }
.nav-social .social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: rgba(255,255,255,.82);
  border: 1px solid transparent; transition: border-color .2s, color .2s, background .2s; }
.nav-social .social:hover { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }
.menu-social { display: flex; gap: 8px; padding: 8px 6px 4px; margin-top: 4px; border-top: 1px solid var(--line); }
.menu-social .social { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; font-size: 14px; }
.contact-social { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-social .social, .footer .social { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); }
.contact-social .social:hover, .footer .social:hover { color: #fff; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .2s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { position: absolute; z-index: 4; top: 76px; left: 16px; right: 16px; display: flex; flex-direction: column; padding: 8px;
  background: rgba(14,14,16,.92); border: 1px solid var(--line-2); border-radius: 14px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mobile-menu a { padding: 14px 14px; font-size: 16px; font-weight: 600; border-radius: 8px; }
.mobile-menu a:hover { background: rgba(255,255,255,.06); }

.hero-bottom { position: absolute; z-index: 3; left: 56px; right: 56px; bottom: 84px; display: flex; flex-direction: column; gap: 32px;
  transform: translate3d(0, calc(var(--sp) * -70px), 0); opacity: calc(1 - var(--sp) * 1.5); }

/* ---- cinta de stock ---- */
.hero-ticker { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 52px; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.1); background: rgba(8,8,10,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  opacity: calc(1 - var(--sp) * 1.5); }
.ticker-track { display: flex; width: max-content; height: 100%; animation: ticker var(--ticker-dur, 60s) linear infinite; }
.hero-ticker:hover .ticker-track, .hero-ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; height: 100%; padding: 0 22px; border: 0; background: none; cursor: pointer;
  font-size: 13px; color: rgba(255,255,255,.78); white-space: nowrap; border-right: 1px solid rgba(255,255,255,.08); }
.ticker-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.ticker-item img { width: 40px; height: 30px; object-fit: cover; border-radius: 4px; }
.ticker-item b { color: #fff; font-weight: 700; }
.ticker-item .new { font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; background: var(--accent); color: #fff; }
.hero.off .ticker-track { animation-play-state: paused; }

/* ================= INTRO ================= */
/* Texto: 0.1–1.4 s. La foto y el video no tienen efectos propios. */
.intro .hero-eyebrow, .intro .hero-sub, .intro .hero-stats, .intro .nav, .intro .hero-search, .intro .hero-ticker > * {
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.intro .nav { animation-name: fade; animation-delay: .1s; }
.intro .hero-eyebrow { animation-delay: .35s; }
.intro .hero-sub { animation-delay: .85s; }
.intro .hero-stats { animation-delay: .95s; }
.intro .hero-search { animation-delay: 1.1s; }
.intro .hero-ticker > * { animation-name: fade; animation-delay: 1.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
/* Título palabra por palabra (app.js envuelve cada palabra) */
.hero-copy h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-copy h1 .w > span { display: inline-block; }
.intro .hero-copy h1 .w > span { animation: word .9s cubic-bezier(.2,.75,.15,1) both; animation-delay: calc(.4s + var(--i) * 70ms); }
@keyframes word { from { transform: translateY(105%); } }
.hero-copy { max-width: 680px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.hero-copy h1 { color: #fff; font-weight: 600; font-size: clamp(38px, 5.8vw, 66px); line-height: 0.98; letter-spacing: -0.02em; }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 400; line-height: 1.5; max-width: 480px; margin-top: 18px; }

.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-stats strong { color: #fff; font-weight: 700; margin-right: 4px; }

.hero-search { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1px; max-width: 920px; padding: 6px;
  background: rgba(14,14,16,0.62); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.hero-search label { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.hero-search label span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-search select { appearance: none; border: 0; background: transparent; font-size: 15px; font-weight: 600; outline: none; cursor: pointer; padding: 2px 18px 2px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bbb' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; }
.hero-search select option { background: #18181b; }
.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; padding: 0 28px; margin-left: 6px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; transition: background .2s; }
.btn-red:hover { background: var(--accent-hover); }
.btn-red span { font-size: 16px; }

.btn-glass {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; padding: 13px 24px; border-radius: 10px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-glass span { font-size: 15px; }
.btn-glass:hover { background: #fff; color: #0a0a0b; border-color: #fff; }
.btn-glass.sm { margin-top: 20px; padding: 11px 20px; font-size: 13px; }

/* ================= SECCIONES ================= */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }
section.wrap { padding-top: 112px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section-title { font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; margin-top: 10px; }
.stock-count { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* filtros */
.filters-bar { position: sticky; top: 0; z-index: 10; margin: 0 -12px 28px; padding: 12px; background: rgba(10,10,11,.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.filters-bar.stuck { border-bottom-color: var(--line); }
.filters { display: grid; grid-template-columns: auto minmax(200px, 1fr) repeat(4, 170px); gap: 10px; }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.tabs button { border: 0; background: none; cursor: pointer; padding: 9px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--bg); }
.filters input, .filters select {
  height: 46px; padding: 0 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; outline: none;
}
.filters select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.filters input:focus, .filters select:focus { border-color: var(--line-2); }

/* grilla */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; min-height: 300px; }
.card {
  display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color .2s, transform .25s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #18181b; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .nophoto { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px;
  background: radial-gradient(120% 90% at 50% 0%, #222226 0%, #141416 70%); color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.card-media .nophoto img { width: 46%; height: auto; opacity: .22; object-fit: contain; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 9px; border-radius: 6px; background: rgba(10,10,11,.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badge.new { background: var(--accent); border-color: var(--accent); }
.card-price { color: #fff; }
.photo-count { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: rgba(10,10,11,.7); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-marca { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: baseline; }
.card-price small { font-size: 13px; font-weight: 600; color: var(--muted); }

.skeleton { border-radius: 14px; aspect-ratio: 4 / 4.3; background: linear-gradient(90deg, #131315 0%, #1b1b1e 50%, #131315 100%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { color: var(--muted); padding: 40px 0; }
.empty a { color: #fff; text-decoration: underline; }

/* financiación / contacto */
.fin-grid, .contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fin-grid article, .contact-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.fin-grid h3, .contact-grid h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.fin-grid p, .contact-grid p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.contact-grid a { color: var(--soft); }
.contact-grid a:hover { color: #fff; text-decoration: underline; }
.fin-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px;
  background: linear-gradient(120deg, #17171a 0%, #111113 60%) !important; }
.fin-wide h3 { grid-column: 1; }
.fin-wide p { grid-column: 1; max-width: 640px; }
.fin-wide .hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-stats strong { color: #fff; font-weight: 700; margin-right: 4px; }

.hero-search { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1px; max-width: 920px; padding: 6px;
  background: rgba(14,14,16,0.62); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.hero-search label { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.hero-search label span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-search select { appearance: none; border: 0; background: transparent; font-size: 15px; font-weight: 600; outline: none; cursor: pointer; padding: 2px 18px 2px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bbb' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; }
.hero-search select option { background: #18181b; }
.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; padding: 0 28px; margin-left: 6px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; transition: background .2s; }
.btn-red:hover { background: var(--accent-hover); }
.btn-red span { font-size: 16px; }

.btn-glass { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 72px; padding-bottom: 48px; margin-top: 112px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer img { height: 26px; width: auto; opacity: .9; }
.footer nav { display: flex; gap: 24px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 20; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s, opacity .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.hidden { opacity: 0; pointer-events: none; }

/* ================= DETALLE ================= */
.detail { margin: auto; width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--bg-2); color: var(--text); overflow: auto; }
.detail[open] { display: grid; grid-template-columns: 1.5fr 1fr; }
.detail::backdrop { background: rgba(5,5,6,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.d-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,10,11,.7); cursor: pointer; font-size: 15px; }
.d-gallery { background: #0d0d0f; min-width: 0; }
.d-main { position: relative; aspect-ratio: 4 / 3; background: #141416; }
.d-main img { width: 100%; height: 100%; object-fit: cover; }
.d-main .nophoto { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.d-main .nophoto img { width: 40%; height: auto; opacity: .2; object-fit: contain; }
.d-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10,10,11,.6); cursor: pointer; font-size: 24px; line-height: 1; }
.d-nav.prev { left: 14px; } .d-nav.next { right: 14px; }
.d-counter { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: rgba(10,10,11,.7); }
.d-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.d-thumbs button { flex: 0 0 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.d-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.d-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-info { padding: 36px 32px; display: flex; flex-direction: column; }
.d-info h3 { font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin-top: 8px; }
.d-price { font-size: 32px; font-weight: 700; margin-top: 18px; }
.d-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 26px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); }
.d-specs div { background: var(--bg-2); padding: 12px 14px; }
.d-specs dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-specs dd { font-size: 15px; font-weight: 600; margin-top: 3px; }
.btn-solid { display: inline-flex; justify-content: center; align-items: center; gap: 12px; margin-top: auto; padding: 15px 22px; border-radius: 10px;
  background: #fff; color: var(--bg); font-size: 14px; font-weight: 700; letter-spacing: .04em; transition: background .2s; }
.btn-solid:hover { background: #e9e9ec; color: var(--bg); }
.btn-share { display: inline-flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; padding: 13px 22px; border-radius: 10px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--soft); transition: border-color .2s, background .2s, color .2s; }
.btn-share:hover { border-color: #25d366; background: rgba(37,211,102,.08); color: #fff; }
.d-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1180px) {
  .filters { grid-template-columns: auto 1fr 1fr 1fr; }
  .filters input { grid-column: span 3; }
  .filters-bar { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; } /* en pantallas chicas ocupa demasiado alto */
}
@media (max-width: 1080px) {
  .fin-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .detail[open] { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 18px 16px; }
  .nav-links { display: none; }
  .nav > .nav-logo { justify-content: flex-start; flex: 1; }
  .nav-logo img { height: 24px; }
  .btn-browse, .nav-social { display: none; }
  .nav-burger { display: inline-flex; }
  /* En vertical la foto va arriba (se ve el cartel) y el texto abajo sobre negro */
  .hero-media { bottom: auto; height: 58%; }
  .hero-bg, .hero-video { object-position: 46% 50%; }
  .hero-overlay { background:
    linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0) 18%, rgba(8,8,10,0) 36%, rgba(10,10,11,1) 58%); }
  .hero-bottom { left: 16px; right: 16px; bottom: 60px; gap: 22px; }
  .hero-ticker { height: 44px; }
  .ticker-item { padding: 0 16px; font-size: 12px; }
  .ticker-item img { width: 34px; height: 26px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero-sub { font-size: 14px; margin-top: 12px; }
  .hero-stats { gap: 6px 18px; font-size: 12px; }
  .hero-search { grid-template-columns: 1fr 1fr; padding: 4px; }
  .hero-search label { padding: 8px 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-search label:first-child { grid-column: 1 / -1; }
  .hero-search select { font-size: 15px; }
  .btn-red { grid-column: 1 / -1; margin: 4px 0 0; height: 48px; }
  .filters-bar { margin: 0 -16px 20px; padding: 10px 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  section.wrap { padding-top: 80px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters .tabs, .filters input { grid-column: 1 / -1; }
  .filters input, .filters select { height: 42px; font-size: 14px; }
  .tabs button { flex: 1; }
  .grid { grid-template-columns: 1fr; }
  .fin-grid, .contact-grid { grid-template-columns: 1fr; }
  .fin-wide { grid-template-columns: 1fr; }
  .fin-wide .hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.7); }
.hero-stats strong { color: #fff; font-weight: 700; margin-right: 4px; }

.hero-search { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1px; max-width: 920px; padding: 6px;
  background: rgba(14,14,16,0.62); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.hero-search label { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.hero-search label span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-search select { appearance: none; border: 0; background: transparent; font-size: 15px; font-weight: 600; outline: none; cursor: pointer; padding: 2px 18px 2px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23bbb' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; }
.hero-search select option { background: #18181b; }
.btn-red { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; padding: 0 28px; margin-left: 6px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; transition: background .2s; }
.btn-red:hover { background: var(--accent-hover); }
.btn-red span { font-size: 16px; }

.btn-glass { grid-column: 1; grid-row: auto; margin-top: 18px; justify-self: start; }
  .d-info { padding: 26px 20px; }
  .d-info h3 { font-size: 23px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { position: relative; top: 0; }
  .hero-video { display: none; }
  .hero-media, .hero-bottom { transform: none; }
  .hero-dim { display: none; }
  .ticker-track { animation: none; }
  .hero-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .card, .card-media img { transition: none; }
}
