/* ============================================================
   REVIEW.CSS — Spaces & Beyond Real Estate — v4 FINAL
   ============================================================ */

/* ── Section ── */
.review-section {
    padding: var(--section-y) var(--section-x);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.review-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-gold, #c9a84c),
        transparent
    );
}
.review-section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ── Main grid — content breathes directly, no boxed-card-within-a-card feel ── */
.review__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(40px, 5.5vw, 64px);
    align-items: stretch;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   LEFT — Photo card
══════════════════════════════════════ */
.review__photo-col {
    position: relative;
    height: 100%;
}

.review__photo-card {
    background: var(--color-teal, #16303d);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(22, 48, 61, 0.18);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Gold top line */
.review__photo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-gold, #c9a84c),
        transparent
    );
    z-index: 3;
}

/* Photo wrap */
.review__photo-wrap {
    position: relative;
    overflow: hidden;
    flex: 1;
}

/* ── NATURAL FADE like team section ── */
.review__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: brightness(0.9) saturate(0.85);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.review__photo-card:hover .review__photo {
    transform: scale(1.03);
}

/* Dark gradient overlay — fades photo into card naturally */
.review__photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(22, 48, 61, 0.15) 0%,
        rgba(22, 48, 61, 0) 40%,
        rgba(22, 48, 61, 0.55) 80%,
        rgba(22, 48, 61, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Nameplate */
.review__nameplate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 20px;
    background: var(--color-teal, #16303d);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.review__advisor-name {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    display: block;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.review__advisor-role {
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold-light, #e8d5a3);
    display: block;
    margin-top: 4px;
}
.review__monogram {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review__monogram span {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-gold-light, #e8d5a3);
}

/* ══════════════════════════════════════
   RIGHT — Content
══════════════════════════════════════ */
.review__right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Label */
.review__label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--color-gold-dark, #9b7b2e);
}
.review__label::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--color-gold-dark, #9b7b2e);
    flex-shrink: 0;
}

/* Heading */
.review__heading {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    color: #0c0a06;
}
.review__heading em {
    font-style: italic;
    color: var(--color-gold-dark, #9b7b2e);
}

/* Sub */
.review__sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.9;
    max-width: 460px;
}

/* Stars */
.review__stars {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--color-teal, #16303d);
    border: none;
    width: fit-content;
}
.review__stars-icons {
    display: flex;
    gap: 3px;
}
.review__star {
    color: var(--color-gold-light, #e8d5a3);
    font-size: 1.15rem;
    line-height: 1;
}
.review__stars-label {
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Bottom row: contacts left | QR right ── */
.review__bottom-row {
    display: flex;
    align-items: stretch;
    gap: clamp(32px, 5vw, 56px);
    padding-top: 24px;
    margin-top: 4px;
    border-top: 1px solid rgba(22, 48, 61, 0.12);
}
.review__contacts {
    flex: 1;
    min-width: 0;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.review__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}
a.review__contact-item:hover {
    color: var(--color-gold-dark, #9b7b2e);
}
a.review__contact-item:hover .review__contact-icon {
    background: var(--color-teal, #16303d);
    color: var(--color-gold-light, #e8d5a3);
    border-color: var(--color-teal, #16303d);
}
.review__contact-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gold-border, rgba(201, 168, 76, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-dark, #9b7b2e);
    flex-shrink: 0;
    transition: all 0.2s;
}

/* ── Review CTA card (replaces old QR card) ── */
.review__cta-card {
    background: var(--color-teal, #16303d);
    border: none;
    padding: 22px 20px;
    text-align: center;
    width: 210px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 14px 34px rgba(22, 48, 61, 0.2);
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s;
}
.review__cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-gold, #c9a84c),
        transparent
    );
}
.review__cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(22, 48, 61, 0.3);
}

/* PF brand */
.review__pf-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 14px;
}
.review__pf-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}
.review__pf-label {
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.44rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    text-align: left;
}
.review__pf-name {
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.68rem;
    font-weight: 500;
    color: #ffffff;
    display: block;
    text-align: left;
    white-space: nowrap;
}

.review__cta-copy {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Review button */
.review__scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-black, #0a0a0a);
    background: var(--color-gold, #c9a84c);
    padding: 12px 14px;
    text-decoration: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.review__scan-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-gold-light, #e8d5a3);
    transform: translateX(-101%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.review__scan-btn:hover::after {
    transform: translateX(0);
}
.review__scan-btn span,
.review__scan-btn svg {
    position: relative;
    z-index: 1;
}

/* ── Logo panel (replaces advisor photo) ── */
.review__logo-card {
    display: flex;
    flex-direction: column;
}
.review__logo-mark {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 40px 20px;
    background: linear-gradient(
        155deg,
        var(--color-teal, #16303d) 0%,
        #0d1f27 100%
    );
}
.review__logo-word {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}
.review__logo-amp {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--color-gold-light, #e8d5a3);
    margin: 2px 0;
}
.review__logo-sub {
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold-light, #e8d5a3);
    margin-top: 10px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .review__grid {
        grid-template-columns: 240px 1fr;
    }
    .review__photo-col {
        position: static;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 780px) {
    .review__grid {
        grid-template-columns: 1fr;
    }

    /* ── MOBILE FIX: full width, centered ── */
    .review__bottom-row {
        flex-direction: column;
        gap: 20px;
    }
    .review__contacts {
        max-width: none;
    }
    .review__cta-card {
        width: 100%;
        max-width: 100%;
    }
    .review__stars {
        width: 100%;
    }
}

/* Mobile portrait */
@media (max-width: 500px) {
    .review__photo-card {
        grid-template-columns: 1fr;
    }
    .review__logo-mark {
        padding: 32px 20px;
    }
    .review__nameplate {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
    }
}
