/* Lazy Block: banner — баннер с фоном и центрированным текстом. */

.lazyblock-banner {
  position: relative;
  /* Full-bleed во всю ширину окна. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter, 16px);
  overflow: hidden;
  color: var(--white, #ffffff);
}

.lazyblock-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--text, #262626);
}

.lazyblock-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lazyblock-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.9) 100%);
}

.lazyblock-banner__content {
  position: relative;
  z-index: 1;
  width: min(100%, 808px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.lazyblock-banner__title {
  margin: 0;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
}

.lazyblock-banner__text {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .lazyblock-banner__title { font-size: 32px; }
  .lazyblock-banner__text { font-size: 14px; }
}
