/* =========================================================
   «Мы всегда на связи» + преимущества (главная, «О компании», «Реквизиты»).
   Figma Frame 2087330144 (1360×203: 670 тёмный блок + 669 сетка 2×2).
   Подключается с 641px без верхней границы: adaptive.css ограничен 1439px,
   а front-page-desktop.css прячет всё после «Рекомендуем» (… ~ *).
   ========================================================= */
@media (min-width: 641px) {
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support {
    display: flex;
    width: 100%;
    margin-top: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts {
    box-sizing: border-box;
    display: grid;
    flex: 0 1 670px;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px 16px;
    margin: 0;
    padding: 20px;
    border-radius: 20px;
    background: #2e2e2e;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts h2 {
    display: block;
    grid-column: 1 / -1;
    margin: 0;
    color: #fff;
    font: 800 30px/100% 'Manrope', sans-serif !important;
    letter-spacing: -.02em;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__item {
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 113px;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    color: #2e2e2e;
    text-decoration: none;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__icon {
    position: relative;
    display: flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background: #eaeef2;
    box-shadow: 0 8px 10px rgba(0, 0, 0, .1), 0 0 16px rgba(0, 0, 0, .06);
    color: #6f8294;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__icon img { position: absolute; top: 50%; left: 50%; display: block; width: 70px; height: 72px; max-width: none; transform: translate(-50%, -50%); }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 6px; }
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__copy small,
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__copy em { color: #6f8294; font: 500 14px/120% 'Manrope', sans-serif; font-style: normal; }
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__copy strong { color: #2e2e2e; font: 800 16px/120% 'Manrope', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits {
    display: grid;
    flex: 0 1 669px;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: space-between;
    gap: 20px 44px;
    margin: 0;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits article {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    padding: 0;
    border-radius: 0;
    background: none;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits__icon {
    grid-row: 1 / 3;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background: #fff;
    object-fit: contain;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits strong {
    align-self: end;
    color: #2e2e2e;
    font: 500 16px/109.76% 'Manrope', sans-serif;
    letter-spacing: -.02em;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits p {
    align-self: start;
    max-width: 228px;
    margin: 0;
    color: #6f8294;
    font: 400 14px/120% 'Manrope', sans-serif;
  }
}

/* до 1300: блоки друг под другом, каждый на всю ширину */
@media (min-width: 641px) and (max-width: 1300px) {
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts,
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits {
    flex: 0 0 auto;
    width: 100%;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits article {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits__icon { grid-row: auto; }
}

@media (min-width: 641px) and (max-width: 1100px) {
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits article {
    grid-template-columns: 60px minmax(0, 1fr);
    align-content: center;
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-benefits__icon { grid-row: 1 / 3; }
}

@media (min-width: 641px) and (max-width: 760px) {
  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts h2 {
    font-size: 26px !important;
  }
}

/* Contact SVGs have a cropped viewBox; do not apply the old raster sizing. */
:is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__icon {
  width:40px; height:40px; flex:0 0 40px;
}
:is(body.home, body:has(.elvise-about-page), body:has(.commerce-page--requisites)) .figma-home-support .figma-mobile-contacts__icon img {
  position:static; top:auto; left:auto; width:40px; height:40px; max-width:40px; transform:none;
}
