/* =========================================================
   ROYALIS REVIEWS
========================================================= */

.royalis-reviews {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding: 145px 0 135px;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(191, 149, 54, .09),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #070706 0%,
            #0b0a08 48%,
            #050504 100%
        );

    color: #f5f0e5;
}


.reviews-background {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(214, 168, 75, .06),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 50%,
            rgba(214, 168, 75, .05),
            transparent 30%
        );
}


.reviews-light {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(210, 164, 70, .055);

    filter: blur(100px);

    pointer-events: none;

    z-index: -2;
}


.reviews-light-one {
    top: -300px;
    left: -220px;
}


.reviews-light-two {
    right: -220px;
    bottom: -300px;
}


/* =========================================================
   CONTAINER
========================================================= */

.reviews-container {
    width: min(1450px, 92%);
    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.reviews-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 65px;
}


.reviews-eyebrow {
    margin-bottom: 15px;

    color: #c9a34e;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 7px;
    text-transform: uppercase;
}


.reviews-heading h2 {
    margin: 0;

    color: #ead29a;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 6vw, 82px);

    font-weight: 400;

    line-height: .95;

    letter-spacing: -2px;

    text-shadow:
        0 0 35px rgba(210, 166, 72, .12);
}


.reviews-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    margin: 27px auto 20px;
}


.reviews-divider span {
    width: 75px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(210, 166, 72, .8)
        );
}


.reviews-divider span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(210, 166, 72, .8),
            transparent
        );
}


.reviews-divider b {
    color: #d8af59;

    font-size: 15px;

    font-weight: 400;
}


.reviews-heading > p {
    margin: 0;

    color: rgba(255,255,255,.58);

    font-family: "Inter", sans-serif;

    font-size: 14px;

    letter-spacing: 3px;

    line-height: 1.8;

    text-transform: uppercase;
}


/* =========================================================
   RATING SUMMARY
========================================================= */

.reviews-rating-summary {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 27px;

    padding: 12px 22px;

    border: 1px solid rgba(210,166,72,.18);

    background:
        rgba(255,255,255,.025);

    backdrop-filter: blur(15px);
}


.reviews-rating-number {
    color: #e1bd6b;

    font-family: Georgia, serif;

    font-size: 34px;

    line-height: 1;
}


.reviews-rating-info {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;
}


.reviews-stars-static {
    display: flex;

    gap: 3px;
}


.reviews-stars-static span {
    color: rgba(216,175,89,.22);

    font-size: 15px;
}


.reviews-stars-static span.active {
    color: #d9af58;

    text-shadow:
        0 0 12px rgba(217,175,88,.25);
}


.reviews-rating-info > span {
    color: rgba(255,255,255,.42);

    font-family: "Inter", sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   CAROUSEL
========================================================= */

.reviews-carousel {
    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;
}


.reviews-viewport {
    width: 100%;

    overflow: hidden;

    padding: 12px 0 25px;
}


.reviews-track {
    display: flex;

    gap: 25px;

    transition:
        transform .65s cubic-bezier(.22,.61,.36,1);
}


.review-card {
    flex: 0 0 calc(
        (100% - 50px) / 3
    );

    min-width: 0;
}


.review-card-inner {
    position: relative;

    min-height: 390px;

    padding: 46px 38px 35px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(24,22,18,.96),
            rgba(8,8,7,.98)
        );

    border: 1px solid rgba(210,166,72,.38);

    box-shadow:
        0 30px 80px rgba(0,0,0,.4),
        inset 0 1px 0 rgba(255,255,255,.025);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


.review-card-inner::before {
    content: "";

    position: absolute;

    inset: 7px;

    border: 1px solid rgba(210,166,72,.07);

    pointer-events: none;
}


.review-card-inner:hover {
    transform: translateY(-7px);

    border-color:
        rgba(225,188,105,.72);

    box-shadow:
        0 35px 90px rgba(0,0,0,.55),
        0 0 35px rgba(210,166,72,.07);
}


.review-quote {
    position: absolute;

    top: 17px;
    left: 25px;

    color: rgba(210,166,72,.32);

    font-family: Georgia, serif;

    font-size: 58px;

    line-height: 1;
}


.review-stars {
    display: flex;

    gap: 4px;

    margin-bottom: 25px;
}


.review-stars span {
    color: rgba(218,176,87,.15);

    font-size: 18px;
}


.review-stars span.active {
    color: #d9af58;

    text-shadow:
        0 0 12px rgba(217,175,88,.2);
}


.review-text {
    margin: 0;

    color: rgba(247,243,235,.78);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    font-style: italic;

    line-height: 1.8;

    flex: 1;
}


.review-separator {
    width: 48px;
    height: 1px;

    margin: 25px 0 22px;

    background: #caa34f;
}


.review-author {
    display: flex;

    align-items: center;

    gap: 12px;

    text-align: left;
}


.review-avatar {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(211,169,78,.65);

    border-radius: 50%;

    color: #d8ae58;

    font-family: Georgia, serif;

    font-size: 17px;
}


.review-author strong {
    display: block;

    color: #d9b25e;

    font-family: Georgia, serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.review-author span {
    display: block;

    margin-top: 4px;

    color: rgba(255,255,255,.35);

    font-family: "Inter", sans-serif;

    font-size: 9px;

    letter-spacing: 1.5px;
}


/* =========================================================
   ARROWS
========================================================= */

.reviews-arrow {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(214,169,76,.7);

    border-radius: 50%;

    background:
        rgba(7,7,6,.78);

    color: #d9b15b;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.reviews-arrow span {
    font-family: Georgia, serif;

    font-size: 32px;

    line-height: 1;

    margin-top: -3px;
}


.reviews-arrow:hover {
    background: #d4aa53;

    color: #090806;

    transform: scale(1.06);
}


/* =========================================================
   DOTS
========================================================= */

.reviews-dots {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 15px;
}


.reviews-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.2);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}


