.rb-home {
    --black: #151515;
    --gray: #f4f4f4;
    --line: #d7d7d7;
    --text: #202020;
    --muted: #666;
    color: var(--text);
    background: #fff;
}

.rb-home * {
    box-sizing: border-box;
}

.rb-slider>.rb-product-card,
.rb-slider>.rb-object-card,
.rb-slider>.rb-sale-card,
.rb-slider>.rb-article-card,
.rb-slider>.rb-stat-card {
    flex: 0 0 315px !important;
    width: 315px !important;
}

.rb-container {
    width: calc(100% - 128px);
    max-width: 100%;
    margin: 0 auto;
}

.rb-section {
    padding: 40px 0;

}

.rb-stats-section .rb-slider-nav {
    display: none;
}

.rb-stat-card>* {
    position: relative;
    z-index: 2;
}

.rb-stat-card {
    overflow: hidden;
}



.rb-stat-card::before {
    content: "";

    position: absolute;
    inset: 0;


    background:
        repeating-linear-gradient(244deg,
            transparent 0px,
            transparent 42px,

            rgba(244, 244, 244, 0.35) 42px,
            rgba(244, 244, 244, 0.35) 82px,

            transparent 82px,
            transparent 114px);


    pointer-events: none;
}

.rb-stat-card::after {
    transform: translateX(18px);
}


.rb-section--gray {
    background: var(--gray);
    border-bottom: 1px solid #bdbdbd;
    border-top: 1px solid #bdbdbd
}

.rb-section h2 {
    margin: 0;
    font-size: 33px;
    line-height: 1.15;
    font-weight: 700;
}

.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 47px;
    padding: 0 14px;
    border: 1px solid #c9c9c9;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #111;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.rb-btn:hover {
    opacity: .82;
}

.rb-btn--light {
    color: #111;
    background: #ffffff00;
}

.rb-btn--gray {
    color: #111;
    background: #f4f4f4;
}

.rb-btn--dark {
    color: #fff;
    background: #151515;
    border-color: #151515;
}

/* HERO */

.rb-hero {
    padding: 70px 0 76px;
}

.rb-stats-section {
    position: relative;

    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
}

.rb-stats-section .rb-container {
    width: calc(100% - 115px);
}

.rb-sales-section {
    position: relative;

    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
}

.rb-sales-section .rb-container {
    width: calc(100% - 200px);
}

.rb-hero__grid {
    position: relative;
    display: grid;

    grid-template-columns: 1fr minmax(280px, 320px);

    gap: 42px;
    align-items: center;
}

.rb-hero__content {
    max-width: 880px;
}

.rb-last-section {
    border-bottom: 1px solid #bdbdbd;
    padding: 40px 40px;
    margin-left: -40px;
    margin-right: -40px;
}

.rb-hero h1 {
    max-width: 880px;
    margin: 0 0 50px;
    font-size: 43px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: .01em;
}

.heading {
    max-width: 880px;
    margin: 0 0 50px;
    font-size: 43px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: .01em;
}

.rb-hero .mm {
    margin: 0 0 30px;
}

.rb-hero p {
    max-width: 520px;
    margin: 0 0 50px;
    font-size: 17px;

}

.rb-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rb-hero__stamp {
    position: absolute;
    right: 330px;
    top: 50%;
    width: 450px;
    height: 450px;
    transform: translateY(-42%);

    opacity: 0.59;
    pointer-events: none;
}

.rb-form {
    position: relative;
    z-index: 2;
    min-height: 490px;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 355px;

    padding: 28px 20px 28px;

    border: 1px solid #cfcfcf;
    background: #f8f8f8;

    justify-self: end;
}

.rb-form h3 {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}

.rb-form label {
    display: block;
    margin-bottom: 14px;
}

.rb-form label>span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.rb-form input[type="text"],
.rb-form input[type="tel"] {
    width: 100%;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #c8c8c8;
    background: #fff;
    font-size: 12px;
    outline: none;
}

.rb-checkbox {
    display: grid !important;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: start;
}

.rb-checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.rb-checkbox span {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.15;
    font-weight: 400 !important;
    text-transform: none !important;
}

