﻿.testimonials-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 88% 12%, rgba(207, 166, 61, 0.16), transparent 26% ), linear-gradient( 180deg, #f3f7f5 0%, #ffffff 100% );
}

    .testimonials-section::before {
        position: absolute;
        top: -190px;
        left: -170px;
        width: 430px;
        height: 430px;
        border: 1px solid rgba(6, 60, 49, 0.09);
        border-radius: 50%;
        content: "";
    }

.testimonials-heading {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

    .testimonials-heading p {
        max-width: 720px;
        font-size: 1.03rem;
    }

.testimonials-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 26px;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(6, 60, 49, 0.13);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 25px 65px rgba(4, 53, 43, 0.13);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .testimonial-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 34px 80px rgba(4, 53, 43, 0.18);
    }

.testimonial-video {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient( 145deg, #032d25, #0a4b3d );
}

    .testimonial-video video {
        display: block;
        width: 100%;
        max-height: 590px;
        background: #021a16;
        object-fit: contain;
    }

.testimonial-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 13px;
    color: var(--green-950);
    border-radius: 999px;
    background: var(--gold-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    padding: 30px 32px 34px;
}

.testimonial-quote {
    position: absolute;
    top: 11px;
    right: 25px;
    color: rgba(207, 166, 61, 0.22);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1;
}

.testimonial-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.testimonial-content h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 13px;
    color: var(--green-900);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

    .testimonial-person span {
        display: grid;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        place-items: center;
        color: #ffffff;
        border-radius: 50%;
        background: var(--green-800);
        font-weight: 900;
    }

    .testimonial-person strong,
    .testimonial-person small {
        display: block;
    }

    .testimonial-person strong {
        color: var(--green-900);
    }

    .testimonial-person small {
        margin-top: 2px;
        color: var(--muted);
    }

@media (max-width: 620px) {
    .testimonial-video {
        min-height: 260px;
    }

    .testimonial-content {
        padding: 26px 22px 29px;
    }
}
