@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9f9f9;
}

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

@media (width <= 1440px) {
  .container {
    margin: 0 30px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo p {
  font-family: Poppins;
  font-size: 22px;
  font-weight: 600;
  line-height: px;
  color: #6c5fbc;
}

@media (width <= 1024px) {
  .logo {
    font-style: 20px;
  }
}
.span {
  color: #6c5fbc;
}

.button {
  padding: 18px 26px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  color: #676767;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0px;
  border: 0px;
  border-radius: 18px;
}
.button--primary {
  background: #6c5fbc;
  color: white;
}
.button--secondary {
  background: #f9f9f9;
  color: #676767;
}

.lock {
  overflow: hidden;
  height: 100%;
}

h3 {
  font-family: Poppins;
  font-size: 45px;
  font-weight: 600;
  line-height: 26px;
  color: #323142;
}

@media (width <= 576px) {
  h3 {
    font-size: 36px;
    line-height: 32px;
  }
}
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c5bfed;
  border-radius: 6px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #6c5fbc;
}

.cards {
  align-items: center;
  justify-items: space-between;
}
.cards .card {
  border: 1.25px solid #f4f4f6;
  border-radius: 30px;
  background-color: white;
  position: relative;
}
.cards .card:hover {
  box-shadow: 6px 71.35px 36px 0px rgba(229, 229, 229, 0.7);
  cursor: pointer;
}
.cards .card__img {
  margin-bottom: 11px;
  border-radius: 30px 30px 0 0;
  width: 100%;
}
.cards .card__img img {
  object-fit: cover;
}
.cards .card__em {
  font-family: Poppins;
  font-size: 13px;
  font-weight: 400;
  line-height: 100%px;
  font-style: normal;
  background-color: #f7edd0;
  color: #daa31a;
  border-radius: 5px;
  padding: 2px 7px;
}
.cards .card__em--red {
  background-color: #f7c5ba;
  color: #fb471d;
}
.cards .card__em--green {
  background-color: rgba(51, 172, 100, 0.2);
  color: #309d5b;
}
.cards .card__text {
  padding: 0 27px 18px 33px;
}
.cards .card__text h4 {
  font-family: Poppins;
  font-size: 28px;
  font-weight: 600;
  line-height: 42px;
  color: #323142;
  margin-bottom: 2px;
}
.cards .card__rating {
  display: flex;
  justify-content: space-between;
}
.cards .card__rating-content {
  font-family: Manrope;
  font-size: 19px;
  font-weight: 400;
  line-height: 26px;
  color: #8e97a6;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cards .card__favourites {
  border-radius: 100%;
  border: 0px;
  background-color: #c5bfed;
  width: 40px;
  height: 40px;
}
.cards .card__like {
  border: 0px;
  background-color: transparent;
  position: absolute;
  right: 22px;
  top: 24px;
}
.cards .card__cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}
.cards .card__cost p {
  font-family: Manrope;
  font-size: 19px;
  font-weight: 700;
  line-height: 40px;
  color: #8e97a6;
}
.cards .card__cost p span {
  color: #323142;
  font-size: 26px;
}
.cards .card__cost button {
  border: 0px;
  width: 44px;
  height: 40px;
  background-color: #323142;
  border-radius: 9px;
}
.cards .card__cost button img {
  vertical-align: middle;
}

.card__viewAll {
  border: none;
  background-color: transparent;
  font-family: Poppins;
  font-size: 20px;
  font-weight: 500;
  line-height: 45px;
  color: #acadb9;
  letter-spacing: -0.1px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  grid-column: span 1;
  align-self: flex-end;
  text-decoration: none;
}
.card__viewAll svg {
  rotate: -90deg;
}
.card__viewAll:hover {
  color: #6c5fbc;
  cursor: pointer;
}
.card__viewAll:hover svg path {
  fill: #6c5fbc;
}

@media (width <= 576px) {
  .cards .card__text {
    padding: 0 18px 18px;
  }
  .cards .card__text h4 {
    font-size: 18px;
    line-height: 28px;
  }
  .cards .card__rating-content {
    font-size: 14px;
    line-height: 16px;
  }
}
.header {
  position: relative;
}
.header__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 103px;
  padding: 48px 0 24px 0;
  border-bottom: solid 1px #cbcbcb;
  position: relative;
}
.header__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}
.header__overlay.active {
  opacity: 1;
  pointer-events: all;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
  width: 100%;
  z-index: 1002;
}
.header__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: px;
  display: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  z-index: 1003;
}
.header__burger span {
  height: 2.5px;
  width: 100%;
  background: #323142;
  border-radius: 2px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}
