@media screen and (max-width: 1680px) {
  .car-img {
    width: 95%;
  }
}
@media screen and (max-width: 1440px) {
  /* Container */
  .container {
    max-width: 1140px;
  }
  /* About */
  .about__stats {
    margin-top: -80px;
  }
}
@media screen and (max-width: 1280px) {
  /* Container */
  .container {
    max-width: 960px;
  }
  /* About */
  .about__intro-right {
    justify-content: flex-start;
  }
}
@media screen and (max-width: 1024px) {
  /* Container */
  .container {
    padding: 0;
    max-width: none;
    width: calc(100% - 30px);
  }
  /* Burger */
  .burger {
    display: flex;
  }
  /* Header */
  .header__nav {
    margin-bottom: 40px;
  }
  .header__nav ul {
    flex-direction: column;
  }
  .header__nav-wrap {
    z-index: 9;
    opacity: 0;
    position: fixed;
    background-color: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
  }
  .header__nav-wrap.is-active {
    opacity: 1;
    pointer-events: all;
  }
  .header__services {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-bg);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99;
    transition: opacity 0s;
  }
  .header__services span {
    display: inline-block;
  }
  /* Mobile gradient - replaces video backgrounds */
  .video-bg {
    background-image: none;
  }
  .video-bg video {
    display: none;
  }
  .video-bg::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: radial-gradient(ellipse at center, #444444 0%, #2e2e2e 35%, #1a1a1a 70%, #0a0a0a 100%);
    z-index: -1;
  }
  .video-bg::before {
    display: none;
  }
  /* Steps */
  .steps__items {
    grid-template: auto/1fr;
  }
  /* Contacts */
  .contacts__map-wrap {
    grid-template: 1fr 400px/1fr;
    gap: 50px;
  }
  .contacts__items {
    grid-template: auto/1fr;
  }
  .contacts__item {
    border: 0;
  }
  .contacts .container {
    flex: none;
  }
  /* Services */
  .services__item-learn {
    opacity: 1;
    transform: translate(0);
  }
  /* Service */
  .service {
    padding-top: 0;
  }
  .service__bg {
    display: none;
  }
  .service__bg--mobile {
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  /* About */
  .about__intro {
    grid-template: auto auto/1fr;
  }
  .about__intro-left {
    min-height: auto;
  }
  .about__intro-left p {
    margin-bottom: clamp(5px, 4vw, 40px);
  }
  .about__stats-inner {
    grid-template: auto/1fr;
  }
  /* Car */
  .car-img__left, .car-img__right {
    opacity: 1;
  }
  .contacts__form form {
    grid-template: auto/1fr;
  }
}
@media screen and (max-width: 600px) {
  /* Contacts */
  .contacts__form-inner {
    grid-template: 1fr 1fr/1fr;
  }
  /* Services */
  .services__items {
    grid-template: auto/1fr;
  }
}