.hbat-site-footer {
    background: linear-gradient(145deg, #062f24 0%, #0b3d2d 56%, #123f2f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    margin-top: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
}

.hbat-site-footer__inner {
    display: block;
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding-block: 4rem 2rem;
    overflow: hidden;
}

.hbat-site-footer__main {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(140px, 0.9fr) minmax(180px, 1fr) minmax(140px, 0.9fr);
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: start;
}

.hbat-site-footer__column {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hbat-site-footer__brand {
    min-width: 0;
    max-width: 18rem;
}

.hbat-site-footer__logo {
    max-width: 100%;
    overflow: hidden;
}

.hbat-site-footer__logo img,
.hbat-site-footer .custom-logo {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.hbat-site-footer__company {
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.9rem;
    overflow-wrap: anywhere;
}

.hbat-site-footer__description,
.hbat-footer-contact p,
.hbat-site-footer__copyright {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.hbat-site-footer__description {
    margin: 0;
    overflow-wrap: anywhere;
}

.hbat-site-footer__heading {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.hbat-footer-navigation,
.hbat-footer-contact,
.hbat-footer-social {
    min-width: 0;
}

.hbat-footer-menu,
.hbat-footer-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hbat-footer-menu {
    display: grid;
    gap: 0.75rem;
}

.hbat-footer-menu a,
.hbat-footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 160ms ease, opacity 160ms ease;
}

.hbat-footer-menu a:hover,
.hbat-footer-contact a:hover {
    color: #d7b56d;
}

.hbat-footer-menu a:focus-visible,
.hbat-footer-contact a:focus-visible,
.hbat-footer-social a:focus-visible {
    outline: 3px solid rgba(215, 181, 109, 0.9);
    outline-offset: 4px;
}

.hbat-footer-contact__list {
    display: grid;
    gap: 1rem;
}

.hbat-footer-contact__list li {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.hbat-footer-contact__list span {
    color: #d7b56d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hbat-footer-contact p {
    margin: 0;
    overflow-wrap: anywhere;
}

.hbat-footer-social__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.hbat-footer-social a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    width: 44px;
}

.hbat-footer-social a:hover {
    background: rgba(215, 181, 109, 0.18);
    border-color: rgba(215, 181, 109, 0.7);
    transform: translateY(-2px);
}

.hbat-footer-social svg {
    fill: currentColor;
    height: 20px;
    width: 20px;
}

.hbat-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hbat-site-footer__copyright {
    font-size: 0.9rem;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

@media (max-width: 64rem) {
    .hbat-site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2rem;
        row-gap: 2.5rem;
    }

    .hbat-site-footer__brand {
        max-width: 18rem;
    }
}

@media (max-width: 48rem) {
    .hbat-site-footer__inner {
        width: min(100% - 1.5rem, 1180px);
    }

    .hbat-site-footer__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hbat-site-footer__brand {
        max-width: none;
    }

    .hbat-site-footer__logo img,
    .hbat-site-footer .custom-logo {
        margin-inline: auto;
    }

    .hbat-footer-social__links {
        justify-content: center;
    }

    .hbat-site-footer__bottom {
        justify-content: center;
        margin-top: 2rem;
        text-align: center;
    }

    .hbat-site-footer__copyright {
        text-align: center;
    }
}
