body {
    overflow-x: hidden;
    background-color: #fff;
}


/* HEADER */
.rmUIheader {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    background: #fff;
    position: fixed;
    top: 0;
    border-bottom: 1px solid #787878;
    z-index: 9999;
}

.rmUIheader__content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
}

.rmUIheader__content--logo__block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.rmUIheader__content--logo__block--image {
    height: 38px;
    width: 38px;
    border-radius: 14px;
    flex-shrink: 0;
    flex-grow: 0;
    flex-wrap: nowrap;
}

.rmUIheader__content--logo__block--name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000;
    font-size: 22px;
}


.rmUIheader__content--nav-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 37px;
}

.rmUIheader__content--nav-link {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 500;
    color: #000;
    font-size: 16px;
    transition: all 0.4s;
    position: relative;
}

.rmUIheader__content--nav-link__active {
    color: #1b51a0;
}

.rmUIheader__content--nav-link:hover {
    color: #1b51a0;
}

.rmUIheader__content--nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #ccc;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.rmUIheader__content--nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}



.rmUIheader__content-nav--dropdown-trigger {
    cursor: pointer;
}

.rmUIheader__content-dropdown {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(655px);
    padding: 30px 80px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 9999;
    border-radius: 0 0 25px 25px;
}

.rmUIheader__content-dropdown-inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rmUIheader__content-dropdown-inner a {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 20px;
    transition: all 0.4s;
    text-decoration: none;
}

.rmUIheader__content-dropdown-inner a:hover {
    color: #1b51a0;
}

.rmUIheader__content-nav--dropdown-trigger.active + .rmUIheader__content-dropdown,
.rmUIheader__content-dropdown:hover,
.rmUIheader__content-nav--dropdown-trigger:hover + .rmUIheader__content-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.rmUIheader__content-icon--svg {
    height: 32px;
    width: 32px;
    fill: #000;
    flex-shrink: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.rmUIheader__content-icon--svg:hover {
    fill: #1b51a0;
}


/* MAIN */
.rmUImain__content {
    display: flex;
    flex-direction: column;
}

/* LANDING */
.rmUIlanding {
    display: flex;
    flex-direction: column;
    min-height: 530px;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: url(../img/background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0px 0px 55px 55px;
    margin-bottom: 60px;
    margin-top: 74px;
}

.rmUIlanding__content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 95px;
    padding: 0px 25px 55px 25px;
}

.rmUIlanding__content--left-block,
.rmUIlanding__content--right-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rmUIlanding__content--left-block-title {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 115px;
}

.rmUIlanding__content--left-block--phrases {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column: 2;
    row-gap: 10px;
    column-gap: 12px;
}

.rmUIlanding__content--left-block--phrase {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
    padding: 7px 28px;
    border: 2px solid #fff;
    border-radius: 100px;
    text-align: center;
}


.rmUIlanding__content--right-block--text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}



/* HERO */
.rmUIhero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 130px;
}

.rmUIhero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 0 25px;
    width: 100%;
    align-items: start;
}

.rmUIhero__content-left-block {
    display: flex;
    flex-direction: column;
}

.rmUIhero__content-right-block {
    display: flex;
    height: 0;
    min-height: 100%;
}

.rmUIhero__content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 80px;
    color: #000;
    line-height: 0.8;
    margin-bottom: 17px;
}

.rmUIhero__content-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #666666;
    line-height: 0.9;
    margin-bottom: 17px;
}

.rmUIhero__content-right-block--image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.rmUIhero__content-phrases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 2;
    gap: 10px;
    user-select: none;
    cursor: pointer;
}

.rmUIhero__content-phrase {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
    padding: 8px 20px;
    font-size: 16px;
    border: 2px solid #000;
    border-radius: 50px;
    text-align: center;
}



/* SLIDER */
.rmUIslider {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 130px;
}

.rmUIslider__content {
    display: grid;
    grid-template-columns: 400px 1fr;
    padding: 0px 25px;
    gap: 150px;
}

.rmUIslider__content--left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rmUIslider__content--left__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 36px;
}

.rmUIslider__content--left__img {
    height: 300px;
    width: 300px;
}


/* SLIDES CONTAINER */
.rmUIslider__slider {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    transition: height 0.5s ease;
}

.rmUIslider__slide {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 25px 20px;
    position: absolute;
    width: 100%;
    opacity: 0;
    border-radius: 25px;
    pointer-events: none;
    transform: translateX(50px);
    transition: transform 0.6s ease, opacity 0.6s ease;

    box-sizing: border-box;
}