.header__burger span:last-child {
  margin-bottom: 0;
}
.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
.header__menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  color: #676767;
}
.header__menu ul li {
  list-style: none;
}
.header__menu ul li a {
  text-decoration: none;
  color: #606060;
}
.header__menu ul li a[data-status=active] {
  color: #6c5fbc;
}
.header__menu ul li a:hover {
  color: #5c4eae;
}
.header__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.header.scrolled {
  font-size: 24px;
  font-weight: 700;
  line-height: px;
  transition: font-size 0.3s ease;
  padding: 10px 30px;
}

@media (width <= 1024px) {
  .header__content {
    gap: 40px;
  }
  .header__menu ul {
    gap: 44px;
  }
  .header__nav a,
.header button {
    font-size: 16px;
  }
}
@media (width <= 768px) {
  .header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: px;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 360px;
    background: white;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
    z-index: 1002;
    padding-top: 80px;
  }
  .header__nav.open {
    right: 0;
  }
  .header__menu {
    width: 100%;
  }
  .header__menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-direction: column;
    gap: 30px;
  }
  .header__menu ul li {
    text-align: center;
  }
  .header__menu ul li a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }
  .header__buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    width: 80%;
  }
  .header__buttons button {
    width: 100%;
  }
  .header__burger {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header__content {
    justify-content: space-between;
    padding: 20px 0;
  }
}
.main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}
.main__content {
  padding: 119px 0 130px;
}
.main__over {
  color: rgba(32, 31, 31, 0.2);
  font-family: Poppins;
  font-size: 15px;
  font-weight: 600;
  line-height: px;
  line-height: 120%;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.main__over-line {
  height: 1px;
  width: 54px;
  background-color: rgba(32, 31, 31, 0.2);
}
.main__title {
  font-family: Poppins;
  font-size: 75px;
  font-weight: 600;
  line-height: px;
  color: #201f1f;
  line-height: 120%;
  letter-spacing: -3px;
  margin-bottom: 16px;
}
.main__title span {
  color: #5c4eae;
}
.main__info {
  max-width: 500px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #676767;
  letter-spacing: 0.2px;
  opacity: 70%;
  margin-bottom: 53px;
}
.main__info span {
  font-family: Inter;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #6155ae;
}
.main__buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 33px;
}
.main__buttons .button {
  font-family: Poppins;
  font-size: 16.3px;
  font-weight: 500;
  line-height: px;
}
.main__buttons .button--primary {
  padding: 18px 30px 17px 29px;
}
.main__buttons .button--secondary {
  border: 1.5px solid #6c5fbc;
  color: #6c5fbc;
}
.main__trust {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main__trust-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: rgba(51, 65, 85, 0.7);
}
.main__stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main__banner {
  margin-right: 80px;
  position: relative;
}
.main__banner-img {
  width: 424px;
  height: 424px;
  position: relative;
}
.main__banner-card img {
  position: absolute;
  top: 25px;
  left: 173px;
  width: 329px;
  height: 89px;
  border-radius: 16.41px;
  box-shadow: -9.84px 12.3px 20.51px 0px rgba(0, 0, 0, 0.15);
}
.main__banner-card::before {
  content: url("../../images/main-card-vector.svg");
  position: absolute;
  top: 7px;
  right: -130px;
}
.main__banner-grafic img {
  position: absolute;
  top: 265px;
  right: 316px;
  width: 207px;
  height: 205px;
  border-radius: 16.76px;
  box-shadow: 14.12px 18.83px 37.65px 0px rgba(26, 32, 44, 0.15);
}
.main__banner-grafic::before {
  content: url("../../images/main-grafic-vector.svg");
  position: absolute;
  bottom: -85px;
  left: -136px;
}

@media (width <= 1024px) {
  .main__title {
    font-size: 55px;
  }
  .main__info {
    font-size: 16px;
  }
  .main__banner {
    margin-right: 0;
  }
  .main__banner-img {
    width: 324px;
    height: 324px;
  }
}
@media (width <= 768px) {
  .main .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .main__title {
    font-size: 42px;
  }
  .main__banner-img {
    width: 280px;
    height: 280px;
  }
  .main__content {
    padding-bottom: 48px;
  }
  .main__banner {
    padding-bottom: 80px;
  }
}
.features {
  background: #5c4eae url(../../images/features-bg-vector.png) no-repeat center/cover;
  padding: 49px 0;
}
.features__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 66px;
}
.features__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  min-width: 166px;
  max-width: 209px;
}
.features__item h3 {
  font-family: Public Sans;
  font-size: 43px;
  font-weight: 700;
  line-height: 54px;
  color: white;
}
.features__item p {
  font-family: Inter;
  font-size: 14.4px;
  font-weight: 500;
  line-height: 22px;
  color: #c5bfed;
}
.features__line {
  height: 123px;
  width: 1px;
  background-color: rgba(197, 197, 197, 0.08);
}

