.route-header {
  background: var(--back-blue);
  padding-top: 98px;
  padding-bottom: 241px;
  position: relative;
  z-index: 2;
  margin-bottom: 54px;
}

.route-header .container {
  position: relative;
}

.header-gradient__top {
  position: absolute;
  width: 100%;
  height: 397px;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #dde7f9 0%, #f8f9fe 100%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.header-gradient__bot {
  position: absolute;
  width: 100%;
  height: 165px;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #dde7f9 0%, #f8f9fe 100%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.header-back__car {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
}

.route-header__title {
  display: block;
  margin: 32px 0 24px 0;
}

.route-header__subtitle-wrapper {
  display: flex;
  margin-bottom: 60px;
  align-items: end;
}

.route-header__subtitle {
  font-weight: 600;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-right: 24px;
  display: inline-flex;
  align-items: center;
}
.route-header__subtitle::before {
  content: "";
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  background: var(--light-blue);
  margin-right: 16px;
}

.route-header__subtitle-distance {
  font-weight: 400;
  font-size: 16px;
  line-height: 165%;
  letter-spacing: 0.02em;
  color: #a9b1bc;
}

.how-we-work {
  padding-top: 0 !important;
}

.route-header__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #32465a;
  max-width: 363px;
}

.route-header .search-form__form {
  transform: translateY(50%);
  bottom: -241px;
}

.route-clients {
  background: var(--back-blue);
}

.route-know__inner {
  max-width: 925px;
}

.route-know__inner h2 {
  font-weight: 600;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 60px;
}

.route-know__inner h2 * {
  color: #3579f4; 
}

.route-know__inner p {
  margin-bottom: 60px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #6a7989;
}

.route-know__inner h3 + p,
.route-know__inner li, .route-know__inner a {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #6a7989;
  display: flex;
  margin-bottom: 8px;
}

.route-know__inner *:has(+ h3) {
  margin-bottom: 60px !important;
}

.route-know__inner h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 32px;
}

.route-know__inner ul li::before {
  content: "";
  border-radius: 1px;
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  background-color: #3579f4;
  margin: 8px 8px 0 8px;
}

.route-know__inner ul li {
  margin-bottom: 16px;
}

.route-know__inner ul li:last-child {
  margin-bottom: 0;
}

.popular-routes {
  background: linear-gradient(45deg, rgba(221, 231, 249, 0.5) 0%, rgba(248, 249, 254, 0.5) 50%);
  position: relative;
  z-index: 1;
}

.popular-routes__back {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.popular-routes__heading {
  font-weight: 600;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 60px;
}

.popular-routes__heading span {
  color: var(--light-blue);
}

.route-cards__wrapper {
  -moz-columns: 2;
       columns: 2;
  -moz-column-gap: 20px;
       column-gap: 20px;
  margin-bottom: 60px;
}

.route-cards__btn {
  width: 274px;
}

.route-card {
  border-radius: 32px;
  padding: 40px;
  padding-bottom: 34px;
  background: #fff;
  max-width: 610px;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}

.route-card__title {
  font-weight: 500;
  font-size: 28px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #32465a;
  margin-bottom: 26px;
}

.route-card__subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #a9b1bc;
}

.route-card__list {
  display: inline-flex;
  flex-direction: column;
}

.route-card__rows-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.route-card__rows {
  display: inline-flex;
  flex-direction: column;
  margin-right: 40px;
}

.route-card__distance {
  margin-left: 6px;
}

.route-card__distance-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #e4e7ee;
  display: none;
}

.route-card__distance-amount {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #a9b1bc;
}

.route-card__row {
  display: inline-flex;
  align-items: start;
  margin-bottom: 4px;
  transition: all 0.2s;
  border-radius: 12px;
  padding: 6px;
  margin-right: 32px;
}

.route-card__row:nth-child(3n-1) {
  margin-bottom: 0;
}

.route-card__row:hover {
  background: #f8f9fe;
}

.route-card__row:hover .route-stop__name {
  color: var(--light-blue);
}

