/* ==================================================
   COCOON CUSTOM FOOTER
================================================== */

.cocoon-footer {
    --footer-gold: #ce982c;
    --footer-ivory: #fffce5;
    --footer-sand: #f8f3ea;
    --footer-text: #333333;
    --footer-muted: #686868;
    --footer-border: rgba(51, 51, 51, 0.16);

    color: var(--footer-text);
    background: var(--footer-ivory);
    font-family: "PT Sans", sans-serif;
}

.cocoon-footer *,
.cocoon-footer *::before,
.cocoon-footer *::after {
    box-sizing: border-box;
}

.cocoon-footer__container {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
}




.cocoon-footer__whatsapp,
.cocoon-footer__subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 26px;
    border: 1px solid var(--footer-gold);
    border-radius: 0;
    color: #ffffff;
    background: var(--footer-gold);
    font-family: "PT Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.cocoon-footer__whatsapp:hover,
.cocoon-footer__whatsapp:focus-visible,
.cocoon-footer__subscribe-button:hover,
.cocoon-footer__subscribe-button:focus-visible {
    color: var(--footer-gold);
    background: transparent;
}


/* Main columns */

.cocoon-footer__main {
    padding: 82px 0 22px;
    background: var(--footer-text);
}

.cocoon-footer__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1.15fr 1.25fr;
    gap: clamp(36px, 5vw, 78px);
}

.cocoon-footer__heading {
    margin: 0 0 24px;
    color: var(--footer-gold);
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.3;
}

.cocoon-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cocoon-footer__menu li {
    margin: 0 0 12px;
}

.cocoon-footer__menu a,
.cocoon-footer__socials a {
    color: var(--footer-sand);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cocoon-footer__menu a:hover,
.cocoon-footer__menu a:focus-visible,
.cocoon-footer__socials a:hover,
.cocoon-footer__socials a:focus-visible {
    color: var(--footer-gold);
}

.cocoon-footer__contact-text {
    max-width: 290px;
    margin: 0 0 24px;
    color: var(--footer-sand);
    font-size: 16px;
    line-height: 1.65;
}

.cocoon-footer__whatsapp {
    margin-bottom: 26px;
}

.cocoon-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}


/* Locations and newsletter */

.cocoon-footer__lower {
    padding: 36px 0;
    border-top: 1px solid var(--footer-border);
    background: var(--footer-text);
}

.cocoon-footer__lower-grid {
}
.cocoon-footer__location-summary {
    width: 100%;
    border-top: 1px solid var(--footer-gold);
    border-bottom: 1px solid var(--footer-gold);
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}
.cocoon-footer__location-summary h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 21px;
}

.cocoon-footer__location-summary p {
    margin: 0;
    color: var(--footer-sand);
    font-size: 16px;
}

.cocoon-footer__location-summary span {
    margin: 0 7px;
    color: var(--footer-gold);
}

.cocoon-footer__subscribe {
    display: flex;
    align-items: center;
    gap: 22px;
    text-align: right;
    width: 330px;
    margin: auto;
    text-align: center;
}

.cocoon-footer__subscribe p {
    margin: 0;
    color: var(--footer-sand);
    font-size: 16px;
}


/* Legal row */

.cocoon-footer__legal {
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.72);
    background: #191919;
}

.cocoon-footer__legal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cocoon-footer__copyright {
    margin: 0;
    font-size: 14px;
}

.cocoon-footer__copyright span {
    margin: 0 7px;
    color: var(--footer-gold);
}

.cocoon-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.cocoon-footer__legal-links a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.cocoon-footer__legal-links a:hover,
.cocoon-footer__legal-links a:focus-visible {
    color: #ffffff;
}


@media (max-width: 1024px) {
    .cocoon-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 52px 70px;
    }
}

@media (max-width: 767px) {
    .cocoon-footer__container {
        width: min(100% - 36px, 1240px);
    }

    .cocoon-footer__main {
        padding: 58px 0 52px;
    }

    .cocoon-footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .cocoon-footer__heading {
        margin-bottom: 18px;
    }

    .cocoon-footer__lower {
        padding: 34px 0;
    }

    .cocoon-footer__lower-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .cocoon-footer__subscribe {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .cocoon-footer__legal-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cocoon-footer__legal-links {
        justify-content: center;
    }
}

/* Prevent theme colours from overriding the custom footer */

.cocoon-footer {
    color: #333333;
}

.cocoon-footer a:not(.cocoon-footer__button):
not(.cocoon-footer__whatsapp) {
    color: #686868;
}

.cocoon-footer a:not(.cocoon-footer__button):
not(.cocoon-footer__whatsapp):hover {
    color: #ce982c;
}

.cocoon-footer__whatsapp,
.cocoon-footer__subscribe-button {
    color: #333333;
    background-color: #ce982c;
    border-color: #ce982c;
    border-radius: 6px;
}

.cocoon-footer__button:hover,
.cocoon-footer__whatsapp:hover,
.cocoon-footer__subscribe-button:hover {
    color: #ce982c;
    background-color: transparent;
}

.cocoon-footer__legal,
.cocoon-footer__legal p,
.cocoon-footer__legal a {
    color: rgba(255, 255, 255, 0.78);
}

.cocoon-footer__legal a:hover {
    color: #ffffff;
}

/* Hide WhatsApp button whenever the custom footer is visible */
.cocoon-site-header.is-scrolled
.cocoon-floating-whatsapp.is-hidden-by-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
}