@charset "UTF-8";

.container {
    max-width: 1170px;
    padding-inline: 15px;
    width: 100%;
    margin: 0 auto;
}

.rm-h1 {
    font-size: clamp(34px, 29.7333333333px + 1.3333333333vw, 44px);
    font-weight: 700;
    line-height: 1;
    color: inherit;
}

.rm-button {
    display: inline-flex;
    padding: 18px 44px;
    background-color: #DD3333;
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    text-align: center;
    font-weight: 700;
    color: #fff;
    transition-duration: 0.2s;
}

@media (any-hover: hover) {
    .rm-button:hover {
        background-color: rgba(221, 51, 51, 0.7);
    }
}

@media (any-hover: none) {
    .rm-button:active {
        background-color: rgba(221, 51, 51, 0.7);
    }
}

.rmCatalog-header {
    position: relative;
    padding: 70px 0 clamp(23px, 13.1866666667px + 3.0666666667vw, 46px) 0;
    font-family: "Inter", sans-serif;
}

.rmCatalog-header__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    z-index: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.rmCatalog-header__inner {
    position: relative;
    z-index: 1;
}

.rmCatalog-header__title {
    margin: 0 0 clamp(100px, 35.5733333333px + 20.1333333333vw, 251px) 0;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.rmCatalog-header__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, -6.4533333333px + 8.2666666667vw, 82px);
}

@media (max-width: 520px) {
    .rmCatalog-header__actions {
        flex-direction: column;
        gap: 10px;
    }
}

.rmCatalog-header__button {
    display: flex;
    padding: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    background-color: #DD3333;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
    max-width: 529px;
    height: 64px;
    width: 100%;
    transition-duration: 0.2s;
}

.rmCatalog-header__button span {
    text-decoration: underline;
}

@media (any-hover: hover) {
    .rmCatalog-header__button:hover {
        background-color: #fff;
        color: #DD3333;
    }
}

@media (any-hover: none) {
    .rmCatalog-header__button:active {
        background-color: #fff;
        color: #DD3333;
    }
}

.rmCatalog-body {
    background-color: #fff;
    padding-block: clamp(40px, 22.9333333333px + 5.3333333333vw, 80px);
    font-family: "Inter", sans-serif;
}

.rmCatalog-body__title {
    margin: 0 0 30px 0;
    color: #03060A;
}

.rmCatalog-body__items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .rmCatalog-body__items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .rmCatalog-body__items {
        grid-template-columns: 1fr;
    }
}

.rmCatalog-body__item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .rmCatalog-body__item:nth-child(odd):last-child {
        grid-column: -1/1;
    }
}

.rmCatalog-body__item_poster {
    height: clamp(200px, 110.8266666667px + 27.8666666667vw, 409px);
    position: relative;
    overflow: hidden;
}

.rmCatalog-body__item_poster img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    transition-duration: 0.2s;
}

.rmCatalog-body__item_body {
    padding: clamp(12px, 4.32px + 2.4vw, 30px) clamp(10px, 3.6px + 2vw, 25px);
    background-color: #DD3333;
    color: #fff;
    font-size: clamp(14px, 11.44px + 0.8vw, 20px);
    flex-grow: 1;
}

@media (any-hover: hover) {
    .rmCatalog-body__item:hover .rmCatalog-body__item_poster img {
        scale: 1.1;
    }
}

@media (any-hover: none) {
    .rmCatalog-body__item:active .rmCatalog-body__item_poster img {
        scale: 1.1;
    }
}

.rmAboutCompany {
    background-color: #fff;
    padding-block: clamp(40px, 22.9333333333px + 5.3333333333vw, 80px);
    font-family: "Inter", sans-serif;
}

.rmAboutCompany__inner {
    display: flex;
    gap: clamp(20px, 11.4666666667px + 2.6666666667vw, 40px);
    align-items: center;
}

@media (max-width: 768px) {
    .rmAboutCompany__inner {
        flex-direction: column;
    }
}

.rmAboutCompany__poster {
    height: 640px;
    flex: 0 0 53%;
    position: relative;
    padding: clamp(20px, 11.4666666667px + 2.6666666667vw, 40px) clamp(20px, 2.9333333333px + 5.3333333333vw, 60px);
    display: flex;
    align-items: end;
    z-index: 0;
}

