.site-footer {
    background: #092f42;
    color: var(--color-white);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr 1.15fr 1.15fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

.site-footer h2 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.site-footer span {
    color: rgba(255, 255, 255, 0.76);
}

.site-footer a,
.site-footer span {
    display: block;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--color-white);
}

.footer-brand {
    gap: 18px;
    margin-bottom: 20px;
}

.site-footer .footer-brand .brand-logo {
    width: 90px;
    height: 90px;
}

.site-footer .footer-brand .brand-title {
    display: block;
    margin: 0 0 6px;
    color: var(--color-white);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.site-footer .footer-brand .brand-subtitle {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.footer-about > p {
    max-width: 390px;
}

.footer-contact-list {
    display: grid;
    gap: 14px;
}

.site-footer .footer-contact-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-contact-item i {
    color: #ef9408;
    line-height: 1.65;
    text-align: center;
}

.site-footer .footer-contact-item span {
    display: inline;
    margin: 0;
    color: inherit;
    overflow-wrap: anywhere;
}

.site-footer a.footer-contact-item:hover,
.site-footer a.footer-contact-item:focus-visible {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 34px;
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
}

.footer-social {
    display: grid;
    grid-template-columns: repeat(4, minmax(42px, 1fr));
    gap: 8px;
}

.footer-social-item {
    min-width: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.site-footer .footer-social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer .footer-social-link i {
    display: block;
    line-height: 1;
}

.site-footer .footer-social-label {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 700;
}

.site-footer .footer-social-link:hover,
.site-footer .footer-social-link:focus-visible {
    color: var(--color-white);
    transform: scale(1.05);
}

.site-footer .footer-social-link--facebook:hover,
.site-footer .footer-social-link--facebook:focus-visible {
    border-color: #1877f2;
    background: #1877f2;
}

.site-footer .footer-social-link--instagram:hover,
.site-footer .footer-social-link--instagram:focus-visible {
    border-color: #d62976;
    background:
        radial-gradient(circle at 30% 110%, #fdf497 0 18%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

.site-footer .footer-social-link--linkedin:hover,
.site-footer .footer-social-link--linkedin:focus-visible {
    border-color: #0a66c2;
    background: #0a66c2;
}

.site-footer .footer-social-link--email:hover,
.site-footer .footer-social-link--email:focus-visible {
    border-color: #d69b2d;
    background: #d69b2d;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-footer {
        padding-top: 52px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        width: min(280px, 100%);
    }

    .site-footer .footer-social-label {
        display: none;
    }
}
