.rm-site-footer {
    margin-top: 80px;
    background: #081f3a;
    color: #ffffff;
}

.rm-footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0 24px;
}

.rm-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 56px;
}

.rm-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.rm-footer-brand:hover,
.rm-footer-brand:focus {
    color: #ffffff;
    text-decoration: none;
}

.rm-footer-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #ffffff;
    color: #0a3267;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.rm-footer-project {
    margin: 22px 0 10px;
    color: #d6e0eb;
    font-size: 14px;
    line-height: 1.6;
}

.rm-footer-address {
    margin: 0;
    color: #c0ccda;
    font-size: 13px;
    font-style: normal;
    line-height: 1.75;
}

.rm-footer-column h2 {
    margin: 4px 0 20px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rm-footer-column a {
    display: block;
    width: fit-content;
    margin: 0 0 13px;
    color: #d6e0eb;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.rm-footer-column a:hover,
.rm-footer-column a:focus {
    color: #ffffff;
    text-decoration: none;
}

.rm-footer-disclaimer {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.rm-footer-disclaimer p {
    max-width: 900px;
    margin: 0;
    color: #bcc9d7;
    font-size: 13px;
    line-height: 1.7;
}

.rm-footer-bottom {
    margin-top: 18px;
}

.rm-footer-bottom p {
    margin: 0;
    color: #9fb0c3;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {

    .rm-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 42px;
    }

    .rm-footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {

    .rm-site-footer {
        margin-top: 60px;
    }

    .rm-footer-inner {
        width: min(100% - 36px, 1180px);
        padding-top: 48px;
    }

    .rm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 28px;
    }

    .rm-footer-company {
        grid-column: 1 / -1;
    }

    .rm-footer-column:last-child {
        grid-column: 1 / -1;
    }

    .rm-footer-disclaimer {
        margin-top: 36px;
    }
}
