.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 460px;
  padding: 160px 0 48px;
  /* Подложка на время загрузки фото (само фото — <img class="hero__bg"> в banner.html.twig:
     вынесено из url(), чтобы кэш-бастинг работал сам, через asset_v) */
  background: var(--c-bg);
}

/* Замена background cover: absolute поверх секции, контент и градиент выше по порядку отрисовки */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__inner {
  display: flex;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.hero__title {
  max-width: 1085px;
  margin-inline: auto;
  padding: 16px 20px;
  font-size: clamp(16px, 1.8vw, 34px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  background: rgba(0, 110, 114, 0.72);
  backdrop-filter: blur(4px);
}

.hero__title-row {
  display: block;
}

.hero__title-row:last-child {
  font-weight: 600;
}

.hero__title-accent {
  font-size: 1.154em;
  font-weight: 600;
  color: var(--c-accent);
  white-space: nowrap;
}
.hero__button{
  display: flex;
  justify-content: flex-start;
  margin: 0 28px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 560px;
    padding-top: 220px;
  }

  .hero__title {
    padding: 20px 32px;
  }
}

@media (min-width: 1100px) {
  .hero {
    min-height: clamp(640px, 41.4vw, 794px);
    padding-top: clamp(190px, 12vw, 230px);
  }

  .hero__title {
    padding: 14px 30px;
    line-height: 1.85;
  }
}