:root {
  --mq-size-sm: 576px;
  --mq-size-md: 768px;
  --mq-size-lg: 992px;
  --mq-size-xl: 1200px;
  --yandex-white: #FFFFFF;
  --yandex-black: #272727;
  --yandex-violet: #211381;
  --yandex-grey: #747474;
  --yandex-yellow: #FED305;
    
}
@font-face {
    font-family: 'Yandex Sans';
    src:
        url('../fonts/YandexSansText-Light.woff2') format('woff2'),
        url('../fonts/YandexSansText-Light.woff') format('woff'),
        url('../fonts/YandexSansText-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
  }
@font-face {
    font-family: 'Yandex Sans';
    src: 
        url('../fonts/YandexSansText-Medium.woff2') format('woff2'),
        url('../fonts/YandexSansText-Medium.woff') format('woff'),
        url('../fonts/YandexSansText-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}  

.container {
  --container-width: 100%;
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}
.page {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 140%;
    color: var(--yandex-black);
    overflow-x: hidden;
    
    
}
.page.hidden {
  overflow: hidden;
}
.page__bg {
  position: absolute;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  z-index: -5;
  height: 665px;
  
}
.page__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  
}

.header {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 4px 24px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  left: -10px;
  top: -10px;
  right: -10px;
  bottom: -10px;
  z-index: -1;
  background: url(../img/bacground.jpg) no-repeat top center;
  background-size: cover; 
  filter: blur(12px);
}



.header__body {
  display: flex;
 align-items: center;
  justify-content: space-between;
  padding: 12px;
}
.header__logo {
  flex-grow: 1;
}
.header__logo-img {
  width: 119px;
  height: 25px;
}
.nav__list {
  display: none;
  position: absolute;
  top: 50px;  
  left: 0;
  z-index: 1;
  list-style: none;
  padding-top: 20px;
  padding-left: 0;  
  width: 100%;
  height: 100vh;
  margin-bottom: 0;
  
}
.nav__list::after {
  content: "";
  background: url(../img/bacground.jpg) no-repeat top;
  background-size: cover;  
  filter: blur(10px);
  position: absolute;
  left: -10px;
  top: -10px;
  right: -10px;
  bottom: -10px;
  z-index: -1;
}
.nav__list.is-open {
  display: block;  
}

.nav__item {
  text-align: center;
  padding-bottom: 20px;
}

.nav__link {
  font-family: Yandex Sans; 
  font-weight: 500;
  font-size: 25px;
  line-height: 150%;
  color: var(--yandex-white);
  text-decoration: none;
}
.nav__link:hover {
  text-decoration: underline;
  color: var(--yandex-yellow);

}

.nav__btn {
  cursor: pointer;
  width: 32px;
  height: 18px;
  margin-left: 12px;
}
.bar {
  display: block;
  transform: rotate(0deg);
  transition: 0.2s ease all;
  border-radius: 2px;
  height: 2px;
  width: 32px;
  margin-bottom: 6px;
  background: var(--yandex-white);
}
.bar--bot {
  margin-bottom: 0;
}

.nav__btn.is-open .bar--top {
  transform: rotate(45deg);
  transform-origin: 15% 15%;
}
.nav__btn.is-open .bar--mid {
  opacity: 0;
}
.nav__btn.is-open .bar--bot {
  transform: rotate(-45deg);
  transform-origin: 15% 95%;
}

.btn {
  display: inline-block;
  background: var(--yandex-yellow);
  border-radius: 8px;
  padding: 15px 40px;
  font-family: Yandex Sans;
  font-weight: 500;
  font-size: 13px;
  line-height: 15px;
  color: var(--yandex-black);
  text-decoration: none;
}
.btn::after {
  display: inline-block;
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--yandex-black);
  border-right: 1px solid var(--yandex-black);
  margin-left: 3px;
  transform: rotate(45deg);

}
.header__btn {
  display: none;
}
.title {
  font-size: 32px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color:var(--yandex-black);
}
.intro {
  height: 540px;
  padding-top: 16px;
}
.intro,
.intro__title {
  text-align: center;
  color:var(--yandex-white);
}
.capsula__title {
  text-align: center;
}
.capsula__pic {
  margin-top: 38px;
  margin-bottom: 30px;
}
.capsula__img {
  max-width: 100%;
  height: auto;
}
.cabsula__sub-title {
  font-size: 24px;
  line-height: 110%;
}
.capsula__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 25px;
}
.capsula__item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 5px;
}
.capsula__item::before {
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  content: '';
  width: 10px;
  height: 10px;
  border: 2px solid var(--yandex-yellow);
}
.capsula__btn {
  margin-top: 15px;

}

