.env-testimonials {
    padding: 100px 0;
    background: #27272c;
}

.env-testimonials__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
}

.env-testimonials__label {
    color: #e0572a;
    font-family: var(--font-aeonik);
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.env-testimonials__title {
    margin: 0;
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
}

.env-testimonials__single,
.env-testimonials__slider {
    width: 100%;
}

.env-testimonials__slider {
    overflow: hidden;
}

.env-testimonials__slider .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.env-testimonials__slider .swiper-slide {
    height: auto;
}

.env-testimonials__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100%;
    text-align: center;
}

.env-testimonials__quote-wrap {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin-bottom: 28px;
    padding: 16px clamp(56px, 6vw, 92px) 40px;
}

.env-testimonials__quote-mark {
    position: absolute;
    z-index: 0;
    color: #e0572a;
    font-family: var(--font-aeonik);
    font-size: 6.5rem;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
}

.env-testimonials__quote-mark--start {
    top: -0.08em;
    left: 0;
}

.env-testimonials__quote-mark--end {
    right: 0;
    bottom: -0.18em;
}

.env-testimonials__quote {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.42;
    text-wrap: pretty;
}

.env-testimonials__quote p {
    margin: 0 0 1rem;
}

.env-testimonials__quote p:last-child {
    margin-bottom: 0;
}

.env-testimonials__person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    color: #fff;
    text-align: center;
}

.env-testimonials__person-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.env-testimonials__person-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.env-testimonials__person-name {
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.env-testimonials__person-meta {
    color: rgba(255, 255, 255, 0.66);
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 1.4;
}

.env-testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.env-testimonials__progress {
    display: flex;
    width: 200px;
    height: 1px;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.2);
}

.env-testimonials__progress-bar {
    width: 0;
    height: 100%;
    background: #e0572a;
    transition: width 0.3s ease;
}

.env-testimonials__nav {
    display: flex;
    gap: 10px;
}

.env-testimonials__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.env-testimonials__nav-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.env-testimonials__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .env-testimonials {
        padding: 60px 0;
    }

    .env-testimonials__title {
        font-size: 28px;
    }

    .env-testimonials__quote-mark {
        font-size: 5rem;
    }

    .env-testimonials__quote-wrap {
        padding-inline: 44px;
    }

    .env-testimonials__quote-mark--start {
        left: 0;
    }

    .env-testimonials__quote-mark--end {
        right: 0;
    }
}

@media (max-width: 560px) {
    .env-testimonials__header {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-bottom: 0px;
        text-align: center;
    }

    .env-testimonials__quote-wrap {
        padding: 42px 0 0;
    }

    .env-testimonials__quote-mark--start {
        top: 0;
        left: 0;
        display: none;
    }

    .env-testimonials__quote-mark--end {
        right: 0;
        bottom: -0.72em;
        display: none;
    }

    .env-testimonials__quote {
        font-size: 1rem;
    }

    .env-testimonials__person {
        align-items: center;
        flex-direction: column;
        gap: 12px;
    }

    .env-testimonials__person-text {
        text-align: center;
    }

    .env-testimonials__controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}
