/* Alert Cleaning Custom Footer — intentionally isolated from Pearl theme styles. */
.ac-footer,
.ac-footer * {
    box-sizing: border-box;
}

.ac-footer {
    width: 100%;
    clear: both;
    position: relative;
    z-index: 1;
    background: #fff !important;
    color: #263243;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.6;
}

.ac-footer__top {
    background: #fff !important;
    border-top: 1px solid #edf0f5;
}

.ac-footer__inner {
    display: grid;
    grid-template-columns: minmax(210px, 1.05fr) minmax(270px, 1.25fr) minmax(230px, .85fr);
    gap: clamp(35px, 5vw, 85px);
    align-items: center;
    width: min(100% - 48px, 1160px);
    margin: 0 auto;
    padding: 58px 0 62px;
}

.ac-footer__brand {
    min-width: 0;
    display: flex;
    align-items: center;
}

.ac-footer__logo-link {
    display: inline-block;
    line-height: 0;
    max-width: 100%;
}

.ac-footer__logo {
    display: block;
    width: min(100%, 280px);
    max-height: 155px;
    height: auto;
    object-fit: contain;
    object-position: center left;
    border: 0;
    box-shadow: none;
}

.ac-footer__brand-name {
    color: var(--acf-accent) !important;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
}

.ac-footer .ac-footer__heading {
    color: var(--acf-accent) !important;
    font-family: inherit;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .01em;
    text-transform: none;
    margin: 0 0 24px !important;
    padding: 0;
    border: 0;
}

.ac-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-footer__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    font-size: 16px;
    line-height: 1.5;
}

.ac-footer__contact-row svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: var(--acf-accent);
    margin-top: 2px;
}

.ac-footer a {
    text-decoration: none !important;
    box-shadow: none !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.ac-footer__contact-row a,
.ac-footer__contact-row span {
    color: #263243 !important;
    overflow-wrap: anywhere;
}

.ac-footer__contact-row a:hover {
    color: var(--acf-accent) !important;
}

.ac-footer__social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
}

.ac-footer .ac-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    padding: 0;
    border: 1px solid #dee4fb;
    border-radius: 50%;
    background: #eef1fc;
    color: var(--acf-accent) !important;
    --acf-play-cutout: #eef1fc;
    line-height: 1;
}

.ac-footer__social-link svg {
    width: 22px;
    height: 22px;
    display: block;
    flex: 0 0 22px;
}

.ac-footer .ac-footer__social-link:hover {
    background: var(--acf-accent) !important;
    border-color: var(--acf-accent) !important;
    color: #fff !important;
    --acf-play-cutout: var(--acf-accent);
    transform: translateY(-2px);
}

.ac-footer a:focus-visible {
    outline: 2px solid var(--acf-accent) !important;
    outline-offset: 4px;
}

.ac-footer__bottom {
    width: 100%;
    background: var(--acf-accent);
    color: #fff !important;
}

.ac-footer__bottom-inner {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    padding: 16px 24px;
    color: #fff !important;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .015em;
}

@media (max-width: 1000px) {
    .ac-footer__inner {
        grid-template-columns: minmax(170px, .8fr) minmax(240px, 1.2fr);
        gap: 42px;
        align-items: start;
    }
    .ac-footer__social {
        grid-column: 2;
    }
    .ac-footer__social .ac-footer__heading {
        margin-bottom: 16px !important;
    }
}

@media (max-width: 650px) {
    .ac-footer__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 33px;
        width: min(100% - 40px, 460px);
        padding: 42px 0 48px;
    }
    .ac-footer__logo { width: min(100%, 220px); max-height: 125px; }
    .ac-footer .ac-footer__heading { margin-bottom: 17px !important; }
    .ac-footer__contact-row { font-size: 16px; }
    .ac-footer__social { width: 100%; }
    .ac-footer__bottom-inner { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ac-footer a { transition: none; }
    .ac-footer .ac-footer__social-link:hover { transform: none; }
}
