
.testimonials-section {
    padding: 110px 0;
    overflow: hidden;
}

.testimonials-left {
    padding-right: 40px;
}

.testimonials-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(20, 155, 215, 0.08);
    border-radius: 100px;
    margin-bottom: 16px;
}

.testimonials-subtitle span {
    font-weight: 600;
    font-size: 14px;
    color: #149bd7;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.testimonials-left h2 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.15;
    color: #004540;
    margin-bottom: 18px;
}

.testimonials-left h2 span {
    color: #149bd7;
}

.testimonials-left .text {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 32px;
}

.testimonials-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 69, 64, 0.1);
}

.testimonials-stat h3 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: #149bd7;
    margin: 0;
}

.testimonials-stat p {
    font-weight: 600;
    font-size: 15px;
    color: #004540;
    margin: 0;
    max-width: 150px;
    line-height: 1.35;
}


.testimonials-slider-wrap {
    position: relative;
}

.testimonial-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 36px;
    padding: 20px;
    background: #004540;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 69, 64, 0.18);
}

.testimonial-card-avatar {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
}

.testimonial-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
    transition: transform 0.6s ease;
}

.testimonial-card-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 30, 28, 0) 45%, rgba(0, 30, 28, 0.45) 100%);
    pointer-events: none;
}

.testimonial-card:hover .testimonial-card-avatar img {
    transform: scale(1.04);
}

/* Tlačítko v rohu, aby nezakrývalo obličej */
.testimonial-play-btn {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px 6px 6px;
    border: 0;
    border-radius: 100px;
    background: #fff;
    color: #004540;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.testimonial-play-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #149bd7;
    color: #fff;
    font-size: 12px;
}

/* Trojúhelník "play" opticky vycentrovat */
.testimonial-play-icon i {
    margin-left: 3px;
}

.testimonial-play-btn:hover {
    background: #004540;
    color: #fff;
    transform: translateY(-2px);
}

.testimonial-card-body {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 16px 0;
}

.testimonial-quote {
    font-size: 34px;
    color: #149bd7;
    margin-bottom: 18px;
}

.testimonial-review {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(248, 247, 240, 0.88);
    margin-bottom: 28px;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid rgba(248, 247, 240, 0.12);
}

.testimonial-author h5 {
    font-weight: 700;
    font-size: 18px;
    color: #f8f7f0;
    margin-bottom: 2px;
}

.testimonial-author h6 {
    font-weight: 400;
    font-size: 14px;
    color: rgba(248, 247, 240, 0.6);
    margin: 0;
}


@media (max-width: 1200px) {
    .testimonials-left h2 {
        font-size: 34px;
    }
    .testimonials-left {
        padding-right: 20px;
    }
    .testimonial-review {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .testimonials-section {
        padding: 80px 0;
    }
    .testimonials-left {
        padding-right: 0;
        margin-bottom: 40px;
    }
    .testimonials-left h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 14px;
    }
    .testimonial-card-avatar {
        aspect-ratio: 16 / 11;
    }
    .testimonial-card-body {
        padding: 4px 10px 14px;
    }
    .testimonial-quote {
        font-size: 26px;
        margin-bottom: 12px;
    }
}