@media (width <= 768px) {
  .features__list {
    gap: 0;
    flex-direction: column;
  }
  .features__line {
    rotate: 90deg;
  }
}
.mobile-app__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 160px;
  padding: 100px 0 123px 0;
  border-bottom: solid 1px #cbcbcb;
}
.mobile-app__img {
  margin-left: 111px;
  position: relative;
}
.mobile-app__img img {
  width: 304px;
}
.mobile-app__img::after {
  content: url("../../images/vector-lines.svg");
  position: absolute;
  left: calc(304px + 15px);
}
.mobile-app__text {
  max-width: 500px;
  padding: 85px 0 0 0;
}
.mobile-app__text .h2 {
  font-family: Poppins;
  font-size: 50.92px;
  font-weight: 700;
  line-height: 58px;
  margin-bottom: 63px;
}
.mobile-app__text ul {
  margin-bottom: 66px;
}
.mobile-app__text ul li {
  font-family: Inter;
  font-size: 20px;
  font-weight: 400;
  line-height: 31px;
  color: #676767;
  margin: 0 0 28px 31px;
}
.mobile-app__text button {
  font-size: 18px;
  gap: 15px;
  position: relative;
}
.mobile-app__text button::after {
  content: url("../../images/vector-mobile.svg");
  position: absolute;
  top: 50px;
  left: 170px;
}

@media (width <= 1024px) {
  .mobile-app__content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: px;
  }
  .mobile-app__img {
    margin: 0;
  }
  .mobile-app__text::after {
    top: 80px;
    rotate: 240deg;
  }
}
@media (width <= 768px) {
  .mobile-app .h2 {
    font-size: 42px;
  }
  .mobile-app__content {
    flex-direction: column-reverse;
    align-items: center;
  }
  .mobile-app__text button::after {
    rotate: 240deg;
  }
}
@media (width <= 576px) {
  .mobile-app__img img {
    width: 180px;
  }
  .mobile-app__img::after {
    left: calc(180px + 8px);
  }
  .mobile-app button::after {
    top: 100px;
    left: 200px;
    width: 100px;
    height: 100px;
  }
}
@media (width <= 420px) {
  .mobile-app button::after {
    top: 100px;
    left: 150px;
  }
}
.restaurants .container {
  padding: 100px 0 120px;
  border-bottom: solid 1px #cbcbcb;
  display: flex;
  flex-direction: column;
  gap: 46.5px;
}
.restaurants__content h3 {
  margin-bottom: 86px;
  text-align: center;
  line-height: 18.17px;
}
.restaurants__items {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(396px, 1fr));
  gap: 29px;
}
@media (width <= 576px) {
  .restaurants__items {
    grid-template-columns: repeat(auto-fit, minmax(225px, 200px));
    justify-content: center;
  }
}
.restaurants__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}

@media (width <= 768px) {
  .restaurants .container {
    padding: 100px 60px 120px 60px;
  }
  .restaurants__content h3 {
    line-height: 40px;
    font-size: 42px;
    margin-bottom: 48px;
  }
  .restaurants__title {
    flex-direction: column;
    gap: 6px;
    margin: 0 auto;
  }
}
@media (width <= 420px) {
  .restaurants .container {
    padding: 80px 0;
  }
  .restaurants__content h3 {
    line-height: 32px;
    font-size: 36px;
    margin-bottom: 28px;
  }
}
.dishes .container {
  padding: 100px 0 120px;
  border-bottom: solid 1px #cbcbcb;
  display: flex;
  flex-direction: column;
  gap: 46.7px;
}
.dishes__content h3 {
  margin-bottom: 76px;
  text-align: center;
}
.dishes__items {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, 225px);
  gap: 30px;
}
.dishes__items .card__img {
  width: 185px;
  height: 179px;
  margin: 36px 25px 4px 15px;
}
.dishes__items .card h4 {
  font-size: 23px;
}
.dishes__items .card__rating {
  margin-bottom: 13px;
}
@media (width <= 576px) {
  .dishes__items {
    grid-template-columns: repeat(auto-fit, minmax(225px, 200px));
  }
}
.dishes__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}

