/* CGC Sticky CTA Bar */
.cgc-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    margin: var(--cgc-bar-margin, 0);
    background: var(--cgc-bar-bg, #EDF2F7);
    box-shadow: var(--cgc-bar-shadow, 0 -2px 10px rgba(0,0,0,0.12));
    z-index: var(--cgc-bar-z, 9999);
    visibility: hidden;
    opacity: 0;
    box-sizing: border-box;
    border-radius: var(--cgc-bar-rad, 0);
    border: var(--cgc-bar-bw, 0) solid var(--cgc-bar-bc, transparent);
}
/* Contained mode: centre the bar with max-width */
.cgc-sticky-cta-contained {
    max-width: var(--cgc-bar-max-w, 1290px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 48px);
}
/* Visible state — instant show */
.cgc-sticky-cta-visible {
    visibility: visible;
    opacity: 1;
}
.cgc-sticky-cta-inner {
    padding: var(--cgc-bar-pad, 14px 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cgc-sticky-cta-text {
    color: var(--cgc-bar-color, #1A202C);
    font-size: var(--cgc-bar-text-fs, 18px);
    font-weight: var(--cgc-bar-text-fw, 600);
    flex: 1;
    line-height: 1.4;
}
.cgc-sticky-cta-btn {
    background: var(--cgc-bar-btn-bg, #24544c) !important;
    color: var(--cgc-bar-btn-color, #fff) !important;
    padding: var(--cgc-bar-btn-pad, 12px 28px) !important;
    border-radius: var(--cgc-bar-btn-rad, 6px) !important;
    font-size: var(--cgc-bar-btn-fs, 16px) !important;
    font-weight: bold;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}
.cgc-sticky-cta-btn:hover {
    background: var(--cgc-bar-btn-hover, #5da83a) !important;
    color: var(--cgc-bar-btn-color, #fff) !important;
    transform: scale(1.02);
    text-decoration: none !important;
}
/* Embedded form in bar */
.cgc-sticky-cta-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    flex-shrink: 0;
}
/* Tablet + Mobile: stack layout */
@media (max-width: 768px) {
    .cgc-sticky-cta-contained {
        width: calc(100% - 24px);
    }
    .cgc-sticky-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px 16px;
    }
    .cgc-sticky-cta-text {
        font-size: 15px;
    }
    .cgc-sticky-cta-btn {
        width: 100%;
        text-align: center;
    }
    .cgc-sticky-cta-form {
        width: 100%;
        flex-direction: column;
    }
    .cgc-sticky-cta-form .cgc-wrap {
        width: 100% !important;
    }
    .cgc-sticky-cta-form .cgc-btn {
        width: 100%;
    }
}
