/**
 * GeoCompani — Smart Review Funnel & Local SEO CSS
 * Brand Colors: #7FA842 (Primary Green), #6c9334 (Hover), #5a7d28 (Deep Accent), #eff6e8 (Light Tint), #d5e5be (Border)
 * Typography: 'RoadRadio', 'Road_Radio', 'HelveticaNeueCyr', 'Inter', sans-serif
 * Namespace: .geo-review-*
 * 100% Isolated Styles for Elementor Compatibility
 */

.geo-review-wrapper {
    margin: 40px auto 30px auto !important;
    max-width: 960px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'HelveticaNeueCyr', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.geo-review-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
    border: 1px solid #dce8ce;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.geo-review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7FA842 0%, #fbbc05 35%, #34a853 70%, #4285f4 100%);
}

.geo-review-header {
    margin-bottom: 24px;
}

.geo-review-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6e8;
    color: #5a7d28;
    border: 1px solid #d5e5be;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    font-family: 'RoadRadio', 'Road_Radio', sans-serif;
}

.geo-review-title {
    margin: 0 0 8px 0 !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
    font-family: 'RoadRadio', 'Road_Radio', 'HelveticaNeueCyr', sans-serif !important;
}

.geo-review-subtitle {
    margin: 0 !important;
    font-size: 14.5px !important;
    color: #475569 !important;
    max-width: 620px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'HelveticaNeueCyr', 'Inter', sans-serif !important;
}

/* ==========================================================================
   Star Rating Selector
   ========================================================================== */
.geo-review-stars-box {
    margin: 24px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.geo-review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 8px;
    cursor: pointer;
}

.geo-review-star {
    font-size: 38px;
    color: #cbd5e1;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s;
    user-select: none;
    line-height: 1;
}

.geo-review-stars:hover .geo-review-star {
    color: #cbd5e1;
}

.geo-review-star:hover,
.geo-review-star:hover ~ .geo-review-star {
    color: #f59e0b !important;
    transform: scale(1.15);
}

.geo-review-star.active,
.geo-review-star.active ~ .geo-review-star {
    color: #f59e0b !important;
}

.geo-review-stars-hint {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    min-height: 20px;
    font-family: 'HelveticaNeueCyr', 'Inter', sans-serif;
}

/* ==========================================================================
   Rating Stages (High 4-5 vs Low 1-3)
   ========================================================================== */
.geo-review-step-high,
.geo-review-step-low {
    display: none;
    animation: geoReviewFadeIn 0.35s ease forwards;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eaf2de;
    text-align: center;
}

@keyframes geoReviewFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.geo-review-step-high.active,
.geo-review-step-low.active {
    display: block;
}

.geo-review-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 22px 0 26px 0;
}

.geo-platform-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: left;
    font-family: 'HelveticaNeueCyr', 'Inter', sans-serif;
}

.geo-platform-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    color: #ffffff !important;
}

.geo-platform-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.geo-platform-btn-yandex {
    background: linear-gradient(135deg, #fc3f1d 0%, #d82b0b 100%);
}

.geo-platform-btn-google {
    background: linear-gradient(135deg, #4285f4 0%, #2b6cb0 100%);
}

.geo-platform-btn-2gis {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.geo-platform-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: 'RoadRadio', 'Road_Radio', sans-serif;
}

.geo-platform-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   QR Code & Mobile Quick Access
   ========================================================================== */
.geo-review-qr-box {
    background: #ffffff;
    border: 1px solid #dce8ce;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    text-align: left;
}

.geo-review-qr-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #d5e5be;
    padding: 4px;
    background: #ffffff;
    flex-shrink: 0;
}

.geo-review-qr-info {
    flex: 1 1 280px;
}

.geo-review-qr-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    font-family: 'RoadRadio', 'Road_Radio', sans-serif;
}

.geo-review-qr-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Review Topics Suggestions (SEO Keywords for Reviews)
   ========================================================================== */
.geo-review-tips {
    background: #eff6e8;
    border: 1px dashed #c8ddaa;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 12.5px;
    color: #364f14;
    text-align: left;
    line-height: 1.45;
}

.geo-review-tips strong {
    color: #273b0e;
}

/* ==========================================================================
   Low Rating Feedback Form
   ========================================================================== */
.geo-review-feedback-form {
    max-width: 540px;
    margin: 16px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.geo-review-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
    min-height: 100px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.geo-review-textarea:focus {
    border-color: #7FA842;
}

.geo-review-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.geo-review-input:focus {
    border-color: #7FA842;
}

.geo-review-submit-btn {
    background: #7FA842;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'RoadRadio', 'Road_Radio', 'HelveticaNeueCyr', sans-serif;
}

.geo-review-submit-btn:hover {
    background: #6c9334;
}

.geo-review-success-msg {
    display: none;
    background: #eff6e8;
    border: 1px solid #c8ddaa;
    color: #273b0e;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 14px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 640px) {
    .geo-review-card {
        padding: 24px 18px;
    }
    .geo-review-title {
        font-size: 21px !important;
    }
    .geo-review-star {
        font-size: 32px;
    }
    .geo-review-platforms-grid {
        grid-template-columns: 1fr;
    }
    .geo-review-qr-box {
        flex-direction: column;
        text-align: center;
    }
}
