/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 35%,
            rgba(11, 65, 130, 0.18),
            transparent 35%
        ),
        #031b39;
    color: #ffffff;
}

.site-footer-container {
    padding-top: 48px;
    padding-bottom: 22px;
}


/* MAIN
   ========================================================= */

.site-footer-main {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.45fr)
        minmax(140px, 0.7fr)
        minmax(210px, 1fr)
        minmax(230px, 1fr);

    gap: 70px;

    padding-bottom: 38px;
}


/* BRAND
   ========================================================= */

.site-footer-brand {
    max-width: 310px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: #ffffff;
}

.site-footer-logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.site-footer-logo-text {
    display: flex;
    flex-direction: column;

    color: #ffffff;

    font-size: 17px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.site-footer-description {
    max-width: 290px;

    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
    line-height: 1.7;
}


/* SOCIAL
   ========================================================= */

.site-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.88);

    transition:
        color var(--jf-transition),
        transform var(--jf-transition);
}

.site-footer-social a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}


/* COLUMNS
   ========================================================= */

.site-footer-heading {
    margin: 3px 0 17px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer-links li {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer-links a {
    color: rgba(255, 255, 255, 0.86);

    font-size: 12px;
    line-height: 1.4;

    transition:
        color var(--jf-transition),
        transform var(--jf-transition);
}

.site-footer-links a:hover {
    color: #ffffff;
}


/* CONTACT
   ========================================================= */

.site-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 12px;
    line-height: 1.5;
}

a.site-footer-contact-row {
    transition: color var(--jf-transition);
}

a.site-footer-contact-row:hover {
    color: #ffffff;
}

.site-footer-contact-row svg {
    flex: 0 0 17px;

    margin-top: 1px;

    color: rgba(255, 255, 255, 0.85);
}


/* BOTTOM
   ========================================================= */

.site-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;
    line-height: 1.5;
}

.site-footer-bottom a {
    color: rgba(255, 255, 255, 0.6);

    font-size: 10px;

    transition: color var(--jf-transition);
}

.site-footer-bottom a:hover {
    color: #ffffff;
}

.site-footer-copyright {
    justify-self: start;
}

.site-footer-realization {
    justify-self: center;

    text-align: center;
    white-space: nowrap;
}

.site-footer-realization a {
    font-weight: 600;
}

.site-footer-privacy {
    justify-self: end;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .site-footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;

        gap: 45px;
    }

    .site-footer-brand {
        grid-column: 1 / -1;

        max-width: 420px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .site-footer-container {
        padding-top: 42px;
        padding-bottom: 22px;
    }

    .site-footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 38px 26px;

        padding-bottom: 34px;
    }

    .site-footer-brand {
        grid-column: 1 / -1;

        max-width: 320px;
    }

    .site-footer-contact {
        grid-column: 1 / -1;
    }

    .site-footer-logo img {
        width: 52px;
        height: 52px;
    }

    .site-footer-description {
        font-size: 12px;
    }

    .site-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;

        text-align: center;
    }

    .site-footer-copyright,
    .site-footer-realization,
    .site-footer-privacy {
        justify-self: auto;
    }

    .site-footer-realization {
        order: 2;
    }

    .site-footer-privacy {
        order: 3;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .site-footer-main {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .site-footer-brand,
    .site-footer-contact {
        grid-column: auto;
    }

    .site-footer-heading {
        margin-bottom: 14px;
    }
}