:root {
  --sectionBg: #ebebeb;
  --greyText: #1D1D1B;
  --lightGrey: #7F7472;
  --black: #000;
  --white: #fff;
  --orange: #E04207;
  --error: #FF0505;
  --success: #2CA746;
  --linkGreen: #00A88E;
  --link: #7218FF;
}
* {
  padding: 0;
  margin: 0;
  font: inherit;
  outline: none;
  text-decoration: none;
  font-family: 'Noto Sans', Verdana, Geneva, Tahoma, sans-serif;
  box-sizing: border-box;
}
html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  overflow-y: auto;
}
body [data-lang="ru"],
body [data-lang="en"],
body [data-lang="ar"] {
  display: none;
}
body[data-lang="ru"] [data-lang="ru"],
body[data-lang="en"] [data-lang="en"],
body[data-lang="ar"] [data-lang="ar"] {
  display: block;
}
article {
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  position: relative;
}

.button {
  border: none;
  display: flex;
  align-items: center;
  background: transparent;
  cursor: pointer;
  width: 6vh;
  height: 6vh;
}
.button span,
.button span:before,
.button span:after {
  position: relative;
  background: var(--black);
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.button span {
  height: 15%;
}
.button__menu span:before,
.button__menu span:after {
  content: '';
  position: absolute;
  inset: 0;
  top: -200%;
}
.button__menu span:after {
  top: 200%;
}
.button__cross span {
  background-color: transparent;
}
.button__cross span:before,
.button__cross span:after {
  content: '';
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
}
.button__cross span:after {
  transform: rotate(-45deg);
}
@media screen and (min-aspect-ratio: 3) {
  .button {
    width: 2vw;
    height: 2vw;
  }
}
@media screen and (max-width: 768px) {
  .button {
    width: 4vh;
    height: 4vh;
  }
}

section {
  padding: 4vh 3vw;
}
main {
  flex: 1 1 auto;
  display: flex;
}
main section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 2vw;
  justify-content: space-between;
}
.inner main section {
  align-items: center;
}
@media screen and (max-aspect-ratio: 1.6) {
  section {
    padding: 2vh 3vw;
  }
}
@media screen and (max-width: 480px) {
  section {
    padding: 2vh 3vw;
  }
  main section {
    gap: 2vh;
  }
}

header a img {
  height: 6vh;
  width: auto;
}
header section,
footer section {
  display: flex;
  justify-content: space-between;
}
header section,
.inner header section {
  padding-bottom: 0;
}
footer section {
  background: var(--sectionBg);
}
footer p,
footer a {
  font-family: Inter;
  font-size: 3vh;
  line-height: 1.375;
  color: var(--greyText);
}
footer ul {
  text-align: right;
  list-style: none;
  line-height: 0;
}
@media screen and (min-aspect-ratio: 3) {
  header a img {
    width: 6vw;
    height: auto;
  }
}
@media screen and (max-aspect-ratio: 1.1) {
  footer p,
  footer a {
    font-size: 2.2vh;
  }
}
@media screen and (max-aspect-ratio: 0.6) {
  footer p, footer a {
    font-size: 2vh;
  }
  footer section {
    flex-direction: column;
    align-items: flex-start;
  }
  footer ul {
    text-align: left;
  }
}
@media screen and (max-width: 768px) {
  header a img {
    height: 4vh;
    width: auto;
  }
}

.tile {
  display: none;
  box-shadow: 5px 5px 19px 2px #d9d9d9;
  border-radius: 3vw;
  width: 46vw;
  position: relative;
  container-type: inline-size;
  container-name: tile;
}
.tile > div {
  display: flex;
  flex-direction: column;
  padding: 3.6cqw 6cqw;
  border-radius: 6cqw;
  height: 100%;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
}
body[data-lang="ru"] .tile[data-lang="ru"],
body[data-lang="en"] .tile[data-lang="en"],
body[data-lang="ar"] .tile[data-lang="ar"] {
  display: flex;
}
.tile.soon .tile__bg,
.tile.soon .tile__title,
.tile.soon .tile__subtitle,
.tile.soon .tile__footer > img {
  filter: blur(5px);
}
.tile__bg {
  position: absolute;
  inset: 0;
  border-radius: 6cqw;
  overflow: hidden;
  line-height: 0;
}
.tile__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.tile__title,
.tile__subtitle,
.tile__icon,
.tile__button {
  position: relative;
}
.tile__button {
  padding: 3.6cqw 0;
  border-radius: 3cqw;
  cursor: pointer;
  font-size: 3.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  font-weight: 600;
}
.tile__button img {
  width: 5.3cqw;
  height: 5.3cqw;
  object-fit: contain;
  margin-left: -12px;
}
.tile__footer {
  width: 60%;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  .tile {
    width: 94vw;
  }
}
@media screen and (min-aspect-ratio: 1) {
  .inner .tile {
    width: 46vw;
  }
}
@media screen and (max-aspect-ratio: 1) {
  .inner .tile {
    width: 94vw;
  }
}
@container tile (min-width: 60vw) and (min-width: 481px) {
  .tile__footer {
    justify-content: flex-end;
    flex-direction: row-reverse;
    gap: 3cqw;
    width: 80%;
    align-items: center;
  }
  .tile > div,
  .tile__bg {
    border-radius: 3cqw;
  }
  .tile__button {
    gap: 1cqw;
    padding: 2.6cqw 0;
    font-size: 2.6cqw;
    width: 46%;
  }
  .tile__button img {
    margin-left: -4px;
    width: 4cqw;
    height: 4cqw;
  }
}
@container tile (max-width: 480px) {
  .tile > div,
  .tile__bg {
    border-radius: 3cqw;
  }
  .tile__button {
    gap: 1cqw;
    padding: 2.6cqw 0;
    font-size: 2.6cqw;
  }
  .tile__button img {
    margin-left: -4px;
    width: 4cqw;
    height: 4cqw;
  }
  .tile.soon .tile__bg,
  .tile.soon .tile__title,
  .tile.soon .tile__subtitle,
  .tile.soon .tile__footer > img {
    filter: blur(3px);
  }
}

