.photo-reviews-template {
    padding: 100px 20px;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
}
    .photo-reviews-template .photoReviewsSwiper {
        overflow: clip;
        overflow-x: clip;
        overflow-y: visible;
    }
.photo-reviews-template__carousel-bg {
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    overflow: hidden;
}
.photo-reviews-template__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}
.photo-reviews-template__subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0f1c2e;
    margin-bottom: 14px;
    display: inline-block;
    font-weight: 600;
}
.photo-reviews-template__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.08;
    color: #0f1c2e;
    letter-spacing: -0.5px;
}
.photo-reviews-template__description {
    font-size: 17px;
    color: #64748b;
    margin: 0;
    max-width: 480px;
    line-height: 1.6;
}
.photo-reviews-template__nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.photo-reviews-template__nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #0f1c2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.photo-reviews-template__nav button:hover {
    border-color: transparent;
    background: linear-gradient(135deg, #4f9cf7, #7b68ee);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 156, 247, 0.3);
}
.photoReviewsSwiper {
    overflow: visible;
}

.photoReviewsSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}
.photo-review-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}
.photo-review-card:hover {
    transform: translateY(-4px);
}
.photo-review-card__image {
    display: block;
    line-height: 0;
}
.photo-review-card__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-review-card:hover .photo-review-card__image img {
    transform: scale(1.02);
}
@media (min-width: 1441px) {
    .photo-reviews-template {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .photo-reviews-template {
        padding: 60px 16px;
    }
    .photo-reviews-template__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 36px;
    }
    .photo-reviews-template__nav {
        align-self: flex-end;
    }
    .photo-review-card {
        border-radius: 16px;
    }
}
