:root {
  --navy: #061d42;
  --deep: #002b63;
  --deep-2: #001f4b;
  --blue: #003e99;
  --muted: #4c5a6d;
  --line: #d7dfeb;
  --soft: #f6f8fb;
  --white: #ffffff;
  --container: 804px;
  --wide: 806px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Montserrat, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

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

.hero .container,
.about .container {
  width: min(calc(100% - 72px), 792px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 84px;
  background: linear-gradient(90deg, #fbfdff 0%, #f8fbff 54%, #edf4fb 100%);
  position: relative;
  z-index: 4;
}

.header-inner {
  width: min(calc(100% - 52px), var(--wide));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 263px;
  height: 45px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: var(--navy);
}

.hero {
  min-height: 410px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .99) 44%, rgba(255, 255, 255, .48) 53%, rgba(255, 255, 255, .08) 66%, rgba(255, 255, 255, 0) 100%),
    url("../assets/hero-photo.png") center top / cover no-repeat;
}

.hero-inner {
  min-height: 410px;
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  width: 430px;
  padding-top: 37px;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow span {
  width: 35px;
  height: 2px;
  background: var(--blue);
  flex: 0 0 35px;
}

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

.hero h1 {
  margin: 17px 0 0;
  color: var(--navy);
  font-size: 41px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-text {
  width: 323px;
  margin: 18px 0 0;
  color: #30405a;
  font-size: 13px;
  line-height: 1.72;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
}

.btn {
  width: 152px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
}

.btn-secondary {
  background: rgba(255, 255, 255, .58);
}

.btn span,
.quote-btn span {
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  margin-top: -1px;
}

.benefits {
  height: 132px;
  background: linear-gradient(90deg, #00265a 0%, #012c66 46%, #001f4d 100%);
  color: var(--white);
}

.benefits-grid {
  height: 132px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.benefit-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px 0 0;
  position: relative;
}

.benefit-card + .benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: rgba(255, 255, 255, .23);
}

.benefit-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.benefit-icon,
.contact-list svg,
.quote-card svg,
.stats svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h2 {
  margin: 0;
  color: var(--white);
  font-size: 11px;
  line-height: 1.36;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-card p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 8px;
  line-height: 1.55;
}

.about {
  height: 360px;
  background: var(--white);
}

.about-grid {
  height: 360px;
  display: grid;
  grid-template-columns: 310px 423px;
  gap: 36px;
  align-items: start;
  padding-top: 36px;
}

.about-copy h2 {
  margin: 22px 0 18px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.about-copy > p:not(.eyebrow) {
  width: 304px;
  margin: 0;
  color: #1f2f49;
  font-size: 10px;
  line-height: 1.76;
}

.stats {
  margin-top: 30px;
  display: flex;
  gap: 25px;
}

.stats article {
  width: 78px;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 8px;
  align-items: center;
}

.stats svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
  grid-row: span 2;
}

.stats strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.stats span {
  display: block;
  margin-top: 7px;
  color: var(--navy);
  font-size: 7px;
  line-height: 1.6;
  font-weight: 800;
  text-transform: uppercase;
}

.about-media {
  display: grid;
  grid-template-columns: 229px 185px;
  grid-template-rows: 119px 159px;
  gap: 9px;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-engine {
  grid-row: 1 / span 2;
}

.products {
  height: 409px;
  background: linear-gradient(180deg, #f7f9fc 0%, #f5f7fa 100%);
  padding-top: 21px;
}

.products .container {
  width: min(calc(100% - 62px), 775px);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 11px 0 18px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.product-card {
  height: 321px;
  min-width: 0;
  background: var(--white);
  padding: 24px 22px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.round-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--white);
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}

.round-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-title h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.product-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 14px;
  color: #132641;
  font-size: 10px;
  line-height: 1.72;
}

.product-card li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.3;
}

.product-card img {
  margin-top: auto;
  align-self: center;
  object-fit: contain;
}

.parts-img {
  width: 219px;
}

.paint-img {
  width: 202px;
}

.chem-img {
  width: 219px;
}

.brands {
  height: 87px;
  background: var(--white);
  padding-top: 12px;
}

.brand-carousel {
  width: 786px;
  height: 29px;
  margin: 16px auto 0;
  overflow: hidden;
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  height: 29px;
  transition: transform .58s cubic-bezier(.65, 0, .25, 1);
  will-change: transform;
}

.brand-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 29px;
}

.brand-logo img {
  width: auto;
  max-width: none;
  max-height: 29px;
  object-fit: contain;
}

.brand-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 12px;
}

.brand-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #d5d9df;
  cursor: pointer;
}

.brand-dots .active {
  background: var(--blue);
}

