/* ==========================================================================
   yrb2.ru — 152-ФЗ и адаптивная версия СТРОГО в родном дизайне сайта (Muse)
   ========================================================================== */

/* Исключаем горизонтальный скролл от скрытых элементов лайтбоксов Muse (left: 1718px) и убираем белый экран .js body {visibility:hidden} при загрузке */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}
.js body {
  visibility: visible !important;
}
body, input, button, textarea {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

/* Выравнивание иконок полей в первой форме каталога (#pwidgetu32364) строго по центру рамок */
#pwidgetu32364 > #u32452 { margin-top: 13px !important; left: 10px !important; pointer-events: none; }
#pwidgetu32364 > #u32445 { margin-top: 58px !important; left: 10px !important; pointer-events: none; }
#pwidgetu32364 > #u32435 { margin-top: 104px !important; left: 10px !important; pointer-events: none; }
#pwidgetu32364 > #u32428 { margin-top: 155px !important; left: 12px !important; pointer-events: none; }

/* --- 1. Чекбоксы 152-ФЗ и ссылки в родном подвале на десктопе (>= 1160px) --- */
#widgetu32364 { margin-bottom: 34px !important; }
#widgetu31194, #widgetu26284, #widgetu29730, #widgetu29969, #widgetu30196,
#widgetu30459, #widgetu30685, #widgetu30822, #widgetu30955,
#widgetu31706, #widgetu31760, #widgetu31865 {
  margin-bottom: 36px !important;
}

.sbm-desk-consent {
  position: absolute;
  left: 0;
  top: 179px;
  width: 387px;
  box-sizing: border-box !important;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #3B3A3A;
  text-align: left;
  z-index: 2500;
  cursor: pointer;
}
#widgetu32364 .sbm-desk-consent {
  top: 187px;
}

/* Перебиваем сброс .form-grp input {-webkit-appearance:none; border-width:0} в site_global.css Muse */
.form-grp .sbm-desk-consent input[type="checkbox"],
.sbm-desk-consent input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  appearance: auto !important;
  display: inline-block !important;
  position: static !important;
  clip: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1px solid #7F7F7F !important;
  background: #FFFFFF !important;
  accent-color: #006837 !important;
  cursor: pointer !important;
  flex-shrink: 0;
}
.sbm-desk-consent a {
  color: #3B3A3A !important;
  text-decoration: underline !important;
}
.sbm-desk-consent a:hover {
  color: #006837 !important;
}
.sbm-desk-consent.is-invalid {
  color: #D7244C !important;
}
.sbm-desk-consent.is-invalid a {
  color: #D7244C !important;
}

/* Ссылки 152-ФЗ прямо внутри родного светло-серого подвала #u29625 (#u7646-7) */
#u7646-7.sbm-native-f-links {
  font-size: 14px !important;
  line-height: 20px !important;
  padding-top: 8px !important;
  color: #3B3A3A !important;
}
#u7646-7.sbm-native-f-links a {
  color: #3B3A3A !important;
  text-decoration: underline !important;
}
#u7646-7.sbm-native-f-links a:hover {
  color: #006837 !important;
  text-decoration: none !important;
}

/* По умолчанию мобильный блок скрыт на десктопе >= 1160px */
#sbm-yrb-mobile {
  display: none;
}

/* --- 2. Полоса Cookie — 1-в-1 как родные серые полосы #F3F4F6 с тенью в yrb2.ru --- */
.sbm-yrb-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F3F4F6;
  color: #3B3A3A;
  border-top: 1px solid #7F7F7F;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  z-index: 100000;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.sbm-yrb-cookie[hidden] { display: none !important; }
