.cm-contact {
    margin: 0;
    background: #f4f7fb;
    color: #132742;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
}

.cm-contact__card {
    width: min(40rem, calc(100% - 2rem));
    margin: clamp(1rem, 6vw, 4rem) auto;
    padding: clamp(1.25rem, 5vw, 2.75rem);
    background: #fff;
    border: 1px solid #cddbea;
    border-top: 4px solid #174a91;
}

.cm-contact__logo {
    display: block;
    width: min(11.75rem, 100%);
    height: auto;
    margin-bottom: 1.75rem;
}

.cm-contact h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.035em;
}

.cm-contact form { margin-top: 1.5rem; }
.cm-contact form .form-group { padding-inline: 0; }
.cm-contact form label { display: block; font-weight: 600; }

.cm-contact input[type="text"],
.cm-contact input[type="email"],
.cm-contact textarea {
    display: block;
    width: 100%;
    padding: .625rem .75rem;
    color: inherit;
    background: #fff;
    border: 1px solid #8c9eb4;
    border-radius: .25rem;
}

.cm-contact textarea { resize: vertical; }
.cm-contact .privacy-error { display: none; color: #a11c30; }
.cm-contact .was-validated .privacy-group.is-invalid .privacy-error { display: block; }
.cm-contact__privacy { color: #174a91; text-decoration: underline; }
.cm-contact .form-group.submit { text-align: left !important; margin-bottom: 0; }
.cm-contact input[type="submit"] {
    padding: .65rem 1.1rem;
    background: #174a91;
    color: #fff;
    border: 1px solid #174a91;
    font-weight: 600;
}
