/* =====================================================
   RANSARA REVIEWS
===================================================== */

.rs-reviews {
    position: relative;

    overflow: hidden;

    padding: 120px 5vw 110px;

    background:
        linear-gradient(
            135deg,
            #f7f2ea 0%,
            #eee5d8 48%,
            #f8f4ee 100%
        );

    color: #171513;
}


/* =====================================================
   BACKGROUND
===================================================== */

.rs-reviews-bg {
    position: absolute;

    width: 600px;
    height: 600px;

    top: -280px;
    right: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212,175,55,0.16),
            transparent 68%
        );

    pointer-events: none;
}


.rs-reviews::before {
    content: "“";

    position: absolute;

    top: 40px;
    left: 5%;

    font-family: Georgia, serif;

    font-size: 280px;

    line-height: 1;

    color: rgba(25,25,25,0.035);

    pointer-events: none;
}


/* =====================================================
   INNER
===================================================== */

.rs-reviews-inner {
    position: relative;

    max-width: 1400px;

    margin: 0 auto;
}


/* =====================================================
   HEADER
===================================================== */

.rs-reviews-header {
    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;
}


.rs-reviews-eyebrow {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    margin-bottom: 20px;

    color: #9b7a21;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}


.rs-reviews-eyebrow span {
    width: 30px;

    height: 1px;

    background: #c9a94d;
}


.rs-reviews-title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 76px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;

    color: #191715;
}


.rs-reviews-title em {
    font-style: italic;

    color: #a27c20;
}


.rs-reviews-intro {
    max-width: 600px;

    margin: 25px auto 0;

    font-size: 15px;

    line-height: 1.8;

    color: #716b62;
}


/* =====================================================
   SLIDER
===================================================== */

.rs-reviews-slider-wrap {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;
}


.rs-reviews-viewport {
    width: 100%;

    overflow: hidden;

    cursor: grab;

    user-select: none;
}


.rs-reviews-viewport:active {
    cursor: grabbing;
}


.rs-reviews-track {
    display: flex;

    gap: 22px;

    will-change: transform;

    transition:
        transform 0.65s cubic-bezier(
            .22,
            .61,
            .36,
            1
        );
}


/* =====================================================
   REVIEW CARD
===================================================== */

.rs-review-card {
    flex: 0 0 calc(
        (100% - 44px) / 3
    );

    position: relative;

    min-height: 330px;

    padding: 38px 34px;

    display: flex;

    flex-direction: column;

    background:
        rgba(255,255,255,0.68);

    border:
        1px solid rgba(55,45,30,0.10);

    box-shadow:
        0 18px 55px rgba(55,45,30,0.07);

    backdrop-filter: blur(12px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.rs-review-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 28px 70px rgba(55,45,30,0.13);
}


/* Decorative line */

.rs-review-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 34px;

    width: 42px;
    height: 3px;

    background: #c9a94d;
}


/* =====================================================
   QUOTE
===================================================== */

.rs-review-quote {
    position: absolute;

    top: 22px;
    right: 28px;

    font-family: Georgia, serif;

    font-size: 58px;

    line-height: 1;

    color: rgba(167,129,37,0.14);
}


/* =====================================================
   STARS
===================================================== */

.rs-review-card-stars {
    display: flex;

    gap: 5px;

    margin-bottom: 24px;

    color: #c29a32;

    font-size: 15px;

    letter-spacing: 1px;
}


/* =====================================================
   COMMENT
===================================================== */

.rs-review-comment {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.75;

    color: #3f3a34;
}


/* =====================================================
   CUSTOMER
===================================================== */

.rs-review-author {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: auto;

    padding-top: 28px;
}


.rs-review-avatar {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1b1a18,
            #6c5630
        );

    color: #fff;

    font-family: Georgia, serif;

    font-size: 17px;
}


.rs-review-author-info {
    min-width: 0;
}


.rs-review-author-name {
    margin: 0 0 3px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.4px;

    color: #24211d;
}


.rs-review-author-profession {
    margin: 0;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #9a9287;
}


/* =====================================================
   ARROWS
===================================================== */

.rs-review-arrow {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(35,30,25,0.16);

    border-radius: 50%;

    background:
        rgba(255,255,255,0.75);

    color: #222;

    cursor: pointer;

    font-size: 19px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}


.rs-review-arrow:hover {
    background: #191715;

    color: #fff;

    border-color: #191715;

    transform: scale(1.08);
}


/* =====================================================
   DOTS
===================================================== */

