body {
    background-color: var(--main-bg);
    overflow-x: hidden !important;
}

/* ХЕДЕР */
.rmUIheader {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: var(--main-bg);
    padding: 14px 27px;
}

.rmUIheader__content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.rmUIheader__fix {
    display: flex;
    flex-direction: row;
    gap: 22px;
}

.rmUIheader__content-logo {
    display: flex;
    flex-direction: row;
    gap: 11px;
    align-items: center;
}

.rmUIheader__content-logo__img {
    height: 60px;
    width: 60px;
    border-radius: 19px;
    flex-shrink: 0;
    flex-grow: 0;
}

.rmUIheader__content-logo__title {
    display: flex;
    flex-direction: column;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 17px;
    line-height: 1;
}

.rmUIheader__content-logo__title span {
    color: var(--green-color);
}


.rmUIheader__content-navigation {
    display: flex;
    flex-direction: row;
    align-content: center;
    gap: 52px;
}

.rmUIheader__content-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    color: var(--black-color);
    font-size: 17px;
    transition: all 0.4s;
}

.rmUIheader__content-nav-link svg {
    height: 21px;
    width: 21px;
    fill: var(--black-color);
    flex-shrink: 0;
    transition: all 0.4s;
}


.rmUIheader__content-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 6px 7px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--white-color);
    font-size: 16px;
    border-radius: 50px;
    background-color: var(--green-color);
    gap: 11px;
    transition: all 0.3s;
    user-select: none;
}

.rmUIheader__content-button__svg {
    height: 30px;
    width: 30px;
    fill: var(--white-color);
    padding: 4px;
    flex-shrink: 0;
    background-color: var(--orange-color);
    border-radius: 50px;
}

.rmUIheader__content-button:hover {
    opacity: 0.81;
}



/* ЛЕНДИНГ */
.rmUIlanding {
    display: flex;
    flex-direction: column;
    padding: 0px 27px;
    margin-bottom: 80px;
}

.rmUIlanding__content {
    display: grid;
    grid-template-columns: 1fr 450px;
    padding: 40px 25px;
    gap: 30px;
    background: url(../img/background.png);
    border-radius: 25px;
}

.rmUIlanding__content--short {
    grid-template-columns: 1fr;
    padding: 25px 25px 10px 25px;
    align-items: center;
}

.rmUIlanding__content-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 21px;
}

.rmUIlanding__content-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 61px;
    line-height: 1;
    margin-bottom: 32px;
}


.rmUIlanding__bottom-block {
    display: inline-flex;
    flex-direction: column;
    max-width: 100%;
}

.rmUIlanding__content-button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 6px 7px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--black-color);
    font-size: 16px;
    background-color: var(--white-color);
    gap: 11px;
    transition: all 0.3s;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box; 
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 11px;
    text-align: left; 
    user-select: none;
}

.rmUIlanding__content-button__svg {
    height: 30px;
    width: 30px;
    fill: var(--white-color);
    padding: 4px;
    flex-shrink: 0;
    background-color: var(--orange-color);
    border-radius: 50px;
}

.rmUIlanding__content-button:hover {
    opacity: 0.81;
}


.rmUIlanding__content-reviews-link {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    width: auto;
}

.rmUIlanding__content-reviews {
    display: grid;
    grid-template-columns: 200px 70px;
    background-color: var(--white-color);
    border-radius: 20px;
    align-items: center;
    padding: 12px;
    width: auto;
}

.rmUIlanding__content-review--num {
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.rmUIlanding__content-review--num-text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 70px;
    user-select: none;
}

.rmUIlanding__content-review--num svg {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
    fill: var(--orange-color);
    user-select: none;
}

.rmUIlanding__content-review--place {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--second-gray-color);
    font-size: 20px;
    width: 200px;
}

.rmUIlanding__content-reviews--right {
    display: flex;
    justify-content: center;
    height: 70px;
    align-items: flex-end;
    width: 100%;
    margin-left: auto;
    white-space: nowrap;
    transform: rotate(-90deg);
    text-align: right;
    
}

