.scl-contact {
    display: inline-flex;
    max-width: 100%;
}

.scl-floating-cta {
    bottom: 24px;
    position: fixed;
    right: 24px;
    z-index: 9998;
}

.scl-floating-cta .scl-open {
    box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
}

.scl-open,
.scl-submit {
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: #101827;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    min-height: 46px;
    padding: 13px 22px;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.scl-open:hover,
.scl-submit:hover {
    background: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
    transform: translateY(-1px);
}

.scl-modal {
    align-items: center;
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.scl-modal.is-open {
    display: flex;
}

.scl-backdrop {
    background: rgba(17, 24, 39, .62);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.scl-dialog {
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, .9);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
    color: #111827;
    max-height: min(760px, calc(100vh - 40px));
    max-width: 620px;
    overflow: auto;
    position: relative;
    width: 100%;
}

.scl-close {
    align-items: center;
    appearance: none;
    background: #f8fafc;
    border: 0;
    border-radius: 999px;
    color: #374151;
    cursor: pointer;
    display: flex;
    font-size: 26px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
    z-index: 2;
}

.scl-close:hover {
    background: #e5e7eb;
}

.scl-panel {
    padding: 34px;
}

.scl-heading {
    padding-right: 36px;
}

.scl-heading h2 {
    color: #111827;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 8px;
}

.scl-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 22px;
}

form.scl-form {
    align-items: start !important;
    display: grid !important;
    gap: 15px !important;
    grid-template-columns: 1fr 1fr !important;
    margin: 0 !important;
}

form.scl-form label {
    display: grid !important;
    gap: 7px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

form.scl-form span {
    color: #334155 !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

form.scl-form input:not([type="hidden"]):not(.scl-check),
form.scl-form select,
form.scl-form textarea {
    appearance: auto !important;
    background: #ffffff !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    color: #111827 !important;
    display: block !important;
    float: none !important;
    font: inherit !important;
    height: auto !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    max-width: none !important;
    font-size: 15px !important;
    min-height: 46px !important;
    opacity: 1 !important;
    padding: 11px 13px !important;
    position: static !important;
    text-indent: 0 !important;
    visibility: visible !important;
    width: 100% !important;
}

form.scl-form select {
    -webkit-appearance: menulist !important;
}

form.scl-form textarea {
    min-height: 106px !important;
    resize: vertical !important;
}

form.scl-form input:not([type="hidden"]):not(.scl-check):focus,
form.scl-form select:focus,
form.scl-form textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12) !important;
    outline: none !important;
}

.scl-wide,
.scl-error,
.scl-submit {
    grid-column: 1 / -1;
}

.scl-submit {
    margin-top: 4px;
    min-height: 50px;
    width: 100%;
}

.scl-submit.is-loading {
    cursor: wait;
    opacity: .75;
}

.scl-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #991b1b;
    font-size: 14px;
    padding: 10px 12px;
}

form.scl-form input[type="hidden"],
.scl-check {
    display: none !important;
}

.scl-success {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    min-height: 220px;
    place-content: center;
    text-align: center;
}

.scl-success-mark {
    align-items: center;
    background: #0f766e;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 24px;
    height: 48px;
    justify-content: center;
    justify-self: center;
    width: 48px;
}

.scl-success h3 {
    color: #111827;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 8px 0 0;
}

.scl-success p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

body.scl-lock {
    overflow: hidden;
}

@media (max-width: 640px) {
    .scl-floating-cta {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .scl-contact,
    .scl-open {
        width: 100%;
    }

    .scl-modal {
        align-items: flex-end;
        padding: 0;
    }

    .scl-dialog {
        border-radius: 10px 10px 0 0;
        max-height: calc(100vh - 20px);
        max-width: none;
    }

    .scl-panel {
        padding: 28px 18px 22px;
    }

    .scl-heading h2 {
        font-size: 24px;
    }

    form.scl-form {
        grid-template-columns: 1fr !important;
    }
}
