.vg-footer__newsletter {
    position: relative;
    overflow: hidden;
    background: var(--vg-primary);
    color: #fff;
}

.vg-footer__newsletter::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(140px, 26%, 340px);
    background: #17181B;
    opacity: .12;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.vg-footer__newsletter-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding-block: 34px;
}

@media (min-width: 900px) {
    .vg-footer__newsletter-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 40px;
    }
}

.vg-footer__newsletter-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vg-footer__newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.vg-footer__newsletter-icon .vg-ico {
    width: 26px;
    height: 26px;
}

.vg-footer__newsletter-title {
    color: #fff;
    font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem);
}

.vg-footer__newsletter .vg-check input {
    accent-color: var(--vg-secondary);
}

.vg-footer__contact {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.vg-footer__contact-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    padding-block: 30px;
}

.vg-footer__slogan {
    color: #fff;
    font-family: var(--vg-font-head);
    font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem);
    font-weight: 700;
}

.vg-footer__contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.vg-footer__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vg-footer__contact-item small {
    display: block;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .7;
}

.vg-footer__contact-item strong {
    display: block;
    color: #fff;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.vg-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--vg-radius);
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--vg-accent);
}

a.vg-footer__contact-item:hover .vg-footer__contact-icon {
    background: var(--vg-primary);
    border-color: var(--vg-primary);
    color: #fff;
}

.vg-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: clamp(40px, 6vw, 64px);
}

@media (min-width: 640px) {
    .vg-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .vg-footer__grid {
        grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
        gap: 40px;
    }

    .vg-footer__grid--c1 {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }

    .vg-footer__grid--c2 {
        grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    }

    .vg-footer__grid--c4 {
        grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
        gap: 32px;
    }

    .vg-footer__grid--c5 {
        grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr));
        gap: 28px;
    }
}
