ul {
  list-style-type: none;
}

.container {
  padding: 0 30px;
  max-width: 1748px;
  margin: 0 auto;
}

.red {
  color: red;
}

.modal-form {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s all ease;
  min-height: 100vh;
  height: 100%;
  min-width: 100vw;
  z-index: 20;
  overflow-y: auto;
}

.modal-form.active {
  background: #00000066;
  opacity: 1;
  pointer-events: all;
  transition: 0.3s all ease;
}

.form-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  transition: 0.3s all ease;
}

.form-inner form {
  position: relative;
  gap: 56px;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 974px;
  padding: 48px;
  background: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  transition: 0.3s all ease;
}

.exit {
  width: 35px;
  height: 35px;
  top: 32px;
  right: 32px;
  position: absolute;
  z-index: 5;
  cursor: pointer;
}

.exit img {
  width: 35px;
  height: 35px;
  pointer-events: none;
}

.form-inner form.modal .exit {
  display: block;
}

.form-inner form .exit {
  display: none;
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form--title {
  font-weight: 700;
  font-size: 38px;
  line-height: 45px;
  color: #212529;
  text-align: center;
}

.form-content__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 38px;
  row-gap: 32px;
}

.form-content__input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
  font-size: 12px;
}

.form-content__input input {
  padding: 15px 20px;
  border-radius: 5px;
  background: none;
  border: 1px solid #989898;
}

.form-content__upload {
  max-width: 220px;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: #b4404c;
  border: 1px solid #b4404c;
  border-radius: 5px;
  background: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 12px 68px;
}

.form-content__middle,
.form-content__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-content__middle input {
  display: none;
}

.form-content__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 22px;
  border: 1px solid #989898;
  border-radius: 5px;
}

.delete {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 10px;
  width: 28px;
  height: 28px;
}

.form-content__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-content__bottom button {
  background: #b4404c;
  border: 1px solid #b4404c;
  border-radius: 5px;
  font-size: 16px;
  line-height: 19px;
  padding: 12px 68px;
  color: #ffffff;
  cursor: pointer;
  transition: 0.3s all ease;
}

.form-content__bottom p {
  font-size: 12px;
  line-height: 16px;
  color: #989898;
  text-align: center;
}

/* SLIDER =========*/
.mySwiper {
  position: relative;
}

.swiper-prev {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 50%;
  left: 20px;
  z-index: 4;
  background: none;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transform: scale(1);
  background: rgba(227, 61, 61, 0.3);
  transition: 0.3s all ease;
}

.swiper-prev:hover,
.swiper-next:hover {
  background: rgba(208, 55, 55, 0.438);
  transition: 0.3s all ease;
}

.swiper-prev:active,
.swiper-next:active {
  background: rgba(157, 12, 12, 0.68);
  transform: scale(0.8);
  transition: 0.3s all ease;
}

