/* Shared "Request a free cleaning quote" card: Contact Us (Contact-Us.aspx) and the location
   pages (OfficeLocation master) render the same markup, so the form looks identical everywhere.
   Bootstrap 5.3 supplies the form-control/form-select base. Loaded from the OfficeLocation master. */

.cu-quote-card {
    --cu-teal: #11abc0;
    --cu-ink: #0d3549;
    --cu-muted: #6a8190;
    --cu-line: #d8e4e9;
    --cu-yellow: #ffd426;
    --cu-error: #c8243b;
    --cu-shadow: 0 16px 38px rgba(2, 48, 65, .13);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.45;
    text-align: left;
}

.cu-quote-card h2,
.cu-quote-card h3 {
    font-family: inherit;
    color: inherit;
    font-weight: 700;
    line-height: 1.45;
}

.cu-quote-card {
    background: #fff;
    color: var(--cu-ink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--cu-shadow);
    scroll-margin-top: 90px;
}

.cu-quote-head {
    padding: 20px 22px;
    background: linear-gradient(135deg, #15aec2, #159aa9);
    color: #fff;
}

.cu-quote-card .cu-quote-head h2 {
    margin: 0 0 5px;
    font-size: 25px;
    letter-spacing: -.01em; /* web Inter is ~2% wider than the wireframe's local Inter; keeps one line at 1024px like the wireframe */
}

.cu-quote-head p {
    margin: 0;
    font-size: 13px;
}

.cu-quote-body { padding: 20px 22px 18px; }

.cu-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 16px;
}

.cu-field {
    display: grid;
    gap: 6px;
    align-content: start;
    min-width: 0;
}

.cu-full { grid-column: 1 / -1; }

.cu-field label {
    font-size: 12px;
    font-weight: 800;
}

.cu-quote-body .form-control,
.cu-quote-body .form-select {
    height: 42px;
    border: 1px solid var(--cu-line);
    border-radius: 6px;
    padding: 0 11px;
    font: inherit;
    font-size: 16px;
    color: #536b77;
    background-color: #fff;
}

/* Wireframe uses the browser's native select arrow, not Bootstrap's chevron */
.cu-quote-body .form-select {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    --bs-form-select-bg-img: none;
    background-image: none;
    padding-right: 11px;
}

.cu-quote-body .form-control::placeholder { color: #757575; }

.cu-quote-body .form-control:focus,
.cu-quote-body .form-select:focus {
    border-color: var(--cu-teal);
    box-shadow: 0 0 0 3px rgba(17, 171, 192, .18);
}

/* Error state: red border + message, no Bootstrap "!" icon */
.cu-quote-body .form-control.is-invalid,
.cu-quote-body .form-select.is-invalid {
    border-color: #e0344b;
}

.cu-quote-body .form-control.is-invalid {
    background-image: none;
    padding-right: 11px;
}

.cu-quote-body .form-select.is-invalid:not([multiple]):not([size]) {
    --bs-form-select-bg-icon: none;
    background-image: none;
    padding-right: 11px;
}

.cu-quote-body .form-control.is-invalid:focus,
.cu-quote-body .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(224, 52, 75, .18);
}

.cu-quote-body .invalid-feedback {
    margin-top: 0;
    color: var(--cu-error);
    font-size: 12px;
    font-weight: 700;
}

.cu-hp {
    position: absolute;
    left: -9999px;
}

.cu-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fdecef;
    color: #9b1c30;
    font-size: 13px;
    font-weight: 700;
}

.cu-submit {
    grid-column: 1 / -1;
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #159caf;
    color: #fff;
    padding: 13px;
    font-family: Arial, Helvetica, sans-serif; /* wireframe button uses the browser's default button font */
    font-size: 17px;
    font-weight: 800;
    line-height: normal;
    cursor: pointer;
    transition: background-color .15s;
}

.cu-submit:hover { background: #128a9b; }

.cu-submit:focus-visible {
    outline: 3px solid var(--cu-yellow);
    outline-offset: 2px;
}

.cu-privacy {
    grid-column: 1 / -1;
    text-align: center;
    color: #7a8e99;
    font-size: 11px;
}

.cu-thanks {
    padding: 40px 26px;
    text-align: center;
}

.cu-tick {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #e5f7ee;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.cu-tick svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #11643b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cu-quote-card .cu-thanks h3 {
    font-size: 22px;
    margin: 0 0 8px;
}

.cu-thanks p {
    color: var(--cu-muted);
    margin: 0;
    font-size: 14px;
}

@media (max-width: 560px) {
    .cu-form-grid { grid-template-columns: 1fr; }
}

