:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #0c0c0d;
  --ink-2: #4a4b50;
  --ink-3: #85868c;
  --line: #e7e5e0;
  --line-2: #d9d6cf;
  --dark: #0c0c0d;
  --dark-2: #17171a;
  --wa: #1f8f4e;
  --wa-hover: #187a42;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --st-original: #e4e2dc;
  --st-localpainted: #f0b860;
  --st-painted: #5a86d6;
  --st-changed: #d64f45;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn .i { width: 19px; height: 19px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2e; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ecebe7; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(247, 246, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-transparent { position: fixed; inset: 0 0 auto; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-transparent.is-scrolled { background: rgba(12, 12, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.mark { width: 30px; height: 34px; flex: none; }
.brand-word { font: 500 19px/1 var(--display); font-stretch: 125%; letter-spacing: .08em; }
.brand-word b { font-weight: 800; margin-left: .32em; }
.nav { display: none; gap: 30px; margin-left: 28px; }
.nav a { font-size: 15px; font-weight: 500; opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; padding: 0 8px; }
.header-wa { display: none; }
.is-transparent .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; }
.menu-btn { border: 0; background: transparent; }
.mobile-menu { position: fixed; z-index: 49; inset: var(--header) 0 0; overflow-y: auto; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); animation: menu-in .35s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: 600 30px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-foot { display: grid; gap: 10px; }
.mobile-menu-foot .btn { height: 54px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
body.menu-open { overflow: hidden; }
body.menu-open .site-header, body.menu-open .site-header.is-transparent { background: var(--bg); color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--line); }
body.menu-open .site-header.is-transparent .icon-btn { color: var(--ink); background: transparent; }

@media (min-width: 900px) {
  .nav, .header-phone { display: flex; }
  .header-wa { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}
.site-header:not(.is-transparent) .header-wa { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1000px; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slides, .hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active .hero-img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .78) 100%); }
.hero-content { position: absolute; inset: auto 0 0; padding-bottom: clamp(88px, 13vh, 132px); }
.hero-captions { display: grid; }
.hero-caption { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.hero-caption.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.hero .eyebrow { color: rgba(255, 255, 255, .72); }
.hero-title { font-family: var(--display); font-stretch: 112%; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(38px, 7.4vw, 92px); font-weight: 600; max-width: 14ch; }
h1.hero-title { font-size: clamp(34px, 4.4vw, 60px); max-width: 15ch; }
@media (max-width: 719px) {
  .hero-slide-intro .hero-img { object-position: 58% 0%; }
  .hero-lead { font-size: 15px; margin-top: 14px; }
  .hero-row { gap: 10px; margin-top: 22px; }
  .hero-row .btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
  .hero-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .86) 78%); }
}
.hero-slide picture { display: contents; }
.hero-slide-intro .hero-img { object-position: 72% 50%; }
.hero-lead { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, .78); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 16px; color: rgba(255, 255, 255, .84); }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.hero-price { font: 600 clamp(26px, 3.4vw, 38px)/1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }
.hero-dots { display: flex; gap: 8px; margin-top: 36px; }
.hero-dot { width: 56px; height: 24px; padding: 10px 0; background: none; border: 0; }
.hero-dot span { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.hero-dot span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dot-fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }

