﻿:root {
    --beamy-blue: #7D85D0;
    --beamy-ink: rgba(15, 18, 35, 0.88);
    --beamy-glow: rgba(125, 133, 208, 0.55);
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --stroke: rgba(255, 255, 255, 0.18);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.75);
}

.beamyReviewsSection {
    position: relative;
    padding: clamp(28px, 3.2vw, 56px) 0;
    overflow: hidden;
}

.beamyReviewsBg {
    position: absolute;
    inset: 0;
    background-image: var(--reviews-bg-url);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.02);
    z-index: 0;
}

.beamyReviewsSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 35%, rgba(255,255,255,0.10), rgba(0,0,0,0.20)), linear-gradient(180deg, rgba(10, 10, 22, 0.55), rgba(10, 10, 22, 0.75));
    z-index: 1;
}

.beamyReviewsInner {
    position: relative;
    z-index: 2;
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.beamyReviewsHeader {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.beamyReviewsTitle {
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 3.2vw, 46px);
    letter-spacing: 0.5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.beamyReviewsSub {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 58ch;
    line-height: 1.35;
}

.beamyPrimaryBtn,
.beamyGhostBtn {
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    border: 1px solid var(--stroke);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.beamyPrimaryBtn {
    color: rgba(255,255,255,0.95);
    background: linear-gradient(180deg, rgba(125,133,208,0.95), rgba(125,133,208,0.70));
    box-shadow: 0 18px 50px rgba(125,133,208,0.22);
}

    .beamyPrimaryBtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 60px rgba(125,133,208,0.30);
    }

.beamyGhostBtn {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.88);
}

    .beamyGhostBtn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.10);
    }

/* ===== Banner loop ===== */

.beamyBannerWrap {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.18);
    box-shadow: 0 22px 80px rgba(0,0,0,0.35);
    overflow: hidden;
    margin: 14px 0 26px;
}

.beamyBannerViewport {
    overflow: hidden;
    padding: 14px 0;
}

.beamyBannerTrack {
    display: flex;
    gap: 14px;
    align-items: center;
    will-change: transform;
    animation: beamyMarquee 40s linear infinite;
    padding: 0 14px;
}

.beamyBannerWrap.isPaused .beamyBannerTrack {
    animation-play-state: paused;
}

@keyframes beamyMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--marqueeDistance, 0px)));
    }
}

.beamyBannerItem {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(0,0,0,0.25);
    transform: translateZ(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    flex: 0 0 auto; /* Prevents squeezing the images */
}

    .beamyBannerItem img {
        display: block;
        width: 320px; /* ✅ wider */
        height: 170px; /* ✅ taller */
        object-fit: cover;
        opacity: 0.98;
    }

    .beamyBannerItem:hover {
        transform: scale(1.08);
        border-color: rgba(125,133,208,0.70);
        box-shadow: 0 22px 70px rgba(125,133,208,0.18);
        z-index: 5;
    }

.beamyBannerFade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.beamyBannerFadeLeft {
    left: 0;
    background: linear-gradient(90deg, rgba(10,10,22,0.55), transparent);
}

.beamyBannerFadeRight {
    right: 0;
    background: linear-gradient(270deg, rgba(10,10,22,0.55), transparent);
}

/* ===== Reviews grid ===== */

.beamyReviewsGrid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
}

@media (max-width: 900px) {
    .beamyReviewsHeader {
        flex-direction: column;
        align-items: flex-start;
    }

    .beamyReviewsGrid {
        grid-template-columns: 1fr;
    }
}

.beamyReviewPanel {
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 22px;
    padding: 16px 16px 14px;
    box-shadow: 0 22px 80px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.beamyReviewPanelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

    .beamyReviewPanelHeader h3 {
        margin: 0;
        color: var(--text);
        font-size: 20px;
    }

.beamyReviewSearchWrap {
    position: relative;
    width: min(340px, 48vw);
}

    .beamyReviewSearchWrap input {
        width: 100%;
        padding: 10px 38px 10px 12px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(255,255,255,0.06);
        color: rgba(255,255,255,0.92);
        outline: none;
    }

        .beamyReviewSearchWrap input:focus {
            border-color: rgba(125,133,208,0.75);
            box-shadow: 0 0 0 4px rgba(125,133,208,0.18);
        }

.beamySearchIcon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.70);
}

.beamyReviewScroll {
    max-height: 360px;
    overflow: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beamyReviewCard {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    padding: 12px 12px 10px;
}

.beamyReviewTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.beamyReviewer {
    color: rgba(255,255,255,0.92);
    font-weight: 700;
}

.beamyCompany {
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    margin-left: 8px;
}

.beamyReviewDate {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    white-space: nowrap;
}

.beamyStars {
    margin-top: 6px;
    color: rgba(255, 215, 125, 0.95);
    letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.beamyReviewText {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.86);
    line-height: 1.35;
}

.beamyReviewFootnote {
    margin-top: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 12.5px;
}

/* Alt panel */
.beamyReviewPanelAlt h3 {
    margin: 0 0 10px;
    color: rgba(255,255,255,0.92);
}

.beamyReviewTips {
    margin: 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.82);
    line-height: 1.4;
}

.beamyMiniCallout {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(125,133,208,0.35);
    background: rgba(125,133,208,0.12);
    padding: 12px;
}

.beamyMiniCalloutTitle {
    font-weight: 800;
    color: rgba(255,255,255,0.92);
}

.beamyMiniCalloutText {
    margin-top: 4px;
    color: rgba(255,255,255,0.82);
}

/* ===== Modals ===== */

.beamyModal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

    .beamyModal.isOpen {
        display: block;
    }

.beamyModalBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* transparent feel */
    backdrop-filter: blur(10px);
}

.beamyModalContent {
    position: relative;
    width: min(980px, 92vw);
    margin: 6vh auto 0;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(10,10,22,0.25);
    box-shadow: 0 30px 120px rgba(0,0,0,0.55);
    padding: 14px;
}

.beamyModalContentWide {
    width: min(720px, 92vw);
    padding: 16px;
}

.beamyModalClose {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.90);
    font-size: 24px;
    cursor: pointer;
}

.beamyModalContent img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.beamyModalTitle {
    margin: 2px 0 4px;
    color: rgba(255,255,255,0.92);
}

.beamyModalSub {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.78);
}

/* ===== Form ===== */

.beamyHp {
    display: none !important;
}

.beamyReviewForm label {
    display: block;
    color: rgba(255,255,255,0.86);
    font-weight: 600;
    margin-bottom: 10px;
}

.beamyReviewForm input,
.beamyReviewForm select,
.beamyReviewForm textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    outline: none;
}

.beamyReviewForm textarea {
    resize: vertical;
}

    .beamyReviewForm input:focus,
    .beamyReviewForm select:focus,
    .beamyReviewForm textarea:focus {
        border-color: rgba(125,133,208,0.75);
        box-shadow: 0 0 0 4px rgba(125,133,208,0.18);
    }

.beamyFormRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .beamyFormRow {
        grid-template-columns: 1fr;
    }
}

.req {
    color: rgba(255, 195, 125, 0.95);
}

.beamyFormActions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
    justify-content: flex-start;
}

.beamyFormMsg {
    margin-top: 10px;
    color: rgba(255,255,255,0.86);
    min-height: 20px;
}
