/* =========================================================
   THE HOPESUP
   REUSABLE FOOTER
========================================================= */

.footer {
    width: 100%;

    background: #faf7f1;

    color: #302a26;

    padding: 78px 0 28px;

    border-top: 1px solid rgba(48, 42, 38, 0.08);
}


/* =========================================================
   CONTAINER
========================================================= */

.footer-container,
.footer-bottom {
    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-container {
    display: grid;

    grid-template-columns:
        minmax(360px, 1.7fr)
        minmax(160px, 0.8fr)
        minmax(280px, 1.2fr);

    gap: 80px;

    padding-bottom: 70px;
}


/* =========================================================
   LOGO
========================================================= */

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    color: #241f19;

    text-decoration: none;
}


/* ORANGE CIRCLE */

.footer-logo-symbol {
    position: relative;

    width: 25px;
    height: 25px;

    display: block;

    border: 1px solid #c8791f;

    border-radius: 50%;
}


/* INNER DOT */

.footer-logo-symbol::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 15px;
    height: 15px;

    transform: translate(-50%, -50%);

    background: #c8791f;

    border-radius: 50%;
}


/* SMALL DECORATIVE DOTS */

.footer-logo-symbol::after {
    content: "";

    position: absolute;

    inset: -4px;

    border: 1px dashed rgba(200, 121, 31, 0.35);

    border-radius: 50%;
}


/* LOGO TEXT */

.footer-logo-text {
    font-family: "Fraunces", serif;

    font-size: 27px;

    font-weight: 600;

    font-style: italic;

    letter-spacing: -0.8px;
}

.footer-logo-text span {
    color: #a96516;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer-description {
    max-width: 455px;

    margin-top: 30px;

    color: #625a52;

    font-family: "Work Sans", sans-serif;

    font-size: 17px;

    line-height: 1.85;

    letter-spacing: 0.015em;
}


/* =========================================================
   SOCIAL
========================================================= */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 30px;
}

.footer-socials a {
    width: 47px;
    height: 47px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #302a26;

    background: transparent;

    border: 1px solid #ddd3c5;

    border-radius: 50%;

    font-family: "Work Sans", sans-serif;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-socials a:hover {
    color: #fff;

    background: #241f19;

    border-color: #241f19;

    transform: translateY(-4px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    padding-top: 3px;
}

.footer-column h3 {
    margin-bottom: 27px;

    color: #17130f;

    font-family: "Work Sans", sans-serif;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 0;
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 16px;
}

.footer-links a {
    position: relative;

    width: fit-content;

    color: #625a52;

    font-family: "Work Sans", sans-serif;

    font-size: 16px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: #c8791f;

    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #a96516;

    transform: translateX(3px);
}

.footer-links a:hover::after {
    width: 100%;
}


/* =========================================================
   EMAIL
========================================================= */

.footer-email {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #625a52;

    font-family: "Work Sans", sans-serif;

    font-size: 16px;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #a96516;
}

.email-icon {
    font-size: 16px;

    line-height: 1;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.footer-contact-text {
    max-width: 330px;

    margin-top: 25px;

    color: #625a52;

    font-family: "Work Sans", sans-serif;

    font-size: 16px;

    line-height: 1.8;

    letter-spacing: 0.01em;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding-top: 35px;

    border-top: 1px solid #ddd3c5;

    color: #625a52;

    font-family: "Work Sans", sans-serif;

    font-size: 13px;

    letter-spacing: 0.02em;
}


/* RIGHT SIDE */

.footer-bottom-right {
    display: flex;

    align-items: center;

    gap: 28px;
}


/* =========================================================
   PRIVACY LINK
========================================================= */

.privacy-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 13px;

    color: #302a26;

    background: #f3eadc;

    border: 1px solid rgba(200, 121, 31, 0.28);

    border-radius: 4px;

    font-family: "Work Sans", sans-serif;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.privacy-link span {
    font-size: 13px;

    transition: transform 0.3s ease;
}

.privacy-link:hover {
    color: #fff;

    background: #241f19;

    border-color: #241f19;

    transform: translateY(-2px);
}

.privacy-link:hover span {
    transform: translate(2px, -2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-container,
    .footer-bottom {
        width: min(100% - 50px, 760px);
    }

    .footer-container {
        grid-template-columns: 1.4fr 1fr;

        gap: 55px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 600px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .footer {
        padding: 60px 0 25px;
    }

    .footer-container,
    .footer-bottom {
        width: calc(100% - 40px);
    }

    .footer-container {
        display: grid;

        grid-template-columns: 1fr;

        gap: 42px;

        padding-bottom: 50px;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-logo-text {
        font-size: 25px;
    }

    .footer-description {
        margin-top: 24px;

        font-size: 15px;

        line-height: 1.75;
    }

    .footer-socials {
        margin-top: 25px;
    }

    .footer-socials a {
        width: 43px;
        height: 43px;
    }

    .footer-column h3 {
        margin-bottom: 20px;
    }

    .footer-links {
        gap: 13px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-email {
        font-size: 15px;
    }

    .footer-contact-text {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 17px;

        padding-top: 25px;

        line-height: 1.6;
    }

    .footer-bottom-right {
        width: 100%;

        flex-wrap: wrap;

        gap: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .footer-container,
    .footer-bottom {
        width: calc(100% - 32px);
    }

    .footer {
        padding-top: 50px;
    }

    .footer-logo {
        gap: 14px;
    }

    .footer-logo-text {
        font-size: 23px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 11px;
    }

}