@media (width <= 768px) {
  .dishes .container {
    padding: 100px 60px 120px 60px;
  }
  .dishes__content h3 {
    line-height: 40px;
    font-size: 42px;
    margin-bottom: 48px;
  }
  .dishes__title {
    flex-direction: column;
    gap: 6px;
    margin: 0 auto;
  }
}
@media (width <= 420px) {
  .dishes .container {
    padding: 80px 0;
  }
  .dishes__content h3 {
    line-height: 32px;
    font-size: 36px;
    margin-bottom: 28px;
  }
}
.control__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 141px;
  align-items: center;
  padding: 103px 0 138px;
  border-bottom: solid 1px #cbcbcb;
}
.control__text .h2 {
  font-family: Poppins;
  font-size: 50.92px;
  font-weight: 700;
  line-height: 58px;
  margin-bottom: 48px;
}
.control__items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.control__item {
  background-color: white;
  width: 345px;
  padding: 4px 17px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: px;
}
.control__item:hover {
  box-shadow: 0px 20.07px 30.1px 0px rgba(70, 70, 70, 0.1);
}
.control__item img {
  width: 72px;
  height: 72px;
}
.control__item-info {
  display: flex;
  align-items: center;
  gap: 19px;
}
.control__item-text h4 {
  font-family: Poppins;
  font-size: 19px;
  font-weight: 600;
  line-height: 26.6px;
  margin-bottom: 4px;
}
.control__item-text p {
  font-family: Poppins;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
}
.control__item-text p[data-status=cancelled] {
  color: #f1534e;
}
.control__item-time {
  font-family: Poppins;
  font-size: 13px;
  font-weight: 500;
  line-height: 18.2px;
  color: #acadb9;
}
.control__form {
  background-color: white;
  border: 1.6px solid #edf2f7;
  border-radius: 25px;
  padding: 37.7px 37.7px 46px;
}
.control__form:hover {
  box-shadow: 0px 20.07px 30.1px 0px rgba(70, 70, 70, 0.1);
}
.control__form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
  margin-bottom: 38px;
}
.control__form-header h3 {
  font-family: Manrope;
  font-size: 28px;
  font-weight: 800;
  line-height: 38px;
  color: #1a202c;
}
.control__form-header button {
  display: flex;
  align-items: center;
  gap: 12.6px;
  background-color: #fafafa;
  padding: 12.7px 25px 12.7px 18.8px;
  border: 0;
  border-radius: 12.56px;
  font-family: Manrope;
  font-size: 19px;
  font-weight: 600;
  line-height: 28px;
  color: #1a202c;
}
.control__form-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.control__form-item {
  padding: 25px;
  border: 1.25px solid #f4f4f6;
  border-radius: 19px;
}
.control__form-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
  margin-bottom: 20.4px;
}
.control__form-info {
  display: flex;
  align-items: center;
  gap: 2.4px;
}
.control__form-icon {
  width: 50.3px;
  height: 50.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: px;
  border-radius: 100%;
  text-align: center;
}
.control__form-icon--wallet {
  background-color: #f4f0ff;
}
.control__form-icon--money {
  background-color: #f2fdf6;
}
.control__form-text h4 {
  font-family: Manrope;
  font-size: 19px;
  font-weight: 800;
  line-height: 28px;
  color: #1a202c;
  letter-spacing: 0.63px;
  margin-bottom: 3px;
}
.control__form-text p {
  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #a0aec0;
  letter-spacing: 0.63px;
  margin-bottom: 3px;
}
.control__form-cost {
  font-family: Manrope;
  font-size: 22px;
  font-weight: 800;
  line-height: 33px;
  color: #1a202c;
  letter-spacing: 0.31px;
}
.control__form-divider {
  width: 100%;
  margin: 0 auto;
}
.control__form-divider input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6.7px;
  background: rgba(186, 186, 186, 0.2);
  border-radius: 56px;
  outline: none;
  cursor: pointer;
}
.control__form-divider input[type=range]::-webkit-slider-runnable-track {
  height: 6.7px;
  border-radius: 56px;
  background: linear-gradient(to right, var(--fill-color) 0%, var(--fill-color) var(--progress, 50%), rgba(186, 186, 186, 0.2) var(--progress, 50%), rgba(186, 186, 186, 0.2) 100%);
}
.control__form-divider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fill-color);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-top: -6.65px;
  transition: background 0.2s, transform 0.2s;
}
.control__form-divider input[type=range]::-webkit-slider-thumb:hover {
  background: var(--fill-color-hover);
  transform: scale(1.1);
}
.control__form-divider input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.15);
}
.control__form-divider input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fill-color);
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s;
}
.control__form-divider input[type=range]::-moz-range-thumb:hover {
  background: var(--fill-color-hover);
}
.control__form-divider input[type=range]::-moz-range-track {
  height: 6.7px;
  background: rgba(186, 186, 186, 0.2);
  border-radius: 56px;
}
.control__form-item:nth-child(1) .control__form-divider input[type=range] {
  --fill-color: rgba(108, 95, 188, 1);
  --fill-color-hover: #4d3dc6;
}
.control__form-item:nth-child(2) .control__form-divider input[type=range] {
  --fill-color: rgba(251, 173, 24, 1);
  --fill-color-hover: #F57F17;
}

