/* Shared WordPress chrome: left-side WhatsApp, separate from right social links. */
body .footer-bottom > .footer-credit,
body .ca-generic-footer > .footer-credit { margin-left: auto; }
/* Keep the footer's final row above fixed controls at the end of the page. */
body .site-footer,
body .ca-generic-footer { padding-bottom: max(104px, calc(env(safe-area-inset-bottom) + 86px)); }

.ca-whatsapp-float {
    position: fixed;
    left: max(22px, env(safe-area-inset-left));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 85;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, .24);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.ca-whatsapp-float svg { display: block; width: 31px; height: 31px; }
.ca-whatsapp-float:hover { background: #1fba59; color: #fff; transform: translateY(-2px); }
.ca-whatsapp-float:focus-visible { outline: 3px solid #1b3b00; outline-offset: 4px; }
body.nav-open .ca-whatsapp-float { visibility: hidden; pointer-events: none; }
@media (max-width: 600px) {
    body .footer-bottom { padding-right: 36px; }
    .ca-whatsapp-float { width: 54px; height: 54px; left: max(16px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); }
    .ca-whatsapp-float svg { width: 29px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) {
    .ca-whatsapp-float { transition: none; }
}

/* Formulario de contacto: Turnstile + estado de envío */
.c-form .ca-turnstile { min-height: 65px; }
.c-form .ca-turnstile > div { max-width: 100%; }
.c-form .ca-form-status { margin: 0; font-size: .92rem; line-height: 1.5; color: rgba(28, 28, 26, .8); }
.c-form .ca-form-status.is-ok { color: #2e5e14; font-weight: 600; }
.c-form .ca-form-status.is-error { color: #a32020; font-weight: 600; }
.c-form .c-submit[disabled] { opacity: .55; cursor: progress; }
.contact-left .c-form .ca-form-status, .cl-form .ca-form-status { color: inherit; }
