.contact-widget {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 1100;
    font-family: "IBM Plex Sans", sans-serif;
}

.contact-widget-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    border: 1px solid #0a4b84;
    border-radius: 999px;
    background: #003366;
    color: #ffffff;
    box-shadow: 0 18px 38px rgb(16 32 51 / 0.24);
    cursor: pointer;
}

.contact-widget-button-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.contact-widget-panel {
    position: absolute;
    right: 0;
    bottom: 4.1rem;
    width: min(92vw, 24rem);
    border: 1px solid #c9d8e8;
    background: #ffffff;
    color: #102033;
    box-shadow: 0 26px 70px rgb(16 32 51 / 0.2);
}

.contact-widget-head {
    display: flex;
    gap: 0.75rem;
    align-items: start;
    justify-content: space-between;
    padding: 0.95rem;
    border-bottom: 1px solid #d8e1ea;
    background: #f8fbfe;
}

.contact-widget-head span {
    color: #526579;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-widget-head h2 {
    margin: 0.08rem 0 0;
    font-size: 1.15rem;
}

.contact-widget-head button {
    display: inline-flex;
    width: 1.9rem;
    height: 1.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d8e8;
    background: #ffffff;
    color: #102033;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.contact-widget-intro {
    margin: 0;
    padding: 0.8rem 0.95rem 0;
    color: #526579;
    font-size: 0.86rem;
    font-weight: 700;
}

.contact-widget-form {
    display: grid;
    gap: 0.68rem;
    padding: 0.95rem;
}

.contact-widget-form label {
    display: grid;
    gap: 0.24rem;
    color: #526579;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-widget-form input,
.contact-widget-form select,
.contact-widget-form textarea {
    width: 100%;
    border: 1px solid #b9c8d7;
    border-radius: 0;
    padding: 0.55rem 0.6rem;
    color: #102033;
    font: inherit;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.contact-widget-form textarea {
    resize: vertical;
}

.contact-widget-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-widget-error {
    min-height: 0.9rem;
    color: #9b2f1f;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.contact-widget-status {
    min-height: 1.1rem;
    color: #21613a;
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-widget-status.is-error {
    color: #9b2f1f;
}

.contact-widget-submit {
    min-height: 2.35rem;
    border: 1px solid #003366;
    background: #003366;
    color: #ffffff;
    padding: 0.55rem 0.8rem;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.contact-widget-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

@media print {
    .contact-widget {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .contact-widget {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .contact-widget-panel {
        right: -0.2rem;
        width: min(94vw, 23rem);
    }
}
