/* ==========================================================================
   REUSABLE CTA SECTION — wl-cta-section
   Used at the bottom of every page. Design stays consistent site-wide.
   Only heading / subheading text changes per page (via get_template_part args).
   ========================================================================== */

/* ── Section wrapper ─────────────────────────────────────────────────────── */
.wl-cta-section {
    background-color: #363332;
    background-image: url(https://wortal.co/wp-content/uploads/2026/06/Frame-20552467301.svg);
    /* Subtle vertical lines pattern     */
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}

/* Soft orange glow in the centre — purely decorative */
.wl-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 200px;
    background: radial-gradient(ellipse at center,
            rgba(255, 80, 24, 0.10) 0%,
            transparent 70%);
    pointer-events: none;
}

/* ── Inner container ─────────────────────────────────────────────────────── */
.wl-cta-container {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Content block (centred layout) ─────────────────────────────────────── */
.wl-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ── Heading ─────────────────────────────────────────────────────────────── */
.wl-cta-heading {
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #FFFFFF;
    text-align: center;
    margin: auto 0;
}

/* ── Sub-heading ─────────────────────────────────────────────────────────── */
.wl-cta-subheading {
    font-size: clamp(18px, 1.6vw, 22px);
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: auto 0;
}

/* ── Button row ──────────────────────────────────────────────────────────── */
.wl-cta-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .wl-cta-section {
        padding: 52px 20px;
    }

    .wl-cta-content {
        align-items: center;
    }

    .wl-cta-subheading {
        text-align: center;
    }

    .wl-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}