.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin-left: auto;
}


.contact-launcher {
    position: static;
    z-index: auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 0;
    border-radius: 999px;

    padding: 9px 15px;

    background: #005baa;
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(0, 50, 100, 0.12),
        0 2px 5px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.contact-launcher:hover {
    transform: translateY(-1px);
    background: #004f96;

    box-shadow:
        0 8px 18px rgba(0, 50, 100, 0.16),
        0 3px 7px rgba(0, 0, 0, 0.07);
}


.contact-launcher:focus-visible {
    outline: 3px solid rgba(0, 91, 170, 0.24);
    outline-offset: 3px;
}


.contact-launcher-icon {
    width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    line-height: 1;
}


.contact-overlay {
    position: fixed;
    inset: 0;

    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(18, 32, 48, 0.52);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}


.contact-overlay[hidden] {
    display: none;
}


.contact-dialog {
    width: 100%;
    max-width: 570px;
    max-height: calc(100vh - 48px);

    overflow-y: auto;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.22),
        0 8px 20px rgba(0, 0, 0, 0.10);
}


.contact-dialog-wall {
    max-width: 780px;
}


.contact-dialog-header {
    position: sticky;
    top: 0;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    padding: 24px 26px 18px;

    border-bottom: 1px solid #e6ebf0;

    background: #ffffff;
}


.contact-dialog-title {
    margin: 0;

    color: #17324d;

    font-size: 22px;
    font-weight: 750;
    line-height: 1.25;
}


.contact-dialog-subtitle {
    margin-top: 6px;

    color: #607284;

    font-size: 14px;
    line-height: 1.5;
}


.contact-close {
    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f2f5f8;
    color: #43586b;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;
}


.contact-close:hover {
    background: #e7edf2;
}


.contact-form {
    padding: 22px 26px 26px;
}


.contact-field {
    margin-bottom: 17px;
}


.contact-label {
    display: block;

    margin-bottom: 6px;

    color: #263f57;

    font-size: 14px;
    font-weight: 700;
}


.contact-required {
    color: #b42318;
}


.contact-input,
.contact-textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #cbd5df;
    border-radius: 9px;

    background: #ffffff;

    color: #20374d;

    font-family: inherit;
    font-size: 15px;

    padding: 11px 12px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.contact-input:focus,
.contact-textarea:focus {
    outline: none;

    border-color: #2c7ec4;

    box-shadow: 0 0 0 3px rgba(44, 126, 196, 0.13);
}


.contact-textarea {
    min-height: 130px;

    resize: vertical;

    line-height: 1.5;
}


.contact-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


.contact-turnstile {
    min-height: 66px;

    margin: 4px 0 14px;
}


.contact-privacy {
    margin: 0 0 17px;

    color: #748393;

    font-size: 12px;
    line-height: 1.5;
}


.contact-message {
    display: none;

    margin-bottom: 16px;

    padding: 11px 13px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.45;
}


.contact-message.visible {
    display: block;
}


.contact-message.error {
    background: #fff2f0;
    color: #9d251d;

    border: 1px solid #f3ccc7;
}


.contact-message.success {
    background: #edf9f1;
    color: #216e3c;

    border: 1px solid #c9ead5;
}


.contact-actions {
    display: flex;
    justify-content: flex-end;
}


.contact-submit {
    border: 0;
    border-radius: 9px;

    padding: 11px 20px;

    background: #005baa;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.15s ease,
        opacity 0.15s ease;
}


.contact-submit:hover:not(:disabled) {
    background: #004f96;
}


.contact-submit:disabled {
    cursor: not-allowed;

    opacity: 0.55;
}


body.contact-modal-open {
    overflow: hidden;
}


/* ==========================================================
   WALL
   ========================================================== */


.contact-wall-content {
    padding: 22px 26px 26px;
}


.contact-wall-notice {
    margin-bottom: 20px;

    padding: 14px 16px;

    border: 1px solid #d9e5ef;
    border-radius: 10px;

    background: #f6faff;
}


.contact-wall-notice-title {
    margin-bottom: 5px;

    color: #234a6d;

    font-size: 14px;
    font-weight: 750;
}


.contact-wall-notice-text {
    color: #5d7184;

    font-size: 13px;
    line-height: 1.55;
}


.contact-wall-history {
    margin-top: 4px;
}


.contact-wall-history-toolbar {
    display: flex;
    justify-content: center;

    min-height: 36px;

    margin-bottom: 8px;
}


.contact-wall-older {
    border: 1px solid #cbd8e3;
    border-radius: 999px;

    padding: 7px 14px;

    background: #ffffff;
    color: #49677f;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.contact-wall-older:hover:not(:disabled) {
    background: #f4f8fb;
}


.contact-wall-older:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


.contact-wall-empty {
    padding: 30px 18px;

    text-align: center;

    color: #758697;

    font-size: 14px;
}


.contact-wall-messages {
    max-height: 360px;

    overflow-y: auto;

    padding: 2px 6px 2px 0;

    scroll-behavior: smooth;
}


.contact-wall-message {
    padding: 13px 14px;

    border: 1px solid #e2e8ee;
    border-radius: 10px;

    background: #ffffff;
}


.contact-wall-message + .contact-wall-message {
    margin-top: 10px;
}


.contact-wall-message-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 8px;
}


.contact-wall-message-identity {
    min-width: 0;
}


.contact-wall-message-name {
    color: #203b53;

    font-size: 14px;
    font-weight: 750;

    overflow-wrap: anywhere;
}


.contact-wall-message-company {
    margin-top: 2px;

    color: #728292;

    font-size: 12px;

    overflow-wrap: anywhere;
}


.contact-wall-message-time {
    flex: 0 0 auto;

    color: #8a98a5;

    font-size: 11px;
    white-space: nowrap;
}


.contact-wall-message-text {
    color: #354d62;

    font-size: 14px;
    line-height: 1.55;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


.contact-wall-divider {
    height: 1px;

    margin: 22px 0;

    background: #e5ebf0;
}


.contact-wall-form {
    padding: 0;
}


.contact-wall-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}


.contact-wall-textarea {
    min-height: 100px;
}


.contact-wall-privacy {
    margin: -2px 0 16px;

    padding: 11px 13px;

    border-radius: 8px;

    background: #fff9e8;
    border: 1px solid #efe1af;

    color: #765f20;

    font-size: 12px;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .topbar-actions {
        margin-left: auto;
    }


    .contact-launcher {
        padding: 8px 12px;

        font-size: 12px;
    }


    .contact-launcher-icon {
        width: 16px;
        height: 16px;

        font-size: 13px;
    }


    .contact-overlay {
        align-items: flex-end;

        padding: 0;
    }


    .contact-dialog {
        max-width: none;
        max-height: 92vh;

        border-radius: 18px 18px 0 0;
    }


    .contact-dialog-header {
        padding:
            20px
            20px
            16px;
    }


    .contact-form {
        padding:
            19px
            20px
            24px;
    }


    .contact-dialog-title {
        font-size: 20px;
    }


    .contact-wall-content {
        padding:
            18px
            18px
            22px;
    }


    .contact-wall-form {
        padding: 0;
    }


    .contact-wall-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .contact-wall-messages {
        max-height: 300px;
    }


    .contact-wall-message-header {
        display: block;
    }


    .contact-wall-message-time {
        display: block;

        margin-top: 5px;
    }

}