@media (max-width: 768px) {
    .rmAboutCompany__poster {
        flex: 0 0 400px;
    }
}

.rmAboutCompany__poster img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.rmAboutCompany__poster_label {
    font-size: clamp(18px, 12.88px + 1.6vw, 30px);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    position: relative;
    z-index: 1;
}

.rmAboutCompany__body {
    color: #00132C;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rmAboutCompany__info {
    font-weight: 700;
    font-size: 19px;
}

.rmAboutCompany__content {
    font-size: 16px;
}

.rmAboutCompany__content p {
    margin: 20px 0px;
}

.rmAbout-header {
    position: relative;
    padding: 69px 0 127px 0;
    font-family: "Inter", sans-serif;
}

.rmAbout-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.rmAbout-header__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    z-index: 0;
}

.rmAbout-header__inner {
    position: relative;
    z-index: 2;
}

.rmAbout-header__title {
    margin: 0 0 1px 0;
    color: #fff;
}

@media (max-width: 768px) {
    .rmAbout-header__title {
        margin: 0 0 30px 0;
    }
}

.rmAbout-header__body {
    display: flex;
    justify-content: flex-end;
}

.rmAbout-header__content {
    max-width: 417px;
    padding: clamp(12px, 3.04px + 2.8vw, 33px);
    color: #fff;
    background-color: rgba(0, 19, 44, 0.48);
    border: 1px solid rgba(142, 142, 142, 0.25);
    border-radius: 8px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 18px;
}

@media (max-width: 768px) {
    .rmAbout-header__content {
        max-width: 100%;
    }
}

.rmAbout-cars {
    background-color: #00132C;
    font-family: "Inter", sans-serif;
}

.rmAbout-cars__inner {
    padding-block: clamp(40px, 22.9333333333px + 5.3333333333vw, 80px);
}

.rmAbout-cars__top {
    display: flex;
    gap: clamp(16px, 2.7733333333px + 4.1333333333vw, 47px);
    color: #fff;
}

@media (max-width: 768px) {
    .rmAbout-cars__top {
        flex-direction: column;
    }
}

.rmAbout-cars__title {
    max-width: 377px;
}

.rmAbout-cars__description {
    font-size: 18px;
}

.rmAbout-cars__items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: hidden;
}

@media (max-width: 980px) {
    .rmAbout-cars__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 520px) {
    .rmAbout-cars__items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 380px) {
    .rmAbout-cars__items {
        grid-template-columns: 1fr;
    }
}

.rmAbout-cars__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: clamp(10px, -2.8px + 4vw, 40px);
    text-align: center;
    padding: clamp(20px, 3.7866666667px + 5.0666666667vw, 58px) 10px clamp(12px, 7.3066666667px + 1.4666666667vw, 23px) 10px;
    border: 1px solid #23364E;
}

.rmAbout-cars__item-title {
    font-size: 16px;
    color: #fff;
}

.rmAbout-dealer {
    background-color: #00132C;
    padding-block: clamp(60px, 30.1333333333px + 9.3333333333vw, 130px);
    font-family: "Inter", sans-serif;
}

.rmAbout-dealer__inner {
    display: flex;
    gap: clamp(20px, 7.2px + 4vw, 50px);
    color: #fff;
}

@media (max-width: 768px) {
    .rmAbout-dealer__inner {
        flex-direction: column;
    }
}

.rmAbout-dealer__body {
    flex: 1;
}

.rmAbout-dealer__title {
    margin: 0 0 clamp(22px, 13.4666666667px + 2.6666666667vw, 42px) 0;
}

.rmAbout-dealer__description {
    margin: 0 0 clamp(12px, 3.4666666667px + 2.6666666667vw, 32px) 0;
    max-width: 441px;
}

.rmAbout-dealer__actions {
    margin: 0 0 clamp(20px, 10.1866666667px + 3.0666666667vw, 43px) 0;
}

.rmAbout-dealer__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.rmAbout-dealer__item {
    padding: clamp(10px, 5.7333333333px + 1.3333333333vw, 20px);
    display: flex;
    gap: 15px;
    flex-direction: column;
    border: 1px solid #103D78;
    background-color: rgba(0, 55, 126, 0.18);
    -webkit-backdrop-filter: blur(40);
    backdrop-filter: blur(40);
    border-radius: 8px;
}

