/* ========================================
   REVIEWS PAGE STYLES - QuickSpark Electrician
   ======================================== */

/* ========== REVIEWS HERO ========== */
.rev-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.rev-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 184, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.rev-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.rev-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 14px;
}

.rev-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rev-hero__breadcrumb a:hover {
    color: #ffb800;
}

.rev-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.rev-hero__breadcrumb span:last-child {
    color: #ffb800;
}

.rev-hero__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.rev-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 184, 0, 0.15);
    color: #ffb800;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.rev-hero__badge img {
    width: 20px;
    height: 20px;
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.rev-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.rev-hero__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Hero Stats */
.rev-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.rev-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rev-hero__stat-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rev-hero__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== REVIEWS MAIN ========== */
.rev-main {
    padding: 80px 0;
    background: #fafafa;
}

.rev-main__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rev-main__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.rev-main__header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rev-main__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffb800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rev-main__label img {
    width: 18px;
    height: 18px;
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.rev-main__heading {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
}

.rev-main__count {
    font-size: 14px;
    color: #666;
}

/* ========== REVIEWS GRID ========== */
.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* ========== REVIEW CARD ========== */
.rev-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rev-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.rev-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.rev-card__avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.15) 0%, rgba(255, 140, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-card__avatar img {
    width: 24px;
    height: 24px;
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.rev-card__info {
    flex: 1;
}

.rev-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.rev-card__rating {
    color: #ffb800;
    font-size: 14px;
    letter-spacing: 2px;
}

.rev-card__service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 184, 0, 0.1);
    color: #d49700;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.rev-card__service img {
    width: 14px;
    height: 14px;
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.rev-card__comment {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 auto;
    flex: 1;
}

.rev-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.rev-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.rev-card__date img {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.rev-card__verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.rev-card__verified img {
    width: 14px;
    height: 14px;
    filter: invert(67%) sepia(52%) saturate(561%) hue-rotate(109deg) brightness(91%) contrast(93%);
}

/* ========== PAGINATION ========== */
.rev-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.rev-pagination__arrow {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rev-pagination__arrow:hover {
    background: #ffb800;
    border-color: #ffb800;
}

.rev-pagination__arrow img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.rev-pagination__arrow:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.rev-pagination__pages {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
}

.rev-pagination__page {
    min-width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rev-pagination__page:hover {
    border-color: #ffb800;
    color: #ffb800;
}

.rev-pagination__page--active {
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    border-color: transparent;
    color: #fff;
}

.rev-pagination__dots {
    color: #999;
    padding: 0 8px;
}

/* ========== CTA SECTION ========== */
.rev-cta {
    padding: 0 0 80px;
    background: #fafafa;
}

.rev-cta__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rev-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 20px;
    padding: 32px 48px;
}

.rev-cta__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rev-cta__icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.rev-cta__content {
    flex: 1;
}

.rev-cta__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: block;
}

.rev-cta__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 0;
}

.rev-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    color: #1a1a2e;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.rev-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 184, 0, 0.3);
}

.rev-cta__btn img {
    width: 18px;
    height: 18px;
}

/* ========== REVIEW FORM ========== */
.rev-form {
    padding: 80px 0;
    background: #fff;
}

.rev-form__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.rev-form__header {
    text-align: center;
    margin-bottom: 40px;
}

.rev-form__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffb800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.rev-form__label img {
    width: 18px;
    height: 18px;
    filter: invert(76%) sepia(60%) saturate(1000%) hue-rotate(358deg) brightness(103%) contrast(104%);
}

.rev-form__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.rev-form__text {
    font-size: 16px;
    color: #666;
}

.rev-form__wrapper {
    background: #fafafa;
    border-radius: 20px;
    padding: 40px;
}

.rev-form__wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rev-form__wrapper input[type="text"],
.rev-form__wrapper textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.rev-form__wrapper input[type="text"]:focus,
.rev-form__wrapper textarea:focus {
    outline: none;
    border-color: #ffb800;
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.1);
}