.rmUIlanding__content-review--go {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 17px;
    line-height: 1;
}


.rmUIlanding__content-block--right {
    user-select: none;
    margin: auto;
}



/* MAIN CONTENT */
.rmUImain {
    display: flex;
    flex-direction: column;
    padding: 0px 27px;
    gap: 190px;
    margin-bottom: 130px;
}

/* ЗАГОЛОВОК СЕКЦИИ */
.rmUItitle__block {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 25px;
}

.rmUItitle {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 40px;
}

.rmUItitle span {
    color: var(--green-color);
}

.rmUIsubtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--second-gray-color);
    font-size: 18px;
    width: 440px;
}

.rmUI__more-button__block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rmUI__more-button {
    display: inline-flex;
    flex-direction: row;
    padding: 12px 70px;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 17px;
    background-color: var(--green-color);
    text-align: center;
    transition: all 0.4s;
    user-select: none;
}

.rmUI__more-button:hover {
    border-radius: 30px;
    background-color: var(--orange-color);
}


/* ПОИСКОВИК */
.rmUIsearch__wrapper {
    width: 100%;
    margin-bottom: 32px;
}

.rmUIsearch {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.rmUIsearch__field {
    position: relative;
    flex: 1;
    background-color: var(--gray-color);
    border-radius: 13px;
    display: flex;
    align-items: center;
    border: 1px solid var(--second-gray-color);
}

.rmUIsearch__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background-color: var(--black-color);
    border-radius: 13px 0 0 13px;
    flex-shrink: 0;
}

.rmUIsearch__icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white-color);
}

.rmUIsearch__input {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--black-color);
    font-size: 16px;
    border: none;
    line-height: 1.2;
    background: transparent;
    width: 100%;
    outline: none;
    padding: 14px 16px;
    transition: all 0.4s;
}

.rmUIsearch__input::placeholder {
    color: var(--second-gray-color);
}

.rmUIsearch__button {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 17px;
    background-color: var(--black-color);
    padding: 12px 24px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.4s ease;
    user-select: none;
}

.rmUIsearch__button:hover {
    background-color: var(--orange-color);
}




/* PARTNERS */
.rmUIpartners {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.rmUIpartners__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rmUIpartners__slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    cursor: pointer;
}

.rmUIpartners__track {
    display: flex;
    animation: rmUIpartnersSlide 40s linear infinite;
    will-change: transform;
    width: max-content;
}

.rmUIpartners__track.paused {
    animation-play-state: paused;
}

.rmUIpartners__slide {
    flex: 0 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: transform 0.3s ease;
}

.rmUIpartners__slide:hover {
    transform: scale(1.05);
}

.rmUIpartners__logo {
    max-height: 80px;
    max-width: 180px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
    background-color: transparent;
}

@keyframes rmUIpartnersSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



/* КРАТКО О ШКОЛЕ */
.rmUIabout {
    display: flex;
    flex-direction: column;
}

.rmUIabout__content {
    display: flex;
    flex-direction: column;
}

.rmUIabout__content-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 25px;
}

.rmUIabout__content-container__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--second-gray-color);
    font-size: 17px;
    white-space: pre-line;
    margin-bottom: 40px;
}

.rmUIabout__content-container__text span {
    font-weight: 600;
    color: var(--orange-color);
}

.rmUIabout__content-container__button {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    color: var(--black-color);
    font-size: 16px;
    padding: 14px 40px;
    border: 2px solid var(--black-color);
    transition: all 0.7s;
    border-radius: 0px;
    user-select: none;
}

.rmUIabout__content-container__button:hover {
    border: 2px solid var(--orange-color);
    border-radius: 50px;
    color: var(--orange-color);
}



