.rm-site-footer {
    --rm-footer-navy: #07113d;
    --rm-footer-navy-2: #0c174d;
    --rm-footer-red: #e51f45;
    --rm-footer-ink: #131a31;
    --rm-footer-muted: #69738a;
    --rm-footer-line: #e3e7ef;
    margin-top: 34px;
    color: var(--rm-footer-ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rm-site-footer *,
.rm-site-footer *::before,
.rm-site-footer *::after {
    box-sizing: border-box;
}

.rm-site-footer a {
    text-decoration: none;
}

.rm-footer-trust {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--rm-footer-line);
    border-bottom: 1px solid var(--rm-footer-line);
    background: #fff;
}

.rm-footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rm-footer-trust-item {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 96px;
    gap: 13px;
    padding: 18px 22px;
    border-right: 1px solid var(--rm-footer-line);
}

.rm-footer-trust-item:first-child {
    padding-left: 0;
}

.rm-footer-trust-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.rm-footer-trust-icon {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--rm-footer-red);
    background: #fff0f3;
    font-size: 17px;
}

.rm-footer-trust-item > span:last-child {
    min-width: 0;
}

.rm-footer-trust-item strong,
.rm-footer-trust-item small {
    display: block;
}

.rm-footer-trust-item strong {
    margin-bottom: 4px;
    color: var(--rm-footer-navy);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
}

.rm-footer-trust-item small {
    color: var(--rm-footer-muted);
    font-size: 10px;
    line-height: 1.4;
}

.rm-footer-newsletter {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0, rgba(79, 101, 197, .32), transparent 36%),
        linear-gradient(125deg, var(--rm-footer-navy), var(--rm-footer-navy-2));
}

.rm-footer-newsletter-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    align-items: center;
    gap: 52px;
    min-height: 156px;
    padding: 27px 0;
}

.rm-footer-newsletter-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 16px;
    color: #fff;
}

.rm-footer-newsletter-icon {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    font-size: 22px;
}

.rm-footer-newsletter-copy > span:last-child {
    min-width: 0;
}

.rm-footer-newsletter-copy small,
.rm-footer-newsletter-copy strong,
.rm-footer-newsletter-copy em {
    display: block;
}

.rm-footer-newsletter-copy small {
    margin-bottom: 4px;
    color: #ff9aab;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rm-footer-newsletter-copy strong {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.23;
}

.rm-footer-newsletter-copy em {
    margin-top: 5px;
    color: #c9d0e9;
    font-size: 10px;
    font-style: normal;
    line-height: 1.45;
}

.rm-footer-newsletter-form {
    min-width: 0;
}

.rm-footer-newsletter-field {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 13px 30px rgba(0, 0, 0, .17);
}

.rm-footer-newsletter-field > i {
    flex: none;
    margin-left: 10px;
    color: #8d95a8;
    font-size: 14px;
}

.rm-footer-newsletter-field input {
    min-width: 0;
    height: 43px;
    flex: 1 1 auto;
    padding: 8px 12px;
    border: 0;
    color: var(--rm-footer-ink);
    background: transparent;
    font-size: 12px;
    outline: 0;
}

.rm-footer-newsletter-field input::placeholder {
    color: #9098aa;
}

.rm-footer-newsletter-field button {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    height: 43px;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--rm-footer-red);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.rm-footer-newsletter-field button:hover {
    background: #c81739;
    transform: translateY(-1px);
}

.rm-footer-newsletter-form > small {
    display: block;
    margin: 7px 4px 0;
    color: #9fa9cc;
    font-size: 8px;
    line-height: 1.4;
}

.rm-footer-main {
    padding: 55px 0 28px;
    color: #d8def0;
    background: #0a1235;
}

.rm-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(145px, .7fr));
    gap: 46px;
}

.rm-footer-brand,
.rm-footer-links {
    min-width: 0;
}

.rm-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px 15px;
    border-radius: 13px;
    background: #fff;
}

.rm-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 48px;
}

.rm-footer-brand > p {
    max-width: 420px;
    margin: 18px 0;
    color: #aeb8d5;
    font-size: 10px;
    line-height: 1.65;
}

.rm-footer-primary-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rm-footer-primary-contacts > a {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .045);
    transition: border-color .18s ease, background .18s ease;
}

