/* =========================================================
   Универсальный футер SOULULAB
   ========================================================= */

.soul-footer {
    --footer-accent: var(--soul-accent, #6f2cff);
    --footer-text: rgba(255, 255, 255, 0.72);
    --footer-heading: rgba(255, 255, 255, 0.94);

    position: relative;
    padding: 42px 0 22px;

    color: var(--footer-text);

    background:
        radial-gradient(
            circle at 16% 0%,
            color-mix(
                in srgb,
                var(--footer-accent) 10%,
                transparent
            ),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            rgba(18, 21, 27, 0.80),
            rgba(8, 10, 14, 0.88)
        );

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(24px) saturate(1.08);
    -webkit-backdrop-filter: blur(24px) saturate(1.08);
}

.soul-footer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) 1fr 1fr;
    gap: 54px;
    align-items: start;
}

.soul-footer__logo {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--footer-heading);
    text-decoration: none;
}

.soul-footer__symbol {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.soul-footer__word {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.soul-footer__formula {
    max-width: 390px;
    margin: 20px 0 0;

    font-size: 14px;
    line-height: 1.6;
}

.soul-footer__contacts,
.soul-footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.soul-footer__label {
    margin-bottom: 7px;

    color: var(--footer-heading);
    font-size: 13px;
    font-weight: 700;
}

.soul-footer__contacts a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.soul-footer__contacts a:hover {
    color: var(--footer-heading);
}

.soul-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soul-footer__social-link {
    min-height: 44px;
    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--footer-heading);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid
        color-mix(
            in srgb,
            var(--footer-accent) 38%,
            rgba(255, 255, 255, 0.13)
        );

    border-radius: 15px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 24px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.soul-footer__social-link:hover {
    transform: translateY(-2px);
    border-color: var(--footer-accent);

    box-shadow:
        0 0 20px
        color-mix(
            in srgb,
            var(--footer-accent) 22%,
            transparent
        );
}

.soul-footer__social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.soul-footer__bottom {
    margin-top: 34px;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 12px;
    opacity: 0.62;
}

.soul-footer__bottom a {
    color: inherit;
    text-decoration: none;
}

/* Светлые страницы */

body:not(.soul-page--partners):not(.soul-page--lab) .soul-footer {
    --footer-text: rgba(28, 34, 42, 0.68);
    --footer-heading: rgba(20, 25, 32, 0.94);

    background:
        radial-gradient(
            circle at 16% 0%,
            color-mix(
                in srgb,
                var(--footer-accent) 8%,
                transparent
            ),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(248, 251, 253, 0.80),
            rgba(222, 231, 237, 0.76)
        );

    border-top-color: rgba(30, 40, 50, 0.11);
}

body:not(.soul-page--partners):not(.soul-page--lab)
.soul-footer__bottom {
    border-top-color: rgba(30, 40, 50, 0.09);
}

/* Мобильная версия */

@media (max-width: 768px) {
    .soul-footer {
        padding: 34px 0 20px;
    }

    .soul-footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .soul-footer__brand,
    .soul-footer__contacts,
    .soul-footer__social {
        align-items: center;
    }

    .soul-footer__formula {
        margin-left: auto;
        margin-right: auto;
    }

    .soul-footer__social-list {
        justify-content: center;
    }

    .soul-footer__bottom {
        margin-top: 28px;

        flex-direction: column;
        justify-content: center;
        gap: 10px;

        text-align: center;
    }
}
.soul-footer__details {
    margin-top: 8px;

    display: flex;
    flex-direction: column;
    gap: 6px;

    color: inherit;
    font-size: 13px;
    line-height: 1.45;

    opacity: .72;
}

.soul-footer__details span {
    display: block;
}
.soul-footer__contact-actions {
    margin-top: 18px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soul-footer__contact-button {
    min-height: 44px;
    padding: 10px 15px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--footer-heading, #202633);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    border: 1px solid
        color-mix(
            in srgb,
            var(--footer-accent, #6f2cff) 34%,
            rgba(32, 38, 51, .14)
        );

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .88),
            rgba(211, 219, 226, .68)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 10px 24px rgba(38, 50, 64, .12);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.soul-footer__contact-button:hover {
    transform: translateY(-2px);
    border-color: var(--footer-accent, #6f2cff);

    box-shadow:
        0 0 20px
        color-mix(
            in srgb,
            var(--footer-accent, #6f2cff) 20%,
            transparent
        );
}

.soul-footer__contact-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .soul-footer__contact-actions {
        justify-content: center;
    }
}

.soul-footer__social-link,
.soul-footer__contact-button {
    width: 150px !important;
    justify-content: flex-start !important;
}
.soul-footer .soul-footer__social-list {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.soul-footer .soul-footer__social-list > a {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    margin: 0 !important;

    justify-content: flex-start !important;
    box-sizing: border-box !important;
}
.soul-footer__contact-button {

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    min-height:56px;

    border-radius:18px;

    color:#fff;

    border:1px solid rgba(185,64,245,.45);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.02)
        );

    backdrop-filter:blur(18px);

    transition:.25s;
}

.soul-footer__contact-button svg{

    width:22px;
    height:22px;

    stroke:currentColor;
    fill:none;
}

.soul-footer__contact-button:hover{

    border-color:#b940f5;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.05)
        );

    box-shadow:
        0 0 18px rgba(185,64,245,.25);
}
/* Telegram, Позвонить и Написать - полностью одинаковые */

.soul-footer
.soul-footer__social-list
:is(
    .soul-footer__social-link,
    .soul-footer__contact-button
) {
    box-sizing: border-box !important;

    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    min-height: 44px !important;

    padding: 9px 15px !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;

    color: var(--footer-heading) !important;
    -webkit-text-fill-color: var(--footer-heading) !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    border: 1px solid
        color-mix(
            in srgb,
            var(--footer-accent) 38%,
            rgba(255, 255, 255, 0.13)
        ) !important;

    border-radius: 15px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        ) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 24px rgba(0, 0, 0, 0.14) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.soul-footer
.soul-footer__social-list
:is(
    .soul-footer__social-link,
    .soul-footer__contact-button
):hover {
    color: var(--footer-heading) !important;
    transform: translateY(-2px) !important;
    border-color: var(--footer-accent) !important;

    box-shadow:
        0 0 20px
        color-mix(
            in srgb,
            var(--footer-accent) 22%,
            transparent
        ) !important;
}

/* Одинаковые размеры и цвет иконок */

.soul-footer
.soul-footer__social-list
:is(
    .soul-footer__social-link,
    .soul-footer__contact-button
)
svg {
    flex: 0 0 19px !important;

    width: 19px !important;
    height: 19px !important;

    color: currentColor !important;
    fill: currentColor !important;
    stroke: none !important;
}