.site-footer {
    border-top: 1px solid rgba(13, 102, 173, 0.55);
    background: #080b0b;
    color: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.site-footer__inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 300px;
    grid-template-areas:
        "brand columns legal"
        "company company legal";
    gap: 24px 48px;
    width: min(100%, 1451px);
    min-height: 232px;
    margin: 0 auto;
    padding: 24px 28px 22px;
}

.site-footer__brand {
    grid-area: brand;
    display: flex;
    align-items: start;
}

.site-footer__brand-pill {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 240px;
    min-height: 86px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(255, 255, 255, 0.035)),
        #080d0d;
    color: #f8fbff;
    text-decoration: none;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-footer__brand-pill:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.28), 0 12px 30px rgba(0, 229, 255, 0.08);
    transform: translateY(-2px);
}

.site-footer__brand-pill img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.28));
}

.site-footer__brand-pill span {
    overflow: hidden;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0;
    text-overflow: ellipsis;
}

.site-footer__columns {
    grid-area: columns;
    display: grid;
    grid-template-columns: repeat(4, minmax(126px, 1fr));
    gap: 34px;
    align-items: start;
}

.site-footer__column h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.site-footer__column a {
    display: block;
    width: fit-content;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer__column a:hover {
    color: #fff;
    transform: translateX(2px);
}

.site-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.site-footer__socials a {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
}

.site-footer__socials svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-footer__company {
    grid-area: company;
    align-self: end;
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    font-weight: 600;
    padding-left: 294px;
    text-align: left;
}

.site-footer__legal {
    grid-area: legal;
    display: grid;
    align-content: end;
    justify-items: end;
    gap: 18px;
}

.site-footer__legal p {
    margin: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.22;
    text-align: right;
}

.site-footer__payments {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-footer__mastercard {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 38px;
}

.site-footer__mastercard::before,
.site-footer__mastercard::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.site-footer__mastercard::before {
    left: 0;
    background: #ff001f;
}

.site-footer__mastercard::after {
    right: 0;
    background: #ffb12d;
    mix-blend-mode: screen;
}

.site-footer__payments strong {
    color: #162774;
    font-size: 32px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 980px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "columns"
            "brand"
            "company"
            "legal";
        gap: 24px;
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .site-footer__brand,
    .site-footer__legal {
        justify-content: center;
        justify-items: center;
    }

    .site-footer__legal p,
    .site-footer__company {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .site-footer__columns {
        grid-template-columns: 1fr;
    }

    .site-footer__brand-pill {
        min-width: 0;
        width: 100%;
    }
}
