/* =========================================================
   RITZART - PREMIUM WHITE FOOTER
========================================================= */

.ra-footer {
    width: 100%;
    background: #fff;
    color: #292929;
    font-family: inherit;
    overflow: hidden;
    border-top: 1px solid #eee;
}


/* =========================================================
   TOP REVIEW BANNER
========================================================= */

.ra-review-banner {
    padding: 35px 20px;
    background:
        linear-gradient(
            135deg,
            #fff9f7,
            #ffffff
        );
    border-bottom: 1px solid #eee;
}

.ra-review-banner-inner {
    width: min(1250px, 100%);
    margin: auto;
    min-height: 125px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid #eadbd6;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 12px 40px rgba(70,40,30,.07);
}

.ra-review-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8e9e4;
    color: #c98a7a;
    font-size: 27px;
}

.ra-review-banner-content {
    flex: 1;
}

.ra-eyebrow {
    display: block;
    color: #c98a7a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 5px;
}

.ra-review-banner h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    color: #242424;
}

.ra-review-banner p {
    margin: 5px 0 0;
    color: #888;
    font-size: 13px;
}

.ra-write-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 21px;
    border: 1px solid #c98a7a;
    border-radius: 50px;
    background: #c98a7a;
    color: white;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.ra-write-btn b {
    font-size: 17px;
}

.ra-write-btn:hover {
    background: #292929;
    border-color: #292929;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.13);
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.ra-main-footer {
    background: #fff;
}

.ra-footer-container {
    width: min(1400px, calc(100% - 50px));
    margin: auto;
    padding: 65px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.ra-logo {
    display: inline-block;
    margin-bottom: 14px;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 700;
    color: #292929;
    text-decoration: none;
    letter-spacing: .5px;
}

.ra-logo span {
    color: #c98a7a;
}

.ra-brand-column > p {
    max-width: 330px;
    margin: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.9;
}


/* SOCIAL */

.ra-social {
    display: flex;
    gap: 9px;
    margin-top: 22px;
}

.ra-social a {
    padding: 7px 12px;
    border-radius: 30px;
    border: 1px solid #e8e1df;
    color: #777;
    text-decoration: none;
    font-size: 10px;
    transition: .3s;
}

.ra-social a:hover {
    color: white;
    background: #c98a7a;
    border-color: #c98a7a;
}


/* FOOTER COLUMNS */

.ra-footer-column h3,
.ra-contact-column h3 {
    margin: 3px 0 19px;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    color: #292929;
}

.ra-footer-column a {
    display: block;
    width: fit-content;
    margin-bottom: 11px;
    color: #858585;
    text-decoration: none;
    font-size: 13px;
    transition: .25s;
}

.ra-footer-column a:hover {
    color: #c98a7a;
    transform: translateX(4px);
}


/* CONTACT */

.ra-contact {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.ra-contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fbf0ed;
    color: #c98a7a;
    font-size: 13px;
}

.ra-contact small {
    display: block;
    margin-bottom: 2px;
    color: #aaa;
    font-size: 10px;
}

.ra-contact p {
    margin: 0;
    color: #777;
    font-size: 12px;
}


/* =========================================================
   CUSTOMER REVIEWS
========================================================= */

.ra-customer-reviews {
    padding: 60px 20px 70px;
    background: #faf8f7;
    border-top: 1px solid #eee;
}

.ra-reviews-container {
    width: min(1250px, 100%);
    margin: auto;
}

.ra-reviews-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.ra-reviews-heading h2 {
    margin: 3px 0 0;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    color: #252525;
}

.ra-overall-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 17px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
}

.ra-overall-rating strong {
    font-family: "Playfair Display", serif;
    font-size: 28px;
}

.ra-overall-rating small {
    color: #999;
    font-size: 10px;
}

.ra-stars {
    line-height: 1;
    white-space: nowrap;
}

.ra-star {
    color: #ddd;
    font-size: 13px;
}

.ra-star.active {
    color: #dfa329;
}


/* REVIEW GRID */

.ra-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ra-review-card {
    position: relative;
    min-height: 190px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eae5e3;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(50,30,20,.04);
    transition: .3s ease;
}

.ra-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(50,30,20,.08);
}

