.contact-page-body {
    background-color: #0d0d0d;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'General Sans', sans-serif;
}

.contact-page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

.contact-form-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.contact-conversational-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-page-heading {
    font-family: 'General Sans', sans-serif;
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-align: left;
}

.contact-heading-highlight {
    color: #ff6421;
}

.contact-form-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.contact-phrase {
    font-family: 'General Sans', sans-serif;
    font-size: clamp(18px, 3.2vw, 36px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}

.contact-input-wrapper {
    flex: 1;
    min-width: 240px;
    display: flex;
}

.contact-underline-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255, 100, 33, 0.35);
    color: #ffffff;
    font-family: 'General Sans', sans-serif;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 400;
    padding: 6px 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-underline-input::placeholder {
    color: rgba(255, 255, 255, 0.624);
    font-weight: 500;
}

.contact-underline-input:focus {
    border-bottom-color: #ff6421;
    box-shadow: 0 2px 0 #ff6421;
}

textarea.contact-underline-input {
    resize: none;
    min-height: 36px;
    line-height: 1.4;
    field-sizing: content;
    overflow-y: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

.contact-submit-row {
    align-items: center;
    margin-top: 6px;
}

.contact-pill-submit-btn {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid #ff6421;
    font-family: 'General Sans', sans-serif;
    font-size: clamp(15px, 1.8vw, 19px);
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    transition: color 0.6s ease, border-color 0.6s ease;
}

.contact-pill-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ff6421;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    border-radius: 9999px;
}

.contact-pill-submit-btn:hover::before {
    transform: scaleX(1);
}

.contact-pill-submit-btn:hover {
    color: #ffffff;
    border-color: #ff6421;
}

.contact-pill-submit-btn .contact-arrow-icon {
    transition: color 0.6s ease;
}

@media (max-width: 768px) {

    .contact-page-main {
        padding: 30px 20px 60px;
    }

    .contact-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .contact-phrase {
        white-space: normal;
        letter-spacing: 0.5px;
    }

    .contact-input-wrapper {
        min-width: 100%;
    }

    .contact-submit-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}