.rmAbout-dealer__item-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
}

.rmAbout-dealer__item-title {
    font-size: 16px;
}

.rmAbout-dealer__poster {
    position: relative;
    flex: 1;
}

.rmAbout-dealer__poster img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.rmHistory {
    background-color: #fff;
    padding-block: clamp(40px, 22.9333333333px + 5.3333333333vw, 80px);
    font-family: "Inter", sans-serif;
}

.rmHistory__inner {
    display: flex;
    gap: clamp(20px, -4.7466666667px + 7.7333333333vw, 78px);
}

@media (max-width: 580px) {
    .rmHistory__inner {
        flex-direction: column;
    }
}

.rmHistory__title {
    color: #00132C;
    max-width: 320px;
    width: 100%;
}

.rmHistory__body {
    color: #00132C;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.rmHistory__body p {
    margin: 0px;
}

.rmMarquee {
    --card: 240px;
    /* размер карточки */
    --gap: 0;
    /* расстояние между карточками */
    --duration: 28s;
    /* скорость (меньше = быстрее) */
    overflow: hidden;
    position: relative;
}

.rmMarquee__track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: -moz-max-content;
    width: max-content;
    will-change: transform;
    animation: rm-marquee var(--duration) linear infinite;
}

/* Ключ: у нас 2 одинаковых набора, значит двигаемся на половину длины трека */
@keyframes rm-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Пауза при наведении (опционально) */
.rmMarquee:hover .rmMarquee__track {
    animation-play-state: paused;
}

