.site-footer {
    --footer-bg-rgb: 43, 43, 43;
    --footer-main: #FDBF0E;

    --footer-heading-font: "Big Shoulders Display", sans-serif;
    --footer-body-font: "Alexandria", sans-serif;

    direction: ltr;
    text-align: left;
    font-family: var(--footer-body-font);
    overflow-x: hidden;
}

.site-footer * {
    box-sizing: border-box;
}

.site-footer .side-footer {
    min-height: 20rem;
    background-image: url("../../../assets/images/web/footer.webp");
    background-position: center center;
    background-size: cover;
    position: relative;
}

.side-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(var(--footer-bg-rgb), 1) 0%,
        rgba(var(--footer-bg-rgb), 0.7) 35%,
        rgba(var(--footer-bg-rgb), 0.25) 70%,
        transparent 100%
    );
}

.footer-badge {
    display: inline-block;
    background-color: var(--footer-main);
    color: #FFFFFF;
    font-family: var(--footer-heading-font);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 0.45rem 1.1rem;
}

.footer-advice-text {
    max-width: 720px;
    color: #FFFFFF;
    font-family: var(--footer-body-font);
    font-size: clamp(13px, 1.6vw, 18px);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: left;
}

.footer-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--footer-main);
    color: #FFFFFF;
    font-family: var(--footer-body-font);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    direction: ltr;
    transition: background-color 0.3s ease;
}

.footer-quote-btn:hover {
    background-color: #e0a800;
    color: #FFFFFF;
}

.footer-quote-btn i {
    transform: rotate(180deg);
}

.site-footer .main-footer {
    position: relative;
    background-color: rgb(var(--footer-bg-rgb));
    background-image: url("../../../assets/images/web/FMP.webp");
    background-position: center bottom;
    background-size: 45%;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--footer-body-font);
    font-weight: 300;
}

.main-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(var(--footer-bg-rgb), 0.85);
    z-index: 0;
    pointer-events: none;
}

.footer-divider-bottom {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    gap: 1.5rem;
}

.footer-logo {
    height: 4rem;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    background-color: #fff;
    padding: 0.25rem;
}

.footer-description {
    max-width: 75%;
    margin-bottom: 0;
    color: #FFFFFF;
    font-family: var(--footer-body-font);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
    font-weight: 300;
    text-align: left;
}

.footer-copyright {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--footer-body-font);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: #FFFFFF;
    letter-spacing: 0;
    direction: ltr;
    text-align: left;
}

.footer-heading {
    font-family: var(--footer-heading-font);
    color: #FDBF0E;
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    line-height: 1.1;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    direction: ltr;
    text-align: left;
}

.footer-links li {
    font-family: var(--footer-body-font);
    margin-bottom: 0.9rem;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0;
    font-weight: 300;
    color: #FFFFFF;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.footer-links li::before {
    content: "-";
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--footer-main);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    direction: ltr;
    text-align: left;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-contact-list li > i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--footer-main);
    font-size: 18px;
    line-height: 1;
}

.footer-contact-list li div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    min-width: 0;
}

.footer-contact-list li div span {
    overflow-wrap: anywhere;
}

.footer-contact-list li div span:first-child {
    color: #FFFFFF;
    font-family: var(--footer-body-font);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-list li div span:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--footer-body-font);
    font-weight: 300;
    font-size: 12px;
    line-height: 1.7;
}

.footer-bottom {
    font-size: 13px;
    direction: ltr;
}

.footer-legal {
    direction: ltr;
}

.footer-legal span {
    font-family: var(--footer-body-font);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #FFFFFF;
}

.footer-legal span:hover {
    color: var(--footer-main);
}

.social-icons {
    direction: ltr;
}

.social-icons__item {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons__item:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
}

.social-facebook  { background-color: #1877f2; }
.social-twitter   { background-color: #1d9bf0; }
.social-linkedin  { background-color: #0a66c2; }
.social-whatsapp  { background: linear-gradient(180deg, #60d66a 0%, #20b038 100%); }
.social-instagram { background: linear-gradient(180deg, #ff4797 0%, #f37608 100%); }

/* ===================== Responsive ===================== */

@media (max-width: 1199.98px) {
    .footer-description {
        max-width: 90%;
    }
}

@media (max-width: 991.98px) {
    .site-footer .main-footer {
        background-size: 80%;
    }

    .footer-advice-text {
        max-width: 100%;
        font-size: 16px;
    }

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

    .footer-heading {
        font-size: 25px;
    }
}

@media (max-width: 767.98px) {
    .site-footer .side-footer {
        min-height: auto;
    }

    .site-footer .main-footer {
        background-size: 100%;
    }

    .footer-quote-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-logo-content {
        height: auto;
    }

    .footer-description {
        max-width: 100%;
        font-size: 13px;
    }

    .footer-advice-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .footer-heading {
        font-size: 24px;
        margin-bottom: 1rem;
    }

    .footer-links li {
        font-size: 12px;
    }

    .footer-contact-list li div span:first-child {
        font-size: 12px;
    }

    .footer-contact-list li div span:last-child {
        font-size: 11px;
    }

    .footer-legal {
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 1rem !important;
    }

    .footer-legal span {
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .footer-badge {
        font-size: 22px;
    }

    .footer-advice-text {
        font-size: 13px;
    }

    .footer-logo {
        height: 3.25rem;
    }

    .footer-quote-btn {
        font-size: 13px;
        padding: 0.75rem 1rem;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .social-icons {
        gap: 0.65rem !important;
    }

    .social-icons__item {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
}