:root {
  --steel-900: #0e1216;
  --steel-800: #161b22;
  --steel-700: #1f2630;
  --steel-600: #2a323d;
  --steel-500: #3a4452;
  --accent: #d4d8de;
  --accent-dark: #9098a0;
  --accent-glow: rgba(212, 216, 222, 0.22);
  --text: #f1f3f5;
  --muted: #9aa3ad;
  --border: #2a323d;
  --max-width: 1380px;
  --radius: 4px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--steel-900);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Roboto Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 18, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 240px !important;
  max-width: none !important;
  height: auto;
  max-height: 75px;
  display: block;
}

.site-footer .brand-logo { width: 100% !important; max-width: 220px !important; max-height: 65px; }

@media (max-width: 1100px) {
  .brand-logo { width: 200px !important; max-height: 65px; }
}

@media (max-width: 860px) {
  .brand-logo { width: 170px !important; max-height: 55px; }
}

@media (max-width: 480px) {
  .brand-logo { width: 130px !important; max-height: 45px; }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  padding: 0.55rem 0.55rem;
  border-radius: var(--radius);
  position: relative;
}

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

.nav a.active {
  color: var(--accent);
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--accent);
}

.nav .btn-cta {
  margin-left: 0.6rem;
}

/* ---------- Nav dropdown (Stock categories) ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-has-dropdown > a {
  white-space: nowrap;
}

.nav-caret {
  display: inline-block;
  font-size: 0.7em;
  margin-left: 0.25em;
  transform: translateY(-1px);
  opacity: 0.75;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--steel-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown a {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0e1216;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #0e1216;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--steel-500);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-cta { background: var(--accent); color: #0e1216; padding: 0.55rem 0.85rem; border-radius: var(--radius); font-size: 0.82rem; }
.btn-cta:hover { background: var(--accent-dark); color: #0e1216; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(14,18,22,0.85) 0%, rgba(14,18,22,0.55) 60%, rgba(14,18,22,0.95) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 25% 30%, var(--steel-700), var(--steel-900) 70%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px) brightness(0.85) saturate(1.08) contrast(1.05);
  transform: scale(1.06);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(14,18,22,0.45) 0%, rgba(14,18,22,0.15) 55%, rgba(14,18,22,0.65) 100%),
    radial-gradient(circle at 70% 40%, transparent 0%, rgba(14,18,22,0.35) 75%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 75%, var(--steel-900));
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 18px, #0e1216 18px 36px);
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 4;
  padding: 5rem 0 6rem;
  max-width: 760px;
}

/* ---------- Section with video background ---------- */
.bg-video-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bg-video-section .section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(2px) brightness(0.85) saturate(1.08) contrast(1.05);
  transform: scale(1.06);
  pointer-events: none;
}

.bg-video-section .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(14,18,22,0.45) 0%, rgba(14,18,22,0.15) 55%, rgba(14,18,22,0.65) 100%),
    radial-gradient(circle at 70% 40%, transparent 0%, rgba(14,18,22,0.35) 75%);
}

.bg-video-section > .container {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.7rem;
  margin-bottom: 1rem;
}

.hero h1 strong { color: var(--accent); font-weight: 600; }

.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- Page header (non-home) ---------- */
.page-header {
  background:
    linear-gradient(180deg, var(--steel-800), var(--steel-900)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 20px);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 14px, #0e1216 14px 28px);
  opacity: 0.85;
}

.page-header .eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.page-header p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 0;
}

/* ---------- Sections ---------- */
section { padding: 4rem 0; }

.section-head {
  margin-bottom: 2.5rem;
  max-width: 760px;
}

.section-head .eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  display: block;
}

.section-head p { color: var(--muted); }

.alt-bg { background: var(--steel-800); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Capability grid ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before { opacity: 1; }

.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--steel-700);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

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

/* ---------- Product cards ---------- */
.product-card {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card .thumb {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--steel-700), var(--steel-900)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 8px, transparent 8px 16px);
  background-blend-mode: overlay;
  display: grid;
  place-items: center;
  color: var(--steel-500);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card .thumb::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.8;
  z-index: 2;
}

.product-card .thumb video,
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.product-card .thumb img {
  animation: thumb-pan 14s ease-in-out infinite alternate;
  transform-origin: center 50%;
  object-position: center 50%;
  will-change: transform, opacity;
  filter: brightness(0.92) contrast(1.08) saturate(1.06);
}