/* Quick search */
.quick { position: relative; z-index: 3; margin-top: -56px; }
.quick-search { display: grid; gap: 10px; background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .03); }
.field { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 0 44px 0 16px; border-radius: var(--radius-sm); background: var(--bg); transition: background .2s; }
.field:hover { background: #efede8; }
.field > span { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; font-size: 15px; font-weight: 600; width: 100%; outline: none; cursor: pointer; }
/* Custom dropdown that replaces the native select popup */
.field.has-ui select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.select-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none; }
.field-sm .select-btn { font-weight: 500; font-size: 14.5px; }
.field.has-ui { cursor: pointer; }
.field.has-ui:has(.select-btn:focus-visible) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field.is-open { background: #ecebe6; }
.field .field-caret { transition: transform .25s var(--ease); }
.field.is-open .field-caret { transform: rotate(180deg); }
.select-list { position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 6px); min-width: 200px; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 44px -14px rgba(0, 0, 0, .28); animation: list-in .2s var(--ease); overscroll-behavior: contain; scrollbar-width: thin; }
.select-list.up { top: auto; bottom: calc(100% + 6px); }
@keyframes list-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.select-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.select-list li span { flex: 1; min-width: 0; }
.select-list li small { color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.select-list li .i { width: 17px; height: 17px; stroke-width: 2; visibility: hidden; }
.select-list li[aria-selected="true"] { font-weight: 600; }
.select-list li[aria-selected="true"] .i { visibility: visible; }
.select-list li.is-active { background: var(--bg); }
.sort .select-list { left: auto; min-width: 240px; }
.field-caret { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.field-sm { min-height: 46px; padding-left: 14px; }
.field-sm select { font-weight: 500; }
.quick-submit { height: 60px; border-radius: var(--radius-sm); }
@media (max-width: 759px) {
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search .field:first-child, .quick-submit { grid-column: 1 / -1; }
  .field { min-height: 56px; }
  .quick-submit { height: 54px; }
}
.description.is-clamped { max-height: 21em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.more-btn { margin-top: 14px; }
@media (min-width: 760px) { .quick-search { grid-template-columns: 1fr 1fr 1fr auto; } .quick-submit { padding: 0 28px; } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.section-head h2, .visit h2, .sell h2 { font-size: clamp(30px, 4.2vw, 50px); }

/* Cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 22px; } }

.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 22px 44px -22px rgba(0, 0, 0, .3); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img { transform: scale(1.035); }
  .card:hover .card-img-alt { opacity: 1; }
}
.card-flags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.flag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--ink); }
.flag-sold { background: var(--ink); color: #fff; }
.card-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; }
.card-count .i { width: 15px; height: 15px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.card-title { font-size: 19px; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-specs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; color: var(--ink-2); font-size: 13.5px; }
.card-specs li { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-specs .i { width: 16px; height: 16px; color: var(--ink-3); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 18px; }
.card-price { font: 600 21px/1 var(--display); font-stretch: 108%; letter-spacing: -.01em; }
.card-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); transition: background .3s, color .3s, transform .3s var(--ease); }
.card-go .i { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--ink); color: #fff; transform: rotate(45deg); }
.card.is-sold .card-img { filter: grayscale(.85); opacity: .75; }
.card.is-sold .card-price { color: var(--ink-3); }

/* Brands */
.brands-title { font-size: 22px; margin-bottom: 18px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-logo, .chip-logo { display: grid; place-items: center; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand-logo { width: 44px; height: 44px; }
.chip-logo { width: 28px; height: 28px; margin-left: -9px; }
/* Brand marquee under the hero; two identical sets loop seamlessly */
.marquee { margin-top: 28px; overflow: hidden; margin-inline: calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 12px; padding-right: 12px; }
.marquee .brand-chip { opacity: .55; transition: opacity .3s, background .2s, color .2s, box-shadow .2s; }
.marquee:hover .brand-chip { opacity: .8; }
.marquee .brand-chip:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }
@media (max-width: 640px) {
  .marquee .brand-chip { padding: 6px 14px 6px 6px; }
  .marquee .brand-chip span { font-size: 15px; }
  .marquee .brand-logo { width: 36px; height: 36px; }
  .marquee-track { animation-duration: 28s; }
}
.brand-logo img, .chip-logo img { width: 72%; height: 72%; object-fit: contain; filter: grayscale(1) contrast(1.1); transition: filter .3s; }
.brand-chip:hover .brand-logo img, .chip input:checked + span .chip-logo img { filter: none; }
.brand-chip:hover .brand-logo { box-shadow: none; }
.brand-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s, color .2s; }
.brand-chip span { font: 600 16px/1 var(--display); font-stretch: 110%; }
.brand-chip small { font-size: 13px; color: var(--ink-3); }
.brand-chip:hover { background: var(--ink); color: #fff; box-shadow: none; }
.brand-chip:hover small { color: rgba(255, 255, 255, .6); }

/* About */
.about { margin-top: clamp(64px, 9vw, 112px); background: var(--dark); color: #fff; padding-block: clamp(64px, 9vw, 120px); }
.about-inner { display: grid; gap: 48px; }
.about .eyebrow { color: rgba(255, 255, 255, .5); }
.about-copy h2 { font-size: clamp(32px, 4.8vw, 60px); max-width: 16ch; }
.about-copy p { margin-top: 22px; max-width: 56ch; font-size: 17px; color: rgba(255, 255, 255, .7); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 28px; }
.stats dt { font: 600 clamp(26px, 4vw, 46px)/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; }
.stats dd { margin: 10px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { padding: 26px; border-radius: var(--radius); background: var(--dark-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.values .i { width: 28px; height: 28px; stroke-width: 1.3; }
.values h3 { margin-top: 22px; font-size: 19px; }
.values p { margin-top: 10px; color: rgba(255, 255, 255, .64); font-size: 15px; }
@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .values { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* Sell */
.sell { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sell p { margin-top: 14px; color: var(--ink-2); max-width: 52ch; font-size: 17px; }
.sell .btn { justify-self: start; height: 56px; padding: 0 26px; }
@media (min-width: 900px) { .sell { grid-template-columns: 1fr auto; } .sell h2 { max-width: 20ch; } }

/* Visit */
.visit { display: grid; gap: 28px; padding-bottom: clamp(64px, 9vw, 112px); }
.visit h2 { max-width: 14ch; }
.visit-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 4px; }
.visit-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit-list .i { width: 22px; height: 22px; color: var(--ink-3); }
.visit-list span { display: block; font-size: 13px; color: var(--ink-3); }
.visit-list strong, .visit-list a { font-weight: 600; font-size: 16px; }
.visit-map { min-height: 340px; border-radius: var(--radius); overflow: hidden; background: #e8e6e1; }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(1) contrast(1.05); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch; } }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
.page-home .site-footer, .page-contact .site-footer { margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-links { align-items: center; }
.footer-social, .menu-social { display: inline-flex; gap: 8px; }
.footer-social a, .menu-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .2s, color .2s; }
.footer-social a:hover { background: #fff; color: var(--ink); }
.menu-social { justify-content: center; margin-bottom: 6px; }
.menu-social a { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .45); }

/* Listing */
.list-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 32px; }
.list-hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 18ch; }
.lead { margin-top: 18px; max-width: 58ch; font-size: 17px; color: var(--ink-2); }
.list-layout { display: grid; gap: 28px; padding-bottom: 96px; }
.list-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.list-count { margin-right: auto; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.list-count strong { color: var(--ink); font-weight: 600; }
.filters-open { height: 46px; padding: 0 18px; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; }
.sort { min-width: 0; width: auto; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.sort select { font-size: 14px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.af { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; font-size: 13.5px; font-weight: 500; }
.af .i { width: 15px; height: 15px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.grid .card { animation: card-in .5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.empty { text-align: center; padding: 64px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.empty > .i { width: 36px; height: 36px; color: var(--ink-3); margin: 0 auto; }
.empty h3 { margin-top: 18px; font-size: 24px; }
.empty p { margin: 10px auto 24px; max-width: 44ch; color: var(--ink-2); }
.empty .btn-row { justify-content: center; }

/* Filters: bottom sheet on mobile, sticky sidebar on desktop */
.filters { position: fixed; z-index: 70; inset: auto 0 0; max-height: 88svh; display: flex; flex-direction: column; background: var(--surface); border-radius: 24px 24px 0 0; transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .3); }
.filters.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(12, 12, 13, .4); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 22px; border-bottom: 1px solid var(--line); }
.sheet-head strong { font: 600 19px/1 var(--display); font-stretch: 110%; }
.sheet-body { overflow-y: auto; padding: 8px 22px 18px; overscroll-behavior: contain; }
.sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.filters fieldset { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filters fieldset:last-of-type { border-bottom: 0; }
.filters legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.filters legend + * { clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; user-select: none; }
.chip small { font-size: 12px; color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:checked + span small { color: rgba(255, 255, 255, .6); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input { height: 46px; padding: 0 14px; border-radius: var(--radius-sm); border: 0; background: var(--bg); font-size: 15px; outline: none; min-width: 0; }
.range input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.filters .field { background: var(--bg); }
.toggle { display: flex; align-items: center; gap: 12px; padding: 18px 0 6px; font-size: 14px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); transition: background .25s; flex: none; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked + span { background: var(--ink); }
.toggle input:checked + span::after { transform: translateX(18px); }
body.sheet-open { overflow: hidden; }

@media (min-width: 1000px) {
  .list-layout { grid-template-columns: 290px 1fr; align-items: start; gap: 36px; }
  .filters { position: sticky; top: calc(var(--header) + 16px); inset: auto; z-index: 1; max-height: calc(100vh - var(--header) - 32px); transform: none; visibility: visible; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); transition: none; }
  .sheet-head .icon-btn, .filters-open, .sheet-backdrop, .sheet-foot .btn-dark { display: none !important; }
  .sheet-foot { grid-template-columns: 1fr; padding-bottom: 12px; }
}

/* Detail */
.crumbs { padding-top: 22px; padding-bottom: 16px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 17px; height: 17px; }
.detail { display: grid; gap: 28px; padding-bottom: 24px; }
.detail-media { min-width: 0; }
@media (max-width: 719px) { .detail-media { margin-inline: calc(var(--gutter) * -1); } }

.gallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #e4e2dc; }
@media (max-width: 719px) { .gallery-stage { border-radius: 0; } }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; outline: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.slide-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.slide-img { width: 100%; height: 100%; object-fit: cover; }
.g-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); opacity: 0; transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
.g-arrow:hover { transform: scale(1.06); }
.g-prev { left: 16px; }
.g-next { right: 16px; }
.gallery-stage:hover .g-arrow { opacity: 1; }
.g-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .gallery-stage .g-arrow { display: none; } }
.g-meta { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.g-counter, .g-expand { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-expand { padding: 0 9px; }
.g-expand .i { width: 17px; height: 17px; }
.g-sold { position: absolute; top: 14px; left: 14px; height: 30px; padding: 0 14px; font-size: 13px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden; opacity: .55; transition: opacity .25s, box-shadow .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .85; }
.thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 719px) { .thumbs { display: none; } }

.buy-card { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); box-shadow: 0 0 0 1px var(--line); }
.buy-title { font-size: clamp(28px, 3.2vw, 38px); }
.buy-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; }
.pill .i { width: 15px; height: 15px; stroke-width: 2; }
.buy-price { margin-top: 22px; font: 600 clamp(32px, 3.6vw, 42px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.sold-text { color: var(--ink-3); font-size: .7em; }
.tiles { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tiles li { padding: 16px 4px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.tiles .i { width: 20px; height: 20px; color: var(--ink-3); }
.tiles span { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.tiles strong { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-actions { display: grid; gap: 10px; margin-top: 24px; }
.buy-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.contact-person { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 16px/1 var(--display); }
.contact-person strong { display: block; font-size: 15px; }
.contact-person small { display: block; font-size: 13px; color: var(--ink-3); }

.detail-body { min-width: 0; }
.d-tabs { position: sticky; top: var(--header); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(247, 246, 243, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.d-tabs::-webkit-scrollbar { display: none; }
.d-tabs a { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.d-tabs a:hover { color: var(--ink); }
.d-tabs a.is-active { background: var(--ink); color: #fff; }
.d-section { padding-block: 40px; border-bottom: 1px solid var(--line); }
.d-section:last-child { border-bottom: 0; }
.d-section h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 24px; }
.specs { display: grid; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-3); font-size: 15px; }
.specs dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }
@media (min-width: 720px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

.parts { display: grid; gap: 28px; align-items: center; }
.parts-figure { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.parts-svg { width: 100%; max-width: 210px; height: auto; }
.parts-svg .part { stroke: var(--surface); stroke-width: 2.5; stroke-linejoin: round; transition: opacity .2s; }
.parts-svg .part:hover { opacity: .8; }
.parts-svg .glass path { fill: #c9ced6; }
.parts-svg .wheels rect, .parts-svg .mirrors path { fill: #3a3a3f; }
.st-original { fill: var(--st-original); background: var(--st-original); }
.st-localpainted { fill: var(--st-localpainted); background: var(--st-localpainted); }
.st-painted { fill: var(--st-painted); background: var(--st-painted); }
.st-changed { fill: var(--st-changed); background: var(--st-changed); }
.parts-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 13px; color: var(--ink-2); }
.parts-legend li { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; flex: none; }
.parts-summary { font-size: 17px; color: var(--ink-2); }
.parts-list { list-style: none; margin: 18px 0 0; padding: 0; }
.parts-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.parts-list strong { margin-left: auto; font-weight: 600; }
.parts-clean { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.parts-clean .i { width: 34px; height: 34px; stroke-width: 1.3; }
.parts-clean strong { font: 600 19px/1.2 var(--display); font-stretch: 108%; }
.parts-clean p { margin-top: 6px; color: var(--ink-2); }
.parts-note { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 720px) { .parts { grid-template-columns: 280px 1fr; gap: 40px; } }

.features { display: grid; gap: 28px; }
.feature-group h3 { font-size: 15px; font-family: var(--text); font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 12px; }
.feature-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 24px; }
.feature-group li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feature-group .i { width: 17px; height: 17px; stroke-width: 2; color: var(--ink); }
.description { white-space: pre-line; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 70ch; overflow-wrap: anywhere; }

@media (min-width: 1000px) {
  .detail { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 44px; align-items: start; }
  .detail-media { grid-column: 1; }
  .buy { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header) + 16px); }
  .detail-body { grid-column: 1; }
  .d-tabs { margin-inline: 0; padding-inline: 0; }
}
.page-detail .section { padding-bottom: clamp(64px, 9vw, 112px); }
@media (max-width: 999px) { .page-detail .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* Mobile contact dock */
.dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 22px; background: rgba(12, 12, 13, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.is-visible { transform: none; }
.dock-price { flex: 1; min-width: 0; }
.dock-price small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-price strong { font: 600 18px/1.2 var(--display); font-stretch: 108%; }
.dock .btn { height: 48px; }
.dock .btn-dark { width: 48px; padding: 0; background: rgba(255, 255, 255, .12); }
@media (min-width: 1000px) { .dock { display: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #050505; color: #fff; }
.lightbox[open] { display: block; animation: fade .3s; }
.lightbox::backdrop { background: #050505; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 14px 12px 20px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; background: linear-gradient(rgba(0, 0, 0, .5), transparent); }
.lb-top .icon-btn { background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.lightbox .g-arrow { opacity: 1; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
@media (hover: none) { .lightbox .g-arrow { display: none; } }
body.lb-open { overflow: hidden; }

/* Contact page */
.contact-cards { display: grid; gap: 14px; padding-bottom: 16px; }
.contact-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, .25); }
.contact-card .i { width: 28px; height: 28px; stroke-width: 1.3; }
.contact-card span { margin-top: 28px; font-size: 13px; color: var(--ink-3); }
.contact-card strong { margin-top: 4px; font: 600 21px/1.2 var(--display); font-stretch: 108%; }
.contact-card small { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.notfound { padding-bottom: 120px; }
.notfound .btn-row { margin-top: 32px; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
