/* ========================================
   TOTAL IMPACT — CONTACT FORM
======================================== */

.quote-section {
    background: #101614;
    padding: 100px 0;
}

/* Headings */

.quote-section .subhead {
    color: #39b54a;
}

.quote-section .display-1 {
    color: #ffffff;
}

.quote-section .lead {
    color: #aab5ae;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Main form container */

.quote-container {
    max-width: 820px;
    margin: 35px auto 0;
    padding: 40px;
    background: #161e19;
    border: 1px solid #283a2d;
    border-radius: 12px;
}

/* Two-column layout */

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

/* Fields */

.quote-field {
    margin-bottom: 22px;
    min-width: 0;
}

.quote-field label {
    display: block;
    color: #d4ded6;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 9px;
}

.quote-form input:not([type="checkbox"]),
.quote-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    background: #202b23;
    border: 1px solid #34493a;
    border-radius: 7px;

    color: #69dc82;
    -webkit-text-fill-color: #69dc82;
    caret-color: #69dc82;

    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;

    margin: 0;
    transition: border-color 0.2s,
                box-shadow 0.2s;
}

.quote-form input:not([type="checkbox"]) {
    height: 52px;
}

.quote-form textarea {
    min-height: 145px;
    resize: vertical;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #84958a;
    -webkit-text-fill-color: #84958a;
    opacity: 1;
}

/* Focus effect */

.quote-form input:not([type="checkbox"]):focus,
.quote-form textarea:focus {
    background: #202b23;
    border-color: #39b54a;
    box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.13);
    outline: none;
}

/* Privacy checkbox */

.quote-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 26px;
}

.quote-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    flex-shrink: 0;
    accent-color: #39b54a;
}

.quote-consent label {
    color: #aab5ae;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Submit button */

.quote-form .quote-submit {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 20px;

    background: #39b54a;
    border: 1px solid #39b54a;
    border-radius: 7px;

    color: #09180d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    cursor: pointer;
    transition: background 0.2s,
                transform 0.2s;
}

.quote-form .quote-submit:hover {
    background: #4ccd61;
    transform: translateY(-2px);
}

.quote-form .quote-submit:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Success and validation messages */

.quote-notice {
    padding: 15px;
    color: #b8f2c4;
    background: #1c3925;
    border-left: 3px solid #39b54a;
    border-radius: 5px;
    margin-bottom: 25px;
}

.quote-errors,
.quote-form .errorlist {
    color: #ff9b9b;
    font-size: 13px;
    line-height: 1.5;
}

.quote-form .errorlist {
    margin: 7px 0 0;
    padding-left: 18px;
}

/* Mobile responsiveness */

@media (max-width: 700px) {

    .quote-section {
        padding: 65px 0;
    }

    .quote-container {
        padding: 24px 18px;
        margin-top: 20px;
    }

    .quote-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-field {
        margin-bottom: 18px;
    }
}