@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  src: url("./fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --mint: #75c5af;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}

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

.hero {
  position: relative;
  width: 100%;
  min-height: 960px;
  overflow: hidden;
  background: #111;
}

.hero__background,
.hero__background::after {
  position: absolute;
  inset: 0;
}

.hero__background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110.94%;
  object-fit: cover;
  object-position: center top;
}

.hero__background::after {
  content: "";
  background: linear-gradient(
    263.3886deg,
    rgba(0, 0, 0, 0.19) 37.303%,
    rgba(0, 0, 0, 0.85) 82.733%
  );
}

.header {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: max(32px, calc((100vw - 1410px) / 2));
  display: flex;
  align-items: center;
  gap: 115px;
  width: 1516px;
  height: 40px;
}

.logo {
  display: block;
  flex: 0 0 273px;
  width: 273px;
  height: 40px;
  overflow: hidden;
}

.logo img {
  display: block;
  width: 274px;
  height: 40px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 53px;
  flex: 0 0 auto;
  height: 40px;
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
}

.navigation a,
.phone {
  transition: opacity 160ms ease;
}

.navigation a:hover,
.phone:hover {
  opacity: 0.72;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
}

.phone {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 250px;
  height: 40px;
  padding: 0 39px;
  border-radius: 6px;
  background: var(--mint);
  box-shadow: 0 10px 25px rgba(117, 197, 175, 0.25);
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 160ms ease, transform 160ms ease;
}

.booking-button img {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.booking-button:hover {
  filter: brightness(1.06);
}

.booking-button:active {
  transform: translateY(1px);
}

.hero__content {
  position: absolute;
  z-index: 1;
  top: 200px;
  left: max(32px, calc((100vw - 1410px) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  width: 665px;
}

.heading-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 665px;
}

.heading-block h1,
.heading-block p,
.benefit h2,
.benefit p {
  margin: 0;
}

.heading-block h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.heading-block > p {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 58px;
}

.benefit__icon {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}

.benefit > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.benefit h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}

.benefit p {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 50px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 0.7;
}

.social {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  transition: opacity 160ms ease, transform 160ms ease;
}

.social:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.social img {
  display: block;
}

.social--instagram {
  background: radial-gradient(
    circle at 102% 2%,
    #f9ed32 0%,
    #f6bc44 9%,
    #f48c57 18%,
    #ef4272 31.5%,
    #ee2a7b 36%,
    #af2a9e 52%,
    #532ad1 71.5%,
    #002aff 88%
  );
}

.social--instagram img {
  width: 20px;
  height: 20px;
}

.social--vk {
  background: #0077ff;
}

.social--vk img {
  width: 22px;
  height: 14px;
}

.social--telegram {
  background: #27a6e5;
}

.social--telegram img {
  width: 19px;
  height: 17px;
  transform: translate(-1px, 1px);
}

.anchor-targets {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1700px) {
  .header {
    gap: 70px;
  }

  .navigation {
    gap: 36px;
  }
}

@media (max-width: 1450px) {
  .hero {
    min-height: 760px;
  }

  .header {
    right: 6vw;
    left: 6vw;
    width: auto;
    gap: 48px;
  }

  .logo {
    flex-basis: 218px;
    width: 218px;
    height: 32px;
  }

  .logo img {
    width: 219px;
    height: 32px;
  }

  .navigation {
    gap: 26px;
    font-size: 9px;
  }

  .header__actions {
    gap: 20px;
  }

  .phone {
    font-size: 13px;
  }

  .header__booking {
    width: 210px;
    padding-inline: 22px;
    font-size: 10px;
  }

  .hero__content {
    top: 150px;
    left: 9vw;
    gap: 44px;
    transform-origin: top left;
  }

  .heading-block h1 {
    font-size: 50px;
  }
}

@media (max-width: 1100px) {
  .navigation {
    display: none;
  }

  .header {
    justify-content: space-between;
  }

  .hero__content {
    left: 7vw;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 820px;
  }

  .hero__background img {
    height: 100%;
    object-position: 61% top;
  }

  .hero__background::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.87), rgba(0, 0, 0, 0.28));
  }

  .header {
    top: 22px;
    right: 20px;
    left: 20px;
  }

  .logo {
    flex-basis: 184px;
    width: 184px;
    height: 27px;
  }

  .logo img {
    width: 185px;
    height: 27px;
  }

  .header__booking {
    display: none;
  }

  .phone {
    font-size: 11px;
  }

  .hero__content {
    top: 128px;
    left: 20px;
    gap: 46px;
    width: calc(100vw - 40px);
  }

  .heading-block {
    gap: 22px;
    width: 100%;
  }

  .heading-block h1 {
    font-size: clamp(34px, 9.5vw, 48px);
    white-space: normal;
  }

  .heading-block > p {
    font-size: 14px;
    white-space: normal;
  }

  .benefits {
    gap: 24px;
  }

  .benefit h2 {
    font-size: 16px;
  }

  .benefit p {
    font-size: 13px;
    white-space: normal;
  }

  .benefit > div {
    gap: 12px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 28px;
  }
}

@media (max-width: 430px) {
  .header__actions {
    display: none;
  }

  .hero__actions .booking-button {
    width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