.rmUIslider--slide__content--title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 65px;
    margin-bottom: -5px;
}

.rmUIslider--slide__content--text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #ccc;
    font-size: 17px;
    margin-bottom: 50px;
    white-space: pre-line;
}

.rmUIslider--slide__content-logotypes {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
}

.rmUIslider--slide__content-logo {
    height: 70px;
    width: 70px;
    border-radius: 25px;
    transition: all 0.4s;
}

.rmUIslider--slide__content-logo:hover {
    transform: rotate(11deg);
}

.rmUIslider__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 0px;
}

.rmUIslider__slide > div {
    position: relative;
    z-index: 2;
}

.rmUIslider__slide--volonteer__bg {
    background: url(../img/slider-bg/volonteer.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rmUIslider__slide--creative__bg {
    background: url(../img/slider-bg/creative.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.rmUIslider__slide--help__bg {
    background: url(../img/slider-bg/help.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}



/* SLIDER SETTINGS */
.rmUIslider__slide_active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    overflow-y: auto;
}

.rmUIslider__slide_left {
    transform: translateX(-60px);
}

.rmUIslider__slide_right {
    transform: translateX(60px);
}

/* NAVIGATION */
.rmUIslider__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 7px;
    user-select: none;
}

.rmUIslider__nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity .3s ease;
    height: 30px;
    width: 30px;
    flex-shrink: 0;
}

.rmUIslider__nav-arrow svg {
    height: 30px;
    width: 30px;
    flex-shrink: 0;
}

.rmUIslider__nav-arrow:hover {
    opacity: 0.5;
}

/* DOTS */
.rmUIslider__nav-items {
    display: flex;
    gap: 12px;
}

.rmUIslider__nav-item {
    background: #000;
    color: transparent;
    border-radius: 11px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        padding .35s ease,
        opacity .3s ease,
        color .25s ease;
}

/* active dot shows text */
.rmUIslider__nav-item_active {
    opacity: 1;
    padding: 6px 35px;
}

/* hide text when inactive */
.rmUIslider__nav-item:not(.rmUIslider__nav-item_active) {
    color: transparent;
}

.rmUIslider__nav-item_active {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 17px;
    width: auto;
    height: 32px;
    opacity: 1;
    padding: 0 35px;
}



/* PRINCIPLES */
.rmUIprinciples {
    display: flex;
    flex-direction: column;
    width: 100%;    
    margin-bottom: 100px;
}

.rmUIprinciples__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0px 25px;
}

.rmUItitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 70px;
    text-align: center;
    margin-bottom: 30px;
}

.rmUIsubtext {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #666;
    font-size: 17px;
}

.rmUIprinciples__content--principles__block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.rmUIprinciple--block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 0px;
    min-height: 430px;
    cursor: pointer;
    transition: all 0.7s;
    position: relative;
    overflow: hidden;
}

.rmUIprinciple--block:hover {
    border-radius: 35px;
    transform: scale(1.01);
}

.rmUIprinciple--block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: all 0.7s;
    border-radius: 0px;
}

.rmUIprinciple--block:hover::before {
    border-radius: 35px;
}

.rmUIprinciple--block__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 80px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.rmUIprinciple--block__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.rmUIprinciple--block__button {
    display: inline-flex;
    flex-direction: row;
    padding: 9px 62px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border: 2px solid #fff;
    font-size: 18px;
    color: #fff;
    transition: all 0.5s;
    user-select: none;
}

.rmUIprinciple--block__button:hover {
    border-radius: 50px;
}

.rmUIprinciple--block > div {
    position: relative;
    z-index: 2;
}