/* Уважать prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .rmMarquee__track {
        animation: none;
    }
}

.rmClients {
    background-color: #00132C;
    font-family: "Inter", sans-serif;
}

.rmClients__inner {
    display: flex;
    gap: clamp(20px, -4.7466666667px + 7.7333333333vw, 78px);
    color: #fff;
    padding-block: clamp(32px, 18.3466666667px + 4.2666666667vw, 64px);
}

.rmClients__title {
    max-width: 320px;
    width: 100%;
}

.rmClients__description {
    font-size: 16px;
}

.rmClients__items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 980px) {
    .rmClients__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 520px) {
    .rmClients__items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 380px) {
    .rmClients__items {
        grid-template-columns: 1fr;
    }
}

.rmClients__item {
    flex: 0 0 var(--card);
    width: var(--card);
    height: var(--card);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #23364E;
    background: #00132C;
}

.rmClients__item img {
    -o-object-fit: contain;
    object-fit: contain;
    mix-blend-mode: luminosity;
}

.rmAbout-end {
    position: relative;
    padding-block: clamp(50px, 29.9466666667px + 6.2666666667vw, 97px);
    font-family: "Inter", sans-serif;
}

.rmAbout-end__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 0;
}

.rmAbout-end__inner {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: flex-end;
}

.rmAbout-end__body {
    max-width: 562px;
}

.rmAbout-end__content {
    font-size: clamp(14px, 12.2933333333px + 0.5333333333vw, 18px);
    margin-bottom: 30px;
}

.rmAbout-end__content p {
    margin: 0 0 16px 0;
}

.rmAbout-end__content p:last-child {
    margin-bottom: 0;
}

.rmExhibition {
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.rmExhibition__top {
    padding-block: clamp(40px, 22.9333333333px + 5.3333333333vw, 80px);
    background-color: #fff;
}

.rmExhibition__top-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, -1.3333333333px + 6.6666666667vw, 70px);
}

@media (max-width: 980px) {
    .rmExhibition__top-inner {
        grid-template-columns: 1fr;
    }
}

.rmExhibition__body {
    padding-top: 10px;
}

.rmExhibition__title {
    margin: 0 0 33px 0;
}

.rmExhibition__poster {
    position: relative;
    height: 298px;
}

@media (max-width: 980px) {
    .rmExhibition__poster {
        height: 200px !important;
    }
}

.rmExhibition__poster-margin {
    height: 100%;
}

.rmExhibition__poster-margin.---left {
    margin-left: calc(50% - 50vw);
}

@media (min-width: 1440px) {
    .rmExhibition__poster-margin.---left {
        margin-left: -50%;
    }
}

@media (max-width: 980px) {
    .rmExhibition__poster-margin.---left {
        margin-top: 0;
        margin-left: -15px;
        order: -1;
    }
}

.rmExhibition__poster-margin.---right {
    margin-right: calc(50% - 50vw);
}

@media (min-width: 1440px) {
    .rmExhibition__poster-margin.---right {
        margin-right: -50%;
    }
}

@media (max-width: 980px) {
    .rmExhibition__poster-margin.---right {
        margin-top: 0;
        margin-right: -15px;
        order: -1;
    }
}

.rmExhibition__poster img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.rmExhibition__middle {
    background: #00132C;
}

.rmExhibition__middle-inner {
    display: grid;
    gap: 120px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 980px) {
    .rmExhibition__middle-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.rmExhibition__middle .rmExhibition__section {
    padding: clamp(12px, -11.4666666667px + 7.3333333333vw, 67px) 0 clamp(22px, -27.4933333333px + 15.4666666667vw, 138px) 0;
}

.rmExhibition__section {
    max-width: 457px;
    color: #fff;
    position: relative;
}

.rmExhibition__section-title {
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 8px 0;
}

.rmExhibition__section-description {
    margin: 0 0 34px 0;
}

.rmExhibition__section-bigcontent {
    font-size: 16px;
}

.rmExhibition__section-content {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.rmExhibition__section-content p {
    margin: 0;
}

.rmExhibition__bottom {
    background: #fff;
}

.rmExhibition__bottom .rmExhibition__section {
    color: #00132C;
    padding-block: clamp(21px, 3.9333333333px + 5.3333333333vw, 61px);
}

.rmExhibition__poster-margin.---left~.rmExhibition__section::before {
    content: "";
    position: absolute;
    left: -65px;
    top: 25%;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI5IiBoZWlnaHQ9IjE1OCIgdmlld0JveD0iMCAwIDEyOSAxNTgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIG9wYWNpdHk9IjAuMSI+CjxwYXRoIGQ9Ik01Mi4yMTQgMC45NDc4NzRDNTQuNTI4MyAtMS4xNjMwOCA1OC4yNDQxIDAuNDgxNzY4IDU4LjI0NDEgMy42MTcxOUw1OC4yNDQxIDEwMS44OTdDNTguMjQ0MSAxMDUuMDMyIDU0LjUyODQgMTA2LjY3NyA1Mi4yMTQgMTA0LjU2NkwxLjE3NzUxIDU1LjQyNjRDLTAuMzkyNTA2IDUzLjk5NDQgLTAuMzkyNTAzIDUxLjUxOTkgMS4xNzc1MSA1MC4wODc4TDUyLjIxNCAwLjk0Nzg3NFoiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8xMTNfMTIzOCkiLz4KPHBhdGggZD0iTTc2Ljc4NiAxNTYuMjM5Qzc0LjQ3MTcgMTU4LjM2NyA3MC43NTU5IDE1Ni43MDkgNzAuNzU1OSAxNTMuNTQ4TDcwLjc1NTkgNTQuNDY1OEM3MC43NTU5IDUxLjMwNDggNzQuNDcxNiA0OS42NDY1IDc2Ljc4NiA1MS43NzQ3TDEyNy44MjIgMTAxLjMxNkMxMjkuMzkzIDEwMi43NTkgMTI5LjM5MyAxMDUuMjU0IDEyNy44MjIgMTA2LjY5OEw3Ni43ODYgMTU2LjIzOVoiIGZpbGw9InVybCgjcGFpbnQxX2xpbmVhcl8xMTNfMTIzOCkiLz4KPC9nPgo8ZGVmcz4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzExM18xMjM4IiB4MT0iMzIuMTQyMSIgeTE9IjcuODk1MTdlLTA3IiB4Mj0iOTEuMDYzNCIgeTI9IjE2Mi40MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSJ3aGl0ZSIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IndoaXRlIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQxX2xpbmVhcl8xMTNfMTIzOCIgeDE9IjMyLjE0MjEiIHkxPSI3Ljg5NTE3ZS0wNyIgeDI9IjkxLjA2MzQiIHkyPSIxNjIuNDMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0id2hpdGUiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSJ3aGl0ZSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM+Cjwvc3ZnPg==");
    background-repeat: no-repeat;
    width: 129px;
    height: 157px;
}