/* ТЕМЫ */
.rmUIthemes {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIthemes__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIthemes__content-blocks {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.rmUIthemes__block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.rmUItheme-block {
    display: flex;
    flex-direction: row;
    padding: 13px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: var(--black-color);
    background-color: var(--gray-color);
    border-radius: 14px;
    outline: none;
}



/* ОРГАНИЗАТОРЫ */
.rmUIteam {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIteam__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIteam__blocks {
    display: flex;
    flex-direction: column;
    gap: 95px;
}

.rmUIteam__member {
    display: grid;
    grid-template-columns: 450px 1fr;  
    gap: 20px; 
    align-items: start;
}

.rmUIteam__member--reverse {
    grid-template-columns: 1fr 450px;  
}

.rmUIteam__member-img {
    border-radius: 20px;
}

.rmUIteam__member-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--second-gray-color);
    font-size: 18px;
    white-space: pre-line;
    line-height: 1.2;
    margin-bottom: 30px;
}

.rmUIteam__member-text span {
    color: var(--orange-color);
    font-weight: 600;
}


.rmUIteam__member-contacts {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.rmUIteam__member-contacts svg {
    height: 29px;
    width: 29px;
    flex-shrink: 0;
    fill: var(--second-gray-color);
    transition: all 0.4s;
}

.rmUIteam__member-contacts svg:hover {
    transform: scale(1.15);
}

.rmUIvk:hover {
    fill: var(--vk);
}

.rmUItelegram:hover {
    fill: var(--telegram);
}

.rmUImax:hover {
    fill: var(--max);
}

.rmUIwhatsapp:hover {
    fill: var(--whatsapp);
}


/* НОВОСТИ И СОБЫТИЯ */
.rmUInews {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUInews__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUInews__content-blocks {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-bottom: 47px;
}

.rmUInews__block {
    display: grid;
    grid-template-columns: 400px 1fr;
    padding: 11px;
    border-radius: 17px;
    border: 3px solid var(--gray-color);
    gap: 20px;
    align-items: start;
}

.rmUInews__block-left {
    height: 100%;
    min-height: 0;
}

.rmUInews__block-left img {
    border-radius: 17px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rmUInews__block-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.rmUInews__block-title {
    display: -webkit-box;
    word-break: break-word;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--black-color);
    font-size: 24px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    transition: all 0.4s;
    -webkit-box-orient: vertical;
}

.rmUInews__block-title:hover {
    color: var(--orange-color);
}

.rmUInews__block-date {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--second-gray-color);
    font-size: 16px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.rmUInews__block-text {
    display: -webkit-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--second-gray-color);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
}

.rmUInews__block-link {
    display: inline-block;
    flex-shrink: 0;
    width: fit-content;
    align-self: flex-start;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--white-color);
    font-size: 16px;
    background-color: var(--orange-color);
    padding: 11px 64px;
    text-decoration: none;
    border-radius: 0px;
    transition: all 0.4s;
    user-select: none;
}

.rmUInews__block-link:hover {
    border-radius: 20px;
    background-color: var(--green-color);
}

/* ОТЗЫВЫ */
.rmUIreviews {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIreviews__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIreviews__content-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 22px;
}

.rmUIreview__block {
    display: flex;
    flex-direction: column;
    padding: 14px;
    background-color: var(--white-color);
    border-radius: 20px;
    transition: all 0.4s;
    cursor: pointer;
}

.rmUIreview__block-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 13px;
}

.rmUIreview__block-header__username {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 7px;
}

.rmUIreview__block-header__username img {
    height: 38px;
    width: 38px;
    border-radius: 10px;
    flex-shrink: 0;
}

.rmUIreview__block-header__username--text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 18px;
    transition: all 0.4s;
}

.rmUIreview__block-header__stars {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.rmUIreview__block-header__star-svg {
    height: 21px;
    width: 21px;
    fill: var(--second-gray-color);
    flex-shrink: 0;
    transition: all 0.4s;
}

.rmUIreview__block-header__star-svg--active {
    fill: var(--yellow-color);
}

.rmUIreview__block-text {
    display: -webkit-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--second-gray-color);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    transition: all 0.4s;
}


.rmUIreview__block:hover {
    background-color: var(--orange-color);
}

.rmUIreview__block:hover .rmUIreview__block-header__username--text {
    color: var(--white-color);
}

.rmUIreview__block:hover .rmUIreview__block-text {
    color: var(--white-color);
}