.reviews-dot.active {
    width: 25px;

    border-radius: 10px;

    background: #d5ac57;
}


/* =========================================================
   EMPTY
========================================================= */

.reviews-empty {
    max-width: 700px;

    margin: 0 auto;

    padding: 55px 30px;

    text-align: center;

    border:
        1px solid rgba(210,166,72,.2);

    background:
        rgba(255,255,255,.018);
}


.reviews-empty-stars {
    color: #d5ac57;

    font-size: 25px;

    letter-spacing: 5px;

    margin-bottom: 20px;
}


.reviews-empty p {
    margin: 0;

    color: rgba(255,255,255,.55);

    font-family: Georgia, serif;

    font-style: italic;

    font-size: 17px;
}


/* =========================================================
   CTA
========================================================= */

.reviews-cta {
    max-width: 650px;

    margin: 75px auto 0;

    text-align: center;
}


.reviews-cta-line {
    width: 70px;
    height: 1px;

    margin: 0 auto 25px;

    background: #caa34f;
}


.reviews-cta h3 {
    margin: 0 0 10px;

    color: #e2c47c;

    font-family: Georgia, serif;

    font-size: 32px;

    font-weight: 400;
}


.reviews-cta p {
    margin: 0 0 27px;

    color: rgba(255,255,255,.48);

    font-family: "Inter", sans-serif;

    font-size: 13px;

    letter-spacing: .5px;
}


.reviews-button {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    min-height: 52px;

    padding: 0 27px;

    border: 1px solid rgba(216,174,87,.75);

    background:
        linear-gradient(
            135deg,
            rgba(216,174,87,.12),
            rgba(216,174,87,.025)
        );

    color: #dfbc70;

    font-family: "Inter", sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}


.reviews-button span {
    font-size: 15px;
}


.reviews-button i {
    font-size: 17px;

    font-style: normal;

    transition: transform .25s ease;
}


.reviews-button:hover {
    background: #d5ad58;

    color: #080705;

    box-shadow:
        0 12px 35px rgba(213,173,88,.16);
}


.reviews-button:hover i {
    transform: translateX(4px);
}


/* =========================================================
   MODAL
========================================================= */

.review-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.review-modal.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.review-modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.82);

    backdrop-filter: blur(12px);
}


.review-modal-box {
    position: relative;

    width: min(570px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 45px;

    background:
        linear-gradient(
            145deg,
            #15130f,
            #080807
        );

    border:
        1px solid rgba(215,171,82,.5);

    box-shadow:
        0 40px 120px rgba(0,0,0,.8);

    transform:
        translateY(20px)
        scale(.97);

    transition:
        transform .35s ease;
}


.review-modal.is-open .review-modal-box {
    transform:
        translateY(0)
        scale(1);
}


.review-modal-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: 0;

    background: transparent;

    color: rgba(255,255,255,.55);

    font-size: 30px;

    cursor: pointer;
}


.review-modal-close:hover {
    color: #d9af58;
}


