/* ==============================================
   CTA Banner Block
   Sharp geometry, structural aesthetic
   ============================================== */

.foz-cta-banner {
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* ---------- Dark variant ---------- */
.foz-cta-banner--dark {
    background: #0c1e36;
}

/* Angled blue accent panel on the right */
.foz-cta-banner--dark::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 38%;
    background: #1d64a1;
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

/* Thin top accent line */
.foz-cta-banner--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3a9bd5 0%, #1d64a1 50%, #0c1e36 100%);
    z-index: 2;
}

/* ---------- Light variant ---------- */
.foz-cta-banner--light {
    background: #eef2f7;
    border-top: 3px solid #1d64a1;
}

.foz-cta-banner--light::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 38%;
    background: rgba(29,100,161,0.07);
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

/* ---------- Inner layout ---------- */
.foz-cta-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 64px;
}

.foz-cta-banner__content {
    max-width: 600px;
}

/* ---------- Pre-heading label ---------- */
.foz-cta-banner__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-left: 3px solid #3a9bd5;
    margin-bottom: 18px;
    line-height: 1.4;
}

.foz-cta-banner--dark .foz-cta-banner__label {
    color: #7cb9e8;
    background: rgba(58,155,213,0.1);
}

.foz-cta-banner--light .foz-cta-banner__label {
    color: #1d64a1;
    background: rgba(29,100,161,0.08);
}

/* ---------- Heading ---------- */
.foz-cta-banner__heading {
    font-size: clamp(1.75rem, 2.8vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.foz-cta-banner--dark .foz-cta-banner__heading { color: #fff; }
.foz-cta-banner--light .foz-cta-banner__heading { color: #0f2442; }

/* ---------- Subtext ---------- */
.foz-cta-banner__subtext {
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.foz-cta-banner--dark .foz-cta-banner__subtext  { color: #a8c4e0; }
.foz-cta-banner--light .foz-cta-banner__subtext { color: #2c4a6e; }

/* ---------- Action area ---------- */
.foz-cta-banner__action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ---------- Button ---------- */
.foz-cta-banner__btn,
a.foz-cta-banner__btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.foz-cta-banner--dark .foz-cta-banner__btn,
.foz-cta-banner--dark a.foz-cta-banner__btn {
    background: #fff;
    color: #0c1e36;
    border: 2px solid #fff;
}

.foz-cta-banner--dark .foz-cta-banner__btn:hover,
.foz-cta-banner--dark a.foz-cta-banner__btn:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.foz-cta-banner--light .foz-cta-banner__btn,
.foz-cta-banner--light a.foz-cta-banner__btn {
    background: #1d64a1;
    color: #fff;
    border: 2px solid #1d64a1;
}

.foz-cta-banner--light .foz-cta-banner__btn:hover,
.foz-cta-banner--light a.foz-cta-banner__btn:hover {
    background: #0f2442;
    border-color: #0f2442;
    transform: translateY(-2px);
}

/* ---------- Secondary note below button ---------- */
.foz-cta-banner__note {
    font-size: 0.78rem;
    opacity: 0.55;
    text-align: center;
}

.foz-cta-banner--dark .foz-cta-banner__note { color: #fff; }
.foz-cta-banner--light .foz-cta-banner__note { color: #0f2442; }

@media (max-width: 768px) {
    .foz-cta-banner__inner { padding: 52px 28px; grid-template-columns: 1fr; gap: 36px; }
    .foz-cta-banner--dark::after,
    .foz-cta-banner--light::after { display: none; }
    .foz-cta-banner__btn,
    a.foz-cta-banner__btn { width: 100%; text-align: center; }
    .foz-cta-banner__heading { font-size: clamp(1.5rem, 6vw, 2rem); }
    .foz-cta-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .foz-cta-banner__btn,
    a.foz-cta-banner__btn { width: 100%; text-align: center; }
}
