/* =========================================================
   GIFT A PIECE OF NATURE
   FOOTER STYLES
========================================================= */

:root {
    --gpn-footer-green: #0d2814;
    --gpn-footer-green-2: #15391d;
    --gpn-footer-green-3: #1c4727;

    --gpn-footer-gold: #d7a83d;
    --gpn-footer-gold-light: #e8c873;

    --gpn-footer-white: #ffffff;
    --gpn-footer-text: rgba(255, 255, 255, 0.72);
    --gpn-footer-muted: rgba(255, 255, 255, 0.48);

    --gpn-footer-border: rgba(255, 255, 255, 0.11);

    --gpn-footer-transition: 0.3s ease;
}


/* =========================================================
   NEWSLETTER SECTION
========================================================= */

.footer-newsletter {
    position: relative;

    overflow: hidden;

    padding: 90px 0;

    color: var(--gpn-footer-white);

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(215, 168, 61, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(49, 91, 56, 0.25),
            transparent 35%
        ),
        var(--gpn-footer-green-2);
}


/*
 * Subtle botanical decorative glow.
 */

.footer-newsletter::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -230px;

    border: 1px solid rgba(215, 168, 61, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.footer-newsletter::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -130px;
    top: -130px;

    border: 1px solid rgba(255, 255, 255, 0.05);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   NEWSLETTER INNER
========================================================= */

.footer-newsletter-inner {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(350px, 0.9fr);

    align-items: center;

    gap: 80px;
}


/* =========================================================
   NEWSLETTER CONTENT
========================================================= */

.footer-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 16px;

    color: var(--gpn-footer-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2.8px;

    text-transform: uppercase;
}


/*
 * Decorative line before eyebrow.
 */

.footer-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--gpn-footer-gold);
}


.footer-newsletter-content h2 {
    margin: 0;

    color: var(--gpn-footer-white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 5vw, 64px);

    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -1.5px;
}


.footer-newsletter-content h2 em {
    color: var(--gpn-footer-gold);

    font-style: italic;
}


.footer-newsletter-content p {
    max-width: 580px;

    margin: 24px 0 0;

    color: var(--gpn-footer-text);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   NEWSLETTER FORM
========================================================= */

.footer-newsletter-form {
    width: 100%;
}


.newsletter-form {
    display: flex;

    align-items: center;

    width: 100%;

    padding: 7px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 999px;

    transition:
        border-color var(--gpn-footer-transition),
        background-color var(--gpn-footer-transition);
}


.newsletter-form:focus-within {
    background: rgba(255, 255, 255, 0.1);

    border-color:
        rgba(215, 168, 61, 0.65);
}


.newsletter-form input[type="email"] {
    flex: 1;

    min-width: 0;

    height: 48px;

    padding: 0 20px;

    color: var(--gpn-footer-white);

    background: transparent;

    border: 0;

    outline: none;

    font-family: inherit;

    font-size: 14px;
}


.newsletter-form input[type="email"]::placeholder {
    color: var(--gpn-footer-muted);
}


.newsletter-submit {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 48px;

    padding: 0 23px;

    color: var(--gpn-footer-green);

    background: var(--gpn-footer-gold);

    border: 0;

    border-radius: 999px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background-color var(--gpn-footer-transition),
        transform var(--gpn-footer-transition);
}


.newsletter-submit:hover {
    background: var(--gpn-footer-gold-light);

    transform: translateY(-1px);
}


.newsletter-submit span:last-child {
    font-size: 17px;

    line-height: 1;

    transition:
        transform var(--gpn-footer-transition);
}


.newsletter-submit:hover span:last-child {
    transform: translateX(4px);
}


.footer-newsletter-form > small {
    display: block;

    margin: 13px 4px 0;

    color: var(--gpn-footer-muted);

    font-size: 11px;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    position: relative;

    color: var(--gpn-footer-white);

    background: var(--gpn-footer-green);

    padding: 78px 0 70px;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.5fr)
        repeat(3, minmax(130px, 0.75fr));

    gap: 65px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    max-width: 340px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: var(--gpn-footer-white);

    text-decoration: none;

    transition:
        opacity var(--gpn-footer-transition);
}


.footer-logo:hover {
    color: var(--gpn-footer-white);

    opacity: 0.9;
}


.footer-logo-mark {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(215, 168, 61, 0.65);

    border-radius: 50%;

    color: var(--gpn-footer-gold);

    font-size: 20px;
}


