/* =========================================================
   TESTIMONIALS.CSS — Reviews slider section
   ========================================================= */

.pn-testimonials {
    background: linear-gradient(135deg, #FAF5F2 0%, var(--pn-secondary) 60%, #F9EAE1 100%);
    position: relative;
    overflow: hidden;
}

.pn-testimonials .pn-section-label span {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
}

.pn-testimonials-ticker {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
}

.pn-testimonials-ticker:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 450px;
    background: #fff;
    border-radius: calc(var(--pn-card-radius) * 1.5);
    padding: 40px;
    box-shadow: var(--pn-card-shadow);
    text-align: center;
    position: relative;
    border: 1px solid rgba(214,140,140,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.active { display: block; }

@keyframes testimonialSlide {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 0.5;
    color: var(--pn-primary);
    opacity: 0.12;
    position: absolute;
    top: 30px;
    left: 40px;
}

.testimonial-stars {
    justify-content: center;
    margin-bottom: 20px;
}

.testimonial-stars .star.filled { font-size: 1.2rem; }

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--pn-text);
    font-style: italic;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--pn-primary);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-fallback {
    background: linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--pn-heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(214, 140, 140, 0.3);
}

.testimonial-meta { text-align: left; }

.testimonial-name {
    display: block;
    font-family: var(--pn-heading-font);
    font-size: 1.05rem;
    color: var(--pn-heading);
}

.testimonial-role {
    font-size: 0.82rem;
    color: var(--pn-primary);
    font-weight: 500;
}

/* Decorative leaves */
.testimonials-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-leaf {
    position: absolute;
    font-size: 6rem;
    opacity: 0.06;
    line-height: 1;
}

.deco-leaf-1 { top: -20px; right: 40px; transform: rotate(30deg); font-size: 8rem; }
.deco-leaf-2 { bottom: 0; left: 20px; transform: rotate(-20deg); font-size: 10rem; }
