/* style.css */

body {
  font-family: "Golos Text", Arial, sans-serif;
  background-color: #ffffff;
  color: #252525;
  padding: 30px 0 0 0;
}

.roboto {
  font-family: "Roboto", sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 11px;
  background: #fff;
  border-radius: 14px;
  position: sticky;
  top: 10px;
  z-index: 10;
  max-width: 1320px;
  margin: 30px auto 0;
}

.button {
  font-family: "Roboto", sans-serif;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  padding: 16px 23px;
  text-align: center;
  outline: none;
  border: 0;
  cursor: pointer;
}

.button--green {
  background: #51c033;
  color: #fff;
}

.button--green-outline {
  border: 1px solid #51c033;
  color: #51c033;
  background: transparent;
}

.button--green-outline:hover {
  background: #51c033;
  color: #fff;
}

.button--green:hover {
  background: #45a22d;
}

.button--yellow {
  background: #ffda3e;
  color: #000000;
}

.button--yellow:hover {
  background: #edca38;
}

.header__menu a {
  font-family: inherit;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.header__phone {
  font-family: inherit;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
}

.header__city {
  font-family: "Roboto", sans-serif;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #cbd6e6;
  font-size: 15px;
  line-height: 1;
  height: 46px;
  width: 170px;
  color: #676f79;
  position: relative;
  cursor: pointer;
  padding: 0 32px 0 12px;
  justify-content: center;
}

.header__city-icon {
  position: absolute;
  right: 12px;
  top: calc(50% - 3px);
}

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

.header__menu > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.wrapper {
  max-width: 1380px;
  margin: 0 auto;
}

.main {
  border-radius: 24px;
  background: #e5edf8;
  min-height: 700px;
  padding: 200px 30px 50px;
  position: relative;
  margin-top: -120px;
}

.main__container {
  padding-top: 80px;
}

.main__img1 {
  position: absolute;
  bottom: 0;
  right: 20%;
  z-index: 2;
}

.main__img2,
.main__img3 {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.main__img3 {
  right: 3%;
}

.main__rating {
  position: absolute;
  right: 30px;
  top: 210px;
  border-radius: 24px;
  background: #fff;
  min-width: 248px;
  padding: 22px 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.main__rating-number {
  width: 60px;
  height: 60px;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  background: #ffda3e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.main__rating-content {
  text-align: center;
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.main__rating--yandex {
  top: 327px;
}

.main h1 {
  max-width: 596px;
  font-size: 58px;
  line-height: 1;
  font-weight: 500;
}

.main__texts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  align-items: flex-start;
}

.main p {
  background: #dd3434;
  padding: 6px 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
  border-radius: 100px;
}

.button--large {
  font-size: 22px;
  padding: 22px 23px;
}

.main__button {
  position: absolute;
  left: 50px;
  bottom: 50px;
  min-width: 390px;
  z-index: 3;
}

.main-tabs {
  background: #e5edf8;
  padding: 80px 60px 100px;
  margin-top: 110px;
}

.main-tabs h2 {
  text-align: center;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 400;
}

.main__content {
  position: relative;
  z-index: 3;
  padding-left: 20px;
}

.main-tabs__tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  margin-top: 60px;
}

.main-tabs__tab {
  flex: 1 1 auto;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  min-height: 96px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  border-radius: 24px;
  background: #f3f7fd;
  color: #252525;
  cursor: pointer;
  position: relative;
}

.main-tabs__tab.active {
  font-weight: 500;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

.main-tabs__tab.active:after {
  position: absolute;
  bottom: -16px;
  left: 30px;
  height: 4px;
  background: #51c033;
  content: "";
  width: calc(100% - 60px);
}

.main-tabs__tab.active:before {
  position: absolute;
  bottom: -12px;
  left: 0;
  height: 12px;
  background: #fff;
  content: "";
  width: 100%;
}

.main-tabs__tab-content {
  background: #fff;
  border-radius: 0 0 24px 24px;
  padding: 75px 50px;
  display: none;
}

.main-tabs__tab-content.active {
  display: block;
}

.services__container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 50px;
}

.services__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
}

.services__price {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  color: #51c033;
  margin-top: 16px;
}

.services__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services__button {
  margin-top: 40px;
  min-width: 325px;
}

.services__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.services__details-item {
  font-size: 16px;
  line-height: 1.15;
}

.accepted-vehicles__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
}

.accepted-vehicles__items {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.accepted-vehicles__image {
  width: 100%;
  height: 200px;
  background: #f3f7fd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.accepted-vehicles__item {
  flex: 1 1 33.333%;
}

.accepted-vehicles__item-title {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.accepted-vehicles__item-texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  list-style-type: disc;
  padding-left: 25px;
}

.accepted-vehicles__item-text {
  font-size: 18px;
  line-height: 1.15;
}

.accepted-vehicles__footer {
  margin-top: 40px;
  border-top: 4px solid #e5edf8;
  padding-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.accepted-vehicles__vaulation {
  max-width: 190px;
}

.accepted-vehicles__vaulation-image {
  background: #dd3434;
  border-radius: 14px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accepted-vehicles__vaulation-text {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.15;
}

.terms__list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
}

.terms__list li {
  font-size: 18px;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding-left: 40px;
  min-height: 28px;
}

.terms__list li:before {
  position: absolute;
  width: 28px;
  height: 28px;
  left: 0;
  top: calc(50% - 14px);
  content: "";
  border-radius: 4px;
  background: #51c033 url("../images/terms_checkbox.svg") no-repeat center;
}

.terms__list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 28px;
  height: 28px;
}

.terms__list--red li:before {
  border-radius: 50%;
  background: #fff url("../images/terms_close.svg") no-repeat center;
}

.terms__list--red {
  background: #dd3434;
  padding: 20px;
  border-radius: 24px;
  color: #ffffff;
}

.terms__list--green li:before {
  border-radius: 50%;
  background: #fff url("../images/terms_checkbox_black.svg") no-repeat center;
}

.terms__list--green {
  background: #51c033;
  padding: 20px;
  border-radius: 24px;
  color: #ffffff;
}

.borrower__items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.borrower__item {
  max-width: 490px;
}

.borrower__title,
.documents__title,
.valuation__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 40px;
}

