/* 1. CONTACT PAGE WRAPPER */

.ch-contact-page {
    background: #f7f9fd;
    padding: 42px 0 90px;
}


/* 2. BREADCRUMB NAVIGATION */

.ch-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #65718d;
    font-size: 13px;
    margin-bottom: 42px;
}

.ch-breadcrumb a {
    color: #2466d4;
}

.ch-breadcrumb a:hover {
    text-decoration: underline;
}


/* 3. CONTACT INTRODUCTION */

.ch-contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(220px, .65fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 38px;
}

.ch-contact-intro h1 {
    font-size: clamp(34px, 4vw, 55px);
    letter-spacing: -.05em;
    line-height: 1.12;
    margin: 0 0 20px;
    max-width: 730px;
}

.ch-contact-intro p:not(.section-kicker) {
    font-size: 16px;
    color: #60708b;
    line-height: 1.8;
    max-width: 680px;
}


/* 4. CONTACT BRAND CARD */

.ch-contact-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e1e7f5;
    background: linear-gradient(135deg, #eef7ff, #f1eaff);
    border-radius: 24px;
    padding: 28px 16px;
    text-align: center;
}

.ch-contact-brand img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.ch-contact-brand strong {
    font: 700 22px 'Space Grotesk', sans-serif;
    color: #162348;
}

.ch-contact-brand span {
    font-size: 12px;
    color: #5d6d8c;
}


/* 5. CONTACT CONTENT GRID */

.ch-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr);
    gap: 22px;
    align-items: start;
}


/* 6. FORM AND SIDEBAR CARDS */

.ch-form-card,
.ch-aside-card {
    border: 1px solid #e2e9f4;
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 12px 32px #13234b09;
}

.ch-form-card h2 {
    font-size: 26px;
    letter-spacing: -.035em;
    margin: 0 0 8px;
}

.ch-form-lead {
    color: #65718a;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 28px;
}


/* 7. CONTACT FORM LAYOUT */

.ch-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ch-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* 8. FORM FIELDS AND LABELS */

.ch-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ch-field label {
    font-size: 13px;
    font-weight: 700;
    color: #172343;
}

.ch-field label span {
    color: #6b3ee7;
}

.ch-field input,
.ch-field select,
.ch-field textarea {
    width: 100%;
    border: 1px solid #d9e2f0;
    background: #fbfcff;
    border-radius: 11px;
    padding: 13px 14px;
    color: #172343;
    font: inherit;
    font-size: 14px;
    outline: 0;
    transition: border-color .2s, box-shadow .2s;
}

.ch-field textarea {
    resize: vertical;
    min-height: 130px;
}


/* 9. FORM FOCUS AND VALIDATION */

.ch-field input:focus,
.ch-field select:focus,
.ch-field textarea:focus {
    border-color: #6353e8;
    box-shadow: 0 0 0 3px #6353e81c;
}

.ch-field small {
    color: #a72745;
    font-size: 12px;
}


/* 10. PRIVACY NOTE AND SUBMIT BUTTON */

.ch-privacy-note {
    font-size: 12px;
    line-height: 1.6;
    color: #6b7690;
    margin: 0;
}

.ch-submit {
    border: 0;
    cursor: pointer;
    align-self: flex-start;
    white-space: nowrap;
}


/* 11. SIDEBAR INFORMATION CARDS */

.ch-aside-card {
    margin-bottom: 20px;
}

.ch-aside-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eae6ff;
    color: #6241dc;
    font-size: 24px;
    margin-bottom: 18px;
}

.ch-aside-card h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.ch-aside-card h3 {
    font-size: 17px;
    margin: 0 0 10px;
}

.ch-aside-card p {
    font-size: 14px;
    color: #64728c;
    line-height: 1.8;
    margin: 0;
}

.ch-aside-simple {
    background: #f0f5ff;
}


/* 12. FORM ALERT MESSAGES */

.ch-alert {
    border-radius: 10px;
    padding: 13px 16px;
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.5;
}

.ch-alert-success {
    background: #eaf8f0;
    color: #146b3b;
}

.ch-alert-error {
    background: #fff0f0;
    color: #9d283c;
}


/* 13. SPAM PROTECTION HONEYPOT */

.ch-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* 14. NAVIGATION AND ACCESSIBILITY */

.site-nav > a:not(.btn):hover {
    color: #7fcfff;
}

.site-nav > a:not(.btn):focus-visible,
.ch-inquiry-form button:focus-visible {
    outline: 2px solid #54c9ff;
    outline-offset: 4px;
}


/* 15. TABLET RESPONSIVE DESIGN */

@media (max-width: 850px) {

    .ch-contact-grid {
        grid-template-columns: 1fr;
    }

    .ch-contact-intro {
        grid-template-columns: 1fr 190px;
        gap: 20px;
    }

    .ch-contact-brand img {
        width: 90px;
        height: 90px;
    }

}


/* 16. MOBILE RESPONSIVE DESIGN */

@media (max-width: 600px) {

    .ch-contact-page {
        padding: 28px 0 55px;
    }

    .ch-contact-intro {
        grid-template-columns: 1fr;
    }

    .ch-contact-brand {
        flex-direction: row;
        gap: 12px;
        padding: 14px;
        justify-content: flex-start;
    }

    .ch-contact-brand img {
        width: 54px;
        height: 54px;
    }

    .ch-contact-brand strong {
        font-size: 18px;
    }

    .ch-contact-brand span {
        display: none;
    }

    .ch-breadcrumb {
        margin-bottom: 28px;
    }

    .ch-form-card,
    .ch-aside-card {
        padding: 22px;
    }

    .ch-form-row {
        grid-template-columns: 1fr;
    }

    .ch-submit {
        width: 100%;
    }

}