*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
  font-family: "SF-Pro-Display";
}

@font-face {
  font-family: "SF-Pro-Display";
  src: url("../fonts/SF-Pro-Display-Regular.woff2") format("woff2"),
    url("../fonts/SF-Pro-Display-Regular.woff") format("woff");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF-Pro-Display";
  src: url("../fonts/SF-Pro-Display-Bold.woff2") format("woff2"),
    url("../fonts/SF-Pro-Display-Bold.woff") format("woff");
  font-style: normal;
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: "spaceagecyrillic";
  src: url("../fonts/spaceagecyrillic-regular.woff2") format("woff2"),
    url("../fonts/spaceagecyrillic-regular.woff") format("woff");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

body {
  font-family: "SF-Pro-Display";
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  color: #fff;
  background-color: #000;
}
.container {
  max-width: 1220px;
  padding: 0 10px;
  margin: 0 auto;
}

.title {
  font-family: "spaceagecyrillic";
  font-size: 48px;
  line-height: 48px;
  font-weight: 400;
  padding: 100px 0;
}

.button {
  text-transform: uppercase;
  border: 1px solid #fff;
  font-size: 18px;
  line-height: 21px;
  padding: 20px 45px;
}

.header {
  background-image: url(../images/header-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.header__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 75px 0 30px;
}
.menu__btn {
  display: none;
}
.menu__list {
  display: flex;
}

.menu__item {
  margin-right: 30px;
}

.menu__link {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 21px;
  transition: color 0.5s;
}

.menu__link:hover {
  color: #cb0e0e;
}

.phone {
  font-size: 24px;
  line-height: 29px;
  margin-left: auto;
}

.login {
  margin-left: 22px;
  margin-right: 134px;
}

.header__content {
  max-width: 600px;
}

.header__title {
  font-family: "spaceagecyrillic";
  font-size: 60px;
  line-height: 60px;
  font-weight: 400;
  margin-bottom: 20px;
}

.header__title span {
  font-size: 110px;
}

.header__text {
  font-size: 24px;
  line-height: 29px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.button__btn {
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  border: 1px solid #fff;
  padding: 15px 10px 16px;
}

.header__description {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  margin-bottom: 5%;
}

.header__description-text {
  width: 165px;
  font-size: 14px;
  line-height: 17px;
}

.header__description-text + .header__description-text {
  margin-left: 52px;
}

.about {
  background-image: url(../images/about-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.about__item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 150px;
}

.about__item:nth-child(odd) {
  flex-direction: row-reverse;
}

.about__img {
  max-width: 100%;
}

.about__content {
  width: 600px;
}

.about__content-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about__content-subtitle {
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  font-weight: 400;
  color: #036cca;
  margin-bottom: 30px;
}

.about__content-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.about__content-text p {
  width: 165px;
}

.about__table {
  margin-bottom: 50px;
}
.about__table-tr {
  border: 1px solid #fff;
  border-left: none;
  border-right: none;
}

.about__table-tr + .about__table-tr {
  font-size: 36px;
  line-height: 43px;
  font-weight: bold;
  text-align: center;
}
.about__table-td {
  padding: 10px 30px 10px 0;
}
.about__table-td span {
  font-size: 14px;
  line-height: 17px;
  display: block;
}

.about__table-caption {
  caption-side: bottom;
  text-align: left;
  margin-top: 20px;
  font-size: 12px;
  line-height: 14px;
}

.how-to {
  background-image: url(../images/how-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-bottom: 100px;
}

.how-to__box-list {
  display: none;
}

.how-to__box {
  text-align: center;
}

.how-to__box circle,
.how-to__box text,
foreignObject {
  transition: all 0.5s;
  cursor: pointer;
  font-size: 18px;
}

.how-to__box g:hover circle {
  fill: #036cca;
  r: 20px;
}

.how-to__box g:hover text {
  fill: #036cca;
  font-size: 36px;
}
.how-to__box g:hover foreignObject {
  color: #036cca;
  font-size: 22px;
}

foreignObject {
  text-align: left;
}

.to-book {
  background-image: url(../images/to-book-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-bottom: 100px;
  min-height: 100vh;
}

.to-book__inner {
  display: flex;
  justify-content: space-between;
}

.to-book__text {
  margin-top: 100px;
  width: 165px;
  font-size: 14px;
  line-height: 17px;
  margin-left: auto;
  margin-right: 52px;
}

.to-book__text + .to-book__text {
  margin-left: 0;
  margin-right: 0;
}

.info {
  background-image: url(../images/offer-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-bottom: 100px;
}

.special-offer__inner {
  display: flex;
  justify-content: space-between;
}

.special-offer__item {
  width: 500px;
}

.special-offer__item-box {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 25px;
  border: 1px solid #fff;
  padding: 40px 75px;
  text-align: center;
}

.special-offer__item-text {
  font-size: 24px;
  line-height: 29px;
  width: 236px;
  margin: 0 auto;
}

.special-offer__item-text span {
  color: #cb0e0e;
}

.special-offer__old-price {
  font-size: 14px;
  line-height: 17px;
  text-align: right;
  margin-bottom: 16px;
  position: relative;
}

.special-offer__old-price::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 1px;
  background-color: #cb0e0e;
  top: 7px;
  right: 0;
  transform: rotate(15deg);
}

.special-offer__new-price {
  font-size: 48px;
  line-height: 57px;
}

.special-offer__btn {
  width: 100%;
}

/* services */

.services {
  padding-bottom: 200px;
}

.services__inner {
  display: flex;
  justify-content: space-between;
}

.services__box-list {
  width: 620px;
  margin-right: 80px;
  font-size: 24px;
  line-height: 29px;
}

.services__list-title {
  margin-bottom: 25px;
}

.services__list {
  list-style: none;
  margin-bottom: 25px;
}

.services__list-item {
  padding-left: 36px;
  position: relative;
}

.services__list-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  left: 0;
  top: 4px;
}

.services__description {
  font-size: 12px;
  line-height: 14px;
}

.services__buttons {
  width: 500px;
}

.services__btn {
  width: 100%;
}

.services__btn--first {
  position: relative;
  margin-bottom: 50px;
}

.services__btn--first::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 43px;
  background-image: url(../images/photo.png);
  width: 192px;
  height: 150px;
}

.slider {
  text-align: center;
}

.slider__inner {
  margin-bottom: 50px;
  border: 1px solid #fff;
  padding: 100px 0;
}

.slider__box-img {
  width: 800px;
  height: 450px;
  margin: 0 auto;
}

.slider__description {
  font-family: "spaceagecyrillic";
  font-size: 24px;
  line-height: 30px;
}

.slider__arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 5;
}

.slider__arrow-left {
  left: 75px;
}
.slider__arrow-right {
  right: 75px;
}

/* contacts */
.contacts {
  background-color: #010203;
  padding-bottom: 100px;
}

.contacts__inner {
  display: flex;
  justify-content: space-between;
}

.contacts__box {
  width: 500px;
}

.contacts__title {
  padding-bottom: 46px;
}
.contacts__box-text {
  font-size: 24px;
  line-height: 29px;
  margin-bottom: 80px;
}

.contacts__form-input {
  background-color: #010203;
  border: none;
  border-bottom: 1px solid #fff;
  margin-bottom: 30px;
  color: #fff;
  width: 100%;
  font-family: "SF-Pro-Display";
  font-size: 14px;
  line-height: 17px;
  padding: 20px 0;
  outline: none;
}

.contacts__form-input::placeholder {
  color: #fff;
  font-family: "SF-Pro-Display";
  font-size: 14px;
  line-height: 17px;
}

.contacts__btn {
  margin-top: 70px;
  width: 100%;
}

.contacts__guarantees {
  width: 500px;
}

.contacts__guarantees-text {
  font-size: 24px;
  line-height: 29px;
}

.contacts__guarantees-img {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

/* footer */
.footer {
  background-image: url(../images/footer-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 100px 0 150px;
}

.footer__inner {
  display: flex;
  justify-content: flex-end;
}

.footer__text {
  width: 167px;
  text-transform: uppercase;
}

.footer__text p + p {
  margin-top: 50px;
}
.footer__menu,
.footer__links {
  width: 167px;
  margin-left: 50px;
  list-style: none;
}
.footer__menu-item,
.footer__links-item {
  margin-bottom: 20px;
}

.footer__menu-link,
.footer__links-link {
  text-transform: uppercase;
  transition: color 0.5s;
}

.footer__menu-link:hover,
.footer__links-link:hover {
  color: #cb0e0e;
}
