/* =================================================================
   PIE DE PÁGINA + WHATSAPP
   ================================================================ */

.site-footer { --h-chip-bg: #fff; --h-chip-fg: var(--ink); background: var(--ink); color: #fff; }

.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px 80px;
    align-items: start;
}

.site-footer .brand { font-size: clamp(34px, 4.4vw, 60px); gap: .3em; }
.site-footer .brand b { font-size: .62em; padding: .3em .42em .24em; border-radius: .34em; letter-spacing: -.1em; }
.site-footer__brand p { margin: 20px 0 0; max-width: 380px; color: #a5adbe; }
.site-footer__brand .site-footer__contact { display: grid; justify-items: start; gap: 6px; margin-top: 22px; }
.site-footer__contact a { color: #fff; font-size: 18px; font-weight: 700; }
.site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 56px; font-weight: 600; }
.site-footer__nav a { color: #c9cfdb; transition: color .2s ease; }
.site-footer__nav a:hover { color: #fff; }

.site-footer__legal {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 24px 80px 0 0;
    border-top: 1px solid #242836;
    color: #959db0;
    font-size: 14px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a:hover { color: #fff; }

@media (max-width: 700px) {
    .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
    .site-footer__nav { justify-content: start; }
    .site-footer__legal { flex-direction: column; padding: 24px 70px 0 0; }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0b8a3e;
    box-shadow: 0 0 0 1px rgba(8, 12, 34, .08), 0 14px 34px rgba(4, 8, 30, .28);
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); background: #25d366; color: #fff; }

@media (max-width: 600px) {
    .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