.documents__items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.documents__item:nth-child(2) {
  max-width: 490px;
}

.documents__clients {
  display: flex;
  gap: 60px;
}

.documents__client-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
}

.terms__list--inline {
  flex-direction: row;
  justify-content: space-between;
}

.valuation__header {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  gap: 20px;
  min-height: 70px;
  margin-bottom: 30px;
}

.valuation__header-icon {
  background: #dd3434;
  border-radius: 14px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valuation__items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.valuation__header-texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  list-style-type: disc;
  padding-left: 25px;
}

.valuation__header-texts li {
  font-size: 18px;
  line-height: 1.15;
}

.categories {
  padding: 100px 30px;
}

.categories__title {
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.categories__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.categories__item {
  flex: 0 0 calc(33.333% - 14px);
  background: #f3f7fd;
  border-radius: 24px;
  padding: 80px 25px 30px;
  position: relative;
}

.categories__item:before {
  position: absolute;
  width: 28px;
  height: 28px;
  left: 30px;
  top: 30px;
  content: "";
  border-radius: 4px;
  background: #51c033 url("../images/terms_checkbox.svg") no-repeat center;
}

.categories__item-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
}

.categories__item-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.questions,
.reviews {
  padding: 60px 30px 100px;
}

.questions .wrapper,
.reviews .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reviews {
  background: #f3f7fd;
  padding-top: 100px;
}

.questions__title,
.reviews__title {
  flex: 0 0 40%;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.questions__content,
.reviews__content {
  flex: 1 1 auto;
}

.question-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.question-items__item {
  background: #f3f7fd;
  border-radius: 14px;
}

.question-items__title:before {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 25px;
  top: 25px;
  content: "";
  border-radius: 4px;
  background: transparent url("../images/green_plus.svg") no-repeat center;
  border: 1px solid #51c033;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.question-items__content {
  display: none;
  padding: 12px 25px 31px 25px;
}

.question-items__item.active .question-items__title:before {
  transform: rotate(45deg);
}

.question-items__item.active .question-items__content {
  display: block;
}

.question-items__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  padding: 31px 90px 31px 25px;
  cursor: pointer;
  position: relative;
}

.question-items__text {
  font-size: 16px;
  line-height: 1.5;
}

.review-items {
  display: flex;
  gap: 20px;
}

.reviews__items {
  flex-direction: column;
}

.review-items__item {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  border-radius: 24px;
  background: #ffffff;
}

.review-items__item-author {
  flex: 0 0 auto;
  max-width: calc(100% - 131px);
}

.review-items__rating {
  flex: 0 0 auto;
  max-width: 101px;
}

.review-items__content {
  flex: 1 1 100%;
}

