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

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #262c27;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  object-fit: cover;
}

.container {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  background-image: url(../images/header-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  background-position: center;
  position: relative;
  margin-bottom: 80px;
}

.header::before {
  content: "";
  position: absolute;
  background-image: url(../images/header-decor.svg);
  bottom: 0;
  left: 0;
  right: 0;
  height: 456px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(35%);
  z-index: 2;
}

.header::after {
  content: "";
  position: absolute;
  background-image: url(../images/header-decor.svg);
  bottom: 0;
  left: 0;
  right: 0;
  height: 456px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(75%) rotate(180deg);
  z-index: 3;
}

.header__top {
  display: flex;
  align-items: center;
  padding: 57px 0;
  gap: 100px;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  font-family: "Comfortaa", cursive;
}

.logo path {
  transition: fill 0.3s ease;
}

.logo:hover path {
  fill: #0093a1;
}

.header__btn {
  text-transform: uppercase;
  color: #fff;
  padding: 12px 71px;
  background-color: #262c27;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.header__content {
  min-height: calc(100vh - 161px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.header__content-box {
  color: #fff;
  max-width: 550px;
  text-align: center;
  margin-right: 30px;
  font-family: "Comfortaa", cursive;
  font-weight: 700;
}

.header__title {
  text-transform: uppercase;
  margin-bottom: 20px;
  font-size: 64px;
  line-height: 71px;
}

.header__text {
  font-size: 24px;
  line-height: 27px;
  margin-bottom: 20px;
}

.header__decor-text {
  position: absolute;
  bottom: 25px;
  color: #0093a1;
}

.header__decor-text--one,
.header__decor-text--two {
  font-family: "Comfortaa", cursive;
  font-size: 130px;
  line-height: 145px;
  opacity: 0.3;
}

.header__decor-text--one {
  z-index: 1;
  right: 145px;
  bottom: 120px;
}

.header__decor-text--two {
  z-index: 4;
  left: 265px;
}

.header__decor-text--three {
  z-index: 4;
  max-width: 360px;
  right: 145px;
  font-weight: 300;
  font-size: 32px;
  line-height: 39px;
  font-style: italic;
  text-decoration: underline;
  text-align: center;
}

.info {
  background-image: url(../images/info-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.info::before {
  content: "";
  position: absolute;
  height: 120px;
  background-color: #262c27;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-120px);
  z-index: 1;
}

.info__top {
  display: flex;
  gap: 80px;
  padding-top: 100px;
  margin-bottom: 65vh;
}

.info__top-text {
  padding-top: 245px;
  width: 290px;
  color: #fff;
  position: relative;
}

.info__top-text--one {
  padding-bottom: 125px;
}

.info__top-text--two {
  border-bottom: 1px solid #fff;
}

.info__top-img {
  position: relative;
  z-index: 6;
}

.popup-btn {
  text-align: center;
  border: none;
  cursor: pointer;
  background-color: transparent;
  position: absolute;
}

.popup-btn span {
  padding-top: 12px;
  display: block;
  color: #fff;
  transition: color 0.3s;
}

.popup-btn:hover span {
  color: #0093a1;
}

.popup-btn path {
  transition: fill 0.3s;
}

.popup-btn circle {
  transition: stroke 0.3s;
}

.popup-btn:hover path {
  fill: #b9c400;
}

.popup-btn:hover circle {
  stroke: #b9c400;
}

.info__btn {
  bottom: 0;
  right: 0;
}

.info__specs {
  display: flex;
  align-items: center;
  gap: 130px;
  color: #fff;
  padding-bottom: 50px;
}

.info__specs-title {
  text-transform: uppercase;
  font-size: 60px;
  line-height: 67px;
  font-family: "Comfortaa", cursive;
  width: 250px;
}

.info__specs-list {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 30px 0;
  min-width: 390;
  max-width: 565px;
  font-weight: 700;
}

.info__specs-item {
  margin-bottom: 15px;
  display: flex;
  gap: 25px;
}

.info__specs-caption {
  width: 185px;
}

.buy {
  padding: 150px 0 0;
}

.buy__inner {
  display: flex;
  align-items: center;
  gap: 90px;
}

.buy__content {
  width: 510px;
  position: relative;
}

.buy__title {
  text-transform: uppercase;
  margin-bottom: 50px;
  font-family: "Comfortaa", cursive;
  font-size: 60px;
  line-height: 67px;
  color: #0093a1;
}

.buy__list {
  margin-bottom: 25px;
}

.buy__item {
  margin-bottom: 25px;
  width: 285px;
}

.buy__item:hover .buy__item-title {
  color: #0093a1;
}

.buy__item-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.buy__price {
  position: absolute;
  right: 0;
  bottom: 130px;
  width: 201px;
  height: 199px;
  font-weight: 700;
  font-size: 35px;
  line-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/images/star.svg);
}

.buy__btn {
  max-width: 484px;
  width: 100%;
  background-color: transparent;
  padding: 18px 0;
  text-align: center;
  text-transform: uppercase;
  font-family: "Comfortaa", cursive;
  font-weight: 700;
  font-size: 40px;
  line-height: 45px;
  border: 2px solid #0093a1;
  color: #0093a1;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s;
}

.buy__btn:hover {
  background-color: #b9c400;
  border: 2px solid transparent;
  color: #262c27;
}

.technology {
  margin-bottom: 150px;
}

.technology__top {
  background-image: url(../images/tech-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.technology__top-inner {
  min-height: 110vh;
  position: relative;
}

.technology__btn {
  right: 350px;
  top: 50vh;
}

.technology__top-box {
  position: absolute;
  left: 0;
  bottom: 70px;
}

.technology__title {
  text-transform: uppercase;
  font-size: 60px;
  line-height: 67px;
  font-weight: 400;
  font-family: "Comfortaa", cursive;
  max-width: 470px;
  margin-bottom: 62px;
}

.technology__list {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}

.technology__list-item {
  padding-left: 24px;
  margin-bottom: 15px;
}

.gallery__box {
  display: flex;
  gap: 68px;
  margin-top: 115px;
}

.gallery__text {
  width: 350px;
}

.gallery__min {
  display: grid;
  gap: 30px 24px;
  grid-template-columns: 481px 208px;
  grid-template-rows: 432px 300px;
  margin-top: -35%;
  margin-bottom: 150px;
  position: relative;
  padding: 72px 31px 52px;
}

.gallery__min::before {
  content: "";
  position: absolute;
  border: 3px solid #262c27;
  border-radius: 200px 0px 300px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.gallery-min__img--1 {
  grid-column: 1 / 3;
  border-radius: 400px 0px 0px 0px;
}

.gallery-min__img--2 {
  border-radius: 0px 0px 0px 300px;
}

.gallery-max {
  display: grid;
  gap: 20px;
  grid-template-columns: 300px 469px 391px;
  grid-template-rows: 340px 270px 270px;
}

.gallery-max__img--2 {
  grid-column: 2 / -1;
  justify-self: end;
  border-radius: 0px 500px 0px 0px;
}

.gallery-max__img--3 {
  border-radius: 0px 0px 150px 0px;
}

.gallery-max__img--4 {
  border-radius: 0px 200px 0px 0px;
}

.gallery-max__img--5 {
  border-radius: 200px 0px 0px 0px;
}

.gallery-max__img--6 {
  grid-column: 2 / -1;
  border-radius: 0px 0px 0px 400px;
}

.gallery-max__text {
  background: #0093a1;
  border-radius: 0px 0px 0px 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-style: italic;
  padding: 96px 0;
  font-weight: 800;
  font-size: 32px;
  line-height: 39px;
  color: #fff;
}

.footer {
  background: #262c27;
  padding: 100px 0 80px;
  color: #fff;
}

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

.footer__title {
  margin-bottom: 27px;
}

.footer__form {
  width: 500px;
}

.footer__form-input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  display: block;
  width: 100%;
  padding: 10px 0;
  margin-bottom: 57px;
  color: #fff;
}

.footer__form-input::placeholder {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  opacity: 0.2;
}

.footer__form-btn {
  background-color: #fff;
  padding: 10px 66px;
  border: none;
  margin-bottom: 110px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  font-family: "Comfortaa", cursive;
  color: black;
  border-radius: 10px;
  cursor: pointer;
}

.footer__social-title {
  font-weight: 700;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.footer__gallery {
  display: grid;
  gap: 52px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 50px;
}

.footer__menu-list {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  align-self: flex-start;
}

.footer__logo path {
  transition: fill 0.3s;
}

.footer__logo:hover path {
  fill: #0093a1;
}

@media (max-width: 1235px) {
  .header__decor-text--two {
    left: 0;
  }

  .buy__inner {
    flex-direction: column-reverse;
  }

  .gallery__box {
    flex-wrap: wrap;
  }

  .gallery__min {
    margin-top: 0;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    margin-bottom: 0;
  }

  .gallery__text {
    width: 100%;
  }

  .gallery-min__img {
    width: 100%;
    align-self: stretch;
  }

  .gallery-max {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: auto auto auto;
    margin-top: 50px;
  }

  .gallery-max__img {
    width: 100%;
    align-self: stretch;
  }

  .footer__gallery-item {
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 880px) {
  .header__top {
    justify-content: space-between;
    gap: 10px;
  }

  .header__decor-text {
    scale: 0.7;
  }

  .header__decor-text--three {
    bottom: 0;
  }

  .info__top {
    margin-bottom: 30vh;
  }

  .info__btn {
    bottom: -15vh;
  }

  .info__top-img {
    display: none;
  }

  .gallery-max__text {
    padding: 50px;
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .info__specs {
    flex-direction: column;
    gap: 20px;
  }

  .buy__price {
    bottom: auto;
    top: -350px;
    right: 50px;
  }

  .buy__img {
    max-width: 100%;
    z-index: -1;
  }

  .buy__content {
    max-width: 510px;
    width: 100%;
  }

  .buy__inner {
    gap: 0;
  }

  .buy {
    padding: 0;
  }

  .footer__top {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .footer__gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer__menu-list {
    display: block;
    text-align: center;
  }

  .footer__menu-item {
    padding: 15px 0;
  }

  .footer__form {
    width: 100%;
  }
}

@media (max-width: 570px) {
  .header__top {
    flex-direction: column;
    transform: translateY(100px);
  }

  .header__decor-text--one,
  .header__decor-text--three {
    right: 0;
  }

  .info__top {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .info__btn {
    display: none;
  }

  .info__top-text {
    padding-top: 0;
    z-index: 10;
  }

  .buy__price {
    width: 170px;
    height: 168px;
    background-size: cover;
    top: -185px;
  }

  .gallery__min {
    padding: 20px 10px 20px;
  }

  .technology__title {
    font-size: 30px;
  }

  .technology__top-box {
    margin-top: 20px;
  }

  .technology__list {
    font-size: 15px;
  }

  .technology__btn {
    right: 0;
  }

  .footer__logo {
    display: none;
  }
}

@media (max-width: 375px) {
  .header__title {
    font-size: 55px;
    line-height: 60px;
  }

  .header__content-box {
    margin-right: 0;
    z-index: 10;
  }

  .header__decor-text {
    display: none;
  }
}