.rmUIprinciple--block__progress {
    background: url(../img/principles-bg/progress.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rmUIprinciple--block__defend {
    background: url(../img/principles-bg/defend.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.rmUIprinciple--block__help {
    background: url(../img/principles-bg/help.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}




/* CONTACTS */
.rmUIcontacts {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 450px;
    background: url(../img/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 100px;
}

.rmUIcontacts__content {
    display: flex;
    flex-direction: column;
    padding: 32px 25px;
    width: 100%;
}

.rmUIblock--titles__block {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.rmUIblock__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 60px;
    margin-bottom: -10px;
}

.rmUIblock__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 20px;
}

.rmUIcontacts--articles__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 60px;
}

.rmUIcontact-block {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 16px rgba(0,0,0,0.2);
    overflow: hidden;
}

.rmUIcontact-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 17px 20px;
    gap: 15px;
}

.rmUIcontact-block__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rmUIcontact-block-img {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex-shrink: 0;
}

.rmUIcontact-block-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 19px;
    color: #000;
    transition: color 0.3s ease;
}

.rmUIcontact-block-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #000;
    transition: transform 0.3s ease;
}

.rmUIcontact-block__content {
	display: inline-flex;
	flex-direction: column;
	gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.rmUIcontact-block.active .rmUIcontact-block__content {
    max-height: 200px;
    padding: 0 20px 30px;
}

.rmUIcontact-block.active .rmUIcontact-block-text {
	color: #1b51a0;
}

.rmUIcontact-block.active .rmUIcontact-block-arrow {
    transform: rotate(180deg);
}

.rmUIcontact-block-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
	font-weight: 500;
    color: #000;
    margin: 15px 0 10px;
    opacity: 0.8;
    margin-bottom: 35px;
}

.rmUIcontact-block-button {
    background-color: #1b51a0;
    color: white;
    border: none;
    padding: 9px 23px;
	font-size: 16px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.rmUIcontact-block-button:hover {
    background-color: #5a35e0;
}



/* FOOTER */
.rmUIfooter {
    display: flex;
    flex-direction: row;
    background-color: #eeeeee;
}

.rmUIfooter__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 25px;
    width: 100%;
}

.rmUIfooter__content--logo-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
}

.rmUIfooter__content--logo__block--image {
    height: 38px;
    width: 38px;
    border-radius: 14px;
    flex-shrink: 0;
    flex-grow: 0;
    flex-wrap: nowrap;
}

.rmUIfooter__content--logo__block--name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000;
    font-size: 22px;
}


.rmUIfooter__content--icons-block {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
}

.rmUIfooter__content--icon {
    height: 28px;
    width: 28px;
    flex-shrink: 0;
    fill: #787878;
    transition: all 0.6s;
}

.rmUIfooter__content--icon:hover {
    transform: scale(1.1);
}


/* VK */
.rmUIfooter__content--icon__vk:hover {
    fill: #0077FF;
}

/* TELEGRAM */
.rmUIfooter__content--icon__telegram:hover {
    fill: #0088CC;
}

/* YOUTUBE */
.rmUIfooter__content--icon__youtube:hover {
    fill: #FF0033;
}

/* TIKTOK */
.rmUIfooter__content--icon__tiktok:hover {
    fill: #000000;
}


.rmUIfooter__content--copyright-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #6b6b6b;
    font-size: 17px;
    transition: all 0.4s;
    cursor: pointer;
}

.rmUIfooter__content--copyright-text:hover {
    color: #1b51a0;
}





/* БУРГЕР */
.rmUIburger-menu-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

.rmUIheader__content--burger--block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.rmUIburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 210;
    flex-shrink: 0;
}

.rmUIburger span {
    display: block;
    height: 4px;
    border-radius: 50px;
    width: 100%;
    background: #000;
    border-radius: 3px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.rmUIburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #fff;
}
.rmUIburger.active span:nth-child(2) {
    opacity: 0;
    background-color: #fff;
}
.rmUIburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #fff;
}

/* Убираем скролл у body при открытом меню */
body.rmUIburger-menu-open {
    overflow: hidden !important;
}

.rmUIburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Меняем на 100vh */
    background: rgba(20, 20, 20, 0.98);
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 200;
    overflow-y: auto;
    padding: 24px;
}


.rmUIburger-menu.active {
    transform: translateX(0);
}

.rmUIburger-menu__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


.rmUIburger-menu__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.rmUIburger-menu__logo-img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.rmUIburger-menu__logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #358BFF;
    font-size: 22px;
    width: auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmUIburger-menu__logo-title span {
    color: #FF2A2E;
}

.rmUIburger-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 400px; 
    box-sizing: border-box;
}

.rmUIburger-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.6s forwards;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.rmUIburger-link__active {
    color: #358BFF;
}

.rmUIburger-button {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    background-color: #004AAD;
    border-radius: 12px;
    padding: 12px 28px;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 0.6s forwards;
}

.rmUIburger-button:hover {
    background-color: #002e69;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rmUIburger-menu.active .rmUIburger-link,
.rmUIburger-menu.active .rmUIburger-button {
    animation-delay: calc(var(--i) * 0.1s);
}