/* Multi-photo fade-cycle: stack images, only the .is-active one is visible */
.product-card .thumb[data-photos] img {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.product-card .thumb[data-photos] img.is-active {
  opacity: 1;
}

@keyframes thumb-pan {
  0%   { transform: scale(1.06) translate3d(-2%, 0, 0); }
  50%  { transform: scale(1.10) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(2%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .product-card .thumb img { animation: none; transform: scale(1.08); }
}

.product-card .body { padding: 1.4rem; }

.product-card h3 { color: #fff; }

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card ul li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.product-card ul li:last-child { border-bottom: 0; }

.product-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85rem;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- Stock cards ---------- */
.stock-status {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 3;
  background: var(--accent);
  color: #0e1216;
  padding: 0.3rem 0.7rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.stock-status.is-sold { background: #444; color: #aaa; }
.stock-status.is-reserved { background: #c2a14a; color: #1a1a1a; }
.stock-status.is-build { background: var(--steel-700); color: var(--text); border: 1px solid var(--accent); }

.stock-card .body {
  display: flex;
  flex-direction: column;
}

.stock-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.stock-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin: 0.9rem 0 0;
  line-height: 1.1;
}

.stock-price small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 0.3rem;
}

.stock-cta { margin-top: 1rem; }
.stock-cta .btn { width: 100%; text-align: center; }

/* ---------- Stock detail page ---------- */
.back-link {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.back-link:hover { color: var(--accent); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-image {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--steel-700), var(--steel-900)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 8px, transparent 8px 16px);
  background-blend-mode: overlay;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-image.is-placeholder {
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  color: var(--steel-500);
  font-size: 0.9rem;
  text-align: center;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(14, 18, 22, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  font-family: 'Oswald', sans-serif;
  padding: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.gallery-prev { left: 0.7rem; }
.gallery-next { right: 0.7rem; }

.gallery-prev:hover,
.gallery-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e1216;
}

.gallery-count {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  background: rgba(14, 18, 22, 0.78);
  color: var(--text);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .gallery-prev, .gallery-next { width: 38px; height: 38px; font-size: 1.4rem; }
}

.detail-info h3 {
  margin: 1.4rem 0 0.6rem;
  color: #fff;
}

.detail-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-specs li {
  padding: 0.5rem 0 0.5rem 1.2rem;
  position: relative;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.detail-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

.detail-form { align-self: start; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--steel-800);
  padding: 1.6rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(90deg, rgba(212,216,222,0.06), transparent),
    var(--steel-800);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 2.2rem;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.cta-banner h2 { margin: 0; color: #fff; }
.cta-banner p { margin: 0.3rem 0 0; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Stock listing — force 3 columns on desktop, mirror gallery breakpoints */
#stock-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  #stock-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  #stock-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--steel-700), var(--steel-900)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Stacked gallery thumbs cross-fade between an item's photos. */
.gallery-item-img {
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.gallery-item-img.is-active,
.gallery-item-img:only-of-type {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item-img { transition: none; }
}

.gallery-item .tag {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  background: var(--accent);
  color: #0e1216;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-family: 'Oswald', sans-serif;
  z-index: 2;
}

.gallery-item-title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 18, 22, 0.85) 70%);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: none;
  text-align: left;
  z-index: 1;
}

/* When the card has no image, show the title centred over the gradient */
.gallery-item:not(:has(img)) .gallery-item-title {
  position: static;
  background: none;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  padding: 0;
}

/* ---------- Gallery detail aside ---------- */
.aside-card {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  position: sticky;
  top: 6rem;
}

.aside-card h3 {
  margin: 0 0 0.6rem;
  color: #fff;
}

.aside-card p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: 0.94rem;
}

.aside-card .btn { width: 100%; text-align: center; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-filters button {
  background: transparent;
  border: 1px solid var(--steel-500);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.gallery-filters button:hover { border-color: var(--accent); color: var(--accent); }

.gallery-filters button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0e1216;
}

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.6rem 1.5rem;
  margin: 0;
}

.contact-info dt {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.85rem;
}

.contact-info dd { margin: 0; color: var(--text); }

.form-grid {
  display: grid;
  gap: 1rem;
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.8rem;
  border-radius: var(--radius);
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  background: var(--steel-900);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-grid textarea { min-height: 140px; resize: vertical; }

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-msg {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  display: none;
}
.form-msg.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0d11;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 14px, #0a0d11 14px 28px);
  opacity: 0.85;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 1.25rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-inner h4 {
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.footer-inner p, .footer-inner li { color: var(--muted); font-size: 0.92rem; }

.footer-inner ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }

.footer-inner a { color: var(--text); }
.footer-inner a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Stock detail: spec groups, inclusions, options ---------- */
.spec-groups {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 1.6rem;
}

.spec-group h4 {
  margin: 0 0 0.55rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 0.65rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.spec-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  width: 38%;
  white-space: nowrap;
}

.spec-table td {
  color: var(--text);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.detail-blocks {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.detail-block h3 {
  margin: 0 0 0.6rem;
  color: #fff;
}

.check-list,
.plus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  display: grid;
  gap: 0.4rem;
}

.check-list li,
.plus-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plus-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.muted-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}

/* ---------- Stock listing: inclusions & FAQ ---------- */
.stock-info-section {
  padding-top: 1rem;
}

.inclusion-grid { gap: 1.25rem; }

.inclusion-card {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
}

.inclusion-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.inclusion-card h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.1rem;
}

.inclusion-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.faq-item {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: border-color 0.15s;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 1.6rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  font-family: 'Oswald', sans-serif;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 45%; }
}

/* ---------- Social icons (header) ---------- */
.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.nav-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-social:hover {
  color: #0e1216;
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Header phone link (desktop) ---------- */
.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  margin-left: 0.3rem;
}

.nav-call:hover { color: var(--accent); }

.nav-call::before {
  content: '';
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.4.6 3.66.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.21 2.5.6 3.66a1 1 0 0 1-.24 1.05l-2.2 2.08z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.4.6 3.66.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.21 2.5.6 3.66a1 1 0 0 1-.24 1.05l-2.2 2.08z'/></svg>") no-repeat center / contain;
}

/* ---------- Mobile action bar (sticky bottom) ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(14, 18, 22, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
}

.mobile-action-bar a {
  flex: 1;
  text-align: center;
  padding: 0.9rem 0.5rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
}

.mobile-action-bar .ma-call {
  background: var(--steel-700);
  color: var(--text);
  border: 1px solid var(--border);
}

.mobile-action-bar .ma-call:active {
  background: var(--steel-800);
}

.mobile-action-bar .ma-quote {
  background: var(--accent);
  color: #0e1216;
  font-weight: 500;
}

.mobile-action-bar .ma-quote:active {
  background: var(--accent-dark);
}

.mobile-action-bar .ma-call::before {
  content: '';
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.4.6 3.66.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.21 2.5.6 3.66a1 1 0 0 1-.24 1.05l-2.2 2.08z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24c1.16.39 2.4.6 3.66.6a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A18 18 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.27.21 2.5.6 3.66a1 1 0 0 1-.24 1.05l-2.2 2.08z'/></svg>") no-repeat center / contain;
}

/* ---------- Add-on trailer tabs (compact, near price on detail page) ---------- */
.addon-tabs {
  margin: 1.4rem 0 1.6rem;
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.addon-tabs h4 {
  margin: 0 0 0.85rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 0.65rem;
}

.addon-tabs-list {
  display: flex;
  flex-direction: column;
}

.addon-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.6rem;
  border: 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-radius: 4px;
}

.addon-tab:last-child { border-bottom: 0; }

.addon-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.addon-tab.is-selected {
  background: rgba(212, 216, 222, 0.08);
  color: var(--accent);
  border-bottom-color: transparent;
}

.addon-tab.is-selected .addon-tab-price {
  color: var(--accent);
}

.addon-tab-titleblock {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.addon-tab-title {
  font-size: 0.92rem;
  line-height: 1.35;
}

.addon-tab-payload {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.addon-tab.is-selected .addon-tab-payload {
  color: rgba(255, 255, 255, 0.7);
}

.addon-tab-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 500;
}

.addon-tabs-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Selected trailer summary */
.addon-selected {
  background: linear-gradient(135deg, rgba(212, 216, 222, 0.10), rgba(212, 216, 222, 0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 1rem;
}

.addon-selected-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.addon-selected-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.addon-selected-payload {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.1rem 0 0.6rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
}

.addon-selected-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.addon-selected-prices {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.addon-selected-prices > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--muted);
}

.addon-selected-prices > div span {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.addon-selected-prices > div strong {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}

.addon-selected-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 0.55rem;
  margin-top: 0.25rem;
}

.addon-selected-total span {
  color: var(--accent) !important;
  font-size: 0.78rem !important;
}

.addon-selected-total strong {
  color: #fff !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.02em !important;
}

.addon-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  background: transparent;
  border: 1px solid var(--steel-500);
  color: var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.addon-remove:hover {
  border-color: #ff8a8a;
  color: #ff8a8a;
  background: rgba(255, 138, 138, 0.06);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 70px; }
  .nav-call { display: none; }    /* hidden in collapsed nav; bottom bar replaces it */
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--steel-800);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--border); }
  .nav a.active::after { display: none; }
  .nav .btn-cta { margin: 0.6rem 0 0; text-align: center; }

  /* Stock dropdown collapses inline on mobile (no hover state on touch) */
  .nav-item { display: block; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }
  .nav-dropdown a {
    font-size: 0.78rem;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