.rm-footer-primary-contacts > a:hover {
    border-color: rgba(255, 255, 255, .27);
    background: rgba(255, 255, 255, .08);
}

.rm-footer-primary-contacts > a > i {
    display: inline-flex;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    color: #ff758d;
    background: rgba(229, 31, 69, .15);
    font-size: 11px;
}

.rm-footer-primary-contacts span,
.rm-footer-primary-contacts small,
.rm-footer-primary-contacts strong {
    display: block;
    min-width: 0;
}

.rm-footer-primary-contacts span {
    overflow: hidden;
}

.rm-footer-primary-contacts small {
    margin-bottom: 2px;
    color: #8995ba;
    font-size: 8px;
}

.rm-footer-primary-contacts strong {
    overflow: hidden;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.rm-footer-social > span {
    margin-right: 3px;
    color: #8f9abb;
    font-size: 9px;
    font-weight: 650;
}

.rm-footer-social > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    font-size: 12px;
    transition: background .18s ease, border-color .18s ease;
}

.rm-footer-social > a:hover {
    border-color: var(--rm-footer-red);
    background: var(--rm-footer-red);
}

.rm-footer-links h3 {
    position: relative;
    margin: 8px 0 19px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.rm-footer-links h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27px;
    height: 2px;
    border-radius: 2px;
    background: var(--rm-footer-red);
    content: "";
}

.rm-footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-footer-links li + li {
    margin-top: 9px;
}

.rm-footer-links li a {
    display: inline-flex;
    align-items: center;
    color: #aeb8d5;
    font-size: 9px;
    line-height: 1.45;
    transition: color .18s ease, transform .18s ease;
}

.rm-footer-links li a::before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-radius: 50%;
    background: #53618d;
    content: "";
    transition: background .18s ease;
}

.rm-footer-links li a:hover {
    color: #fff;
    transform: translateX(2px);
}

.rm-footer-links li a:hover::before {
    background: var(--rm-footer-red);
}

.rm-footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    gap: 7px;
    margin-top: 19px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    font-size: 9px;
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease;
}

.rm-footer-contact-button:hover {
    border-color: var(--rm-footer-red);
    color: #fff;
    background: var(--rm-footer-red);
}

.rm-footer-locations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.rm-footer-locations article {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.rm-footer-location-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #ff8398;
    background: rgba(229, 31, 69, .14);
    font-size: 13px;
}

.rm-footer-locations article > span:last-child,
.rm-footer-locations small,
.rm-footer-locations strong,
.rm-footer-locations a {
    display: block;
    min-width: 0;
}

.rm-footer-locations article > span:last-child {
    overflow: hidden;
}

.rm-footer-locations small {
    margin-bottom: 2px;
    color: #7f8bad;
    font-size: 8px;
}

.rm-footer-locations strong {
    overflow: hidden;
    color: #e7eaf4;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-footer-locations a {
    margin-top: 3px;
    color: #ff8398;
    font-size: 8px;
}

.rm-footer-brands {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: #fff;
}

.rm-footer-brands > span {
    flex: none;
}

.rm-footer-brands small,
.rm-footer-brands strong {
    display: block;
}

.rm-footer-brands small {
    margin-bottom: 3px;
    color: #8991a4;
    font-size: 8px;
}

.rm-footer-brands strong {
    color: var(--rm-footer-navy);
    font-size: 10px;
}

.rm-footer-brands img {
    display: block;
    width: auto;
    max-width: min(620px, 65%);
    height: 45px;
    object-fit: contain;
    object-position: right center;
}

.rm-footer-bottom {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #7782a3;
    background: #050b26;
}

.rm-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 8px;
    line-height: 1.5;
}

.rm-footer-company-data {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
}

.rm-footer-company-data i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #475270;
}

.rm-footer-bottom a {
    flex: none;
    color: #a4aec9;
}

.rm-footer-bottom a:hover {
    color: #fff;
}

.rm-site-footer a:focus-visible,
.rm-site-footer button:focus-visible,
.rm-site-footer input:focus-visible {
    outline: 2px solid #ff6682;
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .rm-footer-trust-item {
        padding-right: 15px;
        padding-left: 15px;
    }
    .rm-footer-newsletter-inner {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
        gap: 30px;
    }
    .rm-footer-grid {
        grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(125px, .7fr));
        gap: 30px;
    }
}

