html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.bottom-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
}

/* .bottom-footer main {
  height: 100%;
} */

.bootom-footer {
  margin-top: auto;
}

.thanks-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.thanks-block h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.thanks-block p {
  margin-bottom: 20px;
}
.fancybox__content {
  padding: 0;
}
.video-link svg {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 50px;
  height: 50px;
  display: block;
  background-color: rgb(255 255 255);
  opacity: .7;
  border-radius: 50%;
  aspect-ratio: 1;
  transition: opacity .3s ease;
}
.video-link:hover svg {
  opacity: 1;
}


@media(max-width:460px) {
  .thanks-block {
    padding: 30px 25px;
  }

  .thanks-block h1,
  .thanks-block p {
    text-align: center;
  }
}


.header {
  background: #000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo img {
  width: 250px;
  max-width: 250px;
}

.slogan p {
  color: #fff;
  max-width: 230px;
  font-size: 14px;
}

.col-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.col-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.phone a {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.social {
  width: 40px;
}

.sub-phone {
  display: flex;
  justify-content: flex-end;
}

.sub-phone span {
  color: #fff;
  font-size: 13px;
  text-align: left;
  display: inline-block;
}

/* .hero-green-btn {
  background-color: rgb(156 227 130);
} */

.car-img {
  height: 400px;
  min-height: 400px;
  object-fit: scale-down;
}

.car-card {
  width: 48%;
}

.car-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-green-btn {
  position: relative;
  overflow-x: hidden;
}

.hero-green-btn .flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 45px;
  transform: skewX(-45deg);
  animation: flareAnimation;
  left: -150%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  animation: flareAnimation 3s infinite linear;
}

@keyframes flareAnimation {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}


.about.works-block .works_list {
  margin-bottom: 60px;
}

.works_list {
  display: flex;
  max-width: unset !important;
  gap: 15px;
}

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

.works_list .works {
  border: none;
  padding: 0;
  overflow: hidden;
  margin-right: 0;
  margin-bottom: 0;
  border-radius: 12px;
}

.works_list .works {
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  display: flex;
  width: -webkit-fill-available;
  flex-grow: 0;
  flex: 0;
  flex-direction: column;
}

.works {
  position: relative;
  flex-basis: 32% !important;
}

.pre-footer-cta .pft-cta-text {
  font-size: 45px;
}

.pre-footer-cta {
  background: #6AC44A;
  text-align: center;
  padding: 60px;
  font-size: 40px;
  font-weight: 700;
}

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

.reviews-block__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  gap: 20px;
  margin-top: 70px;
}