dialog {
  z-index: -1;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border: none;
  background: var(--sectionBg);
  padding: 2vw;
  gap: 2vw;
  display: flex;
  flex-direction: row-reverse;
  transition: all 0.7s ease-out;
  transition:
    opacity 0.3s ease-out,
    transform 0.7s ease-out,
    overlay 0.7s ease-out allow-discrete,
    display 0.7s ease-out allow-discrete;
}
dialog.modal {
  width: 380px;
  margin: 0 0 0 auto;
  transform: translate(380px, 0);
}
dialog[open] {
  z-index: 1000;
  opacity: 1;
  transform: translate(0, 0);
}
dialog::backdrop {
  background-color: rgb(0 0 0 / 0%);
  cursor: pointer;
  pointer-events: all;
  transition: all 0.7s ease-out;
  transition:
    display 0.7s allow-discrete,
    overlay 0.7s allow-discrete,
    background-color 0.7s;
}
dialog[open]::backdrop {
  background-color: rgb(0 0 0 / 25%);
}
.menu {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu__content ul {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-direction: column;
}
.menu__content a {
  font-size: 16px;
  color: var(--greyText);
  display: flex;
  gap: 22px;
  align-items: center;
}
.menu__content img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.menu__lang {
  position: relative;
  padding: 24px 0;
}
.menu__langItem {
  padding: 4px 20px 4px 30px;
  font-size: 16px;
  line-height: 1;
  color: transparent;
  z-index: -1;
}
.menu__langItem.active {
  position: absolute;
  top: 0;
  left: 0;
}
.menu__lang.open .menu__langItem,
.menu__langItem.active {
  z-index: 1;
  color: var(--greyText);
  cursor: pointer;
  display: flex;
}
.menu__langItem.active:before {
  content: '';
  width: 24px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(./images/icons/world.webp);
  background-position: center;
  background-size: contain;
}
.menu__langItem.active:after {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: 6px;
  transform: rotate(-90deg);
  background-image: url(./images/icons/arrow.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}
.menu__lang.open .menu__langItem.active:after {
  top: 4px;
  transform: none;
}
.copyright {
  font-size: 10px;
  color: var(--greyText);
}
@media screen and (max-width: 768px) {
  dialog {
    width: 100%;
    padding: 4vw;
    gap: 4vw;
    transform: translate(100%, 0);
  }
  @starting-style {
    dialog:open {
      opacity: 0;
      transform: translate(100%, 0);
    }
  }
}

.popup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4vh;
  margin: 0 auto;
  line-height: 1.2;
}
.popup__success {
  gap: 2vh;
}
.popup img {
  height: 16vh;
}
.popup a {
  background: var(--success);
  color: var(--white);
  border-radius: 40px;
  font-size: 3vh;
  padding: 3vh 6vw;
}
.popup h4 {
  color: var(--success);
}
.popup h4 {
  color: var(--lightGrey);
  font-size: 8vw;
  font-weight: 700;
}
.popup h6 {
  font-weight: 700;
  font-size: 6vw;
  padding: 3vh 0;
}
.popup p {
  font-size: 5vw;
}
@media screen and (orientation: landscape) {
  .popup p {
    font-size: 4vh;
  }
  .popup a {
  padding: 3vh 2vw;
  }
  .popup h4 {
    font-size: 6vh;
  }
  .popup h6 {
    font-size: 5vh;
  }
}

.contacts h1 {
  color: var(--link);
  font-size: 7vw;
  padding: 0 0 2vh;
}
.contacts h2 {
  color: var(--link);;
  font-size: 6vw;
  padding: 0 0 2vh;
}
.contacts p {
  font-size: 3vw;
  padding: 0 0 2vh;
}
@media screen and (orientation: landscape) {
  .contacts h1 {
    font-size: 5vh;
  }
  .contacts h2 {
    font-size: 4vh;
  }
  .contacts p {
    font-size: 3vh;
  }
}