.sca-contact-stack,
.sca-chat-panel {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sca-contact-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10020;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.sca-contact-action {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(27, 45, 88, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.sca-contact-action:hover,
.sca-contact-action:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(27, 45, 88, 0.28);
    outline: none;
}

.sca-contact-action svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sca-contact-action--chat {
    border: 1px solid rgba(27, 45, 88, 0.14);
    background: #ffffff;
    color: #1b2d58;
    box-shadow: 0 14px 34px rgba(27, 45, 88, 0.14);
}

.sca-contact-action--whatsapp {
    background: #24d366;
}

.sca-contact-action--call {
    background: #0ca6dd;
}

.sca-contact-label {
    position: absolute;
    right: 68px;
    min-width: max-content;
    padding: 8px 11px;
    border-radius: 8px;
    background: #1b2d58;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.sca-contact-action:hover .sca-contact-label,
.sca-contact-action:focus-visible .sca-contact-label {
    opacity: 1;
    transform: translateX(0);
}

.sca-chat-panel {
    position: fixed;
    right: 24px;
    top: 174px;
    bottom: 96px;
    z-index: 10021;
    width: min(380px, calc(100vw - 32px));
    max-height: calc(100vh - 198px);
    border: 1px solid rgba(27, 45, 88, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(27, 45, 88, 0.24);
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.sca-chat-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sca-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #1b2d58;
    color: #fff;
}

.sca-chat-head strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.sca-chat-head span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
}

.sca-chat-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.sca-chat-body {
    padding: 18px;
}

.sca-chat-bubble {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef7fb;
    color: #1b2d58;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.sca-chat-form {
    display: grid;
    gap: 10px;
}

.sca-chat-form label {
    display: grid;
    gap: 6px;
    color: #1b2d58;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.sca-chat-form input,
.sca-chat-form select,
.sca-chat-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(27, 45, 88, 0.16);
    border-radius: 8px;
    background: #f8fafc;
    color: #1b2d58;
    font: 700 14px/1.4 'Manrope', sans-serif;
    padding: 10px 12px;
    outline: none;
}

.sca-chat-form textarea {
    min-height: 76px;
    resize: vertical;
}

.sca-chat-form input:focus,
.sca-chat-form select:focus,
.sca-chat-form textarea:focus {
    border-color: #0ca6dd;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(12, 166, 221, 0.13);
}

.sca-chat-submit {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: #0ca6dd;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.sca-chat-note {
    margin: 10px 0 0;
    color: #5a6478;
    font-size: 12px;
    line-height: 1.45;
}

.sca-chat-status {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf9ef;
    color: #156b32;
    font-size: 13px;
    font-weight: 800;
}

.sca-chat-status.is-visible {
    display: block;
}

@media (max-width: 640px) {
    .sca-contact-stack {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .sca-contact-action {
        width: 50px;
        height: 50px;
    }

    .sca-chat-panel {
        right: 12px;
        top: auto;
        bottom: 78px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 100px);
    }
}
