/* =====================================
   Testimonials Slider Styles
   Extracted from includes/header.php
======================================== */

:root {
    --t-accent:      var(--bluelogo, #93010b);
    --t-text:        var(--dark, #0A0C1B);
    --t-muted:       var(--paragraph, #64748B);
    --t-rule:        var(--border, #E2E8F0);
    --t-bg:          var(--light-bg, #F8FAFC);
    --t-quote-color: var(--bluelogo, #93010b);
    --t-speed:       var(--transition, 0.3s cubic-bezier(.4,0,.2,1));
}

.testimonials.section {
    padding: 80px 0 70px;
    background: var(--t-bg);
    font-family: var(--font-family, 'Inter');
}

.testi-slider-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.testi-track-outer {
    overflow: hidden;
}

.testi-track {
    display: flex;
    transition: transform var(--t-speed);
    will-change: transform;
}

.testi-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.testi-card {
    padding: 0 0 40px;
    border-top: 2px solid var(--t-rule);
    position: relative;
}

.testi-open-quote {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--t-quote-color);
    margin-bottom: 4px;
    margin-top: 28px;
    user-select: none;
    pointer-events: none;
}

.testi-body {
    font-size: var(--font-size-lg, 1.125rem);
    line-height: 1.8;
    color: var(--t-text);
    margin: 0 0 32px;
    font-style: normal;
    font-weight: 400;
    padding: 0;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--t-rule);
    padding-top: 20px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    outline: 2px solid var(--t-rule);
    outline-offset: 2px;
}

.testi-author-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testi-name {
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: 700;
    color: var(--t-text);
    letter-spacing: .01em;
}

.testi-meta {
    font-size: var(--font-size-xs, 0.75rem);
    color: var(--t-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.testi-sep {
    color: var(--t-rule);
    font-size: 1rem;
}

.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.testi-arrow {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--t-rule);
    border-radius: var(--radius-full, 9999px);
    background: transparent;
    color: var(--t-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s, color .2s, background .2s;
    flex-shrink: 0;
}

.testi-arrow svg {
    width: 16px;
    height: 16px;
}

.testi-arrow:hover {
    border-color: var(--t-accent);
    background: var(--t-accent);
    color: #fff;
}

.testi-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full, 9999px);
    background: var(--t-rule);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .25s, border-radius .25s;
}

.testi-dot.active {
    background: var(--t-accent);
    width: 24px;
    border-radius: 4px;
}

.testi-empty {
    text-align: center;
    color: var(--t-muted);
    padding: 40px 0;
}

@media (max-width: 600px) {
    .testi-body {
        font-size: var(--font-size-base, 1rem);
    }

    .testi-open-quote {
        font-size: 3.25rem;
    }
}
