.hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  color: var(--color-light);
  background-color: var(--color-dark);
  background-image:
    linear-gradient(90deg, rgba(8, 12, 11, 0.5) 0%, rgba(8, 12, 11, 0) 52%),
    linear-gradient(180deg, rgba(8, 12, 11, 0.72) 0%, rgba(8, 12, 11, 0.28) 34%, rgba(8, 12, 11, 0.34) 58%, rgba(8, 12, 11, 0.9) 100%),
    url('../../../assets/images/hero-villa.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(244, 246, 244, 0.1);
}

.hero__header {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 38px);
  height: 73px;
  padding: 14px 14px 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(178.2deg, rgba(255, 255, 255, 0.032) 7.74%, rgba(255, 255, 255, 0.01) 92.27%);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.hero__logo {
  flex: 0 0 83.525px;
  width: 83.525px;
  height: 24px;
}

.hero__logo img {
  width: 100%;
  height: 100%;
}

.hero__nav {
  position: absolute;
  left: 276.163px;
  display: flex;
  align-items: center;
  gap: 28.8px;
  color: rgba(244, 246, 245, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.hero__contacts {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.hero__phone {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.hero__consultation {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding-inline: 22px;
  color: var(--color-dark);
  background: var(--color-light);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.hero__eyebrow-row {
  position: absolute;
  z-index: 1;
  top: 131px;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding-inline: 46px;
}

.hero__eyebrow,
.hero__award {
  margin: 0;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(244, 246, 245, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: normal;
  white-space: nowrap;
}

.hero__eyebrow > span {
  width: 34px;
  height: 1px;
  background: rgba(244, 246, 245, 0.45);
}

.hero__award {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: rgba(244, 246, 245, 0.62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: normal;
  text-align: right;
  white-space: nowrap;
}

.hero__content {
  position: absolute;
  z-index: 1;
  top: clamp(210px, calc(50svh - 199px), 301px);
  left: 46px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 77.76px;
  font-weight: 600;
  line-height: 79.315px;
  letter-spacing: -1.1664px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__title span:last-child {
  color: rgba(244, 246, 245, 0.66);
  font-weight: 400;
}

.hero__description {
  width: 440px;
  margin: 30px 0 0;
  color: rgba(244, 246, 245, 0.8);
  font-size: 17px;
  font-weight: 400;
  line-height: 27.54px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.hero__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding-inline: 30px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.hero__button--primary {
  gap: 12px;
  min-width: 206px;
  color: var(--color-dark);
  background: var(--color-yellow);
}

.hero__button--primary img {
  width: 20px;
  height: 20px;
}

.hero__button--secondary {
  min-width: 199px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(170.45deg, rgba(255, 255, 255, 0.028) 7.74%, rgba(255, 255, 255, 0.01) 92.27%);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  top: calc(100vh - 261px);
  top: calc(100svh - 261px);
  left: 45px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(244, 246, 245, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(244, 246, 245, 0.22);
}

.hero__scroll-line span {
  position: absolute;
  top: 20px;
  left: 0;
  width: 1px;
  height: 22px;
  background: #c8f031;
}

.hero__pagination {
  position: absolute;
  z-index: 1;
  top: calc(100vh - 229px);
  top: calc(100svh - 229px);
  right: 47px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(244, 246, 245, 0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.3px;
}

.hero__pagination-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__pagination-bars i {
  display: block;
  width: 22px;
  height: 3px;
  background: rgba(244, 246, 245, 0.3);
  border-radius: 2px;
}

.hero__pagination-bars i:nth-child(2) {
  width: 22.242px;
  background: rgba(241, 246, 231, 0.32);
}

.hero__pagination-bars i:last-child {
  width: 41.75px;
  background: rgba(200, 240, 50, 0.98);
}

.hero__offer {
  position: absolute;
  z-index: 1;
  top: calc(100vh - 461px);
  top: calc(100svh - 461px);
  right: 46px;
  width: 264px;
  min-height: 261px;
  padding: 24px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: linear-gradient(150.28deg, rgba(255, 255, 255, 0.032) 7.74%, rgba(255, 255, 255, 0.01) 92.27%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__offer-label,
.hero__offer-title,
.hero__offer-copy {
  margin: 0;
}

.hero__offer-label {
  color: rgba(244, 246, 245, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: normal;
  text-transform: uppercase;
}

.hero__offer-title {
  margin-top: 14px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.26px;
  line-height: 28.6px;
}

.hero__offer-copy {
  margin-top: 10px;
  color: rgba(244, 246, 245, 0.7);
  font-size: 13px;
  font-weight: 400;
  line-height: 20.15px;
}

.hero__offer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 63px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__offer-bottom > div {
  display: flex;
  flex-direction: column;
}

.hero__offer-price-label {
  color: rgba(244, 246, 245, 0.55);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.54px;
  line-height: normal;
  text-transform: uppercase;
}

.hero__offer-bottom strong {
  margin-top: 5px;
  font-size: 21px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

.hero__offer-link {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-lime);
  border-radius: 10px;
}

.hero__offer-link img {
  width: 20px;
  height: 20px;
}

.hero__stats {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 19px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% - 38px);
  height: 149px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: linear-gradient(176.34deg, rgba(255, 255, 255, 0.03) 7.74%, rgba(255, 255, 255, 0.01) 92.27%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 27px 32px;
}

.hero__stat + .hero__stat {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat dt,
.hero__stat dd {
  margin: 0;
}

.hero__stat dt {
  display: flex;
  align-items: baseline;
  height: 42px;
}

.hero__stat dt strong {
  color: var(--color-light);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.84px;
  line-height: 42px;
  white-space: nowrap;
}

.hero__stat dt span {
  margin-left: 5px;
  color: rgba(244, 246, 245, 0.7);
  font-size: 15px;
  font-weight: 500;
}

.hero__stat dd {
  margin-top: 10px;
  color: rgba(244, 246, 245, 0.62);
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}

.hero__stat--accent dt strong {
  color: var(--color-lime);
}

@media (max-width: 1180px) {
  .hero__nav {
    position: static;
    gap: 18px;
    margin-left: 20px;
  }

  .hero__title {
    font-size: 64px;
    line-height: 1.02;
  }

  .hero__offer {
    right: 30px;
  }
}

@media (max-width: 980px) {
  .hero__nav,
  .hero__phone,
  .hero__award,
  .hero__pagination {
    display: none;
  }

  .hero__header {
    padding-right: 12px;
  }

  .hero__consultation {
    height: 46px;
  }

  .hero__title {
    font-size: clamp(42px, 7.2vw, 64px);
    white-space: normal;
  }

  .hero__offer {
    display: none;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .hero__stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero__stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 920px;
    height: 100svh;
    background-position: 58% center;
  }

  .hero__header {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .hero__consultation {
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero__eyebrow-row,
  .hero__content {
    left: 0;
    padding-inline: 20px;
  }

  .hero__eyebrow-row {
    top: 120px;
  }

  .hero__eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    white-space: normal;
  }

  .hero__eyebrow > span {
    flex: 0 0 24px;
    width: 24px;
  }

  .hero__content {
    top: 210px;
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 54px);
    letter-spacing: -0.6px;
  }

  .hero__description {
    width: 100%;
    max-width: 440px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__actions {
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .hero__button {
    min-width: 0;
    height: 52px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__stats {
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
  }

  .hero__stat {
    min-width: 0;
    padding: 18px;
  }

  .hero__stat dt strong {
    font-size: 30px;
    line-height: 34px;
  }

  .hero__stat dt span {
    font-size: 12px;
  }

  .hero__stat dd {
    font-size: 11px;
    line-height: 1.35;
  }
}
