.network-footer .container {
    width: min(calc(100% - 40px), 1180px);
    margin-inline: auto;
}
.network-footer {
    padding: 60px 0;
    background: rgba(5, 8, 16, .96);
    border-top: 1px solid rgba(148, 163, 184, .12);
    color: #f5f6fa;
    font-family: Montserrat, Arial, sans-serif;
}
.network-footer .footer__inner {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(240px, 1.15fr) auto;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}
.network-footer .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.network-footer .footer__brand img {
    display: block;
    width: clamp(145px, 18vw, 205px);
    height: auto;
    border-radius: 12px;
}
.network-footer .footer__trademark {
    display: grid;
    gap: 3px;
    color: #f5f6fa;
    font-weight: 700;
    line-height: 1.35;
}
.network-footer .footer__trademark small {
    color: #9aa8bd;
    font-size: .78rem;
    font-weight: 500;
}
.network-footer .footer__credit {
    color: #9aa8bd;
    font-size: .83rem;
    line-height: 1.55;
}
.network-footer .footer__credit p { margin: 0 0 5px; }
.network-footer .footer__credit a { display: inline-block; margin-top: 5px; color: #f5f6fa; text-underline-offset: 3px; }
.network-footer .footer__credit a:hover { color: #ff6556; }
.network-footer .footer__contacts { display: grid; gap: 10px; justify-items: end; font-weight: 600; }
.network-footer .footer__contacts > a { color: #f5f6fa; text-decoration: none; }
.network-footer .footer__social-icons { display: flex; align-items: center; gap: 10px; }
.network-footer .footer__social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: rgba(255, 255, 255, .055);
    color: #9aa8bd;
    transition: transform 200ms ease, color 200ms ease, background 200ms ease, border-color 200ms ease;
}
.network-footer .footer__social-icons a:hover,
.network-footer .footer__social-icons a:focus-visible {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(255, 75, 75, .17);
    border-color: rgba(255, 75, 75, .6);
}
.network-footer .footer__social-icons svg { width: 24px; height: 24px; }
.network-footer .footer__secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .12);
    font-size: .78rem;
}
.network-footer .footer__secondary a { color: #9aa8bd; text-decoration: none; }
.network-footer .footer__secondary a:hover { color: #f5f6fa; }
@media (min-width: 641px) and (max-width: 960px) {
    .network-footer .footer__inner { grid-template-columns: 1fr 1fr; }
    .network-footer .footer__contacts { grid-column: 1 / -1; justify-items: start; }
}
@media (max-width: 640px) {
    .network-footer .footer__inner { grid-template-columns: 1fr; gap: 24px; }
    .network-footer .footer__contacts { justify-items: start; }
}
