.lm-footer,
.lm-footer * {
    box-sizing: border-box;
}

.lm-footer {
    width: 100%;
    background-color: #001F64;
    color: #d7ddeb;
    line-height: 1.35;
    overflow: hidden;
}

.lm-footer a {
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.lm-footer__inner {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 12px 24px 7px;
}

.lm-footer__top {
    display: grid;
    grid-template-columns: minmax(225px, 1.25fr) minmax(170px, 1fr) minmax(190px, 1fr) minmax(230px, 1.1fr);
    column-gap: 30px;
    align-items: start;
}

.lm-footer__section {
    position: relative;
    min-width: 0;
}

.lm-footer__section:not(:first-child) {
    padding-left: 32px;
}

.lm-footer__section:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    height: 105px;
    border-left: 1px solid rgba(102, 217, 255, 0.35);
}

.lm-footer__logo {
    line-height: 0;
    margin-bottom: 0;
}

.lm-footer__logo img {
    display: inline-block;
    width: 255px;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.lm-footer__brand-glow {
    color: #66D9FF;
    font-size: 14px;
    font-weight: 700;
    margin-top: -2px;
    text-shadow: 0 0 10px rgba(102, 217, 255, 0.75);
}

.lm-footer__brand-description {
    max-width: 255px;
    margin: 3px 0 8px;
    font-size: 12px;
}

.lm-footer__title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
    margin: 2px 0 9px;
    text-transform: uppercase;
}

.lm-footer__text {
    color: #d7ddeb;
    font-size: 12.5px;
    margin: 0;
}

.lm-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(74px, max-content));
    column-gap: 34px;
    row-gap: 3px;
    align-items: start;
}

.lm-footer__link {
    display: inline-flex;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.18;
    white-space: nowrap;
}

.lm-footer__link.is-highlighted,
.lm-footer__accent,
.lm-footer__icon,
.lm-footer__social-link {
    color: #66D9FF;
}

.lm-footer__media-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
}

.lm-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #66D9FF;
    line-height: 1;
}

.lm-footer__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.lm-footer__large-icon {
    width: 30px;
    height: 30px;
    font-size: 29px;
    margin-top: 2px;
}

.lm-footer__contact-list {
    display: grid;
    gap: 8px;
}

.lm-footer__contact-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
}

.lm-footer__contact-icon {
    width: 22px;
    height: 20px;
    font-size: 18px;
}

.lm-footer__contact-link {
    min-width: 0;
    color: #d7ddeb;
    font-size: 14px;
    line-height: 1.2;
    word-break: break-word;
}

.lm-footer__socials {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 55px;
}

.lm-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 2px solid #66D9FF;
    border-radius: 999px;
    color: #66D9FF;
}

.lm-footer__social-link:hover {
    transform: translateY(-2px);
}

.lm-footer__social-icon {
    width: 14px;
    height: 14px;
    font-size: 13px;
}

.lm-footer__icon-image {
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: var(--lm-icon-url);
    mask-image: var(--lm-icon-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.lm-footer__bottom {
    display: grid;
    grid-template-columns: minmax(225px, auto) 1fr auto;
    gap: 18px;
    align-items: center;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(102, 217, 255, 0.25);
    color: #b8c0d5;
    font-size: 12px;
}

.lm-footer__copyright {
    justify-self: center;
    text-align: center;
}

.lm-footer__bottom-socials {
    justify-self: start;
}

.lm-footer__legal-links {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 16px;
}

.lm-footer__legal-link {
    position: relative;
    color: inherit;
    white-space: nowrap;
}

.lm-footer__legal-link + .lm-footer__legal-link::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    width: 1px;
    height: 14px;
    transform: translateY(-50%);
    background: currentColor;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .lm-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 26px;
    }

    .lm-footer__section:nth-child(3)::before {
        display: none;
    }

    .lm-footer__bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .lm-footer__bottom-socials,
    .lm-footer__legal-links {
        justify-self: center;
    }

    .lm-footer__socials {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .lm-footer__inner {
        padding: 24px 18px 18px;
    }

    .lm-footer__top {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .lm-footer__section,
    .lm-footer__section:not(:first-child) {
        padding-left: 0;
        text-align: center;
    }

    .lm-footer__section:not(:first-child)::before {
        display: none;
    }

    .lm-footer__brand-description {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .lm-footer__links {
        grid-template-columns: repeat(2, minmax(0, 110px));
        justify-content: center;
    }

    .lm-footer__media-row,
    .lm-footer__contact-item {
        display: flex;
        justify-content: center;
        text-align: left;
    }

    .lm-footer__media-row {
        align-items: flex-start;
    }

    .lm-footer__contact-list {
        justify-items: center;
    }

    .lm-footer__socials {
        justify-content: center;
        margin-left: 0;
    }

    .lm-footer__legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
