.fm-footer-contacts {
    --fm-footer-contact-accent: #1168ff;
    --fm-footer-contact-text: #071329;
    --fm-footer-contact-muted: #6b7588;
    --fm-footer-contact-surface: #f7faff;
    --fm-footer-contact-radius: 18px;
    display: grid;
    gap: .58rem;
    width: 100%;
    max-width: 30rem;
    color: var(--fm-footer-contact-text);
    font-size: .95rem;
    line-height: 1.38;
}

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

.fm-footer-contacts a {
    color: inherit;
    text-decoration: none;
}

.fm-footer-contacts__brand {
    display: grid;
    gap: .42rem;
}

.fm-footer-contacts__logo {
    display: block;
    width: min(12.5rem, 75%);
    height: auto;
}

.fm-footer-contacts__wordmark {
    max-width: 12em;
    color: var(--fm-footer-contact-text);
    font-size: clamp(1.45rem, 2vw, 1.78rem);
    font-weight: 780;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.fm-footer-contacts__badge {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    width: fit-content;
    min-height: 1.58rem;
    padding: .22rem .56rem;
    border: 1px solid rgba(17, 104, 255, .18);
    border-radius: 999px;
    background: rgba(17, 104, 255, .055);
    color: var(--fm-footer-contact-accent);
    font-size: .78rem;
    font-weight: 760;
}

.fm-footer-contacts__badge span {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: #20c56b;
}

.fm-footer-contacts__text {
    max-width: 29rem;
    margin: 0 0 .2rem;
    color: var(--fm-footer-contact-muted);
    font-size: .94rem;
    line-height: 1.55;
}

.fm-footer-contacts__grid {
    display: grid;
    gap: .42rem;
}

.fm-footer-contacts__item {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr);
    align-items: center;
    gap: .1rem .62rem;
    min-width: 0;
    padding: .58rem .68rem;
    border: 1px solid rgba(17, 104, 255, .14);
    border-radius: var(--fm-footer-contact-radius);
    background: #ffffff;
}

.fm-footer-contacts__icon {
    display: inline-grid;
    grid-row: span 3;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #fff;
    color: var(--fm-footer-contact-accent);
    border: 1px solid rgba(17, 104, 255, .14);
}

.fm-footer-contacts__icon svg,
.fm-footer-contacts__pin svg,
.fm-footer-contacts__button svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fm-footer-contacts__label,
.fm-footer-contacts__note,
.fm-footer-contacts__store small {
    color: var(--fm-footer-contact-muted);
    font-size: .75rem;
    font-weight: 650;
}

.fm-footer-contacts__value {
    overflow-wrap: anywhere;
    color: var(--fm-footer-contact-text);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.18;
}

.fm-footer-contacts__value:hover,
.fm-footer-contacts__link:hover {
    color: var(--fm-footer-contact-accent);
}

.fm-footer-contacts__stores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .62rem .68rem;
    border: 1px solid rgba(7, 19, 41, .08);
    border-radius: var(--fm-footer-contact-radius);
    background: #fff;
}

.fm-footer-contacts__stores-title {
    grid-column: 1 / -1;
    margin-bottom: -.08rem;
    color: var(--fm-footer-contact-text);
    font-size: .92rem;
    font-weight: 780;
}

.fm-footer-contacts__store {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    gap: .42rem;
    align-items: start;
}

.fm-footer-contacts__pin {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .05rem;
    border-radius: 50%;
    color: var(--fm-footer-contact-accent);
    background: rgba(17, 104, 255, .075);
}

.fm-footer-contacts__store span:last-child {
    display: grid;
    gap: .04rem;
    min-width: 0;
}

.fm-footer-contacts__store strong {
    color: var(--fm-footer-contact-text);
    font-size: .84rem;
    font-weight: 740;
}

.fm-footer-contacts__store em {
    color: var(--fm-footer-contact-text);
    font-style: normal;
    font-size: .8rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.fm-footer-contacts__facts {
    display: grid;
    gap: .32rem;
    margin-top: .05rem;
}

.fm-footer-contacts__facts span {
    position: relative;
    display: block;
    padding-left: .85rem;
    color: var(--fm-footer-contact-muted);
    font-size: .84rem;
    line-height: 1.4;
}

.fm-footer-contacts__facts span::before {
    content: "";
    position: absolute;
    top: .52em;
    left: .05rem;
    width: .34rem;
    height: .34rem;
    border-radius: 50%;
    background: var(--fm-footer-contact-accent);
}

.fm-footer-contacts__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    margin-top: .08rem;
}

.fm-footer-contacts__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.55rem;
    padding: .68rem .95rem;
    border-radius: 999px;
    background: var(--fm-footer-contact-accent);
    color: #fff !important;
    font-size: .92rem;
    font-weight: 760;
    line-height: 1;
}

.fm-footer-contacts__button svg {
    width: .95rem;
    height: .95rem;
}

.fm-footer-contacts__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: .62rem .16rem;
    color: var(--fm-footer-contact-text) !important;
    font-size: .92rem;
    font-weight: 720;
}

@media (min-width: 1180px) {
    .fm-footer-contacts__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .fm-footer-contacts__item--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .fm-footer-contacts {
        max-width: none;
        gap: .52rem;
    }

    .fm-footer-contacts__wordmark {
        font-size: clamp(1.38rem, 6.5vw, 1.72rem);
    }

    .fm-footer-contacts__logo {
        width: min(11rem, 70%);
    }

    .fm-footer-contacts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .44rem;
    }

    .fm-footer-contacts__item {
        grid-template-columns: 1.45rem minmax(0, 1fr);
        gap: .05rem .42rem;
        min-height: 4.8rem;
        padding: .52rem .56rem;
    }

    .fm-footer-contacts__item--wide {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .fm-footer-contacts__icon {
        width: 1.45rem;
        height: 1.45rem;
    }

    .fm-footer-contacts__icon svg {
        width: .82rem;
        height: .82rem;
    }

    .fm-footer-contacts__label,
    .fm-footer-contacts__note,
    .fm-footer-contacts__store small {
        font-size: .68rem;
        line-height: 1.16;
    }

    .fm-footer-contacts__value {
        font-size: .82rem;
        line-height: 1.12;
    }

    .fm-footer-contacts__item,
    .fm-footer-contacts__stores {
        border-radius: 16px;
    }

    .fm-footer-contacts__stores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .44rem;
        padding: .56rem;
    }

    .fm-footer-contacts__stores-title {
        font-size: .84rem;
    }

    .fm-footer-contacts__store {
        grid-template-columns: 1.2rem minmax(0, 1fr);
        gap: .34rem;
    }

    .fm-footer-contacts__pin {
        width: 1.2rem;
        height: 1.2rem;
    }

    .fm-footer-contacts__pin svg {
        width: .78rem;
        height: .78rem;
    }

    .fm-footer-contacts__store strong {
        font-size: .76rem;
        line-height: 1.15;
    }

    .fm-footer-contacts__store em {
        font-size: .7rem;
        line-height: 1.18;
    }

    .fm-footer-contacts__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .42rem;
    }

    .fm-footer-contacts__facts span {
        padding-left: .65rem;
        font-size: .72rem;
        line-height: 1.24;
    }

    .fm-footer-contacts__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fm-footer-contacts__button,
    .fm-footer-contacts__link {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .fm-footer-contacts__item {
        grid-template-columns: 1fr;
    }

    .fm-footer-contacts__icon {
        display: none;
    }

    .fm-footer-contacts__value {
        font-size: .78rem;
    }
}