.rmUIreview__block:hover .rmUIreview__block-header__star-svg {
    fill: var(--white-color);
}

.rmUIreview__block:hover .rmUIreview__block-header__star-svg--active {
    fill: var(--yellow-color);
}


/* КОНТАКТЫ */
.rmUIcontacts {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIcontacts__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIcontacts__content-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 22px;
}

.rmUIcontact__block {
    display: flex;
    flex-direction: column;
    background-color: var(--second-block-bg);
    border-radius: 16px;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 200px;
    justify-content: space-between;
}

.rmUIcontact__block-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 11px;
    flex-shrink: 0;
    border-radius: 16px;
}

.rmUIcontact__block-text {
    display: -webkit-box;
    overflow: hidden;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    color: var(--white-color);
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 15px;
    word-break: break-all;
    width: 100%;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    text-align: center;
}

.rmUIcontact__block-link--block {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 0px 14px;
    text-align: center;
    justify-content: center;
}

.rmUIcontact__block-link {
    display: flex;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    color: var(--white-color);
    font-size: 16px;
    background: linear-gradient(90deg, var(--green-color), var(--orange-color));
    padding: 12px 0px;
    width: 100%;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    justify-content: center;
    transition: all 0.4s;
    align-items: center;
}

.rmUIcontact__block-link:hover {
    opacity: 0.75;
}



/* СЕРТИФИКАТЫ */
.rmUIcarousel {
    position: relative;
    width: 100%;
}

.rmUIcarousel__owl {
    width: 100%;
}

.rmUIcarousel__owl .owl-stage-outer {
    overflow: visible;
}

.rmUIcarousel__owl .owl-stage {
    display: flex;
    align-items: center;
}

.rmUIcarousel__owl .owl-item {
    display: flex;
    justify-content: center;
    transition: transform 260ms ease, opacity 260ms ease;
}

.rmUIcarousel__slide {
    width: 460px;
    transform: scale(0.78);
    opacity: 0.55;
    transition: transform 260ms ease, opacity 260ms ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rmUIcarousel__slide img {
    width: 100%;
    display: block;
    border-radius: 20px;
    user-select: none;
    pointer-events: none;
    transition: transform 250ms ease;
}

.rmUIcarousel__slide.is-center {
    transform: scale(1);
    opacity: 1;
}

.rmUIcarousel__arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 151, 33, 0.6);
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 6;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.rmUIcarousel__arrow svg {
    width: 26px;
    height: 26px;
    fill: var(--white-color);
    flex-shrink: 0;
}

.rmUIcarousel__arrow--left {
    left: calc(50% - 170px);
    transform: translate(-50%, -50%) rotate(180deg);
}

.rmUIcarousel__arrow--right {
    right: calc(50% - 170px);
    transform: translate(50%, -50%);
}




.rmUIcarousel__slide:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    transition: background 250ms ease;
    border-radius: 20px;
}

.rmUIcarousel__slide:hover .rmUIcarousel__hover-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.rmUIcarousel__hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition: opacity 250ms ease, transform 250ms ease;
    pointer-events: none;
    fill: #ffffff;
    z-index: 1;
}

.rmUImodal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow: hidden;
    touch-action: none;
}

.rmUImodal__content {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    animation: rmUImodalFade 300ms ease;
    overflow: hidden;
}

.rmUImodal__content img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    border-radius: 18px;
    transform: scale(0.85);
    transition: transform 250ms ease;
}

.rmUImodal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background 200ms ease;
}

.rmUImodal__close:hover {
    background: rgba(255,255,255,0.5);
}

@keyframes rmUImodalFade {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}


/* ГАЛЕРЕЯ */
.rmUIphotos {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIphotos__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rmUIphotos__block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    margin-bottom: 37px;
}

.rmUIphoto {
    width: 100%;
    height: 250px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.rmUIgallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.rmUIgallery-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    pointer-events: none;
}

.rmUIgallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10001;
}

.rmUIgallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rmUIgallery-modal-prev,
.rmUIgallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10001;
}