@media (width <= 1024px) {
  .control__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .control__text .h2 {
    font-family: Poppins;
    font-size: 36px;
    font-weight: 700;
    line-height: 32px;
  }
  .control__item {
    width: 305px;
  }
  .control button,
.control h4 {
    font-size: 16px;
  }
}
@media (width <= 768px) {
  .control__text .h2 {
    font-family: Poppins;
    font-size: 36px;
    font-weight: 700;
    line-height: 32px;
  }
  .control__form-item-header {
    flex-wrap: wrap;
  }
}
@media (width <= 576px) {
  .control__item {
    width: 85%;
    flex-direction: column;
    gap: 12px;
    padding: 8px 17px;
    align-items: flex-start;
  }
  .control__item img {
    width: 60px;
    height: 60px;
  }
  .control__form {
    background: none;
    border: 0;
    padding: 0;
  }
  .control__form-icon {
    display: none;
  }
  .control__form-header {
    flex-direction: column;
    gap: 12px;
  }
  .control__form-cost {
    font-size: 16px;
  }
}
.reviews {
  padding: 116px 0 217px 0;
}
.reviews__content h3 {
  margin-bottom: 80px;
  text-align: center;
}
.reviews-slider {
  padding-bottom: 100px;
  overflow: visible;
}
.reviews .swiper-wrapper {
  padding-bottom: 100px;
}
.reviews .swiper-slide {
  height: auto;
  display: flex;
  background: white;
  max-width: 528px;
  padding: 38px 43px;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: px;
}
.reviews .swiper-slide:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.reviews__quote {
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #676767;
  font-style: italic;
  margin-bottom: 39px;
  max-width: 100%;
}
.reviews__quote::before, .reviews__quote::after {
  content: '"';
}
.reviews .swiper-scrollbar {
  height: 11px !important;
  width: 100%;
  max-width: 710px;
  background: #c5bfed;
  border-radius: 50px;
  position: absolute;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%);
  cursor: pointer;
}
.reviews .swiper-scrollbar-drag {
  height: 100% !important;
  background: #6c5fbc;
  border-radius: 50px;
  cursor: grab;
}
.reviews .swiper-scrollbar-drag:active {
  cursor: grabbing;
}

@media (width <= 768px) {
  .reviews .swiper-slide {
    max-width: 260px;
  }
  .reviews__quote {
    font-size: 16px;
  }
  .reviews .swiper-slider {
    padding-bottom: 60px;
  }
}
@media (width <= 576px) {
  .reviews .swiper-slide {
    width: 80%;
    padding: 28px 23px;
  }
  .reviews__quote {
    font-size: 14px;
  }

  .swiper-scrollbar {
    height: 8px !important;
  }
  .swiper-scrollbar-drag {
    width: 50% !important;
  }
}
.subscribe__content {
  background: #6c5fbc url("../../images/subscribe-bg.png") no-repeat center/cover;
  border-radius: 30px;
  position: relative;
  padding: 37px 72px 61px 66px;
  margin-bottom: 216px;
}
.subscribe__content .h2 {
  font-family: Poppins;
  font-size: 70px;
  font-weight: 800;
  line-height: px;
  color: #dedcef;
}
.subscribe__content img {
  position: absolute;
  right: 72px;
  top: 64px;
}
.subscribe__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  width: 440px;
  padding: 7.3px 6.4px 7.3px 22px;
  border-radius: 14px;
  background-color: #dedcef;
  box-shadow: 0px 7.25px 45px 0px rgba(0, 0, 0, 0.1);
}
.subscribe__form input {
  border: 0;
  width: 100%;
  outline: none;
  background-color: rgba(222, 220, 239, 0);
}
.subscribe__form input::placeholder {
  font-family: Poppins;
  font-size: 16px;
  font-weight: 400;
  line-height: px;
  color: #878787;
}
.subscribe__form .button {
  text-transform: uppercase;
  font-family: Poppins;
  font-size: 15px;
  font-weight: 500;
  line-height: px;
  color: #dedcef;
  letter-spacing: 3%;
  text-transform: uppercase;
}

