/* Santi Autos · modo oscuro con naranja · letra Figtree */
:root {
  --bg: #0b0d12; --surface: #12151c; --raised: #191d26; --raised-2: #20252f;
  --line: rgb(255 255 255 / .08); --line-strong: rgb(255 255 255 / .16);
  --ink: #f3f4f6; --muted: #a6abb8; --dim: #9ea4b1;
  --accent: #ff9a2e; --accent-2: #ffb35c; --accent-ink: #160f05; --accent-soft: rgb(255 154 46 / .12);
  --wa: #25d366; --wa-2: #3ee07a; --wa-ink: #05210e; --ok: #5ee093;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r: 14px; --r-lg: 20px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px rgb(0 0 0 / .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; background: var(--bg); }
body { -webkit-tap-highlight-color: rgb(255 154 46 / .18); margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select, label { touch-action: manipulation; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
[hidden] { display: none !important; }
.price, .cuota, #cat-count, .card__meta { font-variant-numeric: tabular-nums; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--main { background: var(--accent); color: var(--accent-ink); }
.btn--main:hover { background: var(--accent-2); box-shadow: 0 8px 24px rgb(255 154 46 / .3); }
.btn--line { background: var(--raised); color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: rgb(255 255 255 / .4); background: var(--raised-2); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-2); box-shadow: 0 8px 24px rgb(37 211 102 / .25); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent-2); }

/* ---------- encabezado ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgb(11 13 18 / .82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; }
.logo__mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #000; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; color: var(--muted); transition: color .15s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 10px; }
.fav-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--raised); border-radius: 12px; cursor: pointer; place-items: center; }

/* ---------- portada ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(460px, 64svh, 620px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: 62% 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(11 13 18 / .94) 0%, rgb(11 13 18 / .7) 42%, rgb(11 13 18 / .12) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgb(11 13 18 / .55) 30%, transparent 60%); }
.hero__in { padding-block: 104px 56px; }
.hero h1 { max-width: 16ch; font-size: clamp(42px, 7vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 12px; max-width: 46ch; font-size: clamp(18px, 1.8vw, 22px); color: #d9dce3; }
.hero__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); gap: 10px; margin-top: 28px; }
.hero__tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: var(--r); background: rgb(25 29 38 / .78); backdrop-filter: blur(8px); color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; border: 1px solid var(--line-strong); transition: transform .18s var(--ease), background-color .18s, border-color .18s; }
.hero__tabs a:hover { transform: translateY(-1px); border-color: rgb(255 255 255 / .35); }
.hero__tabs a:active { transform: translateY(1px) scale(.98); }
.hero__tabs a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hero__tabs b { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgb(0 0 0 / .18); font-variant-numeric: tabular-nums; }
.hero__perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: #d9dce3; font-weight: 600; font-size: 15px; }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks svg { color: var(--accent); flex: none; }
.m-enter [data-enter] .hero__in > * { animation: entra .7s var(--ease) both; }
.m-enter [data-enter] .hero__in > *:nth-child(2) { animation-delay: .06s; }
.m-enter [data-enter] .hero__in > *:nth-child(3) { animation-delay: .12s; }
.m-enter [data-enter] .hero__in > *:nth-child(4) { animation-delay: .18s; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }

/* ---------- secciones ---------- */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec h2 { font-size: clamp(30px, 3.6vw, 46px); }
.sec__lead { margin-top: 12px; max-width: 60ch; color: var(--muted); font-size: 18px; }
.fine { margin-top: 20px; max-width: 90ch; font-size: 13px; color: var(--dim); }

/* ---------- formularios ---------- */
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field output { color: var(--ink); font-weight: 700; }
input[type="text"], input[type="search"], select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background-color: var(--raised); color: var(--ink); transition: border-color .15s, background-color .15s; }
input::placeholder { color: var(--dim); }
input[type="text"]:hover, input[type="search"]:hover, select:hover { border-color: rgb(255 255 255 / .35); }
select { appearance: none; padding-right: 36px; 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='%23c7cbd4' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
select option { background: var(--raised); color: var(--ink); }
.money { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); padding-left: 16px; background: var(--raised); transition: border-color .15s, box-shadow .15s; }
.money:hover { border-color: rgb(255 255 255 / .35); }
.money:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(255 154 46 / .25); }
.money span { font-weight: 600; font-size: 24px; color: var(--muted); }
.money input { border: 0; background: transparent; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; padding-left: 8px; min-height: 60px; }
.money input:focus-visible { outline-offset: -3px; }