.inside {
  margin-top: 40px;
  padding: 32px 18px 32px 24px;
  background: radial-gradient(100.78% 106.26% at 33.46% 18.73%, rgba(23, 23, 94, 0.8) 0%, rgba(94, 58, 144, 0.8) 100%);
  box-shadow: 0px 24px 40px rgba(59, 50, 135, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  color: var(--yandex-white);
}
.inside__title {
  font-weight: bold;
font-size: 24px;
line-height: 110%;
}
.inside__sub-title {
  margin-top: 20px;
  max-width: 200px;
}
.inside__list {
  list-style: none;
  margin-top: 20px;
}
.inside__item {
  margin-bottom: 25px;
  position: relative;
}
.inside__item:last-child {
  margin-bottom: 0;
}
.inside__item::before {
  display: block;
  position: absolute;
  top: 0;
  left: -30px;
  content: '';
  width: 16px;
  height: 16px;
  background: url(../img/moon.png) no-repeat center;
  background-size: cover;
}
.extras {
  padding-top: 40px;
}
.extras__title {
  font-weight: bold;
  font-size: 24px;
  line-height: 110%;
}
.extras__desc {
  line-height: 110%;
}
.extras__desc--violet {
  color: var(--yandex-violet);
}
.works {
  padding: 32px 0 32px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(241, 241, 241, 0.6) 100%);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  margin-bottom: 40px;
}
.works__title {
  max-width: 200px;
}
.works__sub-title {
  margin-top: 12px;
  max-width: 200px;
}
.works__list {
  list-style: none;
  margin-top: 32px;
  counter-reset: counter;
  padding-left: 15px;
  max-width: 350px;
}
.works__item {
  counter-increment: counter;
  position: relative;
  border-left: 1px solid var(--yandex-grey);
  padding-left: 36px;
  padding-right: 20px;
  height: 145px;
  font-size: 24px;
  line-height: 110%;
}
.works__item:last-child {
  border-left: none;
}
.works__item::before {
  content: counter(counter);
  border: 2px solid var(--yandex-violet);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  position: absolute;
  left: -16px;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  padding-top: 5px;
  background-color: #F9F9F9;
  
}
.works__sub-item {
  margin-top: 12px;
  font-size: 14px;
  line-height: 140%;
  display: block;
}

.map__google {
  height: 660px;
  margin-top: 20px;
}

.service-fee {
  margin-top: 40px;
  padding: 32px 24px;
  background: radial-gradient(100.78% 106.26% at 33.46% 18.73%, rgba(7, 7, 7, 0.8) 0%, rgba(77, 77, 77, 0.8) 100%);
  border-radius: 40px;
  color: var(--yandex-white);
}
.service-fee__title {
  margin-bottom: 26px;
  color: var(--yandex-white);
}
.service-fee__desc {
  font-size: 24px;
line-height: 110%;
}
.service-fee__price {
  font-weight: 300;
font-size: 72px;
line-height: 110%;
}
.service-fee__booking {
  padding-top: 20px;
  border-top: 2px solid var(--yandex-grey);
  margin-top: 30px;
}
.service-fee__btn {
  margin-bottom: 12px;
}

.questions {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F4F4 100%);
  border-radius: 40px;
  padding: 12px;
  margin-top: 50px;
}
.questions__list {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}
.questions__item {
  padding: 20px 60px 20px 16px;
  border: 1px solid var(--yandex-grey);
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
}
.questions__item::before,
.questions__item::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  content: '';
  width: 18px;
  height: 2px;
  background-color: var(--yandex-grey);
}
.questions__item::before {
  transform: rotate(90deg);
}
.questions__answer {
  display: none;
}
.questions__answer.is-open {
  display: block;
  margin-top: 20px;
  padding-left: 20px;
  border-top: 1px solid var(--yandex-violet);
  color: var(--yandex-violet);
  font-size: 0.8em;
}

.about {
  padding-top: 40px;
}
.about__body {
  margin-top: 60px;
  padding-bottom: 80px;
}

.slide__img {
  border-radius: 50%;
}
.slide__name {
  font-size: 24px;
  line-height: 110%;
  margin-top: 15px;
}
.slide__date {
  color: var(--yandex-grey);
}
.slide__desc {
  padding-right: 20px;
 
}

.footer {
  margin-top: 20px;
  padding-top: 44px;
  padding-bottom: 44px;
  background: radial-gradient(100.78% 106.26% at 33.46% 18.73%, rgba(7, 7, 7, 0.8) 0%, rgba(77, 77, 77, 0.8) 100%);
  text-align: center;
  color: var(--yandex-white);

}

