:root {
    --clr-283581: #283581;
    --clr-3f6f9c: #3f6f9c;
    --clr-c8dcf4: #c8dcf4;
    --clr-ffffff: #ffffff;
}

/* Footer layout and colors. */
.customer-service {
    background-color: var(--clr-c8dcf4);
}
.footer-bg {
    background-color: var(--clr-3f6f9c);
    color: var(--clr-ffffff);
}
.copyright-bg {
    background-color: var(--clr-283581);
    color: var(--clr-ffffff);
}
.img-footer-logo { max-width: min(100%, 157px); }
.footer .consultant { max-width: min(100%, 90px); }
/* Contact links use the existing footer palette. */
.footer-phone-link,
.footer-email-link,
.footer-bg .footer-address-link { color: inherit; text-decoration: none; }
.footer-phone-link:hover,
.footer-email-link:hover,
.footer-bg .footer-address-link:hover { color: inherit; text-decoration: underline; }
.footer-phone-link:focus-visible,
.footer-email-link:focus-visible,
.footer-address-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.footer-address-link { white-space: nowrap; }

/* Align and compact footer sections on phones. */
@media (max-width: 767.98px) {
    .footer-features-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-inline: 0;
        text-align: left;
    }
    .footer-features-row > div {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0 !important;
        padding: 0;
        gap: 12px !important;
        flex-direction: row !important;
        text-align: left;
    }
    .footer-features-row img { flex: 0 0 36px; width: 36px; height: 36px; }
    .customer-service { padding-block: 20px !important; }
    .customer-service > .container > .row { row-gap: 20px; }
    .customer-service > .container > .row > div { display: block !important; }
    .customer-service .footer-first-column { padding-bottom: 0 !important; }
    .customer-service .list-checkbox { margin: 0; max-width: none; }
    .customer-service .list-checkbox li { margin-bottom: 8px; line-height: 1.5; }
    .customer-service .list-checkbox li:last-child { margin-bottom: 0; }
    .customer-service .footer-service-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 80px;
        column-gap: 16px;
        margin: 0;
        align-items: center;
    }
    .customer-service .footer-service-row > div {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 0;
    }
    .footer-service-title { font-size: 15px; line-height: 1.4; }
    .customer-service .consultant { display: block; width: 80px; max-width: 100%; height: auto; }
    .customer-service .bok-number { font-size: clamp(20px, 5.8vw, 24px); line-height: 1.2; white-space: nowrap; }
    .footer-phone-link { display: inline-flex; align-items: center; min-height: 44px; }
    .customer-service small { display: block; font-size: 13px; line-height: 1.55; }
    .footer-bg { padding-block: 20px !important; }
    .footer-bg .row { row-gap: 16px; }
    .footer-bg .row > div,
    .copyright-bg .row > div { justify-content: flex-start !important; }
    .footer-bg .img-footer-logo { display: block; max-width: 157px; height: auto; }
    .footer-bg .footer-company-address {
        display: block;
        width: 100%;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.65;
        text-align: left;
        overflow-wrap: anywhere;
    }
    .copyright-bg { padding-block: 12px !important; }
    .copyright-bg .row { row-gap: 8px; }
    .copyright-bg small {
        display: block;
        width: 100%;
        font-size: 12.5px;
        line-height: 1.55;
        text-align: left;
        overflow-wrap: anywhere;
    }
}
