/**
 * BerezaWP brand system, 2026 ("Build. Connect. Improve.")
 * Source: berezawp.com Brand evolution & growth strategy, 24 Nov 2026, section 06 Visual identity.
 *   Navy #102943 · Blue #2467AA · Sky #75BFFF · Orange #FF9E24 · Paper #F5F8FC
 * Loads LAST on every page (header.php and the homepage), after style.css. It replaces the
 * retired dark-site.css on staging1. One light theme: no dark mode, no toggle.
 *
 * Contrast notes (WCAG 2.2 AA, measured from the hex values):
 *   navy on white 15.3:1 · body slate #33475B on white 9.4:1 · blue #2467AA on white 5.9:1
 *   orange #FF9E24 behind navy text 7.2:1 · sky #75BFFF on navy 7.3:1
 *   orange is never used as small text on white (1.9:1); --bz-orange-ink #A65300 is (5.3:1).
 */

/* ============ 1. TOKENS ============ */
:root {
    --bz-navy: #102943;
    --bz-navy-2: #0b1f35;
    --bz-navy-3: #17375a;
    --bz-blue: #2467AA;
    --bz-blue-2: #1d5590;
    --bz-sky: #75BFFF;
    --bz-orange: #FF9E24;
    --bz-orange-2: #f08c0c;
    --bz-orange-ink: #A65300;
    --bz-paper: #F5F8FC;
    --bz-paper-2: #EAF1F9;
    --bz-white: #FFFFFF;
    --bz-ink: #102943;
    --bz-text: #33475B;
    --bz-muted: #52637A;
    --bz-line: #D9E2EC;
    --bz-line-dark: rgba(117, 191, 255, .28);
    --bz-radius: 12px;
    --bz-radius-lg: 20px;
    --bz-shadow: 0 1px 2px rgba(16, 41, 67, .06), 0 8px 24px rgba(16, 41, 67, .07);
    --bz-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, sans-serif;
    --bz-max: 1180px;
    --bz-tool: 52px;
    --bz-tool-gap: 12px;
    --bz-tool-edge: 20px;

    /* the site's original tokens, re-pointed at the new palette so every page style that
       reads them follows the brand without a per-page edit */
    --navy: #102943;
    --navy-dark: #0b1f35;
    --teal: #2467AA;
    --teal-light: #75BFFF;
    --orange: #FF9E24;
    --orange-dark: #f08c0c;
    --white: #FFFFFF;
    --light-gray: #F5F8FC;
    --medium-gray: #D9E2EC;
    --dark-gray: #33475B;
    --font-primary: var(--bz-font);
    --shadow-sm: 0 1px 2px rgba(16, 41, 67, .06);
    --shadow-md: 0 4px 14px rgba(16, 41, 67, .08);
    --shadow-lg: 0 12px 32px rgba(16, 41, 67, .12);
    color-scheme: light;
}
@media (max-width: 768px) {
    :root { --bz-tool: 48px; --bz-tool-edge: 14px; }
}

/* ============ 2. BASE ============ */
html, body { max-width: 100%; overflow-x: hidden; }
html { background: var(--bz-white); }
body {
    font-family: var(--bz-font) !important;
    color: var(--bz-text);
    background: var(--bz-white);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--bz-font); color: var(--bz-ink); letter-spacing: -.02em; line-height: 1.15; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }
