/* ══════════════════════════════════════════════════════
   Ferbeatz Testimonials — fbz-testimonials.css
   Loaded via wp_enqueue_style() in functions.php
   Do NOT add inline <style> to ferbeatz-testimonials.php
   ══════════════════════════════════════════════════════ */

/* ── Ferbeatz Testimonials ──────────────────────────────────── */
/* padding: 80px 24px — vertical from design, horizontal matches .container (24px).
   Cannot rely on .container alone because the vertical override would zero out
   horizontal padding if written as padding: 80px 0. */
.fbz-test-section { padding: 80px 24px; }
@media (max-width: 560px) { .fbz-test-section { padding: 60px 20px; } }

/* Filter tabs */
.fbz-test-filter-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 36px;
}
.fbz-test-filter-select {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
    padding: 10px 40px 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(253,235,25,0.7)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    min-width: 200px;
    transition: border-color .2s, background .2s;
}
.fbz-test-filter-select:hover,
.fbz-test-filter-select:focus {
    border-color: rgba(253,235,25,.45);
    background-color: rgba(253,235,25,.06);
}
.fbz-test-filter-select option {
    background: #0d1b2e;
    color: #fff;
}

/* Carousel wrapper — positions arrows outside the grid */
.fbz-test-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Grid */
.fbz-test-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-width: 0;
}
@media (max-width: 960px) { .fbz-test-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
    .fbz-test-grid {
        grid-template-columns: 1fr;
        /* Mobile: breathing room so cards don't go edge-to-edge */
        margin: 0 16px;
    }
}

/* Slide-in animation on page change */
@keyframes fbz-test-slide {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fbz-test-slide-in .fbz-test-card {
    animation: fbz-test-slide 0.3s ease both;
}
.fbz-test-slide-in .fbz-test-card:nth-child(2) { animation-delay: .05s; }
.fbz-test-slide-in .fbz-test-card:nth-child(3) { animation-delay: .10s; }

/* Card */
.fbz-test-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 26px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .25s, transform .25s;
}
.fbz-test-card:hover {
    border-color: rgba(253,235,25,.18);
    transform: translateY(-2px);
}
.fbz-test-card--featured {
    border-color: rgba(253,235,25,.16);
    background: rgba(253,235,25,.035);
}

/* Nav arrows (desktop carousel) */
.fbz-test-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.fbz-test-nav:hover:not(:disabled) {
    background: rgba(253,235,25,.12);
    border-color: rgba(253,235,25,.4);
    color: #fdeb19;
    transform: scale(1.08);
}
.fbz-test-nav:disabled { opacity: 0.25; cursor: default; }
@media (max-width: 767px) { .fbz-test-nav { display: none !important; } }

/* Dot indicators */
.fbz-test-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
    min-height: 12px;
}
.fbz-test-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.fbz-test-dot--active {
    background: #fdeb19;
    transform: scale(1.3);
}
@media (max-width: 767px) { .fbz-test-dots { display: none; } }

/* Action buttons row */
.fbz-test-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}
.fbz-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
}
.fbz-test-btn:hover { transform: translateY(-1px); }
/* Load more (mobile) */
.fbz-test-btn--more {
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.75);
}
.fbz-test-btn--more:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}
/* Google Reviews */
.fbz-test-btn--google {
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.75);
}
.fbz-test-btn--google:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.35);
    color: #fff;
}
/* Show/hide helpers */
.fbz-test-mobile-only { display: none; }
@media (max-width: 767px) { .fbz-test-mobile-only { display: inline-flex; } }

/* Stars */
.fbz-test-stars { display: flex; gap: 3px; }
.fbz-test-star   { color: rgba(255,255,255,.12); }
.fbz-test-star--on { color: #fdeb19; }

/* Quote */
.fbz-test-qmark {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: rgba(253,235,25,.28);
    font-family: Georgia, serif;
    margin-bottom: -6px;
}
.fbz-test-quote {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    font-style: italic;
    flex: 1;
}

/* Meta */
.fbz-test-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}
.fbz-test-client     { font-size: 13px; font-weight: 700; color: #fdeb19; letter-spacing: .02em; }
.fbz-test-event-line { font-size: 11px; color: rgba(255,255,255,.45); }

/* Badges */
.fbz-test-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.fbz-test-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.45);
}