/* ============================================================
   BYDGEAR — design system
   Navy dark, Apple-leaning. One accent, hairline borders,
   generous vertical rhythm. No build step, no framework.
   ============================================================ */

:root {
  --ink: #05070B;
  --navy: #080C16;
  --navy-2: #0C1220;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #F3F6FA;
  --muted: #98A4B6;
  --muted-2: #6C7A8E;
  --accent: #4C8DFF;
  --accent-soft: rgba(76, 141, 255, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --shell: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* the room behind the page: one soft navy wash, no image weight */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(76, 141, 255, 0.16), transparent 70%),
    radial-gradient(700px 480px at 6% 8%, rgba(76, 141, 255, 0.07), transparent 65%),
    linear-gradient(180deg, #070A12 0%, #05070B 55%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.container { width: min(100% - 48px, var(--shell)); margin-inline: auto; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 9, 16, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo img { width: 128px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 13.5px; color: #C9D2E0; }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--accent); color: #05070B; font-size: 13px; font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 6px 22px rgba(76, 141, 255, .28);
}
.nav-cta:hover { background: #6BA1FF; transform: translateY(-1px); }
.menu {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  cursor: pointer;
}

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
h1 { font-size: clamp(40px, 6.2vw, 76px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.02em; }
h4 { font-size: 15px; letter-spacing: 0; }
p { margin: 0; }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--accent); opacity: .7;
}
.lede { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 62ch; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.home-hero {
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(5,7,11,.97) 8%, rgba(5,7,11,.86) 38%, rgba(5,7,11,.42) 68%, rgba(5,7,11,.72) 100%),
    radial-gradient(90% 80% at 85% 10%, rgba(76,141,255,.18), transparent 60%),
    url("assets/hero-bydgear.jpg") 72% center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.home-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 180px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 96px 0 110px; max-width: 660px; }
.hero-content h1 { margin: 22px 0 22px; }
.hero-content h1 .hl { color: var(--accent); }
.hero-content .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.page-hero { padding: 72px 0 30px; border-bottom: 1px solid var(--line); position: relative; }
.page-hero + .section { padding-top: clamp(34px, 4vw, 52px); }
.page-hero h1 { margin: 18px 0 16px; }
.page-hero .lede { max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text); font-size: 14.5px; font-weight: 550;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--panel-2); border-color: rgba(255,255,255,.28); transform: translateY(-1px); }
.btn.primary {
  background: var(--accent); border-color: transparent; color: #05070B;
  box-shadow: 0 10px 30px rgba(76, 141, 255, .26);
}
.btn.primary:hover { background: #6BA1FF; }
.btn.wa {
  background: #25D366; border-color: transparent; color: #05210F;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .22);
}
.btn.wa:hover { background: #35e075; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-hair { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.section-head .lede { margin-top: 14px; }
.section-link { font-size: 14px; color: var(--accent); white-space: nowrap; }
.section-link:hover { color: #8FBBFF; }

/* ---------------------------------------------------------------- trust strip */
.trust { margin-top: -56px; position: relative; z-index: 3; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(10, 14, 24, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.trust-item { padding: 26px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .t-icon { color: var(--accent); margin-bottom: 12px; }
.trust-item h4 { margin-bottom: 5px; font-weight: 560; }
.trust-item p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------------------------------------------------------------- vehicle cards */
.veh-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.veh {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.veh .v-shot { aspect-ratio: 4 / 3; overflow: hidden; background: #0A0F1A; border-bottom: 1px solid var(--line); }
.veh .v-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.veh:hover .v-shot img { transform: scale(1.05); }
.veh .v-body { padding: 16px 18px 0; }
.veh .v-go { padding: 10px 18px 18px; margin-top: auto; }
.veh::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(76,141,255,.22), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.veh:hover { transform: translateY(-3px); border-color: rgba(76,141,255,.42); }
.veh:hover::after { opacity: 1; }
.veh .v-name { font-size: 17px; font-weight: 580; letter-spacing: -.02em; }
.veh .v-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.veh .v-go { color: var(--accent); font-size: 12.5px; }

/* ---------------------------------------------------------------- category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.cat:hover { transform: translateY(-3px); border-color: rgba(76,141,255,.4); }
.cat .c-shot { aspect-ratio: 16 / 9; overflow: hidden; background: #0A0F1A; border-bottom: 1px solid var(--line); }
.cat .c-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover .c-shot img { transform: scale(1.05); }
.cat .c-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 5px; }
.cat h3 { font-size: 17px; }
.cat p { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- product grid */
.shop-layout { display: grid; grid-template-columns: 232px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 88px; }
.filters h3 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.filter-btn {
  display: block; width: 100%; text-align: left;
  padding: 10px 14px; margin-bottom: 6px; border-radius: 10px;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  font-size: 14px; cursor: pointer; transition: all .18s var(--ease);
}
.filter-btn:hover { color: var(--text); background: var(--panel); }
.filter-btn.active { color: var(--text); background: var(--accent-soft); border-color: rgba(76,141,255,.34); }

.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.item {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.item:hover { transform: translateY(-3px); border-color: rgba(76,141,255,.4); }
.item.hidden { display: none; }
.item .thumb {
  aspect-ratio: 4 / 3; overflow: hidden; background: #0A0F1A;
  border-bottom: 1px solid var(--line);
}
.item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item:hover .thumb img { transform: scale(1.04); }
.item .thumb.contain {
  background: radial-gradient(220px 160px at 50% 40%, rgba(76,141,255,.14), transparent 70%), #0A0F1A;
}
.item .thumb.contain img { object-fit: contain; padding: 26px; transform: none; }
.item .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px;
}
.item h3 { font-size: 16.5px; }
.item p { color: var(--muted); font-size: 13px; }
.item .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.price { font-size: 16px; font-weight: 560; letter-spacing: -.01em; }
.buy {
  font-size: 13px; color: var(--accent); border: 1px solid rgba(76,141,255,.35);
  border-radius: 999px; padding: 6px 13px; background: var(--accent-soft);
}
.buy:hover { background: rgba(76,141,255,.24); }
.result-copy { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.placeholder-note {
  border: 1px dashed rgba(76,141,255,.35); background: rgba(76,141,255,.06);
  color: #B9CCEA; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 13px;
  margin-bottom: 26px;
}

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  position: relative;
}
.step .n {
  font-size: 12px; color: var(--accent); letter-spacing: .12em; margin-bottom: 16px;
  font-weight: 600;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- gallery */
.builds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.build {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.build .shot {
  aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
  background: linear-gradient(150deg, #0E1626, #080D16);
  border-bottom: 1px solid var(--line);
}
.build .shot img { width: 100%; height: 100%; object-fit: cover; }
.build .b-body { padding: 22px 22px 24px; }
.build h3 { font-size: 18px; margin: 10px 0 8px; }
.build p { color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------- quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.quote p { font-size: 15px; line-height: 1.6; }
.quote .who { margin-top: 18px; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.detail-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-row .d-label { width: 96px; color: var(--muted); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; padding-top: 3px; }
.detail-row .d-value { font-size: 15.5px; }
.form-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 14.5px; outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(76,141,255,.55); background: rgba(76,141,255,.06);
}
.form-note { color: var(--muted-2); font-size: 12.5px; margin-top: 12px; }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  border: 1px solid var(--line); border-radius: 26px; padding: clamp(34px, 5vw, 60px);
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(76,141,255,.22), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { max-width: 18ch; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px; font-weight: 600; }
.footer a { display: block; color: #C3CCDA; font-size: 14px; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .brandline { color: var(--muted); font-size: 13.5px; margin-top: 14px; max-width: 30ch; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 12.5px;
}

/* ---------------------------------------------------------------- misc */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,.03);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #35D07F; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat { border-top: 1px solid var(--line); padding-top: 14px; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .veh-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 36px, var(--shell)); }
  .nav-links, .nav-cta { display: none; }
  .menu { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 14px 18px 20px; background: rgba(6,9,16,.97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.05); }
  .home-hero { min-height: auto; }
  .hero-content { padding: 64px 0 72px; }
  .trust { margin-top: -28px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .veh-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: 1fr; }
  .cat-grid, .quote-grid, .builds, .steps { grid-template-columns: 1fr; }
  .build .shot { aspect-ratio: 4 / 3; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .filters h3 { width: 100%; }
  .filter-btn { width: auto; margin: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { border-radius: 20px; }
}

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