@media (min-width: 576px) {
  .container {
    --container-width: var(--mq-size-sm);
  }
  .page__bg {
    height: 800px;
  }
  .intro {
    height: 750px;
  }
  .intro__subtitle {
    width: 60%;
    max-width: 300px;
    margin: 0 auto;
  }
  .capsula__pic {
    margin-top: 80px;
  }
  .capsula__body {
    padding-right: 120px;
  }
  .capsula__item {
    margin-bottom: 30px;
  }
  .cabsula__sub-title {
    padding-left: 30px;
  }
  .capsula__btn {
    margin-left: 30px;
  }

  .inside__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
  }
  .slide {
    position: relative;
  }
  .slide__photo {
    position: absolute;
    
  }
  .slide__body {
    padding-left: 220px;
    height: 210px;
    max-width: 500px;
    
  }
}
@media (min-width: 768px) {
  .container {
    --container-width: var(--mq-size-md);
  }
  .page__bg {
    height: 960px;
  }
  .intro {
    height: 850px;
    padding-top: 40px;
  }
  .header__logo-img {
    width: 179px;
    height: 47px;
  }
  .header__btn {
    display: block;
  }
  .nav__list {
    top: 70px;     
  }
  .capsula {
    width: 600px;
    margin: 0 auto;
  }
  .capsula__body {
    padding-right: 150px;
  }
  .inside {
    padding: 50px 50px 70px 70px;
    margin-top: 100px;
  }
  .inside__list {
    margin-top: 30px;
  }
  .extras {
    display: grid;
    grid-template-columns: 30% 1fr;
    padding-left: 30px;
    padding-right: 30px;
  }
  .extras__title {
    grid-row: 1 / 3;
  }
  .works {
    padding-top: 88px;
    padding-left: 75px;
  }
  .works__title {
    font-size: 40px;
  }
  .works__list {
    margin-top: 60px;
    max-width: 450px;
    
  }
  .works__item {
    margin-left: 20px;
    padding-left: 60px;
    padding-right: 20px;
  }
  .works__item::before {
    width: 64px;
    height: 64px;
    left: -34px;
    font-size: 24px;
    line-height: 140%;
    padding-top: 15px;
  }
  .map {
    margin-top: 100px;
  }
  .map__title {
    font-size: 40px;
  }
  .map__google {
    height: 800px;
  }
  .service-fee {
    margin-top: 120px;
    padding: 48px 76px;
  }
  .service-fee__booking {
    display: flex;
    justify-content: flex-start;
  }
  .service-fee__btn {
    width: 280px;
    margin-right: 20px;
  }
  .service-fee__title {
    font-size: 40px;
  line-height: 110%;
  }
  
  .service-fee__body {
    padding-bottom: 30px;
  }
  .service-fee__desc {
    margin-top: 64px;

  }
  .service-fee__price {
    font-size: 144px;
  }

  .about__title {
    font-size: 40px;
  }
  .about__body {
    padding-top: 100px;
    padding-bottom: 160px;
  }
  .questions {
    padding: 60px 76px 40px 64px;
  }
  .questions__title {
    font-size: 40px;
  }
  .questions__list {
    margin-top: 40px;
  }
  .questions__item {
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 110%;
  }
  .questions__item:last-child {
    margin-bottom: 0;
  }
  .footer {
    margin-top: 200px;
  }


}
@media (min-width: 992px) {
  .container {
    --container-width: var(--mq-size-lg);
  }
  .service-fee__booking {
    padding-right: 150px;
  }

}
@media (min-width: 1200px) {
  .container {
    --container-width: var(--mq-size-xl);
  }
  .page__bg {
    height: 1108px;
  }
  .intro {
    height: 850px;
  }
  .header__logo {
    flex-grow: 0;
  }
  .nav {
    order: 1;
  }
  .header__btn {
    order: 2;
  }
  .nav__btn {
    display: none;
  }
  .nav__list {
    display: flex;
    position: static;
    padding-top: 0;
    width: auto;
    height: auto;
    
    
  }
  .nav__list::after {
    content: "";
    background: none;
  }
  
  .nav__item {
    padding-bottom: 0;
    margin-right: 30px;
  }
  .nav__item:last-child {
    margin-right: 0;
  }
  
  .nav__link {
    font-size: 13px;
    line-height: 15px;
  }
  .capsula {
    display: grid;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .capsula__title {
    grid-column: 1 / -1;
    font-size: 40px;
    width: 400px;
    margin: 0 auto 60px auto;
  }
  .cabsula__sub-title {
    margin-top: 60px;
  }
  .capsula__pic {
    grid-row: 2 / 3;
    margin: 0;
  }

  .inside__title {
    font-size: 40px;
  }
  .inside__list {
    margin-top: 40px;
    margin-left: 30px;
    font-size: 32px;
    line-height: 110%;
    row-gap: 40px;
  }
  .inside__item {
    padding-right: 50px;
  }
  .inside__item::before {
    left: -60px;
    width: 32px;
    height: 32px;
  }
  .extras {
    grid-template-columns: 50% 1fr;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: 100px;
  }
  .extras__title {
    font-size: 40px;
    line-height: 110%;
  }
  .extras__desc {
    font-size: 24px;
    line-height: 120%;
  }
  .extras__desc--violet {
    font-size: 40px;
    line-height: 110%;
  }
  .works {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 40% 1fr;
  }
  .works__list {
    margin-top: 0; 
  }
  .works__sub-title {
    margin-top: 50px;
    margin-bottom: 50px;
   
  }
  .service-fee {
    display: grid;
    grid-template-columns: 30% 1fr;
  }
  .about {
    padding-top: 200px;
  }
  .slide__name {
    font-size: 24px;
    line-height: 110%;
    margin-top: 15px;
  }


  .questions {
    
    display: grid;
    grid-template-columns: 30% 1fr;
  }
  .questions__list {
    margin-top: 0;
  }


}