/* nexusmotorsusa.com — Nexus Homepage Redesign (Claude Design handoff) */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #1c69b0; --blue-d: #14508a; --orange: #f7941e;
  --char: #16181d; --char2: #1f2229; --char3: #26292f; --charx: #101216;
  --ink: #1b2333; --mut: #5b6b85; --line: #e4e9f2; --bg: #f6f8fc;
}
body { font-family: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.head-italic { font-style: italic; font-weight: 800; font-size: 34px; color: #fff; letter-spacing: .5px; margin-bottom: 22px; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 6px; }
.eyebrow.light { color: #fff; opacity: .95; }
.link-orange { color: var(--orange); font-weight: 700; }
.link-orange:hover { color: #ffb45a; text-decoration: none; }
.center-links { text-align: center; margin: 26px 0 6px; }
.empty { color: #97a2b8; padding: 24px 0; }

/* keyframes (from design) */
@keyframes nmSweep { 0% { transform: translateX(-30vw); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(115vw); opacity: 0; } }
@keyframes nmSweepBack { 0% { transform: translateX(115vw); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-30vw); opacity: 0; } }
@keyframes nmBeamDrift { 0% { transform: skewX(-18deg) translateX(0); opacity: .55; } 50% { transform: skewX(-18deg) translateX(60px); opacity: .9; } 100% { transform: skewX(-18deg) translateX(0); opacity: .55; } }
@keyframes nmPulse { 0% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.08); opacity: .6; } 100% { transform: scale(1); opacity: .35; } }
@keyframes nmRoad { 0% { background-position: 0 0; } 100% { background-position: -640px 0; } }
@keyframes nmWatermark { 0% { transform: translateX(0); } 50% { transform: translateX(-70px); } 100% { transform: translateX(0); } }

/* ===== top utility bar ===== */
.utilbar { background: var(--blue); color: #dce9f7; font-size: 12.5px; }
.utilbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 12px; flex-wrap: wrap; }
.utilbar-links { display: flex; gap: 26px; }
.utilbar-links a { color: #fff; font-weight: 600; letter-spacing: 1px; font-size: 12px; white-space: nowrap; }
.utilbar-links a:hover { color: #ffd9a8; text-decoration: none; }
.utilbar-right { display: flex; align-items: center; gap: 16px; }
.utilbar-phone { color: #fff; font-weight: 700; }
.utilbar-loc { color: #9cc4e8; font-size: 12px; }
.social { display: inline-flex; gap: 10px; }
.social a { display: inline-flex; width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.14); align-items: center; justify-content: center; }
.social a:hover { background: var(--orange); }
.social svg { width: 15px; height: 15px; fill: #fff; }

/* ===== nav ===== */
.nav { background: rgba(16,18,22,.92); border-bottom: 3px solid var(--blue); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 18px; }
.nav-side { display: flex; gap: 30px; flex: 1; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-side a { color: #cfd6e4; font-weight: 700; font-size: 13.5px; font-style: italic; letter-spacing: .8px; white-space: nowrap; }
.nav-side a:hover { color: var(--orange); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-logo { flex: 0 0 auto; }
.brand-name { font-weight: 800; letter-spacing: 1.5px; color: #fff; font-size: 16px; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--orange); }
.nav-toggle, .nav-burger, .nav-mobile { display: none; }

/* ===== buttons ===== */
.btn2 { display: inline-flex; align-items: center; justify-content: center; padding: 13px 30px; border-radius: 8px; font-weight: 800; font-size: 15px; letter-spacing: .08em; cursor: pointer; text-decoration: none !important; }
.btn2-orange { background: var(--orange); color: #16181d; }
.btn2-orange:hover { background: #ffa940; }
.btn2-ghost { background: rgba(20,40,62,.85); border: 1px solid rgba(120,170,215,.4); color: #eef2f6; }
.btn2-ghost:hover { border-color: var(--orange); }
.btn2-dark { background: var(--charx); color: #fff; border: 1px solid #33363e; font-size: 14px; letter-spacing: .6px; }
.btn2-dark:hover { border-color: var(--orange); }
/* legacy buttons still used by inner pages */
.btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 800; font-size: 14px; letter-spacing: .6px; border: 0; cursor: pointer; text-decoration: none !important; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-ghost { color: var(--blue); background: rgba(28,105,176,.08); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 10px; }

/* ===== HERO ===== */
.hero2 { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a1522 0%, #102638 55%, #163a5c 100%); }
.hero2-pulse { position: absolute; border-radius: 50%; }
.hero2-pulse-a { right: 18%; top: 42%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(46,109,164,.35) 0%, rgba(46,109,164,0) 70%); animation: nmPulse 9s ease-in-out infinite; }
.hero2-pulse-b { left: -6%; top: -20%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(27,79,138,.30) 0%, rgba(27,79,138,0) 70%); animation: nmPulse 12s ease-in-out infinite; animation-delay: -4s; }
.hero2-beam { position: absolute; top: -10%; height: 130%; }
.hero2-beam-a { right: 24%; width: 340px; background: linear-gradient(180deg, rgba(70,140,200,.16) 0%, rgba(70,140,200,.05) 100%); animation: nmBeamDrift 14s ease-in-out infinite; }
.hero2-beam-b { right: 8%; width: 120px; background: linear-gradient(180deg, rgba(245,166,35,.07) 0%, rgba(245,166,35,.02) 100%); animation: nmBeamDrift 18s ease-in-out infinite; animation-delay: -6s; }
.hero2-watermark { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; pointer-events: none; }
.hero2-watermark span { font-size: 170px; font-weight: 900; font-style: italic; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px rgba(120,170,215,.10); white-space: nowrap; animation: nmWatermark 26s ease-in-out infinite; user-select: none; }
.hero2-guideline { position: absolute; left: 0; right: 0; bottom: 120px; height: 3px; background: linear-gradient(90deg, rgba(150,190,225,0) 0%, rgba(150,190,225,.22) 20%, rgba(150,190,225,.22) 80%, rgba(150,190,225,0) 100%); }
.hero2-road { position: absolute; left: 0; right: 0; bottom: 78px; height: 5px; background-image: repeating-linear-gradient(90deg, rgba(245,166,35,.55) 0 90px, rgba(245,166,35,0) 90px 320px); background-size: 640px 100%; animation: nmRoad 2.6s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%); }
.hero2-trails { position: absolute; inset: 0; pointer-events: none; }
.trail { position: absolute; left: 0; border-radius: 4px; }
.trail-1 { bottom: 96px; width: 420px; height: 4px; background: linear-gradient(90deg, rgba(245,166,35,0) 0%, rgba(245,166,35,.9) 85%, #ffd88a 100%); box-shadow: 0 0 18px rgba(245,166,35,.7); animation: nmSweep 7s cubic-bezier(.45,0,.4,1) infinite; }
.trail-2 { bottom: 150px; width: 380px; height: 3px; background: linear-gradient(90deg, #cfe6ff 0%, rgba(160,205,250,.8) 15%, rgba(160,205,250,0) 100%); box-shadow: 0 0 16px rgba(160,205,250,.6); animation: nmSweepBack 9.5s cubic-bezier(.45,0,.4,1) infinite; animation-delay: -3.5s; }
.trail-3 { bottom: 52px; width: 300px; height: 3px; background: linear-gradient(90deg, rgba(245,166,35,0) 0%, rgba(232,135,30,.8) 85%, #ffc966 100%); box-shadow: 0 0 14px rgba(232,135,30,.55); animation: nmSweep 11s cubic-bezier(.45,0,.4,1) infinite; animation-delay: -6s; }
.hero2-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,26,.55) 0%, rgba(8,16,26,.15) 45%, rgba(8,16,26,0) 70%); pointer-events: none; }
.hero2-inner { position: relative; padding: 64px 24px 110px; }
.hero2-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .28em; color: var(--orange); text-transform: uppercase; margin-bottom: 14px; }
.hero2-title { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; font-weight: 900; font-style: italic; color: #f4f6f8; letter-spacing: .01em; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero2-sub { margin-top: 16px; max-width: 480px; font-size: 16px; color: #b8c6d8; line-height: 1.6; }
.hero2-cta { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ===== INVENTORY ===== */
.inv2 { background: var(--char); padding: 72px 0; color: #dfe4ee; }
.inv2-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.inv2-head .head-italic { margin-bottom: 26px; white-space: nowrap; }
.inv2-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 4px 0 26px; }
.inv2-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-select { appearance: auto; background: var(--char2); border: 1px solid #33363e; border-radius: 999px; padding: 11px 18px; color: #fff; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.inv2-sort { display: flex; align-items: center; gap: 8px; }
.inv2-sort > span { color: #97a2b8; font-size: 14px; font-weight: 700; }
.sort-select { appearance: auto; background: transparent; border: none; border-bottom: 2px solid var(--orange); padding: 6px 4px; color: #fff; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; }
.inv2-noresults { padding: 40px 0; color: #97a2b8; font-size: 15px; }
.inv2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ic { border-radius: 12px; overflow: hidden; background: var(--char2); border: 1px solid #2c303a; cursor: pointer; transition: transform .15s, border-color .15s; text-decoration: none !important; color: #dfe4ee; display: block; }
.ic:hover { transform: translateY(-3px); border-color: var(--orange); }
.ic-photo { position: relative; aspect-ratio: 4 / 3; background: #0f1116; }
.ic-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.ic-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #58627a; font-size: 13px; }
.ic-noimg span { font-size: 42px; font-weight: 800; font-style: italic; color: #333d52; }
.ic-num { position: absolute; top: 0; left: 16px; width: 44px; padding: 12px 0 16px; background: linear-gradient(160deg, #7b5cf0, #3b4fd8); color: #fff; font-weight: 800; font-size: 19px; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 11px), 0 100%); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.ic-pager { display: flex; align-items: center; justify-content: space-between; background: #15171c; padding: 7px 20px; border-top: 1px solid #2c303a; border-bottom: 1px solid #2c303a; }
.ic-prev, .ic-next { color: #97a2b8; font-size: 13px; cursor: pointer; padding: 2px 10px; user-select: none; }
.ic-prev:hover, .ic-next:hover { color: var(--orange); }
.ic-page { color: #dfe4ee; font-size: 13.5px; font-weight: 600; letter-spacing: 2px; }
.ic-body { padding: 16px 18px 18px; }
.ic-top { display: flex; justify-content: space-between; gap: 14px; }
.ic-titles { min-width: 0; }
.ic-year { color: #97a2b8; font-size: 13.5px; }
.ic-model { margin: 2px 0 0; font-size: 19px; color: #fff; font-weight: 700; }
.ic-price { font-size: 20px; font-weight: 800; color: var(--orange); margin-top: 6px; }
.ic-actions { display: flex; flex-direction: column; gap: 8px; width: 152px; flex: 0 0 auto; align-self: center; }
.ic-call { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; background: var(--blue); border: 1px solid #7db4e8; border-radius: 6px; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; }
.ic:hover .ic-call { background: var(--blue-d); border-color: var(--orange); }
.ic-avail { display: flex; align-items: center; justify-content: center; padding: 9px 6px; background: transparent; border: 1px solid #33363e; border-radius: 6px; color: var(--orange); font-weight: 700; font-size: 13px; white-space: nowrap; }
.ic-specs { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #2c303a; }
.ic-spec { display: flex; align-items: center; gap: 9px; color: #b9c2d4; font-size: 13.5px; }
.ic-spec svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ic-viewdesc { text-align: center; margin-top: 12px; color: #7db4e8; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ic:hover .ic-viewdesc { color: var(--orange); }
.ic-seefull { border-radius: 12px; border: 1px dashed #3a4152; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 280px; cursor: pointer; color: #97a2b8; text-decoration: none !important; }
.ic-seefull:hover { border-color: var(--orange); color: var(--orange); }
.ic-plus { font-size: 40px; font-weight: 900; font-style: italic; }
.ic-seefull span:last-child { font-weight: 700; letter-spacing: 1px; font-size: 14px; }
.inv2-shopping { text-align: center; margin-top: 28px; color: #aab4c8; font-size: 14px; }
.inv2-shopping strong { color: #fff; }
.shoptype-head { color: #fff; font-size: 15px; letter-spacing: 1px; margin: 40px 0 14px; font-weight: 700; }
.shoptype-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shoptype-card { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); border-radius: 8px; padding: 14px; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; border: 1px solid transparent; text-decoration: none !important; }
.shoptype-card:hover { border-color: var(--orange); background: var(--blue-d); }

/* ===== VISIT THE LOT BANNER ===== */
.visitlot-band { background: var(--char); padding: 0 0 72px; }
.visitlot { background: linear-gradient(115deg, var(--blue), var(--blue-d)); border-radius: 14px; display: flex; align-items: center; gap: 32px; padding: 40px 44px; color: #fff; flex-wrap: wrap; position: relative; overflow: hidden; }
.visitlot-orb { position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.06); }
.visitlot-text { flex: 1; min-width: 300px; position: relative; }
.visitlot-text h3 { font-size: 28px; font-weight: 800; }
.visitlot-text h3 em { font-style: italic; }
.visitlot-text h3 span { color: var(--orange); font-style: italic; }
.visitlot-text p { margin-top: 10px; color: #dce9f7; max-width: 560px; line-height: 1.6; }
.visitlot-cta { display: flex; flex-direction: column; gap: 10px; position: relative; }
.visitlot-hours { text-align: center; font-size: 13px; color: #cfe0f2; }

/* ===== CUSTOMER STORIES ===== */
.stories2 { background: var(--blue); padding: 64px 0; position: relative; overflow: hidden; }
.stories2-carve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stories2-inner { position: relative; }
.stories2 .head-italic { color: #fff; }
.stories2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story2 { background: var(--char); border-radius: 12px; padding: 26px; color: #dfe4ee; }
.story2-stars { color: var(--orange); font-size: 19px; letter-spacing: 3px; margin-bottom: 12px; }
.story2 p { font-size: 14.5px; line-height: 1.65; }
.story2-name { margin-top: 16px; font-weight: 700; color: #fff; font-size: 13.5px; }

/* ===== WHY NEXUS ===== */
.why2 { background: var(--char); padding: 72px 0 0; }
.why2-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.why2-photo { margin-top: 26px; border-radius: 12px; overflow: hidden; border: 1px solid #2c303a; }
.why2-photo img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.why2-cards { display: flex; flex-direction: column; gap: 16px; }
.why2-card { background: var(--char2); border: 1px solid #2c303a; border-radius: 12px; padding: 22px 26px; }
.why2-card h3 { margin-bottom: 8px; color: #7db4e8; font-size: 17px; font-weight: 700; }
.why2-card p { color: #b9c2d4; font-size: 14.5px; line-height: 1.6; }
.why2-quick { padding-top: 44px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick2 { background: var(--char3); border-radius: 12px; padding: 26px 24px; border: 1px solid #2c303a; display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-decoration: none !important; }
.quick2:hover { border-color: var(--orange); }
.quick2 span { color: #fff; font-weight: 800; letter-spacing: .5px; }
.quick2 small { color: var(--orange); font-weight: 700; }

/* ===== BLOG (home + blog pages share .blog-grid/.blog-card) ===== */
.blog2 { background: var(--char); padding: 0 0 72px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--char2); border: 1px solid #2c303a; border-radius: 12px; overflow: hidden; text-decoration: none !important; color: #dfe4ee; transition: border-color .15s; display: block; }
.blog-card:hover { border-color: var(--orange); }
.blog-cover { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; }
.blog-cover span { font-size: 40px; font-weight: 900; color: rgba(255,255,255,.5); font-style: italic; }
.cover-1 { background: linear-gradient(120deg, var(--blue), #0e2c4a); }
.cover-2 { background: linear-gradient(120deg, var(--orange), #8a4d05); }
.cover-3 { background: linear-gradient(120deg, #3b4252, #101216); }
.blog-body { padding: 18px 20px 20px; }
.blog-body h3 { color: #7db4e8; font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.blog-date { color: #97a2b8; font-size: 12.5px; margin-bottom: 8px; }
.blog-body p { font-size: 13.5px; color: #b9c2d4; line-height: 1.55; margin-bottom: 10px; }

/* ===== APP COMING SOON ===== */
.app2 { background: var(--blue); padding: 72px 0; }
.app2-inner { display: flex; align-items: center; gap: 54px; flex-wrap: wrap; }
.phone-mock { flex: 0 0 auto; margin: 0 auto; }
.phone-frame { width: 210px; height: 420px; background: var(--charx); border-radius: 34px; border: 3px solid #33363e; padding: 12px; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 14px; background: #000; border-radius: 8px; z-index: 2; }
.phone-screen { background: var(--char); width: 100%; height: 100%; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.pm-nav { background: var(--charx); padding: 18px 12px 8px; display: flex; justify-content: center; }
.pm-badge { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--orange) 140%); color: #fff; font-weight: 800; font-size: 15px; font-style: italic; display: inline-flex; align-items: center; justify-content: center; }
.pm-hero { background: linear-gradient(115deg, #0e1319, #1b3550); color: #fff; font-style: italic; font-weight: 900; font-size: 14px; text-align: center; padding: 26px 8px; }
.pm-cards { display: flex; gap: 8px; padding: 12px; }
.pm-cards div { flex: 1; height: 64px; background: var(--char2); border-radius: 8px; border: 1px solid #2c303a; }
.pm-btn { margin: 2px 12px; height: 30px; border-radius: 7px; background: var(--orange); }
.app2-text { flex: 1; min-width: 320px; }
.app2-text h2 { font-size: 30px; font-weight: 800; color: #fff; }
.app2-text h2 em { color: var(--orange); font-style: italic; }
.app2-text p { margin: 14px 0 22px; color: #dce9f7; max-width: 520px; line-height: 1.6; }
.app2-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.app2-badge { background: var(--charx); color: #cfd6e4; border: 1px solid #33363e; border-radius: 9px; padding: 12px 20px; font-weight: 700; font-size: 13px; letter-spacing: .5px; }

/* ===== footer ===== */
.footer { background: var(--charx); color: #97a2b8; border-top: 3px solid var(--blue); }
.footer-links { display: flex; gap: 14px; align-items: center; padding: 28px 24px 8px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a { color: #cfd6e4; }
.footer-links span { color: #3a3f4a; }
.footer-bottom { padding: 10px 24px 32px; font-size: 13px; }
.footer-bottom a { color: #cfd6e4; }
.fineprint { margin-top: 12px; font-size: 11.5px; font-style: italic; color: #5d6675; }

/* ===== inner pages (inventory / car / blog / financing / about / contact / 404) ===== */
.page-head { background: var(--char); color: #fff; padding: 44px 0; border-bottom: 3px solid var(--blue); }
.page-head h1 { font-style: italic; font-weight: 800; }
.page-head p { color: #aab4c8; margin-top: 6px; }
.crumb { color: #aab4c8; font-size: 13px; display: inline-block; margin-bottom: 8px; }
.section { padding: 56px 0; background: #fff; }
.band { padding: 56px 0; }
.band-dark { background: var(--char); color: #dfe4ee; }
.band-blue { background: var(--blue); color: #fff; }

.inv-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.inv-filters { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; position: sticky; top: 84px; }
.inv-filters h3 { margin-bottom: 10px; font-style: italic; }
.inv-filters label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 12px; }
.inv-filters input, .inv-filters select { width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inv-filters .btn-block { margin-top: 16px; padding: 11px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 30px; color: var(--char); font-style: italic; }

/* car cards on inventory/detail pages (light) */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: transform .15s, border-color .15s; }
.car-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.car-photo { position: relative; aspect-ratio: 4 / 3; background: #0f1116; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-nophoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #58627a; font-size: 13px; }
.car-nophoto span { font-size: 44px; font-weight: 800; color: #333d52; }
.car-nophoto.tall { aspect-ratio: 16 / 9; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.badge-pending { background: var(--orange); }
.badge-featured { background: var(--blue); left: auto; right: 10px; }
.car-body { padding: 16px 18px 18px; }
.car-body h3 { font-size: 17px; color: var(--ink); }
.car-meta { color: var(--mut); font-size: 13px; margin: 5px 0 10px; }
.car-price { font-size: 22px; font-weight: 800; color: var(--blue); }

.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.gallery img#gallery-main { width: 100%; border-radius: 12px; display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img { width: 92px; height: 69px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img:hover { border-color: var(--orange); }
.detail-desc, .detail-specs { margin-top: 34px; }
.detail-desc h2, .detail-specs h2 { font-size: 22px; color: var(--char); margin-bottom: 12px; font-style: italic; }
.detail-desc p { white-space: pre-line; }
.detail-specs table { width: 100%; border-collapse: collapse; }
.detail-specs th, .detail-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-specs th { color: var(--mut); font-weight: 600; width: 130px; }
.price-card, .inquiry-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.price-card { background: var(--bg); text-align: center; }
.price-big { font-size: 36px; font-weight: 800; color: var(--char); margin-bottom: 10px; }
.inquiry-card { margin-top: 20px; }
.inquiry-card h3 { margin-bottom: 12px; font-style: italic; }
.inquiry-card label { display: block; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 10px; }
.inquiry-card input, .inquiry-card textarea { width: 100%; margin-top: 4px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; }
.inquiry-card .btn { margin-top: 14px; }
.ok-note { background: #e8f9ee; border: 1px solid #b7ebc8; color: #1e7d3d; padding: 10px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; }
.content-page { max-width: 760px; font-size: 16px; }
.content-page h2 { color: var(--char); margin: 24px 0 10px; font-style: italic; }
.contact-layout { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; }
.contact-info h3 { color: var(--char); margin: 18px 0 4px; font-style: italic; }
.contact-info p { color: var(--mut); }
.post-body { max-width: 760px; font-size: 16px; color: #dfe4ee; }
.post-body h2 { color: #fff; margin: 26px 0 10px; }
.post-body p { margin: 12px 0; }
.post-body ul, .post-body ol { margin: 12px 0 12px 24px; }
.post-body a { color: var(--orange); }
.post-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ===== responsive ===== */
@media (max-width: 980px) {
  .shoptype-grid { grid-template-columns: repeat(3, 1fr); }
  .why2-top { grid-template-columns: 1fr; }
  .app2-inner { flex-direction: column; text-align: center; }
  .app2-badges { justify-content: center; }
}
@media (max-width: 900px) {
  .inv2-grid, .stories2-grid, .blog-grid, .why2-quick, .car-grid { grid-template-columns: repeat(2, 1fr); }
  .inv-layout, .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .inv-filters { position: static; }
  .nav-side { display: none; }
  .nav-burger { display: block; color: #fff; font-size: 24px; cursor: pointer; }
  .nav-mobile { position: absolute; top: 100%; left: 0; right: 0; background: var(--char); flex-direction: column; padding: 18px 24px; gap: 16px; border-bottom: 3px solid var(--blue); }
  .nav-toggle:checked ~ .nav-mobile { display: flex; }
  .nav-mobile a { color: #cfd6e4; font-weight: 700; font-style: italic; }
  .ic-top { flex-direction: column; }
  .ic-actions { width: 100%; flex-direction: row; }
  .ic-actions span { flex: 1; }
  .visitlot { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .inv2-grid, .stories2-grid, .blog-grid, .why2-quick, .car-grid, .shoptype-grid { grid-template-columns: 1fr; }
  .hero2-inner { padding: 54px 24px 90px; }
  .utilbar-inner { justify-content: center; }
  .utilbar-loc { display: none; }
}
