﻿:root {
  --ink: #050607;
  --ink-2: #111418;
  --muted: #b7bec7;
  --line: #2a3038;
  --paper: #050607;
  --white: #ffffff;
  --silver: #d8dde3;
  --silver-bright: #f2f5f8;
  --blue: #1198e8;
  --blue-dark: #075eaf;
  --red: #1198e8;
  --gold: #d8dde3;
  --green: #198754;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--silver);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

p {
  margin: 0;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: #000000;
  color: var(--silver);
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 9px 0;
}

.topbar-inner span:last-child {
  text-align: right;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 221, 227, 0.14);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 104px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: max-content;
}

.brand-logo {
  width: 104px;
  height: 82px;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: block;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-prime {
  color: var(--silver-bright);
}

.brand-co {
  color: var(--blue);
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--silver);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav a {
  border-radius: 6px;
  padding: 10px 12px;
}

.nav a:hover,
.nav a.active {
  background: rgba(23, 104, 196, 0.1);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink-2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--silver);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 152, 232, 0.24);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.button.dark-text {
  border-color: var(--line);
  color: var(--silver-bright);
}

.hero,
.page-hero {
  color: var(--silver-bright);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.38) 100%),
    url("../assets/images/primeco-hero-cars.jpg") center / cover;
}

.home-hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
}

.page-hero {
  padding: 96px 0;
}

.about-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.36) 100%),
    url("../assets/images/about-hero-16.png?v=1");
}

.products-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.36) 100%),
    url("../assets/images/products-hero-19.png?v=1");
}

.brands-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.36) 100%),
    url("../assets/images/brands-hero-20.png?v=1");
}

.quote-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.36) 100%),
    url("https://images.unsplash.com/photo-1597766353939-8f0e4a03c58f?auto=format&fit=crop&w=1800&q=85");
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.36) 100%),
    url("../assets/images/contact-hero-primeco.png?v=1");
}

.company-profile-hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.46) 100%),
    url("../assets/images/company-profile-warehouse.png?v=1");
  background-position: center;
}

.profile-hero-copy {
  text-align: center;
}

