
#rb-service-page { display: flow-root; padding-top: var(--rb-service-top-offset,140px); padding-bottom: 0; background: #f4f8fd; color: #294764; }
#rb-service-page[data-rb-resource="42"] { padding-top: 0; }
#rb-service-page *, #rb-service-page *::before, #rb-service-page *::after { box-sizing: border-box; }
#rb-service-page:not([data-rb-resource="42"]) .container { max-width: 1210px; }
#rb-service-page .rb-service-hero { position: relative; display: block; width: 100%; height: auto; min-height: 540px; margin: 0; padding: 48px 0; overflow: hidden; background-position: center; background-repeat: no-repeat; background-size: cover; }
#rb-service-page .rb-service-hero::before { position: absolute; z-index: 0; inset: 0; width: auto; height: auto; background: linear-gradient(90deg,rgba(245,249,255,.62),rgba(245,249,255,.56) 58%,rgba(245,249,255,.35)); content: ''; }
#rb-service-page .rb-service-hero > .container { position: relative; z-index: 2; height: auto; min-height: 0; max-height: none; }
#rb-service-page .rb-service-hero .heading-wrapper { position: relative; float: none; display: block; width: 50%; max-width: 660px; height: auto; min-height: 0; max-height: none; margin: 0; padding: 0; }
#rb-service-page .rb-service-eyebrow { display: block; margin-bottom: 13px; color: #4f7195; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .8px; text-transform: uppercase; }
#rb-service-page .rb-service-hero h1 { margin: 0 0 20px; color: #173e68; font-size: clamp(30px,3.05vw,43px); font-weight: 800; line-height: 1.13; letter-spacing: 0; text-transform: none; }
#rb-service-page .rb-service-hero .advantage-list { width: auto; margin: 0; padding: 0; }
#rb-service-page .rb-service-hero .advantage-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
#rb-service-page .rb-service-hero .advantage-list li { position: relative; margin: 0; padding: 0 0 0 23px; color: #294764; font-size: 15px; font-weight: 400; line-height: 1.5; }
#rb-service-page .rb-service-hero .advantage-list li::before { position: absolute; top: 0; left: 0; width: auto; height: auto; margin: 0; border: 0; background: none; transform: none; color: #1873d7; font-family: inherit; font-size: 16px; content: '✓'; }
#rb-service-page .rb-service-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 11px; margin-top: 24px; }
#rb-service-page .rb-service-actions a.main-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: auto; min-width: 0; max-width: none; min-height: 46px; height: auto; margin: 0; padding: 12px 16px; border: 1px solid #1873d7; border-radius: 10px; background: #1873d7; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; text-transform: none; text-decoration: none; box-shadow: none; transform: none; }
#rb-service-page .rb-service-actions a.main-btn:hover { background: #125fb5; border-color: #125fb5; }
#rb-service-page .rb-service-actions a.main-btn::before, #rb-service-page .rb-service-actions a.main-btn::after { content: none; }
#rb-service-page .rb-service-actions a.quiz-btn { background: rgba(255,255,255,.9); color: #175599; border-color: #bbd3ef; }
#rb-service-page .rb-service-actions a.quiz-btn:hover { background: #e7f1ff; }
#rb-service-page .rb-service-actions a.quiz-btn > span { position: static; display: inline-flex; flex-direction: row; align-items: center; align-self: center; gap: 3px; width: auto; height: auto; margin: 0; padding: 4px 6px; border: 0; border-radius: 5px; background: #e6f0ff; color: #175599; font-size: 11px; font-weight: 400; line-height: 1.3; white-space: nowrap; transform: none; }
#rb-service-page .rb-service-actions a.quiz-btn > span::before, #rb-service-page .rb-service-actions a.quiz-btn > span::after { content: none; }
#rb-service-page .rb-service-actions a.quiz-btn > span > span { position: static; display: inline; width: auto; height: auto; margin: 0; padding: 0; color: inherit; font-size: inherit; font-weight: 700; line-height: inherit; transform: none; }
#rb-service-page .rb-service-actions a.quiz-btn br { display: none; }
#rb-service-page .rb-service-hero .rectangle { position: absolute; z-index: 1; float: none; display: block; top: 0; right: 0; width: 48%; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; opacity: 1; background: #eaeaea; box-shadow: none; transform: none; clip-path: polygon(34% 0,100% 0,100% 100%,34% 100%,0 50%); }
#rb-service-page .rb-service-hero .rectangle::before, #rb-service-page .rb-service-hero .rectangle::after { display: none; content: none; }
#rb-service-page .rb-service-hero .rectangle img { position: static; display: block; width: 100%; max-width: 100%; height: 100%; max-height: none; margin: 0; padding: 0; border-radius: 0; object-fit: cover; object-position: center; transform: none; clip-path: none; }
#rb-service-page .top-items { height: auto; margin: 0; padding: 24px 0 6px; border: 0; background: none; }
#rb-service-page .top-items .top-items-raw-wrapper { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; gap: 13px; height: auto; margin: 0; padding: 0; }
#rb-service-page .top-items .top-items-raw-wrapper::before, #rb-service-page .top-items .top-items-raw-wrapper::after { content: none; }
#rb-service-page .top-items .top-items--item { position: relative; float: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 9px; width: auto; max-width: none; height: auto; margin: 0; padding: 16px; border: 1px solid #dce7f3; border-radius: 13px; background: #fff; box-shadow: none; text-align: left; }
#rb-service-page .top-items .top-items--item::before, #rb-service-page .top-items .top-items--item::after { display: none; content: none; }
#rb-service-page .top-items .top-item--image { position: static; display: flex; align-items: center; justify-content: flex-start; width: auto; height: 42px; min-height: 42px; margin: 0; padding: 0; border: 0; background: none; transform: none; }
#rb-service-page .top-items .top-item--image::before, #rb-service-page .top-items .top-item--image::after { display: none; content: none; }
#rb-service-page .top-items .top-item--image > span { position: static; display: block; margin: 0; padding: 0; color: #1873d7; font-size: 31px; font-weight: 700; line-height: 1.1; transform: none; }
#rb-service-page .top-items .top-item--image img { position: static; display: block; width: auto; max-width: 65px; height: 42px; max-height: 42px; margin: 0; object-fit: contain; transform: none; }
#rb-service-page .top-items .top-items--item p { position: static; float: none; left: auto; right: auto; top: auto; bottom: auto; width: auto; min-width: 0; margin: 0; transform: none; color: #536f89; font-size: 12px; font-weight: 400; line-height: 1.5; }
#rb-service-page .top-items .top-items--item p strong { color: #294764; font-weight: 700; }
#rb-service-page .top-items .top-items--item a { color: #175599; text-decoration: underline; text-underline-offset: 2px; }
#rb-service-page .breadcrumbs { margin: 0; padding: 20px 0 12px; background: none; }
#rb-service-page .breadcrumbs .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; padding: 0; border: 0; background: none; color: #536f89; font-size: 12px; line-height: 1.5; }
#rb-service-page .breadcrumbs li { float: none; margin: 0; padding: 0; color: #173e68; }
#rb-service-page .breadcrumbs .breadcrumb > li + li::before { position: static; display: inline-block; width: auto; height: auto; margin: 0 8px; padding: 0; border: 0; background: none; color: #8ba2b9; transform: none; content: '/'; }
#rb-service-page .breadcrumbs a { color: #607a95; text-decoration: none; }
#rb-service-page .rb-service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
#rb-service-page .rb-service-nav[hidden] { display: none; }
#rb-service-page .rb-service-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #d5e3f3; border-radius: 9px; background: #fff; color: #295c93; font-size: 13px; line-height: 1.4; text-decoration: none; }
#rb-service-page .rb-service-nav a:hover { border-color: #1873d7; color: #1873d7; background: #edf5ff; }
#rb-service-page .rb-service-anchor, #rb-service-page .rb-service-content [id] { scroll-margin-top: 90px; }
#rb-service-page .main-reviews { overflow: hidden; }
#rb-service-page #reviews .bee3D--nav { z-index: 8; top: 50%; width: 36px; height: 40px; border: 1px solid #c8ddf5; border-radius: 9px; background: #edf5ff; color: #1873d7; opacity: 1; transform: translateY(-50%); }
#rb-service-page #reviews .bee3D--nav::before { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: Arial,sans-serif; font-size: 28px; line-height: 1; }
#rb-service-page #reviews .bee3D--nav__prev { left: 8px; right: auto; }
#rb-service-page #reviews .bee3D--nav__prev::before { content: '‹'; }
#rb-service-page #reviews .bee3D--nav__next { right: 8px; left: auto; }
#rb-service-page #reviews .bee3D--nav__next::before { content: '›'; }
#rb-service-page :is(a,button,[tabindex="0"]):focus-visible { outline: 3px solid #77b5ff; outline-offset: 3px; }
@media (max-width:1199px) {
    #rb-service-page { padding-top: var(--rb-service-top-offset,45px); }
    #rb-service-page[data-rb-resource="42"] { padding-top: 0; }
    #rb-service-page .rb-service-hero { min-height: 500px; padding: 32px 0; }
    #rb-service-page .top-items .top-items--item { padding: 13px; }
}
@media (max-width:991px) {
    #rb-service-page .rb-service-hero { min-height: 0; padding-bottom: 0; }
    #rb-service-page .rb-service-hero .heading-wrapper { width: 100%; max-width: none; }
    #rb-service-page .rb-service-hero .rectangle { position: relative; top: auto; right: auto; width: 100%; height: 270px; margin: 26px 0 0; clip-path: polygon(12% 0,100% 0,100% 100%,12% 100%,0 50%); }
    #rb-service-page .top-items .top-items-raw-wrapper { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:600px) {
    #rb-service-page:not([data-rb-resource="42"]) .container { padding-right: 16px; padding-left: 16px; }
    #rb-service-page .rb-service-hero { padding: 26px 0 0; }
    #rb-service-page .rb-service-hero h1 { margin-bottom: 17px; font-size: 29px; }
    #rb-service-page .rb-service-eyebrow { margin-bottom: 11px; font-size: 10px; }
    #rb-service-page .rb-service-hero .advantage-list li { font-size: 14px; }
    #rb-service-page .rb-service-actions { gap: 9px; margin-top: 20px; }
    #rb-service-page .rb-service-actions a.main-btn { width: 100%; min-height: 45px; padding: 11px 12px; font-size: 13px; }
    #rb-service-page .rb-service-hero .rectangle { height: 220px; border: 0; border-radius: 0; }
    #rb-service-page .top-items { padding-top: 18px; }
    #rb-service-page .top-items .top-items-raw-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    #rb-service-page .top-items .top-items--item { gap: 6px; padding: 12px; }
    #rb-service-page .top-items .top-items--item:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 13px; }
    #rb-service-page .top-items .top-item--image > span { font-size: 27px; }
    #rb-service-page .breadcrumbs { padding-top: 17px; }
    #rb-service-page .rb-service-nav { gap: 7px; margin-bottom: 20px; }
    #rb-service-page .rb-service-nav a { min-height: 36px; padding: 7px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
    #rb-service-page .rb-service-nav a, #rb-service-page .rb-service-actions a { transition: none; }
}

