.topbar {
  background: var(--charcoal);
  color: #d8d8d8;
  min-height: var(--topbar-h);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.topbar a:hover {
  color: var(--white);
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header {
  position: relative;
  background: #f3f3f3;
  border-bottom: 1px solid #e7e7e7;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  min-height: var(--header-h);
}

.brand-tab {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 0.7rem 1.4rem 0.7rem 0.2rem;
  margin-right: 1.5rem;
  box-shadow: 8px 0 18px rgba(0, 0, 0, 0.04);
}

.brand-tab img {
  height: 52px;
  width: auto;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.2rem;
}

.menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #333;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.social {
  display: flex;
  gap: 0.35rem;
  margin-left: 0.6rem;
}

.social a {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid #d5d5d5;
  color: var(--ink);
}

.social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.4));
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2.5rem), 720px);
  margin-left: max(1.25rem, calc((100% - var(--wide)) / 2 + 1.25rem));
  padding: 5.5rem 0 5.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.7rem);
  max-width: 12ch;
  margin: 0.85rem 0 1.1rem;
}

.hero p {
  max-width: 38ch;
  color: #e8e8e8;
  font-size: 1.12rem;
  margin-bottom: 1.6rem;
}

.hero-credit {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfcfcf;
}

.hero-controls {
  position: absolute;
  right: max(1.25rem, calc((100% - var(--wide)) / 2 + 1.25rem));
  bottom: 1.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-btn {
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
}

.hero-btn:hover {
  background: var(--red);
}

.hero-index {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 4px;
  z-index: 3;
}

.hero-progress button {
  flex: 1;
  height: 4px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-progress button.is-active {
  background: var(--red);
}

.cat-rail {
  background: var(--ink);
  color: var(--white);
}

.cat-rail ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
}

.cat-rail a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.3rem 1rem 1.35rem 1.2rem;
  border-left: 3px solid transparent;
  min-height: 5.5rem;
}

.cat-rail a:hover,
.cat-rail a.is-active {
  border-left-color: var(--red);
  background: #111;
}

.cat-rail strong {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}

.cat-rail span {
  color: #b5b5b5;
  font-size: 0.88rem;
}

.section {
  padding: var(--space-8) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-bottom: 1.8rem;
}

.filters button {
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  border-bottom: 2px solid transparent;
}

.filters button[aria-pressed="true"],
.filters button:hover {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 420px;
  margin-bottom: 1.6rem;
  background: var(--charcoal);
  color: var(--white);
}

.featured-visual {
  position: relative;
  min-height: 280px;
}

.featured-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.featured-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(28, 28, 28, 0.55));
}

.featured-body {
  padding: 2.4rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.featured-body h3 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 0.4rem 0 0.5rem;
}

.hp {
  color: var(--red-bright);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-list {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.spec-list span {
  color: #c0c0c0;
}

.spec-ink li {
  border-bottom-color: var(--line);
}

.spec-ink span {
  color: var(--muted);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table a {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.4fr auto;
  gap: 1rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.product-table a:hover {
  color: var(--red);
}

.product-table strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-table em {
  font-style: normal;
  color: var(--red);
  font-weight: 700;
}

.product-table small {
  color: var(--muted);
}

.company {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
}

.company img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.company-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.company-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 16ch;
  margin: 0.6rem 0 1rem;
}

.company-copy p {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.6rem;
}

.branches {
  background: var(--mist);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.branch-card {
  background: var(--white);
}

.branch-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.branch-card div {
  padding: 1rem 1rem 1.15rem;
  text-align: center;
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.4rem;
}

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

.branch-card a.phone {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--red-bright);
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--charcoal);
  color: var(--white);
}

.contact-intro {
  padding: clamp(2rem, 5vw, 4rem);
  border-right: 3px solid var(--red);
}

.contact-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0.5rem 0 1rem;
}

.contact-form {
  padding: clamp(2rem, 5vw, 3.2rem);
  background: #161616;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #3a3a3a;
  background: #101010;
  color: var(--white);
  padding: 0.8rem 0.85rem;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #24110f;
  border-left: 3px solid var(--red);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.news-empty {
  padding: 3rem 0 1rem;
  max-width: 42rem;
}

.site-footer {
  background: var(--black);
  color: #cfcfcf;
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-footer img {
  height: 48px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: flex-end;
}

.site-footer a:hover {
  color: var(--white);
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 0 2.6rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-top: 0.5rem;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 0.8rem;
}

.page-hero .note {
  color: #d0d0d0;
}

.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--paper);
}

.product-hero-panel {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-hero-panel h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.models {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.models th,
.models td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.models th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 980px) {
  .cat-rail ul,
  .featured,
  .company,
  .contact-band,
  .product-hero,
  .branch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-table a {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    align-self: center;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-row {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    padding: 0.6rem 1.2rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-row.is-open {
    display: flex;
  }

  .menu {
    flex-direction: column;
  }

  .topbar {
    font-size: 0.65rem;
  }

  .brand-tab img {
    height: 40px;
  }

  .topbar-links {
    display: none;
  }

  .hero-copy {
    padding: 3.2rem 0 4.8rem;
  }

  .cat-rail ul {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
  }

  .cat-rail li {
    flex: 0 0 72%;
  }

  .featured,
  .company,
  .contact-band,
  .product-hero,
  .branch-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-table a {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .contact-intro {
    border-right: 0;
    border-bottom: 3px solid var(--red);
  }
}
