/* =========================================================
   GMB REVIEW MANAGEMENT SERVICE PAGE - reviews-service.css
   Premium light-mode aesthetic with animated elements
   ========================================================= */

/* ── HERO ── */
.rm-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #eef4ff 0%, #f0fdf9 50%, #f8fafc 100%);
    padding: 36px 0 30px;
}
.rm-hero-dots {
    position: absolute;
    inset: -50%;
    background-image: radial-gradient(rgba(11,94,221, 0.15) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.55;
    z-index: 0;
    animation: rmDotsMove 55s linear infinite alternate;
}
@keyframes rmDotsMove {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(25px, 15px) rotate(2deg); }
}
.rm-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    animation: rmBlobDrift 12s infinite alternate ease-in-out;
}
.rm-blob-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(11,94,221,0.12) 0%, transparent 70%);
    top: -180px; right: -160px;
}
.rm-blob-2 {
    width: 430px; height: 430px;
    background: radial-gradient(circle, rgba(22,182,124,0.12) 0%, transparent 70%);
    bottom: -140px; left: -130px;
    animation-duration: 15s; animation-delay: -6s;
}
.rm-blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(11,94,221,0.08) 0%, transparent 70%);
    top: 40%; left: 20%;
    animation-duration: 18s; animation-delay: -3s;
}
@keyframes rmBlobDrift {
    0%   { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.12) translate(-20px, 30px); }
}
.rm-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Breadcrumb */
.rm-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 500; color: #64748b;
    margin-bottom: 24px;
}
.rm-breadcrumb a {
    color: #475569; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
    transition: color 0.3s;
}
.rm-breadcrumb a:hover { color: #0b5edd; }
.rm-breadcrumb a svg { width: 14px; height: 14px; }
.rm-breadcrumb .sep { color: #cbd5e1; }
.rm-breadcrumb .curr { color: #0b5edd; font-weight: 600; }

/* Badge */
.rm-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(11,94,221,0.08);
    border: 1px solid rgba(11,94,221,0.2);
    color: #0b5edd;
    border-radius: 50px; padding: 6px 16px;
    font-size: 0.78rem; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 20px;
}
.rm-badge-dot {
    width: 7px; height: 7px;
    background: #10b981; border-radius: 50%;
    animation: rmPulse 2s infinite;
}
@keyframes rmPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.5); opacity: 0.5; }
}
.rm-title {
    font-size: 3.4rem; font-weight: 900;
    color: #0f172a; line-height: 1.2; margin-bottom: 24px;
}
.rm-title span {
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.rm-desc {
    font-size: 1.1rem; color: #475569;
    line-height: 1.7; margin-bottom: 36px;
}
.rm-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    color: #fff; padding: 15px 32px; border-radius: 50px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
    box-shadow: 0 12px 30px rgba(11,94,221,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.rm-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(11,94,221,0.4);
    color: #fff;
}

/* ── REVIEW WIDGET (Hero Right) ── */
.rm-widget-wrap { position: relative; }
.rm-widget {
    background: #ffffff;
    border-radius: 24px; padding: 28px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08), 0 0 0 1px rgba(226,232,240,0.8);
    animation: rmWidgetFloat 6s ease-in-out infinite;
}
@keyframes rmWidgetFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.rm-widget-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.rm-widget-brand {
    display: flex; align-items: center; gap: 10px;
}
.rm-widget-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 900; font-size: 1.1rem;
}
.rm-widget-biz-name { font-weight: 800; font-size: 0.95rem; color: #1e293b; }
.rm-widget-rating-row {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.78rem; color: #64748b;
}
.rm-widget-stars { color: #f59e0b; font-size: 0.9rem; }
.rm-ai-badge {
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    color: #fff; border-radius: 50px; padding: 4px 12px;
    font-size: 0.72rem; font-weight: 700;
}

/* Review cards stack */
.rm-review-stack { display: flex; flex-direction: column; gap: 14px; }
.rm-review-card {
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 16px 18px;
    transition: all 0.3s ease;
}
.rm-review-card.incoming {
    animation: rmSlideIn 0.6s ease forwards;
}
@keyframes rmSlideIn {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rm-review-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 8px;
}
.rm-reviewer {
    display: flex; align-items: center; gap: 10px;
}
.rm-reviewer-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.82rem; color: #fff;
}
.rm-reviewer-avatar.a1 { background: #f59e0b; }
.rm-reviewer-avatar.a2 { background: #10b981; }
.rm-reviewer-avatar.a3 { background: #3b82f6; }
.rm-reviewer-name { font-size: 0.85rem; font-weight: 700; color: #1e293b; }
.rm-review-stars  { color: #f59e0b; font-size: 0.82rem; }
.rm-review-text   { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin-bottom: 10px; }

/* AI reply bubble */
.rm-ai-reply {
    background: linear-gradient(135deg, rgba(11,94,221,0.06), rgba(22,182,124,0.06));
    border: 1px solid rgba(11,94,221,0.15);
    border-radius: 12px; padding: 10px 14px;
    display: none;
}
.rm-review-card.replied .rm-ai-reply { display: block; }
.rm-ai-reply-label {
    font-size: 0.68rem; font-weight: 800; color: #0b5edd;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 5px; display: flex; align-items: center; gap: 5px;
}
.rm-ai-reply-label svg { width: 12px; height: 12px; }
.rm-ai-reply-text { font-size: 0.8rem; color: #475569; line-height: 1.5; }

/* Floating decor badges */
.rm-decor {
    position: absolute; z-index: 5;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    display: flex; align-items: center; padding: 10px 16px; gap: 10px;
    animation: rmDecorFloat 5s ease-in-out infinite;
}
@keyframes rmDecorFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.rm-decor-1 { top: 10%; left: -20px; animation-delay: 0s; }
.rm-decor-2 { bottom: 8%; right: -15px; animation-delay: -2.5s; }
.rm-decor-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.rm-decor-icon.purple { background: #0b5edd; }
.rm-decor-icon.green  { background: #10b981; }
.rm-decor-text strong { font-size: 0.82rem; color: #1e293b; display: block; }
.rm-decor-text span   { font-size: 0.7rem; color: #64748b; }

/* ── FEATURES ── */
.rm-features-section { padding: 90px 0; background: #f8fafc; }
.rm-features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; margin-top: 56px;
}
.rm-feature-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 20px; padding: 36px 28px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.rm-feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: -150%; width: 150%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11,94,221,0.1), rgba(22,182,124,0.08), transparent);
    z-index: -1;
    transform: skewX(-20deg);
}
.rm-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11,94,221,0.12);
    border-color: rgba(11,94,221,0.4);
}
.rm-feature-card:hover::before {
    animation: rmColorWave 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes rmColorWave {
    0% { left: -150%; }
    100% { left: 150%; }
}
.rm-fc-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(11,94,221,0.1), rgba(22,182,124,0.1));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px; color: #0b5edd;
}
.rm-fc-icon svg { width: 28px; height: 28px; }
.rm-fc-title { font-size: 1.18rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.rm-fc-desc  { font-size: 0.95rem; color: #64748b; line-height: 1.65; }

/* ── STATS SECTION ── */
.rm-stats-section {
    padding: 80px 0; background: #ffffff;
}
.rm-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-top: 56px;
}
.rm-stat-card {
    background: linear-gradient(135deg, #f8fafc, #eef4ff);
    border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 36px 24px; text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.rm-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(11,94,221,0.1);
}
.rm-stat-num {
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 8px; display: block;
}
.rm-stat-label { font-size: 0.9rem; font-weight: 600; color: #475569; }

/* ── PROCESS ── */
.rm-process-section { padding: 90px 0; background: #f8fafc; }
.rm-process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-top: 56px; position: relative;
}
.rm-process-line {
    position: absolute; top: 32px;
    left: calc(12.5% + 16px); right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, #0b5edd, #16b67c);
    z-index: 0;
}
.rm-step { text-align: center; position: relative; z-index: 1; }
.rm-step-num {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900; color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(11,94,221,0.3);
}
.rm-step-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 20px; padding: 28px 18px;
}
.rm-step-title { font-size: 1.05rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; }
.rm-step-desc  { font-size: 0.88rem; color: #64748b; line-height: 1.6; }

/* ── TESTIMONIALS / SAMPLES ── */
.rm-samples-section { padding: 90px 0; background: #fff; }
.rm-samples-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 28px; margin-top: 56px;
}
.rm-sample-card {
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 20px; padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.rm-sample-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.rm-sample-review {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 18px; margin-bottom: 16px;
}
.rm-sample-reviewer {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.rm-sample-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; color: #fff;
}
.rm-sample-avatar.s1 { background: #f59e0b; }
.rm-sample-avatar.s2 { background: #10b981; }
.rm-sample-avatar.s3 { background: #3b82f6; }
.rm-sample-avatar.s4 { background: #ec4899; }
.rm-sample-name  { font-size: 0.88rem; font-weight: 700; color: #1e293b; }
.rm-sample-stars { color: #f59e0b; font-size: 0.82rem; margin-bottom: 8px; }
.rm-sample-text  { font-size: 0.85rem; color: #64748b; line-height: 1.55; }
.rm-sample-reply {
    background: linear-gradient(135deg, rgba(11,94,221,0.06), rgba(22,182,124,0.06));
    border: 1px solid rgba(11,94,221,0.15);
    border-radius: 14px; padding: 16px 18px;
}
.rm-sample-reply-label {
    font-size: 0.7rem; font-weight: 800; color: #0b5edd;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}
.rm-sample-reply-text { font-size: 0.83rem; color: #475569; line-height: 1.55; }

/* ── FAQ ── */
.rm-faq-section { padding: 90px 0; background: #f8fafc; }
.rm-faq-layout {
    display: grid; grid-template-columns: 1fr 1.5fr;
    gap: 80px; align-items: flex-start;
}
.$1-faq-left { position: sticky; top: 100px; }
@media (max-width: 991px) { .$1-faq-left { position: relative !important; top: auto !important; } }
.rm-faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.rm-faq-item {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; overflow: hidden; cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.rm-faq-item.active {
    border-color: rgba(11,94,221,0.4);
    box-shadow: 0 8px 24px rgba(11,94,221,0.08);
}
.rm-faq-question {
    display: flex; justify-content: space-between;
    align-items: center; padding: 20px 24px; gap: 16px;
}
.rm-faq-question h4 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0; }
.rm-faq-icon {
    width: 28px; height: 28px; min-width: 28px;
    background: #f1f5f9; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #0b5edd;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.rm-faq-item.active .rm-faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    color: #fff;
}
.rm-faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.rm-faq-item.active .rm-faq-answer { max-height: 300px; padding-bottom: 20px; }
.rm-faq-answer p { font-size: 0.95rem; color: #64748b; line-height: 1.7; margin: 0; }

/* ── CTA ── */
.rm-cta-section { padding: 60px 0 80px; background: #f8fafc; }
.rm-cta-banner {
    background: linear-gradient(135deg, #0b5edd 0%, #16b67c 100%);
    border-radius: 28px; padding: 70px 60px;
    text-align: center; position: relative; overflow: hidden;
}
.rm-cta-blob {
    position: absolute; border-radius: 50%;
    filter: blur(60px); z-index: 0;
}
.rm-cta-blob-1 {
    width: 400px; height: 400px; background: rgba(255,255,255,0.07);
    top: -150px; left: -100px;
    animation: rmBlobDrift 10s infinite alternate ease-in-out;
}
.rm-cta-blob-2 {
    width: 350px; height: 350px; background: rgba(255,255,255,0.07);
    bottom: -120px; right: -80px;
    animation: rmBlobDrift 14s infinite alternate-reverse ease-in-out;
}
.rm-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.rm-cta-inner h2 { font-size: 2.6rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.rm-cta-inner p  { font-size: 1.1rem; color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 36px; }
.rm-cta-buttons  { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.rm-btn-light {
    background: #fff; color: #0b5edd; font-weight: 700;
    padding: 15px 32px; border-radius: 50px; text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}
.rm-btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(0,0,0,0.18); color: #0b5edd; }
.rm-btn-outline {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.5); font-weight: 700;
    padding: 14px 32px; border-radius: 50px; text-decoration: none;
    transition: all 0.3s;
}
.rm-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ── Shared Section Header ── */
.rm-section-badge {
    display: inline-block;
    background: rgba(11,94,221,0.08); color: #0b5edd;
    border-radius: 50px; padding: 5px 14px;
    font-size: 0.75rem; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.rm-section-title {
    font-size: 2.5rem; font-weight: 900;
    color: #0f172a; line-height: 1.25; margin-bottom: 16px;
    text-align: center;
}
.rm-section-title span {
    background: linear-gradient(135deg, #0b5edd, #16b67c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.rm-section-desc {
    font-size: 1.05rem; color: #64748b;
    line-height: 1.65; max-width: 620px;
    margin: 0 auto; text-align: center;
}
/* Left-aligned overrides */
.rm-faq-left .rm-section-title { text-align: left; }
.rm-faq-left .rm-section-desc  { text-align: left; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .rm-hero-layout   { grid-template-columns: 1fr; gap: 48px; }
    .rm-title         { font-size: 2.6rem; }
    .rm-features-grid { grid-template-columns: 1fr 1fr; }
    .rm-stats-grid    { grid-template-columns: 1fr 1fr; }
    .rm-process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
    .rm-process-line  { display: none; }
    .rm-samples-grid  { grid-template-columns: 1fr; }
    .rm-faq-layout    { grid-template-columns: 1fr; gap: 40px; }
    .rm-faq-left      { position: static; }
    .rm-decor         { display: none; }
}
@media (max-width: 575px) {
    .rm-hero          { padding: 80px 0 45px; }
    .rm-title         { font-size: 2rem; }
    .rm-features-grid { grid-template-columns: 1fr; }
    .rm-stats-grid    { grid-template-columns: 1fr; }
    .rm-process-steps { grid-template-columns: 1fr; }
    .rm-cta-banner    { padding: 48px 24px; }
    .rm-cta-inner h2  { font-size: 1.8rem; }
    .rm-section-title { font-size: 2rem; }
}

/* Center wrapper for section headers */
.text-center {
    text-align: center;
}
/* ── HIGHLIGHTED REVIEW ANIMATION ── */
.rm-review-card.highlighted {
    border-color: rgba(11, 94, 221, 0.5);
    box-shadow: 0 12px 30px rgba(11, 94, 221, 0.15), 0 0 0 4px rgba(11, 94, 221, 0.05);
    transform: translateY(-2px);
    transition: all 0.4s ease;
}
.rm-ai-reply-text::after {
    content: '|';
    animation: rmBlink 1s infinite;
    color: #0b5edd;
}
@keyframes rmBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