.sbm-yrb-cookie-in {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sbm-yrb-cookie a {
  color: #006837 !important;
  text-decoration: underline !important;
}
.sbm-yrb-cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.sbm-cbtn {
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 5px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.sbm-cbtn-ok {
  background: #006837;
  border: 1px solid #3B3A3A;
  color: #FFFFFF;
}
.sbm-cbtn-ok:hover { background: #22B573; }
.sbm-cbtn-no {
  background: #FFFFFF;
  border: 1px solid #7F7F7F;
  color: #3B3A3A;
}
.sbm-cbtn-no:hover { background: #DEDEDE; }

/* --- 3. Модальные окна — 1-в-1 как родные лайтбоксы Muse (#u26135 / #u31662 / #u11252) --- */
.sbm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2147483640 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sbm-modal-backdrop[hidden] { display: none !important; }
.sbm-modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  color: #3B3A3A;
  border-radius: 0;
  padding: 34px 30px 28px;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}
.sbm-modal-card.is-rig-card {
  max-width: 720px;
  padding: 28px 22px 26px;
}
.sbm-modal-card.is-image-preview {
  max-width: 680px;
  padding: 36px 16px 18px;
  text-align: center;
}
.sbm-modal-card.is-image-preview img {
  max-width: 100%;
  max-height: 78vh;
  height: auto;
  border: 1px solid #7F7F7F;
}
.sbm-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.sbm-modal-close img {
  display: block;
  width: 30px;
  height: 30px;
}
.sbm-modal-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  text-align: center;
  text-transform: uppercase;
  color: #3B3A3A;
  margin: 0 0 12px;
  padding: 0 24px;
}
.sbm-modal-sub {
  font-size: 15px;
  color: #3B3A3A;
  line-height: 1.45;
  text-align: center;
  margin: 0 0 16px;
}
.sbm-modal-line {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 14px;
}

/* Поля и кнопка внутри модалок — 1-в-1 как #u31210-4 и #u31195-4 в Muse */
.sbm-muse-form {
  max-width: 388px;
  margin: 0 auto;
}
.sbm-muse-input {
  display: block;
  width: 100%;
  height: 43px;
  box-sizing: border-box;
  border: 1px solid #3B3A3A;
  background: #F2F2F2;
  border-radius: 0;
  padding: 6px 12px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  color: #3B3A3A;
  text-align: center;
  margin-bottom: 12px;
}
.sbm-muse-input:hover,
.sbm-muse-input:focus {
  background: #FFFFFF;
  outline: none;
  border-color: #3B3A3A;
}
.sbm-muse-submit {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #3B3A3A;
  background: #3B3A3A;
  color: #FFFFFF;
  border-radius: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 480px) {
  .sbm-modal-backdrop { padding: 10px; }
  .sbm-modal-card, .sbm-modal-card.is-rig-card { padding: 32px 14px 20px; }
  .sbm-modal-title { font-size: 16px; line-height: 21px; }
  .sbm-muse-input { font-size: 16px; height: 40px; }
  .sbm-muse-submit { font-size: 16px; }
}
.sbm-muse-submit:hover {
  background: #9C171C;
  border-color: #9C171C;
}
.sbm-muse-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.38;
  color: #3B3A3A;
  text-align: left;
  cursor: pointer;
}
.sbm-muse-consent input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #006837;
}
.sbm-muse-consent a {
  color: #3B3A3A !important;
  text-decoration: underline !important;
}

/* Детальное окно установки УРБ — 1-в-1 как #u26135 в Muse */
.sbm-rig-modal-photo {
  text-align: center;
  margin: 10px 0 14px;
}
.sbm-rig-modal-photo img {
  max-width: 100%;
  max-height: 290px;
  width: auto;
  height: auto;
}
.sbm-rig-modal-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #3B3A3A;
  margin-bottom: 14px;
}
.sbm-rig-modal-spec-h {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #3B3A3A;
  margin: 0 0 8px;
}
.sbm-rig-spec-list {
  border-top: 1px solid #DEDEDE;
  margin-bottom: 14px;
}
.sbm-rig-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px;
  font-size: 14px;
  color: #3B3A3A;
  border-bottom: 1px solid #EFEFEF;
}
.sbm-rig-spec-row:hover {
  background: #5F5F5F;
  color: #FFFFFF;
}
.sbm-rig-spec-row strong {
  font-weight: 400;
  white-space: nowrap;
}

/* ==========================================================================
   4. АДАПТИВНАЯ МОБИЛЬНАЯ / ПЛАНШЕТНАЯ ВЕРСИЯ (< 1160px) — 100% ДИЗАЙН В ДИЗАЙН
   ========================================================================== */