.footer-logo-text {
    display: flex;

    flex-direction: column;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    line-height: 1.05;
}


.footer-logo-text strong {
    margin-top: 4px;

    color: var(--gpn-footer-gold);

    font-size: 17px;

    font-weight: 400;
}


/* =========================================================
   BRAND DESCRIPTION
========================================================= */

.footer-description {
    margin: 24px 0 0;

    color: var(--gpn-footer-text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-social {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 27px;
}


.social-link {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.7);

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    transition:
        color var(--gpn-footer-transition),
        background-color var(--gpn-footer-transition),
        border-color var(--gpn-footer-transition),
        transform var(--gpn-footer-transition);
}


.social-link:hover {
    color: var(--gpn-footer-green);

    background: var(--gpn-footer-gold);

    border-color: var(--gpn-footer-gold);

    transform: translateY(-3px);
}


.social-link svg {
    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.social-link:nth-child(2) svg,
.social-link:nth-child(3) svg {
    fill: currentColor;

    stroke: none;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    min-width: 0;
}


.footer-heading {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 13px;

    color: var(--gpn-footer-white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    font-weight: 500;
}


.footer-heading::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 25px;
    height: 1px;

    background: var(--gpn-footer-gold);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-links li {
    margin: 0;
    padding: 0;
}


.footer-links a {
    position: relative;

    display: inline-block;

    color: var(--gpn-footer-text);

    font-size: 13px;

    text-decoration: none;

    transition:
        color var(--gpn-footer-transition),
        transform var(--gpn-footer-transition);
}


.footer-links a:hover {
    color: var(--gpn-footer-gold-light);

    transform: translateX(4px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    color: var(--gpn-footer-muted);

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.16)
        );

    border-top:
        1px solid var(--gpn-footer-border);

    padding: 20px 0;
}


.footer-bottom-inner {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;

    font-size: 11px;

    letter-spacing: 0.1px;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright {
    text-align: left;
}


.footer-copyright strong {
    color: rgba(255, 255, 255, 0.75);

    font-weight: 500;
}


/* =========================================================
   MADE WITH
========================================================= */

.footer-made-with {
    text-align: center;

    white-space: nowrap;
}


.footer-heart {
    display: inline-block;

    margin: 0 3px;

    color: var(--gpn-footer-gold);

    font-size: 12px;
}


/* =========================================================
   PAYMENT / TRUST
========================================================= */

.footer-payments {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    text-align: right;
}


.payment-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gpn-footer-gold);
}


/* =========================================================
   SCREEN READER TEXT
========================================================= */

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .footer-newsletter-inner {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-newsletter-content p {
        max-width: 650px;
    }


    .footer-grid {
        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap: 45px;
    }


    .footer-brand {
        grid-column: 1 / -1;

        max-width: 600px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 800px) {

    .footer-newsletter {
        padding: 70px 0;
    }


    .footer-main {
        padding: 65px 0;
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 45px 35px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom-inner {
        grid-template-columns: 1fr 1fr;
    }


    .footer-made-with {
        order: 3;

        grid-column: 1 / -1;
    }


    .footer-payments {
        justify-content: flex-end;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer-newsletter {
        padding: 60px 0;
    }


    .footer-newsletter-content h2 {
        font-size: 42px;

        letter-spacing: -0.8px;
    }


    .footer-newsletter-content p {
        font-size: 14px;

        line-height: 1.7;
    }


    /*
     * Stack newsletter input/button.
     */

    .newsletter-form {
        flex-direction: column;

        align-items: stretch;

        padding: 8px;

        border-radius: 18px;
    }


    .newsletter-form input[type="email"] {
        width: 100%;

        height: 50px;
    }


    .newsletter-submit {
        width: 100%;
    }


    .footer-main {
        padding: 55px 0;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-brand {
        max-width: 100%;
    }


    .footer-bottom {
        padding: 22px 0;
    }


    .footer-bottom-inner {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .footer-copyright,
    .footer-made-with,
    .footer-payments {
        width: 100%;

        text-align: left;
    }


    .footer-made-with {
        order: initial;
    }


    .footer-payments {
        justify-content: flex-start;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .footer-newsletter-content h2 {
        font-size: 36px;
    }


    .footer-logo-text {
        font-size: 18px;
    }


    .footer-logo-text strong {
        font-size: 15px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .newsletter-submit,
    .newsletter-submit span:last-child,
    .social-link,
    .footer-links a,
    .footer-logo {
        transition: none;
    }

}