/* ============================================================
   Contact Us — modern card form + info sidebar
   Form design matched to the referral / application pages.
   ============================================================ */

:root {
    --cu-red: #ff3b3b;
    --cu-red-dark: #e92e2e;
    --cu-ink: #161b28;
    --cu-mute: #6b7280;
    --cu-line: #e7e9ef;
    --cu-field: #d9dde6;
    --cu-soft: #f5f6f8;
}

.cu-section {
    background: linear-gradient(180deg, #fdfaf7 0%, #ffffff 60%);
    padding: 70px 0 80px;
}


/* Heading ---------------------------------------------------- */

.cu-head {
    max-width: 720px;
    margin: 0 auto 46px;
}

.cu-eyebrow {
    display: inline-block;
    color: #ff382e;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cu-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--cu-ink);
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.cu-sub {
    font-family: 'Inter', sans-serif;
    color: var(--cu-mute);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}


/* ============ FORM (left) ============ */

.cu-form-card {
    background: #fff;
    border: 1px solid var(--cu-line);
    border-radius: 16px;
    padding: 34px 34px 30px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.cu-form-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--cu-ink);
    font-size: 1.5rem;
    margin: 0 0 22px;
}

.cu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-bottom: 20px;
}

.cu-col-2 {
    grid-column: 1 / -1;
}

.cu-field {
    display: flex;
    flex-direction: column;
}

.cu-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a4250;
    margin-bottom: 7px;
}

.cu-req {
    color: #ff382e;
}

.cu-form input[type="text"],
.cu-form input[type="email"],
.cu-form select,
.cu-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--cu-field);
    background: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--cu-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cu-form textarea {
    resize: vertical;
    min-height: 130px;
}

.cu-form input::placeholder,
.cu-form textarea::placeholder {
    color: #9aa0ab;
}

.cu-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.cu-form input:focus,
.cu-form select:focus,
.cu-form textarea:focus {
    outline: none;
    border-color: var(--cu-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.12);
}

.cu-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}


/* `body .cu-btn` (not just `.cu-btn`) to match the equal specificity of the
   site-wide button rule in style.css — this file loads after style.css, so
   equal-specificity + !important here wins by source order. Plain `.cu-btn`
   without the `body` prefix loses to that rule's box-shadow/radius/padding. */

body .cu-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #ff382e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 36px !important;
    font-family: 'Lato', sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.8px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

body .cu-btn:hover {
    background: #000 !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.cu-microtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: var(--cu-mute);
    margin: 14px 0 0;
}

.cu-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #11823b;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
}

.cu-success i {
    font-size: 1.3rem;
    color: #17b26a;
}


/* ============ SIDEBAR (right) ============ */

.cu-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 24px;
}

.cu-aside-card {
    background: var(--cu-soft);
    border: 1px solid var(--cu-line);
    border-radius: 16px;
    padding: 26px 24px;
}

.cu-aside-need {
    background: linear-gradient(135deg, #fff6f6 0%, #fff 100%);
    border-color: #ffe0e0;
}

.cu-aside-heading {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--cu-ink);
    font-size: 1.2rem;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.cu-aside-heading i {
    color: #ff382e;
}

.cu-aside-text {
    font-family: 'Inter', sans-serif;
    color: var(--cu-mute);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}


/* Contact info list */

.cu-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cu-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cu-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cu-red) 0%, #ff6b6b 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    /* box-shadow: 0 8px 18px rgba(255, 59, 59, 0.25); */
}

.cu-info-text {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    color: var(--cu-ink);
    line-height: 1.4;
    padding-top: 2px;
    word-break: break-word;
}

.cu-info-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--cu-mute);
    font-weight: 600;
    margin-bottom: 2px;
}

.cu-info-text a {
    color: var(--cu-ink);
    text-decoration: none;
    font-weight: 600;
}

.cu-info-text a:hover {
    color: #ff382e;
}


/* Support hours */

.cu-hours-card {
    background: #ffffff;
    border-color: var(--cu-line);
}

.cu-hours-card .cu-aside-heading {
    color: var(--cu-ink);
}

.cu-hours-card .cu-aside-heading i {
    color: #ff382e;
}

.cu-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cu-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
    color: var(--cu-mute);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cu-line);
}

.cu-hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cu-hours-day {
    font-weight: 600;
    color: var(--cu-ink);
}

.cu-hours-time {
    color: #ff382e;
    font-weight: 600;
}


/* ============ Responsive ============ */

@media (max-width: 991px) {
    .cu-section {
        padding: 50px 0 60px;
    }
    .cu-aside {
        position: static;
    }
}

@media (max-width: 575px) {
    .cu-form-card {
        padding: 24px 20px;
    }
    .cu-grid {
        grid-template-columns: 1fr;
    }
    .cu-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ---- Contact Form 7 (form 52) styled to match the native .cu-form ---- */

.cu-cf7 .wpcf7-form p {
    margin: 0;
}

.cu-cf7 .wpcf7-form br {
    display: none;
}

.cu-cf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.cu-cf7 .cu-grid {
    margin-bottom: 20px;
}

.cu-cf7 .cu-field label {
    display: block;
}

.cu-cf7 input[type="text"],
.cu-cf7 input[type="email"],
.cu-cf7 input[type="tel"],
.cu-cf7 select,
.cu-cf7 textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--cu-field);
    background: #fff;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--cu-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cu-cf7 textarea {
    resize: vertical;
    min-height: 130px;
}

.cu-cf7 input::placeholder,
.cu-cf7 textarea::placeholder {
    color: #9aa0ab;
}

.cu-cf7 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.cu-cf7 input:focus,
.cu-cf7 select:focus,
.cu-cf7 textarea:focus {
    outline: none;
    border-color: var(--cu-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.12);
}

.cu-cf7 .wpcf7-not-valid-tip {
    color: #e11d48;
    font-size: 0.8rem;
    margin-top: 5px;
}

.cu-cf7 .wpcf7-not-valid {
    border-color: #e11d48;
}

.cu-cf7 .wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.93rem;
}

.cu-cf7 .wpcf7 form.sent .wpcf7-response-output {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #11823b;
}

.cu-cf7 .wpcf7-spinner {
    margin: 0 0 0 12px;
}

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