footer:has(.ag-site-footer) { margin-block-start: 0; }
.ag-site-footer {
    --ag-footer-text: #f8f7f6;
    --ag-footer-muted: #d1ced0;
    --ag-footer-accent: #ffc2cb;
    background: #18191d;
    color: var(--ag-footer-text);
    font-family: var(--wp--preset--font-family--manrope, sans-serif);
    padding-block: clamp(38px, 6vw, 74px);
    border-top: 3px solid #ac1530;
}
.ag-site-footer .ag-site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 30px clamp(20px, 4vw, 55px);
    width: min(100% - 48px, 1256px);
    margin-inline: auto;
}
.ag-site-footer :is(h2, p, ul, figure),
.ag-site-footer .ag-site-footer-grid > * { margin-block: 0; }
.ag-site-footer .ag-site-footer-logo {
    display: inline-block;
    box-sizing: border-box;
    width: min(100%, 213px);
    padding: 6px 10px;
    border-radius: 9px;
    background: #fff;
}
.ag-site-footer .ag-site-footer-logo img { display: block; width: 100%; height: auto; }
.ag-site-footer h2 {
    color: var(--ag-footer-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.3;
    margin-bottom: 14px;
}
.ag-site-footer p, .ag-site-footer li {
    font-size: .93rem;
    line-height: 1.55;
    font-weight: 550;
}
.ag-site-footer p { color: var(--ag-footer-muted); }
.ag-site-footer .ag-site-footer-brand p { margin-top: 15px; max-width: 27ch; }
.ag-site-footer ul { display: grid; gap: 9px; padding: 0; list-style: none; }
.ag-site-footer a {
    color: var(--ag-footer-text);
    text-decoration: none;
    text-underline-offset: .22em;
}
.ag-site-footer a:hover { color: var(--ag-footer-accent); text-decoration: underline; }
.ag-site-footer a:focus-visible { outline: 2px solid var(--ag-footer-accent); outline-offset: 4px; }
.ag-site-footer .ag-site-footer-contact {
    padding: 19px 21px;
    border: 1px solid #3b373e;
    border-radius: 13px;
    background: #262328;
}
.ag-site-footer .ag-site-footer-contact h2 { margin-bottom: 9px; }
.ag-site-footer .ag-site-footer-phone a {
    display: inline-block;
    color: #fff;
    font-size: clamp(1.13rem, 2vw, 1.47rem);
    font-weight: 800;
    white-space: nowrap;
}
.ag-site-footer .ag-site-footer-contact p + p { margin-top: 9px; }
.ag-site-footer .ag-site-footer-directions a {
    color: var(--ag-footer-accent);
    font-weight: 800;
}
.ag-site-footer .ag-site-footer-directions a::after { content: " →"; white-space: nowrap; }
.ag-site-footer .ag-site-footer-contact a:hover { text-decoration: underline; }
@media (max-width: 970px) {
    .ag-site-footer .ag-site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .ag-site-footer .ag-site-footer-grid { width: calc(100% - 32px); gap: 24px 16px; }
    .ag-site-footer .ag-site-footer-brand, .ag-site-footer .ag-site-footer-contact { grid-column: 1 / -1; }
    .ag-site-footer .ag-site-footer-contact { padding: 17px; }
}
