.hero {
  position: relative;
  overflow-x: clip;
  min-height: 85vh;
  min-height: 85svh;
  color: var(--color-white);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 34, 0.42);
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 85vh;
  min-height: 85svh;
  padding: clamp(24px, 4vh, 48px) var(--section-padding-x) clamp(28px, 5vh, 56px);
}

.hero__content-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: calc(85vh - clamp(52px, 9vh, 104px));
  min-height: calc(85svh - clamp(52px, 9vh, 104px));
}

.hero__award {
  grid-column: 1;
  grid-row: 1;
  width: clamp(72px, 8vw, 120px);
  height: auto;
  align-self: start;
}

.hero__weather {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  color: var(--color-white);
}

.hero__weather-label {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.hero__weather-value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.hero__weather-icon {
  flex-shrink: 0;
}

.hero__center {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  max-width: 900px;
}

.hero__title {
  margin: 0 0 clamp(24px, 4vh, 40px);
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero__cta-group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: transform 0.2s ease;
}

.hero__cta-group:active {
  transform: scale(0.98);
}

.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5vw, 56px);
  padding: 0 clamp(20px, 2.5vw, 32px);
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1;
}

.hero__cta-arrow {
  --cta-arrow-size: clamp(44px, 5vw, 56px);
  --cta-arrow-expand: clamp(16px, 2vw, 22px);
  position: relative;
  flex-shrink: 0;
  width: var(--cta-arrow-size);
  height: var(--cta-arrow-size);
  border-radius: 999px;
  background: var(--color-accent);
  transition: width 0.3s ease, margin-right 0.3s ease;
}

.hero__cta-group:hover .hero__cta-arrow {
  width: calc(var(--cta-arrow-size) + var(--cta-arrow-expand));
  margin-right: calc(-1 * var(--cta-arrow-expand));
}

.hero__cta-arrow-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  height: clamp(14px, 1.6vw, 18px);
  width: auto;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.hero__cta-arrow-icon--default {
  width: clamp(20px, 2.4vw, 26px);
}

.hero__cta-arrow-icon--hover {
  width: clamp(24px, 2.9vw, 31px);
  opacity: 0;
}

.hero__cta-group:hover .hero__cta-arrow-icon--default {
  opacity: 0;
}

.hero__cta-group:hover .hero__cta-arrow-icon--hover {
  opacity: 1;
}

.hero__promo {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  display: none; /* временно скрыто */
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero__promo:hover {
  background: #8f9162;
}

.hero__promo-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.hero__fab {
  position: fixed;
  right: var(--section-padding-x);
  bottom: clamp(28px, 5vh, 56px);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero__fab-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  pointer-events: none;
}

.hero__fab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero__fab-item {
  opacity: 0;
  transform: translateY(18px) scale(0.72);
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc((5 - var(--fab-index)) * 0.05s);
  pointer-events: none;
}

.hero__fab.is-open .hero__fab-menu {
  pointer-events: auto;
}

.hero__fab.is-open .hero__fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: calc(var(--fab-index) * 0.06s);
  pointer-events: auto;
}

.hero__fab-btn {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__fab-btn:hover {
  transform: scale(1.05);
  opacity: 0.92;
}

.hero__fab-btn img {
  display: block;
  width: clamp(48px, 6vw, 69px);
  height: auto;
}

.hero__fab-btn--message img {
  width: clamp(40px, 5vw, 51px);
}

.hero__fab-btn--call img {
  width: clamp(40px, 5vw, 51px);
}

.hero__fab-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 51px);
  height: clamp(40px, 5vw, 51px);
  border-radius: 999px;
  background: #a19f67;
}

.hero__fab-social img {
  width: clamp(18px, 2.4vw, 23px);
  height: auto;
}

.hero__fab-btn--message {
  position: relative;
  z-index: 2;
}

.hero__fab-message-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 51px);
  height: clamp(40px, 5vw, 51px);
}

.hero__fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(161, 159, 103, 0.55);
  animation: heroFabPulse 2.4s ease-out infinite;
  pointer-events: none;
}

.hero__fab-pulse:nth-child(2) {
  animation-delay: 0.8s;
}

.hero__fab-pulse:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes heroFabPulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  70% {
    opacity: 0.2;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hero__fab.is-open .hero__fab-pulse {
  animation-play-state: paused;
  opacity: 0;
}

.hero__fab.is-open .hero__fab-btn--message {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero__content-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: auto;
  }

  .hero__award {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    justify-self: start;
  }

  .hero__weather {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }

  .hero__center {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 24px 0;
  }
}
