:root {
  --orange: #fe5208;
  --orange-dark: #d9480f;
  --bg: #151515;
  --bg-deep: #0d0f12;
  --surface: #24262a;
  --surface-soft: #30333a;
  --text: #ffffff;
  --text-soft: #d6d8dc;
  --muted: #9ba2ad;
  --line: #42464f;
  --steel: #5bb7a7;
  --light: #f4f6f8;
  --ink: #161b22;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.5;
}

.longshot-target {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#longshot:target ~ .site-header {
  position: static;
}

#longshot:target ~ .floating-contact {
  display: none;
}

#longshot:target ~ main .hero {
  min-height: 760px;
}

#longshot:target ~ main .filter-panel {
  position: static;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--text);
  background: rgba(21, 21, 21, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 52px);
  color: var(--text-soft);
  background: var(--bg-deep);
  border-bottom: 1px solid #2a2e35;
  font-size: 13px;
}

.main-header {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 clamp(16px, 4vw, 52px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 246px;
  padding: 12px 22px 12px 0;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -52px;
  width: 310px;
  background: linear-gradient(112deg, var(--orange), var(--orange-dark) 58%, transparent 59%);
  z-index: -1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.15;
}

.brand small {
  color: #ffe6db;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.main-nav a:hover {
  color: var(--orange);
}

.main-nav a:hover::after {
  width: 86%;
}

.inquiry-btn,
.primary-action,
.secondary-action,
.text-link,
.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.inquiry-btn,
.primary-action,
.quote-link {
  color: var(--text);
  background: var(--orange);
  border: 1px solid var(--orange);
}

.inquiry-btn:hover,
.primary-action:hover,
.quote-link:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.secondary-action {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 112px);
  padding: clamp(54px, 8vw, 112px) clamp(16px, 4vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, 0.94) 0%, rgba(13, 15, 18, 0.72) 48%, rgba(13, 15, 18, 0.48) 100%),
    url("assets/catalog/21-jetour-dashing.jpg") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 870px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(29px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 span {
  color: var(--orange);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip div {
  display: grid;
  gap: 2px;
  min-height: 96px;
  padding: 22px clamp(16px, 4vw, 52px);
  background: var(--surface);
}

.metric-strip strong {
  color: var(--orange);
  font-size: 25px;
  line-height: 1.1;
}

.metric-strip span {
  color: var(--text-soft);
  font-size: 14px;
}

.section {
  padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 52px);
}

.section-title {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-title.align-left {
  margin-left: 0;
  text-align: left;
}

.section-title p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.section-title.align-left p {
  margin-left: 0;
}

.product-directory {
  background: var(--bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 36px rgba(254, 82, 8, 0.16);
  transform: translateY(-4px);
}

.category-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 900;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.brand-range,
.country-range {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.brand-range span,
.country-range span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--text-soft);
  background: #1c1f24;
  border: 1px solid #343943;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.brand-range span:nth-child(4n + 1),
.country-range span:nth-child(5n + 1) {
  color: var(--text);
  border-color: rgba(254, 82, 8, 0.5);
}

.product-showcase {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: var(--bg-deep);
}

.filter-panel,
.contact-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filter-panel {
  position: sticky;
  top: 118px;
}

.muted {
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: #1b1d21;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(254, 82, 8, 0.18);
}

option {
  color: var(--ink);
}

.product-list {
  min-width: 0;
}

.product-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.result-count {
  color: var(--steel);
  font-weight: 900;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.vehicle-card {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.vehicle-card:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #20242a;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-media img {
  transform: scale(1.05);
}

.vehicle-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.vehicle-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.vehicle-title {
  min-height: 54px;
}

.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vehicle-meta span {
  padding: 5px 8px;
  color: var(--text-soft);
  background: #1c1f24;
  border: 1px solid #343943;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.vehicle-specs {
  display: grid;
  gap: 5px;
  min-height: 86px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.quote-link {
  width: 100%;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 540px;
  background: var(--light);
  color: var(--ink);
}

.split-band.reversed {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-band.reversed .split-image {
  order: 2;
}

.split-image {
  position: relative;
  min-height: 420px;
  background: #dfe4ea;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: grid;
  align-content: center;
  padding: clamp(40px, 6vw, 84px);
}

.split-copy p,
.feature-list {
  color: #4e5865;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
  padding-left: 19px;
}

.text-link {
  justify-self: start;
  color: var(--orange);
  background: #fff;
  border: 1px solid #e2e6eb;
}

.market-section {
  padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 52px);
  background: var(--bg);
}

.market-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.market-card,
.process-grid article {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.market-card span,
.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--orange);
  background: #1c1f24;
  border: 1px solid #343943;
  border-radius: 8px;
  font-weight: 900;
}

.market-card span {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
}

.market-card p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.shipping-section {
  background: var(--bg-deep);
}

.shipping-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.shipping-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.shipping-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.shipping-feature,
.shipping-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shipping-feature {
  min-height: 580px;
}

.shipping-feature img,
.shipping-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shipping-feature figcaption,
.shipping-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  color: var(--text);
  background: rgba(13, 15, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.shipping-feature figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.shipping-feature strong {
  font-size: 18px;
}

.shipping-feature span {
  color: var(--text-soft);
}

.shipping-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.shipping-gallery figure {
  aspect-ratio: 4 / 3;
}

.shipping-gallery figure:last-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.shipping-gallery figcaption {
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 900;
}

.process-section {
  background: var(--bg-deep);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: center;
  padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.94), rgba(21, 21, 21, 0.8)),
    url("assets/catalog/13-audi-q3.jpg") center / cover no-repeat;
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p {
  color: var(--text-soft);
}

.contact-card h3 {
  margin-bottom: 0;
  font-size: 28px;
}

.contact-phone {
  margin-bottom: 0;
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(16px, 4vw, 52px);
  color: var(--text-soft);
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 64px;
  padding: 0 28px;
  color: var(--text);
  background: var(--steel);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(91, 183, 167, 0.34);
  font-size: 20px;
  font-weight: 900;
}

.no-results {
  grid-column: 1 / -1;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .category-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-showcase,
  .shipping-heading,
  .shipping-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .shipping-feature {
    min-height: 420px;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .top-bar,
  .main-header,
  .product-list-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand::before {
    width: 280px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .main-nav a::after {
    bottom: 3px;
  }

  .split-band,
  .split-band.reversed {
    grid-template-columns: 1fr;
  }

  .split-band.reversed .split-image {
    order: 0;
  }

  .market-grid,
  .shipping-gallery,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .shipping-gallery figure,
  .shipping-gallery figure:last-child {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 620px) {
  .top-bar {
    font-size: 12px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand::before {
    right: -16px;
    width: auto;
  }

  .inquiry-btn,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: 620px;
  }

  .category-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 280px;
  }

  .shipping-feature {
    min-height: 320px;
  }

  .shipping-feature img {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .shipping-feature figcaption {
    position: static;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }

  .floating-contact {
    display: none;
  }
}
