/* KB Reviews — front-end styles */
/* Palette: Navy #1a2b4a | Gold #c9a84c | Cream #f8f6f1 */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ─────────────────────────────────────────
   REVIEW BANNER
───────────────────────────────────────── */
.kbr-banner {
    background: #1a2b4a;
    border-radius: 10px;
    padding: 2rem 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 2.5rem;
}

.kbr-banner::before,
.kbr-banner::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(201,168,76,.18);
    border-radius: 50%;
    pointer-events: none;
}
.kbr-banner::before { width: 260px; height: 260px; top: -80px; right: -60px; }
.kbr-banner::after  { width: 140px; height: 140px; top: -10px; right:  20px; }

/* Header */
.kbr-banner__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.kbr-logo-mark {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 1.5px solid #c9a84c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #c9a84c;
}

.kbr-banner__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.kbr-banner__role {
    font-size: 11px;
    color: #e8d5a3;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Stats bar */
.kbr-stats {
    display: flex;
    gap: 2rem;
    padding: .75rem 0;
    margin-bottom: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.kbr-stat { text-align: center; }
.kbr-stat__val {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: #c9a84c;
    line-height: 1;
}
.kbr-stat__lbl {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Carousel */
.kbr-carousel { overflow: hidden; position: relative; }
.kbr-carousel__track {
    display: flex;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.kbr-carousel__slide {
    min-width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 1.1rem 1.4rem;
}
.kbr-slide__stars { margin-bottom: .4rem; }
.kbr-star {
    font-size: 15px;
    color: rgba(255,255,255,.2);
    letter-spacing: 2px;
}
.kbr-star--lit { color: #c9a84c; }

.kbr-slide__text {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.82);
    font-style: italic;
    margin: .4rem 0 .65rem;
    quotes: none;
}
.kbr-slide__author {
    display: block;
    font-size: 11px;
    font-style: normal;
    color: #e8d5a3;
    letter-spacing: .04em;
}

/* Dots */
.kbr-carousel__dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: .9rem;
}
.kbr-carousel__dots button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .3s;
}
.kbr-carousel__dots button.kbr-dot--active { background: #c9a84c; }

.kbr-no-reviews { color: rgba(255,255,255,.6); font-size: 13px; text-align: center; padding: 1rem 0; }

/* ─────────────────────────────────────────
   REVIEW FORM
───────────────────────────────────────── */
.kbr-form-wrap {
    font-family: 'DM Sans', sans-serif;
    max-width: 640px;
}

.kbr-gold-bar {
    width: 44px;
    height: 3px;
    background: #c9a84c;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.kbr-form__heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #1a2b4a !important;
    margin: 0 0 .3rem !important;
    padding: 0 !important;
}
.kbr-form__sub {
    font-size: 13px;
    color: #6b7a8d;
    margin-bottom: 1.5rem;
}

/* Form messages */
#kbrFormMessages .kbr-msg-success {
    background: #edf7ed;
    border: 1px solid #a3d9a5;
    color: #1d6422;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    font-size: 14px;
}
#kbrFormMessages .kbr-msg-error {
    background: #fdecea;
    border: 1px solid #f5c0bc;
    color: #8b1a1a;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    font-size: 14px;
}

/* Fields */
.kbr-field { margin-bottom: 1rem; }

.kbr-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #1a2b4a;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.kbr-req { color: #c9a84c; text-decoration: none; font-style: normal; }

.kbr-form-wrap input[type="text"],
.kbr-form-wrap input[type="email"],
.kbr-form-wrap input[type="tel"],
.kbr-form-wrap textarea {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(26,43,74,.18);
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #1a2b4a;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    box-shadow: none;
}
.kbr-form-wrap input:focus,
.kbr-form-wrap textarea:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.kbr-form-wrap textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

/* Star rating */
.kbr-stars { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.kbr-star-btn {
    font-size: 30px;
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    padding: 0 3px;
    line-height: 1;
    transition: color .15s, transform .1s;
}
.kbr-star-btn:hover,
.kbr-star-btn.kbr-star-btn--lit { color: #c9a84c; }
.kbr-star-btn:active { transform: scale(.88); }
.kbr-star-label {
    font-size: 12px;
    color: #6b7a8d;
    margin-left: 8px;
    min-width: 70px;
}

/* Field errors */
.kbr-field-err {
    display: none;
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
}
.kbr-field--invalid input,
.kbr-field--invalid textarea { border-color: #e74c3c !important; }
.kbr-field--invalid .kbr-field-err { display: block; }

/* Submit */
.kbr-submit {
    width: 100%;
    background: #1a2b4a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .03em;
    cursor: pointer;
    margin-top: .5rem;
    transition: background .2s, transform .1s;
}
.kbr-submit:hover   { background: #243459; }
.kbr-submit:active  { transform: scale(.99); }
.kbr-submit:disabled { opacity: .55; cursor: not-allowed; }

/* GDPR */
.kbr-gdpr {
    font-size: 11px;
    color: #9da8b5;
    text-align: center;
    margin-top: .75rem;
    line-height: 1.6;
}
.kbr-gdpr a { color: #1a2b4a; }
