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

.ef-footer-v2 {
    --ef-footer-bg: #191841;
    --ef-footer-text: #a3a3b3;
    --ef-footer-white: #fff;
    background: var(--ef-footer-bg);
    color: var(--ef-footer-text);
    font-family: "Gilroy", Arial, sans-serif;
    overflow: hidden;
}

.ef-footer-v2 a {
    color: inherit;
    text-decoration: none;
}

.ef-footer-v2 a:focus-visible {
    outline: 2px solid #89e4f4;
    outline-offset: 4px;
}

.ef-footer-v2__main,
.ef-footer-v2__bottom-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.ef-footer-v2__main {
    display: grid;
    grid-template-columns: 466px repeat(3, 180px);
    gap: 64px;
    padding: 84px 0 80px;
}

.ef-footer-v2__brand {
    /*width: 358px;*/
}

.ef-footer-v2__logo {
    display: inline-block;
    width: 194px;
    max-width: 100%;
    margin-bottom: 40px;
}

.ef-footer-v2__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.ef-footer-v2__description {
    max-width: 420px;
    margin: 0;
    color: var(--ef-footer-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.ef-footer-v2__tagline {
    margin: 28px 0 0;
    color: var(--ef-footer-white);
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 20px;
}

.ef-footer-v2__badges {
    display: grid;
    grid-template-columns: repeat(3, 71px);
    gap: 26px 44.5px;
    align-items: center;
    margin-top: 56px;
}

.ef-footer-v2__badge {
    display: flex;
    width: 71px;
    height: 71px;
    align-items: center;
    justify-content: center;
}

.ef-footer-v2__badge img {
    display: block;
    max-width: 71px;
    max-height: 71px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ef-footer-v2__nav-group + .ef-footer-v2__nav-group {
    margin-top: 64px;
}

.ef-footer-v2__heading {
    margin: 0 0 20px;
    color: var(--ef-footer-white);
    font-family: "Gilroy", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.ef-footer-v2__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-footer-v2__links li,
.ef-footer-v2__social-list li {
    margin: 0;
    padding: 0;
}

.ef-footer-v2__links li {
    display: flex;
    line-height: 16px;
}

.ef-footer-v2__links li + li {
    margin-top: 18px;
}

.ef-footer-v2__links a {
    display: inline-block;
    color: var(--ef-footer-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    transition: color .2s ease;
}

.ef-footer-v2__links a:hover {
    color: var(--ef-footer-white);
}

.ef-footer-v2__column:last-child .ef-footer-v2__nav-group:first-child .ef-footer-v2__links li:nth-child(3) a {
    line-height: 20px;
}

.ef-footer-v2__bottom {
    position: relative;
}

.ef-footer-v2__bottom::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, #70d9f5 0%, #4637ff 50%, #c84de4 100%);
    content: "";
}

.ef-footer-v2__bottom-inner {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 34px 0;
}

.ef-footer-v2__copyright {
    margin: 0;
    color: var(--ef-footer-white);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.ef-footer-v2__social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ef-footer-v2__social-label {
    color: var(--ef-footer-white);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

.ef-footer-v2__social-list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-footer-v2__social-list a {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: linear-gradient(var(--ef-footer-bg), var(--ef-footer-bg)) padding-box,
                linear-gradient(135deg, #7de5f1, #8449ff, #d656d4) border-box;
    transition: transform .2s ease, background-color .2s ease;
}

.ef-footer-v2__social-list a:hover {
    transform: translateY(-2px);
}

.ef-footer-v2__social-list img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@media (max-width: 1279px) {
    .ef-footer-v2__main {
        grid-template-columns: minmax(320px, 1.25fr) repeat(3, minmax(145px, 1fr));
        gap: 36px;
    }

    .ef-footer-v2__brand {
        padding-right: 0;
    }

    .ef-footer-v2__badges {
        gap: 22px;
    }
}

@media (max-width: 992px) {
    .ef-footer-v2__main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 56px 40px;
        padding-top: 64px;
    }

    .ef-footer-v2__brand {
        grid-column: 1 / -1;
    }

    .ef-footer-v2__logo {
        margin-bottom: 30px;
    }

    .ef-footer-v2__badges {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .ef-footer-v2__main,
    .ef-footer-v2__bottom-inner {
        width: min(100% - 40px, 560px);
    }

    .ef-footer-v2__main {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 52px 0 56px;
    }

    .ef-footer-v2__brand {
        grid-column: auto;
    }

    .ef-footer-v2__logo {
        width: 220px;
    }

    .ef-footer-v2__description {
        max-width: none;
    }

    .ef-footer-v2__badges {
        grid-template-columns: repeat(3, minmax(68px, 80px));
        gap: 24px;
    }

    .ef-footer-v2__nav-group + .ef-footer-v2__nav-group {
        margin-top: 44px;
    }

    .ef-footer-v2__bottom-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 42px 0 48px;
    }

    .ef-footer-v2__social {
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .ef-footer-v2__badges {
        grid-template-columns: repeat(2, 80px);
    }

    .ef-footer-v2__social-list {
        gap: 12px;
    }
}
