/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8faff 100%
        );
}


.contact-section-heading {
    max-width: 760px;

    margin-bottom: 45px;
}


/* =========================================================
   LAYOUT
========================================================= */

.public-contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.35fr);

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   INFO
========================================================= */

.public-contact-info {
    padding: 34px;

    border-radius: 24px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #10182a,
            #17233d
        );

    box-shadow:
        0 20px 60px
        rgba(
            15,
            23,
            42,
            .14
        );
}


.contact-info-label {
    display: block;

    margin-bottom: 12px;

    color:
        var(
            --site-secondary,
            #0ea5e9
        );

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;
}


.public-contact-info > h3 {
    margin:
        0 0 12px;

    color: #ffffff;

    font-family:
        'Manrope',
        sans-serif;

    font-size: 27px;

    font-weight: 750;
}


.public-contact-info > p {
    margin:
        0 0 32px;

    color:
        rgba(
            255,
            255,
            255,
            .62
        );

    font-size: 11px;

    line-height: 1.8;
}


.public-contact-items {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.public-contact-item {
    padding: 14px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );

    border-radius: 14px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: inherit;

    background:
        rgba(
            255,
            255,
            255,
            .045
        );

    transition:
        transform .2s ease,
        background .2s ease;
}


a.public-contact-item:hover {
    color: inherit;

    transform:
        translateX(4px);

    background:
        rgba(
            255,
            255,
            255,
            .075
        );
}


.public-contact-item > span {
    width: 40px;
    height: 40px;

    min-width: 40px;

    border-radius: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        var(
            --site-secondary,
            #0ea5e9
        );

    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    font-size: 16px;
}


.public-contact-item div {
    min-width: 0;
}


.public-contact-item small {
    display: block;

    margin-bottom: 3px;

    color:
        rgba(
            255,
            255,
            255,
            .42
        );

    font-size: 8px;
}


.public-contact-item strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 10px;

    font-weight: 600;

    line-height: 1.5;

    text-overflow: ellipsis;
}


/* =========================================================
   FORM CARD
========================================================= */

.public-contact-form-card {
    padding: 34px;

    border:
        1px solid
        #e8ecf3;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 20px 60px
        rgba(
            15,
            23,
            42,
            .06
        );
}


.contact-form-heading {
    margin-bottom: 26px;
}


.contact-form-heading span {
    display: block;

    margin-bottom: 6px;

    color:
        var(
            --site-primary,
            #635bff
        );

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.contact-form-heading h3 {
    margin: 0;

    color: #172033;

    font-family:
        'Manrope',
        sans-serif;

    font-size: 23px;

    font-weight: 750;
}


/* =========================================================
   FIELDS
========================================================= */

.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 15px;
}


.contact-form-field.full {
    grid-column:
        1 / -1;
}


.contact-form-field label {
    display: block;

    margin-bottom: 7px;

    color: #64748b;

    font-size: 9px;

    font-weight: 650;
}


.contact-form-field input,
.contact-form-field textarea {
    width: 100%;

    border:
        1px solid
        #dde4ec;

    border-radius: 12px;

    outline: none;

    color: #334155;

    background: #fbfcfe;

    font-family:
        'Inter',
        sans-serif;

    font-size: 11px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.contact-form-field input {
    height: 48px;

    padding:
        0 14px;
}


.contact-form-field textarea {
    min-height: 145px;

    padding: 14px;

    resize: vertical;

    line-height: 1.7;
}


.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color:
        var(
            --site-primary,
            #635bff
        );

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(
            99,
            91,
            255,
            .07
        );
}


/* =========================================================
   BUTTON
========================================================= */

.contact-submit-button {
    min-height: 49px;

    margin-top: 19px;

    padding:
        0 20px;

    border: none;

    border-radius: 12px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(
                --site-primary,
                #635bff
            ),
            var(
                --site-secondary,
                #0ea5e9
            )
        );

    box-shadow:
        0 10px 26px
        rgba(
            99,
            91,
            255,
            .18
        );

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.contact-submit-button:hover {
    transform:
        translateY(-2px);
}


.contact-submit-button:disabled {
    opacity: .65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   STATUS
========================================================= */

.contact-form-status {
    margin-top: 17px;

    padding: 13px 15px;

    border-radius: 11px;

    display: flex;

    align-items: flex-start;

    gap: 8px;

    font-size: 9px;

    line-height: 1.6;
}


.contact-form-status.success {
    color: #15803d;

    background: #f0fdf4;

    border:
        1px solid
        #bbf7d0;
}


.contact-form-status.error {
    color: #b91c1c;

    background: #fef2f2;

    border:
        1px solid
        #fecaca;
}


/* =========================================================
   HONEYPOT
========================================================= */

.contact-honeypot {
    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .public-contact-layout {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 600px) {

    .public-contact-info,
    .public-contact-form-card {
        padding: 24px;

        border-radius: 18px;
    }


    .contact-form-grid {
        grid-template-columns:
            1fr;
    }


    .contact-form-field.full {
        grid-column:
            auto;
    }


    .contact-submit-button {
        width: 100%;
    }

}