.footer {
    margin-top: 80px;
    padding: 0 20px 40px;
}

.footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px;

    background: rgba(255, 255, 255, .30);
    border: 1px solid rgba(255, 255, 255, .45);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 32px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* =====================================
   DESKTOP LAYOUT
===================================== */

.footer__top {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer__info {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.footer__logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    transition: transform .4s ease;
}

.footer__logo:hover img {
    transform: scale(1.08);
}

.footer__brand p {
    margin-top: 18px;
    line-height: 1.9;
    color: var(--text-soft);
    max-width: 340px;
}

.footer__links,
.footer__contact,
.footer__social {
    display: flex;
    flex-direction: column;
}

.footer__links h3,
.footer__contact h3,
.footer__social h3 {
    margin-bottom: 22px;
    font-size: 1.15rem;
    color: var(--text);
}

.footer__links a,
.footer__contact a {
    color: var(--text-soft);
    margin-bottom: 14px;
    transition: all .3s ease;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--teal);
    transform: translateX(4px);
}

/* =====================================
   SOCIAL ICONS
===================================== */

.social-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-link {
    width: 52px;
    height: 52px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .4);
    border: 1px solid rgba(255, 255, 255, .5);

    transition: all .35s ease;
}

.social-link i {
    font-size: 1.2rem;
    color: var(--text);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--teal);
    box-shadow: 0 15px 35px rgba(27, 93, 99, .25);
}

.social-link:hover i {
    color: #fff;
}

/* =====================================
   FOOTER BOTTOM
===================================== */

.footer__bottom {
    position: relative;

    margin-top: 45px;
    padding-top: 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    flex-wrap: wrap;
}

.footer__bottom::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(27, 93, 99, 0.25),
            rgba(27, 93, 99, 0.45),
            rgba(27, 93, 99, 0.25),
            transparent);
}

.footer__bottom p {
    margin: 0;
    color: var(--text-soft);
    font-size: .95rem;
}

.footer__bottom p:first-child {
    font-weight: 700;
    color: var(--teal);
}

.footer__bottom strong {
    color: var(--teal);
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

    .footer__top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer__info {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

    .footer {
        margin-top: 50px;
        padding: 0 14px 24px;
    }

    .footer__inner {
        padding: 24px;
        border-radius: 24px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__brand {
        order: 1;
        text-align: center;
    }

    .footer__social {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .footer__info {
        order: 3;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer__links,
    .footer__contact {
        text-align: left;
        align-items: flex-start;
    }

    .footer__logo {
        display: flex;
        justify-content: center;
    }

    .footer__logo img {
        width: 65px;
        height: 65px;
    }

    .footer__tagline {
        display: block;
        color: var(--teal);
        font-size: .9rem;
        font-weight: 600;
    }

    .footer__brand p {
        max-width: 100%;
        margin-top: 14px;
    }

    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-link {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .footer__bottom p {
        font-size: .88rem;
    }
}

/* =====================================
   SMALL PHONES
===================================== */

@media (max-width: 480px) {

    .footer__inner {
        padding: 20px;
    }

    .footer__info {
        gap: 18px;
    }

    .footer__brand p {
        font-size: .92rem;
        line-height: 1.8;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .footer__bottom p {
        font-size: .82rem;
    }
}