/* =========================================================
   VERDE FOOTER — RESPONSIVE
   ========================================================= */


/* =========================================================
   LARGE TABLETS / SMALL LAPTOPS
   1200px
   ========================================================= */

@media (max-width: 1200px) {

    .verde-footer__container {
        width: min(1100px, calc(100% - 50px));
    }

    /* Footer columns */
    .verde-footer__columns {
        grid-template-columns:
            1.2fr .85fr .85fr 1fr;
        row-gap: 55px;
    }

    .verde-footer__columns>* {
        padding: 0 25px;
    }

    /*
     * Brand takes a full row
     */
    .verde-footer__brand {
        grid-column: 1 / -1;
        padding: 0 !important;
        max-width: 650px;
        margin: 0 auto;
    }

    /*
     * Remove unnecessary border from first
     * column after brand moves to full row.
     */
    .verde-footer__columns>*:nth-child(2) {
        border-left: 0;
    }

    /* Newsletter */
    .verde-newsletter {
        grid-template-columns: 80px 1fr;
        gap: 18px;
        padding: 20px 25px;
    }

    .verde-newsletter__form {
        grid-column: 1 / -1;
        width: 100%;
    }

    .verde-newsletter__copy p {
        max-width: 500px;
    }

    .verde-newsletter__message {
        left: 25px;
    }

    /* Features */
    .verde-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .verde-feature:nth-child(3) {
        border-left: 0;
    }

}


/* =========================================================
   TABLETS
   992px
   ========================================================= */

@media (max-width: 992px) {

    .verde-footer__top {
        min-height: 220px;
        clip-path: ellipse(88% 77% at 50% 24%);
    }

    .verde-footer__top-inner {
        padding: 30px 20px 55px;
    }

    .verde-footer__eyebrow {
        font-size: 2.5rem;
    }

    .verde-footer__top h2 {
        font-size: 2.8rem;
    }

    .verde-footer__ornament span {
        width: 70px;
    }

    .verde-footer__botanical {
        font-size: 120px;
    }


    /* =========================
       MAIN FOOTER COLUMNS
       ========================= */

    .verde-footer__columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 0;
    }

    .verde-footer__columns>* {
        padding: 0 28px;
    }

    /*
     * Brand
     */
    .verde-footer__brand {
        grid-column: 1 / -1;
        padding: 0 !important;
    }

    /*
     * Remove borders where necessary
     */
    .verde-footer__columns>*:nth-child(3),
    .verde-footer__columns>*:nth-child(5) {
        border-left: 0;
    }


    /* =========================
       BRAND
       ========================= */

    .verde-footer__logo {
        font-size: 4.2rem;
    }

    .verde-footer__description {
        max-width: 500px;
    }


    /* =========================
       NEWSLETTER
       ========================= */

    .verde-newsletter {
        grid-template-columns: 75px 1fr;
        padding: 22px 24px;
        border-radius: 22px;
    }

    .verde-newsletter__icon {
        width: 62px;
        height: 62px;
        font-size: 23px;
    }

    .verde-newsletter__copy h3 {
        font-size: 1.2rem;
    }

    .verde-newsletter__form {
        grid-column: 1 / -1;
        min-height: 50px;
    }

    .verde-newsletter__form button {
        min-width: 145px;
    }


    /* =========================
       FEATURES
       ========================= */

    .verde-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .verde-feature {
        padding: 15px 20px;
    }

    .verde-feature:nth-child(3) {
        border-left: 0;
    }

    .verde-feature>i {
        font-size: 28px;
    }


    /* =========================
       GALLERY
       ========================= */

    .verde-gallery-grid {
        max-width: 280px;
    }


    /* =========================
       CONTAINER
       ========================= */

    .verde-footer__container {
        width: min(900px, calc(100% - 45px));
        padding-top: 60px;
    }

}


/* =========================================================
   MOBILE
   768px
   ========================================================= */