@media (width <= 1024px) {
  .subscribe__form {
    width: 36vw;
  }
}
@media (width <= 768px) {
  .subscribe__content {
    padding-bottom: 164px;
  }
  .subscribe__content img {
    top: 264px;
  }
  .subscribe__form {
    width: 60vw;
  }
}
@media (width <= 576px) {
  .subscribe__content {
    padding: 30px 26px 164px;
  }
  .subscribe__content img {
    top: 214px;
    width: 220px;
    height: 220px;
  }
  .subscribe .h2 {
    text-align: center;
    font-size: 56px;
  }
  .subscribe__form {
    margin: 0 auto;
    padding: 5px 7px 5px 10px;
  }
  .subscribe__form .button {
    font-size: 13px;
    padding: 14px 18px;
  }
  .subscribe__form input::placeholder {
    font-size: 13px;
  }
}
@media (width <= 420px) {
  .subscribe__content {
    padding: 24px 22px 140px;
  }
  .subscribe__content img {
    top: 184px;
    width: 160px;
    height: 160px;
  }
  .subscribe .h2 {
    font-size: 42px;
  }
  .subscribe__form {
    padding: 4px 5px 4px 8px;
  }
  .subscribe__form .button {
    font-size: 10px;
    padding: 8px 12px;
  }
  .subscribe__form input::placeholder {
    font-size: 10px;
  }
}
.menu-main__container {
  padding: 114px 0 130px 0;
  display: grid;
  grid-template-columns: 1fr 377px;
  justify-content: space-between;
}
.menu-main__content {
  max-width: 757px;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: px;
}
.menu-main__content::after {
  content: url("../../images/vector-lines.svg");
  position: absolute;
  right: -60px;
  top: -32px;
}
.menu-main__slider {
  position: relative;
  overflow: hidden;
  max-width: 757px;
  width: 100%;
  padding-bottom: 40px;
}
.menu-main__banner {
  background: #6c5fbc url("../../images/subscribe-bg.png") no-repeat center/cover;
  border-radius: 30px;
  position: relative;
  padding: 56px 63px 63px;
  margin-bottom: 49px;
  width: 100%;
}
.menu-main__banner-text {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.menu-main__banner-text h1 {
  font-family: Poppins;
  font-size: 75px;
  font-weight: 800;
  line-height: 57px;
  color: #f9f9f9;
}
.menu-main__banner-text span {
  font-family: Poppins;
  font-size: 87px;
  font-weight: 800;
  line-height: 63px;
  color: #9485ee;
}
.menu-main__banner img {
  width: 255px;
  height: 255px;
  position: absolute;
  right: 36px;
  top: 40px;
}
.menu-main__banner--green {
  background: #4caf50 url("../../images/menu-bg-vector2.svg") no-repeat center/cover;
}
.menu-main__banner--green .menu-main__banner-text span {
  color: #a5d6a7;
}
.menu-main__banner--orange {
  background: #ff7043 url("../../images/menu-bg-vector.svg") no-repeat center/cover;
}
.menu-main__banner--orange .menu-main__banner-text span {
  color: #ffccbc;
}
.menu-main .swiper {
  width: 100%;
}
.menu-main .swiper-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}
.menu-main .swiper-pagination-bullet {
  display: inline-block;
  width: 30px;
  height: 6px;
  background: #e7e7f2;
  border-radius: 10px;
  margin: 0 6px !important;
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.menu-main .swiper-pagination-bullet-active {
  width: 61px;
  background: #6c5fbc;
}
.menu-main .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}
.menu-main__search {
  max-width: 100%;
}
.menu-main__search-input {
  background: #eaeaea;
  display: flex;
  align-items: center;
  gap: 5.2px;
  padding: 0 28px;
  border-radius: 19.5px;
  height: 75px;
  box-sizing: border-box;
  margin-bottom: 35px;
}
.menu-main__search-input input {
  width: 100%;
  height: 100%;
  border: 0px;
  background: transparent;
}
.menu-main__search-input input:focus-visible {
  outline: none;
}
.menu-main__search-input input::placeholder {
  font-family: Poppins;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 24px;
  color: #aaabba;
}
.menu-main__search-input img {
  width: 32px;
  height: 32px;
}
.menu-main__search-input:hover {
  box-shadow: 6px 9.5px 28px 1px rgba(240, 223, 255, 0.12);
  cursor: pointer;
  border: 3px solid #cbcbcb;
}
.menu-main__search-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.menu-main__search-buttons .button {
  display: block;
  text-align: center;
}
.menu-main__search-buttons .button--secondary {
  border: 2.17px solid #6c5fbc;
  border-radius: 15px 0 0 15px;
  color: #6c5fbc;
}
.menu-main__search-buttons .button--primary {
  border-radius: 0 15px 15px 0;
}
.menu-main h2 {
  font-family: Poppins;
  font-size: 21.5px;
  font-weight: 600;
  line-height: 29px;
  margin: 17.5px;
}
.menu-main__form {
  max-width: 377px;
  padding: 32px 32px 39px;
  border-radius: 23.8px;
  background: white;
}
.menu-main__form:hover {
  box-shadow: 6px 9.5px 28px 1px rgba(108, 95, 188, 0.12);
}
.menu-main__form-categories {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
  flex-wrap: wrap;
}
.menu-main__form-category {
  width: 42px;
  height: 69px;
  border-radius: 14.7px;
  padding: 16px 12px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: px;
  transition: transform 3s ease;
  cursor: pointer;
}
.menu-main__form-category p {
  font-family: Poppins;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
}
.menu-main__form-category img {
  width: 34px;
  height: 34px;
  transition: transform 3s ease;
}
.menu-main__form-category:nth-of-type(1), .menu-main__form-category:nth-of-type(3) {
  background: rgba(237, 182, 107, 0.35);
  color: #e28b14;
}
.menu-main__form-category:nth-of-type(1):hover, .menu-main__form-category:nth-of-type(3):hover {
  border-color: rgba(251, 166, 29, 0.5);
  box-shadow: 0px 16.4px 24.6px 0px rgba(251, 166, 29, 0.25);
}
.menu-main__form-category:nth-of-type(2) {
  background: rgba(247, 197, 186, 0.35);
  color: #fb471d;
}
.menu-main__form-category:nth-of-type(2):hover {
  border-color: rgba(251, 71, 29, 0.5);
  box-shadow: 0px 16.4px 24.6px 0px rgba(251, 71, 29, 0.25);
}
.menu-main__form-category:nth-of-type(4) {
  background: rgba(90, 133, 255, 0.35);
  color: #002073;
}
.menu-main__form-category:nth-of-type(4):hover {
  border-color: rgba(90, 133, 255, 0.5);
  box-shadow: 0px 16.4px 24.6px 0px rgba(135, 125, 200, 0.25);
}
.menu-main__form-category:hover {
  border: solid 3.8px;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  line-height: 13px;
}
.menu-main__form-category:hover img {
  width: 40px;
  height: 40px;
}
.menu-main__form-sort {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.menu-main__sort-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: Poppins;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 29px;
  color: #acadb9;
}
.menu-main__sort-btn:hover {
  color: #bbb6d7;
}
.menu-main__sort-btn--active {
  color: #6c5fbc;
}
.menu-main__sort-btn--active:hover {
  color: #4d3dc6;
}
.menu-main__form-input {
  position: relative;
  margin-bottom: 38px;
  border-radius: 23.8px;
}
.menu-main__form-input input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #755cd8 0%, #755cd8 0%, #cbcbcb 0%, #cbcbcb 100%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.menu-main__form-input input[type=range]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #755cd8 0%, #755cd8 var(--progress, 0%), #cbcbcb var(--progress, 0%), #cbcbcb 100%);
}
.menu-main__form-input input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #755cd8;
  border: 4.4px solid #bbb6d7;
  box-shadow: 0 0 8px rgba(117, 92, 216, 0.4);
  margin-top: -9px;
  transition: background 0.2s, transform 0.2s;
}
.menu-main__form-input input[type=range]::-webkit-slider-thumb:hover {
  background: #4d3dc6;
  transform: scale(1.1);
}
.menu-main__form-input input[type=range]::-webkit-slider-thumb:active {
  transform: scale(1.15);
}
.menu-main__form-input input[type=range]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #755cd8 0%, #755cd8 var(--progress, 0%), #cbcbcb var(--progress, 0%), #cbcbcb 100%);
}
.menu-main__form-input input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #755cd8;
  border: 3px solid #bbb6d7;
  box-shadow: 0 0 8px rgba(117, 92, 216, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.menu-main__form-input input[type=range]::-moz-range-thumb:hover {
  background: #4d3dc6;
}
.menu-main__form-input input[type=range]::-ms-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #755cd8;
  border: 3px solid #c2c3cb;
  box-shadow: 0 0 8px rgba(117, 92, 216, 0.4);
}
.menu-main__form-input input[type=range]::-ms-fill-lower {
  background: #755cd8;
}
.menu-main__form-input input[type=range]::-ms-fill-upper {
  background: #e0e0e0;
}
.menu-main__form-input .menu-main__form-progress {
  display: flex;
  justify-content: space-between;
  gap: px;
  font-family: Poppins;
  font-size: 10.6px;
  font-weight: 500;
  line-height: 29.6px;
  color: #676767;
  margin-top: 12px;
}
.menu-main__form-input .menu-main__form-progress p {
  margin: 0;
  text-align: center;
  min-width: 30px;
}
.menu-main__button {
  font-family: Poppins;
  font-size: 13.7px;
  font-weight: 600;
  line-height: 13.7px;
  color: #fff3eb;
  display: block;
  width: 100%;
  height: 60px;
  text-align: center;
}

