:root {
  --primary:#8fc31f;
}

body, html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bs-white);
}

.section {
  padding: 100px 0;
}

/*S1*/
.main-btn {
  color: #fff;
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: #8fc31f;
  border: 1px solid rgba(0, 0, 0, 0);
  transition: background 0.3s, border 0.3s, color 0.3s;
  position: relative;
  padding: 20px 36px 20px 36px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 600;
}
.main-btn:hover svg path {
  stroke: #8fc31f;
}

@media (max-width: 1320px) {
  .main-btn {
    font-size: calc(14px + 2 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .main-btn {
    line-height: calc(16px + 2 * (100vw - 375px) / 945);
  }
}
.car-card__link.main-btn span:nth-child(2) {
  background: #222;
}

.main-btn span:nth-child(2) {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  background: #222;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -15px;
  transition: right 0.3s, background 0.3s;
}

.main-btn span:nth-child(2) svg {
  transform: rotate(-90deg);
  position: relative;
  top: 2px;
}

.main-btn span:nth-child(2) svg path {
  fill: #fff;
  transition: fill 0.3s;
}

.main-btn:hover {
  background: rgba(0, 0, 0, 0);
  border: 1px solid #8fc31f;
  color: #8fc31f;
}

.main-btn:hover span:nth-child(2) {
  right: -10px;
}

.titling {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.titling__suptext {
  color: #8fc31f;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 20px;
  padding-bottom: 9px;
  margin-bottom: 15px;
  position: relative;
}
.titling__suptext span {
  position: absolute;
  bottom: 0;
  width: 54px;
  height: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.titling__suptext span :before {
  content: "";
  width: 10px;
  height: 1px;
  display: block;
  background: #777;
}
.titling__suptext span :after {
  content: "";
  width: 40px;
  height: 1px;
  display: block;
  background: #777;
}

@media (max-width: 1320px) {
  .titling__suptext {
    font-size: calc(16px + 2 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__suptext {
    line-height: calc(18px + 2 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__suptext {
    padding-bottom: calc(6px + 3 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__suptext {
    margin-bottom: calc(10px + 5 * (100vw - 375px) / 945);
  }
}
.titling__suptext span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.titling__suptext span::before {
  content: "";
  width: 10px;
  height: 1px;
  display: block;
  background: #777;
}

.titling__suptext span::after {
  content: "";
  width: 40px;
  height: 1px;
  display: block;
  background: #777;
}

.titling__title {
  color: #222;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 37px;
  line-height: 53px;
  margin-bottom: 20px;
}

@media (max-width: 1320px) {
  .titling__title {
    font-size: calc(36px + 12 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__title {
    line-height: calc(44px + 26 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__title {
    margin-bottom: calc(15px + 5 * (100vw - 375px) / 945);
  }
}
.titling__text {
  font-size: 17px;
  line-height: 29px;
  margin-top: 0;
  margin-bottom: 0;
}

.titling__text-white {
  color: #fff;
  opacity: 0.7;
}

@media (max-width: 1320px) {
  .titling__text {
    font-size: calc(14px + 2 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .titling__text {
    line-height: calc(22px + 7 * (100vw - 375px) / 945);
  }
}
.titling__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  row-gap: 15px !important;
}

@media (max-width: 1320px) {
  .titling__inner {
    gap: calc(30px + 20 * (100vw - 375px) / 945);
  }
}
.titling--centered {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.titling--centered .titling__suptext span {
  left: 50%;
  transform: translateX(-50%);
}

.about__inner {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  justify-content: space-between;
}

.about-images {
  position: relative;
}

.about-images::after {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../img/km-about-taxi-checkers.svg);
  position: absolute;
  top: 156px;
  right: -71px;
  display: block;
  width: 20px;
  height: 120px;
}

.about-images__img {
  position: relative;
}

.about-images__img:nth-child(1) {
  width: 520px;
  height: 564px;
}

.about-images__img:nth-child(1)::before {
  content: "";
  height: 100%;
  width: 100px;
  -webkit-clip-path: polygon(0 0, 100% 0, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 0% 100%);
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 1320px) {
  .about-images__img:nth-child(1)::before {
    width: calc(65px + 35 * (100vw - 375px) / 945);
  }
}
.about-images__img:nth-child(2) {
  width: 291px;
  height: 235px;
  position: absolute;
  bottom: -50px;
  right: -100px;
}

.about-images__img:nth-child(2)::after {
  content: "";
  width: 75px;
  height: 100%;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
}

@media (max-width: 1320px) {
  .about-images__img:nth-child(2)::after {
    width: calc(45px + 30 * (100vw - 375px) / 945);
  }
}
.about-images__img-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.about-body {
  max-width: 585px;
  margin-right: 13px;
  width: 100%;
}

.about-body .titling {
  max-width: 550px;
  margin-bottom: 40px;
}

@media (max-width: 1320px) {
  .about-body .titling {
    margin-bottom: calc(30px + 10 * (100vw - 375px) / 945);
  }
}
.about-body .titling__title {
  margin-bottom: 16px;
}

@media (max-width: 1320px) {
  .about-body .titling__title {
    margin-bottom: calc(15px + 10 * (100vw - 375px) / 945);
  }
}
.about-body .about-images {
  display: none;
}

.about-body-list {
  margin-bottom: 48px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0px 4px 52px 0px rgba(0, 0, 0, 0.1);
  display: grid;
  padding: 40px;
  position: relative;
  gap: 20px;
}

@media (max-width: 1320px) {
  .about-body-list {
    margin-bottom: calc(25px + 23 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list {
    padding: calc(20px + 20 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list {
    gap: calc(15px + 5 * (100vw - 375px) / 945);
  }
}
.about-body-list::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 2px;
  background: #777;
}

.about-body-list__item {
  display: flex;
  align-items: flex-start;
  color: #222;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  gap: 14px;
}

@media (max-width: 1320px) {
  .about-body-list__item {
    font-size: calc(14px + 2 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item {
    line-height: calc(24px + 4 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item {
    gap: calc(10px + 4 * (100vw - 375px) / 945);
  }
}
.about-body-list__item::before {
  content: "";
  background-image: url(../img/km-tick-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 13px;
  min-width: 20px;
  min-height: 13px;
  margin-top: 10px;
}

@media (max-width: 1320px) {
  .about-body-list__item::before {
    width: calc(17px + 3 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item::before {
    height: calc(10px + 3 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item::before {
    min-width: calc(17px + 3 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item::before {
    min-height: calc(10px + 3 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .about-body-list__item::before {
    margin-top: calc(7px + 3 * (100vw - 375px) / 945);
  }
}
.about-body-bottom {
  display: flex;
  align-content: center;
  gap: 85px;
}

@media (max-width: 1320px) {
  .about-body-bottom {
    gap: calc(30px + 55 * (100vw - 375px) / 945);
  }
}
.about-body-bottom .call__icon {
  background: #eee;
}

.about-body-bottom .call__icon svg path {
  stroke: #222;
}

@media (max-width: 1000px) {
  .cars__inner {
    flex-direction: column;
  }
  .cars-swiper {
    margin-left: -15px;
    margin-right: -15px;
    max-width: calc(100% + 30px);
  }
  .cars .km-titling::after {
    content: unset;
  }
  .cars .km-titling {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .cars .km-titling__link {
    display: none;
  }
  .cars .km-titling__text {
    margin-bottom: 0;
  }
  .cars__link {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  .about__inner {
    flex-direction: column;
  }
  .about-body {
    order: -1;
  }
  .about-body .km-titling {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .about-body {
    margin-left: auto;
    margin-right: auto;
  }
  .about-body-bottom {
    justify-content: center;
  }
  .about-body .about-images {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about-images {
    margin-bottom: 100px;
    margin-left: -100px;
    display: none;
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images {
    margin-bottom: calc(80px + 20 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images {
    margin-left: calc(0px + -100 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) {
  .about-images__img:nth-child(1) {
    width: 520px;
    height: 564px;
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images__img:nth-child(1) {
    width: calc(320px + 200 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images__img:nth-child(1) {
    height: calc(340px + 224 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) {
  .about-images__img:nth-child(2) {
    width: 291px;
    height: 235px;
    bottom: -50px;
    right: -40px;
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images__img:nth-child(2) {
    width: calc(225px + 66 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images__img:nth-child(2) {
    height: calc(180px + 55 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images__img:nth-child(2) {
    right: calc(0px + -40 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) {
  .about-images::after {
    right: -70px;
    top: 156px;
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images::after {
    right: calc(25px + -95 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1000px) and (max-width: 1320px) {
  .about-images::after {
    top: calc(50px + 106 * (100vw - 375px) / 945);
  }
}
.s2 {
  background: url(../img/carbox-bg.png);
  background-size: cover;
}

.carbox-card {
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  background: #222;
  display: inline-block;
  width: 100%;
  transition: all 0.3s;
  background: #fff;
  box-shadow: 0px 4px 52px 0px rgba(0, 0, 0, 0.09);
}

.carbox-card__inner {
  background: #fff;
  padding-top: 28px;
  padding-right: 28px;
  padding-bottom: 28px;
  padding-left: 28px;
}

.carbox-card__suptext {
  color: #777;
  font-size: 13px;
  line-height: 19px;
  margin-bottom: 9px;
}

.carbox-card__title {
  color: #222;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  height: 26px;
  text-overflow: ellipsis;
  margin-bottom: 28px;
  margin-top: 0;
}

.carbox-card li {
  color: #777;
}

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

.carbox-card-bottom__price-personal {
  display: flex;
  gap: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 29px;
  color: #222;
  justify-content: space-between;
  align-items: center;
}

.carbox-card-bottom__price-personal_b {
  display: flex;
  gap: 10px;
  line-height: 18px;
}

.carbox-card-bottom__featured-list ul {
  margin: 0;
  padding: 0;
}

.carbox-card-bottom__featured-list li {
  color: #222;
  padding-bottom: 10px;
  font-size: 14px;
}

.carbox-card-bottom__featured-list li svg {
  margin-right: 5px;
  width: 20px;
  position: relative;
  top: -2px;
}

.carbox-card-bottom__featured-list {
  padding-top: 20px;
}

.s3 {
  position: relative;
  background: #f5f5f5;
  padding-bottom: 80px;
  margin-bottom: 80px;
}

.rcslide-slide {
  border-radius: 2px;
  background: #fff;
  transition: box-shadow 0.3s;
  padding-top: 55px;
  padding-right: 30px;
  padding-bottom: 55px;
  padding-left: 30px;
  border-radius: 16px;
}

@media (max-width: 1320px) {
  .rcslide {
    padding-top: calc(55px + 55 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .rcslide {
    padding-bottom: calc(55px + 55 * (100vw - 375px) / 945);
  }
}
@media (max-width: 1320px) {
  .rcslide {
    margin-bottom: calc(60px + 60 * (100vw - 375px) / 945);
  }
}
.s4:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 1410px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../img/km-cars-taxi-checkers.svg);
}

.rcslide .titling__title {
  margin-bottom: 0;
}

.rcslide-swiper {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 80px;
}

@media (max-width: 1320px) {
  .rcslide-swiper {
    padding-bottom: calc(50px + 30 * (100vw - 375px) / 945);
  }
}
.rcslide-swiper .swiper-pagination {
  bottom: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.rcslide-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 99rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: #d7d7d7;
  opacity: 1;
  transition: background 0.3s;
}

.rcslide-swiper .swiper-pagination-bullet:hover {
  background: #8fc31f;
}

.rcslide-swiper .swiper-pagination-bullet-active {
  background: #8fc31f;
  width: 24px;
}

.rcslide-slide {
  border-radius: 2px;
  background: #fff;
  transition: box-shadow 0.3s;
  padding: 55px 30px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

@media (max-width: 1320px) {
  .rcslide-slide {
    padding: calc(25px + 30 * (100vw - 375px) / 945) calc(15px + 15 * (100vw - 375px) / 945);
  }
}
.rcslide-slide__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  height: 100%;
}

.rcslide-slide__text {
  max-width: 520px;
  color: #777;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.3;
  flex-grow: 1;
}

@media (max-width: 1320px) {
  .rcslide-slide__text {
    font-size: calc(14px + 2 * (100vw - 375px) / 945);
    line-height: calc(20px + 9 * (100vw - 375px) / 945);
    margin-bottom: calc(15px + 15 * (100vw - 375px) / 945);
  }
}
.rcslide-slide__box-text {
  color: #222;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
}

@media (max-width: 1320px) {
  .rcslide-slide__box-text {
    font-size: calc(16px + 4 * (100vw - 375px) / 945);
    line-height: calc(20px + 10 * (100vw - 375px) / 945);
  }
}
.rcslide-slide__box-subtext {
  color: #777;
  font-size: 13px;
  line-height: 20px;
  margin: 0;
}

.rcslide-slide-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

@media (max-width: 1320px) {
  .rcslide-slide-top {
    margin-bottom: calc(20px + 20 * (100vw - 375px) / 945);
  }
}
.rcslide-slide-top svg {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  right: -57px;
  width: 32px;
  height: 32px;
}

@media (max-width: 1320px) {
  .rcslide-slide-top svg {
    right: calc(-40px + -17 * (100vw - 375px) / 945);
    width: calc(24px + 8 * (100vw - 375px) / 945);
    height: calc(24px + 8 * (100vw - 375px) / 945);
  }
}
.rcslide-slide-top__img {
  border-radius: 100%;
  border: 4px solid #8fc31f;
  overflow: hidden;
  width: 80px;
  height: 80px;
}

@media (max-width: 1320px) {
  .rcslide-slide-top__img {
    width: calc(55px + 25 * (100vw - 375px) / 945);
    height: calc(55px + 25 * (100vw - 375px) / 945);
  }
}
.rcslide-slide-top__img-image {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gradient-text {
  background: linear-gradient(to left, #46ffe0, #85ed1e);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: animateGradient 4s ease infinite;
}

@keyframes animateGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.color-white {
  color: #fff;
}

.owl-nav {
  position: absolute;
  top: -44px;
  right: 40px;
  text-align: center;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
  padding: 8px 12px !important;
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}
.owl-dots button {
  padding: 8px;
}
.owl-dots span {
  display: inline-block;
  width: 16px;
  height: 3px;
  background: #aaa;
  border-radius: 99rem;
  margin: 4px;
}
.owl-dots .active span {
  background-color: #000;
}

@media (min-width: 1200px) {
  .section-title {
    font-size: 2.2rem;
  }
}
.bg-white .section-title {
  color: #1a1a1a;
}

.cta-btn {
  margin-top: 20px;
  padding: 10px 32px;
  color: #fff;
  font-size: 20px;
  border-radius: 99rem;
  background: linear-gradient(to left, #6501DE, #FF5770, #6501DE);
  background-size: 200% 200%;
  animation: animateGlow 1s linear infinite;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
}
.cta-btn:hover {
  color: #FFF;
  background-size: 100% 100%;
  animation: none;
  transition: all 1s;
}

@keyframes animateGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.s4 {
  position: relative;
  padding-top: 0;
}
.s4::after {
  width: 100%;
  background-position: right;
}

.footer-top {
  display: flex;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}

.footer-top__contacts {
  display: grid;
  width: 100%;
  grid-template-columns: 0.3fr 1fr 0.3fr;
  border-radius: 2px;
  overflow: hidden;
}

.contacts-item {
  padding: 40px;
  background: #303030;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  transition: background 0.3s;
  position: relative;
  top: -1px;
}
.contacts-item:nth-child(1)::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  right: -100px;
  height: 100%;
  bottom: 0;
  background: #303030;
  -webkit-clip-path: polygon(100% 0, 0 0, 0 100%);
          clip-path: polygon(100% 0, 0 0, 0 100%);
  transition: background 0.3s;
  z-index: 2;
}
.contacts-item:nth-child(3)::after {
  content: "";
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
          clip-path: polygon(100% 0, 100% 100%, 0 100%);
  position: absolute;
  top: 0;
  width: 100px;
  left: -100px;
  height: 100%;
  bottom: 0;
  background: #303030;
  transition: background 0.3s;
  z-index: 2;
}

.contacts__item-active {
  background: #8fc31e;
}

.footer-top__btn {
  color: #fff;
  background: #303030;
  font-weight: bold;
}
.footer-top__btn:hover {
  background: #fff;
  color: #222;
}

.promo-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #698e14, #78a117, #90c320, #c6da36);
  color: white;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.promo-banner__content {
  flex: 1;
  font-size: 18px;
}

.promo-banner__content a {
  color: white;
  font-weight: bold;
}

.promo-banner__close {
  background: none;
  border: none;
  padding: 0;
  margin-left: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) {
  padding: 8px 12px;
}

.form-floating > .form-control, .form-floating > .form-select,
.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
  padding: 8px 12px;
}

.form-floating > label {
  padding: 8px 12px;
  font-size: 15px;
}

.form-floating > .form-select ~ label {
  display: none;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
  opacity: 1;
  transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
  background: #fff;
  padding: 0 4px;
  margin-left: 8px;
  border-radius: 4px;
  color: var(--primary);
  height: auto;
}

.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
  opacity: 1;
  transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
  background: #fff;
  padding: 0 4px;
  margin-left: 8px;
  border-radius: 4px;
  color: var(--primary);
  height: auto;
}

.form-floating > .form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--primary);
}

.s5 {
  position: relative;
}
.s5:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -100%);
  width: 172px;
  height: 192px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../img/km-cars-bg.svg);
}
.s5 .articles__bg {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 16%;
}

@media (max-width: 768px) {
  .footer-top__contacts {
    display: flex;
    flex-direction: column;
  }
  .contacts-item {
    padding: 8px;
  }
  .contacts__item-active {
    padding: 60px 48px;
  }
  .contacts-item:nth-child(1)::before {
    top: auto;
    width: 100%;
    right: 0;
    height: 30px;
    bottom: 0;
    transform: translateY(29px);
  }
  .contacts-item:nth-child(3)::after {
    top: 0;
    width: 100%;
    right: 0;
    left: auto;
    height: 30px;
    bottom: auto;
    transform: translateY(-29px);
  }
  .s4::after {
    bottom: 0;
  }
  .rcslide::after {
    width: 100%;
    background-position: left;
  }
  .titling__title {
    font-size: 32px;
    text-align: center;
  }
  .s5:before {
    width: 144px;
    height: 152px;
  }
  .kv {
    margin-top: 70px;
  }
  .promo-banner {
    padding: 16px 8px;
  }
  .promo-banner .container {
    padding: 0;
  }
  .promo-banner__content a {
    font-size: 14px;
    line-height: 1.5;
  }
  .promo-banner__close {
    margin: 0 4px 0 12px;
  }
}/*# sourceMappingURL=onepage-car.css.map */