.rs-review-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin: 27px 0 75px;
}


.rs-review-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #c6beb2;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}


.rs-review-dot.active {
    width: 25px;

    border-radius: 20px;

    background: #a27c20;
}


/* =====================================================
   WRITE REVIEW
===================================================== */

.rs-review-write {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(400px, 1.2fr);

    gap: 70px;

    padding: 60px;

    background:
        #191715;

    color: #fff;

    box-shadow:
        0 30px 80px rgba(20,18,15,0.18);
}


.rs-review-write-content {
    align-self: center;
}


.rs-review-write-content .rs-reviews-eyebrow {
    justify-content: flex-start;

    color: #d4af37;
}


.rs-review-write-content h3 {
    margin: 0;

    max-width: 430px;

    font-family: Georgia, serif;

    font-size: clamp(36px, 4vw, 55px);

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.rs-review-write-content h3 em {
    color: #d4af37;

    font-style: italic;
}


.rs-review-write-content p {
    max-width: 420px;

    margin-top: 25px;

    color: #aaa39a;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   FORM
===================================================== */

.rs-review-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}


.rs-review-field {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.rs-review-field label {
    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #aaa39a;
}


.rs-review-field input,
.rs-review-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: none;

    border-bottom:
        1px solid rgba(255,255,255,0.18);

    background: transparent;

    color: #fff;

    padding: 12px 0;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.25s ease;
}


.rs-review-field input::placeholder,
.rs-review-field textarea::placeholder {
    color: #68635d;
}


.rs-review-field input:focus,
.rs-review-field textarea:focus {
    border-color: #d4af37;
}


.rs-review-comment-field {
    grid-column: 1 / -1;
}


/* =====================================================
   STAR SELECTOR
===================================================== */

.rs-review-stars {
    display: flex;

    gap: 5px;

    padding-top: 5px;
}


.rs-rating-star {
    padding: 0;

    border: none;

    background: transparent;

    color: #4e4a44;

    cursor: pointer;

    font-size: 24px;

    line-height: 1;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.rs-rating-star:hover {
    transform: scale(1.15);

    color: #d4af37;
}


.rs-rating-star.active {
    color: #d4af37;
}


/* =====================================================
   SUBMIT
===================================================== */

.rs-review-submit {
    grid-column: 1 / -1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-height: 55px;

    padding: 0 25px;

    border: 1px solid #d4af37;

    background: #d4af37;

    color: #191715;

    cursor: pointer;

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.rs-review-submit i {
    font-size: 17px;

    font-style: normal;
}


.rs-review-submit:hover {
    background: transparent;

    color: #d4af37;

    transform: translateY(-2px);
}


.rs-review-submit:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   SUCCESS
===================================================== */

.rs-review-success {
    grid-column: 1 / -1;

    display: none;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px;

    border:
        1px solid rgba(212,175,55,0.35);

    color: #d4af37;

    font-size: 11px;

    letter-spacing: 0.5px;
}


.rs-review-success.show {
    display: flex;
}


.rs-review-success span {
    width: 22px;
    height: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d4af37;

    color: #191715;

    font-weight: 800;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .rs-review-card {
        flex-basis:
            calc((100% - 22px) / 2);
    }


    .rs-review-write {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 45px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .rs-reviews {
        padding:
            85px 18px 75px;
    }


    .rs-reviews-header {
        margin-bottom: 40px;
    }


    .rs-reviews-title {
        font-size: 42px;

        letter-spacing: -1px;
    }


    .rs-reviews-intro {
        font-size: 13px;
    }


    .rs-reviews-slider-wrap {
        gap: 8px;
    }


    .rs-review-card {
        flex-basis: 100%;

        min-height: 300px;

        padding: 32px 25px;
    }


    .rs-review-arrow {
        position: absolute;

        z-index: 5;

        top: 50%;

        width: 42px;
        height: 42px;
    }


    .rs-review-prev {
        left: 8px;
    }


    .rs-review-next {
        right: 8px;
    }


    .rs-review-write {
        padding: 35px 22px;

        gap: 35px;
    }


    .rs-review-write-content h3 {
        font-size: 38px;
    }


    .rs-review-form {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .rs-review-comment-field,
    .rs-review-submit,
    .rs-review-success {
        grid-column: auto;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .rs-reviews-title {
        font-size: 36px;
    }


    .rs-review-card {
        min-height: 320px;
    }


    .rs-review-comment {
        font-size: 15px;
    }


    .rs-review-write-content h3 {
        font-size: 34px;
    }

}