.swiper-next {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 50%;
  right: 20px;
  z-index: 4;
  background: none;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transform: scale(1);
  background: rgba(227, 61, 61, 0.3);
  transition: 0.3s all ease;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-wrapper {
  min-height: 250px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-border {
  border: 1px solid #212529;
  border-radius: 5px;
  padding: 10px 25px;
}

.swiper-pagination-bullet {
  background: #b4404c;
  width: 10px;
  height: 10px;
}

/* SLIDER END =========*/

.brands {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 120px;
}

.brands-title {
  font-weight: 700;
  font-size: 38px;
  line-height: 45px;
  color: #212529;
  text-align: center;
}

/* SECOND PAGE */
.steps-inner {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.steps-title {
  font-size: 38px;
  text-align: center;
}

.steps-content {
  padding: 0 10%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.step-top {
  background: #b4404c;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s all ease;
}

.step-top span {
  color: #ffffff;
  font-size: 24px;
}

.step-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  line-height: 28px;
}

.step-bottom span {
  font-size: 24px;
  font-weight: bold;
}

.step-bottom p {
  font-size: 16px;
}

.step-separator {
  width: 100%;
  height: 1px;
  background: #b4404c;
  align-self: flex-start;
  margin-top: 30px;
}

.appointments-inner {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.appointments-title {
  font-size: 38px;
  text-align: center;
}

.appointments-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.appointment {
  max-width: 338px;
  width: 100%;
  background: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.appointment h3 {
  font-weight: bold;
  font-size: 24px;
  text-align: center;
}

.appointment p {
  font-size: 16px;
  text-align: center;
}

.appointment button {
  background: #b4404c;
  border: none;
  border-radius: 5px;
  width: 100%;
  max-width: 220px;
  padding: 15px 30px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s all ease;
}

.appointment button:hover,
.form-content__bottom button:hover {
  background: #812b34;
  transition: 0.3s all ease;
}

.faq-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-bottom: 120px;
  align-items:center;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width:100%;
}

.faq-title {
  font-size: 38px;
  text-align: center;
}

.faq-li-title {
z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 18px;
    color: #b4404c;
    font-weight: bold;
    padding: 12px;
    border: 1px solid #b4404c00;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    border-radius: 5px 5px 0px 0px;
    transition: 0.3s all ease;
}

.faq-li {
  cursor: pointer;
  transform: scale(1);
  transition: 0.3s all ease;
}

.faq-li:active {
  transform: scale(0.9);
  transition: 0.3s all ease;
}

.faq-li.active .faq-li-title {
  border: 1px solid #b4404c;
  transition: 0.3s all ease;
}

.faq-li-content p {
    font-size:17px;
  padding: 32px;
  display: block;
  line-height: 25px;
}

.faq-li-content {
  height: 100%;
  max-height: 0px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
  font-size: 18px;
  border-radius: 0 0 5px 5px;
  transition: 0.3s all ease;
}

.faq-li.active .faq-li-content {
  max-height: 250px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  transition: 0.3s all ease;
}

.arrow {
  display: block;
  transform: rotateX(180deg);
  transition: 0.3s all ease;
}

.arrow.white {
  display: none;
}

.faq-li.active .arrow {
  transform: rotateX(0deg);
  transition: 0.3s all ease;
}

@media screen and (max-width: 1300px) {
  .appointments-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .appointments-list * {
    justify-self: center;
    align-self: center;
  }
}

@media screen and (max-width: 980px) {
  .steps-content {
    padding: 0;
  }
}

@media screen and (max-width: 900px) {
  .form--title,
  .appointments-title,
  .brands-title,
  .steps-title,
  .faq-title {
    font-size: 33px;
  }

  .arrow {
    display: none;
  }

  .arrow.white {
    display: block;
    width: 100%;
    padding: 13px 0;
    background-color: #b4404c;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .faq-li-title {
    font-size: 20px;
    padding: 0;
    flex-direction: column;
    gap: 16px;
  }

  .faq-li-title p {
    text-align: center;
    width: 100%;
    padding: 16px;
  }

  .steps-content {
    padding: 0 30%;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-separator {
    width: 1px;
    min-height: 76px;
    align-self: center;
    justify-self: center;
    margin-top: 0;
  }

  .form-inner form {
    gap: 35px;
  }
}

@media screen and (max-width: 800px) {
  .form-content__bottom {
    flex-direction: column;
  }
  .form-content__bottom button {
    width: 100%;
  }
}

@media screen and (max-width: 750px) {
  .appointments-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .appointment {
    padding: 32px;
  }

  .exit {
    top: 16px;
    right: 16px;
  }

  .form-content__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-inner {
    padding: 70px 0;
  }

  .form-content {
    gap: 24px;
  }
}

@media screen and (max-width: 650px) {
  .form--title,
  .appointments-title,
  .brands-title,
  .steps-title,
  .faq-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 600px) {
  .form-inner form:not(.modal-form.active .form-inner form) {
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .modal-form.active .form-inner form {
    padding: 20px;
    padding-top: 40px;
  }

  .form-content__upload {
    max-width: unset;
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .form--title,
  .appointments-title,
  .brands-title,
  .steps-title,
  .faq-title {
    font-size: 24px;
  }

  .steps-content {
    padding: 0 20%;
  }

  .swiper-next,
  .swiper-prev {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .steps-content {
    padding: 0 10%;
  }

  .form-content__list li {
    font-size: 14px;
  }

  .form-content__list--name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
  }
}