.rb-form__bottom {
    display: flex;
    gap: 10px;

}

.rb-form__bottom .rb-btn {
    flex: 1;
    gap: 10px;
    padding: 0 10px;
    font-size: 14px;
}

.rb-send-btn {
    flex: 0 0 40px;
    width: 50px;
    height: 50px;
    border: 1px solid #999;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* STATS */

.rb-stats-section {
    padding: 40px 0 45px;
}

/* SERVICES AS STAT CARDS SLIDER */

.rb-stats.rb-slider {
    display: flex !important;
    gap: 50px;

    overflow-x: auto;
    overflow-y: visible;


}

.rb-stats.rb-slider>.rb-stat-card {
    flex: 0 0 calc((100% - 136px) / 5);
    width: calc((100% - 136px) / 5);

    text-decoration: none;
    color: #111;
    height: 155px;
}

.rb-stats.rb-slider .rb-stat-card__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .rb-stats.rb-slider {
        gap: 16px;
    }

    .rb-stat-card__icon {

        right: 10px;
        bottom: 26px;

    }

    .rb-stat-card p,
    .rb-small-card p {
        width: 180px;
    }



    .rb-stats-section .rb-slider-nav {
        display: flex;
    }

    .rb-stats {
        display: grid !important;
    }

    .rb-stats.rb-slider {
        display: flex !important;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .rb-stats.rb-slider>.rb-stat-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        scroll-snap-align: start;
    }

    .rb-sales-section .rb-container {
        width: calc(100% - 90px);
    }

    .rb-stats.rb-slider>.rb-stat-card {
        flex-basis: 260px;
        width: 260px;
        min-width: 260px;
    }
}

@media (max-width: 575px) {
    .rb-stats.rb-slider>.rb-stat-card {
        flex-basis: 230px;
        width: 230px;
        min-width: 255px;
    }

    .rb-stat-card__icon {

        right: 10px;
        bottom: 26px;

    }

    .rb-stat-card p,
    .rb-small-card p {
        width: 180px;
    }


}

.rb-stats {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
}

.rb-stat-card,
.rb-small-card {
    position: relative;
    min-height: 130px;
    padding: 14px 12px;
    background:
        linear-gradient(60deg, transparent 68%, rgba(255, 255, 255, .65) 68%),
        #fff;
    border-left: 6px solid #000;
    box-shadow:
        0 4px 10px rgb(0 0 0 / 22%)
}

.rb-stat-card h3,
.rb-small-card h3 {
    margin: 10px 0 30px;
    font-size: 19px;
    line-height: 1.1;
    font-weight: 600;
}

.rb-stat-card p,
.rb-small-card p {
    max-width: 220px;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}

.rb-stat-card__icon {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: 28px;
    color: #000;
}

/* STATS ADAPTIVE 991–1840 */

@media (min-width: 992px) and (max-width: 1840px) {

    .rb-stats-section .rb-container {
        width: calc(100% - 80px);
    }

    .rb-stats {
        gap: 24px;
    }

    .rb-stat-card {
        min-height: 126px;
        padding: 14px 58px 14px 14px;
    }

    .rb-stat-card h3 {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .rb-stat-card p {
        max-width: 180px;
        font-size: 11.5px;
        line-height: 1.2;
    }

    .rb-stat-card__icon {
        right: 14px;
        bottom: 14px;
    }

    .rb-stat-card__icon svg {
        width: 34px;
        height: 34px;
    }
}



@media (min-width: 992px) and (max-width: 1280px) {

    .rb-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }

    .rb-stat-card {
        padding-right: 42px;
    }

    .rb-stat-card h3 {
        font-size: 13px;
    }

    .rb-stat-card p {
        max-width: 160px;
        font-size: 12px;
    }

    .rb-stat-card__icon {
        right: 10px;
        bottom: 12px;
    }

    .rb-stat-card__icon svg {
        width: 34px;
        height: 34px;
    }
}

/* COMMON HEAD */

.rb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.rb-slider-nav {
    display: flex;
    align-items: center;
}

