/* ==========================================
   SITE FOOTER (all pages)
   Black brand strip, links and legal bar.
   Uses the shared tokens and shared .button classes. No forced overrides.
   ========================================== */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
}
.site-footer .footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(180px, .8fr) minmax(320px, 1.1fr);
    gap: 34px;
    align-items: center;
    min-height: 160px;
    padding: 27px 0;
}
.site-footer .footer-logo img {
    display: block;
    width: min(100%, 355px);
    max-height: 126px;
    height: auto;
    object-fit: contain;
}

.site-footer .footer-google {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: opacity .2s ease;
}

.site-footer .footer-google:hover {
    opacity: .8;
}

.site-footer .footer-google:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 6px;
    border-radius: 3px;
}

.site-footer .google-wordmark {
    font: 700 24px/1 Arial, sans-serif;
    letter-spacing: -1.5px;
}

.site-footer .google-blue { color: #4285F4; }
.site-footer .google-red { color: #EA4335; }
.site-footer .google-yellow { color: #FBBC05; }
.site-footer .google-green { color: #34A853; }

.site-footer .google-rating {
    color: var(--color-text-on-dark);
    font-size: 13px;
}

.site-footer .footer-subnote {
    display: block;
    margin-top: 4px;
    color: var(--color-text-on-dark);
    font-size: 12px;
}
.site-footer .footer-connect {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 17px;
}
.site-footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-footer .social-link {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-small);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 800;
}
.site-footer .social-link svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.site-footer .whatsapp-link {
    background: var(--color-whatsapp-icon);
}
.site-footer .facebook-link {
    background: var(--color-facebook);
    font-family: Arial, sans-serif;
}
.site-footer .footer-tagline {
    color: var(--color-white);
    font: italic 600 17px/1.35 var(--font-heading);
    letter-spacing: -.02em;
    white-space: nowrap;
}
.site-footer .footer-tagline i {
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 7px;
    background: var(--color-red);
    border-radius: 50%;
    transform: rotate(-2deg);
}
.site-footer .footer-legal {
    background: var(--color-black-soft);
    border-top: 2px solid var(--color-red);
}
.site-footer .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    color: var(--color-text-on-dark);
    font-size: 12px;
}
.site-footer .footer-bottom p {
    margin: 0;
}
.site-footer .footer-bottom b {
    padding: 0 5px;
    color: var(--color-red-400);
}
.site-footer .footer-bottom a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 900px) {
    .site-footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .site-footer .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .site-footer .footer-logo img {
        margin: auto;
    }
    .site-footer .footer-connect {
        justify-content: center;
    }
}
@media (max-width: 700px) {
    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }
    .site-footer .footer-brand {
        grid-column: auto;
    }
    .site-footer .footer-google {
        order: 2;
    }
    .site-footer .footer-connect {
        order: 3;
        flex-direction: column;
        justify-content: center;
    }
    .site-footer .footer-bottom {
        flex-direction: column;
        gap: 6px;
        padding: 13px 0;
        text-align: center;
    }
}

/* ==========================================
   v2: FOOTER NAVIGATION AND MOBILE ACTION BAR
   ========================================== */
.site-footer .footer-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;padding-top:38px;padding-bottom:34px;border-top:1px solid rgba(255,255,255,.12)}
.site-footer .footer-nav h2{margin:0 0 14px;font:800 13px/1.2 var(--font-heading);letter-spacing:.12em;text-transform:uppercase;color:var(--color-white)}
.site-footer .footer-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.site-footer .footer-nav address{font-style:normal}
.site-footer .footer-nav p{margin:0;line-height:1.8}
.site-footer .footer-nav a{color:var(--color-text-on-dark);text-decoration:none}
.site-footer .footer-nav a:hover{color:var(--color-white);text-decoration:underline}
.site-footer a:focus-visible{outline:3px solid var(--color-red-400);outline-offset:2px}
@media (max-width:900px){.site-footer .footer-nav{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.site-footer .footer-nav{grid-template-columns:1fr;gap:24px}}
.mobile-action-bar{display:none}
@media (max-width:700px){
  body{padding-bottom:68px}
  .mobile-action-bar{position:fixed;left:0;right:0;bottom:0;z-index:150;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:var(--color-ink);box-shadow:0 -6px 24px rgba(0,0,0,.25)}
  .mobile-action-bar a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:var(--radius-small);font:800 14px/1 var(--font-heading);text-decoration:none;color:var(--color-white)}
  .mobile-action-bar .mab-call{background:var(--color-charcoal)}
  .mobile-action-bar .mab-whatsapp{background:var(--color-whatsapp-dark);color:var(--color-ink)}
  .mobile-action-bar .mab-quote{background:var(--color-red)}
}
