/* PIE COMPARTIDO: solo .site-footer. Contenido en templates/footer.html; regenerar con pnpm run build:footer. */
.site-footer { border-top: 1px solid #e4eaf0; background: #f8fafb; color: #536275; }
.site-footer-main, .site-footer-bottom { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 0.65fr 1.05fr; gap: 36px; padding: 44px 0 32px; }
.site-footer-main > * { min-width: 0; }
.site-footer .footer-logo { display: block; width: 132px; margin-bottom: 18px; }
.site-footer .footer-logo img { width: 100%; height: auto; }
.site-footer h2 { margin: 0 0 17px; color: #062f61; font-size: 1rem; line-height: 1.3; }
.site-footer p, .site-footer a, .site-footer span { font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }
.site-footer a { color: #062f61; text-decoration: none; }
.site-footer a:hover { color: #bd0963; text-decoration: underline; }
.site-footer a:focus-visible { outline: 3px solid #ffc529; outline-offset: 4px; }
.site-footer-company > strong, .site-footer-company > span { display: block; }
.site-footer-company > strong { font-size: 0.875rem; color: #062f61; }
.site-footer-company p { margin: 10px 0 0; }
.site-footer-contact, .site-footer-social, .site-footer-help { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer-contact h2, .site-footer-social h2 { margin-bottom: 5px; }
.site-footer .complaints-book { display: block; padding: 0; margin-bottom: 6px; border: 1px solid #ced9e4; border-radius: 4px; background: #fff; width: 100%; max-width: 260px; overflow: hidden; }
.site-footer .complaints-book img { width: 100%; height: auto; }
.complaints-book svg { width: 40px; height: 40px; flex: 0 0 40px; }
.complaints-book span { line-height: 1.35; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0 26px; border-top: 1px solid #e0e7ee; }
.site-footer-catalog { width: min(1180px, calc(100% - 32px)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0 0 28px; }
/* Reserva espacio al WhatsApp flotante solo en las paginas que lo incluyen. */
body:has(.floating-whatsapp) .site-footer-bottom { padding-right: 150px; }
@media (max-width: 1000px) { .site-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 520px) { .site-footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; } .site-footer-help { max-width: 300px; } .site-footer-bottom { flex-direction: column; padding-bottom: 88px; gap: 8px; } body:has(.floating-whatsapp) .site-footer-bottom { padding-right: 0; } }