.review-items__rating {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.review-items__item-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.review-items__item-author-image {
  flex: 0 0 auto;
}

.review-items__item-author-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-items__item-author-image img {
  border-radius: 50%;
}

.review-items__item-author-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.review-items__item-author-date {
  color: #676f79;
  font-size: 14px;
  line-height: 1.5;
}

.review-items__content {
  font-size: 16px;
  line-height: 1.5;
}

.partnership {
  padding: 100px 30px;
}

.partnership__title {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.partnership__text {
  text-align: center;
  font-size: 18px;
  line-height: 1.15;
  margin: 24px auto 0;
  max-width: 620px;
  color: #676f79;
}

.partnership__items {
  margin-top: 70px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.partnership__item {
  flex: 1 1 calc(41% - 14px);
}

.partnership__item--blue {
  border: 1px solid #dbe2ec;
  background: #f3f7fd;
  border-radius: 24px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 calc(24% - 14px);
}

.partnership__list {
  counter-reset: partnership-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partnership__list-item {
  counter-increment: partnership-counter;
  position: relative;
  border: 1px solid #dbe2ec;
  background: #f3f7fd;
  padding: 19px 14px 19px 74px;
  display: flex;
  align-items: center;
  border-radius: 24px;
  min-height: 80px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
}

.partnership__list-item:before {
  position: absolute;
  top: calc(50% - 22px);
  left: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  content: counter(partnership-counter);
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  background: #51c033;
  border-radius: 50%;
}

.partnership__item--list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  flex: 1 1 calc(35% - 14px);
}

.form {
  max-width: 462px;
  padding: 60px 50px;
  background: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form--blue {
  background: #e5edf8;
}

.form__title {
  text-align: center;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
}

.form__input {
  border: 1px solid #dbe2ec;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  font-family: inherit;
  padding: 22px 20px;
}

.form__label {
  font-size: 14px;
  line-height: 1.15;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  cursor: pointer;
  position: relative;
  color: #676f79;
}

.form__label input[type="checkbox"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  left: 0;
  top: 0;
}

.form__checkbox {
  position: relative;
  width: 25px;
  height: 25px;
  border: 1px solid #dbe2ec;
  background: #fff;
  border-radius: 4px;
  flex: 0 0 auto;
}

.form__label input[type="checkbox"]:checked + .form__checkbox {
  background: #51c033 url("../images/terms_checkbox.svg") no-repeat center;
}

.form__label a {
  text-decoration: underline;
}

.form__button {
  margin-top: 20px;
}

.have-questions {
  background: #e5edf8;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.have-questions__title {
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  max-width: 450px;
  font-weight: 400;
  z-index: 5;
}

.have-questions__img1 {
  position: absolute;
  left: 23%;
  bottom: 0;
  z-index: 4;
}

.have-questions__img2 {
  left: 6.6%;
  bottom: 0;
  position: absolute;
  z-index: 3;
}

.have-questions__form,
.contact-us__form {
  position: relative;
  z-index: 5;
}

.contact-us {
  background: #f3f7fd;
  padding: 100px 30px;
  position: relative;
}

.contact-us__title {
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 40px;
}

.contact-us .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.social-items {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.social-items__item {
  overflow: hidden;
  border-radius: 24px;
  min-width: 150px;
  min-height: 150px;
}

.social-items__item--telegram {
  background: #33b8f2;
  border-radius: 50% !important;
}

.social-items__item--max {
  background: linear-gradient(
    32.31deg,
    #43c7fe 21.36%,
    #3922b9 63.41%,
    #9b52da 89.71%
  );
}

.social-items__item a {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-us__img1 {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 11px;
  background: #fff;
  border-radius: 14px;
  max-width: 1380px;
  margin: 0 auto;
}

.footer__menu a {
  font-family: inherit;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
}

.footer__phone {
  font-family: inherit;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
}

.footer__other {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.footer__menu > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer__social {
  gap: 10px;
}

.footer__social .social-items__item {
  width: 44px;
  height: 44px;
  min-width: 0px;
  min-height: 0px;
  border-radius: 4px;
}

.footer__social a {
  width: 100%;
  height: 100%;
}

.footer {
  background: #e5edf8;
  padding: 30px 30px 60px;
  margin-top: 100px;
}

.footer__texts {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  line-height: 1.15;
  color: #9fa9b6;
}

.js_dropdown_content.active {
  display: block;
}

.header__city-dropdown {
  border: 1px solid #cbd6e6;
  background: #fff;
  border-radius: 8px;
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 4px);
  width: 100%;
  left: 0;
  min-width: 215px;
  display: none;
  overflow: auto;
  max-height: calc(100vh - 150px);
}

.header__city-dropdown-item {
  padding: 5px 12px;
  color: #676f79;
  font-size: 15px;
  cursor: pointer;
}

.header__city-dropdown-item.active {
  background: #f3f7fd;
}

.header__city-container {
  position: relative;
}

.footer__menu li,
.header__menu li {
  position: relative;
}

.footer__menu-dropdown,
.header__menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  border: 1px solid #cbd6e6;
  border-radius: 8px;
  background: #fff;
  min-width: 170px;
  padding: 4px 0;
  z-index: 5;
}

/* .footer__menu-dropdown {
  top: auto;
  bottom: 100%;
} */

.header__menu li:hover .header__menu-dropdown,
.footer__menu li:hover .footer__menu-dropdown {
  display: block;
}

.header__menu-dropdown li a,
.footer__menu-dropdown li a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  display: block;
}

.header__menu-dropdown li a:hover,
.footer__menu-dropdown li a:hover {
  background: #f3f7fd;
}

.header__menu-item--has-dropdown > a,
.footer__menu-item--has-dropdown > a {
  padding-right: 16px;
  position: relative;
}

.header__menu-item--has-dropdown > a:before,
.footer__menu-item--has-dropdown > a:before {
  position: absolute;
  top: calc(50% - 2px);
  background: url("../images/menu_arrow.svg") no-repeat center;
  width: 8px;
  height: 4px;
  right: 0;
  content: "";
}

.mobile-menu.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  background: #e5edf8;
  padding: 60px 16px 16px;
  z-index: 20;
  display: none;
}

.mobile-menu__menu li a {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu__menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu__menu li {
  text-align: center;
}

ul.mobile-menu__menu-dropdown {
  gap: 14px;
  margin: 20px 0 0 0;
}

ul.mobile-menu__menu-dropdown li a {
  font-weight: 400;
  font-size: 15px;
}

.mobile-menu__other {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu__social {
  margin-top: 30px;
  justify-content: center;
}

.mobile-menu__social .social-items__item {
  min-width: 0;
  min-height: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

.mobile-menu__social .social-items__item a {
  height: 100%;
}

.mobile-menu__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__mobile-items {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__mobile-items a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__mobile {
  display: none;
}

.main h1 {
  text-transform: uppercase;
}

/* other pages */

.p-content-header {
  border-radius: 24px;
  background: #e5edf8;
  padding: 160px 30px 50px;
  position: relative;
  margin-top: -120px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.15;
  color: #676f79;
  gap: 30px;
}

.breadcrumbs li {
  position: relative;
}

.breadcrumbs li:not(:first-child):before {
  position: absolute;
  top: 0;
  left: -16px;
  content: "|";
}

.p-content-header__title {
  margin-top: 45px;
  font-size: 52px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
}

.p-content {
  padding: 60px 30px 0;
}

.pagination {
  display: flex;
  align-items: center;
  margin-top: 60px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a {
  border-radius: 10px;
  background: #f3f7fd;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination a.active {
  background: #51c033;
  color: #fff;
}

.pagination a.disabled {
  opacity: 0.7;
}

.review-items--inlnie {
  flex-direction: row;
  flex-wrap: wrap;
}

.review-items--inlnie .review-items__item {
  flex: 0 0 calc(33.333% - 14px);
}

.p-content__reviews .review-items__item {
  background: #f3f7fd;
}

.p-content__articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.p-content__articles-item {
  flex: 0 0 calc(33.333% - 14px);
  background: #f3f7fd;
  padding: 20px;
  border-radius: 24px;
}

.p-content__articles-item-img img {
  margin: 0 auto;
}

.p-content__articles-item-title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.p-content__articles-item-text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.4;
}

.p-content__articles-item-button {
  width: 100%;
  font-size: 16px;
  line-height: 1;
  padding: 20px;
  border: 1px solid #676f79;
  border-radius: 14px;
  text-align: center;
  display: block;
  text-transform: uppercase;
  color: #676f79;
  margin-top: 20px;
}

.p-content__articles-item-button:hover {
  color: #51c033;
  border-color: #51c033;
}

.p-content__additional-block {
  margin-top: 100px;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contacts__items {
  flex: 0 0 33.33%;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.contacts__items-item {
  background: #f3f7fd;
  border: 1px solid #f3f7fd;
  border-left: 6px solid #51c033;
  border-radius: 14px;
  cursor: pointer;
  padding: 20px;
  transition: border-color 0.2s ease;
}
.contacts__items-item:hover {
  border-bottom: 1px solid #51c033;
  border-right: 1px solid #51c033;
  border-top: 1px solid #51c033;
}
.contacts__items-item.active {
  border-color: #e70000;
  border-bottom: 1px solid #f3f7fd;
  border-right: 1px solid #f3f7fd;
  border-top: 1px solid #f3f7fd;
}

.contacts__items-item-address,
.contacts__items-item-phone {
  font-size: 18px;
  line-height: 1.3;
  color: #252525;
}

.contacts__items-item-days {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 1.3;
  color: #676f79;
  gap: 20px;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid #e5edf8;
}

.contacts__items-item-phone {
  margin-top: 10px;
}

.contacts__map {
  flex: 0 0 calc(66.666% - 20px);
  min-height: 420px;
}

.contacts__map-inner {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
}

.vacancies {
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.vacancies__item {
  padding: 20px;
  background: #f3f7fd;
  border-radius: 24px;
  border: 1px solid #dbe2ec;
}

.vacancies__header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  padding-right: 214px;
}

.vacancies__title {
  flex: 0 0 100%;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.vacancies__salary {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.vacancies__chip {
  font-size: 18px;
  line-height: 1;
  color: #676f79;
  border: 1px solid #dbe2ec;
  background: #ffffff;
  padding: 14px 14px 14px 32px;
  border-radius: 10px;
  position: relative;
}

.vacancies__chip:before {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #51c033;
  border-radius: 50%;
  content: "";
  left: 15px;
  top: calc(50% - 4px);
}

.vacancies__button {
  position: absolute;
  right: 0;
  top: calc(50% - 24px);
  height: 48px;
  font-size: 14px;
  line-height: 1px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #676f79;
  border: 1px solid #676f79;
  border-radius: 14px;
  background: #fff;
  text-transform: uppercase;
}

.vacancies__content {
  display: none;
  margin-top: 30px;
}

.vacancies__item.active .vacancies__content {
  display: block;
}

.vacancies__content-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 20px;
}

.vacancies__content-text {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.5;
}

.vacancies__content-list {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vacancies__content-list li {
  position: relative;
  padding-left: 27px;
}

.vacancies__content-list li:before {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1px;
  background: #252525;
  top: 13px;
}

.vacancies__content-button {
  display: inline-block;
  margin-top: 30px;
  min-width: 320px;
}

.p-content-header__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 45px;
}

.p-content-header__content {
  flex: 0 0 calc(60% - 30px);
}

.p-content-header__img {
  flex: 0 0 40%;
}

.p-content-header__container .p-content-header__title {
  margin-top: 0;
}

.p-content-header__text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.p-about-us__direction {
  padding: 70px 16px;
  font-size: 18px;
  line-height: 1.5;
}

.p-about-us__direction .wrapper {
  position: relative;
}

.p-about-us__direction-items {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.p-about-us__direction-item {
  flex: 0 0 calc(50% - 40px);
}

.p-about-us__direction-item:nth-child(2) {
  padding-top: 90px;
}

.p-about-us__direction-img {
  position: absolute;
  left: 0;
  bottom: -70px;
}

.p-about-us__partner,
.p-refinancing__rejection {
  padding: 70px 16px;
  background: #f3f7fd;
}

.p-about-us__partner-title,
.p-refinancing__rejection-title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
}

.p-about-us__partner-items,
.p-refinancing__rejection-list {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 50px;
}

.p-about-us__partner-item,
.p-refinancing__rejection-list li {
  flex: 0 0 calc(25% - 50px);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.p-refinancing__rejection-list li {
  flex: 0 0 calc(33.333% - 50px);
}

.p-about-us__partner-item-icon,
.p-refinancing__rejection-list-icon {
  width: 90px;
  height: 90px;
  border: 1px solid #dbe2ec;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.p-about-us__percents {
  padding: 70px 16px;
  font-size: 18px;
  line-height: 1.5;
}

.p-about-us__orders {
  padding: 0 16px 70px 16px;
}

.p-about-us__orders-items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.p-about-us__orders-item {
  flex: 0 0 calc(33.333% - 20px);
  background: #f3f7fd;
  border-radius: 24px;
  padding: 20px 20px 116px 20px;
  position: relative;
}

.p-about-us__orders-title {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}

.p-about-us__orders-text,
.p-about-us__orders-list {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.4;
}

.p-about-us__orders-item .button {
  width: calc(100% - 40px);
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.p-content-header__list,
.p-content-header__button {
  margin-top: 30px;
}

.p-refinancing__benefit,
.p-refinancing__examples {
  padding: 70px 16px;
}

.p-refinancing__benefit-title,
.p-refinancing__examples-title {
  font-weight: 500;
  text-align: center;
  font-size: 52px;
  text-transform: uppercase;
}

.p-refinancing__benefit-items {
  margin-top: 20px;
  gap: 70px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.p-refinancing__benefit-item {
  flex: 0 0 calc(50% - 35px);
}

.p-refinancing__benefit-item div {
  width: 322px;
  background: url("../images/refinancing_border_benefit.svg") no-repeat;
  background-size: contain;
  min-height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
}

.p-refinancing__benefit-item:nth-child(2n) {
  text-align: right;
}

.p-refinancing__benefit-content {
  position: relative;
}

.p-refinancing__benefit-img {
  position: absolute;
  bottom: 0;
  left: calc(50% - 213px);
  width: 426px;
}

.p-refinancing__benefit-button {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 322px;
}

.p-refinancing__examples-items {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.p-refinancing__examples {
  background: #e5edf8;
}

.p-refinancing__examples-item {
  border-radius: 24px;
  padding: 20px;
  background: #ffffff;
  flex: 0 0 calc(33.333% - 20px);
}

.p-refinancing__examples-button {
  width: 100%;
  font-size: 16px;
  line-height: 1;
  padding: 20px;
  border: 1px solid #676f79;
  border-radius: 14px;
  text-align: center;
  display: block;
  text-transform: uppercase;
  color: #676f79;
  margin-top: 20px;
}

.p-refinancing__examples-button:hover {
  color: #51c033;
  border-color: #51c033;
}

.p-refinancing__have-questions,
.p-refinancing__contacts {
  margin-top: 70px;
}

.pawn-shop {
  background: #f3f7fd;
  padding: 70px 50px 50px;
  border-radius: 24px;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
}

.pawn-shop:before {
  position: absolute;
  bottom: -184px;
  right: -80px;
  content: "";
  width: 514px;
  height: 514px;
  background: #ffda3e;
  border-radius: 50%;
}

.pawn-shop__container {
  position: relative;
  z-index: 2;
}

.pawn-shop__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.pawn-shop__list {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 950px;
}

.pawn-shop__list li {
  flex: 0 0 calc(33.333% - 30px);
  font-size: 20px;
  line-height: 1.4;
  position: relative;
  padding: 40px 0 0 0;
}

.pawn-shop__list--deposit li {
  flex: 0 0 calc(25% - 30px);
}

.pawn-shop__list li:before {
  position: absolute;
  width: 28px;
  height: 28px;
  left: 0px;
  top: 0px;
  content: "";
  border-radius: 4px;
  background: #51c033 url("../images/terms_checkbox.svg") no-repeat center;
  border-radius: 50%;
}

.pawn-shop__form {
  margin-top: 80px;
  border-radius: 24px;
  background: #ffffff;
  max-width: 770px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 45px;
}

.pawn-shop__form-title {
  font-size: 20px;
  line-height: 1.15;
}

.pawn-shop__form-output {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  margin-top: 12px;
  display: block;
}

.pawn-shop__form-slider-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #676f79;
  font-size: 16px;
  line-height: 1.15;
  margin-top: 7px;
}

.pawn-shop__form-content {
  flex: 1 1 auto;
}

.pawn-shop__form-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 300px;
}

.pawn-shop__img {
  position: absolute;
  right: 0;
  bottom: 0;
}

range-slider {
  --track-size: 10px;
  --thumb-size: 30px;
  cursor: pointer;

  &:not([orientation="vertical"]) {
    inline-size: 100%;
  }

  [data-track] {
    background: #e5edf8;
  }

  [data-track-fill] {
    background: #51c033;
  }

  [data-thumb] {
    background: #fff;
    border: 5px solid #51c033;
    cursor: pointer;
  }
}

output {
  font-family: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.p-404 {
  position: relative;
  overflow: hidden;
}

.p-404__container {
  position: relative;
  z-index: 4;
}

.p-404__img2 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.p-404__img1 {
  position: absolute;
  top: 60px;
  right: 0;
  z-index: 3;
}

.p-404__content {
  display: flex;
  gap: 70px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.p-404__subtitle {
  max-width: 210px;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 500;
  color: #676f79;
  text-transform: uppercase;
}

.p-404__text {
  max-width: 235px;
  font-size: 14px;
  line-height: 1.4;
  color: #676f79;
  position: relative;
}

.p-404__text:before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0;
  background: #51c033;
  width: 4px;
  height: 100%;
}

.p-404__buttons {
  margin-top: 80px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.p-404__buttons .button {
  min-width: 235px;
}

.p-404__list {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.p-404__list li {
  flex: 0 0 calc(25% - 60px / 4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-404__list-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-404__list-icon {
  border: 1px solid #dbe2ec;
  background: #f3f7fd;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex: 0 0 auto;
}

.p-404__list-title {
  color: #252525;
  font-size: 16px;
  font-weight: 500;
}

.p-404__list-text {
  color: #676f79;
  font-size: 14px;
  font-weight: 500;
}

.modal-cookie {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 370px;
  z-index: 12;
  box-shadow: 0px 9px 30px 0px #0000001a;
}

.modal-cookie.active {
  display: block;
}

.modal-cookie__title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.modal-cookie__text {
  font-size: 13px;
  line-height: 1.25;
  margin-top: 8px;
  margin-bottom: 20px;
  color: #676f79;
}

.modal-cookie__text a {
  color: #51c033;
  text-decoration: underline;
}

.p-content__content h1 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  margin-top: 30px;
}

.p-content__content h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  margin-top: 26px;
}

.p-content__content h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  margin-top: 24px;
}

.p-content__content h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  margin-top: 22px;
}

.p-content__content h5 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin-top: 20px;
}

.p-content__content h6 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-top: 20px;
}

.p-content__content p,
.p-content__content ul,
.p-content__content ol {
  font-size: 14px;
  line-height: 1;
  margin-top: 20px;
  line-height: 1.4;
}

.p-content__content ul,
.p-content__content ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 0 20px;
}

.p-content__content ul {
  list-style-type: disc;
}

.p-content__content ol {
  list-style-type: decimal;
}

.modal-form {
  display: none;
  position: fixed;
  top: 50%;
  background: #fff;
  border-radius: 8px;
  padding: 48px;
  max-width: 462px;
  z-index: 28;
  box-shadow: 0px 9px 30px 0px #0000001a;
  position: fixed;
  left: 50%;
  transform: translate(-50%, calc(-50% + 30px));
  width: 100%;
}

.modal-form.active {
  display: block;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.24), 0px 9px 30px 0px #0000001a;
}

.modal-form .form {
  max-width: none;
  padding: 0;
  font-size: 12px;
}

.modal-form__close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
}

.modal-form .form__label {
  font-size: 12px;
}

.vacancies__content-file {
  margin-top: 20px;
}

.modal-form .form__title {
  font-size: 28px;
  margin-bottom: 20px;
}

/* other pages */

@media screen and (max-width: 1320px) {
  body {
    padding: 0;
  }

  .header__mobile {
    display: block;
  }

  .header__menu,
  .header__phone,
  .header__other .button {
    display: none;
  }

  .header {
    top: 0;
    gap: 6px;
    margin: 0 auto;
    border-radius: 0;
    padding: 8px 10px;
  }

  .header__city {
    width: 120px;
    font-size: 12px;
  }

  .header__logo img {
    max-height: 46px;
  }

  .main__content {
    text-align: center;
    padding-left: 0;
  }

  .main {
    padding: 40px 14px 14px;
    margin-top: 0;
    min-height: 660px;
    overflow: hidden;
    border-radius: 0;
  }

  .main h1 {
    margin: 0 auto;
    font-size: 30px;
    line-height: 1.25;
  }

  .main__texts {
    align-items: center;
  }

  .main__button {
    min-width: 296px;
    bottom: 20px;
    left: calc(50% - 148px);
  }

  .main__img1 {
    height: 460px;
    width: 466px;
    max-width: none;
    left: calc(50% - 233px);
  }

  .main p {
    font-size: 15px;
  }

  .main__img2 {
    height: 400px;
  }

  .main__img3 {
    height: 356px;
    left: calc(50% - 356px);
    right: 0;
  }

  .main__rating {
    min-width: 0px;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    right: calc(50% + 10px);
    bottom: 100px;
    top: auto;
  }

  .main__rating--yandex {
    right: auto;
    left: calc(50% + 10px);
  }

  .main__rating-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .main__rating-content {
    gap: 4px;
    align-items: center;
  }

  .main__rating-content img:nth-child(1) {
    max-width: 70px;
  }

  .main__rating-content img:nth-child(2) {
    max-width: 60px;
  }

  .main-tabs {
    margin-top: 60px;
    padding: 50px 14px;
  }

  .main-tabs__tabs {
    margin-top: 40px;
    overflow: hidden;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-tabs__tabs .element::-webkit-scrollbar {
    display: none;
  }

  .main-tabs__tab {
    font-size: 14px;
    min-height: 0;
    height: 50px;
    padding: 16px 20px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .main-tabs__tab.active {
    border-radius: 12px;
  }

  .main-tabs__tab.active:before,
  .main-tabs__tab.active:after {
    display: none;
  }

  .main-tabs__tab-content {
    padding: 30px 16px;
    border-radius: 12px;
  }

  .services__container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .services__content {
    text-align: center;
  }

  .services__title {
    font-size: 24px;
  }

  .services__price {
    font-size: 22px;
  }

  .services__image {
    max-width: 500px;
  }

  .services__details {
    margin-top: 16px;
  }

  .services__button {
    min-width: 280px;
    margin-top: 30px;
  }

  .contact-us {
    padding: 40px 14px;
  }

  .contact-us .wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .questions .wrapper,
  .reviews .wrapper {
    flex-wrap: wrap;
  }

  .reviews,
  .questions,
  .categories,
  .partnership {
    padding: 40px 14px;
  }

  .reviews__title {
    flex: 1 1 auto;
  }

  .main-tabs h2,
  .contact-us__title,
  .reviews__title,
  .questions__title,
  .categories__title,
  .partnership__title,
  .have-questions__title {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
  }

  .categories__item {
    flex: 0 0 calc(50% - 20px);
  }

  .categories__title {
    margin-bottom: 30px;
  }

  .question-items__title {
    font-size: 18px;
    padding: 31px 90px 31px 20px;
  }

  .partnership__text {
    font-size: 16px;
  }

  .partnership__items {
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .form {
    padding: 20px;
  }

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

  .footer__texts {
    margin-top: 40px;
  }

  .footer {
    margin-top: 40px;
    padding: 30px 16px;
  }

  .accepted-vehicles__title,
  .borrower__title,
  .documents__title,
  .valuation__title {
    font-size: 24px;
  }

  .accepted-vehicles__item-title,
  .documents__client-title,
  .valuation__header {
    font-size: 18px;
  }

  .accepted-vehicles__item-text {
    font-size: 14px;
  }

  .terms__list li,
  .accepted-vehicles__vaulation-text,
  .valuation__header-texts li {
    font-size: 15px;
  }

  .footer__container {
    background: transparent;
    padding: 0;
  }

  .footer__menu > ul {
    gap: 20px;
  }

  .review-items__rating img:nth-child(1) {
    max-width: 70px;
  }

  .review-items__rating img:nth-child(2) {
    max-width: 60px;
  }

  .header__city-dropdown {
    padding: 3px 0;
    max-height: calc(100vh - 70px);
  }

  .header__city-dropdown-item {
    font-size: 12px;
    padding: 3px 12px;
  }

  /* other pages */

  .review-items--inlnie .review-items__item,
  .p-content__articles-item {
    flex: 0 0 calc(50% - 20px);
  }

  .p-content__articles-item-title {
    font-size: 18px;
  }

  .p-content__articles-item-text {
    font-size: 14px;
  }

  .p-content {
    padding: 20px 16px 0;
  }

  .pagination {
    margin-top: 30px;
  }

  .p-content__additional-block {
    margin-top: 40px;
  }

  .p-about-us__orders-title {
    font-size: 18px;
  }

  .p-refinancing__contacts {
    padding: 0 16px;
  }

  .pawn-shop__img {
    display: none;
  }

  .pawn-shop:before {
    display: none;
  }

  .pawn-shop {
    padding: 40px 20px 40px;
    border-radius: 0;
    margin: 40px 0;
  }

  .pawn-shop__title {
    font-size: 24px;
    text-align: center;
  }

  .pawn-shop__list {
    flex-direction: column;
    margin-top: 30px;
  }

  .pawn-shop__list li {
    flex: 0 0 100%;
    font-size: 15px;
    padding: 3px 0 0 40px;
  }

  .pawn-shop__form {
    margin-top: 40px;
    flex-direction: column;
    max-width: none;
  }

  .pawn-shop__form-button {
    flex: 0 0 70px;
  }

  .p-404__list {
    margin-top: 30px;
  }

  .p-404__list li {
    flex: 0 0 calc(50% - 20px / 2);
  }

  .p-404__title {
    margin: 0 auto;
    max-width: 315px;
    margin-bottom: 300px;
  }

  .p-404__img1 {
    top: 240px;
    left: calc(50% - 225px);
    max-width: 550px;
  }

  .p-404__img2 {
    top: 70px;
    right: 0;
    min-height: 425px;
    max-width: none;
  }

  .p-404__content {
    margin: 0 auto;
    gap: 20px;
  }

  .p-404__subtitle {
    max-width: none;
  }

  .p-404__text {
    max-width: none;
  }

  .p-404__text:before {
    display: none;
  }

  .p-404__buttons {
    margin-top: 30px;
  }

  /* other pages */
}

@media screen and (max-width: 1023px) {
  .categories__items {
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: auto;
  }

  .categories__items::-webkit-scrollbar {
    display: none;
  }

  .categories__item {
    flex: 0 0 80%;
    padding: 60px 20px 20px;
  }

  .categories__item:before {
    top: 20px;
    left: 20px;
  }

  .categories__item-title {
    font-size: 18px;
  }

  .partnership__list-item {
    font-size: 16px;
  }

  .have-questions {
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    padding: 40px 16px;
  }

  .have-questions__img1 {
    top: 120px;
    bottom: auto;
    left: calc(50% - 256px);
    max-width: none;
  }

  .have-questions__img2 {
    display: none;
  }

  .have-questions__title {
    position: relative;
    margin-bottom: 374px;
    text-align: center;
  }

  .button--large {
    font-size: 16px;
  }

  .footer__container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .footer__menu {
    flex: 0 0 100%;
  }

  .footer__menu a {
    font-size: 20px;
  }

  .footer__menu > ul {
    justify-content: center;
    flex-direction: column;
  }

  .footer__menu-item--has-dropdown {
    text-align: center;
  }

  .footer__menu-item--has-dropdown > a {
    padding: 0;
  }

  .footer__menu-item--has-dropdown > a:before {
    display: none;
  }

  .footer__menu-dropdown {
    position: relative;
    display: flex;
    background: transparent;
    border: 0;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
  }

  .footer__menu-dropdown li a {
    font-size: 16px;
    padding: 0;
  }

  .footer__menu-dropdown li a:hover {
    background: transparent;
  }

  .footer__menu li:hover .footer__menu-dropdown {
    display: flex;
  }

  /* other pages */

  .p-content-header {
    padding: 150px 20px 20px;
    border-radius: 0;
  }

  .p-content-header__title {
    font-size: 24px;
    line-height: 1.25;
    margin-top: 20px;
  }

  .pagination a {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .review-items--inlnie .review-items__item,
  .p-content__articles-item {
    flex: 0 0 calc(100%);
  }

  .contacts__items,
  .contacts__map {
    flex: 1 1 auto;
  }

  .contacts__map,
  .contacts__map-inner {
    min-height: 360px;
    min-width: 360px;
  }

  .vacancies__header {
    padding-right: 0;
  }

  .vacancies__button {
    position: relative;
    flex: 0 0 100%;
  }

  .vacancies__title {
    font-size: 18px;
  }

  .vacancies__salary,
  .vacancies__content-title {
    font-size: 16px;
  }

  .vacancies__content-text,
  .vacancies__content-list {
    font-size: 14px;
  }

  .vacancies__chip {
    font-size: 16px;
    padding: 10px 10px 12px 32px;
  }

  .vacancies__content-list li:before {
    top: 10px;
  }

  .p-content-header__content {
    flex: 0 0 100%;
  }

  .p-content-header__img {
    flex: 0 0 100%;
    max-width: 534px;
    margin: 0 auto;
  }

  .p-content-header__text {
    font-size: 16px;
  }

  .p-about-us__direction-item {
    flex: 0 0 100%;
  }

  .p-about-us__direction-item:nth-child(2) {
    padding-top: 0;
  }

  .p-about-us__direction-img {
    display: none;
  }

  .p-about-us__direction {
    padding: 30px 16px;
    font-size: 15px;
  }

  .p-about-us__partner,
  .p-refinancing__rejection {
    padding: 30px 16px;
  }

  .p-about-us__partner-title,
  .p-refinancing__rejection-title {
    font-size: 24px;
  }

  .p-about-us__partner-items,
  .p-refinancing__rejection-list {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .p-about-us__partner-item,
  .p-refinancing__rejection-list li {
    flex: 0 0 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .p-about-us__partner-item-icon,
  .p-refinancing__rejection-list-icon {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .p-about-us__percents {
    padding: 30px 16px;
    font-size: 15px;
  }

  .p-about-us__orders-item {
    flex: 0 0 calc(50% - 20px);
  }

  .p-about-us__orders {
    padding: 30px 16px 30px 16px;
  }

  .p-refinancing__benefit-content {
    padding-bottom: 280px;
  }

  .p-refinancing__benefit-item {
    flex: 0 0 100%;
  }

  .p-refinancing__benefit-items {
    gap: 0px;
  }

  .p-refinancing__benefit-img {
    width: 280px;
    left: calc(50% - 140px);
  }

  .p-refinancing__benefit-item div {
    width: 300px;
    font-size: 16px;
    padding: 20px 40px;
  }

  .p-refinancing__benefit-button {
    width: 100%;
    bottom: 0;
    left: 0;
    min-width: 0;
  }

  .p-refinancing__benefit-title,
  .p-refinancing__examples-title {
    font-size: 30px;
  }

  .p-refinancing__benefit,
  .p-refinancing__examples {
    padding: 30px 16px;
  }

  .p-refinancing__have-questions,
  .p-refinancing__contacts {
    margin-top: 40px;
  }

  .p-refinancing__examples-items {
    gap: 20px;
  }

  .p-refinancing__examples-item {
    flex: 0 0 calc(50% - 10px);
  }

  /* other pages */
}

@media screen and (max-width: 750px) {
  .categories__items {
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: auto;
  }

  .categories__items::-webkit-scrollbar {
    display: none;
  }

  .categories__item {
    flex: 0 0 80%;
    padding: 60px 20px 20px;
  }

  .categories__item:before {
    top: 20px;
    left: 20px;
  }

  .categories__item-title {
    font-size: 18px;
  }

  .partnership__item {
    flex: 1 1 auto;
  }

  .partnership__item img {
    margin: 0 auto;
  }

  .reviews__items {
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: hidden;
    overflow-x: auto;
    flex-direction: row;
  }

  .reviews__items::-webkit-scrollbar {
    display: none;
  }

  .review-items__item {
    flex: 0 0 75%;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .review-items__item-author-name {
    font-size: 16px;
  }

  .review-items__content {
    font-size: 14px;
  }

  .review-items__item-author {
    flex-wrap: wrap;
  }

  .review-items__item-author-content {
    flex: 0 0 100%;
  }

  .accepted-vehicles__items {
    flex-wrap: wrap;
  }

  .accepted-vehicles__item {
    flex: 1 1 auto;
  }

  .accepted-vehicles__footer,
  .borrower__items,
  .documents__items,
  .valuation__items {
    flex-wrap: wrap;
  }

  .documents__clients {
    flex-wrap: wrap;
    gap: 30px;
  }

  .terms__list--inline {
    flex-direction: column;
  }

  .valuation__header {
    min-height: 0;
  }

  .contact-us .social-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-us .social-items__item a {
    height: 100px;
  }

  .contact-us .social-items__item a img.social-items__imпsquare {
    max-height: 100px;
    width: auto;
  }

  .contact-us .social-items__item {
    min-width: 100px;
    min-height: 0;
  }

  .contact-us .social-items__item svg {
    width: 60px;
  }

  .contact-us .social-items__item:nth-child(1) {
    flex: 1 1 100%;
  }

  .contact-us .social-items__item:nth-child(1) a {
    height: auto;
  }

  .contact-us__content {
    flex: 1 1 auto;
  }

  .footer__other {
    flex-wrap: wrap;
    justify-content: center;
  }

  .reviews__content {
    min-width: 0;
  }

  .mobile-menu__close {
    width: 40px;
    height: 40px;
  }

  .p-about-us__orders-item {
    flex: 0 0 100%;
  }

  .p-refinancing__examples-item {
    flex: 0 0 80%;
  }

  .p-refinancing__examples-items {
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow: hidden;
    overflow-x: auto;
    flex-direction: row;
  }

  .p-refinancing__examples-items::-webkit-scrollbar {
    display: none;
  }

  .p-404__list li {
    flex: 0 0 100%;
  }

  .modal-cookie {
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .p-404__title svg {
    max-width: 100%;
  }

  .p-refinancing__examples-title {
    font-size: 22px;
  }

  .p-refinancing__benefit-item div {
    width: 280px;
  }

  /* other pages */
}
