.gs-reviews {
    --gs-reviews-bg: #f6f4f0;
    --gs-reviews-card: #fff;
    --gs-reviews-text: #202020;
    --gs-reviews-muted: #6f716f;
    --gs-reviews-line: #d9d6d0;
    --gs-reviews-accent: #a96f4c;
    background: var(--gs-reviews-bg);
    padding: clamp(42px, 3vw, 104px) 20px 71px;
    color: var(--gs-reviews-text);
    border-top: 1px solid rgb(203 147 37 / 22%);
}

.gs-reviews__inner {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.gs-reviews__eyebrow {
    margin: 0 0 1px;
    color: #ac792c;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gs-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.gs-reviews__heading {
    min-width: 0;
}

.gs-reviews__title {
    margin: 0;
    color: var(--gs-reviews-text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.gs-reviews__subtitle {
    display: none;
}

.gs-reviews__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.gs-reviews__counter {
    margin-right: 4px;
    color: var(--gs-reviews-muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.gs-reviews__arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gs-reviews-line);
    border-radius: 4px;
    padding: 0;
    background: transparent;
    color: #2b2b2b;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.gs-reviews__arrow:hover,
.gs-reviews__arrow:focus-visible {
    border-color: #222;
    background: #222;
    color: #fff;
}

.gs-reviews__arrow:focus-visible {
    outline: 2px solid rgba(34, 34, 34, .2);
    outline-offset: 2px;
}

.gs-reviews__arrow:disabled {
    opacity: .25;
    cursor: default;
    background: #10101000;
    color: #000000;
}

.gs-reviews__arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gs-reviews__viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.gs-reviews__track {
    display: flex;
    gap: 14px;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.gs-reviews__card {
    flex: 0 0 calc((100% - 28px) / 3);
    min-width: 0;
    min-height: 294px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid var(--gs-reviews-line);
    border-radius: 4px;
    padding: 22px 21px 20px;
    background: var(--gs-reviews-card);
    box-shadow: none;
}

.gs-reviews__quote {
    order: 1;
    height: 21px;
    margin: 0 0 12px;
    color: #d98812;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 50px;
    line-height: 1;
}

.gs-reviews__text {
    order: 2;
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #202020;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.gs-reviews__more {
    order: 3;
    align-self: flex-start;
    margin: 6px 0 0;
    border: 0;
    padding: 0;
    background: #00000000;
    color: #d98812;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
}

.gs-reviews__more:hover,
.gs-reviews__more:focus-visible {
    text-decoration: underline;
}

.gs-reviews__person {
    order: 4;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    border-top: 1px solid var(--gs-reviews-line);
    padding-top: 16px;
}

.gs-reviews__person-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.gs-reviews__name {
    color: #1f1f1f;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.gs-reviews__meta {
    color: var(--gs-reviews-accent);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
}

.gs-reviews__stars {
    display: flex;
    gap: 2px;
    flex: 0 0 auto;
    color: var(--gs-reviews-accent);
    font-size: 22px;
    line-height: 1;
    letter-spacing: .02em;
}

.gs-reviews__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 24px;
}

.gs-reviews__dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: #d5d2cc;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.gs-reviews__dot[aria-current='true'] {
    width: 22px;
    background: #202020;
}

.gs-reviews__dialog {
    width: min(620px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    border: 0;
    border-radius: 18px;
    padding: 0;
    background: transparent;
    color: #1f1f1f;
}

.gs-reviews__dialog::backdrop {
    background: rgba(15, 15, 15, .72);
    backdrop-filter: blur(3px);
}

.gs-reviews__dialog-box {
    position: relative;
    overflow: auto;
    max-height: calc(100vh - 48px);
    border-radius: 18px;
    padding: 34px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
}

.gs-reviews__dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #ddd8d1;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    color: #222;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.gs-reviews__dialog-text {
    margin: 0;
    color: #2a2a2a;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.gs-reviews__dialog-name {
    margin: 24px 0 0;
    color: #315d44;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .gs-reviews__card {
        flex-basis: calc((100% - 14px) / 2);
    }
}

@media (max-width: 640px) {
    .gs-reviews {
        padding: 56px 16px 58px;
    }

    .gs-reviews__head {
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 22px;
    }

    .gs-reviews__title {
        font-size: clamp(24px, 9vw, 39px);
    }

    .gs-reviews__nav {
        margin-top: 2px;
    }

    .gs-reviews__counter {
        display: none;
    }

    .gs-reviews__arrow {
        width: 32px;
        height: 32px;
    }

    .gs-reviews__track {
        gap: 12px;
    }

    .gs-reviews__card {
        flex-basis: 100%;
        min-height: 280px;
        padding: 20px 18px 18px;
    }

    .gs-reviews__text {
        font-size: 14px;
        -webkit-line-clamp: 6;
    }

    .gs-reviews__dialog-box {
        padding: 30px 22px 24px;
    }
}
