/* CGB – Reviews */
.cgb-reviews {
    padding: var(--cgb-section-space-y, 64px) 0;
    background: linear-gradient(135deg, var(--clr-primary-dark, #091D30) 0%, var(--clr-primary, #0F2E4A) 50%, var(--clr-primary-light, #1D4E7A) 100%);
    position: relative;
    font-family: var(--bodyfont, sans-serif);
    color: #fff;
    overflow: hidden;
}
.cgb-reviews::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 30px rgba(0,0,0,0.08);
    pointer-events: none;
}
.cgb-reviews > .container {
    position: relative;
    z-index: 1;
}

/* Header */
.cgb-reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.cgb-reviews__header-text {
    flex: 1;
}

.cgb-reviews__eyebrow {
    display: inline-block;
    font-family: var(--headfont, sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F4B400;
    margin-bottom: 12px;
}

.cgb-reviews__heading {
    font-family: var(--headfont, sans-serif);
    font-size: var(--fs-36, 36px);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    padding-bottom: 0;
}

/* Score bar */
.cgb-reviews__score-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cgb-reviews__google-icon {
    display: flex;
    align-items: center;
}

.cgb-reviews__stars {
    display: flex;
    gap: 2px;
    color: #F4B400;
}

.cgb-reviews__score {
    font-family: var(--headfont, sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.cgb-reviews__count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* ── Carousel (Slick) ── */
.cgb-reviews__carousel {
    position: relative;
    margin: 0 -11px;
}

.cgb-reviews__carousel .slick-track {
    display: flex !important;
}

.cgb-reviews__carousel .slick-slide {
    height: auto;
    padding: 0 11px;
}

.cgb-reviews__carousel .slick-slide > div {
    height: 100%;
}

.cgb-reviews__slide {
    height: 100%;
}

/* Arrows */
.cgb-reviews__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.cgb-reviews__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.cgb-reviews__arrow--prev {
    left: -22px;
}

.cgb-reviews__arrow--next {
    right: -22px;
}

/* Card */
.cgb-reviews__card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--cgb-radius, 14px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    transition: background 0.3s ease, border-color 0.3s ease;
}

@supports not (backdrop-filter: blur(1px)) {
    .cgb-reviews__card {
        background: rgba(255, 255, 255, 0.1);
    }
}

.cgb-reviews__card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Card stars */
.cgb-reviews__card-stars {
    display: flex;
    gap: 2px;
    color: #F4B400;
}

/* Card text */
.cgb-reviews__card-text {
    margin: 0;
    flex: 1;
}

.cgb-reviews__card-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Card meta */
.cgb-reviews__card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cgb-reviews__card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--clr-secondary, #2B7A6E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--headfont, sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.cgb-reviews__card-avatar--photo {
    object-fit: cover;
    background: none;
}

.cgb-reviews__card-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cgb-reviews__card-author {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-style: normal;
}

.cgb-reviews__card-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.cgb-reviews__footer {
    text-align: center;
    margin-top: 48px;
}

.cgb-reviews__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--headfont, sans-serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    line-height: 1;
    transition: all 0.3s ease;
}

.cgb-reviews__cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .cgb-reviews__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cgb-reviews__arrow--prev { left: 0; }
    .cgb-reviews__arrow--next { right: 0; }
}

/* Mobile */
@media (max-width: 767px) {
    .cgb-reviews {
        padding: var(--cgb-section-space-y-mobile, 44px) 0;
    }

    .cgb-reviews__score-bar {
        flex-wrap: wrap;
        gap: 6px;
    }

    .cgb-reviews__count {
        width: 100%;
        margin-top: 4px;
    }

    .cgb-reviews__header {
        margin-bottom: 32px;
    }

    .cgb-reviews__footer {
        margin-top: 32px;
    }

    .cgb-reviews__arrow {
        width: 36px;
        height: 36px;
    }
}
