/* OFleet Design Library — inherits the Kadence palette, falls back to OFleet red */
:root {
    --ofld-red: var(--global-palette1, #D9232E);
    --ofld-dark: var(--global-palette3, #1A1A1A);
    --ofld-light: var(--global-palette7, #F7F7F5);
}

/* Hero */
.ofld-hero { padding: 56px 0; }
.ofld-eyebrow {
    text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px;
    font-weight: 800; color: var(--ofld-red); margin-bottom: 12px;
}
.ofld-lede { font-size: 19px; line-height: 1.55; color: #444; }

/* Trust bar */
.ofld-trust-bar { border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; padding: 28px 0; }
.ofld-stat-number { font-size: 34px; font-weight: 800; color: var(--ofld-red); margin: 0; text-align: center; }
.ofld-stat-label { font-size: 14px; color: #666; margin: 4px 0 0; text-align: center; }

/* Red CTA banner */
.ofld-cta-banner {
    background: var(--ofld-red); color: #fff;
    padding: 44px 36px; border-radius: 12px; margin: 24px 0;
}
.ofld-cta-banner h2 { color: #fff; margin-top: 0; }
.ofld-cta-banner p { color: rgba(255,255,255,.92); }
.ofld-cta-banner .wp-block-button__link {
    background: #fff !important; color: var(--ofld-red) !important; font-weight: 700;
}

/* How it works */
.ofld-how { padding: 24px 0; }
.ofld-step-number {
    width: 52px; height: 52px; line-height: 52px; border-radius: 50%;
    background: var(--ofld-red); color: #fff; font-size: 22px; font-weight: 800;
    text-align: center; margin: 0 auto 12px;
}

/* FAQ */
.ofld-faq-item { border-bottom: 1px solid #e8e8e8; padding: 18px 0; }
.ofld-faq-item h3 { margin: 0 0 8px; font-size: 19px; }
.ofld-faq-item p { margin: 0; color: #444; }

/* Testimonial */
.ofld-testimonial {
    border-left: 4px solid var(--ofld-red); background: var(--ofld-light);
    padding: 24px 28px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.ofld-testimonial blockquote { margin: 0; }
.ofld-testimonial p { font-size: 19px; font-style: italic; }

/* Vault promo */
.ofld-vault-promo {
    border: 2px solid var(--ofld-red); border-radius: 12px; padding: 32px; margin: 24px 0;
}

/* Newsletter block */
.ofld-newsletter-block { background: var(--ofld-light); border-radius: 12px; padding: 36px; margin: 24px 0; }

/* Contact card */
.ofld-contact-card { border: 1px solid #e5e5e5; border-radius: 12px; padding: 32px; margin: 24px 0; }
.ofld-fine { font-size: 14px; color: #888; }

/* Key takeaways */
.ofld-takeaways {
    background: var(--ofld-light); border-left: 4px solid var(--ofld-red);
    padding: 24px 28px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.ofld-takeaways h3 { margin-top: 0; }

/* Comparison table */
.ofld-table table { border-collapse: collapse; width: 100%; }
.ofld-table th { background: var(--ofld-dark); color: #fff; text-align: left; }
.ofld-table th, .ofld-table td { padding: 12px 14px; border: 1px solid #e0e0e0; }
.ofld-table tbody tr:nth-child(even) { background: var(--ofld-light); }

/* Widgets */
.ofld-widget { font-size: 15px; }
.ofld-widget-contact { border: 1px solid #e5e5e5; border-radius: 8px; padding: 18px; }
.ofld-widget-newsletter input[type="email"] { padding: 10px 12px; border: 1px solid #d7d7d7; border-radius: 6px; }
.ofld-submit, .ofld-widget-cta-btn {
    display: inline-block; background: var(--ofld-red); color: #fff !important;
    font-weight: 700; padding: 11px 22px; border: none; border-radius: 6px;
    cursor: pointer; text-decoration: none;
}
.ofld-submit:hover, .ofld-widget-cta-btn:hover { filter: brightness(.92); }
.ofld-widget-cta {
    background: var(--ofld-red); color: #fff; border-radius: 8px; padding: 20px;
}
.ofld-widget-cta p { color: rgba(255,255,255,.92); }
.ofld-widget-cta-title { display: block; font-size: 17px; margin-bottom: 8px; }
.ofld-widget-cta-btn { background: #fff !important; color: var(--ofld-red) !important; margin-top: 6px; }

/* Sticky mobile CTA bar (hidden on desktop; below cookie banner) */
.ofld-sticky-cta { display: none; }
@media (max-width: 767px) {
    .ofld-sticky-cta {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 9998;
        align-items: center;
        gap: 10px;
        background: rgba(26, 26, 26, 0.97);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.28);
    }
    body.ofld-cta-visible { padding-bottom: 78px; }
    .ofld-sticky-btn {
        flex: 1 1 0;
        text-align: center;
        font-weight: 800;
        font-size: 16px;
        line-height: 1.2;
        padding: 13px 8px;
        border-radius: 8px;
        text-decoration: none !important;
    }
    .ofld-sticky-call { background: var(--ofld-red, #D9232E); color: #fff !important; }
    .ofld-sticky-text { background: #fff; color: #1a1a1a !important; }
    .ofld-sticky-close {
        flex: 0 0 auto;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        padding: 6px 4px;
        cursor: pointer;
        opacity: 0.65;
    }
}