@media (max-width: 768px) {

    .verde-footer {
        width: 100%;
    }


    /* =========================
       TOP SECTION
       ========================= */

    .verde-footer__top {
        min-height: 205px;

        /*
         * Softer curve on mobile
         */
        clip-path: ellipse(105% 76% at 50% 24%);
    }

    .verde-footer__top-inner {
        padding: 28px 15px 50px;
    }

    .verde-footer__eyebrow {
        margin-bottom: 7px;
        font-size: 2.15rem;
    }

    .verde-footer__top h2 {
        font-size: 2.35rem;
        letter-spacing: .025em;
    }

    .verde-footer__ornament {
        margin-top: 14px;
        gap: 8px;
    }

    .verde-footer__ornament span {
        width: 45px;
    }

    .verde-footer__ornament i {
        font-size: 12px;
    }


    /* =========================
       BOTANICAL DECORATION
       ========================= */

    .verde-footer__botanical {
        font-size: 90px;
        opacity: .2;
    }

    .verde-footer__botanical--top-left {
        left: -30px;
        top: -25px;
    }

    .verde-footer__botanical--top-right {
        right: -30px;
        top: -25px;
    }


    /* =========================
       MAIN CONTAINER
       ========================= */

    .verde-footer__container {
        width: calc(100% - 30px);
        padding: 48px 0 15px;
    }


    /* =========================
       FOOTER COLUMNS
       ========================= */

    .verde-footer__columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .verde-footer__columns>* {
        padding: 30px 5px;
        border-left: 0 !important;
        border-bottom: 1px dashed rgba(197, 160, 68, .28);
    }

    .verde-footer__columns>*:first-child {
        padding-top: 0;
        padding-left: 5px;
    }

    .verde-footer__columns>*:last-child {
        padding-right: 5px;
        border-bottom: 0;
    }


    /* =========================
       BRAND
       ========================= */

    .verde-footer__brand {
        grid-column: auto;
        text-align: center;
    }

    .verde-brand-mark {
        width: 68px;
        height: 66px;
    }

    .verde-brand-mark span {
        width: 30px;
        height: 16px;
    }

    .verde-brand-mark span:nth-child(1) {
        left: 21px;
    }

    .verde-brand-mark span:nth-child(2) {
        left: 3px;
    }

    .verde-brand-mark span:nth-child(3) {
        right: 0;
    }

    .verde-brand-mark::after {
        height: 57px;
        left: 34px;
    }

    .verde-footer__logo {
        font-size: 3.5rem;
        letter-spacing: .12em;
    }

    .verde-footer__brand-subtitle {
        font-size: 12px;
        letter-spacing: .3em;
    }

    .verde-footer__tagline {
        font-size: 1.4rem;
    }

    .verde-footer__description {
        max-width: 430px;
        font-size: .85rem;
        line-height: 1.7;
    }

    .verde-footer__socials {
        gap: 13px;
        margin-top: 18px;
    }

    .verde-footer__socials a {
        width: 40px;
        height: 40px;
    }


    /* =========================
       FOOTER HEADINGS
       ========================= */

    .verde-footer__column h3 {
        margin-top: 0;
        font-size: 1.45rem;
    }

    .verde-footer__heading-line {
        margin-bottom: 15px;
    }

    .verde-footer__heading-line span {
        width: 38px;
    }


    /* =========================
       LINKS
       ========================= */

    .verde-footer__column li a {
        justify-content: center;
        font-size: 1rem;
        padding: 6px 0;
    }


    /* =========================
       CONTACT
       ========================= */

    .verde-contact-item {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 45px 1fr;
        gap: 12px;
        margin-bottom: 14px;
    }

    .verde-contact-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .verde-contact-item p {
        font-size: 1rem;
    }


    /* =========================
       GALLERY
       ========================= */

    .verde-gallery-grid {
        width: min(100%, 310px);
        margin: 0 auto;
        gap: 8px;
    }


    /* =========================
       NEWSLETTER
       ========================= */

    .verde-newsletter {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 12px;
        margin: 32px auto 40px;
        padding: 18px;
        border-radius: 20px;
    }

    .verde-newsletter__icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .verde-newsletter__icon .fa-leaf {
        font-size: 11px;
        right: -3px;
        bottom: 5px;
    }

    .verde-newsletter__copy h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .verde-newsletter__copy p {
        max-width: none;
        font-size: .75rem;
        line-height: 1.45;
    }

    .verde-newsletter__form {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        min-height: auto;
        border: 0;
        border-radius: 0;
        gap: 9px;
        background: transparent;
        overflow: visible;
    }

    .verde-newsletter__form input {
        width: 100%;
        min-height: 47px;
        padding: 0 17px;
        border: 1px solid rgba(197, 160, 68, .7);
        border-radius: 999px;
        background: rgba(0, 0, 0, .08);
        font-size: .8rem;
    }

    .verde-newsletter__form button {
        width: 100%;
        min-height: 45px;
        min-width: 0;
        font-size: .85rem;
    }

    .verde-newsletter__message {
        left: 18px;
        right: 18px;
        bottom: -25px;
        text-align: center;
    }


    /* =========================
       FEATURES
       ========================= */

    .verde-features {
        grid-template-columns: 1fr;
        padding: 5px 0 10px;
    }

    .verde-feature,
    .verde-feature+.verde-feature {
        border-left: 0;
        border-bottom: 1px dashed rgba(197, 160, 68, .25);
    }

    .verde-feature:last-child {
        border-bottom: 0;
    }

    .verde-feature {
        justify-content: flex-start;
        padding: 15px 8px;
    }

    .verde-feature>i {
        width: 42px;
        text-align: center;
        font-size: 27px;
    }

    .verde-feature strong {
        font-size: .9rem;
    }

    .verde-feature span {
        font-size: .7rem;
    }


    /* =========================
       BOTTOM
       ========================= */

    .verde-footer__bottom {
        flex-direction: column;
        gap: 9px;
        padding: 20px 5px 4px;
        text-align: center;
    }

    .verde-footer__bottom span {
        width: 45px;
    }

    .verde-footer__bottom p {
        font-size: .68rem;
        line-height: 1.5;
    }


    /* =========================
       DECORATIONS
       ========================= */

    .verde-footer__decor--left {
        width: 160px;
        height: 170px;
        left: -55px;
        bottom: -55px;
    }

    .verde-footer__decor--right {
        width: 160px;
        height: 190px;
        right: -70px;
        bottom: -65px;
        border-width: 13px;
    }

}