.reviews-block__el {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reviews-block__el {
  border-radius: 20px;
  background: #f7f8fa;
  padding: 22px 30px 20px;
}

.reviews-block__slider-reviews {
  position: relative;
  margin-top: 20px;
}

.reviews-block__item {
  border-radius: 20px;
  background: #f7f8fa;
  padding: 40px;
  min-height: 385px;
}

.reviews-block__item-img-block {
  margin-bottom: 12px;
}

.reviews-block__item-text {
  margin-top: 20px;
}

.reviews-block {
  margin-bottom: 80px;
}


.reviews-block .swiper-button-next svg,
.reviews-block .swiper-button-prev svg {
  display: none;
}

.reviews-block .swiper-button-next,
.reviews-block .swiper-button-prev {
  border-radius: 8px;
  width: 50px;
  height: 50px;
  background: #6AC44A;
}

.reviews-block .swiper-button-next::after,
.reviews-block .swiper-button-prev::after {
  content: '';
  background: url(/img/arrow.svg) center no-repeat;
  width: 100%;
  height: 100%;
}

.reviews-block .swiper-button-prev::after {
  transform: rotate(180deg);
}

.reviews-block .swiper-button-prev {
  left: -70px !important;
}

.reviews-block .swiper-button-next {
  right: -70px !important;
}

.review-container {
  max-width: 1170px;
  margin: 0 auto;
}

.reviews-block__slider .swiper-slide {
  display: flex;
  height: inherit;
}

.our-works {
  margin-bottom: 50px;
}

.works_list .works a {
  font-size: 13px;
  color: #6b7277;
  text-align: left;
}

.works_list .works a:nth-child(2n) {
  line-height: 30px;
  text-align: center;
  min-width: 267px;
  font-size: 16px;
}


.works img {
  width: 100% !important;
  height: 300px;
  object-fit: cover;
}

.work-link {
  position: absolute;
  bottom: 20px;
  background: #000;
  color: #fff;
  padding: 10px;
  bottom: -150px;
  visibility: hidden;
  transition: all .5s ease-in-out;
  width: 100%;
  font-size: 13px;
}

.works-container {
  max-width: 1300px;
  margin: 0 auto;
}

.works {
  cursor: pointer;
}

.works:hover .work-link {
  bottom: 0;
  visibility: visible;

  transition: all .5s ease-in-out;
}

/* .works:hover img {
  filter: sepia();
} */

@media(max-width:1024px) {
  .col-menu {
    display: none;
  }

  .reviews-block .swiper-button-next {
    right: 0px !important;
    top: 50% !important;
    display: none;
  }

  .reviews-block .swiper-button-prev {
    left: 0px !important;
    top: 50% !important;
    display: none;
  }

  .reviews-block .swiper-button-next,
  .reviews-block .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .works_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-container {
    padding: 0 20px;
  }
}

@media(max-width:820px) {
  .car-card {
    width: 100%;
  }
}


@media(max-width:460px) {
  .header-inner {
    flex-direction: column;
    gap: 20px;
  }

  .slogan p {
    color: #fff;
    max-width: 230px;
    font-size: 13px;
  }

  .pre-footer-cta .pft-cta-text {
    font-size: unset;
  }

  .pre-footer-cta {
    font-size: 28px;
  }

  .reviews-block .swiper-button-next {
    display: block;
  }

  .reviews-block .swiper-button-prev {
    display: block;
  }

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

  .logo img {
    width: 200px;
    max-width: 200px;
  }

}


.menu {
  display: flex;
  color: #fff;
  align-items: center;
  gap: 15px;
}

.menu li a:hover {
  color: #82CB67;
  transition: all .5s ease-in;
}

.cockies {
  position: fixed;
  bottom: 20px;
  background: linear-gradient(90deg, rgba(98, 190, 227, 1) 0%, rgba(87, 175, 199, 1) 66%);
  padding: 10px;
  left: 50%;
  transform: translate(-50%);
  width: 900px;
  border-radius: 6px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 99999;
}

.cockies-inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: #fff;
  gap: 20px;
}

.cockie-text {
  width: 70%;
  font-size: 13px;
  line-height: 1.5;
}

.cockie-button {
  background-color: #000;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cockie-button:hover {
  background-color: #0000007a;
  color: #fff;
  transition: all .7s;
}

.cockie-text a {
  text-decoration: underline;
  color: #000;
}

@media(max-width:460px) {
  .cockies {
    width: 90%;
    padding: 20px;
  }

  .cockies-inner {
    flex-direction: column;
  }

  .cockie-text {
    width: fit-content;
    text-align: center;
  }
}

.agree-section {
  max-width: 1170px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.agree-section h1 {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  padding: 40px 0;
}

.agree-section p:not(:last-child) {
  margin-bottom: 10px;
}

.social {
  display: flex;
  gap: 10px;
  width: fit-content;
}

.social a {
  width: 30px;
  height: 30px;
}

.onliner.max {
  bottom: 230px;
}

.onliner.max::before {
  content: 'Написать в Max';
  width: 89px;
}

.onliner.max {
  background: #000;
}

@media(max-width:430px) {
  .onliner.max {
    bottom: 159px;
  }
}

@media(max-width:400px) {
  .onliner.max {
    bottom: 159px;
  }
}