.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.section { padding-block: var(--sp-section); }

@media (max-width: 1023px) {
  .section .grid > * { grid-column: 1 / -1; min-width: 0; }
}

@media (min-width: 1024px) {
  .steps__intro { grid-column: 1 / 5; position: sticky; top: 112px; align-self: start; }
  .steps__grid { grid-column: 5 / 13; }
  .reviews__intro { grid-column: 1 / 4; }
  .reviews__carousel { grid-column: 4 / 13; min-width: 0; }
}

.section--soft { background: var(--c-bg-soft); }

/* ===== HERO (full-bleed фото) ===== */
.hero {
  position: relative;
  min-height: max(640px, 100vh);
  min-height: max(640px, 100svh);
  padding-top: 88px;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--c-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 243, 231, .62) 0, rgba(250, 243, 231, .45) 420px, rgba(250, 243, 231, .28) 700px, transparent 1150px),
    linear-gradient(0deg, rgba(250, 243, 231, .4) 0%, transparent 26%);
}

.hero__clouds {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(120px, 18vw, 200px);
  z-index: 0;
  pointer-events: none;
}

.hero__clouds svg { width: 100%; height: 100%; display: block; }

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero__text { max-width: 560px; }
.hero__inner .eyebrow { color: var(--c-bordeaux); font-weight: 600; }
.hero__title { color: var(--c-plum); }
.hero__lead { margin-top: 16px; font-size: clamp(14px, 1.5vw, 16px); max-width: 42ch; }

@media (min-width: 1024px) {
  .hero__lead { font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; max-width: 42ch; }
}
.hero__cta { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.hero__phone-wrap { margin: 18px 0 0; }

.hero__phone-wrap + .hero__cta { margin-top: 18px; }

.hero__phone {
  font-family: var(--f-body);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__phone svg { color: var(--c-bordeaux); flex-shrink: 0; }

@media (min-width: 1024px) {
  .hero__inner .eyebrow { display: flex; align-items: center; gap: 16px; }
  .hero__inner .eyebrow::before,
  .hero__inner .eyebrow::after { content: ""; height: 1px; width: 56px; }
  .hero__inner .eyebrow::before { background: linear-gradient(90deg, transparent, #9a5e1a); }
  .hero__inner .eyebrow::after { background: linear-gradient(90deg, #9a5e1a, transparent); }
}

@media (max-width: 767px) {
  .hero { min-height: 100svh; align-items: center; padding-top: 110px; padding-bottom: 48px; }
  .hero__bg img { object-position: 66% 28%; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(250, 243, 231, .78) 0%, rgba(250, 243, 231, .5) 55%, rgba(250, 243, 231, .62) 100%);
  }
  .hero__inner { flex-direction: column; align-items: stretch; }
  .hero__text { max-width: none; }
  .hero__cta { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero__cta .btn--primary { width: 100%; justify-content: center; }
  .hero__cta .link-more { justify-content: center; color: var(--c-cream); }
  .hero__cta .link-more__circle { border-color: var(--c-cream); transform: rotate(90deg); }
}
