.footer-brand {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-brand img {
    width: 220px;
    height: 52px;
    object-fit: contain;
    object-position: left center;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.footer-social-icon:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--gold-2, #F2D083);
}

.footer-brand h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: var(--on-dark) !important;
}

footer p,
.footer-bottom {
    color: var(--on-dark-muted) !important;
}

footer {
    padding: 60px 0 40px 0;
    background-color: #071729;
    color: #ffffff;
    font-family: var(--font-base, "Segoe UI", sans-serif);
    background: #071729;
}

footer .wrap {
    width: min(100% - 28px, 1280px);
    margin: 0 auto;
}

.footer-top {
    justify-content: space-between;
    gap: 60px;
    display: grid !important;
    grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 1fr) !important;
    grid-template-areas: "brand links"
        "mid mid";
    align-items: start !important;
    column-gap: 56px !important;
    row-gap: 26px !important;
    padding-bottom: 30px !important;
}

.footer-brand-link {
    line-height: 0;
    grid-area: brand;
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    margin: 0 !important;
}

.footer-brand-link img {
    display: block !important;
    width: 270px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.footer-mid-row {
    grid-area: mid;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px;
    width: 100%;
    margin: 0 !important;
}

.footer-address {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-align: left !important;
    opacity: 1 !important;
    padding-left: 10px;
}

.footer-address a {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-social-container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 14px !important;
    margin-left: auto;
    flex: 0 0 auto;
}

.footer-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    border-radius: 50%;
    flex: 0 0 auto;
}

.footer-social-icon img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
}

.footer-links {
    padding-top: 20px;
    grid-area: links;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 14px 28px !important;
    width: 100%;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: var(--font-base, "Segoe UI", sans-serif) !important;
}

.footer-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.footer-bottom {
    opacity: 0.65;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
    padding-left: 10px;
}

.footer-bottom span:last-child {
    text-align: right;
}

@media (max-width: 1080px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .footer-left,
    .footer-right {
        max-width: 100% !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-social-container {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }

    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        opacity: 0.9;
    }

    .footer-right .footer-links {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-address {
        flex: 1;
        padding-left: 10px !important;
        text-align: left !important;
        padding-top: 0px !important;
        font-size: 13px !important;
    }

    .footer-social-icon:hover {
        opacity: 0.8;
    }

    .footer-brand-link {
        order: 1;
        margin-bottom: 20px;
        display: inline-block;
        line-height: 0;
    }

    footer {
        padding: 34px 0 26px 0 !important;
    }

    footer .wrap {
        width: min(100% - 24px, 1280px);
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        grid-template-columns: 1fr auto !important;
        grid-template-areas: "brand brand"
            "mid mid"
            "links links";
        column-gap: 14px !important;
        row-gap: 18px !important;
        padding-bottom: 20px !important;
    }

    .footer-brand-link img {
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
        width: 248px !important;
    }

    .footer-mid-row {
        order: 2;
        flex-direction: row !important;
        margin-bottom: 30px;
        display: flex !important;
        align-items: center !important;
        min-width: 0;
        font-size: 12px !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .footer-social-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 5px !important;
        width: 42px !important;
        height: 42px !important;
    }

    .footer-social-icon img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        width: 42px !important;
        height: 42px !important;
    }

    .footer-links {
        order: 3;
        flex-direction: row !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        gap: 10px 18px !important;
        font-size: 12px !important;
        padding-left: 10px;
        margin-top: 20px;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .footer-bottom {
        padding-top: 20px;
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        font-size: 11px !important;
    }

    .footer-bottom span:last-child {
        text-align: left;
        padding-left: 10px;
    }
}