.brand-dots button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.why {
  height: 166px;
  position: relative;
  background: linear-gradient(90deg, #00265a 0%, #012c66 46%, #001f4d 100%);
  color: var(--white);
}

.why-label {
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  color: var(--white);
}

.why-label span {
  background: rgba(255, 255, 255, .82);
}

.why-grid {
  height: 166px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 28px;
}

.why .benefit-card {
  align-items: center;
  flex-direction: row;
  gap: 11px;
  justify-content: flex-start;
  padding: 28px 14px 0 0;
}

.why .benefit-card + .benefit-card::before {
  top: 51px;
  bottom: 27px;
}

.why .benefit-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.why .benefit-card h2 {
  font-size: 11px;
  line-height: 1.36;
  white-space: nowrap;
}

.why .benefit-card p {
  margin-top: 9px;
  font-size: 8px;
  line-height: 1.55;
}

.contact {
  height: 139px;
  background: var(--white);
}

.contact-grid {
  height: 139px;
  display: grid;
  grid-template-columns: 270px 215px 231px;
  gap: 31px;
  align-items: start;
  padding-top: 20px;
}

.contact-intro h2 {
  margin: 19px 0 8px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 800;
}

.contact-intro p:not(.eyebrow) {
  width: 271px;
  margin: 0;
  color: #2e3c53;
  font-size: 9px;
  line-height: 1.75;
}

.contact-list {
  margin: 0;
  padding-top: 2px;
  font-style: normal;
  display: grid;
  gap: 10px;
}

.contact-list a,
.contact-list > span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: 0 0 18px;
}

.contact-list span span,
.contact-list a span {
  color: #132641;
  font-size: 8px;
  line-height: 1.35;
}

.contact-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-card {
  height: 113px;
  padding: 15px 20px;
  color: var(--white);
  background: linear-gradient(135deg, #0148a8 0%, #00388f 100%);
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 10px;
}

.quote-card > svg {
  width: 27px;
  height: 27px;
  color: var(--white);
}

.quote-card h2 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-card p {
  margin: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 8px;
  line-height: 1.65;
}

.quote-btn {
  width: 109px;
  height: 25px;
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--blue);
  background: var(--white);
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  height: 34px;
  background: #eef1f5;
}

.footer-inner {
  width: min(calc(100% - 60px), 804px);
  height: 34px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 145px 145px 245px 1fr;
  align-items: center;
  gap: 15px;
  color: #536071;
  font-size: 6px;
  line-height: 1.35;
}

.footer-inner img {
  width: 123px;
  height: auto;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  text-align: right;
}

.footer-links a {
  display: inline-block;
  margin-left: 14px;
  color: #536071;
}

@media (max-width: 760px) {
  .container,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header,
  .header-inner {
    height: 76px;
  }

  .brand img {
    width: 205px;
    height: auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 31, 75, .16);
    font-size: 11px;
  }

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

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

  .main-nav a.active::after {
    display: none;
  }

  .hero,
  .hero-inner,
  .benefits,
  .benefits-grid,
  .about,
  .about-grid,
  .products,
  .brands,
  .contact,
  .contact-grid,
  .site-footer,
  .footer-inner {
    height: auto;
    min-height: 0;
  }

  .hero {
    padding: 38px 0 46px;
    background-position: 58% top;
  }

  .hero-copy,
  .hero-text {
    width: 100%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .benefits-grid,
  .about-grid,
  .product-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    padding: 18px 0;
  }

  .benefit-card {
    padding: 16px 0;
  }

  .benefit-card + .benefit-card::before {
    top: 0;
    bottom: auto;
    right: 0;
    width: auto;
    height: 1px;
  }

  .about {
    padding: 36px 0;
  }

  .about-grid {
    padding-top: 0;
    gap: 28px;
  }

  .about-copy > p:not(.eyebrow),
  .contact-intro p:not(.eyebrow) {
    width: 100%;
  }

  .stats {
    flex-wrap: wrap;
  }

  .about-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .about-engine {
    grid-column: 1 / -1;
  }

  .products {
    padding: 28px 0;
  }

  .product-card {
    height: auto;
    min-height: 310px;
  }

  .brands {
    padding: 18px 0;
  }

  .brand-carousel {
    width: 100%;
  }

  .brand-track {
    gap: 30px;
  }

  .why {
    height: auto;
    padding: 32px 0 20px;
    background: linear-gradient(135deg, #00285f 0%, #001c45 100%);
  }

  .why-label {
    position: static;
    margin-bottom: 18px;
  }

  .why-grid {
    position: static;
    width: min(calc(100% - 32px), var(--container));
    height: auto;
    margin: 0 auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    color: var(--white);
    padding-top: 0;
  }

  .why .benefit-card + .benefit-card::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .why .benefit-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0;
  }

  .why .benefit-card h2 {
    white-space: normal;
  }

  .contact {
    padding: 28px 0;
  }

  .contact-grid {
    padding-top: 0;
  }

  .quote-card {
    width: 100%;
    height: auto;
  }

  .site-footer {
    padding: 16px 0;
  }

  .footer-inner {
    gap: 8px;
    font-size: 10px;
  }

  .footer-links {
    text-align: left;
  }

  .footer-links a {
    margin: 0 14px 0 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 33px;
  }

  .btn {
    width: 100%;
  }

  .stats article {
    width: calc(50% - 13px);
  }
}
