#gf-clinic-footer {
    border-top: 1px solid var(--gf-line);
    background: #faf9f6;
    color: var(--gf-ink);
}
.gf-foot-wrap {
    max-width: 1440px;
    margin-inline: auto;
    padding: clamp(32px, 3.7vw, 54px) clamp(20px, 3.7vw, 54px) 26px;
}
.gf-foot-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr .85fr;
    gap: clamp(24px, 4vw, 72px);
}
.gf-foot-grid > *, .gf-foot-navrow > *, .gf-foot-wrap > *,
.gf-foot-grid p, .gf-foot-grid .wp-block-site-logo { margin: 0; }
.gf-foot-grid > * { min-width: 0; }
.gf-foot-grid p, .gf-foot-wrap .gf-foot-legal, .gf-foot-wrap .gf-foot-copyright {
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -.015em;
    color: #5a554f;
}
.gf-foot-grid a, .gf-foot-navrow a { color: var(--gf-ink); text-decoration: none; }
.gf-foot-grid .wp-block-site-logo { width: fit-content; margin: -5px 0 12px; }
.gf-foot-grid .wp-block-site-logo img { display: block; width: 185px; height: auto; mix-blend-mode: multiply; }
.gf-foot-grid h2 { margin: 0 0 12px; font-size: 17px; line-height: 1.5; letter-spacing: -.025em; }
.gf-foot-grid .gf-foot-address { color: var(--gf-ink); font-weight: 650; }
.gf-foot-brand .gf-foot-social { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 6px; }
.gf-foot-social a, .gf-foot-navrow a, .gf-foot-number a { display: inline-flex; align-items: center; min-height: 48px; }
.gf-foot-social a { gap: 5px; font-size: 14px; font-weight: 600; }
.gf-foot-social a::after { content: ""; width: 9px; height: 9px; background-color: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10l8-8M3 2h7v7'/%3E%3C/svg%3E") center/contain no-repeat; }
.gf-foot-time { display: flex; align-items: baseline; gap: 12px; }
.gf-foot-time strong { width: 3.5em; color: #514b44; font-size: 15px; font-weight: 600; }
.gf-foot-time span { color: var(--gf-ink); font-size: 17px; line-height: 1.6; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gf-foot-grid .gf-foot-note { margin-top: 10px; font-size: 14px; }
.gf-foot-contact { border-left: 1px solid var(--gf-line); padding-left: clamp(22px, 3.8vw, 55px); }
.gf-foot-contact h2 { margin-bottom: 3px; }
.gf-foot-number a { font-size: clamp(24px, 2.1vw, 32px); font-weight: 720; line-height: 1.25; letter-spacing: -.035em; white-space: nowrap; }
.gf-foot-booking { margin-top: 12px; }
.gf-foot-navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    margin: 26px 0 16px;
    border-block: 1px solid var(--gf-line);
    padding-block: 5px;
}
.gf-foot-navrow .wp-block-navigation__container { gap: 0 clamp(14px, 2.6vw, 38px); }
.gf-foot-navrow .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 0; font-size: 15px; font-weight: 650; white-space: nowrap; }
.gf-foot-top a { gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.gf-foot-top span { font-size: 17px; color: var(--gf-accent); }
.gf-foot-wrap .gf-foot-legal, .gf-foot-wrap .gf-foot-copyright { margin: 0; color: #696259; font-size: 13px; }
.gf-foot-legal { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.gf-foot-legal span { white-space: nowrap; }
.gf-foot-wrap .gf-foot-copyright { margin-top: 3px; }
@media (hover: hover) {
    .gf-foot-grid a:not(.wp-element-button):hover, .gf-foot-navrow a:hover { color: var(--gf-accent); text-decoration: underline; text-underline-offset: 4px; }
}
@media (width < 960px) {
    .gf-foot-grid { grid-template-columns: 1.15fr 1fr; gap: 20px 32px; }
    .gf-foot-hours { grid-column: 2; grid-row: 1 / 3; }
    .gf-foot-contact { border: 0; padding: 0; }
    #gf-clinic-footer .gf-foot-booking { display: none; }
    body {
        --gf-dock-bottom: max(8px, env(safe-area-inset-bottom, 0px));
        --gf-dock-height: calc(1px + 8px + 3rem + var(--gf-dock-bottom));
        padding-bottom: var(--gf-dock-height);
    }
    html { scroll-padding-bottom: calc(3rem + 24px + env(safe-area-inset-bottom, 0px)); }
    #gf-mobile-cta {
        display: block; position: fixed; inset: auto 0 0; z-index: 60;
        padding: 8px max(16px,env(safe-area-inset-right)) var(--gf-dock-bottom) max(16px,env(safe-area-inset-left));
        border-top: 1px solid var(--gf-line); background: #fffefc;
        box-shadow: 0 -4px 18px #3327190a;
    }
    #gf-mobile-cta .wp-block-buttons {
        display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px;
        max-width: 620px; margin: 0 auto;
    }
    #gf-mobile-cta .wp-block-button { width: 100%; margin: 0; min-width: 0; }
    #gf-mobile-cta .wp-block-buttons .wp-block-button > a.wp-block-button__link {
        width: 100%; min-height: 3rem; font-size: 1rem; padding: .5rem 8px;
    }
}
@media (width < 600px) {
    .gf-foot-wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 8px; padding: 32px var(--gf-gutter) 22px; }
    .gf-foot-grid { grid-column: 1/-1; grid-template-columns: 1fr; gap: 18px; }
    .gf-foot-hours { grid-column: auto; grid-row: auto; }
    .gf-foot-grid .wp-block-site-logo img { width: 160px; }
    .gf-foot-grid .wp-block-site-logo { margin-bottom: 9px; }
    .gf-foot-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; }
    .gf-foot-contact h2 { margin: 0; }
    .gf-foot-navrow { display: contents; }
    .gf-foot-navrow nav { grid-column: 1/-1; margin: 14px 0 12px; border-block: 1px solid var(--gf-line); padding-block: 4px; }
    .gf-foot-navrow .wp-block-navigation__container { gap: 0 16px; }
    .gf-foot-navrow .wp-block-navigation-item__content { font-size: 14px; }
    .gf-foot-top { grid-column: 2; grid-row: 3 / span 2; align-self: center; }
    .gf-foot-legal { grid-column: 1; grid-row: 3; }
    .gf-foot-copyright { grid-column: 1; grid-row: 4; }
}
@media print {
    #gf-mobile-cta { display: none; }
    body { padding-bottom: 0; }
}
