/* ==========================================================================
   Budi Checklist CTA
   ========================================================================== */

   .budi-checklist-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    padding: 40px 60px;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Red gradient overlay sitting on top of the background image */
.budi-checklist-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(269deg, rgba(255, 69, 64, 0.65) 0%, #E30612 99.1%);
    z-index: 1;
}

.budi-checklist-cta__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.budi-checklist-cta__text {
    max-width: 650px;
}

.budi-checklist-cta__title,
.budi-checklist-cta__description,
.budi-checklist-cta__description p {
    color: #FFF;
    margin: 0;
}

.budi-checklist-cta__title {
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
}

.budi-checklist-cta__description > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */

.budi-checklist-cta .wpcf7 {
    width: 100%;
}

.budi-checklist-cta .wpcf7-form {
    width: 100%;
}

.budi-checklist-cta__form-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.budi-checklist-cta__form-fields .wpcf7-form-control-wrap {
    flex: 1 1 220px;
    max-width: 350px;
    min-width: 0;
}

/* Text + email inputs */
.budi-checklist-cta__form-fields input[type="text"],
.budi-checklist-cta__form-fields input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 15px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.50) !important;
    background: rgba(255, 255, 255, 0.25);
    color: #FFF;
}

.budi-checklist-cta__form-fields input[type="text"]::placeholder,
.budi-checklist-cta__form-fields input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

/* Submit button — override aggressive parent theme button styles (style.css:627) */
.budi-checklist-cta .budi-checklist-cta__form-fields input[type="submit"] {
    flex: 0 0 auto;
    height: 50px;
    padding: 15px 20px !important;
    border-radius: 100px !important;
    background: #FFF !important;
    color: #E30612 !important;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-weight: 600;
}

.budi-checklist-cta .budi-checklist-cta__form-fields input[type="submit"]:hover {
    opacity: 0.9;
}

/* CF7 response / validation messages */
.budi-checklist-cta .wpcf7-response-output {
    color: #FFF;
    margin: 15px 0 0;
    border-color: rgba(255, 255, 255, 0.5);
}

.budi-checklist-cta .wpcf7-not-valid-tip {
    color: #FFF;
    font-weight: 600;
}

.budi-checklist-cta .wpcf7-spinner {
    margin: 0 0 0 12px;
}

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

@media (max-width: 767px) {
    .budi-checklist-cta {
        padding: 30px 20px;
    }

    .budi-checklist-cta__form-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .budi-checklist-cta__form-fields .wpcf7-form-control-wrap,
    .budi-checklist-cta .budi-checklist-cta__form-fields input[type="submit"] {
        flex: 1 1 auto;
        width: 100%;
    }
}