/* Содержимое страниц услуг. Шапка, первый экран, формы и карусели сохраняют свои правила. */
#rb-service-page .content-margin {
    margin: 34px 0;
}

#rb-service-page .content-margin > .container {
    padding: 28px;
    border: 1px solid #dce7f3;
    border-radius: 18px;
    background-color: #fff;
    color: #334f6b;
    box-shadow: 0 8px 28px rgba(23, 62, 104, .045);
    font-family: RobotoRegular, Arial, sans-serif;
}

/* Только обычный текст непосредственно в панели или её колонках, а не поля и прайсы. */
#rb-service-page .content-margin > .container > p,
#rb-service-page .content-margin > .container > [class*="col-"] > p,
#rb-service-page .content-map .map-wrapper > [class*="col-"] > p,
#rb-service-page .warning > [class*="col-"] > p {
    margin: 0 0 16px;
    color: #334f6b;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#rb-service-page .content-margin > .container > p:last-child,
#rb-service-page .content-margin > .container > [class*="col-"] > p:last-child,
#rb-service-page .content-map .map-wrapper > [class*="col-"] > p:last-child,
#rb-service-page .warning > [class*="col-"] > p:last-child {
    margin-bottom: 0;
}

#rb-service-page .content-margin > .container > h2,
#rb-service-page .content-margin > .container > [class*="col-"] > h2 {
    margin: 0 0 22px;
    padding: 0;
    color: #173e68;
    font-family: RobotoBold, Arial, sans-serif;
    font-size: 30px;
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    text-transform: none;
}