.rb-slider-nav .ml-20 {
    margin-left: 25px;
}

.rb-slider-nav button {
    width: 47px;
    height: 47px;
    border: 1px solid #c8c8c8;
    background: #ffffff00;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #000;
    transition: .2s;
    padding: 0;
    position: relative;
}

/* кнопки вплотную */
.rb-slider-nav button+button {
    margin-left: -1px;
}

/* disabled */
.rb-slider-nav button:disabled {
    color: #bdbdbd;
    cursor: default;

    z-index: 0;
}

.object {
    padding: 45px 0px;

    border-bottom: 1px solid #bdbdbd;
}

/* активная кнопка поверх соседней границы */
.rb-slider-nav button:not(:disabled) {
    z-index: 1;
}

/* PRODUCTS */

.rb-cards,
.rb-object-cards,
.rb-sale-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 34px;
}

.rb-product-card,
.rb-sale-card,
.rb-article-card,
.rb-object-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    background: #fff;
}

.rb-product-card img,
.rb-sale-card img,
.rb-article-card img,
.rb-object-card img {
    display: block;
    width: 100%;
    height: 235px;
}

.rb-product-card__body {
    min-height: 140px;

    padding: 10px 10px 6px;
}

.rb-product-card h3,
.rb-sale-card h3,
.rb-article-card h3,
.rb-object-card h3 {
    margin: 5px 0 8px;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
}

.rb-product-card p,
.rb-sale-card p {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.22;
    padding: 5px 0px;
}

