/* =========================================================
   MDM Group – public site
   Section colour comes from inline vars set per page: --c, --c-dark, --c-deep, --c-soft, --c-tint, --c-rgb
   ========================================================= */
:root {
	--ink: #0f1217;
	--ink-2: #2a2f38;
	--muted: #646b77;
	--line: #e5e7eb;
	--bg: #ffffff;
	--surface: #f5f6f8;
	--c: #1f4fb4; --c-dark: #143375; --c-deep: #0c1f47; --c-soft: #cdd8f0; --c-tint: #eef2fa; --c-rgb: 31,79,180;
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(15,18,23,.04), 0 8px 24px rgba(15,18,23,.06);
	--shadow-lg: 0 24px 60px rgba(15,18,23,.14);
	--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
	--display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
	--ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--c); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }

/* ---------- Typography helpers ---------- */
.h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; }
.h1--sm { font-size: clamp(24px, 3vw, 36px); }
.h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 680px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--c)); box-shadow: 0 0 0 4px rgba(var(--c-rgb), .14); flex: none; }
.prose { color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose--lg { font-size: 18px; line-height: 1.8; padding-block: 8px 64px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link .ic { transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--c); color: #fff; box-shadow: 0 8px 22px rgba(var(--c-rgb), .28); }
.btn--solid:hover { background: var(--c-dark); }
.btn--light { background: #fff; color: var(--c-deep); }
.btn--light:hover { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--outline { color: var(--c); border-color: rgba(var(--c-rgb), .35); background: #fff; }
.btn--outline:hover { border-color: var(--c); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15,18,23,.06); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.hdr__logo img { height: 38px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.hdr__nav a .dot { width: 7px; height: 7px; box-shadow: none; }
.hdr__nav a:hover { background: var(--surface); color: var(--ink); }
.hdr__nav a.is-on { background: var(--c-tint); color: var(--c-dark); }
.hdr__nav a.hdr__cta { margin-left: 8px; background: var(--c); color: #fff; padding-inline: 20px; }
.hdr__nav a.hdr__cta:hover { background: var(--c-dark); }
.hdr__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.hdr__burger .ic { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding: clamp(80px, 12vw, 150px) 0 0; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--c-deep); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hero-zoom 14s var(--ease) forwards; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
	linear-gradient(100deg, rgba(var(--c-rgb), .0) 40%, rgba(var(--c-rgb), .25) 100%),
	linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.62) 42%, rgba(8,10,14,.12) 78%),
	linear-gradient(0deg, rgba(8,10,14,.7) 0%, rgba(8,10,14,0) 40%); }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__in { max-width: 1240px; }
.hero .kicker { color: #fff; }
.hero .dot { background: var(--c); box-shadow: 0 0 0 4px rgba(var(--c-rgb), .35); }
.hero__title { color: #fff; font-size: clamp(36px, 5.4vw, 72px); font-weight: 700; max-width: 19ch; margin-bottom: 20px; text-wrap: balance; }
.hero__text { font-size: clamp(16px, 1.5vw, 20px); max-width: 560px; color: rgba(255,255,255,.86); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero > *:not(.hero__bg) { animation: rise .9s var(--ease) both; }
.hero > .wrap:last-child { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: clamp(48px, 7vw, 90px) 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.stats div { padding: 26px 24px 30px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.stats dt { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: #fff; line-height: 1; }
.stats dd { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

/* ---------- Bands ---------- */
.band { padding: clamp(64px, 8vw, 110px) 0; }
.band--tight { padding: 32px 0 clamp(56px, 7vw, 96px); }
.band--tint { background: linear-gradient(180deg, var(--c-tint), #fff); }
.band__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.band__head .h2 { margin: 0; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
@media (min-width: 961px) { .feat-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }
.feat { position: relative; padding: 30px 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.feat::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat:hover::after { transform: scaleX(1); }
.feat__ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: var(--c-tint); color: var(--c); }
.feat__ic .ic { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; margin-bottom: 10px; }
.feat__text { color: var(--muted); font-size: 15px; }
.feat__text p { margin: 0 0 .6em; }
.feat .link { margin-top: 8px; }

/* intro */
.intro { padding-top: 0; }
.intro__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .h2 { margin: 0; }
.intro .prose { font-size: 17px; }

/* split rows */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); width: min(1240px, 100% - 40px); margin: 0 auto clamp(72px, 9vw, 120px); }
.split--rev .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 5 / 4; border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.split__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); background: linear-gradient(0deg, rgba(var(--c-rgb), .18), transparent 50%); pointer-events: none; }
.split__body .prose { font-size: 17px; color: var(--muted); margin-bottom: 24px; }

/* photo gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gallery-grid__item { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.gallery-grid__item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery-grid__item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8,9,12,.92); padding: 24px; opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb img { max-width: min(1400px, 100%); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.24); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }

/* CTA */
.cta { padding: 0 0 clamp(64px, 8vw, 110px); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px); border-radius: calc(var(--r) + 10px); color: #fff; background:
	radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.16), transparent 50%),
	linear-gradient(120deg, var(--c-deep), var(--c) 120%); box-shadow: 0 30px 70px rgba(var(--c-rgb), .3); }
.cta .h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page head ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); background:
	radial-gradient(60% 120% at 100% 0%, rgba(var(--c-rgb), .12), transparent 60%),
	linear-gradient(180deg, var(--c-tint), #fff); }
.page-head--slim { padding-bottom: 8px; }
.page-head--center { text-align: center; min-height: 50vh; display: grid; place-items: center; }
.page-head--center .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; }
.chips a .dot { box-shadow: none; width: 7px; height: 7px; }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Cars ---------- */
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding: 18px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); position: relative; top: -8px; }
.filters label { display: grid; gap: 6px; min-width: 0; }
.filters label > span, .form label > span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
select, input, textarea { width: 100%; font: 500 15px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23646b77' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select:disabled { opacity: .5; }
select:focus, input:focus, textarea:focus { outline: none; background-color: #fff; border-color: var(--c); box-shadow: 0 0 0 4px rgba(var(--c-rgb), .12); }
.result-count { margin: 4px 0 18px; font-size: 14px; }
.car-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.car-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.car-card__img { position: relative; aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card:hover .car-card__img img { transform: scale(1.05); }
.car-card__year { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(10,12,16,.62); backdrop-filter: blur(6px); }
.car-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 16px 18px; }
.car-card__brand { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.car-card__title { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car-card__specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.car-card__specs span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 9px 3px -3px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.car-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.car-card__price strong { font-family: var(--display); font-size: 19px; color: var(--c); }
.car-card__price small { font-size: 12px; color: var(--muted); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: 12px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.pager a { background: var(--surface); }
.pager a:hover { background: var(--c-tint); color: var(--c); }
.pager a[aria-current] { background: var(--c); color: #fff; }
.note { margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r); }

/* single car */
.car { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
.gallery__main { aspect-ratio: 16 / 9.6; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__main img.is-loading { opacity: .4; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; aspect-ratio: 16 / 9; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumbs button:hover, .gallery__thumbs button[aria-current] { opacity: 1; border-color: var(--c); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car__side { position: sticky; top: 96px; display: grid; gap: 18px; }
.pricebox { display: grid; gap: 6px; padding: 26px; border-radius: var(--r); color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.14), transparent 50%), linear-gradient(140deg, var(--c-deep), var(--c)); box-shadow: 0 20px 50px rgba(var(--c-rgb), .3); }
.pricebox__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.pricebox__mnt { font-family: var(--display); font-size: 36px; line-height: 1.1; }
.pricebox__krw { opacity: .9; font-size: 15px; }
.pricebox small { opacity: .7; margin-bottom: 10px; }
.specs { margin: 0; padding: 6px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.specs div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__img { aspect-ratio: 16 / 10; background: var(--c-tint); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.post-card__meta { font-size: 13px; color: var(--muted); }
.post-card__meta b { color: var(--c); }
.post-card__title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); }
.post-card__text { color: var(--muted); font-size: 15px; }
.post-cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); margin: 8px 0 36px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.contact__form, .contact__info { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.contact__info { background: var(--c-tint); border-color: transparent; box-shadow: none; }
.contact__info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact__info li { display: flex; gap: 14px; }
.contact__info li .ic { width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: #fff; color: var(--c); }
.contact__info small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__info a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__car { display: flex; gap: 14px; align-items: center; padding: 12px; margin-bottom: 22px; border-radius: 14px; background: var(--c-tint); text-decoration: none; color: inherit; }
.contact__car img { width: 120px; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.contact__car b { display: block; color: var(--ink); }
.contact__car small { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form em { font-style: normal; font-size: 13px; color: #c0262d; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.success { text-align: center; padding: 30px 10px; }
.success .ic { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--c-tint); color: var(--c); margin: 0 auto 16px; }
.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #e9f7ef; color: #135c32; }
.notice--err { background: #fdecec; color: #8b1c1c; }
.credits { padding-left: 1.1em; display: grid; gap: 12px; }

/* ---------- Footer ---------- */
.ftr { background: #0b0d11; color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.ftr__brand img { height: 38px; width: auto; margin-bottom: 18px; }
.ftr h3 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: rgba(255,255,255,.82); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ftr__contact .ic { color: var(--c-soft); margin-top: 4px; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Hub (front page)
   ========================================================= */
body.hub { background: #0b0c0f; color: #fff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }
.hub__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px clamp(16px, 2.4vw, 36px); }
.hub__logo img { height: 36px; width: auto; }
.hub__nav { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.hub__nav a { padding: 9px 18px; border-radius: 999px; color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .25s, color .25s; }
.hub__nav a:hover { background: var(--c); color: #fff; }
.hub__contact { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; color: #0b0c0f; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .2s; }
.hub__contact:hover { transform: translateY(-1px); }
.hub__stage { position: relative; flex: 1; display: flex; gap: 10px; padding: 0 clamp(16px, 2.4vw, 36px); min-height: 560px; }
.hub__panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; transition: flex-grow .7s var(--ease); animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * .1s); }
.hub__stage:hover .hub__panel { flex-grow: .8; }
.hub__stage .hub__panel:hover, .hub__stage .hub__panel:focus-visible { flex-grow: 1.6; }
.hub__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.08) brightness(var(--shade, .62)); transform: scale(1.05); transition: filter .7s var(--ease), transform 1.4s var(--ease); }
.hub__tint { position: absolute; inset: 0; z-index: -2; background: var(--c); mix-blend-mode: color; opacity: .92; transition: opacity .7s var(--ease); }
.hub__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.4) 38%, rgba(8,9,12,0) 62%), linear-gradient(180deg, rgba(8,9,12,.45), transparent 25%); }
.hub__panel:hover .hub__bg, .hub__panel:focus-visible .hub__bg { filter: none; transform: scale(1); }
.hub__panel:hover .hub__tint, .hub__panel:focus-visible .hub__tint { opacity: .25; }
.hub__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); z-index: 2; }
.hub__num { position: absolute; top: 24px; left: 26px; font: 700 13px/1 var(--display); letter-spacing: .1em; opacity: .7; }
.hub__name { position: absolute; top: 20px; right: 24px; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); }
.hub__body { position: absolute; left: 26px; right: 26px; bottom: 26px; display: grid; gap: 10px; }
.hub__title { font: 700 clamp(20px, 1.8vw, 28px)/1.15 var(--display); }
.hub__text { max-width: 38ch; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; }
.hub__go { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 20px; border-radius: 999px; background: var(--c); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(var(--c-rgb), .45); transition: background .25s, color .25s; }
.hub__panel:hover .hub__go { background: #fff; color: var(--c-deep); }
.hub__go .ic { transition: transform .25s var(--ease); }
.hub__panel:hover .hub__go .ic { transform: translateX(4px); }
.hub__word { position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%); z-index: 5; text-align: center; pointer-events: none; animation: rise 1.1s .35s var(--ease) both; }
.hub__word-big { display: block; font: 700 clamp(56px, 10.5vw, 176px)/.9 var(--display); letter-spacing: -.02em; text-shadow: 0 10px 50px rgba(0,0,0,.4); }
.hub__word-sub { display: block; margin-top: 16px; font: 700 clamp(11px, 1vw, 14px)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.hub__foot { display: flex; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 2.4vw, 36px) 22px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.hub__foot a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.hdr__burger { display: inline-flex; }
	.hdr__nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
	.hdr__nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.hdr__nav a { padding: 14px; }
	.hdr__nav a.hdr__cta { margin: 8px 0 0; justify-content: center; }
	.intro__in, .split, .car, .contact { grid-template-columns: 1fr; }
	.split--rev .split__media { order: 0; }
	.car__side { position: static; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.ftr__brand { grid-column: 1 / -1; }
	/* hub stacks */
	.hub__top { grid-template-columns: 1fr auto; }
	.hub__nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
	.hub__stage { flex-direction: column; min-height: 0; padding-bottom: 10px; }
	.hub__stage:hover .hub__panel, .hub__stage .hub__panel:hover { flex-grow: 1; }
	.hub__panel { min-height: 340px; }
	.hub__word { position: static; transform: none; padding: 8px 0 20px; order: -1; }
	.hub__bg { filter: grayscale(1) contrast(1.08) brightness(var(--shade, .6)); }
}
@media (max-width: 640px) {
	.wrap { width: calc(100% - 32px); }
	.car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.car-card__body { padding: 12px; }
	.car-card__title { font-size: 14px; }
	.car-card__price { flex-direction: column; align-items: flex-start; gap: 2px; }
	.filters { grid-template-columns: 1fr 1fr; padding: 14px; }
	.filters .btn { grid-column: 1 / -1; }
	.post-grid, .form__row { grid-template-columns: 1fr; }
	.stats div, .stats div + div { padding: 18px 12px 20px 0; border-left: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.ftr__grid { grid-template-columns: 1fr; }
	.hero { min-height: 0; }
	.hub__nav a { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
