/* =====================================================================
 * WUC Footer CTA Bar — global pre-footer call-to-action styling
 * Scope:    .wuc-footer-cta-bar and descendants only
 * Markup:   emitted by parent theme hello-elementor/functions.php (do not edit)
 * Brand:    mirrors .wuc-footer reference (bg #04080F, white headings,
 *           rgba(255,255,255,0.72) body text, 24px/600 H3, Inter font)
 *           Primary button uses #0B5BD3 (matches homepage hero CTA, calculator
 *           submit, Discovery CTA — site-wide consistency).
 * Reversible: dequeue + delete this file.
 * =====================================================================
 */

.wuc-footer-cta-bar {
    background: #04080F;
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 24px 64px;
    margin: 0;
    text-align: center;
    font-family: Inter, system-ui, sans-serif;
    box-sizing: border-box;
}

.wuc-footer-cta-bar > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.wuc-footer-cta-bar h3 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.wuc-footer-cta-bar > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 560px;
}

.wuc-footer-cta-bar .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto 22px;
}

/* Shared button base */
.wuc-footer-cta-bar .cta-btn-primary,
.wuc-footer-cta-bar .cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 180ms ease, border-color 180ms ease,
                color 180ms ease, box-shadow 180ms ease, transform 60ms ease;
    box-sizing: border-box;
}

/* Primary: WUC blue, white text */
.wuc-footer-cta-bar .cta-btn-primary {
    background: #0B5BD3;
    color: #FFFFFF;
    border: 1px solid #0B5BD3;
}
.wuc-footer-cta-bar .cta-btn-primary:hover {
    background: #094BAE;
    border-color: #094BAE;
    box-shadow: 0 2px 12px rgba(11, 91, 211, 0.40);
}
.wuc-footer-cta-bar .cta-btn-primary:active {
    background: #073D8E;
    border-color: #073D8E;
    transform: translateY(1px);
    box-shadow: none;
}
.wuc-footer-cta-bar .cta-btn-primary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
.wuc-footer-cta-bar .cta-btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Secondary: ghost button — transparent bg with white border */
.wuc-footer-cta-bar .cta-btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.36);
}
.wuc-footer-cta-bar .cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}
.wuc-footer-cta-bar .cta-btn-secondary:active {
    transform: translateY(1px);
}
.wuc-footer-cta-bar .cta-btn-secondary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
.wuc-footer-cta-bar .cta-btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Subtext microcopy below buttons */
.wuc-footer-cta-bar .cta-subtext {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 640px;
}

/* Mobile — buttons stack full-width, generous tap targets */
@media (max-width: 640px) {
    .wuc-footer-cta-bar {
        padding: 56px 20px 48px;
    }
    .wuc-footer-cta-bar h3 {
        font-size: 24px;
    }
    .wuc-footer-cta-bar > p {
        font-size: 16px;
    }
    .wuc-footer-cta-bar .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .wuc-footer-cta-bar .cta-btn-primary,
    .wuc-footer-cta-bar .cta-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}