a { color: var(--bz-blue); }
a:hover { color: var(--bz-blue-2); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
::selection { background: rgba(117, 191, 255, .35); }
:focus-visible { outline: 3px solid var(--bz-orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--bz-navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============ 3. LAYOUT HELPERS (shared by the new pages) ============ */
.bz-container { width: 100%; max-width: var(--bz-max); margin: 0 auto; padding: 0 22px; }
.bz-section { padding: 72px 0; }
.bz-section--paper { background: var(--bz-paper); }
.bz-section--navy { background: var(--bz-navy); color: #dce7f3; }
.bz-section--navy h1, .bz-section--navy h2, .bz-section--navy h3 { color: #fff; }
.bz-eyebrow { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bz-orange-ink); margin: 0 0 10px; }
.bz-section--navy .bz-eyebrow, .bz-hero .bz-eyebrow, .bz-page-hero .bz-eyebrow { color: var(--bz-sky); }
.bz-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 14px; }
.bz-lede { font-size: 1.12rem; color: var(--bz-muted); max-width: 760px; margin: 0 0 8px; }
.bz-section--navy .bz-lede { color: #c9d8e8; }
.bz-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bz-grid--2, .bz-grid--3, .bz-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bz-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bz-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bz-card { background: #fff; border: 1px solid var(--bz-line); border-radius: var(--bz-radius-lg); padding: 26px 24px; box-shadow: var(--bz-shadow); min-width: 0; }
.bz-card h3 { font-size: 1.25rem; margin: 6px 0 10px; }
.bz-card p { margin: 0 0 12px; }
.bz-card__num { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--bz-orange-ink); }
.bz-card__link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.bz-card__link:hover { text-decoration: underline; }
.bz-list { margin: 0 0 12px; padding-left: 1.2em; }
.bz-list li { margin: 4px 0; }
.bz-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--bz-navy); background: var(--bz-paper-2); border: 1px solid var(--bz-line); border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; }
.bz-note { font-size: .92rem; color: var(--bz-muted); }

/* ============ 4. BUTTONS ============ */
.bz-btn, .cta-button, .btn, .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
    font-family: var(--bz-font); font-size: 1rem; font-weight: 800; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bz-btn--primary, .cta-button, .btn-primary, .btn.btn-primary {
    background: var(--bz-orange) !important; color: var(--bz-navy) !important; border-color: var(--bz-orange) !important;
    box-shadow: none;
}
.bz-btn--primary:hover, .cta-button:hover, .btn-primary:hover {
    background: var(--bz-orange-2) !important; border-color: var(--bz-orange-2) !important; color: var(--bz-navy) !important;
    transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 158, 36, .3);
}
.bz-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.bz-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.bz-btn--outline, .btn-outline, .btn-secondary, .cta-button.secondary {
    background: #fff !important; color: var(--bz-navy) !important; border: 2px solid var(--bz-navy) !important;
}
.bz-btn--outline:hover, .btn-outline:hover, .btn-secondary:hover, .cta-button.secondary:hover { background: var(--bz-paper) !important; }
.bz-section--navy .bz-btn--outline, .bz-hero .bz-btn--outline { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .85) !important; }