/* ---------- simulador ---------- */
.sim { padding-top: 8px; }
.sim__box { padding: clamp(20px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.sim .sec__lead { margin-top: 8px; font-size: 17px; }
.sim__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 26px; align-items: stretch; }
.sim__form { display: grid; gap: 18px; align-content: start; }
.sim__split { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim__split b { color: var(--ink); font-weight: 700; }
.sim__rango { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; padding-inline: 4px; }
.sim input[type="range"] { appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.sim input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--pct, 0%), var(--raised-2) var(--pct, 0%)); }
.sim input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--pct, 0%), var(--raised-2) var(--pct, 0%)); }
.sim input[type="range"]::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); transition: transform .15s; }
.sim input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.sim input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--accent); }
.sim__res { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: var(--raised); border-radius: var(--r-lg); border: 1px solid var(--line); }
.opt--best { border-color: rgb(255 154 46 / .7); background: linear-gradient(180deg, rgb(255 154 46 / .1), var(--raised) 55%); box-shadow: 0 0 0 1px rgb(255 154 46 / .25), 0 20px 50px rgb(255 154 46 / .08); }
.opt__tag { align-self: flex-start; margin-bottom: 4px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.opt__name { font-weight: 700; font-size: 18px; }
.opt__rate { font-size: 14px; color: var(--muted); }
.cuota { margin-top: 12px; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.opt__per { font-size: 14px; color: var(--muted); }
.opt__det { margin-top: 10px; font-size: 15px; color: var(--muted); flex: 1; }
.opt .btn { margin-top: 16px; }

/* ---------- catálogo ---------- */
.cat__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.field--q { grid-column: span 2; }
.filters__more { display: contents; }
.filters__toggle { display: none; }
.cat__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; min-height: 44px; }
#cat-count { font-weight: 700; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 10px; }
.empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.empty .btn { margin-top: 18px; }

.card { content-visibility: auto; contain-intrinsic-size: auto 470px; position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgb(255 154 46 / .45); }
.card__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--raised); }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__ph img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgb(11 13 18 / .8); color: var(--ink); backdrop-filter: blur(6px); }
.badge--fin { background: var(--accent); color: var(--accent-ink); }
.badge--res { background: #ffd166; color: #1c1405; }
.fav { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgb(11 13 18 / .7); backdrop-filter: blur(6px); color: var(--ink); cursor: pointer; transition: transform .15s, background-color .15s; }
.fav:hover { transform: scale(1.08); background: rgb(11 13 18 / .9); }
.fav:active { transform: scale(.94); }
.fav[aria-pressed="true"] svg { fill: #ff5a4e; stroke: #ff5a4e; }
.card__body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; flex: 1; }
.card__title { overflow-wrap: anywhere; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.card__ver { color: var(--muted); font-size: 15px; min-height: 1.5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { padding: 4px 10px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #d3d6dd; }
.card__foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { font-size: 25px; font-weight: 800; letter-spacing: -0.025em; }
.card__note { margin-top: 2px; font-size: 14px; color: var(--ok); font-weight: 600; }
.card__wa { position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); transition: transform .15s, background-color .15s, box-shadow .15s; }
.card__wa:hover { transform: scale(1.06); background: var(--wa-2); box-shadow: 0 6px 18px rgb(37 211 102 / .3); }
.card__wa:active { transform: scale(.95); }

/* ---------- cómo comprar ---------- */
.pasos { padding-top: 0; }
.pasos__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.pasos__list li { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pasos__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 800; }
.pasos h3 { margin-top: 18px; font-size: 21px; }
.pasos p { margin-top: 8px; color: var(--muted); }

/* ---------- franja permuta ---------- */
.band { padding-top: 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band__box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; width: 100%; padding: clamp(28px, 5vw, 52px); border-radius: 24px; border: 1px solid rgb(255 154 46 / .35); background: radial-gradient(120% 140% at 100% 0%, rgb(255 154 46 / .2), transparent 55%), var(--surface); }
.band p { margin-top: 10px; max-width: 56ch; color: var(--muted); font-size: 18px; }

/* ---------- ficha y otras vistas ---------- */
.view { padding-block: 28px 80px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.ficha { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; margin-top: 12px; align-items: start; }
.gal__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--raised); }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgb(11 13 18 / .75); backdrop-filter: blur(6px); color: var(--ink); cursor: pointer; transition: transform .15s; }
.gal__nav:hover { transform: scale(1.06); }
.gal__nav--prev { left: 12px; } .gal__nav--next { right: 12px; }
.gal__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgb(11 13 18 / .8); font-size: 13px; font-variant-numeric: tabular-nums; }
.gal__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gal__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--raised); opacity: .7; transition: opacity .15s, border-color .15s; }
.gal__thumbs button:hover { opacity: 1; }
.gal__thumbs button[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: 92px; }
.info h1 { font-size: clamp(32px, 3.6vw, 44px); }
.info__ver { margin-top: 6px; color: var(--muted); font-size: 18px; }
.info .price { margin-top: 16px; font-size: clamp(34px, 3.6vw, 44px); }
.specs { margin: 20px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.callout { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.callout strong { color: var(--ink); font-weight: 700; }
.callout a { color: var(--accent); font-weight: 700; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related { margin-top: 72px; }
.related h2, .page-h { font-size: clamp(28px, 3.2vw, 40px); }
.related .grid { margin-top: 22px; }
.page-lead { margin-top: 10px; color: var(--muted); font-size: 18px; max-width: 60ch; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.contact > div { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.contact h2 { font-size: 21px; }
.contact p { color: var(--muted); flex: 1; }
.sold { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.sold figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.sold img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.sold figcaption { padding: 10px 14px; font-weight: 700; }

/* ---------- pie ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px 28px; }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__name { font-weight: 800; font-size: 19px; }
.foot p { color: var(--muted); }
.foot__links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 3px; color: var(--muted); }
.foot__links a:hover { color: var(--ink); }
.foot__credits { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot__credits a { color: var(--muted); }

.wa-bar { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field--q { grid-column: 1 / -1; }
  .sim__grid { grid-template-columns: 1fr; }
  .ficha { grid-template-columns: 1fr; }
  .info { position: static; }
  .sold { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact, .pasos__list { grid-template-columns: 1fr; }
}

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 68px 0 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut) 24px; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
  .nav:not(.is-open) { display: none; }
  .nav a:not(.btn) { min-height: 58px; font-size: 21px; color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 4px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 22px 0 0; min-height: 54px; }
}
@media (max-width: 639px) {
  html { scroll-padding-bottom: 76px; }
  body { padding-bottom: 64px; }
  .grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; padding: 16px; }
  .filters__toggle { display: inline-flex; align-self: end; }
  .filters__more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; grid-column: 1 / -1; }
  .filters__more:not(.is-open) { display: none; }
  .sim__res { grid-template-columns: 1fr; }
  .sim__grid { gap: 16px; }
  .hero { min-height: 540px; }
  .hero__in { padding-block: 120px 32px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgb(11 13 18 / .82) 45%, rgb(11 13 18 / .35) 100%); }
  .hero__tabs { grid-template-columns: 1fr 1fr; }
  .hero__perks { flex-direction: column; gap: 6px; }
  .band .btn { width: 100%; }
  .gal__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .actions__row { grid-template-columns: 1fr; }
  .wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding-bottom: env(safe-area-inset-bottom); background: var(--wa); color: var(--wa-ink); font-weight: 800; font-size: 17px; text-decoration: none; }
  .wa-bar:active { background: var(--wa-2); }
}

@media (pointer: fine) { html { overscroll-behavior: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