@media (width <= 1440px) {
  .menu-main .container {
    padding-right: 30px;
    padding-left: 30px;
  }
  .menu-main__content {
    max-width: 80%;
  }
}
@media (width <= 1024px) {
  .container {
    grid-template-columns: 1fr;
  }
}
@media (width <= 1200px) {
  .menu-main__container {
    padding-bottom: 0;
    grid-template-columns: 1fr;
    gap: 80px;
    justify-items: center;
  }
  .menu-main__form-categories {
    gap: 12px;
  }
  .menu-main__banner img {
    width: 200px;
    height: 200px;
  }
}
@media (width <= 768px) {
  .menu-main__content {
    display: none;
    max-width: 80%;
    right: 6px;
    top: 90px;
  }
  .menu-main__form-sort {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.faq .container {
  padding: 196px 0 174px 0;
}
.faq .container h2 {
  font-family: Poppins;
  font-size: 45px;
  font-weight: 600;
  line-height: 54px;
  max-width: 408px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 90px;
  position: relative;
}
.faq .container h2::after {
  content: url("../../images/vector-lines.svg");
  position: absolute;
  right: -60px;
  top: -37px;
}
.faq .container h3 {
  font-family: Poppins;
  font-size: 24px;
  font-weight: 600;
  line-height: 60px;
  color: #323142;
}
.faq .container .plus {
  width: 30px;
  height: 30px;
  background: #6c5fbc;
  border-radius: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: px;
  flex-shrink: 0;
  transition: rotate 0.3s ease;
}
.faq .container .plus__line:first-child {
  width: 16px;
  height: 2px;
  background: white;
  position: absolute;
  border-radius: 2px;
}
.faq .container .plus__line:last-child {
  width: 2px;
  height: 16px;
  background: white;
  position: absolute;
  border-radius: 2px;
}
.faq .container .plus:hover {
  cursor: pointer;
}
.faq__item {
  padding: 28px 0 16px 0;
  border-bottom: 1px solid #adadad;
}
.faq__item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}
.faq__item-cont {
  font-family: Poppins;
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: #676767;
  letter-spacing: 1%;
}
.faq__item[open] .plus {
  rotate: 45deg;
}

@media (width <= 1440px) {
  .faq__items {
    width: 90%;
    margin: 0 auto;
  }
}
@media (width <= 768px) {
  .faq .container h2 {
    font-family: Poppins;
    font-size: 36px;
    font-weight: 600;
    line-height: 38px;
  }
  .faq .container h3 {
    font-family: Poppins;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: #323142;
  }
  .faq__item {
    padding: 24px 0 12px 0;
  }
  .faq__item-cont {
    font-family: Poppins;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    color: #676767;
    letter-spacing: 1%;
  }
}
@media (width <= 576px) {
  .faq .container h2 {
    font-family: Poppins;
    font-size: 30px;
    font-weight: 600;
    line-height: 32px;
  }
  .faq .container h3 {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    color: #323142;
  }
  .faq__item {
    padding: 18px 0 10px 0;
  }
  .faq__item-cont {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: #676767;
    letter-spacing: 1%;
  }
}
.error {
  padding: 130px 0;
}
.error__content {
  background: #6c5fbc url("../../images/subscribe-bg.png") no-repeat center/cover;
  border-radius: 30px;
  position: relative;
  padding: 80px 80px;
  box-shadow: 6px 7px 60px 0px rgba(157, 114, 255, 0.7);
}
.error__content img {
  width: 220px;
  height: 220px;
}
.error__content img:nth-of-type(1) {
  position: absolute;
  left: 52px;
  bottom: 64px;
}
.error__content img:nth-of-type(2) {
  position: absolute;
  right: 72px;
  top: 64px;
}
.error__text {
  text-align: center;
}
.error__text h1 {
  font-family: Poppins;
  font-size: 70px;
  font-weight: 800;
  line-height: 70px;
  color: #dedcef;
}
.error__text p {
  font-family: Poppins;
  font-size: 22px;
  line-height: 26px;
  color: #dedcef;
}

@media (width <= 576px) {
  .error {
    padding: 80px 0 100px;
  }
  .error__content {
    padding: 80px 20px;
  }
  .error__content img {
    width: 120px;
    height: 120px;
  }
  .error__content img:nth-of-type(1) {
    left: 28px;
    bottom: -64px;
  }
  .error__content img:nth-of-type(2) {
    right: 20px;
    top: -40px;
  }
  .error__text {
    text-align: center;
  }
  .error__text h1 {
    font-family: Poppins;
    font-size: 38px;
    font-weight: 800;
    line-height: 42px;
    color: #dedcef;
  }
  .error__text p {
    font-family: Poppins;
    font-size: 14px;
    line-height: 16px;
    color: #dedcef;
  }
}
.footer {
  background: #eaeaea;
}
.footer__nav {
  padding: 96px 0 29px;
  border-bottom: solid 1px #cbcbcb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}
.footer__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  font-family: Inter;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  color: #676767;
}
.footer__menu li {
  list-style: none;
}
.footer__menu li a {
  text-decoration: none;
  color: #606060;
}
.footer__menu li a:hover {
  color: #5c4eae;
}
.footer__info {
  padding: 57px 0 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: px;
}
.footer__info p {
  font-family: Inter;
  font-size: 17px;
  font-weight: 500;
  line-height: 25px;
  color: #676767;
}
.footer__social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
}

@media (width <= 768px) {
  .footer__nav {
    padding: 55px 0 33px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 60px;
  }
  .footer__menu {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
  }
  .footer__menu li a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
  }
  .footer__info {
    padding: 26px 0 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 60px;
  }
  .footer__info p {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 20px;
  }
  .footer__social-media {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .footer__social-media img {
    height: 16px;
    width: auto;
  }
}