/* Reusable Google reviews carousel. */
.google-reviews-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 10%, rgba(110, 226, 104, 0.06), transparent 30%),
        var(--bg-secondary);
}

.google-reviews-section .section-header-v2 {
    max-width: 820px;
    margin-bottom: clamp(34px, 5vw, 54px);
}

.google-reviews-section .testimonials-section-intro {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.google-reviews-section .testimonials-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.google-reviews-section .testimonials-viewport {
    width: 100%;
    overflow: hidden;
}

.google-reviews-section .testimonials-track {
    display: flex;
    min-width: 0;
    align-items: stretch;
    will-change: transform;
    transition: transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.google-reviews-section .testimonial-slide {
    display: flex;
    min-width: 0;
    flex: 0 0 50%;
    padding: 12px;
}

.google-reviews-section .google-review-card {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 370px;
    flex-direction: column;
    padding: clamp(24px, 3vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 24px;
    background: #f7f7f5;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    color: #141414;
    text-align: left;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.google-reviews-section .google-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.2);
}

.google-reviews-section .google-review-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.google-reviews-section .google-review-card__reviewer {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.google-reviews-section .google-review-card__avatar {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    place-items: center;
    background: linear-gradient(135deg, #5de85a, #7bcf1b);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.google-reviews-section .google-review-card__identity {
    min-width: 0;
}

.google-reviews-section .google-review-card__identity h3,
.google-reviews-section .google-review-card__reviewer-name {
    margin: 0;
    color: #111;
    font-family: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
    overflow-wrap: anywhere;
}

.google-reviews-section .google-review-card__identity p,
.google-reviews-section .google-review-card__source {
    margin: 4px 0 0;
    color: #777;
    font-family: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.google-reviews-section .google-review-card__google-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.google-reviews-section .google-review-card__google-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.google-reviews-section .google-review-card__rating {
    display: flex;
    gap: 3px;
    margin-top: 22px;
    color: #fbbc04;
    font-size: 18px;
    line-height: 1;
}

.google-reviews-section .google-review-card__quote {
    flex: 1;
    margin: 28px 0 20px;
}

.google-reviews-section .google-review-card__quote p {
    margin: 0;
    color: #1d1d1d;
    font-size: clamp(17px, 1.45vw, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.56;
    overflow-wrap: anywhere;
}

.google-reviews-section .google-review-card__quote p + p {
    margin-top: 14px;
}

.google-reviews-section .google-review-card__toggle {
    align-self: flex-start;
    margin: -2px 0 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a73e8;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.google-reviews-section .google-review-card__toggle:hover,
.google-reviews-section .google-review-card__toggle:focus-visible {
    color: #0b57d0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.google-reviews-section .google-review-card__context {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
    color: #757575;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.google-reviews-section .testimonials-nav {
    display: grid;
    grid-template-columns: 46px minmax(80px, auto) 46px;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

.google-reviews-section .testimonial-nav-btn {
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    place-items: center;
    background: rgba(5, 8, 6, 0.92);
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.google-reviews-section .testimonial-nav-btn:hover,
.google-reviews-section .testimonial-nav-btn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(110, 226, 104, 0.5);
    background: #101510;
}

.google-reviews-section .testimonials-dots {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.google-reviews-section .testimonial-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.google-reviews-section .testimonial-dot.active {
    width: 28px;
    background: var(--accent-primary);
}

[data-theme="light"] .google-reviews-section {
    background: #f5f8f5;
}

[data-theme="light"] .google-reviews-section .testimonials-section-intro {
    color: #46534b;
}

[data-theme="light"] .google-reviews-section .google-review-card {
    border-color: rgba(20, 20, 20, 0.08);
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .google-reviews-section .testimonial-nav-btn {
    border-color: rgba(5, 8, 6, 0.16);
    background: #101510;
    color: #fff;
}

[data-theme="light"] .google-reviews-section .testimonial-dot {
    background: rgba(16, 21, 16, 0.22);
}

[data-theme="light"] .google-reviews-section .testimonial-dot.active {
    background: #0f7a34;
}

@media (max-width: 799px) {
    .google-reviews-section .testimonial-slide {
        flex-basis: 100%;
    }

    .google-reviews-section .google-review-card {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .google-reviews-section .google-review-card__identity h3,
    .google-reviews-section .google-review-card__reviewer-name {
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    .google-reviews-section .testimonial-slide {
        padding: 7px 2px;
    }

    .google-reviews-section .google-review-card {
        min-height: 340px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .google-reviews-section .google-review-card__avatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .google-reviews-section .google-review-card__google-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .google-reviews-section .google-review-card__quote {
        margin-top: 24px;
    }

    .google-reviews-section .google-review-card__quote p {
        font-size: 16px;
    }

    .google-reviews-section .testimonials-nav {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .google-reviews-section .testimonials-track,
    .google-reviews-section .google-review-card,
    .google-reviews-section .testimonial-nav-btn {
        transition: none;
    }
}

