/* generated from src/components/home/HomeBenefitsBlock.module.css — do not edit CSS modules; edit source then re-run converter */
/**
 * Порт `our-advantages.scss` (Angular ssr) → CSS modules + токены `--iw-*`.
 * Брейкпоинты: md 768px, xl 1024px (как `bp.$bp-md` / `bp.$bp-xl` в ssr).
 */

.homeBenefits_ourAdvantages {
  display: block;
  padding: 0;
  width: 100%;
}

/* &__title */
.homeBenefits_ourAdvantagesTitle {
  text-align: center;
  margin: 0 auto var(--iw-sp-50);
}

/* &__wrapper */
.homeBenefits_ourAdvantagesWrapper {
  display: flex;
  flex-direction: column;
  gap: var(--iw-sp-40);
  overflow: hidden;
}

/* &__image-wrap */
.homeBenefits_ourAdvantagesImageWrap {
  order: 2;
  display: flex;
  justify-content: flex-start;
}

/* &__image */
.homeBenefits_ourAdvantagesImage {
  max-width: 100%;
  height: auto;
  display: block;
  /* Reserve space before the lazy CMS image decodes (asset is ~1:1). */
  aspect-ratio: 550 / 547;
}

/* &__content — mobile: order 1 (сверху) */
.homeBenefits_ourAdvantagesContent {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: var(--iw-sp-30);
  min-width: 0;
}

/* &__card */
.homeBenefits_ourAdvantagesCard {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--iw-sp-10);
}

/* &__icon */
.homeBenefits_ourAdvantagesIcon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.homeBenefits_ourAdvantagesIconEmoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

/* &__card-body */
.homeBenefits_ourAdvantagesCardBody {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--iw-sp-8);
  min-width: 0;
}

/* &__card-title */
.homeBenefits_ourAdvantagesCardTitle {
  font-weight: 600;
  font-size: var(--iw-fs-20);
  line-height: 1.3;
  color: var(--iw-text-primary);
  margin: 0;
}

/* &__card-text */
.homeBenefits_ourAdvantagesCardText {
  font-size: var(--iw-fs-base);
  line-height: var(--iw-sp-24);
  color: var(--iw-text-secondary);
  margin: 0;
}

.homeBenefits_ourAdvantagesCardText p + p {
  margin-top: var(--iw-sp-8);
}

@media (min-width: 768px) {
  .homeBenefits_ourAdvantagesImage {
    width: 460px;
    max-width: 100%;
  }

  .homeBenefits_ourAdvantagesContent {
    gap: var(--iw-sp-40);
  }

  .homeBenefits_ourAdvantagesCard {
    gap: var(--iw-sp-30);
  }

  .homeBenefits_ourAdvantagesIcon {
    width: 56px;
    height: 56px;
  }

  .homeBenefits_ourAdvantagesCardTitle {
    font-size: var(--iw-fs-xl);
  }

  .homeBenefits_ourAdvantagesImageWrap {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .homeBenefits_ourAdvantagesTitle {
    max-width: 1050px;
    margin: 0 auto;
    padding-bottom: var(--iw-sp-100);
  }

  .homeBenefits_ourAdvantagesWrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--iw-sp-60);
    overflow: visible;
  }

  .homeBenefits_ourAdvantagesImageWrap {
    order: 1;
    flex-shrink: 0;
    position: sticky;
    top: var(--iw-sp-40);
  }

  .homeBenefits_ourAdvantagesContent {
    order: 2;
    flex: 1;
    gap: var(--iw-sp-50);
  }

  .homeBenefits_ourAdvantagesImage {
    width: 550px;
    max-width: 550px;
  }

  .homeBenefits_ourAdvantagesIcon {
    width: 64px;
    height: 64px;
  }
}

