/* ==========================================================
   SITE FOOTER
========================================================== */

.site-footer {
    background: #17361e;
    color: #ffffff;
}


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

.footer-main {
    padding: 75px 0 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 55px;
}


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

.footer-logo {
    display: inline-block;

    color: #ffffff;

    font-size: 1.8rem;
    font-weight: 800;

    text-decoration: none;

    margin-bottom: 12px;
}

.footer-slogan {
    color: #d4a017;

    font-size: 1.05rem;
    font-weight: 600;

    margin: 0 0 18px;
}

.footer-description {
    max-width: 320px;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.8;
    font-size: 0.95rem;

    margin: 0;
}


/* ==========================================================
   FOOTER COLUMNS
========================================================== */

.footer-column h3 {
    color: #d4a017;

    font-size: 1.05rem;
    font-weight: 700;

    margin: 0 0 22px;
}

.footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.75);

    line-height: 1.6;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-column a:hover {
    color: #d4a017;
    padding-left: 4px;
}


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

.footer-contact li {
    display: flex;

    gap: 10px;

    align-items: flex-start;
}

.footer-icon {
    flex: 0 0 18px;

    color: #d4a017;

    font-size: 1rem;
}


/* ==========================================================
   SOCIAL AREA
========================================================== */

/* ==========================================================
   SOCIAL AREA
========================================================== */

.footer-social-area {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(0, 0, 0, 0.08);
}

.footer-social {
    min-height: 90px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-social-text {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.footer-social-text strong {
    color: #ffffff;

    font-size: 1rem;
}

.footer-social-text span {
    color: rgba(255, 255, 255, 0.6);

    font-size: 0.85rem;
}


/* ==========================================================
   CIRCULAR SOCIAL ICONS
========================================================== */

.footer-social-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.footer-social-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 160, 23, 0.55);

    border-radius: 50%;

    background: rgba(212, 160, 23, 0.08);

    color: #d4a017;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
}

.footer-social-icon img {
    width: 21px;
    height: 21px;

    object-fit: contain;

    display: block;

    /* Your uploaded green icon becomes gold */
    filter:
        brightness(0)
        saturate(100%)
        invert(70%)
        sepia(80%)
        saturate(900%)
        hue-rotate(5deg)
        brightness(100%)
        contrast(90%);
}

.footer-social-icon:hover {
    background: #d4a017;

    border-color: #d4a017;

    color: #17361e;

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-social-icon:hover img {
    filter: brightness(0) saturate(100%);
}


/* ==========================================================
   BOTTOM BAR
========================================================== */

.footer-bottom {
    background: rgba(0, 0, 0, 0.18);
}

.footer-bottom-inner {
    min-height: 70px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);

    font-size: 0.8rem;

    margin: 0;
}

.footer-legal {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.8rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #d4a017;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}


/* ==========================================================
   BACK TO TOP
========================================================== */

.back-to-top {
    position: fixed;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%) translateY(20px);

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 160, 23, 0.5);

    border-radius: 50%;

    background: #d4a017;

    color: #17361e;

    font-size: 1.35rem;
    font-weight: 700;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    z-index: 9997;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-4px);
}


/* ==========================================================
   WHATSAPP FLOATING BUTTON
========================================================== */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #25d366;

    color: #ffffff;

    border-radius: 50%;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);

    z-index: 9998;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28);
}

.whatsapp-icon {
    font-size: 1.5rem;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 45px 35px;
    }

}


@media (max-width: 768px) {

    .footer-main {
        padding: 60px 0 50px;
    }

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

        gap: 38px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-social {
        padding: 25px 0;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-social-links {
        width: 100%;
    }

    .footer-bottom-inner {
        padding: 20px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

}


@media (max-width: 480px) {

    .footer-social-links {
        flex-direction: column;

        align-items: stretch;
    }

    .footer-social-link {
        justify-content: center;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;

        width: 52px;
        height: 52px;
    }

    .back-to-top {
        bottom: 18px;

        width: 44px;
        height: 44px;
    }

}

.footer-logo-image {
    width: 82px;
    height: 82px;
    object-fit: contain;
    display: block;
}
/* ==========================================================
   SUBSCRIBE / STAY CONNECTED
========================================================== */

.footer-subscribe-area {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.08);
}

.footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 0;
}

.footer-subscribe-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-subscribe-copy strong {
    color: #d4a017;
    font-size: 1.08rem;
}

.footer-subscribe-copy span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-subscribe-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.footer-subscribe-card {
    display: flex;
    gap: 13px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.footer-subscribe-card-icon {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
}

.footer-subscribe-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.footer-subscribe-card-content strong {
    color: #ffffff;
    font-size: 0.96rem;
}

.footer-subscribe-card-content span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.45;
}

.footer-subscribe-form {
    display: flex;
    gap: 8px;
    margin-top: 3px;
}

.footer-subscribe-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 9px;
    padding: 10px 11px;
    background: #ffffff;
    color: #222222;
    font: inherit;
    outline: none;
}

.footer-subscribe-form input:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.16);
}

.footer-subscribe-form button,
.footer-subscribe-link {
    flex: 0 0 auto;
    border: 0;
    border-radius: 9px;
    padding: 10px 13px;
    background: #d4a017;
    color: #17361e;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-size: 0.82rem;
}

.footer-subscribe-form button:hover,
.footer-subscribe-link:hover {
    filter: brightness(1.06);
}

.footer-subscribe-message {
    margin: 0;
    font-size: 0.86rem;
}

.footer-subscribe-message.success {
    color: #dceecf;
}

.footer-subscribe-message.error {
    color: #ffd1d1;
}

@media (max-width: 980px) {
    .footer-subscribe-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-subscribe-form {
        flex-direction: column;
    }

    .footer-subscribe-form button,
    .footer-subscribe-link {
        width: 100%;
    }
}


/* ==========================================================
   MOBILE SOCIAL ROW — responsive fix
   Keep social icons horizontal on small screens.
========================================================== */

@media (max-width: 768px) {
    .footer-social {
        padding: 24px 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        text-align: center;
    }

    .footer-social-text {
        align-items: center;
        text-align: center;
    }

    .footer-social-links {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 5px;
        scrollbar-width: none;
    }

    .footer-social-links::-webkit-scrollbar {
        display: none;
    }

    .footer-social-icon {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .footer-social {
        padding: 22px 0;
        gap: 16px;
    }

    .footer-social-links {
        gap: 7px;
        justify-content: center;
    }

    .footer-social-icon {
        width: 38px;
        height: 38px;
    }

    .footer-social-icon svg {
        width: 17px;
        height: 17px;
    }

    .footer-social-icon img {
        width: 18px;
        height: 18px;
    }
}