.rev-form__wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.rev-form__wrapper button[type="submit"] {
    background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
    color: #1a1a2e;
    padding: 18px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rev-form__wrapper button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 184, 0, 0.3);
}

/* Star Rating Styles */
.jqr_star-rating {
    display: flex;
    gap: 8px;
}

.jqr_star-rating i {
    color: #ddd;
    transition: color 0.2s ease;
}

.jqr_star-rating i.fas,
.jqr_star-rating i:hover,
.jqr_star-rating i.hovered {
    color: #ffb800;
}

.jqr_error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: -12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .rev-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .rev-hero__stats {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .rev-hero {
        padding: 120px 0 50px;
    }

    .rev-hero__title {
        font-size: 2rem;
    }

    .rev-hero__text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .rev-hero__stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .rev-hero__stat {
        background: rgba(255, 255, 255, 0.05);
        padding: 14px 20px;
        border-radius: 12px;
        min-width: 100px;
    }

    .rev-hero__stat-num {
        font-size: 26px;
    }

    .rev-hero__stat-label {
        font-size: 11px;
    }

    .rev-main {
        padding: 50px 0;
    }

    .rev-main__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .rev-main__heading {
        font-size: 22px;
    }

    .rev-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rev-card {
        padding: 24px;
    }

    .rev-cta__inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .rev-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .rev-form {
        padding: 50px 0;
    }

    .rev-form__title {
        font-size: 24px;
    }

    .rev-form__wrapper {
        padding: 28px 24px;
    }

    .rev-pagination__page {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .rev-pagination__arrow {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .rev-hero {
        padding: 100px 0 40px;
    }

    .rev-hero__breadcrumb {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .rev-hero__badge {
        padding: 8px 16px;
        font-size: 13px;
    }

    .rev-hero__title {
        font-size: 1.75rem;
    }

    .rev-hero__stats {
        gap: 12px;
    }

    .rev-hero__stat {
        padding: 12px 16px;
        min-width: 90px;
    }

    .rev-hero__stat-num {
        font-size: 22px;
    }

    .rev-main__heading {
        font-size: 20px;
    }

    .rev-card {
        padding: 20px;
        border-radius: 14px;
    }

    .rev-card__avatar {
        width: 44px;
        height: 44px;
    }

    .rev-card__avatar img {
        width: 22px;
        height: 22px;
    }

    .rev-card__name {
        font-size: 15px;
    }

    .rev-card__comment {
        font-size: 14px;
    }

    .rev-cta {
        padding: 0 0 50px;
    }

    .rev-cta__inner {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .rev-cta__icon {
        width: 56px;
        height: 56px;
    }

    .rev-cta__icon img {
        width: 28px;
        height: 28px;
    }

    .rev-cta__title {
        font-size: 18px;
    }

    .rev-cta__text {
        font-size: 14px;
    }

    .rev-cta__btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .rev-form__title {
        font-size: 20px;
    }

    .rev-form__text {
        font-size: 14px;
    }

    .rev-form__wrapper {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .rev-form__wrapper input[type="text"],
    .rev-form__wrapper textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .rev-form__wrapper button[type="submit"] {
        padding: 16px 24px;
        font-size: 15px;
    }

    .rev-pagination__pages {
        margin: 0 8px;
    }

    .rev-pagination__page {
        min-width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

@media (max-width: 375px) {
    .rev-hero__container,
    .rev-main__container,
    .rev-cta__container,
    .rev-form__container {
        padding: 0 16px;
    }

    .rev-hero__title {
        font-size: 1.5rem;
    }

    .rev-hero__stat {
        padding: 10px 14px;
        min-width: 80px;
    }

    .rev-hero__stat-num {
        font-size: 20px;
    }

    .rev-hero__stat-label {
        font-size: 10px;
    }

    .rev-card {
        padding: 18px;
    }

    .rev-card__header {
        gap: 12px;
    }

    .rev-card__avatar {
        width: 40px;
        height: 40px;
    }

    .rev-card__avatar img {
        width: 20px;
        height: 20px;
    }

    .rev-form__wrapper {
        padding: 20px 16px;
    }
}