#rb-service-page .content-margin > .container > h2:not(:first-child) {
    margin-top: 28px;
}

#rb-service-page .content-margin > .container > h3,
#rb-service-page .content-margin > .container > [class*="col-"] > h3 {
    margin: 24px 0 12px;
    padding: 0;
    color: #173e68;
    font-family: RobotoBold, Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
}

#rb-service-page .content-margin > .container > ul,
#rb-service-page .content-margin > .container > ol,
#rb-service-page .content-margin > .container > [class*="col-"] > ul,
#rb-service-page .content-margin > .container > [class*="col-"] > ol {
    margin: 0 0 20px;
    padding-left: 23px;
    color: #334f6b;
    font-size: 16px;
    line-height: 1.7;
}

#rb-service-page .content-margin > .container > ul > li,
#rb-service-page .content-margin > .container > ol > li,
#rb-service-page .content-margin > .container > [class*="col-"] > ul > li,
#rb-service-page .content-margin > .container > [class*="col-"] > ol > li {
    margin-bottom: 7px;
}

#rb-service-page .content-margin > .container > p a:not(.main-btn),
#rb-service-page .content-margin > .container > [class*="col-"] > p a:not(.main-btn),
#rb-service-page .content-map .map-wrapper > [class*="col-"] > p a:not(.main-btn) {
    color: #1873d7;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

#rb-service-page .content-margin > .container > p a:not(.main-btn):hover,
#rb-service-page .content-margin > .container > [class*="col-"] > p a:not(.main-btn):hover,
#rb-service-page .content-map .map-wrapper > [class*="col-"] > p a:not(.main-btn):hover {
    color: #173e68;
}