.profile-kicker {
  display: block;
  color: var(--silver-bright);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-kicker span,
.profile-hero-copy h1 span {
  color: var(--blue);
}

.profile-hero-copy h1 {
  margin-inline: auto;
}

.profile-hero-copy p {
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  padding: 88px 0;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-kicker {
  display: block;
  color: var(--blue);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-arrow {
  width: 30px;
  height: 30px;
  margin-top: 12px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  transform: rotate(45deg);
}

.about-hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.about-kicker {
  display: block;
  color: var(--blue);
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-hero-arrow {
  width: 30px;
  height: 30px;
  margin-top: 12px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  transform: rotate(45deg);
}

.about-hero-copy h1,
.about-hero-copy p {
  margin-inline: auto;
}

.about-hero-copy p span {
  color: var(--blue);
  font-weight: 900;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 18px 0;
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.hero p,
.page-hero p {
  max-width: 720px;
  color: var(--silver);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-category-line {
  margin: 0 0 12px;
  color: var(--silver-bright);
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.about-page .eyebrow {
  color: var(--blue);
}

body.products-page .eyebrow,
body.brands-page .eyebrow {
  color: var(--blue);
}

body.products-page .products-hero {
  min-height: clamp(620px, 49vw, 900px);
  background-position: center bottom;
}

body.brands-page .brands-hero {
  min-height: clamp(740px, 57vw, 1080px);
  background-position: center, center top;
  background-size: cover, 100% auto;
  background-repeat: no-repeat, no-repeat;
}

body.products-page .products-hero .narrow,
body.brands-page .brands-hero .narrow {
  text-align: center;
}

body.products-page .products-hero .eyebrow,
body.brands-page .brands-hero .eyebrow {
  display: flex;
  justify-content: center;
  width: 100%;
  color: var(--blue);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

body.products-page .products-hero .eyebrow::before,
body.brands-page .brands-hero .eyebrow::before,
body.brands-page .brand-logo-section .eyebrow::before {
  display: none;
}

body.products-page .products-hero h1,
body.products-page .products-hero p,
body.brands-page .brands-hero h1,
body.brands-page .brands-hero p {
  margin-inline: auto;
}

body.brands-page .brand-logo-section .section-head {
  margin-inline: auto;
  text-align: center;
}

body.brands-page .brand-logo-section .eyebrow {
  display: flex;
  justify-content: center;
  width: 100%;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(100%, 980px);
  margin-inline: auto;
  border: 1px solid rgba(216, 221, 227, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 24, 0.7);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.hero-panel div {
  border-right: 1px solid rgba(216, 221, 227, 0.16);
  padding: 0 14px 0 0;
}

.hero-panel div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 4px;
  color: var(--silver-bright);
  font-size: 1rem;
}

.hero-panel span {
  color: var(--silver);
  font-size: 0.93rem;
}

body.home-page .hero-panel {
  justify-self: center;
  width: min(100%, 1060px);
  text-align: center;
}

body.home-page .hero-panel strong {
  color: var(--blue);
}

body.home-page .cta-band .eyebrow,
body.home-page .section-head .eyebrow,
body.home-page .split .eyebrow {
  color: var(--blue);
}
.section {
  padding: 88px 0;
}

.white {
  background: #080a0d;
}

.dark {
  background: #000000;
  color: var(--silver);
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.section-head {
  max-width: 870px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head.centered .eyebrow {
  justify-content: center;
}

.boxed-heading {
  display: grid;
  justify-items: center;
}

.boxed-heading .eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(17, 152, 232, 0.38);
  border-radius: 6px;
  background: #000000;
  color: var(--blue);
  padding: 10px 16px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
}

.boxed-heading .eyebrow::before {
  display: none;
}
.boxed-heading h2 {
  color: var(--blue);
  text-align: center;
}

.profile-showcase-section {
  background: #050607;
}

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

.profile-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  box-shadow: var(--shadow);
}

.profile-gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #000000;
}

.business-profile-heading {
  display: grid;
  justify-items: start;
}

.business-logo-cue {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 420px);
  margin-top: 28px;
}

.business-logo-cue img {
  width: min(100%, 320px);
  object-fit: contain;
}

.business-logo-cue span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.business-logo-cue span::after {
  content: "";
  width: 76px;
  height: 18px;
  background: linear-gradient(90deg, var(--blue), transparent);
  clip-path: polygon(0 36%, 72% 36%, 72% 0, 100% 50%, 72% 100%, 72% 64%, 0 64%);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.rich-copy {
  color: var(--silver);
  font-size: 1.03rem;
}

.rich-copy p + p,
.rich-copy p + .button,
.quote-help p {
  margin-top: 18px;
}

.rich-copy h2,
.quote-help h2 {
  color: var(--silver-bright);
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.09);
}

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

.feature-card h3,
.feature-card p {
  padding-inline: 18px;
  text-align: center;
}

.feature-card h3 {
  padding-top: 18px;
  color: var(--blue);
}

.feature-card p {
  padding-bottom: 20px;
  margin-top: 8px;
  color: var(--silver);
  font-size: 0.94rem;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.cta-band p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--silver);
}

.team-section {
  background: #050607;
}

.team-section .section-head {
  margin-inline: auto;
  text-align: center;
}

.team-section .section-head .eyebrow {
  justify-content: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1220px;
  margin-inline: auto;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.team-card-content {
  display: grid;
  justify-items: center;
  padding: 24px;
}

.team-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: clamp(1.5rem, 2.1vw, 2.1rem);
  line-height: 1.08;
}

.team-role {
  margin: 0 0 16px;
  color: var(--silver-bright);
  font-weight: 900;
}

.team-contact {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.team-contact a {
  color: var(--blue);
  font-weight: 900;
}

.team-card-content p:last-child {
  margin: 0;
  color: var(--silver);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-grid article,
.contact-card,
.quote-help,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  padding: 24px;
}

.value-grid article {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.value-grid strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.08rem;
}

.value-grid p,
.contact-card p {
  color: var(--silver);
}
.contact-address-card {
  display: grid;
  align-content: center;
}

.contact-person-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 190px;
  padding: 22px 18px;
}

.contact-person-card img,
.contact-avatar {
  width: 68px;
  height: 68px;
  border: 2px solid rgba(23, 104, 196, 0.55);
  border-radius: 999px;
  object-fit: cover;
  object-position: 34% 36%;
}

.contact-avatar {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  font-size: 1.25rem;
  font-weight: 900;
}

.contact-role {
  display: block;
  margin: -2px 0 10px;
  color: var(--silver-bright);
  font-size: 0.92rem;
  font-weight: 900;
}

.contact-person-card > div {
  min-width: 0;
}

.contact-person-card p {
  margin: 0;
  line-height: 1.62;
}

.contact-person-card a,
.team-contact a {
  overflow-wrap: anywhere;
}

.image-block {
  min-height: 430px;
  border-radius: 8px;
  background: center / cover;
  box-shadow: var(--shadow);
}

.image-block.workshop {
  background-image:
    linear-gradient(180deg, rgba(10, 50, 105, 0.04), rgba(10, 50, 105, 0.24)),
    url("../assets/images/about-workshop-15.png?v=1");
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--silver);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(25, 135, 84, 0.12);
}

.product-range-layout {
  display: grid;
  width: min(1500px, calc(100% - 40px));
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.product-range-content {
  min-width: 0;
}

.product-category-menu {
  position: sticky;
  top: 124px;
  border: 1px solid rgba(17, 152, 232, 0.28);
  border-radius: 8px;
  background: #050607;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-category-menu h2 {
  margin: 0;
  padding: 22px 24px;
  background: #000000;
  color: var(--blue);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.product-category-list {
  display: grid;
  max-height: 720px;
  overflow: auto;
}

.product-category-item {
  border-top: 1px solid rgba(216, 221, 227, 0.12);
}

.product-category-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 44px 14px 18px;
  color: var(--silver-bright);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  list-style: none;
  text-transform: uppercase;
}

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

.product-category-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1;
}

.product-category-item[open] summary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #ffffff;
}

.product-category-item[open] summary::after {
  content: "-";
  color: #ffffff;
}

.category-placeholder {
  padding: 14px 18px 18px;
  color: var(--silver);
  font-size: 0.88rem;
  background: rgba(17, 20, 24, 0.88);
}

@media (max-width: 980px) {
  .product-range-layout {
    grid-template-columns: 1fr;
  }

  .product-category-menu {
    position: static;
  }

  .product-category-list {
    max-height: none;
  }
}
.product-list {
  display: grid;
  gap: 18px;
}

.product-list article {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
}

.product-list img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.product-list div {
  padding: 28px 28px 28px 0;
}

.product-list h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.product-list p {
  color: var(--silver);
}

.product-list a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

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

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

.logo-card {
  display: grid;
  min-height: 118px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
  color: var(--silver);
  font-weight: 900;
  padding: 18px;
  text-align: center;
}

.logo-card.has-logo {
  background: var(--ink-2);
}

.logo-card img {
  max-width: 88%;
  max-height: 82px;
  object-fit: contain;
}


body.brands-page .logo-card {
  min-height: 150px;
  border-color: rgba(17, 152, 232, 0.32);
  background: #ffffff;
  padding: 24px;
}

body.brands-page .logo-card.has-logo {
  background: #ffffff;
}

body.brands-page .logo-card img {
  max-width: 92%;
  max-height: 98px;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 26px;
  align-items: start;
}

.quote-help a,
.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--silver);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--silver-bright);
  background: #050607;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 104, 196, 0.14);
}

