/* Секция во всю ширину вьюпорта: фон (цвет + градиент) покрывает
   всю область героя без белых полей по краям, контент — в .container */
.b-hero-main {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 72px 0 80px;
  background-color: #F3EDE3;
  background-image: linear-gradient(155deg, #F5F0E6 0%, #F0E9DD 55%, #E7DFEC 125%);
  overflow: hidden;
}
.b-hero-main__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.b-hero-main__content {
  position: relative;
  padding: 56px 48px;
}
.b-hero-main__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.b-hero-main__frame path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.b-hero-main__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.b-hero-main__title {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  color: var(--text);
}
.b-hero-main__subtitle {
  margin: 0 0 34px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--muted);
}
.b-hero-main__media {
  position: relative;
}
.b-hero-main__media::before {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--lavender-soft);
}
.b-hero-main__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(59, 52, 55, 0.1);
}
/* Тёплый градиент снизу фото для глубины */
.b-hero-main__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(59, 52, 55, 0.16), rgba(59, 52, 55, 0) 40%);
  pointer-events: none;
}
.b-hero-main__sprig {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: auto;
  opacity: 0.9;
}
.b-hero-main__sprig--left {
  left: -22px;
  bottom: -18px;
}
.b-hero-main__sprig--right {
  right: -16px;
  top: -24px;
  transform: scaleX(-1) rotate(12deg);
}
@media (max-width: 768px) {
  .b-hero-main {
    padding: 48px 0 56px;
  }
  .b-hero-main__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .b-hero-main__content {
    padding: 40px 28px;
  }
}
@media (max-width: 480px) {
  .b-hero-main {
    padding: 36px 0 44px;
  }
  .b-hero-main__content {
    padding: 32px 20px;
  }
  .b-hero-main__sprig {
    width: 46px;
  }
  .b-hero-main__media::before {
    width: 140px;
    height: 140px;
    top: -16px;
    right: -16px;
  }
}
