html,
body {
  font-family: 'Roboto', sans-serif;
  /* шрифт 10px для тега html  */
  font-size: 62.5%;
  font-style: normal;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

ul {
  padding-left: 0;
}

ul>li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

.container {
  width: 120rem;
  margin: 0 auto;
}

@media (max-width: 108em) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 105em) {
  html {
    font-size: 8.75px;
  }
}

@media (max-width: 91.5em) {
  html {
    font-size: 7.9px;
  }
}

@media (max-width: 91em) {
  html {
    font-size: 8.4px;
  }
}

@media (max-width: 90em) {
  html {
    font-size: 7.9px;
  }
}

@media (max-width: 80em) {
  html {
    font-size: 7.2px;
  }
}

@media (max-width: 72em) {
  html {
    font-size: 6.5px;
  }
}

@media (max-width: 64em) {
  html {
    font-size: 5.5px;
  }
}

@media (max-width: 44em) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 38em) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 34em) {
  html {
    font-size: 7px;
  }
}

@media (max-width: 30em) {
  html {
    font-size: 6px;
  }
}

@media (max-width: 26em) {
  html {
    font-size: 4.5px;
  }
}

@media (max-width: 21em) {
  html {
    font-size: 4.4px;
  }
}

.header {
  background: linear-gradient(269.91deg, rgba(46, 49, 146, 0.7) 0%, rgba(212, 20, 90, 0.7) 98.16%);
  padding: 2.3rem 0 2.6rem;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.5rem;
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__telephone-text {
  line-height: 63%;
}

.header__telephone-text span:last-child {
  margin-left: 1.5rem;
}

.header__telephone-img {
  width: 2rem;
  height: 2rem;
}

.header__maps span {
  line-height: 107%;
}

.header__maps-img {
  width: 1.5rem;
  height: 2.5rem;
}

.header__telephone-img,
.header__maps-img,
.header__instagram-img {
  margin-right: 1.5rem;
}

.header__instagram span {
  line-height: 100%;
}

.header__instagram-img {
  width: 3rem;
  height: 3rem;
}

.header__telephone,
.header__maps,
.header__instagram {
  display: flex;
  align-items: center;
}

.main-display {
  padding-top: 4.7rem;
}

.main-display__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-display__logo {
  display: flex;
  align-items: center;
}

.main-display__logo-img {
  width: 10rem;
  height: 6rem;
  margin-right: 1.1rem;
}

.main-display__title {
  font-style: italic;
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 117%;
}

.main-display__nav {
  display: flex;
}

.main-display__nav li {
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 117%;
  color: #737373;
}

.main-display__nav li:not(:last-child) {
  margin-right: 2.5rem;
}

.main-display__center {
  display: flex;
  justify-content: space-between;
}

.main-display__header {
  font-weight: 900;
  font-size: 5rem;
  line-height: 118%;
  margin-bottom: 1rem;
}

.main-display__subheader {
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 28px;
  margin-bottom: 2rem;
}

.main-display__button {
  font-weight: 900;
  font-size: 2rem;
  line-height: 115%;
  text-transform: uppercase;
  color: #ffffff;
  padding: 1.5rem 3rem;
  border: none;
  background: linear-gradient(95.2deg, #B90160 2.23%, #2E3192 99.51%);
  border-radius: 0.7rem;
  cursor: pointer;
}

.main-display__left {
  padding-top: 24rem;
}

.main-display__right {
  width: 53.3rem;
  height: 68.6rem;
}

.about__header {
  font-weight: 400;
  font-size: 5rem;
  line-height: 118%;
  text-align: center;
  margin-bottom: 11rem;
}

.about__header span {
  background: linear-gradient(180deg, #B90160 0%, #3D5BF5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__items {
  display: grid;
  grid-template-columns: repeat(3, 29%);
  gap: 0 6.1rem;
}

.about__item {
  box-shadow: 0px 0px 40px rgba(184, 0, 95, 0.2);
  border-radius: 0.9rem;
  overflow: hidden;
}

.about__item-description {
  color: #ffffff;
  padding: 5%;
}

.about__item-header {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 117%;
  color: #000000;
}

.about__item-text {
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 114%;
  color: #767676;
}

.about__item-img {
  width: 100%;
  height: 21.5rem;
}

.review {
  margin-top: 22.5rem;
  background: linear-gradient(94.31deg, rgba(212, 20, 90, 0.25) 0.96%, rgba(46, 49, 146, 0.25) 104.83%);
}

.review__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 6.3rem 4.5rem 5rem;
  min-height: 24.7rem;
  background: #ffffff;
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.25);
  border-radius: 0.9rem;
  opacity: 0.4;
}

.review__slide.swiper-slide-active {
  opacity: 1;
}

.review__wrapper {
  padding-top: 10rem;
  padding-bottom: 7rem;
}

.review__slide-text {
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 117%;
}

.review__slide-text:after {
  content: '';
  display: block;
  height: 0.2rem;
  width: 13rem;
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #B90160 0%, #3D5BF5 100%);
}

.review__slide-name {
  position: absolute;
  bottom: 12%;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 115%;
  text-align: center;
}

.review__slide-img {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  width: 11.5rem;
  height: 14rem;
  background: linear-gradient(180deg, #B90160 0%, #3D5BF5 100%);
}

.review__slide-photo {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  width: 10.5rem;
  height: 12.5rem;
  background-color: #ffffff;
  border-image: linear-gradient(180deg, #B90160 0%, #3D5BF5 100%);
}

.footer {
  position: relative;
  font-size: 1.4rem;
}

.footer__wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 17.2rem 12rem 8.4rem;
}

.footer__wrap li {
  font-weight: 300;
  line-height: 114%;
}

.footer__header {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 114%;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__about {
  width: 22.4rem;
}

.footer__about li:first-child {
  margin-bottom: 2rem;
}

.footer__instagram-img {
  width: 3.3rem;
  height: 3.3rem;
}

.footer__decor-1 {
  position: absolute;
  left: 18%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: 11rem;
  height: 12.5rem;
}

.footer__decor-2 {
  position: absolute;
  left: 77%;
  top: 47%;
  transform: translate(-50%, -50%);
  width: 23.3rem;
  height: 26.4rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  backdrop-filter: blur(4rem);
  padding: 3rem 0;
  z-index: 100;
  display: none;
}

.modal__inner {
  width: 118rem;
  height: 50rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: auto auto;
  background: #ffffff url('../img/modal-back.svg');
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 0 3.5rem rgba(212, 20, 90, 0.25);
  border-radius: 1.5rem;
}

.modal__inner-header {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 117%;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
}

.modal__inner-elements {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.modal__item {
  width: 75rem;
  display: flex;
  justify-content: space-between;
}

.modal__item:first-child {
  margin-bottom: 1.7rem;
}

.modal__item-long {
  width: 100%;
  min-height: 8rem;
  margin-bottom: 4rem;
}

.modal__wrap-input {
  width: 36rem;
  min-height: 5rem;
}

.modal__item textarea::placeholder,
.modal__item input::placeholder {
  color: #989898;
}

.modal__item textarea,
.modal__item input {
  border: 1px solid #A2A2A2;
  border-radius: 0.9rem;
}

.modal__input {
  width: 100%;
  height: 100%;
  outline: none;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 114%;
  padding: 0 2.1rem;
}

.modal__message {
  width: 100%;
  outline: none;
  resize: none;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 114%;
  padding: 1rem 2.1rem;
}

.modal__button {
  width: 17rem;
  font-weight: normal;
  font-size: 2rem;
  line-height: 115%;
  padding: 1rem 3rem;
}

.modal__policy {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 115%;
}

.modal__policy input {
  margin-right: 1rem;
  width: 2rem;
  height: 1.5rem;
}

.modal__policy a {
  text-decoration: none;
}

.active {
  display: flex;
}

body.lock {
  overflow: hidden;
}

@media (max-width: 48em) {
  html {
    font-size: 10px;
  }

  .container {
    width: 96%;
  }

  .header__wrap {
    display: flex;
    flex-direction: column;
  }

  .header__instagram,
  .header__telephone-img,
  .header__maps-img,
  .main-display__nav,
  .main-display__right,
  .footer__decor-1,
  .footer__decor-2,
  .modal__policy {
    display: none;
  }

  .header__telephone {
    margin-bottom: 1.6rem;
  }

  .header__telephone-text {
    display: flex;
    flex-direction: column;
  }

  .header__telephone-text span:first-child {
    margin-bottom: 1rem;
  }

  .header__telephone-text span:last-child {
    margin: 0;
  }

  .main-display__header {
    font-size: 4rem;
  }

  .main-display__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10rem;
  }

  .main-display__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10rem;
    text-align: center;
  }

  .about__header {
    font-size: 2.5rem;
  }

  .about__items {
    grid-template-columns: repeat(1, 100%);
    gap: 4rem 0;
  }

  .footer__wrap {
    padding: 6rem 0 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__instagram {
    display: flex;
    align-items: center;
    flex-direction: column;
    order: 1;
    margin-bottom: 2rem;
  }

  .footer__telephone {
    order: 2;
    margin-bottom: 2rem;
  }

  .footer__about {
    order: 3;
  }

  .modal__item {
    flex-direction: column;
    width: 100%;
  }

  .modal__wrap-input {
    width: 100%;
    margin-bottom: 1.7rem;
  }

  .modal__item:first-child {
    margin-bottom: 0;
  }

  .modal__inner {
    width: 83%;
  }

  .modal__inner-elements {
    width: 68%;
  }
}