/* Маркеры добавляются только после проверки структуры: ровно две прямые колонки. */
#rb-service-page .content-margin > .container.rb-service-intro-grid,
#rb-service-page .content-margin > .container.rb-service-price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

#rb-service-page .content-margin > .container.rb-service-price-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
}

/* Bootstrap clearfix не должен создавать пустые ячейки внутри grid. */
#rb-service-page .content-margin > .container.rb-service-intro-grid::before,
#rb-service-page .content-margin > .container.rb-service-intro-grid::after,
#rb-service-page .content-margin > .container.rb-service-price-grid::before,
#rb-service-page .content-margin > .container.rb-service-price-grid::after {
    display: none;
    content: none;
}

#rb-service-page .content-margin > .container.rb-service-intro-grid > [class*="col-"],
#rb-service-page .content-margin > .container.rb-service-price-grid > [class*="col-"] {
    float: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}

#rb-service-page .content-margin > .container.rb-service-intro-grid > h2,
#rb-service-page .content-margin > .container.rb-service-price-grid > h2 {
    grid-column: 1 / -1;
    margin: 0;
}

/* Только вводные фотографии; изображения слайдеров, логотипы и иконки не затрагиваются. */
#rb-service-page .first-content > .container > [class*="col-"] > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
}

#rb-service-page .content-map .map-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #e0e9f3;
    border-radius: 14px;
}

#rb-service-page .content-map .map-wrapper > [class*="col-"] {
    min-width: 0;
}

/* Предупреждение сохраняет самостоятельный акцент и все исходные формулировки. */
#rb-service-page .warning {
    display: flow-root;
    margin: 20px 0;
    padding: 24px;
    border: 1px solid #ead3a0;
    border-radius: 16px;
    background-color: #fffdf6;
    box-shadow: none;
}

#rb-service-page .warning > [class*="col-"] > h3 {
    margin: 0 0 16px;
    color: #173e68;
    font-family: RobotoBold, Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
}

/* Старый двухколоночный прайс: маркер получают только строки с двумя прямыми span. */
#rb-service-page .content-price .price:not(.rb-price-v1) .price__item {
    border: 1px solid #dce7f3;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: none;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(88px, .36fr);
    gap: 16px;
    align-items: start;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #e6edf5;
    color: #334f6b;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row::before,
#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-heading::before {
    content: none;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row > span {
    position: static;
    display: block;
    right: auto;
    bottom: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    background: transparent;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row > span:nth-child(2) {
    color: #173e68;
    font-family: RobotoBold, Arial, sans-serif;
    text-align: right;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-heading {
    margin: 18px 0 4px;
    padding: 10px 12px;
    border-radius: 9px;
    background-color: #f4f8fd;
    color: #173e68;
}

#rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-heading > span {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    color: inherit;
    font-family: RobotoBold, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

/* Только оформление карточек Bee3D: их положение, размеры и transform не меняются. */
#rb-service-page #reviews .reviews__item,
#rb-service-page #brands .brands__item {
    border: 1px solid #dce7f3;
    background-color: #fff;
}

@media (max-width: 991px) {
    #rb-service-page .content-margin > .container.rb-service-intro-grid,
    #rb-service-page .content-margin > .container.rb-service-price-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    #rb-service-page .content-map .map-wrapper {
        display: block;
    }

    #rb-service-page .content-map .map-wrapper > [class*="col-"] {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #rb-service-page .content-map .map-wrapper > [class*="col-"]:first-child {
        margin-bottom: 22px;
    }
}

@media (max-width: 767px) {
    #rb-service-page .content-margin {
        margin: 24px 0;
    }

    #rb-service-page .content-margin > .container {
        width: calc(100% - 32px);
        padding: 20px;
        border-radius: 16px;
    }

    #rb-service-page .content-margin > .container > h2,
    #rb-service-page .content-margin > .container > [class*="col-"] > h2 {
        font-size: 25px;
    }

    #rb-service-page .content-margin > .container > h3,
    #rb-service-page .content-margin > .container > [class*="col-"] > h3 {
        font-size: 21px;
    }

    #rb-service-page .warning {
        padding: 18px;
    }

    #rb-service-page .warning > [class*="col-"] {
        float: none;
        width: 100%;
        padding: 0;
    }

    #rb-service-page .warning > [class*="col-"] + [class*="col-"] {
        margin-top: 20px;
    }

    #rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row {
        grid-template-columns: minmax(0, 1fr) minmax(72px, .36fr);
        gap: 12px;
    }

    #rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-row > span,
    #rb-service-page .content-price .price:not(.rb-price-v1) .price__item li.rb-service-price-heading > span {
        font-size: 14px;
    }
}

