
.okrs-slider {
    --okrs-card-bg: #fff;
    --okrs-text: #8e8985;
    --okrs-title: #fff;
    --okrs-star: #baa997;
    --okrs-dot-border: #8e8985;
    --okrs-dot-active: #d5c0b1;
    --okrs-card-radius: 14px;

    width: 100%;
    background: transparent;
    color: var(--okrs-text);
}

.okrs-slider,
.okrs-slider * {
    box-sizing: border-box;
}

.okrs-heading {
    max-width: 900px;
    margin: 0 auto clamp(34px, 4vw, 56px);
    text-align: center;
}

.okrs-eyebrow {
    margin-bottom: 8px;
    color: var(--okrs-title);
    font-size: clamp(13px, 1.1vw, 18px);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.okrs-heading h2 {
    margin: 0;
    color: var(--okrs-title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.2vw, 58px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.08;
}

.okrs-heading-line {
    display: block;
    width: clamp(110px, 14vw, 240px);
    height: 2px;
    margin: 22px auto 0;
    background: currentColor;
    color: var(--okrs-title);
    opacity: .9;
}

.okrs-viewport {
    position: relative;
    width: 100%;
}

.okrs-slides {
    position: relative;
    width: 100%;
    min-height: var(--okrs-fixed-height, auto);
    transition: min-height .25s ease;
}

.okrs-slide {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(28px);
    transition:
        opacity .55s ease,
        transform .72s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear .72s;
}

.okrs-slide.is-active {
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.okrs-slide.is-leaving-left {
    z-index: 1;
    opacity: 0;
    visibility: visible;
    transform: translateX(-20px);
}

.okrs-slide.is-leaving-right {
    z-index: 1;
    opacity: 0;
    visibility: visible;
    transform: translateX(20px);
}

.okrs-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
    align-items: stretch;
}

.okrs-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: clamp(22px, 2vw, 32px);
    border-radius: var(--okrs-card-radius);
    background: var(--okrs-card-bg);
    box-shadow: 0 4px 18px rgba(44, 33, 26, .04);
}

.okrs-stars {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
    line-height: 1;
}

.okrs-star {
    position: relative;
    display: inline-block;
    width: 21px;
    height: 22px;
    overflow: hidden;
    font-size: 22px;
    line-height: 1;
}

.okrs-star-base {
    position: absolute;
    inset: 0;
    color: #e6ddd5;
}

.okrs-star-fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: var(--okrs-star);
    white-space: nowrap;
}

.okrs-review-text {
    margin-bottom: 26px;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.65;
}

.okrs-review-text p {
    margin: 0;
}

.okrs-person {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 6px;
}

.okrs-person img,
.okrs-avatar-placeholder {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.okrs-person img {
    display: block;
    object-fit: cover;
}

.okrs-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ece7e2;
    color: #9d948d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.okrs-name {
    color: #8b837d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 1.5vw, 27px);
    line-height: 1.1;
}

.okrs-meta {
    margin-top: 4px;
    color: #aaa29b;
    font-size: 13px;
    line-height: 1.3;
}

.okrs-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.okrs-dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 1px solid var(--okrs-dot-border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.okrs-dot:hover {
    transform: scale(1.08);
}

.okrs-dot.is-active {
    border-color: #c7ad9b;
    background: var(--okrs-dot-active);
}

.okrs-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.okrs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 10px;
    background: #fff;
    color: #958d87 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform .2s ease, opacity .2s ease;
}

.okrs-button:hover {
    transform: translateY(-1px);
    opacity: .92;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .okrs-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .okrs-heading {
        margin-bottom: 30px;
    }

    .okrs-heading h2 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .okrs-cards {
        grid-template-columns: 1fr;
    }

    .okrs-card {
        padding: 24px;
    }

    .okrs-review-text {
        font-size: 16px;
    }

    .okrs-name {
        font-size: 23px;
    }

    .okrs-dots {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .okrs-slide,
    .okrs-dot,
    .okrs-button,
    .okrs-slides {
        transition: none;
    }
}