.rb-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding: 0 8px;
    color: #fff;

    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.rb-card-link--1 {
    background: linear-gradient(270deg, #C4B19B -0.03%, #5E554A 100%);
}

.rb-card-link--2 {
    background: linear-gradient(90deg, #674A3F 0%, #CD937D 100%);
}

.rb-card-link--3 {
    background: linear-gradient(270deg, #ABA5A1 0.02%, #454341 100%);
}

.rb-card-link--4 {
    background: linear-gradient(90deg, #656C5A 0%, #C4D2AF 100%);
}

.rb-card-link--5 {
    background: linear-gradient(270deg, #857970 0%, #1F1C1A 100%);
}

.rb-card-link--6 {
    background: linear-gradient(90deg, #674A3F 0%, #CD937D 100%);
}

/* ABOUT VIDEO */

.rb-about {
    padding: 90px 40px;
    margin-left: -40px;
    margin-right: -40px;
    border-top: 1px solid #bdbdbd;
}

.rb-about__grid {
    display: grid;
    grid-template-columns: 1fr 740px;
    gap: 64px;
    align-items: center;
}

.rb-about h2 {
    margin-bottom: 34px;
    font-size: 50px;
    line-height: 1.25;
}

.rb-about h2 span {
    font-weight: 500;
}

.rb-about p {
    max-width: 550px;
    font-size: 23px;
    line-height: 1.15;
}

.rb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 275px;
    border: 1px solid #777;
    color: red;
    font-size: 16px;
}

.rb-years {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 48px;
    font-size: 25px;
}

.rb-years span {
    color: #888;
}

.rb-years i {
    height: 1px;
    background: #bbb;
}

/* SERVICES */

.rb-small-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
}

.rb-small-card {
    display: block;
    color: #111;
    text-decoration: none;
}

.rb-small-card span {
    position: absolute;
    right: 16px;
    top: 5px;
    font-size: 20px;
}

/* OBJECTS */

.rb-object-card img {
    height: 230px;
    width: 330px;
}

.rb-object-card h3 {
    padding: 12px 36px 16px 10px;
    font-size: 17px;
    font-weight: 400;
}

.rb-object-card h3 strong,
.rb-object-card h3 b {
    font-weight: 900;
}

.rb-object-card a {
    position: absolute;
    right: 12px;
    bottom: 18px;
    color: #111;
    font-size: 20px;
    text-decoration: none;
}

/* FAQ */

.rb-faq-section {
    padding: 45px 0px;
}

.rb-faq-section h2 {
    margin-bottom: 30px;
}

.rb-faq details {
    border-bottom: 1px solid #ccc;
}

.rb-faq summary {
    position: relative;
    padding: 12px 28px 12px 0;
    color: #888;
    font-size: 15px;
    list-style: none;
    cursor: pointer;
}

.rb-faq summary::-webkit-details-marker {
    display: none;
}

.rb-faq summary::after {
    content: "";
    position: absolute;

    right: 0;
    top: 50%;

    width: 14px;
    height: 14px;

    transform: translateY(-50%);
    transition: transform .2s ease;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    background-image: url("data:image/svg+xml,%3Csvg width='31' height='18' viewBox='0 0 31 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='14.012' y1='16.6166' x2='29.4774' y2='1.15115' stroke='black' stroke-width='3.25589'/%3E%3Cline x1='14.012' y1='16.6166' x2='29.4774' y2='1.15115' stroke='black' stroke-width='3.25589'/%3E%3Cline x1='14.012' y1='16.6166' x2='29.4774' y2='1.15115' stroke='black' stroke-width='3.25589'/%3E%3Cline x1='1.15113' y1='1.41827' x2='15.427' y2='15.6941' stroke='black' stroke-width='3.25589'/%3E%3C/svg%3E");
}

.rb-faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.rb-faq details[open] summary::after {
    transform: rotate(180deg);
}

.rb-faq details div {
    padding: 0 0 16px;
    font-size: 14px;
    line-height: 1.4;
}

/* SALES */

.rb-sale-cards {
    grid-template-columns: 1fr 1fr 1fr 2fr;
}



.rb-sale-card__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
    padding: 15px 8px;
    border-bottom: 1px solid #ccc;
}

.rb-sale-card__title span {
    padding: 4px 13px;
    border: 1px solid #aaa;
    font-size: 18px;
    font-weight: 699;
}

.rb-card-link--read {
    margin-top: auto;
    background: #2f2f2f;
    color: #fff;
}

.rb-card-link--read span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.rb-sale-card {
    display: flex;
    flex-direction: column;
}

.rb-sale-card p {
    flex: 1;
    min-height: 72px;
    padding: 12px 8px;
}

.rb-sale-card .rb-card-link {
    margin-top: auto;
}

/* ARTICLES */

.rb-article-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.rb-article-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.rb-article-card {
    background: #fff;
    border: 1px solid #cfcfcf;
    display: flex;
    flex-direction: column;
    min-height: 263px;
}

.rb-article-card__image {
    display: block;
    height: 170px;
    overflow: hidden;
}

.rb-article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




.rb-article-card h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.05;
    font-weight: 400;
}

.rb-article-card h3 a {
    color: #111;
    text-decoration: none;
    font-weight: 400;
}

.rb-article-card h3 a strong,
.rb-article-card h3 a b {
    font-weight: 800;
}

.rb-article-card p {

    padding: 12px 8px 0;
    border-top: 1px solid #cfcfcf;
    font-size: 11px;
    line-height: 1.18;
    color: #111;
}

.rb-article-cards>.rb-article-card {
    width: 320px;
}


.rb-article-card__content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.rb-article-card__title {
    min-height: 80px;
    padding: 12px 8px;
    display: flex;
    align-items: flex-start;
}

.rb-article-card__title h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.05;
}

.rb-article-card__text {
    min-height: 80px;
    padding: 12px 8px;
    border-top: 1px solid #cfcfcf;
}

.rb-article-card__text p {
    margin: 0 8px;
    padding: 0;
    border: 0;
    font-size: 12px;
    line-height: 1.18;
    color: #111;
}

.rb-article-card h3 {
    padding: 10px 8px;
}


.rb-prime {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    min-height: 263px;
    padding: 26px 22px;

    color: #fff;
    text-decoration: none;

    background:
        linear-gradient(rgba(0, 0, 0, .40), rgba(0, 0, 0, .40)),
        url('/wp-content/uploads/2026/05/ef856f4890f3d210cdd2e07479df7413abeabe8a-1.png');

    background-position: center;
    background-size: 175px;
    background-repeat: repeat;


    opacity: .92;
    overflow: hidden;
}

.rb-prime strong {
    margin-bottom: 24px;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.rb-prime strong span {
    padding: 0 4px;
    color: #777;
    background: #fff;
}

.rb-prime b {
    max-width: 430px;
    margin-bottom: 34px;
    font-size: 25px;
    line-height: 1.18;
    font-weight: 700;
}

.rb-prime-features {
    display: flex;
    gap: 28px;
    margin-bottom: 34px;

    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, .9);
}

.rb-prime-features span {
    position: relative;
}

.rb-prime-features span::before {

    position: absolute;
    left: -14px;
    top: 50%;

    width: 4px;
    height: 4px;

    margin-top: -2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
}

.rb-prime-features span:first-child::before {
    display: none;
}

.rb-prime em {
    width: max-content;
    padding: 10px 14px;

    color: #111;
    background: #fff;

    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

/* RESPONSIVE */

@media (min-width: 1200px) {
    .rb-hero h1 {
        font-size: 53px;
        line-height: 1.12;
    }

    .heading {
        font-size: 53px;
        line-height: 1.12;
        margin: 0 0 30px;
    }

    .rb-hero__grid {
        grid-template-columns: 1fr 382px;
    }
}

@media (max-width: 1199px) {
    .rb-container {
        width: calc(100% - 40px);
    }

    .rb-hero__grid {
        gap: 60px;
    }

    .rb-stats,
    .rb-cards,
    .rb-object-cards,
    .rb-small-cards {
        gap: 20px;
    }

    .rb-about__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rb-hero h1 {
        font-size: 44px;
    }

    .heading {
        font-size: 44px;
    }
}

@media (max-width: 991px) {

    .rb-cards>.rb-product-card,
    .rb-small-cards>.rb-small-card {
        flex: 0 0 270px !important;
        width: 270px !important;
    }

    .rb-slider>.rb-product-card,
    .rb-slider>.rb-object-card,
    .rb-slider>.rb-sale-card,
    .rb-slider>.rb-article-card,
    .rb-slider>.rb-stat-card {
        flex: 0 0 270px !important;
        width: 270px !important;
    }

    .rb-sale-cards>.rb-sale-card {
        flex: 0 0 270px !important;
        width: 270px !important;
    }

    .rb-container {
        width: calc(100% - 32px);
    }

    .rb-last-section {
        margin: 0px;
    }

    .object {
        margin: 0px;
    }

    .rb-prime-features {
        flex-direction: column;
    }

    .rb-article-card__title {
        min-height: 100px;
    }

    .rb-about {
        margin: 0px;
    }

    .rb-section {
        padding: 36px 0;
    }

    .rb-hero {
        padding: 42px 0;
    }

    .rb-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rb-hero__stamp {
        display: none;
    }

    .rb-form {
        width: 100%;
        max-width: 420px;
        min-height: auto;
    }

    .rb-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-cards,
    .rb-object-cards,
    .rb-small-cards,
    .rb-sale-cards,
    .rb-article-cards {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .rb-product-card,
    .rb-object-card,
    .rb-small-card,
    .rb-sale-card,
    .rb-article-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }

    .rb-about__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rb-video {
        height: 220px;
    }

    .rb-article-grid {
        grid-template-columns: 1fr;
    }

    .rb-prime {
        min-height: 220px;
    }
}

@media (max-width: 575px) {
    .rb-container {
        width: calc(100% - 28px);
    }

    .rb-hero {
        padding: 38px 0;
    }

    .rb-hero h1 {
        margin-bottom: 24px;
        font-size: 34px;
        line-height: 1.08;
    }

    .heading {
        margin-bottom: 24px;
        font-size: 34px;
        line-height: 1.08;
    }

    .rb-hero p {
        font-size: 14px;
    }

    .rb-actions {
        gap: 12px;
    }

    .rb-btn {
        min-height: 38px;
        font-size: 11px;
    }

    .rb-form {
        padding: 16px;
    }

    .rb-section-head {
        align-items: flex-start;
    }

    .rb-section-head h2 {
        font-size: 24px;
    }

    .rb-slider-nav .rb-btn {
        margin-left: 8px;
    }

    .rb-slider-nav button {
        width: 38px;
        height: 38px;
    }

    .rb-stats {
        grid-template-columns: 1fr;
    }

    .rb-product-card,
    .rb-object-card,
    .rb-small-card,
    .rb-sale-card,
    .rb-article-card {
        flex-basis: 230px;
    }

    .rb-about h2 {
        font-size: 28px;
    }

    .rb-about p {
        font-size: 15px;
    }

    .rb-years {
        grid-template-columns: auto 1fr auto;
    }

    .rb-years i:last-child {
        display: none;
    }

    .rb-prime strong {
        font-size: 24px;
    }

    .rb-prime b {
        font-size: 20px;
    }
}

.rb-stat-card__icon {
    position: absolute;
    right: 16px;
    bottom: 20px;
    font-size: 28px;
    color: #000;
}

/* SLIDERS */

.rb-slider {
    display: flex !important;
    gap: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rb-slider::-webkit-scrollbar {
    display: none;
}

.rb-slider>* {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

/* PRODUCTS / OBJECTS / SERVICES */



/* SALES */




/* ARTICLES */

.rb-article-cards>.rb-article-card {
    width: calc((100% - 72px) / 3);
}

/* MOBILE */

@media (max-width: 991px) {
    .rb-slider {
        gap: 16px;
    }

    .rb-cards>.rb-product-card,
    .rb-object-cards>.rb-object-card,
    .rb-small-cards>.rb-small-card,
    .rb-sale-cards>.rb-sale-card,
    .rb-article-cards>.rb-article-card {
        width: 260px;
    }


}

@media (max-width: 575px) {

    .rb-cards>.rb-product-card,
    .rb-object-cards>.rb-object-card,
    .rb-small-cards>.rb-small-card,
    .rb-sale-cards>.rb-sale-card,
    .rb-article-cards>.rb-article-card {
        width: 255px;
    }


}

/* SALES — широкий третий элемент */

/* SALES */

.rb-sale-cards {
    display: flex !important;
    gap: 34px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rb-sale-cards::-webkit-scrollbar {
    display: none;
}



.rb-sale-cards>.rb-sale-card:nth-child(4) {
    flex: 0 0 500px !important;
    width: 500px !important;
}

/* MOBILE */

@media (max-width: 991px) {

    .rb-sale-cards {
        gap: 16px;
    }

    .rb-sale-cards>.rb-sale-card {
        flex-basis: 240px;
        width: 240px;
    }

    .rb-sale-cards>.rb-sale-card:nth-child(4) {
        flex-basis: 340px;
        width: 340px;
    }
}

@media (max-width: 575px) {

    .rb-sale-cards>.rb-sale-card {
        flex-basis: 220px;
        width: 220px;
    }

    .rb-sale-cards>.rb-sale-card:nth-child(4) {
        flex-basis: 300px;
        width: 300px;
    }
}

.rb-service-stat-card {
    position: relative;
    padding-right: 42px;
}

.rb-service-card-arrow {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ==========================================
   LAPTOP FIX 992 - 1440
   ========================================== */

@media (min-width: 992px) and (max-width: 1440px) {

    /* ЕДИНЫЙ КОНТЕЙНЕР ДЛЯ ВСЕХ СЕКЦИЙ */

    .rb-container,
    .rb-stats-section .rb-container,
    .rb-sales-section .rb-container {
        width: calc(100% - 80px) !important;
        margin: 0 auto;
    }

    /* ВСЕ СЕКЦИИ ПО ОДНОЙ ВЕРТИКАЛИ */

    .rb-stats-section,
    .rb-sales-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .rb-about {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* HERO */

    .rb-hero {
        padding: 55px 0;
    }

    .rb-hero__grid {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

    .rb-hero h1,
    .heading {
        font-size: 42px;
        line-height: 1.08;
        margin-bottom: 30px;
    }

    .rb-hero p {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .rb-form {
        max-width: 320px;
        min-height: 430px;
    }

    .rb-hero__stamp {
        width: 320px;
        height: 320px;
        right: 280px;
        opacity: .35;
    }

    /* ЕДИНЫЙ РАЗМЕР ВСЕХ КАРТОЧЕК */

    .rb-slider>.rb-product-card,
    .rb-slider>.rb-object-card,
    .rb-slider>.rb-sale-card,
    .rb-slider>.rb-article-card,
    .rb-cards>.rb-product-card,
    .rb-object-cards>.rb-object-card,
    .rb-sale-cards>.rb-sale-card,
    .rb-article-cards>.rb-article-card {
        flex: 0 0 280px !important;
        width: 280px !important;
    }

    /* УСЛУГИ И ПРЕИМУЩЕСТВА */

    .rb-slider>.rb-stat-card,
    .rb-stats.rb-slider>.rb-stat-card {
        flex: 0 0 230px !important;
        width: 230px !important;
        min-width: 230px !important;
    }

    /* АКЦИИ */

    .rb-sale-cards>.rb-sale-card:nth-child(4) {
        flex: 0 0 420px !important;
        width: 420px !important;
    }

    /* ОДИНАКОВЫЕ ПРОМЕЖУТКИ */

    .rb-slider,
    .rb-cards,
    .rb-object-cards,
    .rb-sale-cards,
    .rb-article-cards,
    .rb-stats.rb-slider {
        gap: 20px !important;
    }

    /* КАРТИНКИ */

    .rb-product-card img,
    .rb-sale-card img,
    .rb-article-card img,
    .rb-object-card img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .rb-object-card img {
        width: 100%;
    }

    /* ABOUT */

    .rb-about__grid {
        grid-template-columns: 1fr 50%;
        gap: 35px;
    }

    .rb-about h2 {
        font-size: 38px;
    }

    .rb-about p {
        font-size: 17px;
    }

    /* FAQ */

    .rb-faq-section {
        padding: 45px 0;
    }
}

/* ==========================================
   LAPTOP 992 - 1440
   ========================================== */

@media (min-width: 992px) and (max-width: 1440px) {

    /* все секции по одной линии */

    .rb-container,
    .rb-stats-section .rb-container,
    .rb-sales-section .rb-container {
        width: calc(100% - 80px) !important;
        margin: 0 auto;
    }

    .rb-stats-section,
    .rb-sales-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .rb-about,
    .rb-last-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 30px;
        padding-right: 30px;
    }

    /* HERO */

    .rb-hero__grid {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }

    .rb-form {
        max-width: 320px;
    }

    .rb-hero__stamp {
        width: 320px;
        height: 320px;
        right: 280px;
        opacity: .35;
    }

    /* ОДИНАКОВАЯ ШИРИНА ВСЕХ КАРТОЧЕК */

    .rb-slider>.rb-product-card,
    .rb-slider>.rb-object-card,
    .rb-slider>.rb-sale-card,
    .rb-slider>.rb-article-card,
    .rb-slider>.rb-stat-card,

    .rb-cards>.rb-product-card,
    .rb-object-cards>.rb-object-card,
    .rb-sale-cards>.rb-sale-card,
    .rb-article-cards>.rb-article-card,
    .rb-stats.rb-slider>.rb-stat-card {

        flex: 0 0 253px !important;
        width: 253px !important;
        min-width: 253px !important;
    }

    /* одинаковые промежутки */

    .rb-slider,
    .rb-cards,
    .rb-object-cards,
    .rb-sale-cards,
    .rb-article-cards,
    .rb-stats.rb-slider {
        gap: 20px !important;
    }

    /* чтобы объекты не вылезали */

    .rb-object-card img {
        width: 100%;
    }

    /* убираем растянутую акцию */

    .rb-sale-cards>.rb-sale-card:nth-child(4) {
        flex: 0 0 280px !important;
        width: 280px !important;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {

    .rb-last-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rb-last-section>.rb-container {
        width: calc(100% - 80px) !important;
        margin: 0 auto !important;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {

    .rb-about {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 60px 0 !important;
    }

    .rb-about .rb-container {
        width: calc(100% - 80px) !important;
        margin: 0 auto !important;
    }

}