.rmUIgallery-modal-prev {
    left: 20px;
}

.rmUIgallery-modal-next {
    right: 20px;
}

.rmUIgallery-modal-prev:hover,
.rmUIgallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
}



/* ФУТЕР */
.rmUIfooter-wrapper {
    margin: 25px;
}

.rmUIfooter {
    background-color: var(--block-bg);
    box-shadow: 0 0 16px rgba(0,0,0,0.25);
    border-radius: 30px;
    padding: 25px 20px;
    width: 100%;
}

.rmUIfooter__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rmUIfooter__main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.rmUIfooter__logo-block {
    flex: 1 1 250px;
    min-width: 250px;
}

.rmUIfooter__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rmUIfooter__logo img {
    width: 55px;
    height: 55px;
    border-radius: 16px;
}

.rmUIfooter__logo h1 {
    display: flex;
    flex-direction: column;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    color: var(--orange-color);
    font-size: 19px;
    line-height: 1;
}

.rmUIfooter__logo h1 span {
    color: var(--green-color);
}

.rmUIfooter__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rmUIfooter__copy-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 19px;
    color: var(--second-gray-color);
    max-width: 400px;
}

.rmUIfooter__copy-text span {
    font-weight: 700;
    color: var(--orange-color);
}

.rmUIfooter__links-group {
    display: flex;
    flex: 3 1 600px;
    flex-wrap: wrap;
    gap: 40px;
}

.rmUIfooter__links-block {
    flex: 1 1 150px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rmUIfooter__links-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--orange-color);
}

.rmUIfooter__links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rmUIfooter__links-list a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: var(--second-gray-color);
    text-decoration: none;
    transition: color 0.4s;
    align-items: center;
}

.rmUIfooter__links-list a:hover {
    color: var(--green-color);
}

.rmUIfooter__links-list--contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.rmUIfooter__links-list--contact svg {
    height: 22px;
    width: 22px;
    flex-shrink: 0;
    fill: var(--second-gray-color);
    transition: all 0.4s !important;
}

.rmUIfooter__links-list--contact:hover {
    fill: var(--green-color);
}

.rmUIfooter__links-list--contact__vk:hover {
    color: var(--vk) !important;
}

.rmUIfooter__links-list--contact__telegram:hover {
    color: var(--telegram) !important;
}

.rmUIfooter__links-list--contact__max:hover {
    color: var(--max) !important;
}

.rmUIfooter__links-list--contact__vk:hover svg {
    fill: var(--vk) !important;
}

.rmUIfooter__links-list--contact__telegram:hover svg {
    fill: var(--telegram) !important;
}

.rmUIfooter__links-list--contact__max:hover svg {
    fill: var(--max) !important;
}



.rmUIfooter__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

.rmUIfooter__bottom-social {
    display: flex;
    flex-direction: row;
    gap: 11px;
    align-items: center;
}

.rmUIfooter__bottom-social svg {
    height: 28px;
    width: 28px;
    fill: var(--second-gray-color);
    flex-shrink: 0;
}


.rmUIfooter__bottom-payments {
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: center;
}

.rmUIfooter__bottom-payments img {
    height: 31px;
    width: 48px;
    flex-shrink: 0;
    border-radius: 11px;
}


.rmUIfooter__bottom-copyright__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--black-color);
}




/* МОБИЛКА */
.rmUImobile__nav {
	display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 15px;
    background: var(--white-color);
    border-top: 1px solid var(--black-color);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.rmUImobile__nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rmUImobile-link {
    display: flex;
    flex-direction: column;
	font-family: 'Montserrat', sans-serif;
    font-weight: 500;
	font-size: 14px;
    align-items: center;
    text-decoration: none;
    color: var(--black-color);
    transition: color 0.3s ease;
}

.rmUImobile-link svg {
    width: 26px;
    height: 26px;
    margin-bottom: 3px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.rmUImobile-link__active {
    color: var(--orange-color);
}

.rmUImobile-link__active svg {
    fill: var(--orange-color);
}

.rmUImobile-link:hover {
    color: var(--orange-color);
}
