/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-bg.jpg?v=2');
  background-size: cover;
  background-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.52) 0%,
    rgba(0,0,0,0.15) 20%,
    rgba(0,0,0,0.60) 75%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 120px;
}

/* 7. Заголовок */
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.321;
  text-transform: uppercase;
  max-width: 794px;
  margin: 0 0 20px;
}

/* 6. Подзаголовок */
.hero__subtitle {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 200;
  color: #fff;
  line-height: 1.321;
  max-width: 531px;
  margin: 0 0 36px;
}

/* 4+5. Кнопка крупная со стрелкой ↗ */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 108px;
  padding: 0 40px;
  background: var(--color-accent);
  color: #111;
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero__cta:hover {
  background: #aaee00;
  transform: translateY(-2px);
}

.path-frontpage .layout-container > main {
  padding-top: 0;
}

/* Стрелка в кнопке крупнее */
.hero__cta span[aria-hidden="true"] {
  font-size: 1.5em;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
}
