:root {
  --bg: #0e0f11;
  --surface: #16181c;
  --surface-2: #1d2025;
  --line: #2a2e35;
  --text: #f3f2ef;
  --muted: #9ba1aa;
  --accent: #ff5b14;
  --accent-ink: #160800;
  --accent-soft: rgba(255, 91, 20, .12);
  --ok: #3ccf7a;
  --radius: 14px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); text-transform: uppercase; }
h3 { font-size: 22px; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow {
  font: 700 13px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Top bar & nav ---------- */
.topbar { background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 15, 17, .86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 26px/1 var(--display);
  transform: skewX(-8deg);
}
.logo-text { font: 800 26px/0.9 var(--display); letter-spacing: .04em; display: flex; flex-direction: column; }
.logo-text small { font: 600 10px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.menu a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 6px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line); }
.badge {
  position: absolute; top: 4px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 11px/18px var(--body); text-align: center;
}
.badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: 700 15px/1 var(--body); letter-spacing: .01em;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff7438; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(0,0,0,.2); }
.btn-ghost:hover { border-color: #fff; background: rgba(0,0,0,.4); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; color: var(--muted); font-size: 14px; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 60% 60%;
  transform: scale(1.04);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(14,15,17,.96) 0%, rgba(14,15,17,.82) 38%, rgba(14,15,17,.25) 75%, rgba(14,15,17,.45) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14,15,17,0) 30%);
}
.hero-in { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 120px; }
.hero h1 {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800; text-transform: uppercase; line-height: .9;
  max-width: 9ch;
}
.hero h1 span { color: var(--accent); display: block; }
.lead { max-width: 520px; margin-top: 24px; font-size: 18px; color: #d4d6da; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font: 800 36px/1 var(--display); }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Finder ---------- */
.finder-wrap { position: relative; z-index: 3; margin-top: -56px; }
.finder {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 16px; align-items: end;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.finder-title strong { display: block; font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.finder-title span { font-size: 13px; color: var(--muted); }
.finder label span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
select, input[type="text"], input[type="search"] {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  font: 500 15px var(--body);
  outline: none; transition: border-color .15s;
}
select:focus, input:focus { border-color: var(--accent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239ba1aa' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-note { color: var(--muted); max-width: 320px; }

/* Lines */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.line-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; border: 1px solid var(--line);
}
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.line-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.95) 10%, rgba(10,10,12,.2) 70%); }
.line-card:hover img { transform: scale(1.05); }
.line-body { position: relative; z-index: 1; padding: 32px; }
.line-body h3 { font-size: 44px; text-transform: uppercase; font-weight: 800; }
.line-body p { color: #c9ccd1; margin-top: 8px; max-width: 440px; }
.link { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 700; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand {
  position: relative; text-align: left; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg); padding: 0; aspect-ratio: 4 / 3;
  transition: border-color .2s, transform .2s;
}
.brand:hover { border-color: var(--accent); transform: translateY(-3px); }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s, transform .5s; }
.brand:hover img { opacity: 1; transform: scale(1.04); }
.brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,0) 60%); }
.brand-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 18px; }
.brand-name, .brand-models { display: block; }
.brand-name { font: 800 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand-models { font-size: 13px; color: #c9ccd1; margin-top: 4px; }
.brand-count {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(14,15,17,.75); border: 1px solid var(--line); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600;
}

/* Catalog */
.search { position: relative; width: min(360px, 100%); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 42px; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.tab { border: 0; background: none; padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); }
.tab.is-active { background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all .15s;
}
.chip:hover { color: var(--text); border-color: #444a53; }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, transform .2s;
  animation: fadeUp .35s ease both;
}
.card:hover { border-color: #3a3f47; transform: translateY(-3px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #0a0b0c; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px;
}
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.card-title { font: 700 21px/1.1 var(--display); }
.card-fit { font-size: 13px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font: 800 26px/1 var(--display); }
.price s { font: 500 14px var(--body); color: var(--muted); margin-left: 6px; }
.add {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(255,91,20,.35);
  font-weight: 700; font-size: 14px; transition: all .15s;
}
.add:hover { background: var(--accent); color: var(--accent-ink); }
.add.done { background: var(--ok); color: #04170b; border-color: var(--ok); }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* Promo */
.promo { background: var(--accent); color: var(--accent-ink); }
.promo-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.promo .eyebrow { color: var(--accent-ink); opacity: .7; }
.promo h2 { font-size: clamp(30px, 4vw, 48px); max-width: 16ch; }
.promo p { margin-top: 10px; max-width: 520px; font-weight: 500; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature svg { color: var(--accent); }
.feature h3 { margin-top: 18px; text-transform: uppercase; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; }
.steps span { font: 800 48px/1 var(--display); color: var(--accent); }
.steps h3 { margin-top: 12px; text-transform: uppercase; }
.steps p { color: var(--muted); margin-top: 8px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.contact-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ask { display: grid; gap: 12px; }
.ask label span { display: block; font-weight: 600; margin-bottom: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #0a0b0c; }
.footer-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-in .muted { margin-top: 14px; max-width: 320px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Cart */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(420px, 100vw); background: var(--surface); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.cart.is-open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 28px; text-transform: uppercase; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { color: var(--muted); text-align: center; padding: 48px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-item h4 { margin: 0; font: 700 17px/1.1 var(--display); }
.cart-item small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); line-height: 1; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-item .line-price { font: 800 20px/1 var(--display); }
.cart-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-discount { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ok); }
.cart-discount[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total strong { font: 800 34px/1 var(--display); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 10px; transition: all .25s;
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid, .brands, .features { grid-template-columns: repeat(3, 1fr); }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-title { grid-column: 1 / -1; }
  .finder .btn { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 39;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; display: none;
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 17px; }
  .burger { display: grid; }
  .nav-actions { margin-left: auto; }
  .grid, .brands, .features { grid-template-columns: repeat(2, 1fr); }
  .lines, .contact, .steps { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar-in { justify-content: center; }
  .topbar-in a { display: none; }
  .hero-in { padding-top: 56px; padding-bottom: 104px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(14,15,17,.75) 45%, rgba(14,15,17,.55) 100%); }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 28px; }
  .finder { grid-template-columns: 1fr; padding: 18px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 17px; }
  .card-fit { font-size: 12px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .price { font-size: 22px; }
  .add { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .brand-name { font-size: 24px; }
  .line-card { min-height: 320px; }
  .line-body { padding: 22px; }
  .line-body h3 { font-size: 36px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