/* =========================================================
   SMALL PHONES
   480px
   ========================================================= */

@media (max-width: 480px) {

    .verde-footer__top {
        min-height: 190px;
        clip-path: ellipse(120% 74% at 50% 24%);
    }

    .verde-footer__top-inner {
        padding: 25px 12px 46px;
    }

    .verde-footer__eyebrow {
        font-size: 1.9rem;
    }

    .verde-footer__top h2 {
        font-size: 2rem;
        line-height: 1.05;
    }

    .verde-footer__ornament {
        margin-top: 12px;
    }

    .verde-footer__ornament span {
        width: 35px;
    }


    /* =========================
       CONTAINER
       ========================= */

    .verde-footer__container {
        width: calc(100% - 22px);
        padding-top: 40px;
    }


    /* =========================
       BRAND
       ========================= */

    .verde-footer__logo {
        font-size: 3rem;
    }

    .verde-footer__brand-subtitle {
        font-size: 10px;
        letter-spacing: .25em;
    }

    .verde-footer__tagline {
        font-size: 1.25rem;
    }

    .verde-footer__description {
        padding: 0 8px;
        font-size: .78rem;
    }

    .verde-footer__socials a {
        width: 38px;
        height: 38px;
    }


    /* =========================
       FOOTER COLUMNS
       ========================= */

    .verde-footer__columns>* {
        padding: 25px 2px;
    }

    .verde-footer__column h3 {
        font-size: 1.35rem;
    }

    .verde-footer__column li a {
        font-size: .96rem;
    }


    /* =========================
       CONTACT
       ========================= */

    .verde-contact-item {
        grid-template-columns: 42px 1fr;
        max-width: 300px;
    }

    .verde-contact-icon {
        width: 40px;
        height: 40px;
    }

    .verde-contact-item p {
        font-size: .94rem;
    }


    /* =========================
       NEWSLETTER
       ========================= */

    .verde-newsletter {
        grid-template-columns: 50px 1fr;
        padding: 16px 14px;
        gap: 10px;
    }

    .verde-newsletter__icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .verde-newsletter__copy h3 {
        font-size: 1rem;
    }

    .verde-newsletter__copy p {
        font-size: .7rem;
    }

    .verde-newsletter__form input {
        min-height: 44px;
        font-size: .75rem;
    }

    .verde-newsletter__form button {
        min-height: 43px;
        font-size: .8rem;
    }


    /* =========================
       FEATURES
       ========================= */

    .verde-feature {
        padding: 13px 5px;
        gap: 11px;
    }

    .verde-feature>i {
        width: 36px;
        font-size: 23px;
    }

    .verde-feature strong {
        font-size: .82rem;
    }

    .verde-feature span {
        font-size: .66rem;
    }


    /* =========================
       GALLERY
       ========================= */

    .verde-gallery-grid {
        width: min(100%, 270px);
        gap: 6px;
    }

    .verde-gallery-grid a {
        border-radius: 7px;
    }


    /* =========================
       BOTTOM
       ========================= */

    .verde-footer__bottom p {
        max-width: 300px;
    }

}


/* =========================================================
   EXTRA SMALL PHONES
   360px
   ========================================================= */

@media (max-width: 360px) {

    .verde-footer__top {
        min-height: 175px;
    }

    .verde-footer__eyebrow {
        font-size: 1.7rem;
    }

    .verde-footer__top h2 {
        font-size: 1.75rem;
    }

    .verde-footer__ornament span {
        width: 28px;
    }

    .verde-footer__logo {
        font-size: 2.65rem;
    }

    .verde-footer__brand-subtitle {
        font-size: 9px;
    }

    .verde-footer__tagline {
        font-size: 1.15rem;
    }

    .verde-footer__description {
        font-size: .73rem;
    }

    .verde-footer__socials {
        gap: 9px;
    }

    .verde-footer__socials a {
        width: 35px;
        height: 35px;
    }

    .verde-footer__column h3 {
        font-size: 1.25rem;
    }

    .verde-newsletter {
        padding: 14px 11px;
    }

    .verde-newsletter__copy h3 {
        font-size: .92rem;
    }

    .verde-newsletter__copy p {
        font-size: .65rem;
    }

    .verde-feature strong {
        font-size: .78rem;
    }

    .verde-feature span {
        font-size: .62rem;
    }

}