/* ========================
   Contact Page Styles
   ======================== */

:root {
    --contact-pad: clamp(20px, 5vw, 56px);
}

.contact-section {
    position: relative;
    overflow: hidden;
    background-color: #F8F8F8;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 75%, #FFFFFF 100%),
        radial-gradient(ellipse at 50% 12%, #E0EFE4 0%, #F8F8F8 60%);
    padding: 180px var(--contact-pad) 120px;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #257A3F;
    text-align: center;
    margin: 0 0 16px;
}

.contact-heading {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 700;
    color: #151515;
    line-height: 1.1;
    letter-spacing: -1.8px;
    text-align: center;
    margin: 0;
}

.contact-lede {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #383838;
    text-align: center;
    margin: 20px auto 0;
    max-width: 620px;
}

/* One unified panel, two columns, equal height */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    margin-top: 56px;
    background: #FFFFFF;
    border: 1px solid #E4E4E4;
    border-radius: 24px;
    box-shadow: 0 24px 60px -24px rgba(21, 21, 21, 0.18);
    overflow: hidden;
}

.contact-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    min-width: 0;
}

.contact-card + .contact-card {
    border-left: 1px solid #E4E4E4;
    background: #FBFBF9;
}

.contact-card-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B6B6B;
    margin: 0 0 10px;
}

.contact-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.7px;
    color: #151515;
    margin: 0 0 10px;
}

.contact-card-copy {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #383838;
    margin: 0 0 24px;
}

.contact-card--cal .calendly-inline-widget {
    flex: 1;
    min-width: 0;
    min-height: 620px;
    height: 620px;
    margin: 0 -12px;
    background: #F4F4F2;
    border-radius: 12px;
}

.contact-card-alt {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #585858;
    margin: 20px 0 0;
}

.contact-card-alt a,
.contact-form-error a {
    color: #257A3F;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field--grow {
    flex: 1;
}

.contact-field label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222222;
}

.contact-field input,
.contact-field textarea {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #222222;
    background: #FFFFFF;
    border: 1px solid #D4D4D4;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-field--grow textarea {
    flex: 1;
    min-height: 120px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #39B15A;
    box-shadow: 0 0 0 3px rgba(57, 177, 90, 0.2);
}

.contact-submit-btn {
    align-self: stretch;
    justify-content: center;
    cursor: pointer;
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.contact-success:focus {
    outline: none;
}

.contact-form-error {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #B3261E;
    margin: 0;
}

[hidden] {
    display: none !important;
}

@media screen and (max-width: 991px) {
    .contact-section {
        padding: 120px var(--contact-pad) 72px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 36px;
        border-radius: 18px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-card + .contact-card {
        border-left: 0;
        border-top: 1px solid #E4E4E4;
    }

    .contact-card--cal .calendly-inline-widget {
        min-height: 640px;
        height: 640px;
        margin: 0 -8px;
    }
}