.ra-review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ra-user {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ra-avatar {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f4dfd9;
    color: #a66c5c;
    font-weight: 700;
}

.ra-user h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.ra-latest {
    padding: 5px 8px;
    border-radius: 20px;
    background: #f7ece9;
    color: #c98a7a;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ra-review-text {
    margin: 20px 0 12px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}

.ra-review-date {
    color: #aaa;
    font-size: 10px;
}


/* BEST REVIEW */

.ra-best-card {
    border-color: #d9b66a;
    background:
        linear-gradient(
            145deg,
            #fffdf7,
            #fff
        );
}

.ra-best-label {
    position: absolute;
    right: 16px;
    top: -10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #d6aa4b;
    color: white;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .7px;
}

.ra-best-avatar {
    background: #f3e5bd;
    color: #aa7b20;
}


/* NO REVIEWS */

.ra-no-reviews {
    padding: 35px;
    text-align: center;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 18px;
}

.ra-no-reviews h3 {
    margin: 0 0 5px;
    font-family: "Playfair Display", serif;
}

.ra-no-reviews p {
    margin: 0;
    color: #999;
    font-size: 13px;
}


/* =========================================================
   BOTTOM
========================================================= */

.ra-bottom {
    width: min(1400px, calc(100% - 50px));
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 10px;
}

.ra-bottom-links {
    display: flex;
    gap: 20px;
}

.ra-bottom a {
    color: #888;
    text-decoration: none;
}

.ra-bottom a:hover {
    color: #c98a7a;
}

.ra-bottom span {
    color: #c98a7a;
}


/* =========================================================
   MODAL
========================================================= */

.ra-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: .25s;
}

.ra-modal.active {
    visibility: visible;
    opacity: 1;
}

.ra-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25,20,18,.58);
    backdrop-filter: blur(6px);
}

.ra-modal-box {
    position: relative;
    z-index: 2;
    width: min(470px, calc(100% - 30px));
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    transform: translateY(15px) scale(.97);
    transition: .3s;
}

.ra-modal.active .ra-modal-box {
    transform: translateY(0) scale(1);
}

.ra-modal-close {
    position: absolute;
    right: 17px;
    top: 15px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #f5f3f2;
    font-size: 22px;
    cursor: pointer;
}

.ra-modal-box h2 {
    margin: 3px 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 30px;
}

.ra-modal-subtitle {
    margin: 0 0 22px;
    color: #888;
    font-size: 12px;
    line-height: 1.7;
}

.ra-modal-box form > label {
    display: block;
    margin: 15px 0 7px;
    color: #444;
    font-size: 12px;
    font-weight: 600;
}

.ra-modal-box input[type="text"],
.ra-modal-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e3dfdd;
    border-radius: 11px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.ra-modal-box input[type="text"]:focus,
.ra-modal-box textarea:focus {
    border-color: #c98a7a;
    box-shadow: 0 0 0 3px rgba(201,138,122,.08);
}

.ra-modal-box textarea {
    resize: vertical;
}

.ra-rating-selector {
    display: flex;
    gap: 5px;
}

.ra-rating-selector label {
    margin: 0 !important;
    cursor: pointer;
}

.ra-rating-selector input {
    display: none;
}

.ra-rating-selector label {
    color: #ddd;
    font-size: 27px;
    transition: .2s;
}

.ra-rating-selector label:hover,
.ra-rating-selector label:has(input:checked) {
    color: #dfa329;
}

.ra-submit {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #c98a7a;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.ra-submit:hover {
    background: #292929;
}

.ra-submit span {
    margin-left: 8px;
}

.ra-success,
.ra-error {
    margin: 12px 0;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
}

.ra-success {
    background: #edf8f1;
    color: #398258;
}

.ra-error {
    background: #fff0ef;
    color: #a64e47;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .ra-footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .ra-contact-column {
        grid-column: span 1;
    }

    .ra-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ra-review-banner {
        padding: 18px 12px;
    }

    .ra-review-banner-inner {
        padding: 20px;
        flex-wrap: wrap;
        gap: 15px;
        border-radius: 18px;
    }

    .ra-review-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .ra-review-banner-content {
        width: calc(100% - 65px);
    }

    .ra-review-banner h2 {
        font-size: 21px;
    }

    .ra-review-banner p {
        font-size: 11px;
    }

    .ra-write-btn {
        width: 100%;
        justify-content: center;
    }


    .ra-footer-container {
        width: calc(100% - 30px);
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
        padding: 45px 0;
    }

    .ra-brand-column {
        grid-column: 1 / -1;
        text-align: center;
    }

    .ra-brand-column > p {
        margin: auto;
    }

    .ra-social {
        justify-content: center;
    }

    .ra-footer-column h3,
    .ra-contact-column h3 {
        font-size: 16px;
    }

    .ra-footer-column a {
        font-size: 11px;
    }


    .ra-customer-reviews {
        padding: 45px 12px;
    }

    .ra-reviews-heading {
        display: block;
    }

    .ra-reviews-heading h2 {
        font-size: 27px;
    }

    .ra-overall-rating {
        width: fit-content;
        margin-top: 18px;
    }

    .ra-review-grid {
        grid-template-columns: 1fr;
    }


    .ra-bottom {
        width: calc(100% - 25px);
        flex-direction: column;
        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ra-review-banner h2 {
        font-size: 19px;
    }

    .ra-review-banner-content {
        width: calc(100% - 63px);
    }

    .ra-footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .ra-brand-column {
        grid-column: 1 / -1;
    }

    .ra-contact-column {
        grid-column: 1 / -1;
    }

    .ra-contact {
        justify-content: center;
        text-align: left;
    }

    .ra-modal-box {
        padding: 28px 20px;
    }

}