.cyprus-hero {
  position: relative;
  height: calc(100vh - 48px);
  max-height: 980px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 108px 82px;
  overflow: hidden;
  border-radius: 32px;
  background: #071c3d;
  color: #fff;
}

.cyprus-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.cyprus-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cyprus-hero .header {
  position: relative;
  z-index: 5;
}

.cyprus-hero__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-top: auto;
}

.cyprus-hero__title {
  margin: 0;
  color: #fff;
  font-family: 'AGAvalancheC', Arial, sans-serif;
  font-size: clamp(76px, 5.55vw, 106px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.cyprus-hero__subtitle {
  position: absolute;
  left: min(520px, 54vw);
  bottom: 28px;
  max-width: 440px;
  margin: 0;
  color: #fff;
  font-family: 'AGAvalancheC', Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 28px);
  line-height: 1.32;
  text-transform: uppercase;
}

.cyprus-hero .hero__socials {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.cyprus-hero .hero__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-family: 'ManropeBold', Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
  transition: background .24s ease, transform .24s ease, color .24s ease;
}

.cyprus-hero .hero__socials img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .cyprus-hero .hero__socials a:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
  }
}

.cyprus-hero .hero__socials a:focus-visible {
  outline: 2px solid rgba(201, 156, 100, .76);
  outline-offset: 3px;
}

@media (max-width: 1440px) {
  .cyprus-hero {
    padding: 28px 48px 64px;
  }

  .cyprus-hero__subtitle {
    left: 460px;
  }
}

@media (max-width: 1280px) and (min-width: 961px) {
  .cyprus-hero {
    min-height: 680px;
    height: clamp(660px, 70vw, 780px);
    padding: clamp(26px, 3.2vw, 42px) clamp(28px, 3.6vw, 42px) clamp(46px, 5vw, 56px);
  }

  .cyprus-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
    align-items: end;
    gap: clamp(20px, 3vw, 36px);
    max-width: min(860px, 88%);
  }

  .cyprus-hero__title {
    font-size: clamp(58px, 6.4vw, 82px);
    line-height: 1.08;
  }

  .cyprus-hero__subtitle {
    position: static;
    max-width: 330px;
    margin: 0 0 0.35em;
    font-size: clamp(16px, 1.75vw, 21px);
  }
}

@media (max-width: 960px) {
  .cyprus-hero {
    min-height: 610px;
    height: calc(100vh - 26px);
    max-height: 720px;
    padding: 24px 18px 42px;
    overflow: hidden;
    border-radius: 24px;
  }

  .cyprus-hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 36, 42, 0.58) 100%);
  }

  .cyprus-hero__media {
    object-position: 69% center;
  }

  .cyprus-hero__content {
    max-width: 100%;
  }

  .cyprus-hero__title {
    font-size: 34px;
    line-height: 1.28;
  }

  .cyprus-hero__subtitle {
    position: static;
    max-width: 280px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.55;
  }

  .cyprus-hero .hero__socials {
    right: 12px;
  }

  .cyprus-hero .burger__menu {
    bottom: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .cyprus-hero {
    min-height: 610px;
    padding: 24px 18px 36px;
    overflow: hidden;
  }

  .cyprus-hero .hero__socials {
    display: none;
  }
}
