/* ============================================================
   African Adventures Testimonials — Frontend Styles
   ============================================================ */

.aa-testi-section {
    padding: 3rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
    overflow: hidden;
}

.aa-testi-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.aa-testi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.aa-testi-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aa-testi-logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff4ec;
    border: 1.5px solid #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.aa-testi-logo-circle svg { width: 28px; height: 28px; }

.aa-testi-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 10px !important;
    line-height: 1;
}

.aa-testi-heading {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    margin: -2px 0 0;
    line-height: 1.2;
}

/* Nav arrows */
.aa-testi-nav { display: flex; gap: 8px; flex-shrink: 0; }

.aa-testi-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s, color .2s;
    color: #374151;
}

.aa-testi-nav-btn:hover { border-color: #f97316; background: #fff4ec; color: #f97316; }
.aa-testi-nav-btn:disabled { opacity: .35; cursor: not-allowed; }

.aa-testi-nav-btn svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Slider */
.aa-testi-slider-outer {
    overflow: hidden;
    margin: 0 -1.5rem;
    padding: 0.25rem 1.5rem 1rem;
}

.aa-testi-slider-track {
    display: flex;
    gap: 20px;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    align-items: stretch;
}

/* Cards — 4 visible */
.aa-testi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    box-sizing: border-box;
    transition: box-shadow .2s, transform .2s;
}

.aa-testi-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.aa-testi-card--featured { border: 2px solid #f97316; }

.aa-testi-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.aa-testi-stars { display: flex; gap: 3px; }
.aa-testi-star  { width: 15px; height: 15px; }

.aa-testi-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.aa-testi-tag--orange { background: #fff4ec; color: #9a3412; }
.aa-testi-tag--teal   { background: #f0fdf4; color: #166534; }
.aa-testi-tag--blue   { background: #eff6ff; color: #1e40af; }
.aa-testi-tag--purple { background: #f5f3ff; color: #4c1d95; }
.aa-testi-tag--coral  { background: #fff1f0; color: #9b1c1c; }

.aa-testi-quote-mark {
    font-size: 36px;
    font-weight: 700;
    color: #f97316;
    line-height: 1;
    margin-bottom: -6px;
    font-family: Georgia, serif;
}

.aa-testi-excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.75;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aa-testi-read-more {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s;
    margin-top: 2px;
}

.aa-testi-read-more:hover { color: #ea580c; }

.aa-testi-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.aa-testi-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600;
    flex-shrink: 0;
}

.aa-testi-avatar--orange { background: #fff4ec; color: #9a3412; }
.aa-testi-avatar--teal   { background: #f0fdf4; color: #166534; }
.aa-testi-avatar--blue   { background: #eff6ff; color: #1e40af; }
.aa-testi-avatar--purple { background: #f5f3ff; color: #4c1d95; }
.aa-testi-avatar--coral  { background: #fff1f0; color: #9b1c1c; }

.aa-testi-author-name   { font-size: 13px; font-weight: 600; color: #111; margin: 0; }
.aa-testi-author-detail { font-size: 12px; color: #9ca3af; margin: 0; }

/* Dots */
.aa-testi-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1.5rem;
}

.aa-testi-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #d1d5db;
    border: none; padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.aa-testi-dot.is-active { background: #f97316; transform: scale(1.35); }

/* Footer */
.aa-testi-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.aa-testi-divider { flex: 1; height: 1px; background: #e5e7eb; }
.aa-testi-footer-text { font-size: 13px; color: #9ca3af; margin: 0; white-space: nowrap; }

/* Modal */
.aa-testi-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.aa-testi-modal-overlay.is-active { opacity: 1; visibility: visible; }

.aa-testi-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    transform: translateY(16px);
    transition: transform .25s;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.aa-testi-modal-overlay.is-active .aa-testi-modal { transform: translateY(0); }

.aa-testi-modal-close {
    position: absolute; top: 14px; right: 16px;
    background: #f3f4f6; border: none; border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 20px; cursor: pointer; color: #6b7280;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}

.aa-testi-modal-close:hover { background: #e5e7eb; }
.aa-testi-modal-stars { display: flex; gap: 4px; margin-bottom: 10px; }

.aa-testi-modal-tag-row {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 14px;
}

.aa-testi-meta-text { font-size: 12px; color: #9ca3af; }

.aa-testi-modal-quote {
    font-size: 16px; color: #374151; line-height: 1.8;
    border: none; padding: 0; margin: 0 0 1.5rem; font-style: italic;
}

.aa-testi-modal-quote::before {
    content: '\201C';
    font-size: 28px; color: #f97316; font-style: normal;
    line-height: 1; display: block; margin-bottom: 4px;
    font-family: Georgia, serif;
}

.aa-testi-modal-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 1rem; border-top: 1px solid #f3f4f6;
}

.aa-testi-empty { color: #9ca3af; font-style: italic; padding: 2rem 0; text-align: center; }

/* Responsive */
@media (max-width: 1024px) {
    .aa-testi-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 600px) {
    .aa-testi-card { flex: 0 0 85vw; }
    .aa-testi-modal { padding: 1.5rem; }
    .aa-testi-footer { flex-direction: column; gap: 8px; }
    .aa-testi-divider { width: 60px; flex: none; }
    .aa-testi-nav { display: none; }
}
