:root {
  --page-bg: #f2f0ea;
  --link-blue: #3b9ac6;
  --body: #686868;
  --footer: #242424;
  --footer-bottom: #202020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--body);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

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

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

.container {
  width: 980px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.toggle-corner {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: 31px;
  height: 31px;
  border: 0;
  background: #222;
  color: #eee;
  font-size: 13px;
  line-height: 31px;
  transform: rotate(45deg) translate(13px, -22px);
  transform-origin: center;
}

.top-bar {
  height: 23px;
  color: #111;
  font-size: 10px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 23px;
}

.top-contact a {
  color: #111;
}

.tiny-icon {
  display: inline-block;
  margin-right: 5px;
  color: #000;
  font-size: 10px;
}

.tiny-icon.mail {
  margin-left: 20px;
}

.top-social {
  display: flex;
  gap: 12px;
  color: #777;
  font-size: 11px;
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--page-bg);
}

.header-inner {
  position: relative;
  padding: 35px 0 22px;
  text-align: center;
}

.logo img {
  width: 470px;
  max-width: 78%;
}

.mobile-toggle {
  display: none;
  position: absolute;
  right: 8px;
  top: 30px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 16px;
  line-height: 22px;
}

.desktop-nav {
  background: var(--page-bg);
  border: 0;
  min-height: 38px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.nav-inner a {
  color: #2e3438;
  display: block;
  padding: 14px 8px 12px;
  font-size: 10px;
  line-height: 1;
}

.nav-inner a span {
  font-size: 9px;
  color: #8b8b8b;
  margin-left: 4px;
}

.nav-inner .search {
  font-size: 13px;
  padding-left: 13px;
  padding-right: 0;
}

.mobile-panel {
  display: none;
}

.hero-slider {
  position: relative;
  height: 408px;
  overflow: hidden;
  background: #ededed;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-b {
  opacity: 0;
  animation: slider-b 9s infinite;
}

.hero-slide-a {
  animation: slider-a 9s infinite;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-slide-b .hero-bg {
  filter: none;
}

.hero-bovag {
  position: absolute;
  left: 42px;
  top: 143px;
  width: 122px;
  height: 184px;
  object-fit: contain;
}

.hero-slider h1,
.hero-slider h2 {
  position: absolute;
  margin: 0;
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}

.hero-slider h1 {
  left: 210px;
  top: 147px;
  font-size: 35px;
}

.hero-slider h2 {
  left: 217px;
  top: 181px;
  font-size: 33px;
}

.hero-slide-b h2 {
  left: 75px;
  top: 45px;
  font-size: 38px;
}

.hero-button {
  position: absolute;
  left: 425px;
  top: 255px;
  min-width: 168px;
  padding: 11px 27px 12px;
  border-radius: 30px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  text-align: center;
}

.hero-slide-b .hero-button {
  left: 114px;
  top: 128px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
}

.hero-dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
}

.hero-dots span + span {
  border-color: transparent;
  background: rgba(255, 255, 255, .35);
}

@keyframes slider-a {
  0%, 48% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

@keyframes slider-b {
  0%, 48% { opacity: 0; }
  55%, 96% { opacity: 1; }
  100% { opacity: 0; }
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 38px;
  padding-top: 54px;
  padding-bottom: 50px;
  text-align: center;
}

.feature-card h3,
.service-card h3 {
  color: var(--link-blue);
  font-family: Roboto, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.35;
}

.feature-card h3 {
  color: #222;
  margin: 12px 0 7px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.55;
}

.feature-icon {
  height: 76px;
  color: #49aada;
  font-size: 38px;
  line-height: 76px;
}

.bovag-feature img {
  width: 56px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: space-between;
  row-gap: 51px;
  padding-bottom: 50px;
}

.first-grid {
  padding-bottom: 45px;
}

.service-card {
  min-height: 260px;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

.service-card img {
  width: 300px;
  height: 169px;
  object-fit: cover;
  margin-bottom: 8px;
}

.first-grid .service-card img {
  height: 150px;
}

.first-grid .service-card:first-child img {
  height: 191px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.service-card h4 {
  margin: 0 0 11px;
  color: #353535;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.service-card p {
  width: 83%;
  margin: 0 auto;
  color: #4ea9d1;
}

.text-only {
  padding-top: 171px;
}

.cta-banner {
  min-height: 171px;
  margin-bottom: 33px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding-top: 54px;
  position: relative;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .22);
}

.cta-banner h2,
.cta-banner p,
.cta-banner a {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin: 0;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.cta-banner p {
  margin: 4px 0 12px;
  font-size: 12px;
  line-height: 1.2;
}

.cta-banner a {
  display: inline-block;
  padding: 7px 14px 8px;
  background: #287aa7;
  color: #fff;
  border-radius: 2px;
  font-size: 10px;
}

.final-cta {
  margin-bottom: 0;
}

.site-footer {
  background: var(--footer);
  color: #777;
  padding: 46px 0 94px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 30px;
}

.footer-col {
  font-size: 10px;
  line-height: 1.75;
}

.footer-col h3 {
  margin: 0 0 13px;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.footer-col h3:not(:first-child) {
  margin-top: 37px;
}

.footer-col a {
  display: block;
  padding: 4px 0 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: #747474;
}

.footer-img {
  width: 176px;
  margin-top: 35px;
  opacity: .08;
}

.footer-about p {
  margin: 0;
}

.footer-about a {
  display: inline;
  border: 0;
  padding: 0;
}

.garage-photo {
  width: 100%;
  margin-bottom: 10px;
  opacity: .08;
}

.captioned {
  width: 180px;
  margin: 0;
  padding: 8px 8px 3px;
  background: #fff;
  text-align: center;
}

.captioned img {
  display: block;
  width: 100%;
}

.captioned figcaption {
  color: #aaa;
  font-size: 10px;
}

.turbo {
  width: 175px;
  opacity: .05;
}

.bovag-footer {
  width: 83px;
  margin-top: 30px;
  opacity: .02;
}

.footer-bottom {
  background: var(--footer-bottom);
  color: #777;
  font-size: 10px;
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
}

.translate-button {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 25;
  border: 0;
  background: #f44320;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 10px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 20;
  display: none;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  text-align: center;
  line-height: 34px;
}

#torxflow-widget-root {
  position: fixed;
  inset: auto 0 0 auto;
  width: 0;
  height: 0;
  z-index: 2147483000;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .nav-inner a {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 9px;
  }
}

@media (max-width: 959px) {
  .container {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }

  .top-bar {
    height: 22px;
  }

  .header-inner {
    padding-top: 10px;
    padding-bottom: 13px;
    text-align: left;
  }

  .logo img {
    width: 303px;
    max-width: calc(100% - 56px);
  }

  .mobile-toggle {
    display: block;
    top: 14px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-panel {
    display: none;
    width: calc(100% - 40px);
    margin: 0 auto 14px;
    background: #282828;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .mobile-panel a {
    display: block;
    padding: 10px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #ddd;
    font-size: 12px;
  }

  .mobile-search {
    display: flex;
    padding: 10px;
  }

  .mobile-search input {
    flex: 1;
    border: 0;
    padding: 8px;
  }

  .mobile-search button {
    width: 39px;
    border: 0;
    background: #444;
    color: #fff;
  }

  .hero-slider {
    height: 280px;
    margin-bottom: 0;
    background: transparent;
  }

  .hero-slide {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr;
    width: 290px;
    max-width: 80%;
    row-gap: 30px;
    padding-top: 0;
    padding-bottom: 48px;
  }

  .feature-card h3 {
    font-size: 12px;
  }

  .feature-card p {
    font-size: 9px;
  }

  .feature-icon {
    height: 62px;
    font-size: 30px;
    line-height: 62px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 42px;
  }

  .service-card {
    font-size: 9px;
    min-height: 0;
  }

  .service-card img,
  .first-grid .service-card img,
  .first-grid .service-card:first-child img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 169;
    object-fit: cover;
  }

  .service-card h3 {
    font-size: 12px;
  }

  .service-card h4 {
    font-size: 13px;
  }

  .service-card p {
    width: 100%;
  }

  .text-only {
    padding-top: 0;
  }

  .cta-banner {
    min-height: 166px;
    padding-top: 52px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .footer-grid {
    display: block;
  }

  .footer-col {
    margin-bottom: 35px;
  }

  .footer-about {
    margin-top: 86px;
  }

  .garage-photo,
  .footer-img,
  .turbo,
  .bovag-footer {
    opacity: .03;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
  }

  .top-bar-inner {
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
  }

  .top-contact {
    overflow: hidden;
    white-space: nowrap;
  }

  .top-social {
    gap: 7px;
  }

  .hero-slider {
    height: 135px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    row-gap: 28px;
    padding-bottom: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .service-card {
    max-width: 300px;
    margin: 0 auto;
    font-size: 11px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card h4 {
    font-size: 17px;
  }

  .cta-banner {
    min-height: 150px;
    padding-top: 44px;
  }

  .footer-bottom-inner {
    display: block;
    text-align: left;
  }

  .footer-bottom-inner a {
    display: block;
    margin-top: 10px;
  }
}
