/* VSSC Testimonials Grid */
.vssc-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(var(--testi-cols, 2), 1fr);
    gap: var(--testi-gap, 30px);
}

/* ── Card base ── */
.vssc-testi-card {
    position: relative;
    padding: 36px 32px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* Accent top bar */
.vssc-testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #c8a96e;
    transition: width 0.5s ease;
}

.vssc-testi-card:hover::before {
    width: 100%;
}

.vssc-testi-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 169, 110, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Quote icon ── */
.vssc-testi-quote-icon {
    display: block;
    width: 36px;
    height: auto;
    margin-bottom: 20px;
    color: #c8a96e;
    opacity: 0.85;
}

.vssc-testi-quote-icon svg {
    width: 100%;
    height: auto;
}

/* ── Description ── */
.vssc-testi-description {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.vssc-testi-description p {
    margin: 0;
}

/* ── Author ── */
.vssc-testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vssc-testi-author-line {
    flex-shrink: 0;
    width: 32px;
    height: 2px;
    background: #c8a96e;
    border-radius: 2px;
}

.vssc-testi-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vssc-testi-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
}

.vssc-testi-profession {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c8a96e;
    opacity: 0.85;
}

/* ── Scroll animation ── */
.vssc-testi-animate {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.65s ease calc(var(--testi-delay, 0ms)),
        transform 0.65s ease calc(var(--testi-delay, 0ms)),
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.vssc-testi-animate.vssc-testi-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keep hover transform working after animation */
.vssc-testi-animate.vssc-testi-visible:hover {
    transform: translateY(-6px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .vssc-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .vssc-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .vssc-testi-card {
        padding: 28px 22px 22px;
    }
}
