/* File: wp-content/themes/log-core/assets/css/log-contact-cta-band.css */
/* Source: contact_us_4.html — .contact-band/.cb-* CTA band */
/* Depends on: log-contact-form-qa.css (inherits tokens) */
/* Prefix: .log-co- */

/* Reference (contact_us_4.html) gets its post-band breathing room from
   footer.site{margin-top:60px} — its own footer, not shared sitewide here.
   Adding that same 60px directly on this wrapper's bottom margin instead
   (same pattern already used for the testimonials page's .contact-band).
   !important: beats log-global-layout-fix.css's
   .entry-content.is-layout-constrained > * margin-block reset, which
   otherwise zeroes this section's bottom margin (same conflict already
   documented on the testimonials page's .contact-band). */
.log-co-cta-band-wrap {
    max-width: 1160px;
    margin: 40px auto 60px !important;
    padding: 0 20px;
}

.log-co-cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--ink-950) 0%, var(--ink-900) 50%, #0f0f0f 100%);
    border: 1px solid var(--line-gold);
    border-radius: var(--r-lg);
    padding: 36px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.log-co-cta-band:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px var(--ink-glass-35), 0 0 0 1px var(--gold-glass-15);
}

.log-co-cta-band::before,
.log-co-cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.log-co-cta-band::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--gold-glass-20), transparent 70%);
    top: -70px;
    left: -40px;
}

.log-co-cta-band::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold-glass-10), transparent 70%);
    bottom: -70px;
    right: -30px;
}

.log-co-cta-text { position: relative; z-index: 1; }

.log-co-cta-text .log-co-section-eyebrow { color: var(--gold-500); }
.log-co-cta-text .log-co-section-eyebrow::before { background: var(--gold-500); }

.log-co-cta-text h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.1;
    color: var(--white);
}

.log-co-cta-text h2 em { font-style: italic; color: var(--gold-400); }

.log-co-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.log-co-btn-sage {
    position: relative;
    overflow: hidden;
    background: var(--gold-500);
    color: var(--ink-900);
    font-weight: 700;
    font-size: 12.5px;
    padding: 13px 22px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-gold);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    text-decoration: none;
}

.log-co-btn-sage::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, var(--white-glass-50), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--ease);
}

.log-co-btn-sage:hover::after { left: 130%; }

.log-co-btn-sage:hover {
    background: var(--gold-400);
    color: var(--ink-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

.log-co-btn-ghost {
    border: 1.4px solid var(--white-glass-40);
    color: var(--white);
    font-weight: 700;
    font-size: 12.5px;
    padding: 12px 21px;
    border-radius: var(--r-pill);
    transition: all .25s var(--ease);
    text-decoration: none;
}

/* color explicit: sitewide a:hover{color:inherit} (design-tokens.css) would
   otherwise inherit the dark body text color instead of staying white here. */
.log-co-btn-ghost:hover { background: var(--white-glass-15); color: var(--white); }

@media (max-width: 760px) {
    .log-co-cta-band {
        flex-direction: column;
        text-align: center;
        padding: 32px 22px;
        gap: 22px;
    }

    .log-co-cta-actions { flex-direction: column; width: 100%; }
    .log-co-cta-actions a { width: 100%; justify-content: center; }
}