/* ============ 5. UTILITY BAR + HEADER ============ */
.top-bar { background: var(--bz-navy) !important; color: #dce7f3 !important; font-size: 14px; padding: 6px 15px; gap: 18px; border: 0 !important; }
.top-bar a { color: #fff !important; font-weight: 600; }
.top-bar a:hover { color: var(--bz-sky) !important; }
.top-bar .available-badge { background: transparent !important; color: var(--bz-sky) !important; border: 1px solid var(--bz-line-dark); animation: none !important; }
.header { background: #fff !important; border-bottom: 1px solid var(--bz-line) !important; box-shadow: 0 1px 0 rgba(16, 41, 67, .04) !important; padding: 12px 20px !important; }
.header-container { max-width: var(--bz-max) !important; }
.logo { gap: 0 !important; }
.logo img.bz-logo { height: 40px !important; width: auto !important; display: block; }
@media (min-width: 1024px) { .logo img.bz-logo { height: 46px !important; } }
.nav-toggle { color: var(--bz-navy) !important; min-width: 48px; min-height: 48px; border-radius: 8px; }
.nav-menu { background: #fff !important; }
.nav-menu a { color: var(--bz-navy) !important; font-weight: 600 !important; }
.nav-menu a:hover, .nav-menu a:focus, .nav-menu a[aria-current="page"] { color: var(--bz-blue) !important; }
.nav-menu .cta-button, .nav-menu a.cta-button { color: var(--bz-navy) !important; border-bottom: 0 !important; }
.nav-menu .sub-menu { background: #fff !important; border: 1px solid var(--bz-line) !important; box-shadow: var(--bz-shadow) !important; }
.nav-menu .sub-menu a { color: var(--bz-navy) !important; }
.nav-menu .sub-menu a:hover { background: var(--bz-paper) !important; color: var(--bz-blue) !important; }
@media (min-width: 992px) {
    .nav-menu ul { gap: 22px !important; }
    .nav-menu a { font-size: 15px !important; }
}
.bwp-crumb { max-width: var(--bz-max) !important; padding: 14px 22px 0 !important; }
.bwp-crumb a { color: var(--bz-blue) !important; }
.bwp-crumb [aria-current="page"] { color: var(--bz-muted) !important; }

/* ============ 6. HEROES ============ */
.bz-hero, .bz-page-hero { background: var(--bz-navy); color: #dce7f3; position: relative; overflow: hidden; }
.bz-page-hero { padding: 64px 0 56px; }
.bz-page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0 0 14px; max-width: 900px; }
.bz-page-hero p { color: #c9d8e8; font-size: 1.15rem; max-width: 780px; margin: 0 0 22px; }
.bz-page-hero .bz-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* the original page heroes in style.css and in page-level styles */
.hero, .page-hero, .page-header, .service-hero, .location-hero, .industry-hero, .blog-hero, .about-hero, .contact-hero, .faq-hero, .work-hero, .reviews-hero, .build-hero, .lp-hero {
    background: var(--bz-navy) !important; background-image: none !important; color: #dce7f3 !important;
}
.hero h1, .page-hero h1, .page-header h1, .service-hero h1, .location-hero h1, .industry-hero h1, .blog-hero h1, .about-hero h1, .contact-hero h1, .faq-hero h1, .work-hero h1, .reviews-hero h1, .build-hero h1, .lp-hero h1,
.hero h2, .page-hero h2, .page-header h2 { color: #fff !important; }
.hero p, .page-hero p, .page-header p, .service-hero p, .location-hero p, .industry-hero p, .blog-hero p, .about-hero p, .contact-hero p, .faq-hero p, .work-hero p, .reviews-hero p, .build-hero p, .lp-hero p, .hero-subtitle { color: #c9d8e8 !important; }
.hero a:not(.cta-button):not(.btn):not(.bz-btn), .page-hero a:not(.cta-button):not(.btn):not(.bz-btn), .page-header a:not(.cta-button):not(.btn):not(.bz-btn) { color: var(--bz-sky) !important; }
.hero .breadcrumb a, .page-hero .breadcrumb a { color: var(--bz-sky) !important; }

/* ============ 7. COMMON SECTIONS & CARDS (style.css components) ============ */
.section-header h2, .section-title { color: var(--bz-ink) !important; }
.section-header p { color: var(--bz-muted) !important; }
.services, .portfolio, .testimonials, .about, .contact, .stats-section, .platforms-section { background: #fff; }
.services:nth-of-type(even), .testimonials, .stats-section { background: var(--bz-paper) !important; }
.service-card, .portfolio-item, .testimonial-card, .stat-box, .stat-item, .contact-form, .contact-info, .faq-item, .pricing-card, .feature-card, .benefit-card, .industry-card, .info-card, .card, .post-card, .blog-card, .area-card, .process-step {
    background: #fff !important; border: 1px solid var(--bz-line) !important; border-radius: var(--bz-radius-lg) !important; box-shadow: var(--bz-shadow) !important; color: var(--bz-text) !important;
}
.service-card h3, .portfolio-item h3, .testimonial-card h3, .faq-item h3, .pricing-card h3, .feature-card h3, .benefit-card h3, .industry-card h3, .info-card h3, .card h3, .post-card h3, .blog-card h3, .process-step h3 { color: var(--bz-ink) !important; }
.service-icon, .stat-icon, .feature-icon, .benefit-icon { background: var(--bz-paper-2) !important; color: var(--bz-blue) !important; border-radius: 14px !important; }
.service-icon i, .stat-icon i, .feature-icon i, .benefit-icon i { color: var(--bz-blue) !important; }
.stat-number, .stat-counter { color: var(--bz-navy) !important; }
.testimonial-stars, .testimonial-stars i, .fa-star { color: #E58A00 !important; }
.area-tag { background: var(--bz-paper-2) !important; color: var(--bz-navy) !important; border: 1px solid var(--bz-line) !important; }
.area-tag:hover { background: var(--bz-navy) !important; color: #fff !important; }
.portfolio-overlay { background: rgba(16, 41, 67, .88) !important; }
.form-group label, .contact-form label { color: var(--bz-ink) !important; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], select, textarea {
    background: #fff !important; color: var(--bz-ink) !important; border: 1px solid #b9c7d6 !important; border-radius: 8px !important; font-size: 16px !important; font-family: var(--bz-font) !important;
}
input::placeholder, textarea::placeholder { color: #6b7c90 !important; }
input:focus, select:focus, textarea:focus { border-color: var(--bz-blue) !important; box-shadow: 0 0 0 3px rgba(36, 103, 170, .2) !important; outline: none; }
table { border-color: var(--bz-line); }
th { background: var(--bz-paper-2); color: var(--bz-ink); }
blockquote { border-left: 4px solid var(--bz-orange); background: var(--bz-paper); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--bz-text); }
code, pre { background: var(--bz-paper-2); color: var(--bz-navy); border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--bz-line); }

/* ============ 8. NEWSLETTER + FOOTER ============ */
.newsletter-section { background: var(--bz-paper) !important; color: var(--bz-text) !important; border-top: 1px solid var(--bz-line); }
.newsletter-section h2 { color: var(--bz-ink) !important; }
.newsletter-section p, .newsletter-section label { color: var(--bz-text) !important; }
.footer { background: var(--bz-navy) !important; color: #c9d8e8 !important; }
.footer h4, .footer .bz-footer-title { color: #fff !important; letter-spacing: .02em; }
.footer a { color: #dce7f3 !important; }
.footer a:hover { color: var(--bz-sky) !important; }
.footer .footer-tagline { color: #c9d8e8 !important; }
.footer .trust-badges .badge { background: rgba(255, 255, 255, .04) !important; border: 1px solid var(--bz-line-dark) !important; color: #dce7f3 !important; }
.footer .trust-badges i, .footer .footer-contact i { color: var(--bz-orange) !important; }
.footer-bottom { border-top: 1px solid var(--bz-line-dark) !important; color: #aebfd2 !important; }
.footer-bottom a { color: #dce7f3 !important; }
.bz-footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 12px; }
.bz-footer-brand img { width: 48px; height: 48px; }
.bz-footer-word { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.bz-footer-word span { color: var(--bz-orange); }
.bz-footer-pillars { font-weight: 800; color: var(--bz-sky) !important; letter-spacing: .02em; margin: 4px 0 10px; }
.footer .footer-social a { background: rgba(255, 255, 255, .06) !important; border: 1px solid var(--bz-line-dark); }
.floating-cta { display: none !important; } /* replaced by the four-tool rail (section 9) */

/* ============ 9-10. TOOL RAIL + COOKIE BANNER live in brand-tools.css (loaded right after this file) ============ */

/* ============ 11. PHONE UTILITY BAR: one line ============ */
@media (max-width: 600px) {
    .top-bar { gap: 14px; font-size: 13px; padding: 6px 10px; }
    .top-bar .available-badge, .top-bar a[href^="mailto:"] { display: none !important; }
}