.review-modal-eyebrow {
    margin-bottom: 8px;

    color: #cba34e;

    font-family: "Inter", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.review-modal-box h3 {
    margin: 0;

    color: #e3c77f;

    font-family: Georgia, serif;

    font-size: 38px;

    font-weight: 400;
}


.review-modal-intro {
    margin: 12px 0 30px;

    color: rgba(255,255,255,.48);

    font-family: "Inter", sans-serif;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

.review-field {
    position: relative;

    display: block;

    margin-bottom: 21px;
}


.review-field > span {
    display: block;

    margin-bottom: 8px;

    color: #cdb16f;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.review-field > span small {
    color: rgba(255,255,255,.32);

    font-size: 8px;
}


.review-field input,
.review-field textarea {
    width: 100%;

    box-sizing: border-box;

    border:
        1px solid rgba(255,255,255,.1);

    outline: none;

    background:
        rgba(255,255,255,.035);

    color: #f6f0e5;

    font-family: "Inter", sans-serif;

    font-size: 13px;

    transition:
        border-color .25s ease,
        background .25s ease;
}


.review-field input {
    height: 48px;

    padding: 0 14px;
}


.review-field textarea {
    min-height: 125px;

    padding: 14px;

    resize: vertical;

    line-height: 1.6;
}


.review-field input:focus,
.review-field textarea:focus {
    border-color:
        rgba(213,173,88,.65);

    background:
        rgba(213,173,88,.035);
}


.review-rating-input {
    display: flex;

    gap: 5px;
}


.review-star-button {
    padding: 0;

    border: 0;

    background: transparent;

    color: rgba(218,176,87,.18);

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    transition:
        color .2s ease,
        transform .2s ease;
}


.review-star-button:hover,
.review-star-button.active {
    color: #d9af58;

    transform: translateY(-2px);
}


.review-counter {
    position: absolute;

    right: 10px;
    bottom: 9px;

    color: rgba(255,255,255,.25);

    font-family: "Inter", sans-serif;

    font-size: 9px;
}


.review-consent {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin: 8px 0 18px;

    color: rgba(255,255,255,.4);

    font-family: "Inter", sans-serif;

    font-size: 10px;

    line-height: 1.6;

    cursor: pointer;
}


.review-consent input {
    margin-top: 2px;

    accent-color: #d4aa55;
}


.review-submit {
    width: 100%;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    border: 1px solid #d2a84f;

    background:
        linear-gradient(
            135deg,
            #d2a84f,
            #a77d29
        );

    color: #080705;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.review-submit i {
    font-size: 17px;

    font-style: normal;
}


.review-submit:hover {
    transform: translateY(-2px);

    opacity: .92;
}


.review-submit:disabled {
    opacity: .5;

    cursor: wait;

    transform: none;
}


.review-form-message {
    display: none;

    margin-bottom: 15px;

    padding: 12px 14px;

    border: 1px solid rgba(255,255,255,.1);

    font-family: "Inter", sans-serif;

    font-size: 11px;

    line-height: 1.5;
}


.review-form-message.show {
    display: block;
}


.review-form-message.success {
    border-color: rgba(110,180,120,.4);

    color: #a9d6ad;
}


.review-form-message.error {
    border-color: rgba(210,90,90,.4);

    color: #e8a1a1;
}


.review-honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .review-card {
        flex-basis: calc(
            (100% - 25px) / 2
        );
    }

}


@media (max-width: 760px) {

    .royalis-reviews {
        padding: 95px 0 90px;
    }


    .reviews-heading {
        margin-bottom: 45px;
    }


    .reviews-heading h2 {
        font-size: 52px;
    }


    .reviews-heading > p {
        font-size: 10px;

        letter-spacing: 2px;
    }


    .reviews-carousel {
        gap: 8px;
    }


    .reviews-arrow {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;
    }


    .reviews-arrow span {
        font-size: 26px;
    }


    .review-card {
        flex-basis: 100%;
    }


    .review-card-inner {
        min-height: 365px;

        padding:
            42px 27px 30px;
    }


    .review-text {
        font-size: 16px;
    }


    .review-modal {
        padding: 12px;
    }


    .review-modal-box {
        padding: 35px 23px 25px;
    }


    .review-modal-box h3 {
        font-size: 32px;
    }

}


@media (max-width: 480px) {

    .reviews-container {
        width: 91%;
    }


    .reviews-rating-summary {
        padding: 10px 15px;
    }


    .reviews-cta h3 {
        font-size: 27px;
    }


    .reviews-button {
        width: 100%;

        justify-content: center;
    }

}