.reviews-section {
    --reviews-primary: #0c2f74;
    --reviews-accent: #e94f43;
    --reviews-gold: #ffb400;
    --reviews-soft: #f5f9ff;
    --reviews-card: #ffffff;
    --reviews-shadow: 0 18px 40px rgba(12, 47, 116, 0.12);
    position: relative;
    padding: 100px 0 40px 0;
    color: var(--reviews-primary);
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.reviews-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.reviews-layout {
    display: grid;
    grid-template-areas:
        "hero header"
        "hero content";
    align-items: flex-end;
}

.reviews-hero {
    grid-area: hero;
    min-width: 280px;
    position: relative;
    display: flex;
}

.reviews-hero-card {
    position: relative;
    overflow: visible;
    max-width: 470px;

}


.reviews-hero-image {
    width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    bottom: 75px;
    right: 40px;
}

.reviews-rating-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #ffbf1c;
    color: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(255, 191, 28, 0.35);
    z-index: 2;
}

.reviews-rating-badge i {
    font-size: 14px;
}

.reviews-float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(12, 47, 116, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--reviews-accent);
    z-index: 2;
}

.reviews-float--like {
    top: 30%;
    left: -18px;
}

.reviews-float--chat {
    top: 50%;
    right: -18px;
    color: #2c5aa0;
}

.reviews-float--star {
    bottom: 20%;
    left: 20px;
    color: #ffb400;
}

.reviews-content {
    grid-area: content;
    flex: 1 1 55%;
    min-width: 280px;
    position: relative;

    padding-bottom: 52px;
}

.reviews-header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.reviews-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reviews-header-top .reviews-title {
    margin: 0;
}


.reviews-rating-chip {
    background: #ffbf1c;
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(255, 191, 28, 0.3);
    flex-shrink: 0;
}

.reviews-rating-chip i {
    font-size: 15px;
}

.reviews-cta {
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--reviews-accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px #224a8b65;
    cursor: pointer;
    text-decoration: none;
}

.reviews-cta:hover {
    background: #d13c31;
        color: #ffffff;

}

.reviews-title {
    margin: 0 0 8px 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--reviews-primary);
}

.reviews-lead {
    margin: 0;
    color: #5b6f97;
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
}

.reviews-slider {
    width: 100%;
    padding: 18px 14px 40px;
    margin: 0 0 -20px;
    box-sizing: border-box;
}

.reviews-track {
    align-items: stretch;
}

.reviews-slider .swiper-slide {
    height: auto;
    display: flex;
}



.reviews-card {
    background: var(--reviews-card);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(12, 47, 116, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;

}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.reviews-stars {
    display: inline-flex;
    gap: 4px;
    color: var(--reviews-accent);
}

.reviews-date {
    font-size: 12px;
    color: #6d7aa2;
    white-space: nowrap;
}

.reviews-rating i {
    font-size: 14px;
}

.reviews-card-text {
    margin: 0 0 18px 0;
    color: #4b5b7c;
    font-size: 15px;
    line-height: 1.7;
}

.reviews-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.reviews-user-initials {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(233, 79, 67, 0.14);
    color: var(--reviews-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.reviews-user-name {
    font-weight: 600;
    color: var(--reviews-primary);
    margin: 0;
    font-size: 15px;
}

.reviews-user-role {
    color: #6d7aa2;
    font-size: 13px;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    right: 0;
    padding: 0 14px 0 0;
}

.reviews-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--reviews-accent);
    box-shadow: 0 8px 18px rgba(12, 47, 116, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reviews-nav:hover {
    background: var(--reviews-accent);
    color: #ffffff;
}

.reviews-nav.swiper-button-disabled,
.reviews-nav.swiper-button-lock {
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.45;
}

.reviews-dots {
    margin-top: 0;
    display: flex;
    justify-content: center;
    position: static;
}

.reviews-pagination-row {
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.reviews-section .swiper-horizontal>.swiper-pagination-bullets,
.reviews-section .swiper-pagination-bullets.swiper-pagination-horizontal,
.reviews-section .swiper-pagination-custom,
.reviews-section .swiper-pagination-fraction {
    width: auto !important;
}

.reviews-dots .swiper-pagination-bullet {
    border-radius: 50%;
    background: #d8e2f5;
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: width 0.3s ease, background 0.3s ease;
}

.reviews-dots .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 20px;
    background: var(--reviews-accent);
}

@media (max-width: 767px) {
    .reviews-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "hero"
            "content";
        align-items: stretch;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-hero-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .reviews-hero {
        justify-content: center;
    }

    .reviews-content {
        padding-bottom: 0;
    }

    .reviews-pagination-row {
        position: static;
        justify-content: center;
        margin-top: 18px;
    }

    .reviews-controls {
        position: static;
        margin-top: 0;
        padding: 0 15px 0 0;
    }

    .reviews-hero-image {
        bottom: 0;
        right: 0;
    }

  
    .reviews-section .swiper-horizontal>.swiper-pagination-bullets,
.reviews-section .swiper-pagination-bullets.swiper-pagination-horizontal,
.reviews-section .swiper-pagination-custom,
.reviews-section .swiper-pagination-fraction {
    width: 100% !important;
    padding-left: 90px;
}

}