@media (max-width: 991.98px) {
    .rm-footer-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rm-footer-trust-item {
        min-height: 82px;
        border-bottom: 1px solid var(--rm-footer-line);
    }
    .rm-footer-trust-item:nth-child(2) {
        border-right: 0;
    }
    .rm-footer-trust-item:nth-child(n + 3) {
        border-bottom: 0;
    }
    .rm-footer-trust-item:first-child,
    .rm-footer-trust-item:last-child {
        padding-right: 15px;
        padding-left: 15px;
    }
    .rm-footer-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }
    .rm-footer-newsletter-copy em {
        max-width: 540px;
    }
    .rm-footer-newsletter-form {
        max-width: 620px;
    }
    .rm-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px;
    }
    .rm-footer-brand {
        grid-column: 1 / -1;
    }
    .rm-footer-brand > p {
        max-width: 620px;
    }
    .rm-footer-primary-contacts {
        max-width: 570px;
    }
    .rm-footer-locations {
        margin-top: 34px;
    }
    .rm-footer-brands img {
        max-width: 60%;
    }
    .rm-footer-bottom-inner {
        flex-wrap: wrap;
    }
    .rm-footer-company-data {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .rm-site-footer {
        margin-top: 24px;
    }
    .rm-footer-main {
        padding-top: 40px;
    }
    .rm-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }
    .rm-footer-brand {
        grid-column: 1 / -1;
    }
    .rm-footer-links:last-child {
        grid-column: 1 / -1;
    }
    .rm-footer-links:last-child ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 20px;
    }
    .rm-footer-links:last-child li + li {
        margin-top: 0;
    }
    .rm-footer-locations {
        grid-template-columns: 1fr;
    }
    .rm-footer-brands {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .rm-footer-brands img {
        width: 100%;
        max-width: 560px;
        height: auto;
        max-height: 70px;
        object-position: left center;
    }
}

@media (max-width: 575.98px) {
    .rm-footer-trust-item {
        min-height: 78px;
        gap: 10px;
        padding: 13px 9px;
    }
    .rm-footer-trust-item:first-child,
    .rm-footer-trust-item:last-child {
        padding-right: 9px;
        padding-left: 9px;
    }
    .rm-footer-trust-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 14px;
    }
    .rm-footer-trust-item strong {
        font-size: 10px;
    }
    .rm-footer-trust-item small {
        font-size: 8px;
        line-height: 1.3;
    }
    .rm-footer-newsletter-copy {
        align-items: flex-start;
        gap: 12px;
    }
    .rm-footer-newsletter-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 18px;
    }
    .rm-footer-newsletter-copy strong {
        font-size: 17px;
    }
    .rm-footer-newsletter-copy em {
        font-size: 9px;
    }
    .rm-footer-newsletter-field {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 0;
        padding: 5px;
    }
    .rm-footer-newsletter-field > i {
        margin-left: 8px;
    }
    .rm-footer-newsletter-field button {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        margin-top: 3px;
    }
    .rm-footer-grid {
        grid-template-columns: 1fr;
        gap: 29px;
    }
    .rm-footer-brand,
    .rm-footer-links:last-child {
        grid-column: auto;
    }
    .rm-footer-logo {
        min-height: 58px;
    }
    .rm-footer-logo img {
        max-width: 165px;
    }
    .rm-footer-primary-contacts {
        grid-template-columns: 1fr;
    }
    .rm-footer-links h3 {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .rm-footer-links ul,
    .rm-footer-links:last-child ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 13px;
    }
    .rm-footer-links li + li {
        margin-top: 0;
    }
    .rm-footer-links li a {
        align-items: flex-start;
    }
    .rm-footer-links li a::before {
        flex: 0 0 4px;
        margin-top: 5px;
    }
    .rm-footer-contact-button {
        width: 100%;
    }
    .rm-footer-locations {
        margin-top: 31px;
    }
    .rm-footer-brands {
        padding: 12px;
    }
    .rm-footer-brands img {
        max-height: none;
    }
    .rm-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .rm-footer-company-data {
        order: initial;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-site-footer a,
    .rm-site-footer button {
        transition: none !important;
    }
}
