/* Siam Sereine — client testimonials.
 *
 * Self-contained on purpose: the home page loads styles.css only (no
 * booking.css), so this file declares its own custom properties rather than
 * borrowing booking.css's --bk-* set. Values match the brand palette used
 * throughout the site.
 */

:root {
    --rv-gold: #b7965d;
    --rv-gold-dark: #8B6535;
    --rv-green: #263d2e;
    --rv-cream: #f0eae3;
    --rv-beige: #e6dcd2;
    --rv-ink: #2C1A0E;
    --rv-serif: 'Cormorant Garamond', serif;
    --rv-sans: 'Merriweather Sans', sans-serif;
}

/* ── Rating summary ─────────────────────────────────────────────────────── */
.rv-summary {
    font-family: var(--rv-sans);
    color: var(--rv-gold-dark);
    font-size: 0.95rem;
}

.rv-summary .rv-average {
    font-family: var(--rv-serif);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    margin-right: 0.35rem;
}

/* ── Stars ──────────────────────────────────────────────────────────────── */
.rv-stars {
    color: var(--rv-gold);
    letter-spacing: 0.1em;
    font-size: 1rem;
    white-space: nowrap;
}

.rv-stars .rv-star-empty {
    opacity: 0.3;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.rv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
}

.rv-card {
    background: #fff;
    border: 1px solid rgba(139, 101, 53, 0.18);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rv-card-body {
    font-family: var(--rv-sans);
    color: var(--rv-ink);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;
}

/* Each card carries the review's own lang, so the quotation marks follow the
   language the review was written in: French takes an inner narrow no-break
   space, English does not. */
.rv-card-body:lang(fr) { quotes: "\00AB\202F" "\202F\00BB"; }
.rv-card-body:lang(en) { quotes: "\201C" "\201D"; }

.rv-card-body::before { content: open-quote; }
.rv-card-body::after  { content: close-quote; }

.rv-card-foot {
    margin-top: auto;
    font-family: var(--rv-sans);
    font-size: 0.8rem;
    color: #6b5844;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.rv-author {
    font-weight: 700;
    color: var(--rv-ink);
}

/* The verified badge is the whole point of the invite-only design — it should
   read as a statement of fact, not as marketing. */
.rv-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(38, 61, 46, 0.08);
    color: var(--rv-green);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Language tag: both site versions list every review in its original
   language, so each card says which one it is. */
.rv-lang {
    border: 1px solid rgba(139, 101, 53, 0.35);
    border-radius: 3px;
    padding: 0 0.3rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rv-dates {
    font-size: 0.72rem;
    color: #8a7a68;
}

.rv-empty,
.rv-error {
    font-family: var(--rv-sans);
    color: #6b5844;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem 0;
}

/* ── Star picker (review form) ──────────────────────────────────────────── */
.rv-picker {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rv-picker button {
    background: none;
    border: none;
    padding: 0 0.1rem;
    font-size: 2rem;
    line-height: 1;
    color: rgba(183, 150, 93, 0.35);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.rv-picker button:hover {
    transform: translateY(-2px);
}

.rv-picker button.on {
    color: var(--rv-gold);
}

.rv-picker button:focus-visible {
    outline: 2px solid var(--rv-gold-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── "How we handle reviews" disclosure (Art. L111-7-2) ─────────────────── */
.rv-policy {
    font-family: var(--rv-sans);
    font-size: 0.82rem;
    line-height: 1.7;
    color: #6b5844;
    background: var(--rv-beige);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.rv-policy h2 {
    font-family: var(--rv-serif);
    font-size: 1.25rem;
    color: var(--rv-ink);
    margin: 0 0 0.6rem;
}

.rv-policy ul {
    margin: 0;
    padding-left: 1.1rem;
}

.rv-policy li + li {
    margin-top: 0.35rem;
}

@media (max-width: 575.98px) {
    .rv-card { padding: 1.15rem; }
    .rv-grid { gap: 1rem; }
}
