/* =========================================================
   JAYARA WEB WORKS
   FOOTER.CSS
   Desktop + Laptop + Tablet + Mobile
========================================================= */


/* =========================================================
   FOOTER VARIABLES
========================================================= */

:root {
    --footer-bg: #3f2a20;
    --footer-bg-deep: #332119;

    --footer-cream: #f7f0e8;
    --footer-cream-soft: #efe6dd;

    --footer-gold: #c88a37;
    --footer-gold-light: #d9a45b;

    --footer-muted: #a89588;

    --footer-border: rgba(247, 240, 232, 0.14);
    --footer-border-soft: rgba(247, 240, 232, 0.08);
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.jw-footer {
    position: relative;

    width: 100%;
    max-width: 100%;

    background: var(--footer-bg);

    color: var(--footer-cream);

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.jw-footer .footer-container {
    width: min(1200px, calc(100% - 80px));
    max-width: 1200px;

    margin: 0 auto;

    padding: 90px 0 28px;
}


/* =========================================================
   FOOTER TOP
========================================================= */

.jw-footer .footer-top {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(150px, 0.65fr)
        minmax(190px, 0.8fr);

    column-gap: 70px;

    padding-bottom: 70px;

    border-bottom: 1px solid var(--footer-border);
}


/* =========================================================
   BRAND
========================================================= */

.jw-footer .footer-brand {
    min-width: 0;
    width: 100%;
}


.jw-footer .footer-logo {
    display: inline-flex;

    width: 145px;

    text-decoration: none;
}


.jw-footer .footer-logo img {
    display: block;

    width: 145px;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   TAGLINE
========================================================= */

.jw-footer .footer-tagline {
    width: 100%;
    max-width: 600px;

    margin: 38px 0 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(48px, 5vw, 72px);

    font-weight: 500;

    line-height: 0.86;

    letter-spacing: -0.045em;

    color: var(--footer-cream);
}


.jw-footer .footer-tagline span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px
        rgba(247, 240, 232, 0.62);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.jw-footer .footer-description {
    width: 100%;
    max-width: 430px;

    margin: 28px 0 0;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    line-height: 1.8;

    color: rgba(247, 240, 232, 0.52);
}


/* =========================================================
   NAVIGATION
========================================================= */

.jw-footer .footer-navigation {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;
}


.jw-footer .footer-label {
    display: block;

    margin-bottom: 24px;

    font-family: "Inter", sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.18em;

    color: var(--footer-gold);
}


.jw-footer .footer-navigation a {
    position: relative;

    display: flex;

    align-items: center;

    gap: 13px;

    width: fit-content;

    margin-bottom: 13px;

    color: rgba(247, 240, 232, 0.67);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.12em;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.jw-footer .footer-navigation a span {
    min-width: 18px;

    font-size: 8px;

    color: rgba(200, 138, 55, 0.65);

    letter-spacing: 0.08em;
}


.jw-footer .footer-navigation a::before {
    content: "";

    position: absolute;

    left: -16px;
    top: 50%;

    width: 5px;
    height: 1px;

    background: var(--footer-gold);

    transform:
        translateY(-50%)
        scaleX(0);

    transform-origin: right;

    transition: transform 0.3s ease;
}


.jw-footer .footer-navigation a:hover {
    color: var(--footer-cream);

    transform: translateX(7px);
}


.jw-footer .footer-navigation a:hover::before {
    transform:
        translateY(-50%)
        scaleX(1);

    transform-origin: left;
}


/* =========================================================
   CONTACT
========================================================= */

.jw-footer .footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    min-width: 0;
}


.jw-footer .footer-contact .footer-label {
    margin-bottom: 24px;
}


.jw-footer .footer-whatsapp,
.jw-footer .footer-email {
    display: flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    max-width: 100%;

    color: var(--footer-cream);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.10em;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.jw-footer .footer-whatsapp {
    margin-bottom: 17px;
}


.jw-footer .footer-whatsapp span {
    font-size: 15px;

    color: var(--footer-gold);

    transition: transform 0.3s ease;
}


.jw-footer .footer-whatsapp:hover,
.jw-footer .footer-email:hover {
    color: var(--footer-gold-light);

    transform: translateX(4px);
}


.jw-footer .footer-whatsapp:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   BRAND STRIP
========================================================= */

.jw-footer .footer-brand-strip {
    width: 100%;

    padding: 25px 0 20px;
}


.jw-footer .footer-brand-line {
    width: 100%;
    height: 1px;

    margin-bottom: 20px;

    background: var(--footer-border-soft);
}


.jw-footer .footer-brand-row {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 25px;

    width: 100%;

    min-width: 0;
}


.jw-footer .footer-brand-name {
    min-width: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    font-weight: 600;

    letter-spacing: 0.02em;

    color: var(--footer-cream);
}


.jw-footer .footer-brand-slogan {
    font-family: "Inter", sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.15em;

    color: rgba(247, 240, 232, 0.32);

    text-align: center;

    white-space: nowrap;
}


.jw-footer .footer-brand-code {
    font-family: "Inter", sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 0.14em;

    color: rgba(247, 240, 232, 0.27);

    text-align: right;
}


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

.jw-footer .footer-bottom {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 20px;

    padding-top: 5px;

    min-width: 0;
}


.jw-footer .footer-copy {
    font-family: "Inter", sans-serif;

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 0.08em;

    color: rgba(247, 240, 232, 0.25);
}


.jw-footer .footer-location {
    font-family: "Inter", sans-serif;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.13em;

    color: rgba(247, 240, 232, 0.27);

    text-align: center;
}


/* =========================================================
   LEGAL
========================================================= */

.jw-footer .footer-legal {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 10px;

    min-width: 0;
}


.jw-footer .footer-legal a {
    position: relative;

    color: rgba(247, 240, 232, 0.36);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: 0.08em;

    white-space: nowrap;

    transition: color 0.3s ease;
}


.jw-footer .footer-legal a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background: var(--footer-gold);

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.3s ease;
}


.jw-footer .footer-legal a:hover {
    color: var(--footer-gold-light);
}


.jw-footer .footer-legal a:hover::after {
    transform: scaleX(1);

    transform-origin: left;
}


.jw-footer .footer-legal > span {
    color: rgba(247, 240, 232, 0.16);
}


/* =========================================================
   DECORATIVE BRAND CIRCLE
========================================================= */

.jw-footer::after {
    content: "";

    position: absolute;

    right: -170px;
    bottom: -240px;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(200, 138, 55, 0.11);

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .jw-footer .footer-container {
        width: calc(100% - 60px);
    }


    .jw-footer .footer-top {
        column-gap: 45px;
    }


    .jw-footer .footer-tagline {
        font-size: clamp(46px, 5vw, 65px);
    }

}


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

@media (max-width: 900px) {

    .jw-footer .footer-container {
        width: calc(100% - 50px);

        padding-top: 70px;
    }


    .jw-footer .footer-top {
        grid-template-columns:
            1fr 1fr;

        gap: 50px;

        padding-bottom: 55px;
    }


    .jw-footer .footer-brand {
        grid-column: 1 / -1;
    }


    .jw-footer .footer-tagline {
        max-width: 650px;
    }


    .jw-footer .footer-brand-row {
        grid-template-columns: 1fr auto;
    }


    .jw-footer .footer-brand-slogan {
        display: none;
    }


    .jw-footer .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }


    .jw-footer .footer-location {
        text-align: right;
    }


    .jw-footer .footer-legal {
        grid-column: 1 / -1;

        justify-content: flex-start;

        padding-top: 8px;
    }

}


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

@media (max-width: 700px) {

    .jw-footer {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }


    .jw-footer .footer-container {
        width: calc(100% - 36px);
        max-width: 100%;

        margin: 0 auto;

        padding: 55px 0 24px;
    }


    /* -----------------------------------------
       TOP
    ----------------------------------------- */

    .jw-footer .footer-top {
        display: flex;

        flex-direction: column;

        gap: 42px;

        padding-bottom: 45px;
    }


    /* -----------------------------------------
       BRAND
    ----------------------------------------- */

    .jw-footer .footer-brand {
        width: 100%;
        max-width: 100%;

        min-width: 0;
    }


    .jw-footer .footer-logo {
        width: 125px;
    }


    .jw-footer .footer-logo img {
        width: 125px;
    }


    /*
       IMPORTANT:
       This prevents the old one-letter-per-line
       problem.
    */

    .jw-footer .footer-tagline {
        display: block;

        width: 100%;
        max-width: 100%;

        margin-top: 30px;

        font-size: clamp(43px, 13vw, 62px);

        line-height: 0.87;

        letter-spacing: -0.045em;

        white-space: normal;

        word-break: normal;

        overflow-wrap: normal;
    }


    .jw-footer .footer-tagline span {
        display: block;

        width: 100%;

        white-space: nowrap;

        word-break: normal;

        overflow-wrap: normal;
    }


    .jw-footer .footer-description {
        width: 100%;
        max-width: 320px;

        margin-top: 23px;

        font-size: 10.5px;

        line-height: 1.75;
    }


    /* -----------------------------------------
       NAVIGATION
    ----------------------------------------- */

    .jw-footer .footer-navigation {
        width: 100%;
    }


    .jw-footer .footer-label {
        margin-bottom: 19px;

        font-size: 8px;
    }


    .jw-footer .footer-navigation a {
        margin-bottom: 13px;

        font-size: 10px;

        gap: 12px;
    }


    .jw-footer .footer-navigation a span {
        font-size: 7px;
    }


    /* -----------------------------------------
       CONTACT
    ----------------------------------------- */

    .jw-footer .footer-contact {
        width: 100%;

        min-width: 0;
    }


    .jw-footer .footer-whatsapp,
    .jw-footer .footer-email {
        max-width: 100%;

        font-size: 10px;

        overflow-wrap: anywhere;
    }


    /* -----------------------------------------
       BRAND STRIP
    ----------------------------------------- */

    .jw-footer .footer-brand-strip {
        width: 100%;

        padding: 22px 0 18px;
    }


    .jw-footer .footer-brand-row {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 9px;

        width: 100%;
    }


    .jw-footer .footer-brand-name {
        font-size: 19px;

        line-height: 1;
    }


    .jw-footer .footer-brand-slogan {
        display: block;

        font-size: 7px;

        text-align: left;

        white-space: normal;
    }


    .jw-footer .footer-brand-code {
        font-size: 7px;

        text-align: left;
    }


    /* -----------------------------------------
       BOTTOM
    ----------------------------------------- */

    .jw-footer .footer-bottom {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 13px;

        width: 100%;

        padding-top: 2px;
    }


    .jw-footer .footer-copy {
        font-size: 6.5px;

        line-height: 1.6;
    }


    .jw-footer .footer-location {
        font-size: 7px;

        text-align: left;
    }


    /* -----------------------------------------
       LEGAL
    ----------------------------------------- */

    .jw-footer .footer-legal {
        display: flex;

        align-items: center;

        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 8px;

        width: 100%;
    }


    .jw-footer .footer-legal a {
        font-size: 6.5px;
    }


    /* -----------------------------------------
       DECORATION
    ----------------------------------------- */

    .jw-footer::after {
        right: -220px;
        bottom: -190px;

        width: 360px;
        height: 360px;
    }

}


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

@media (max-width: 420px) {

    .jw-footer .footer-container {
        width: calc(100% - 28px);

        padding-top: 48px;
    }


    .jw-footer .footer-tagline {
        font-size: 42px;

        line-height: 0.88;
    }


    .jw-footer .footer-description {
        max-width: 290px;

        font-size: 10px;
    }


    .jw-footer .footer-brand-name {
        font-size: 17px;
    }

}


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

@media (max-width: 360px) {

    .jw-footer .footer-container {
        width: calc(100% - 24px);
    }


    .jw-footer .footer-tagline {
        font-size: 38px;
    }


    .jw-footer .footer-navigation a {
        font-size: 9px;
    }


    .jw-footer .footer-brand-name {
        font-size: 16px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .jw-footer .footer-navigation a,
    .jw-footer .footer-navigation a::before,
    .jw-footer .footer-whatsapp,
    .jw-footer .footer-email,
    .jw-footer .footer-whatsapp span,
    .jw-footer .footer-legal a,
    .jw-footer .footer-legal a::after {
        transition: none;
    }

}
