/* KD Framework ? Footer component */

/* Footer */
.site-footer {
    position: relative;
    padding-top: 76px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background: #030712;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(130px, 0.72fr));
    gap: clamp(36px, 6vw, 80px);
    padding-bottom: 68px;
}

.site-footer__brand > p {
    max-width: 320px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.site-footer__socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.6);
    color: var(--muted);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
    border-color: rgba(96, 165, 250, 0.45);
    color: #93c5fd;
    transform: translateY(-2px);
}

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

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.site-footer__menu,
.site-footer__legal-menu,
.site-footer__menu li,
.site-footer__legal-menu li {
    display: contents;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column h2 {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.02em;
}

.site-footer__column a,
.site-footer__column > span,
.site-footer__bottom a {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
    color: #bfdbfe;
}

.site-footer__contact {
    align-items: center;
}

.site-footer__contact a:first-of-type {
    color: #93c5fd;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 76px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: #64748b;
    font-size: 12px;
}

.site-footer__bottom > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

@media (max-width: 980px) {
    .site-footer__grid {
            grid-template-columns: 1.4fr repeat(2, 1fr);
        }

    .site-footer__contact {
            grid-column: 2;
        }
}

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

    .site-footer__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 42px 24px;
            padding-bottom: 50px;
        }

    .site-footer__brand {
            grid-column: 1 / -1;
        }

    .site-footer__contact {
            grid-column: auto;
        }

    .site-footer__bottom {
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            padding: 22px 0;
        }

    .site-footer__bottom > div {
            justify-content: flex-start;
            flex-wrap: wrap;
            gap: 10px 20px;
        }
}

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

    .site-footer__brand {
            grid-column: auto;
        }
}
.site-footer__cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.site-footer__cookie-settings:hover,
.site-footer__cookie-settings:focus-visible {
    color: #93c5fd;
}
