/*
Theme Name: Burika
Theme URI: https://www.burika.co.za/
Description: Custom WordPress block theme for Burika Group. Dark, conversion-focused, single-CTA design system per the 2026 redesign brief. Hits Lighthouse 90+ all axes.
Author: Burika Group
Version: 1.0.1
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: burika
Tags: custom, business, dark-mode, block-theme, full-site-editing
*/

/* All design tokens live in theme.json. This file holds utility classes that
 * the patterns reference directly via wp:html (so they survive any WP-columns
 * quirks). */

/* ---------- Layout helpers ---------- */
.burika-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .burika-wrap { padding: 0 20px; }
}

.burika-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

.burika-section-link {
    color: #5BBEEC;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.burika-section-eyebrow {
    color: #5BBEEC;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.4;
}

.burika-section-title {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
}

.burika-section-lede {
    color: rgba(255, 255, 255, 0.65);
    font-size: 17px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 0 32px;
}

@media (max-width: 768px) {
    .burika-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Eyebrow chip ---------- */
.burika-eyebrow {
    display: inline-block;
    background: rgba(31, 143, 232, 0.12);
    color: #5BBEEC;
    font-size: 12px;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 18px;
}

/* ---------- Hero ---------- */
.burika-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .burika-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.burika-hero-content {
    min-width: 0;
}

.burika-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.burika-hero-title em {
    color: #5BBEEC;
    font-style: normal;
}

/* ---------- Rotating value-prop word ("running" → "secure" → ...) ---------- */
/* The word cycles through the 7 service pillars. JS (assets/hero-rotator.js)
   swaps the text; CSS handles the fade+lift transition. Solid brand blue —
   matches the primary CTA button so the headline word and the CTA share one
   colour. On its own line so word-width changes never shift surrounding text. */
.burika-rotator-line {
    display: block;
}

.burika-rotator {
    display: inline-block;
    color: #1976D2;
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: opacity, transform;
}

/* Screen-reader-only: announces the full phrase once, so SR users get the
   meaning without hearing the word change every 2 seconds. */
.burika-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.burika-hero-lede {
    color: rgba(255, 255, 255, 0.65);
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
    margin: 20px 0 28px;
}

.burika-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Framed panel with visible grid pattern (matches the original prototype look). */
.burika-hero-visual {
    background: linear-gradient(135deg, rgba(31, 143, 232, 0.10), rgba(91, 190, 236, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.burika-hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(91, 190, 236, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 190, 236, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ---------- RMM live-metrics card(s) ---------- */
.burika-rmm-widget {
    width: 100%;
    /* Semi-transparent so the grid pattern is still visible behind the cards. */
    background: rgba(10, 14, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 14px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
}

/* Security card: same style as operational; only the dot color signals which is which. */

.burika-rmm-widget__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.burika-rmm-widget__dot {
    width: 8px;
    height: 8px;
    background: #10B981; /* green for operational */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: burika-rmm-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Both card dots use the same green pulse; the heading text is the differentiator. */

@keyframes burika-rmm-dot {
    0%, 100% { box-shadow: 0 0 6px rgba(16, 185, 129, 0.5); transform: scale(1); }
    50%      { box-shadow: 0 0 12px rgba(16, 185, 129, 0.9); transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .burika-rmm-widget__dot { animation: none; }
}

.burika-rmm-widget__heading {
    color: rgba(255, 255, 255, 0.55);
}

/* Logo squares as a live-monitoring indicator in the RMM widget header.
   The three brand squares blink in sequence like status lights — a callback
   to the logo plus a "we're watching your systems right now" cue. */
.burika-rmm-squares {
    flex-shrink: 0;
    margin-right: 4px;
}
/* Continuous breathing wave: cycle (1.2s) = squares (3) × stagger (0.4s), so it
   wraps seamlessly with no perceived pause. ease-in-out keeps at least one
   square always rising while another falls — visibly, continuously looping. */
.bk-rmm-sq {
    animation: bk-rmm-blink 1.2s ease-in-out infinite;
}
.bk-rmm-sq1 { animation-delay: 0s; }
.bk-rmm-sq2 { animation-delay: 0.4s; }
.bk-rmm-sq3 { animation-delay: 0.8s; }
@keyframes bk-rmm-blink {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .bk-rmm-sq { animation: none; opacity: 1; }
}

.burika-rmm-widget__list {
    margin: 0;
    padding: 0;
}

.burika-rmm-widget__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.burika-rmm-widget__row .burika-rmm-widget__label { min-width: 0; }
.burika-rmm-widget__row .burika-rmm-widget__value { flex-shrink: 0; }

.burika-rmm-widget__row:last-of-type { border-bottom: 0; }

.burika-rmm-widget__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin: 0;
}

.burika-rmm-widget__value {
    color: #5BBEEC;
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* Numbers stay cyan blue on both cards for visual consistency. */

.burika-rmm-widget__unit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-left: 4px;
}

.burika-rmm-widget__footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    letter-spacing: 0.3px;
}

@media (max-width: 900px) {
    .burika-hero-visual { padding: 0; }
    .burika-rmm-widget__value { font-size: 18px; }
}

/* ---------- Buttons (custom, bypasses WP button block bugs) ---------- */
.burika-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Bg darkened from #1F8FE8 to #1976D2 for WCAG AA contrast (4.61:1 vs. white).
 * Hover goes one step darker. Still recognisably "Burika blue", passes audits. */
.burika-btn--primary { background: #1976D2; color: #fff; position: relative; overflow: hidden; }
.burika-btn--primary:hover { background: #1565C0; transform: translateY(-1px); color: #fff; }
/* Diagonal light streak sweeps across on hover. */
.burika-btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.burika-btn--primary:hover::after { animation: bk-btn-shine 0.85s ease; }
@keyframes bk-btn-shine { to { left: 130%; } }

@media (prefers-reduced-motion: reduce) {
    .burika-card:hover,
    .burika-card:focus-within,
    .burika-tool-card:hover,
    .burika-tool-card:focus-within,
    .burika-rmm-cap:hover,
    .burika-rmm-cap:focus-within { transform: none; }
    .burika-btn--primary:hover { transform: none; }
    .burika-btn--primary:hover::after { animation: none; }
}

/* ---------- Hero particle-network background ---------- */
.burika-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}
@media (prefers-reduced-motion: reduce) {
    .burika-hero-canvas { display: none; }
}

/* ---------- Hero background: cinematic logo-reveal (subtle, looping) ---------- */
.burika-hero-reveal-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}
.burika-hero-reveal-bg iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transition: opacity 1.2s ease;
}
@media (prefers-reduced-motion: reduce) {
    .burika-hero-reveal-bg { display: none; }
}

/* ---------- "Watch our reveal" button + lightbox ---------- */
.burika-watch-reveal {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    background: none;
    border: 0;
    color: #6fcdf2;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 4px 2px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    /* Neon glow that gently pulses to draw the eye. */
    text-shadow: 0 0 8px rgba(91, 190, 236, 0.55), 0 0 18px rgba(91, 190, 236, 0.3);
    animation: bk-watch-glow 2.4s ease-in-out infinite;
}
.burika-watch-reveal:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(91, 190, 236, 0.95), 0 0 26px rgba(91, 190, 236, 0.6);
}
@keyframes bk-watch-glow {
    0%, 100% { text-shadow: 0 0 6px rgba(91, 190, 236, 0.4), 0 0 14px rgba(91, 190, 236, 0.22); }
    50%      { text-shadow: 0 0 13px rgba(91, 190, 236, 0.9), 0 0 28px rgba(91, 190, 236, 0.5); }
}
.burika-watch-reveal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(91, 190, 236, 0.18);
    font-size: 9px;
    padding-left: 2px;
    animation: bk-watch-ring 2.4s ease-in-out infinite;
}
@keyframes bk-watch-ring {
    0%, 100% { box-shadow: 0 0 7px rgba(91, 190, 236, 0.4); }
    50%      { box-shadow: 0 0 16px rgba(91, 190, 236, 0.8); }
}
.burika-watch-reveal:hover .burika-watch-reveal__icon {
    background: rgba(91, 190, 236, 0.32);
    box-shadow: 0 0 18px rgba(91, 190, 236, 0.85);
}
@media (prefers-reduced-motion: reduce) {
    .burika-watch-reveal,
    .burika-watch-reveal__icon { animation: none; }
}

.burika-reveal-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.burika-reveal-modal.is-open { display: flex; }
.burika-reveal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 12, 0.88);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.burika-reveal-modal__box {
    position: relative;
    z-index: 1;
    width: min(92vw, 960px);
}
.burika-reveal-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 84vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.burika-reveal-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.burika-reveal-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #0A0E1A;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
@media (max-width: 600px) {
    .burika-reveal-modal__close { top: 8px; right: 8px; }
}

/* ---------- Logo reveal section (cinematic brand animation) ---------- */
.burika-reveal-section { background: #000; width: 100%; }
.burika-reveal-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(420px, 60vw, 680px);
    background: #000;
    overflow: hidden;
}
.burika-reveal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.burika-reveal-static { max-width: 220px; height: auto; }

/* ---------- Scroll reveal (homepage only) ----------
 * Hidden state gated by .bk-js (added in <head> on the front page), so no-JS
 * visitors and all inner pages are unaffected — and there's no flash of hidden
 * content. JS adds .is-revealed via IntersectionObserver. Opacity/transform
 * only, so no layout shift (CLS-safe). */
.bk-js .burika-stats-section,
.bk-js .burika-vendors-section,
.bk-js .burika-section-head,
.bk-js .burika-testimonial-section,
.bk-js .burika-cta-banner,
.bk-js .burika-services-grid > *,
.bk-js .burika-industries-grid > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bk-js .burika-stats-section.is-revealed,
.bk-js .burika-vendors-section.is-revealed,
.bk-js .burika-section-head.is-revealed,
.bk-js .burika-testimonial-section.is-revealed,
.bk-js .burika-cta-banner.is-revealed,
.bk-js .burika-services-grid > .is-revealed,
.bk-js .burika-industries-grid > .is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .bk-js .burika-stats-section,
    .bk-js .burika-vendors-section,
    .bk-js .burika-section-head,
    .bk-js .burika-testimonial-section,
    .bk-js .burika-cta-banner,
    .bk-js .burika-services-grid > *,
    .bk-js .burika-industries-grid > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.burika-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.burika-btn--ghost:hover { border-color: #5BBEEC; color: #5BBEEC; }

/* ---------- Section padding helpers ---------- */
.burika-stats-section { padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.burika-vendors-section { padding: 32px 0; }
.burika-testimonial-section { padding: 80px 0; }
@media (max-width: 768px) {
    .burika-testimonial-section { padding: 56px 0; }
}

/* ---------- Stats strip ---------- */
.burika-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.burika-stats__item {
    background: #0A0E1A;
    padding: 24px 18px;
    text-align: center;
    cursor: default;
    transition: background 0.2s ease;
}

.burika-stats__item:hover,
.burika-stats__item:focus {
    background: rgba(31, 143, 232, 0.06);
    outline: none;
}

.burika-stats__num {
    transition: color 0.2s ease;
}

.burika-stats__item:hover .burika-stats__num,
.burika-stats__item:focus .burika-stats__num {
    color: #fff;
}

.burika-stats__num {
    color: #5BBEEC;
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.burika-stats__label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .burika-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Service & industry cards ---------- */
.burika-services-grid {
    display: grid;
    /* 4 columns on desktop. Row 1: RMM / Backup / Networking / HW+SW.
     * Row 2: Cyber / Compliance / AI (AI spans 2 to fill the row cleanly
     * and earn the visual emphasis it deserves as the new pillar). */
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.burika-services-grid .burika-card--ai {
    grid-column: span 2;
    position: relative;
    background: linear-gradient(135deg, rgba(91, 190, 236, 0.06) 0%, rgba(245, 166, 35, 0.04) 100%);
    border-color: rgba(91, 190, 236, 0.25);
}

.burika-services-grid .burika-card--ai:hover {
    border-color: rgba(91, 190, 236, 0.5);
    transform: translateY(-2px);
}

.burika-card__new-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #F5A623;
    color: #0a0e1a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 9px;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(245, 166, 35, 0.35);
}

.burika-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 1200px) {
    /* On tablet/laptop: 3 cols. AI card no longer spans (would fill row 3 alone). */
    .burika-services-grid { grid-template-columns: repeat(3, 1fr); }
    .burika-services-grid .burika-card--ai { grid-column: span 1; }
    .burika-industries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .burika-services-grid { grid-template-columns: 1fr 1fr; }
    .burika-industries-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .burika-services-grid { grid-template-columns: 1fr; }
    .burika-industries-grid { grid-template-columns: 1fr; }
}

.burika-card {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.burika-card:hover,
.burika-card:focus-within {
    border-color: #2AA8FF;
    background: rgba(31, 143, 232, 0.08);
    transform: translateY(-7px);
    box-shadow: 0 14px 34px rgba(42, 168, 232, 0.24);
}

.burika-card--industry { padding: 20px; }

.burika-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(31, 143, 232, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5BBEEC;
    margin-bottom: 18px;
}

.burika-card--industry .burika-card__icon { margin-bottom: 10px; }

.burika-card__icon svg { width: 22px; height: 22px; }

.burika-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.burika-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.burika-card__more {
    color: #5BBEEC;
    font-size: 14px;
    font-weight: 500;
}

.burika-card__also {
    /* Was rgba(255,255,255,0.4) — failed WCAG AA contrast (3.79:1).
     * Bumped to 0.65 alpha → ~5.5:1 ratio. */
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sub-service tags — spotlight effect: one tag lit at a time in orange,
   no fade. 6s cycle, lit for 1s of it (16.67%). Each tag's delay is set
   inline in the pattern PHP so the spotlight jumps in a random-feel order. */
.burika-card__also-item {
    display: inline;
    color: rgba(255, 255, 255, 0.65); /* Was 0.4 — failed WCAG AA */
    animation: burika-tag-snap 6s infinite;
    /* `steps(1, end)` snaps between keyframe values with no interpolation —
       hard on/off look instead of a fade. */
    animation-timing-function: steps(1, end);
}

.burika-card__also-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.5); /* Was 0.3 — bumped for contrast consistency */
}

@keyframes burika-tag-snap {
    /* 0% to 16.66% (1s) = lit orange. Then snap off for rest of 6s cycle. */
    0% {
        color: #F5A623;
        font-weight: 600;
        text-shadow: 0 0 6px rgba(245, 166, 35, 0.35);
    }
    16.67%, 100% {
        /* Was 0.4 — that overrode the base-class 0.65 fix during the "rest"
         * state of the animation, leaving Lighthouse still flagging contrast.
         * Now matches the WCAG-AA-passing 0.65 alpha. */
        color: rgba(255, 255, 255, 0.65);
        font-weight: 400;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .burika-card__also-item {
        animation: none;
        color: rgba(255, 255, 255, 0.7);
    }
}

.burika-card__industry-name {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

/* ---------- Testimonial reel (vertical-scroll carousel) ---------- */
.burika-testimonial-reel {
    max-width: 800px;
    margin: 0 auto;
    height: 240px; /* fixed window — fits the longest current quote on desktop */
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.burika-testimonial-reel__track {
    display: flex;
    flex-direction: column;
    /* 2 unique testimonials + duplicate of #1 for seamless loop = 3 cells */
    animation: burika-testimonial-reel 14s ease-in-out infinite;
    will-change: transform;
}

.burika-testimonial-reel:hover .burika-testimonial-reel__track,
.burika-testimonial-reel:focus-within .burika-testimonial-reel__track {
    animation-play-state: paused;
}

.burika-testimonial {
    background: rgba(31, 143, 232, 0.05);
    border-left: 3px solid #1F8FE8;
    border-radius: 0 8px 8px 0;
    padding: 28px 32px;
    margin: 0;
    height: 240px; /* must equal reel height so each card fills exactly one window */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.burika-testimonial__quote {
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 16px;
    color: #fff;
}

.burika-testimonial__attr {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-style: normal;
}

/*
 * Vertical reel timing for 2 testimonials (track of 3 cards including the loop dupe):
 *   0%   – 42%  hold testimonial 1
 *   42%  – 50%  slide up to testimonial 2
 *   50%  – 92%  hold testimonial 2
 *   92%  – 100% slide up to duplicate of testimonial 1 (identical to start, so the
 *                loop restart is invisible)
 */
@keyframes burika-testimonial-reel {
    0%, 42%   { transform: translateY(0); }
    50%, 92%  { transform: translateY(-240px); }
    100%      { transform: translateY(-480px); }
}

@media (prefers-reduced-motion: reduce) {
    .burika-testimonial-reel {
        height: auto;
        -webkit-mask-image: none;
                mask-image: none;
    }
    .burika-testimonial-reel__track { animation: none; }
    .burika-testimonial { height: auto; margin-bottom: 16px; }
    .burika-testimonial[aria-hidden="true"] { display: none; }
}

@media (max-width: 768px) {
    .burika-testimonial-reel { height: 260px; }
    .burika-testimonial { height: 260px; padding: 24px 22px; }
    .burika-testimonial__quote { font-size: 18px; }
    @keyframes burika-testimonial-reel {
        0%, 42%   { transform: translateY(0); }
        50%, 92%  { transform: translateY(-260px); }
        100%      { transform: translateY(-520px); }
    }
}

/* ---------- Support tools grid ---------- */
.burika-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.burika-tool-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.burika-tool-card:hover,
.burika-tool-card:focus-within {
    border-color: #2AA8FF;
    background: rgba(31, 143, 232, 0.08);
    transform: translateY(-7px);
    box-shadow: 0 14px 34px rgba(42, 168, 232, 0.24);
}

.burika-tool-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(31, 143, 232, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5BBEEC;
}

.burika-tool-card__icon svg { width: 20px; height: 20px; }

/* Wordmark-brand variant (Yealink, Logitech) — wider logo plate instead of the
   square icon, since those brands have no compact symbol mark. */
.burika-tool-card__logo {
    height: 40px;
    display: flex;
    align-items: center;
}
.burika-tool-card__logo img {
    height: 22px;
    width: auto;
    max-width: 130px;
    opacity: 0.85;
}

.burika-tool-card__title {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.burika-tool-card__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.burika-tool-card__meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.burika-tool-card__downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.burika-tool-card__download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #1F8FE8;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.burika-tool-card__download:hover { background: #1A7EC8; }

.burika-tool-card__download--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.burika-tool-card__download--ghost:hover { background: rgba(255, 255, 255, 0.04); }

/* ---------- Vendors marquee (auto-scroll, seamless loop) ---------- */
.burika-vendors__label {
    /* Base ~0.65 white kept for WCAG AA (~5.1:1); a brighter cyan-blue "scanner"
       band sweeps back and forth across the glyphs — Knight Rider / KITT effect. */
    color: rgba(255, 255, 255, 0.65); /* fallback if background-clip:text unsupported */
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    /* Hug the words so the scanner sweep spans only "VENDORS & PARTNERS",
       not the full-width container. Centred via auto side-margins. */
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 18px;
    background-image: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.6) 37%,
        #5BBEEC 42%,
        #2AA8FF 46%,
        #A6E6FF 48.5%,
        #FFFFFF 50%,   /* pure white blinding core */
        #A6E6FF 51.5%,
        #2AA8FF 54%,
        #5BBEEC 58%,
        rgba(255, 255, 255, 0.6) 63%,
        rgba(255, 255, 255, 0.6) 100%
    );
    background-size: 300% 100%;
    background-position: 0% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bk-vendors-scan 3.2s ease-in-out infinite alternate;
}

@keyframes bk-vendors-scan {
    from { background-position: 0% 0; }   /* beam off to the right */
    to   { background-position: 100% 0; } /* beam off to the left  */
}

@media (prefers-reduced-motion: reduce) {
    .burika-vendors__label {
        animation: none;
        background-image: none;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.65);
    }
}

.burika-marquee {
    overflow: hidden;
    /* Soft fade at left + right edges so logos enter/exit smoothly. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.burika-marquee__track {
    display: flex;
    width: max-content;
    animation: burika-marquee-scroll 45s linear infinite;
    will-change: transform;
}

.burika-marquee:hover .burika-marquee__track,
.burika-marquee:focus-within .burika-marquee__track {
    animation-play-state: paused;
}

.burika-marquee__strip {
    display: flex;
    align-items: center;
    gap: 64px;
    padding-right: 64px; /* gap between strip 1 end and strip 2 start */
    flex-shrink: 0;
}

.burika-marquee__strip img {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.45;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
    filter: brightness(1.1);
    cursor: pointer;
}

.burika-marquee__strip img:hover,
.burika-marquee__strip img:focus {
    opacity: 1;
    transform: scale(1.15);
    filter: brightness(1.8) drop-shadow(0 0 8px rgba(31, 143, 232, 0.5));
}

@keyframes burika-marquee-scroll {
    from { transform: translateX(0); }
    /* Two identical strips concatenated => translating by -50% lands us
       at the start of strip 2, which looks identical to strip 1's start. */
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .burika-marquee__track { animation: none; }
    .burika-marquee__strip[aria-hidden="true"] { display: none; }
    .burika-marquee__strip { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 768px) {
    .burika-marquee__strip img { height: 28px; }
    .burika-marquee__strip { gap: 40px; padding-right: 40px; }
}

/* ============================================================================
 * Contact page (head office + offices grid)
 * ========================================================================== */
.burika-contact-hero {
    padding: 80px 0 60px;
}

.burika-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.burika-contact-form-side .burika-section-eyebrow { margin-bottom: 12px; }

.burika-contact-title {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 18px;
}

.burika-contact-lede {
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 560px;
}

.burika-contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
}

.burika-contact-form-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #5BBEEC;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.burika-contact-form-card__lede {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 22px;
}

.burika-form-opt {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-left: 2px;
}

.burika-contact-info-side {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
}

.burika-office-card__name {
    font-size: 22px;
    font-weight: 600;
    color: #5BBEEC;
    margin: 0 0 24px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.burika-office-card__badge {
    font-size: 14px;
    color: rgba(91, 190, 236, 0.7);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.burika-contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.burika-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.burika-contact-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.burika-contact-details a:hover {
    color: #5BBEEC;
}

.burika-contact-details__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #5BBEEC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burika-contact-details__icon svg {
    width: 18px;
    height: 18px;
}

.burika-contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
    background: #f0f0f0; /* shows behind iframe while loading */
}

.burika-contact-map iframe {
    display: block;
    /* Subtle dark-mode treatment so the Google iframe doesn't blast white. */
    filter: invert(0.92) hue-rotate(180deg) brightness(0.9) contrast(0.95);
}

/* Offices section (the lighter strip in your reference) */
.burika-offices-section {
    padding: 60px 0 80px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.burika-offices-section__title {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 28px;
    letter-spacing: 0.3px;
}

.burika-offices-grid {
    display: grid;
    /* Adapts to however many office cards exist (currently 2; can grow). */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.burika-office-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.burika-office-card:hover {
    border-color: rgba(31, 143, 232, 0.3);
    background: rgba(31, 143, 232, 0.04);
    transform: translateY(-2px);
}

.burika-office-card .burika-office-card__name {
    font-size: 17px;
    margin-bottom: 18px;
}

.burika-contact-details--compact { margin-bottom: 0; gap: 10px; }
.burika-contact-details--compact li { font-size: 14px; }
.burika-contact-details--compact .burika-contact-details__icon { width: 18px; height: 18px; }
.burika-contact-details--compact .burika-contact-details__icon svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
    .burika-contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .burika-offices-grid { grid-template-columns: 1fr; gap: 14px; }
    .burika-contact-hero { padding: 56px 0 40px; }
    .burika-offices-section { padding: 40px 0 56px; }
    .burika-contact-info-side { padding: 22px; }
    .burika-contact-form-card { padding: 22px; }
}

/* ============================================================================
 * RMM service detail page
 * ========================================================================== */

.burika-rmm-hero {
    padding: 80px 0 40px;
}

.burika-rmm-hero__title {
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 12px 0 16px;
    color: #fff;
}

.burika-rmm-hero__tagline {
    font-size: clamp(18px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
    max-width: 760px;
    line-height: 1.5;
}

.burika-rmm-hero__sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 760px;
}

/* --- "What it is" explainer (two-column on desktop) --- */
.burika-rmm-explain {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.burika-rmm-explain__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.burika-rmm-explain__body p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.burika-rmm-explain__body p:last-child { margin-bottom: 0; }
.burika-rmm-explain__body strong { color: #fff; font-weight: 600; }
.burika-rmm-explain__body em { color: #5BBEEC; font-style: normal; }

/* --- Capabilities grid (used in "watches" + "transparency") --- */
.burika-rmm-watches,
.burika-rmm-transparency {
    padding: 80px 0;
}

.burika-rmm-capabilities,
.burika-rmm-transparency__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.burika-rmm-cap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 24px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.burika-rmm-cap:hover,
.burika-rmm-cap:focus-within {
    border-color: #2AA8FF;
    background: rgba(31, 143, 232, 0.08);
    transform: translateY(-7px);
    box-shadow: 0 14px 34px rgba(42, 168, 232, 0.24);
}

.burika-rmm-cap__icon {
    width: 40px;
    height: 40px;
    background: rgba(91, 190, 236, 0.10);
    border-radius: 8px;
    color: #5BBEEC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.burika-rmm-cap__icon svg { width: 20px; height: 20px; }

.burika-rmm-cap h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.burika-rmm-cap p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.burika-rmm-cap p a { color: #5BBEEC; text-decoration: none; }
.burika-rmm-cap p a:hover { color: #fff; }

/* --- "Runs while you sleep" automated checklist --- */
.burika-rmm-automated {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.burika-rmm-automated__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.burika-rmm-automated__copy .burika-section-lede {
    margin-bottom: 0;
}

.burika-rmm-automated__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

.burika-rmm-automated__list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.burika-rmm-automated__tick {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

/* Pill-shaped year badge for timeline entries (About page). Wider than the
   round __tick so 4-digit years sit on one line and read cleanly. */
.burika-rmm-automated__year {
    flex-shrink: 0;
    min-width: 56px;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
    margin-top: 1px;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .burika-rmm-explain__grid,
    .burika-rmm-automated__grid { grid-template-columns: 1fr; gap: 28px; }
    .burika-rmm-automated__list { grid-template-columns: 1fr; }
    .burika-rmm-hero { padding: 56px 0 32px; }
    .burika-rmm-watches,
    .burika-rmm-transparency,
    .burika-rmm-automated { padding: 56px 0; }
    .burika-rmm-explain { padding: 40px 0; }
}

/* ---------- CTA banner ---------- */
.burika-cta-banner {
    background: linear-gradient(135deg, rgba(31, 143, 232, 0.08), rgba(91, 190, 236, 0.03));
    border-top: 1px solid rgba(31, 143, 232, 0.2);
    padding: 80px 32px;
    text-align: center;
}

.burika-cta-banner__inner { padding-left: 0; padding-right: 0; }

.burika-cta-banner__title {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 600;
    margin: 0 0 12px;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.burika-cta-banner__sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 640px;
}

@media (max-width: 768px) {
    .burika-cta-banner { padding: 56px 24px; }
}

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.burika-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 32px;
}

.burika-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.burika-header__brand-icon { display: inline-flex; }

/* Inline SVG logo — the new B + data squares mark */
.burika-logo-svg {
    height: 60px;
    width: auto;
    display: block;
}

/* Square cascade: the three data squares pop in sequence on load, then rest.
   Replays on hover (JS toggles .is-animating). Squares default to visible so
   the logo is intact even without JS / with reduced motion. */
.bk-sq {
    transform-box: fill-box;
    transform-origin: center;
}
.burika-logo-svg.is-animating .bk-sq {
    animation: bk-sq-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.burika-logo-svg.is-animating .bk-sq1 { animation-delay: 0s; }
.burika-logo-svg.is-animating .bk-sq2 { animation-delay: 0.13s; }
.burika-logo-svg.is-animating .bk-sq3 { animation-delay: 0.26s; }

@keyframes bk-sq-pop {
    0%   { opacity: 0; transform: scale(0.2); }
    60%  { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

/* Continuous breathing blink — the squares keep gently pulsing forever (live
   indicator). Runs on the inner <path> (opacity) while the cascade pop runs on
   the wrapping <g> (transform), so the two never conflict. Seamless wrap:
   3 squares × 0.4s stagger = 1.2s cycle. */
.burika-logo-svg .bk-sq > path {
    animation: bk-sq-breathe 1.2s ease-in-out infinite;
}
.burika-logo-svg .bk-sq1 > path { animation-delay: 0s; }
.burika-logo-svg .bk-sq2 > path { animation-delay: 0.4s; }
.burika-logo-svg .bk-sq3 > path { animation-delay: 0.8s; }
@keyframes bk-sq-breathe {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* Wordmark + tagline lockup beside the icon (Variant A — subtle) */
.burika-header__lockup {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.burika-header__wordmark {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: #fff;
    text-transform: uppercase;
}

.burika-header__tagline {
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin-top: 7px;
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .burika-logo-svg.is-animating .bk-sq { animation: none; }
    .burika-logo-svg .bk-sq > path { animation: none; opacity: 1; }
}

@media (max-width: 1024px) {
    /* On tablet, drop the wordmark to give the nav room to breathe. */
    .burika-header__lockup { display: none; }
}

@media (max-width: 900px) {
    .burika-logo-svg { height: 46px; }
}

.burika-header__nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.burika-header__nav a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.burika-header__nav a:hover { color: #5BBEEC; }

.burika-btn--sm { padding: 8px 14px; font-size: 13px; }

.burika-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.burika-header__link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.burika-header__link:hover { color: #5BBEEC; }

/* ---------- Footer bottom strip (3-column with internal links right-aligned) ---------- */
.burika-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.burika-footer__bottom-line {
    color: rgba(255, 255, 255, 0.65); /* Was 0.4 — WCAG AA contrast fix */
    font-size: 13px;
    margin: 0;
}

.burika-footer__bottom-line--center { text-align: center; }
.burika-footer__bottom-line--right  { text-align: right; }

.burika-footer__bottom-line a {
    color: rgba(255, 255, 255, 0.65); /* Was 0.4 — WCAG AA fix for footer Tools/Staff Login */
    text-decoration: none;
    transition: color 0.15s ease;
}

.burika-footer__bottom-line a:hover { color: #5BBEEC; }

.burika-footer__sep {
    margin: 0 8px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .burika-footer__bottom {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .burika-footer__bottom-line--center,
    .burika-footer__bottom-line--right { text-align: left; }
}

/* ============================================================================
 * Footer link touch targets — Lighthouse a11y fix.
 * Default footer list items had tap area < 24x24px and were too close together.
 * 12px vertical padding gives ~36px tap area, well over WCAG AAA 24x24 minimum.
 * ========================================================================== */
.burika-footer .wp-block-list li,
footer .wp-block-list li {
    margin: 0;
}
.burika-footer .wp-block-list li a,
footer .wp-block-list.is-style-no-bullets li a {
    display: inline-block;
    padding: 6px 0;
    min-height: 24px;
    line-height: 1.4;
}

/* ============================================================================
 * Footer brand lockup (icon + wordmark) — matches header treatment
 * ========================================================================== */
.burika-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.burika-footer__brand img {
    width: auto;
    height: 50px;
    object-fit: contain;
    display: block;
}

.burika-footer__brand-name {
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}


.burika-header__actions {
    display: flex;
    gap: 8px;
}

.burika-header__hamburger {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .burika-header__nav,
    .burika-header__actions { display: none; }
    .burika-header__hamburger { display: block; }
    .burika-header { padding: 14px 20px; }
}

/* ---------- Defensive: stop WP's word-break:break-word from shredding text ---------- */
.burika-wrap *,
.burika-card *,
.burika-hero-content * {
    word-break: normal;
    overflow-wrap: anywhere;
}

/* ============================================================================
 * Contact form (custom, no plugin dependency)
 * ========================================================================== */
.burika-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Honeypot - hidden from humans, visible to bots */
.burika-honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.burika-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.burika-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.burika-form-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.burika-form-required { color: #F5A623; }

.burika-contact-form input[type="text"],
.burika-contact-form input[type="email"],
.burika-contact-form input[type="tel"],
.burika-contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.burika-contact-form input::placeholder,
.burika-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.burika-contact-form input:focus,
.burika-contact-form textarea:focus {
    outline: none;
    border-color: #5BBEEC;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(91, 190, 236, 0.15);
}

.burika-contact-form textarea {
    resize: vertical;
    min-height: 96px;
}

.burika-form-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.burika-form-fieldset .burika-form-label {
    font-size: 12.5px;
    margin-bottom: 0;
}

.burika-form-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Chip = checkbox + label. The actual checkbox is hidden; we style the label. */
.burika-form-chip {
    cursor: pointer;
    position: relative;
}

.burika-form-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.burika-form-chip span {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.burika-form-chip:hover span {
    border-color: rgba(91, 190, 236, 0.4);
    color: #fff;
}

.burika-form-chip input:checked + span {
    background: rgba(31, 143, 232, 0.18);
    border-color: #1F8FE8;
    color: #fff;
}

.burika-form-chip input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(91, 190, 236, 0.25);
}

.burika-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.burika-form-foot {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.burika-form-foot a { color: #25D366; text-decoration: none; }
.burika-form-foot a:hover { color: #5BBEEC; }

/* --- Status messages --- */
.burika-form-msg {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
}

.burika-form-msg--success {
    background: rgba(16, 185, 129, 0.10);
    border-left: 3px solid #10B981;
    color: #d1fae5;
}

.burika-form-msg--error {
    background: rgba(239, 68, 68, 0.10);
    border-left: 3px solid #EF4444;
    color: #fecaca;
}

.burika-form-msg a { color: #fff; text-decoration: underline; }

@media (max-width: 600px) {
    .burika-form-row { grid-template-columns: 1fr; }
    .burika-form-actions { flex-direction: column; align-items: stretch; }
    .burika-form-foot { text-align: center; }
}

/* ============================================================================
 * Floating WhatsApp chat widget
 * ========================================================================== */
.burika-wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    font-family: var(--wp--preset--font-family--inter, Inter, -apple-system, system-ui, sans-serif);
}

/* --- Floating bubble (always visible) --- */
.burika-wa-bubble {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366; /* official WhatsApp green */
    border: 0;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    padding: 0;
}

.burika-wa-bubble:hover { transform: scale(1.06); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32); }
.burika-wa-bubble svg { width: 28px; height: 28px; }

/* Subtle pulse halo to draw attention without being aggressive */
.burika-wa-bubble__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: burika-wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes burika-wa-pulse {
    0%   { transform: scale(1);   opacity: 0.45; }
    70%  { transform: scale(1.8); opacity: 0;    }
    100% { transform: scale(1.8); opacity: 0;    }
}

.burika-wa-widget.is-open .burika-wa-bubble__pulse { display: none; }

@media (prefers-reduced-motion: reduce) {
    .burika-wa-bubble__pulse { animation: none; opacity: 0; }
}

/* --- Slide-up panel (hidden by default) --- */
.burika-wa-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.burika-wa-widget.is-open .burika-wa-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Close X — top right of panel */
.burika-wa-panel__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s;
}

.burika-wa-panel__close:hover { background: rgba(255, 255, 255, 0.35); }

/* Green header band */
.burika-wa-panel__header {
    background: #25D366;
    color: #fff;
    padding: 18px 44px 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.burika-wa-panel__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burika-wa-panel__icon svg { width: 18px; height: 18px; }

.burika-wa-panel__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.burika-wa-panel__lede {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12.5px;
    margin: 0;
    line-height: 1.4;
}

/* Body with contact entries */
.burika-wa-panel__body {
    padding: 14px 14px 16px;
    background: #f5f6f8;
}

.burika-wa-panel__hint {
    color: rgba(0, 0, 0, 0.45);
    font-size: 11.5px;
    margin: 0 0 10px;
    text-align: center;
}

/* Single contact "row" */
.burika-wa-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-left: 4px solid #25D366;
    border-radius: 6px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.burika-wa-contact:hover {
    background: #f0fff5;
    transform: translateX(2px);
}

.burika-wa-contact__avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burika-wa-contact__avatar svg { width: 18px; height: 18px; }

.burika-wa-contact__name {
    flex: 1;
    color: #25292e;
    font-size: 14px;
    font-weight: 600;
}

.burika-wa-contact__arrow {
    color: #25D366;
    flex-shrink: 0;
    display: flex;
}

.burika-wa-contact__arrow svg { width: 20px; height: 20px; }

/* Mobile tweaks */
@media (max-width: 600px) {
    .burika-wa-widget { bottom: 16px; right: 16px; }
    .burika-wa-bubble { width: 52px; height: 52px; }
    .burika-wa-bubble svg { width: 26px; height: 26px; }
    .burika-wa-panel { bottom: 66px; width: 300px; }
}

/* ---------- Focus ring (a11y, hits WCAG 2.1 AA) ---------- */
:focus-visible {
    outline: 2px solid #5BBEEC;
    outline-offset: 2px;
}
