.sm-page-hero {
  padding: 140px 0 64px;
  background: var(--sm-bg);
  position: relative;
  overflow: hidden;
}

.sm-page-hero--photo {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  background: #dfeee9;
}

.sm-page-hero__bg {
  position: absolute;
  inset: 0;
}

.sm-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 249, 246, 0.92) 0%, rgba(248, 249, 246, 0.45) 55%, rgba(248, 249, 246, 0.1) 100%);
}

.sm-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.sm-page-hero__sub {
  color: var(--sm-grey-600);
  font-size: 18px;
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 520px;
}

.sm-page-hero__actions {
  margin-top: 28px;
}

.sm-page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sm-page-hero__media {
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sm-main-100);
}

.sm-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-page-content {
  padding: 64px 0;
}

.sm-page-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sm-page-block--reverse .sm-page-block__media {
  order: -1;
}

.sm-page-block__media {
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--sm-main-100);
  min-height: 240px;
}

.sm-page-block__media:empty {
  display: none;
}

.sm-page-block:has(.sm-page-block__media:empty) {
  grid-template-columns: 1fr;
}

.sm-page-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-page-block__text {
  color: var(--sm-grey-600);
  white-space: pre-line;
  font-size: 16px;
  line-height: 1.5;
}

.sm-contacts-map {
  border-radius: var(--sm-radius-lg);
  overflow: hidden;
  min-height: 360px;
  background: var(--sm-main-100);
}

.sm-contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.sm-contacts-list {
  margin-top: 20px;
  color: var(--sm-grey-600);
}

.sm-contacts-list p {
  margin: 0 0 10px;
}

.sm-contacts-phone {
  font-weight: 700;
  font-size: 22px;
  color: var(--sm-grey-900) !important;
  text-decoration: none !important;
}

.sm-block-steps__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.sm-block-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sm-block-steps__card {
  background: var(--sm-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--sm-main-900-a10);
}

.sm-block-steps__card p {
  margin: 0;
  color: var(--sm-grey-600);
}

.sm-block-steps__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  background: var(--sm-main-200);
}

.sm-block-steps__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-block-check__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sm-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-pill {
  padding: 16px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--sm-grey-900);
}

.sm-pill--1 { background: #fff6c7; }
.sm-pill--2 { background: #d7f0ff; }
.sm-pill--3 { background: #ffe4d6; }
.sm-pill--4 { background: var(--sm-main-200); }

.sm-block-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sm-block-cards__card {
  background: var(--sm-white);
  border: 1px solid var(--sm-main-900-a10);
  border-radius: 16px;
  padding: 28px;
  min-height: 220px;
}

.sm-block-cards__card p {
  margin: 0;
  color: var(--sm-grey-600);
}

.sm-features__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .sm-page-hero__grid,
  .sm-page-block,
  .sm-block-check__grid,
  .sm-block-steps__grid,
  .sm-block-cards__grid,
  .sm-features__grid--3,
  .sm-faq__grid {
    grid-template-columns: 1fr;
  }

  .sm-page-block--reverse .sm-page-block__media {
    order: 0;
  }

  .sm-page-hero,
  .sm-page-hero--photo {
    padding: 110px 0 40px;
    min-height: 0;
  }

  .sm-page-hero__bg::after {
    background: linear-gradient(180deg, rgba(248, 249, 246, 0.2), rgba(248, 249, 246, 0.95));
  }
}