@media screen and (max-width: 1159px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    background: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #page,
  .LightboxContent,
  .popup_anchor {
    display: none !important;
  }

  #sbm-yrb-mobile {
    display: block !important;
    width: 100%;
    color: #3B3A3A;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
  }
  #sbm-yrb-mobile *,
  #sbm-yrb-mobile *::before,
  #sbm-yrb-mobile *::after {
    box-sizing: border-box;
  }

  .ym-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 14px;
  }

  /* 1) Первый экран: светлая шапка + фото трех машин + белый заголовок с серой чертой сверху (#u25979) */
  .ym-hero {
    background: #FFFFFF;
  }
  .ym-top-hdr {
    background: #FFFFFF;
    padding: 12px 14px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 5;
  }
  .ym-top-hdr-in {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ym-logo-grp {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #3B3A3A !important;
  }
  .ym-logo-grp img {
    width: 72px;
    height: auto;
    flex-shrink: 0;
  }
  .ym-logo-txt {
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: #3B3A3A;
    max-width: 300px;
    text-transform: uppercase;
  }
  .ym-hdr-contacts {
    text-align: right;
  }
  .ym-hdr-phones {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
  }
  .ym-hdr-phones img {
    width: 20px;
    height: 20px;
    margin-top: 3px;
  }
  .ym-hdr-phones a {
    display: block;
    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
    color: #212121 !important;
    text-decoration: none !important;
  }
  .ym-hdr-mail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 3px;
    font-size: 15px;
  }
  .ym-hdr-mail img { width: 18px; height: 18px; }
  .ym-hdr-mail a { color: #3B3A3A !important; text-decoration: none !important; }

  .ym-hero-banner {
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.05) 100%),
                url("../images/%d0%b1%d0%b5%d0%b7%20%d0%b8%d0%bc%d0%b5%d0%bd%d0%b8-1.jpg") center bottom / cover no-repeat;
    padding: 28px 14px 185px;
    text-align: center;
  }
  .ym-hero-title {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    padding-top: 14px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.75);
  }
  @media (max-width: 620px) {
    .ym-top-hdr-in {
      flex-direction: column;
      text-align: center;
      gap: 8px;
    }
    .ym-logo-grp {
      flex-direction: column;
      gap: 6px;
    }
    .ym-hdr-contacts { text-align: center; }
    .ym-hdr-phones, .ym-hdr-mail { justify-content: center; }
    .ym-hero-banner {
      padding: 20px 12px 135px;
    }
    .ym-hero-title {
      font-size: 16.5px;
      line-height: 22px;
      padding-top: 10px;
    }
  }

  /* 2) Серая полоса с внутренней тенью #u32415: книга book.png + поля с родными иконками + зеленая кнопка */
  .ym-band-grey {
    background: #F3F4F6;
    box-shadow: inset 0px 0px 15px rgba(59, 58, 58, 0.5);
    padding: 28px 0 32px;
  }
  .ym-band-white {
    background: #FFFFFF;
    padding: 34px 0 36px;
  }
  .ym-cat-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }
  @media (max-width: 760px) {
    .ym-cat-form-grid { grid-template-columns: 1fr; }
  }
  .ym-book-wrap {
    text-align: center;
  }
  .ym-book-wrap img {
    max-width: 100%;
    width: 340px;
    height: auto;
  }
  .ym-cat-form-col {
    max-width: 390px;
    width: 100%;
    margin: 0 auto;
  }
  .ym-cat-form-h {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #3B3A3A;
    margin-bottom: 16px;
  }
  .ym-icon-field {
    position: relative;
    margin-bottom: 10px;
  }
  .ym-icon-field img {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    pointer-events: none;
  }
  .ym-round-input {
    width: 100%;
    height: 36px;
    border: 1px solid #7F7F7F;
    border-radius: 5px;
    background: #FFFFFF;
    color: #3B3A3A;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 0 36px;
  }
  .ym-round-input:focus {
    outline: none;
    border-color: #006837;
  }
  .ym-green-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #3B3A3A;
    border-radius: 5px;
    background: #006837;
    color: #FFFFFF !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .ym-green-btn:hover {
    background: #22B573;
    border-color: #9C171C;
  }
  .ym-green-btn img {
    position: absolute;
    left: 10px;
    width: 26px;
    height: 26px;
  }
  .ym-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.38;
    color: #3B3A3A;
    cursor: pointer;
  }
  .ym-consent-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #006837;
  }
  .ym-consent-row a {
    color: #3B3A3A !important;
    text-decoration: underline !important;
  }

  /* Заголовки секций строго как в Muse: центрированный КАПС #3B3A3A */
  .ym-sec-title {
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: #3B3A3A;
    margin: 0 0 6px;
  }
  .ym-sec-sub {
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    color: #3B3A3A;
    margin: 0 0 20px;
  }
  @media (max-width: 480px) {
    .ym-sec-title { font-size: 19px; line-height: 24px; }
    .ym-sec-sub { font-size: 14.5px; line-height: 19px; }
    .ym-green-btn { font-size: 16px; padding: 9px 14px; }
    .ym-green-btn.has-left-ico { padding-left: 42px; padding-right: 14px; }
  }

  /* 3) О НАС В ЦИФРАХ — точная геометрия пятиугольников images/14.png (у него 14% прозрачных полей вокруг зеленой рамки!) */
  .ym-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 12px;
  }
  .ym-stat-item {
    width: 268px;
    height: 276px;
    background: url("../images/14.png") center center / 100% 100% no-repeat;
    padding: 70px 48px 46px;
    margin: -10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
  }
  .ym-stat-num {
    font-size: 36px;
    line-height: 1.08;
    font-weight: 700;
    color: #006837;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  .ym-stat-num small {
    font-size: 22px;
  }
  .ym-stat-lbl {
    font-size: 14px;
    line-height: 18px;
    color: #3B3A3A;
    max-width: 166px;
  }

  /* 4) МОДЕЛЬНЫЙ РЯД БУРОВЫХ УСТАНОВОК — 9 белых карточек 1-в-1 как #u26123 на десктопе! */
  .ym-rigs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 880px) {
    .ym-rigs-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .ym-rigs-grid { grid-template-columns: 1fr; }
  }
  .ym-rig-card {
    background: #FFFFFF;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    padding: 18px 14px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .ym-rig-card:hover {
    border-color: #7F7F7F;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.45);
  }
  .ym-rig-card-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    text-align: center;
    color: #3B3A3A;
    margin: 0 0 10px;
  }
  .ym-rig-card-img {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  .ym-rig-card-img img {
    max-width: 100%;
    max-height: 175px;
    object-fit: contain;
  }
  .ym-rig-card-txt {
    font-size: 14px;
    line-height: 1.42;
    color: #3B3A3A;
    margin-bottom: 14px;
    flex: 1;
  }
  .ym-rig-more-btn {
    width: 100%;
    height: 36px;
    border: none;
    border-radius: 5px;
    background: #006837;
    color: #FFFFFF;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .ym-rig-more-btn:hover {
    background: #22B573;
  }

  /* 5) БУРОВОЙ ИНСТРУМЕНТ — чистая сетка фото + подпись 1-в-1 как на десктопе */
  .ym-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
    margin-bottom: 24px;
  }
  @media (max-width: 720px) {
    .ym-tools-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .ym-tool-item {
    text-align: center;
  }
  .ym-tool-img {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }
  .ym-tool-img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
  }
  .ym-tool-lbl {
    font-size: 15px;
    line-height: 19px;
    color: #3B3A3A;
    overflow-wrap: break-word;
  }
  @media (max-width: 420px) {
    .ym-tool-lbl { font-size: 13.5px; line-height: 17px; }
    .ym-adv-row img { width: 52px; height: 44px; }
    .ym-adv-row h3 { font-size: 14.5px; line-height: 19px; }
    .ym-work-step p { font-size: 13px; line-height: 17px; }
  }
  .ym-center-cta {
    max-width: 340px;
    margin: 0 auto;
  }

  /* 6) ПОЧЕМУ НАШЕ ОБОРУДОВАНИЕ ИСПОЛЬЗУЮТ БОЛЕЕ 750 КЛИЕНТОВ — с родными иконками factory-104з.jpg и др. */
  .ym-adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 18px;
    margin-top: 18px;
  }
  @media (max-width: 680px) {
    .ym-adv-grid { grid-template-columns: 1fr; }
  }
  .ym-adv-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .ym-adv-row img {
    width: 68px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .ym-adv-row h3 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3B3A3A;
    margin: 0 0 4px;
  }
  .ym-adv-row p {
    font-size: 14px;
    line-height: 1.42;
    color: #3B3A3A;
    margin: 0;
  }

  /* 7) НАШЕ ПРОИЗВОДСТВО — фото цеха + полоса превью-миниатюр как в #slideshowu27982 */
  .ym-prod-viewer {
    border: 1px solid #DEDEDE;
    background: #FFFFFF;
  }
  .ym-prod-main {
    position: relative;
    width: 100%;
    background: #F3F4F6;
  }
  .ym-prod-main img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  .ym-prod-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid #7F7F7F;
    background: rgba(255, 255, 255, 0.88);
    color: #3B3A3A;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .ym-prod-prev { left: 8px; }
  .ym-prod-next { right: 8px; }
  .ym-prod-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    background: #F3F4F6;
    -webkit-overflow-scrolling: touch;
  }
  .ym-prod-thumb {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border: 2px solid transparent;
    flex-shrink: 0;
    cursor: pointer;
  }
  .ym-prod-thumb.is-active {
    border-color: #006837;
  }

  /* 8) КАК МЫ РАБОТАЕМ — на серой полосе #F3F4F6 с родными PNG-иконками */
  .ym-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
    margin: 18px 0 24px;
  }
  @media (max-width: 560px) {
    .ym-work-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .ym-work-step {
    text-align: center;
  }
  .ym-work-step img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 6px;
  }
  .ym-work-step p {
    font-size: 14px;
    line-height: 18px;
    color: #3B3A3A;
    margin: 0;
  }

  /* 9) СЕРТИФИКАТЫ И ПЕРЕЧЕНЬ УСЛУГ */
  .ym-certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 32px;
  }
  @media (max-width: 480px) {
    .ym-certs-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .ym-cert-card {
    background: #FFFFFF;
    border: 1px solid #7F7F7F;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.35);
    padding: 6px;
    cursor: pointer;
  }
  .ym-cert-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
  }

  .ym-services-list {
    list-style: none;
    margin: 16px 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
  }
  @media (max-width: 680px) {
    .ym-services-list { grid-template-columns: 1fr; }
  }
  .ym-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 20px;
    color: #3B3A3A;
  }
  .ym-srv-bullet {
    width: 10px;
    height: 10px;
    background: #9C171C;
    margin-top: 6px;
    flex-shrink: 0;
  }

  /* 10) СРЕДИ НАШИХ КЛИЕНТОВ (белые карточки с тенью 0 0 8px rgba(0,0,0,0.5) как #u29249) + ОТЗЫВЫ */
  .ym-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 18px;
  }
  @media (max-width: 720px) {
    .ym-logos-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .ym-logo-card {
    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.38);
    height: 86px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ym-logo-card img {
    max-width: 100%;
    max-height: 66px;
    object-fit: contain;
  }

  /* 11) КАРТА И РОДНОЙ СВЕТЛО-СЕРЫЙ ПОДВАЛ #u29625 */
  .ym-map-box {
    width: 100%;
    height: 280px;
    border-top: 1px solid #7F7F7F;
  }
  .ym-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  .ym-native-ftr {
    background: #F3F4F6;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    padding: 18px 0 24px;
    color: #3B3A3A;
  }
  .ym-ftr-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #7F7F7F;
  }
  .ym-ftr-menu a {
    color: #3B3A3A !important;
    text-decoration: none !important;
    font-size: 16px;
  }
  .ym-ftr-menu a:hover {
    text-decoration: underline !important;
  }
  .ym-ftr-bottom {
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .ym-ftr-org h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #3B3A3A;
  }
  .ym-ftr-org p {
    font-size: 15px;
    line-height: 20px;
    margin: 0 0 5px;
  }
  .ym-ftr-legal a {
    display: inline-block;
    color: #3B3A3A !important;
    text-decoration: underline !important;
    font-size: 13.5px;
    margin-right: 14px;
    margin-top: 4px;
  }
  .ym-ftr-phones a {
    display: block;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #3B3A3A !important;
    text-decoration: none !important;
  }
  .ym-ftr-phones .ym-ftr-mail {
    font-size: 16px;
    font-weight: 400;
    margin-top: 6px;
  }

  .sbm-yrb-cookie-in {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .sbm-yrb-cookie-btns { width: 100%; }
  .sbm-cbtn { flex: 1; text-align: center; }
}
