

/* Start:/local/assets/css/fm-sf009.css?179576969014615*/
/* SF-009: этапы работ, заголовки блоков услуги, кнопка «все запчасти», SEO-текст, страница отзывов */

/* ---------- 1. Этапы работ ---------- */
.fm-steps { container-type: inline-size; }
.fm-steps--service { margin-top: 48px; }
.fm-steps--home .fm-steps__wrap { margin-top: 32px; }
.fm-steps .fm-steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
  counter-reset: none;
}
.fm-steps .fm-steps__list > li { margin: 0; }
.fm-steps .fm-steps__list > li::before { content: none; display: none; }
.fm-steps .fm-steps__item {
  position: relative;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: #fff; border: 1px solid #e5e8ef; border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.fm-steps .fm-steps__item:hover { border-color: var(--theme-base-color, #365edc); box-shadow: 0 8px 24px rgba(54, 94, 220, .10); }
.fm-steps__head { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; }
.fm-steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--theme-base-color, #365edc); color: #fff;
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .02em;
}
.fm-steps__icon { color: var(--theme-base-color, #365edc); display: none; }
.fm-steps__body { min-width: 0; }
.fm-steps .fm-steps__title { margin: 2px 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: #222; }
.fm-steps .fm-steps__text { margin: 0; font-size: 14px; line-height: 1.55; color: #666; }
.fm-steps__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  margin-top: 24px;
}
.fm-steps__note { font-size: 14px; line-height: 1.5; color: #777; }

/* горизонтальная лента, когда хватает ширины (главная — всегда на десктопе, услуга — на широком экране) */
@container (min-width: 760px) {
  .fm-steps .fm-steps__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .fm-steps .fm-steps__item { flex-direction: column; gap: 14px; padding: 22px 18px 20px; }
  .fm-steps__head { flex-direction: row; justify-content: space-between; width: 100%; }
  .fm-steps__icon { display: block; }
  /* стрелка-связка между карточками */
  .fm-steps .fm-steps__item:not(:last-child)::after {
    content: ""; position: absolute; top: 40px; right: -13px; z-index: 1;
    width: 10px; height: 10px;
    border-top: 2px solid var(--theme-base-color, #365edc);
    border-right: 2px solid var(--theme-base-color, #365edc);
    transform: rotate(45deg);
  }
  .fm-steps .fm-steps__title { font-size: 17px; }
}
/* вертикальная линия-таймлайн на узких экранах */
@container (max-width: 759px) {
  .fm-steps .fm-steps__item:not(:last-child)::after {
    content: ""; position: absolute; left: 41px; bottom: -13px; width: 2px; height: 14px;
    background: var(--theme-base-color, #365edc); opacity: .35;
  }
}
@media (max-width: 600px) {
  .fm-steps--service { margin-top: 36px; }
  .fm-steps .fm-steps__item { padding: 14px 16px; gap: 14px; }
  .fm-steps__num { width: 38px; height: 38px; font-size: 14px; }
  .fm-steps .fm-steps__item:not(:last-child)::after { left: 34px; }
  .fm-steps .fm-steps__title { font-size: 16px; }
  .fm-steps__cta .btn { width: 100%; }
}

/* ---------- 3. Заголовки блоков на детальной услуги — как «Стоимость» (26px / 700) ---------- */
.services-detail__bottom-info .ordered-block__title,
.fm-service-after .index-block__title {
  font-size: 26px !important; line-height: 1.3 !important; font-weight: 700 !important;
}
.fm-service-after .fm-service-reviews .index-block__subtitle { display: none; }
@media (max-width: 600px) {
  .services-detail__bottom-info .ordered-block__title,
  .fm-service-after .index-block__title,
  .detail.services h3 { font-size: 22px !important; }
}

/* ---------- 4. Кнопка «Все запчасти» в шапке блока ---------- */
.fm-goods-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.fm-goods-head .ordered-block__title { margin: 0 !important; padding: 0 !important; }
.goods .fm-goods-head + .swiper-pagination { display: none; }
.fm-goods-all.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 22px; }
.fm-goods-all svg { flex: 0 0 auto; transition: transform .2s; }
.fm-goods-all:hover svg { transform: translateX(3px); }
@media (max-width: 600px) {
  .fm-goods-head { margin-bottom: 16px; }
  .fm-goods-all.btn { width: 100%; justify-content: center; }
}

/* ---------- 7. SEO-текст под картой ---------- */
.fm-seo-text { margin: 48px 0 8px; }
.fm-seo-text__body { position: relative; font-size: 15px; line-height: 1.6; color: #555; }
.fm-seo-text__body > :first-child { margin-top: 0; }
.fm-seo-text.is-collapsible:not(.is-open) .fm-seo-text__body { max-height: 8em; /* 5 строк × 1.6 */ overflow: hidden; }
.fm-seo-text.is-collapsible:not(.is-open) .fm-seo-text__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.fm-seo-text__toggle {
  display: none; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--theme-base-color, #365edc);
}
.fm-seo-text.is-collapsible .fm-seo-text__toggle { display: inline-flex; align-items: center; gap: 6px; }
.fm-seo-text__toggle svg { transition: transform .2s; }
.fm-seo-text.is-open .fm-seo-text__toggle svg { transform: rotate(180deg); }

/* ---------- 2. Страница «Отзывы» ---------- */
.fm-reviews-page__lead { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: #555; max-width: 820px; }

/* ---------- 6. Таблица цен в услуге (из /price/) ---------- */
.fm-svc-price { margin-bottom: 0; }
.fm-svc-price thead th { background: var(--theme-base-color, #365edc); color: #fff; border-color: var(--theme-base-color, #365edc) !important; font-weight: 700; }
.fm-svc-price td:last-child, .fm-svc-price thead th:last-child { width: 1%; white-space: nowrap; text-align: right; }
.fm-svc-price td:last-child { font-weight: 700; color: #222; }
.fm-svc-price tbody tr:nth-child(even) td { background: #f7f8fb; }
.fm-svc-price .fm-svc-price__group th { background: #eef2fc; color: #222; font-weight: 700; text-align: left; }
/* тема на мобильных превращает таблицы в карточки (.th-mobile) — для 2 колонок оставляем обычную таблицу */
table.fm-svc-price { display: table !important; width: 100% !important; }
.fm-svc-price thead { display: table-header-group !important; }
.fm-svc-price tbody { display: table-row-group !important; }
.fm-svc-price tr { display: table-row !important; }
.fm-svc-price td, .fm-svc-price th { display: table-cell !important; position: static !important; }
.fm-svc-price td:first-child, .fm-svc-price th:first-child { width: auto !important; white-space: normal !important; }
.fm-svc-price .th-mobile { display: none !important; }
.table-responsive table.fm-svc-price > thead > tr, .table-responsive table.fm-svc-price > tbody > tr { display: table-row !important; position: static !important; top: auto !important; left: auto !important; }
.table-responsive table.fm-svc-price td, .table-responsive table.fm-svc-price th { word-break: normal !important; overflow-wrap: break-word !important; }
.table-responsive table.fm-svc-price:not(.is-open) > tbody > tr.fm-svc-price__more { display: none !important; }
.fm-svc-price__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.fm-svc-price__all { font-weight: 600; color: var(--theme-base-color, #365edc); }
.fm-svc-price__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #888; }
@media (max-width: 600px) {
  .fm-svc-price td, .fm-svc-price th { padding: 10px 12px !important; font-size: 14px; }
  .fm-svc-price__toggle { width: 100%; }
}

/* ---------- 5. Шапка услуги — вариант A «Оффер с ценой» ---------- */
.fm-hero { margin: 0 0 40px; }
.fm-hero__top { display: flex; gap: 40px; align-items: flex-start; }
.fm-hero__photo { position: relative; flex: 0 0 44%; max-width: 440px; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #f2f4f8; }
.fm-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-hero__badges { position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fm-hero__badge { padding: 7px 12px; border-radius: 20px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); font-size: 13px; font-weight: 600; color: #222; line-height: 1.2; }
.fm-hero__utp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fm-hero__title { font-size: 28px; line-height: 1.3; font-weight: 700; color: #222; }
.fm-hero__intro { margin: 0; font-size: 15px; line-height: 1.6; color: #666; }
.fm-hero .fm-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fm-hero .fm-hero__points li { margin: 0; padding: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: #333; }
.fm-hero .fm-hero__points li::before { content: none; display: none; }
.fm-hero__check { flex: 0 0 20px; margin-top: 1px; }
.fm-hero__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #333; }
.fm-hero__rating:hover { color: var(--theme-base-color, #365edc); }
.fm-hero__stars { display: inline-flex; gap: 2px; }
.fm-hero__bar { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid #e5e8ef; border-radius: 8px; background: #f5f7fb; }
.fm-hero__price-label { font-size: 13px; color: #999; }
.fm-hero__price-val { font-size: 32px; line-height: 1.2; font-weight: 700; color: #222; white-space: nowrap; }
.fm-hero__price-val--sm { font-size: 20px; }
.fm-hero__price-note { margin-top: 4px; font-size: 13px; color: #666; }
.fm-hero__price-note a { color: var(--theme-base-color, #365edc); }
.fm-hero__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fm-hero__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.fm-hero__ask-label { font-size: 13px; color: #666; }
.fm-hero__msg { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid #d5dceb; border-radius: 4px; background: #fff; font-size: 14px; font-weight: 600; color: #333; cursor: pointer; line-height: 1.2; }
.fm-hero__msg:hover { border-color: var(--theme-base-color, #365edc); color: var(--theme-base-color, #365edc); }
.fm-hero__phones { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 600; color: #333; }
.fm-hero__phones svg { color: var(--theme-base-color, #365edc); }
.fm-hero__phones a { color: #333; white-space: nowrap; }
.fm-hero__branch { font-weight: 400; color: #999; }
.fm-hero__sep { color: #ccc; }
.fm-hero-sticky { display: none; }
@media (max-width: 991px) {
  .fm-hero__top { flex-direction: column; gap: 20px; }
  .fm-hero__photo { flex: none; width: 100%; max-width: none; aspect-ratio: 16 / 9; }
  .fm-hero__title { font-size: 22px; }
  .fm-hero__bar { flex-direction: column; align-items: stretch; padding: 16px; }
  .fm-hero__actions { align-items: stretch; }
  .fm-hero__cta { width: 100%; }
  .fm-hero__ask { justify-content: flex-start; }
  .fm-hero__price-val { font-size: 28px; }
  .fm-hero-sticky { display: flex; position: fixed; left: 8px; right: 8px; bottom: 0; z-index: 990; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 8px; background: #fff; border-radius: 10px; box-shadow: 0 -2px 16px rgba(0,0,0,.14); transform: translateY(150%); transition: transform .25s; }
  .fm-hero-sticky.is-visible { transform: none; }
  .fm-hero-sticky__price { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fm-hero-sticky__cta.btn { padding: 12px 16px; }
  .fm-hero-sticky__icon { display: inline-flex; padding: 11px; border: 1px solid #d5dceb; border-radius: 4px; color: var(--theme-base-color, #365edc); }
}

/* SF-014: таблицы и подзаголовки внутри SEO-текста (как таблица цен услуги .fm-svc-price) */
.fm-seo-text__body h3 { font-size: 18px; line-height: 1.35; font-weight: 700; color: #222; margin: 28px 0 12px; }
.fm-seo-text__body table { display: table !important; width: 100% !important; max-width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 15px; line-height: 1.45; }
.fm-seo-text__body tbody { display: table-row-group !important; }
.fm-seo-text__body tr { display: table-row !important; }
.fm-seo-text__body td, .fm-seo-text__body th { display: table-cell !important; position: static !important; padding: 10px 14px; border: 1px solid #e3e6ee; text-align: left; vertical-align: top; color: #333; }
.fm-seo-text__body th { background: var(--theme-base-color, #365edc); border-color: var(--theme-base-color, #365edc); color: #fff; font-weight: 700; }
.fm-seo-text__body tr:nth-child(even) td { background: #f7f8fb; }
.fm-seo-text__body td:last-child, .fm-seo-text__body th:last-child { width: 1%; white-space: nowrap; text-align: right; }
.fm-seo-text__body td:last-child { font-weight: 700; color: #222; }
.fm-seo-text__body td:first-child, .fm-seo-text__body th:first-child { width: auto !important; white-space: normal !important; }
@media (max-width: 600px) {
    .fm-seo-text__body table { font-size: 14px; }
    .fm-seo-text__body td, .fm-seo-text__body th { padding: 8px 10px; }
    .fm-seo-text__body td:last-child, .fm-seo-text__body th:last-child { white-space: nowrap; }
}

/* SF-014: главная — без белой полосы между тёмной формой обратной связи и подвалом */
.drag-block.FORMS .fm-work-feedback-home { padding-bottom: 0 !important; }

/* End */


/* Start:/local/fm-map-reviews.css?17950142984756*/
.fm-map-reviews {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--basic_text_black, #333);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 25px;
}
.fm-map-reviews__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 364px), 1fr));
  gap: 24px;
}
.fm-map-reviews__card {
  --fm-card-inset: clamp(0px, calc(50% - 151px), 20px);
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
  padding: 19px max(0px, calc(var(--fm-card-inset) - 1px));
  border: 1px solid var(--stroke_black, #e5e5e5);
  border-radius: var(--theme-border-radius, 4px);
  background: var(--card_bg_black, #fff);
}
.fm-map-reviews__platform {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.fm-map-reviews__badge {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fc4038;
  background: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
}
.fm-map-reviews__platform-text { min-width: 0; }
.fm-map-reviews__platform-title {
  margin: 0 0 7px;
  color: inherit;
  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}
.fm-map-reviews__platform-description {
  margin: 0;
  color: var(--light_basic_text_black, #666);
  font-size: 13px;
  line-height: 20px;
}
.fm-map-reviews__widget {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  height: 500px;
}
.fm-map-reviews__frame {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  background: #fff;
}
.fm-map-reviews__attribution {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-height: 14px;
  overflow: hidden;
  padding: 0 16px;
  color: #b3b3b3;
  font-family: "YS Text", Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fm-map-reviews__address-link {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 0 0;
  border-top: 1px solid var(--stroke_black, #e5e5e5);
  color: var(--theme-base-color, #365edc);
  text-decoration: none;
}
.fm-map-reviews__address-text { flex: 1 1 auto; min-width: 0; }
.fm-map-reviews__icon { display: block; flex: 0 0 auto; }
.fm-map-reviews__address-link:focus-visible,
.fm-map-reviews__attribution:focus-visible {
  outline: 2px solid var(--theme-base-color, #365edc);
  outline-offset: 4px;
}
@media (hover: hover) {
  .fm-map-reviews__address-link:hover { color: var(--basic_text_black, #333); }
}
@media (max-width: 349px) {
  .fm-map-reviews__platform,
  .fm-map-reviews__address-link { margin-inline: 11px; }
}
@media (min-width: 768px) {
  .fm-map-reviews__card {
    --fm-card-inset: 32px;
    padding-top: 31px;
    padding-bottom: 31px;
  }
}
@media (min-width: 992px) {
  .fm-map-reviews { gap: 32px; }
}

.fm-map-reviews__switcher {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--stroke_black, #e5e5e5);
}
.fm-map-reviews__switch {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  margin: 0 0 -1px;
  padding: 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--light_basic_text_black, #666);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.fm-map-reviews__switch[aria-selected="true"] {
  border-bottom-color: var(--theme-base-color, #365edc);
  color: var(--theme-base-color, #365edc);
}
.fm-map-reviews__switch:focus-visible {
  outline: 2px solid var(--theme-base-color, #365edc);
  outline-offset: -2px;
}
.fm-map-reviews__switcher[hidden],
.fm-map-reviews__card[hidden] { display: none; }

.fm-map-reviews--compact .fm-map-reviews__cards { grid-template-columns: minmax(0, 1fr); }

.fm-service-reviews { margin: 56px 0 64px; padding: 0; }
.fm-service-reviews > .reviews-list > .maxwidth-theme {
  padding-left: 0;
  padding-right: 0;
}
.fm-service-bottom-links { margin-top: 48px; margin-bottom: 40px; }
@media (max-width: 767px) {
  .fm-service-reviews { margin-top: 40px; margin-bottom: 40px; }
  .fm-service-bottom-links { margin-top: 32px; margin-bottom: 32px; }
}

/* Match index-page.css intro spacing only on service details. */
.fm-service-reviews .index-block__preview,
.fm-service-reviews + .map-list .index-block__preview {
  margin-top: 21px;
  margin-bottom: 56px;
}
@media (max-width: 600px) {
  .fm-service-reviews .index-block__preview,
  .fm-service-reviews + .map-list .index-block__preview { margin-bottom: 26px; }
}

/* End */
/* /local/assets/css/fm-sf009.css?179576969014615 */
/* /local/fm-map-reviews.css?17950142984756 */
