/* Quick contact of the home and Solutions pages - templates/front/_contact_bar.html.twig.
   It sits outside .hp, so it defines its own colors. */
.sol-bar { --hp-red: #e3353b; --hp-navy: #0f2138; display: none; font-family: "Manrope", "Poppins", Arial, sans-serif; }

/* Computers: round WhatsApp button at the bottom right */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff !important; font-size: 32px; text-decoration: none !important; box-shadow: 0 8px 22px rgba(15, 33, 56, .28); transition: transform .2s, background .2s; }
.wa-float:hover, .wa-float:focus-visible { background: #1ebe5b; transform: scale(1.08); }

/* Phones and tablets: the header quote button and the round button make way for the bar */
@media (max-width: 991px) {
    .site-header__cta { display: none !important; }
    .wa-float { display: none; }
    body { padding-bottom: 72px; }
    .sol-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: flex; gap: 8px; min-height: 64px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(15, 33, 56, .16); transition: transform .2s; }
    .sol-bar.is-hidden { transform: translateY(110%); }
    .sol-bar__btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 2px solid var(--hp-red); border-radius: 999px; font-size: 15.5px; font-weight: 700; line-height: 1.1; text-decoration: none; }
    .sol-bar__btn--wa { background: #fff; color: var(--hp-navy) !important; }
    .sol-bar__btn--wa:hover { background: #fdeced; }
    .sol-bar__btn--wa i { color: #25d366; font-size: 20px; }
    .sol-bar__btn--cta { background: var(--hp-red); color: #fff !important; }
    .sol-bar__btn--cta:hover { background: #c9252b; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float, .sol-bar { transition: none; }
}
