/* ======================================
   CONTACT PAGE
====================================== */

.contact-page {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 42px 28px 60px;
    color: #172033;
}


/* ======================================
   HEADER
====================================== */

.contact-header {
    margin-bottom: 26px;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #4f46e5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-header h1 {
    margin: 0;
    color: #121827;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.18;
}

.contact-header p {
    max-width: 680px;
    margin: 8px 0 0;
    color: #7b8598;
    font-size: 12px;
    line-height: 1.65;
}


/* ======================================
   LAYOUT
====================================== */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 22px;
}

.contact-info-card,
.contact-form-card {
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 9px 26px rgba(23, 32, 51, 0.05);
}


/* ======================================
   CARD HEADERS
====================================== */

.contact-info-heading,
.contact-form-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 14px 20px;
    border-bottom: 1px solid #e9edf4;
    background: #fbfcff;
    box-sizing: border-box;
}

.contact-heading-icon,
.contact-form-heading > span {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef0ff;
    color: #4f46e5;
    font-size: 12px;
}

.contact-info-heading h2,
.contact-form-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 700;
}

.contact-info-heading p,
.contact-form-heading p {
    margin: 2px 0 0;
    color: #929caf;
    font-size: 9px;
    line-height: 1.45;
}


/* ======================================
   CONTACT INFORMATION
====================================== */

.contact-info-list {
    padding: 6px 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 17px 0;
    border-bottom: 1px solid #edf1f6;
}

.contact-info-item:last-child {
    border-bottom: 0;
}

.contact-info-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f0f2ff;
    color: #5b57dc;
    font-size: 12px;
}

.contact-info-item > div {
    min-width: 0;
    padding-top: 1px;
}

.contact-info-item > div > span {
    display: block;
    margin-bottom: 4px;
    color: #8b95a8;
    font-size: 9px;
    font-weight: 600;
}

.contact-info-item strong,
.contact-info-item a {
    display: block;
    overflow-wrap: anywhere;
    color: #253047;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.contact-info-item small {
    display: block;
    margin-top: 2px;
    color: #7e899c;
    font-size: 9px;
    line-height: 1.5;
}


/* ======================================
   CONTACT FORM
====================================== */

.contact-form {
    padding: 20px;
}

.contact-form-group {
    margin-bottom: 17px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #445066;
    font-size: 10px;
    font-weight: 600;
}

.contact-form-group input,
.contact-form-group textarea {
    display: block;
    width: 100%;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
    color: #172033;
    font-family: inherit;
    font-size: 11px;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form-group input {
    height: 42px;
    padding: 0 13px;
}

.contact-form-group textarea {
    min-height: 128px;
    padding: 11px 13px;
    line-height: 1.6;
    resize: vertical;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: #6f70e8;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.09);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #172033;
    border-radius: 9px;
    background: #172033;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.12);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    background: #28334a;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(23, 32, 51, 0.17);
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 600px) {
    .contact-page {
        padding: 25px 15px 42px;
    }

    .contact-header {
        margin-bottom: 22px;
    }

    .contact-header h1 {
        font-size: 23px;
    }

    .contact-header p {
        font-size: 11px;
    }

    .contact-info-heading,
    .contact-form-heading {
        padding: 13px 16px;
    }

    .contact-info-list {
        padding: 5px 16px;
    }

    .contact-form {
        padding: 16px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}