.route-stop {
  display: flex;
  align-items: start;
}

.route-stop__name {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #32465a;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
}
.route-stop__name span {
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  color: #6a7989;
}

.route-card__line {
  width: 100%;
  height: 1px;
  background: #e4e7ee;
  margin: 10px 0;
}

.route-stop__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

.route-card__arrow {
  width: 40px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
}

@media (max-width: 1920px) {
  .popular-routes__back {
    width: calc(35.8333vw + 219px);
  }
  .popular-routes__back img {
    width: 100%;
  }
}
@media (max-width: 1280px) {
  .header-gradient__bot {
    height: calc(9.5652vw + 42.565px);
  }
  .header-gradient__top {
    height: calc(9.5652vw + 274.565px);
  }
  .header-back__car {
    width: calc(53.8043vw + 133.305px);
  }
  .header-back__car img {
    width: 100%;
    height: auto;
  }
  .popular-routes {
    padding-bottom: calc(-13.58696vw + 273.913px) !important;
  }
}
@media (max-width: 1192px) {
  .route-header {
    margin-bottom: 96px;
  }
  .route-advantages {
    padding-bottom: 145px !important;
  }
}
@media (max-width: 1000px) {
  .route-header .search-form__form {
    flex-direction: column;
    max-width: 500px;
    left: 50%;
    transform: translate(-50%, 93%);
    padding: 16px;
  }
  .route-header {
    margin-bottom: 438px;
  }
  .route-cards__wrapper {
    -moz-columns: 1;
         columns: 1;
  }
  .route-card {
    max-width: none;
    padding: 24px;
  }
  .route-card__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .route-card__subtitle {
    font-size: 14px;
    line-height: 140%;
  }
}
@media (max-width: 768px) {
  .route-header {
    padding-bottom: 277px;
  }
  .route-header__title {
    margin-bottom: 12px;
  }
  .route-header__subtitle-wrapper {
    margin-bottom: 40px;
  }
  .route-header__subtitle {
    font-size: 20px;
    line-height: 120%;
  }
  .route-header__subtitle-distance {
    font-size: 14px;
    line-height: 140%;
  }
  .route-header__text {
    font-size: 14px;
    line-height: 140%;
  }
  .route-header .search-form__form {
    transform: translate(-50%, 101%);
  }
  .route-know__inner h2 {
    margin-bottom: 40px;
  }
  .route-know__inner h3 {
    font-size: 24px;
    line-height: 120%;
  }
  .route-know__inner p {
    margin-bottom: 40px;
  }
  .route-know__inner *:has(+ h3) {
    margin-bottom: 40px;
  }
  .popular-routes__heading {
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 40px;
  }
  .route-cards__wrapper {
    margin-bottom: 40px;
  }
}
@media (max-width: 568px) {
  .header-back__car {
    bottom: 16px;
  }
  .route-cards__btn {
    width: 100%;
    text-align: center;
  }
  .route-stop__icon {
    display: none;
  }
  .popular-routes {
    padding-bottom: 225px !important;
  }
  .popular-routes__back {
    width: 348px;
  }
  .route-card__rows-wrapper {
    flex-direction: column;
    align-items: start;
    background: #f8f9fe;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 16px;
  }
  .route-card__rows-wrapper:last-child {
    margin-bottom: 0;
  }
  .route-card__distance {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
  .route-card__distance-text {
    margin-right: 24px;
    display: inline;
  }
  .route-card__rows {
    margin-right: 0;
    width: 100%;
  }
  .route-card {
    padding: 16px;
  }
  .route-card:first-child {
    border-radius: 32px 32px 0 0;
    margin-bottom: 0;
    padding-bottom: 16px;
  }
  .route-card:last-child {
    border-radius: 0 0 32px 32px;
    padding-top: 0;
  }
  .route-card__row {
    justify-content: center;
    width: 100%;
    padding: 0;
    margin-bottom: 8px;
  }
  .route-card__list {
    width: 100%;
  }
  .route-stop__name {
    white-space: normal;
    word-break: break-word;
  }
}