.fine-print {
  color: var(--silver);
  font-size: 0.86rem;
}

.contact-layout {
  display: grid;
  width: min(1240px, calc(100% - 40px));
  grid-template-columns: minmax(190px, 0.88fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card.big {
  min-height: 160px;
}

.footer {
  background: #000000;
  color: var(--silver);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--silver-bright);
}

.error-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: var(--paper);
}

@media (max-width: 980px) {
  .topbar-inner {
    display: block;
  }

  .topbar-inner span:last-child {
    text-align: left;
  }

  .header-inner {
    min-height: 86px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #000000;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .quote-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 72px 0;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 221, 227, 0.16);
    padding: 0 0 14px;
  }

  .hero-panel div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .feature-grid.four,
  .value-grid,
  .logo-grid,
  .logo-grid.large,
  .contact-layout,
  .profile-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list article {
    grid-template-columns: 1fr;
  }

  .product-list div {
    padding: 24px;
  }

  .product-list img {
    min-height: 220px;
  }

  .business-profile-heading {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand-logo {
    width: 72px;
    height: 58px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .section,
  .page-hero {
    padding: 62px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.15rem, 14vw, 3.2rem);
  }

  .feature-grid.four,
  .value-grid,
  .logo-grid,
  .logo-grid.large,
  .contact-layout,
  .profile-gallery {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .image-block {
    min-height: 300px;
  }
}

/* Team responsive layout */
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.products-page .products-hero {
    min-height: 560px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-person-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}