/* Floating WhatsApp desk and Back-to-Top: scoped overrides for the provided Home UI. */
.contact-float.hp-contact-float {
    position: fixed;
    inset: auto auto 18px 22px;
    z-index: 1100;
    isolation: isolate;
    font-family: 'Rubik', system-ui, sans-serif;
}
.hp-contact-float .contact-trigger.hp-contact-trigger {
    display: grid;
    place-items: center;
    width: 57px;
    height: 57px;
    min-width: 57px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #196d62;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: 0 7px 20px rgba(3, 44, 39, .20);
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hp-contact-float .contact-trigger.hp-contact-trigger:hover,
.hp-contact-float .contact-trigger.hp-contact-trigger:focus-visible {
    background: #0d554b;
    box-shadow: 0 9px 25px rgba(3, 44, 39, .26);
}
.hp-contact-float .contact-trigger.hp-contact-trigger.is-open { transform: rotate(45deg); }
.hp-contact-float .contact-trigger.hp-contact-trigger:focus-visible,
.hp-contact-float .hp-contact-chat-button:focus-visible,
.hp-contact-float .contact-panel-close:focus-visible,
.back-top.hp-back-top:focus-visible {
    outline: 3px solid #e5a34f;
    outline-offset: 3px;
}
.hp-contact-float .contact-panel.hp-contact-panel {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 73px;
    width: min(394px, calc(100vw - 28px));
    max-height: min(75vh, 490px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d7e3dc;
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: 0 16px 43px rgba(12, 48, 44, .21);
    color: #19373e;
    animation: hp-contact-rise .18s ease-out;
}
.hp-contact-float .contact-panel[hidden] { display: none !important; }
.hp-contact-float .contact-panel-heading.hp-contact-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 17px 12px;
    background: #fffdfa;
    border-bottom: 1px solid #e3e8e5;
    color: #1c373e;
}
.hp-contact-float .hp-contact-panel-heading strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 600;
    color: #122f38;
}
.hp-contact-float .hp-contact-panel-heading small {
    display: block;
    margin-top: 4px;
    color: #637776;
    font-size: .75rem;
    line-height: 1.4;
}
.hp-contact-float .contact-panel-close.hp-contact-close {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #536963;
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.hp-contact-float .hp-contact-close:hover { background: #eff3ef; color: #133c38; }
.hp-contact-float .contact-choices.hp-contact-choices {
    display: grid;
    gap: 9px;
    padding: 13px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 330px;
    background: #fffdfa;
}
.hp-contact-float .contact-choice.hp-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    min-height: 80px;
    padding: 11px 12px;
    border: 1px solid #dce5df;
    border-radius: 13px;
    background: #eaf1ed;
    color: #203c40;
    text-decoration: none;
    box-shadow: none;
}
.hp-contact-float .hp-contact-card-information {
    min-width: 0;
    flex: 1;
}
.hp-contact-float .hp-contact-card-title {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 3px;
}
.hp-contact-float .hp-contact-card-title strong {
    display: block;
    font-weight: 600;
    font-size: .86rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.hp-contact-float .hp-contact-presence-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #237956;
}
.hp-contact-float .hp-contact-number,
.hp-contact-float .hp-contact-region,
.hp-contact-float .hp-contact-availability {
    display: block;
    padding-left: 15px;
    font-size: .74rem;
    line-height: 1.35;
}
.hp-contact-float .hp-contact-number { color: #617678; }
.hp-contact-float .hp-contact-region { color: #657a76; }
.hp-contact-float .hp-contact-availability { margin-top: 3px; color: #216d61; font-weight: 500; }
.hp-contact-float .hp-contact-chat-button {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 11px;
    border: 0;
    border-radius: 9px;
    background: #196d62;
    color: #fff;
    font-size: .79rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.hp-contact-float .hp-contact-chat-button:hover { background: #0e514a; color: #fff; }
.hp-contact-float .hp-contact-empty {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    font-size: .82rem;
    color: #637775;
}
.hp-contact-float .hp-contact-empty .bi { color: #1b8760; font-size: 1.2rem; }
.hp-contact-float .hp-contact-panel-footer {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    padding: 11px 13px;
    border-top: 1px solid #e4ebe7;
    background: #fffdfa;
    color: #667974;
    font-size: .70rem;
    text-align: center;
}
.hp-contact-float .hp-contact-panel-footer .bi { font-size: .95rem; color: #287962; }
.back-top.hp-back-top {
    position: fixed;
    inset: auto 20px 19px auto;
    z-index: 1099;
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    padding: 0;
    border: 1px solid #d6e2dc;
    border-radius: 50%;
    background: #fffdfa;
    color: #102d3a;
    font-size: 1.28rem;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(10, 39, 36, .12);
    cursor: pointer;
}
.back-top.hp-back-top:hover { background: #edf5f0; color: #196d62; }
.back-top.hp-back-top[hidden] { display: none !important; }
@keyframes hp-contact-rise {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 575.98px) {
    .contact-float.hp-contact-float { left: 13px; bottom: 13px; }
    .hp-contact-float .contact-panel.hp-contact-panel { bottom: 68px; width: min(380px, calc(100vw - 26px)); max-height: min(72vh, 480px); }
    .hp-contact-float .contact-trigger.hp-contact-trigger { width: 54px; height: 54px; min-width: 54px; }
    .back-top.hp-back-top { right: 13px; bottom: 15px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-contact-float .contact-panel.hp-contact-panel { animation: none; }
    .hp-contact-float .contact-trigger.hp-contact-trigger { transition: none; }
}

/* ================================================================
   2026-10-10 • Floating contact launcher continuous wave
   Keeps the existing button size, position and click behaviour.
   The wave runs only while the launcher is closed.
   ================================================================ */
.hp-contact-float .contact-trigger.hp-contact-trigger {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.hp-contact-float .contact-trigger.hp-contact-trigger::before,
.hp-contact-float .contact-trigger.hp-contact-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 2px solid rgba(25, 109, 98, .42);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    animation: hp-contact-wave-ring 2.6s cubic-bezier(.22, .61, .36, 1) infinite;
}

.hp-contact-float .contact-trigger.hp-contact-trigger::after {
    animation-delay: 1.3s;
}

.hp-contact-float .contact-trigger.hp-contact-trigger > i {
    position: relative;
    z-index: 1;
    transform-origin: 50% 55%;
    animation: hp-contact-plus-wave 2.6s ease-in-out infinite;
    will-change: transform;
}

/* Once the desk is open, keep the existing 45deg X-state calm. */
.hp-contact-float .contact-trigger.hp-contact-trigger.is-open::before,
.hp-contact-float .contact-trigger.hp-contact-trigger.is-open::after {
    animation: none;
    opacity: 0;
}

.hp-contact-float .contact-trigger.hp-contact-trigger.is-open > i {
    animation: none;
}

@keyframes hp-contact-wave-ring {
    0% {
        opacity: .52;
        transform: scale(.94);
    }
    62% {
        opacity: .16;
    }
    100% {
        opacity: 0;
        transform: scale(1.72);
    }
}

@keyframes hp-contact-plus-wave {
    0%, 58%, 100% { transform: rotate(0deg) scale(1); }
    66% { transform: rotate(-10deg) scale(1.06); }
    73% { transform: rotate(10deg) scale(1.08); }
    80% { transform: rotate(-7deg) scale(1.05); }
    87% { transform: rotate(5deg) scale(1.03); }
    94% { transform: rotate(0deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hp-contact-float .contact-trigger.hp-contact-trigger::before,
    .hp-contact-float .contact-trigger.hp-contact-trigger::after,
    .hp-contact-float .contact-trigger.hp-contact-trigger > i {
        animation: none !important;
    }
}
