/* =========================================================
   YD COMMERCIAL CLEANING
   GOOGLE REVIEWS PAGE
========================================================= */

.reviews-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,.08), transparent 30%),
        linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.reviews-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -250px;
    top: -250px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.reviews-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.reviews-hero h1 {
    margin: 0 auto 20px;
    max-width: 800px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.reviews-hero p {
    max-width: 680px;
    margin: 0 auto 35px;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.7;
}

.reviews-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.reviews-score {
    font-size: 34px;
    font-weight: 850;
}

.reviews-stars {
    color: #fbbf24;
    font-size: 23px;
    letter-spacing: 2px;
}

.reviews-count {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 600;
}

.reviews-hero-actions,
.reviews-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.reviews-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 750;
    font-size: 15px;
    transition: all .25s ease;
}

.reviews-btn:hover {
    transform: translateY(-2px);
}

.reviews-btn-primary {
    background: #fff;
    color: #1e40af;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.reviews-btn-primary:hover {
    background: #f8fafc;
}

.reviews-btn-secondary {
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.reviews-btn-secondary:hover {
    background: rgba(255,255,255,.16);
}


/* =========================================================
   TRUST
========================================================= */

.reviews-trust {
    position: relative;
    z-index: 5;
    margin-top: -38px;
    padding-bottom: 75px;
}

.reviews-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.reviews-trust-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
}

.reviews-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
}

.reviews-trust-card strong {
    display: block;
    margin-bottom: 3px;
    color: #111827;
    font-size: 17px;
}

.reviews-trust-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
}


/* =========================================================
   REVIEWS SECTION
========================================================= */

.reviews-section {
    padding: 90px 0;
    background: #fff;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.reviews-title {
    margin: 8px 0 10px;
    color: #111827;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.025em;
}

.reviews-subtitle {
    max-width: 650px;
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
}

.google-review-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15,23,42,.06);
}

.google-review-icon,
.google-mini-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}

.google-review-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #f3f4f6;
    color: #4285f4;
    font-size: 20px;
}

.google-review-badge strong {
    display: block;
    color: #111827;
    font-size: 14px;
}

.google-review-badge small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
}


/* =========================================================
   FEATURED REVIEW
========================================================= */

.featured-review {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37,99,235,.08), transparent 35%),
        #f8fbff;
}

.featured-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 1px solid #dbeafe;
}

.featured-label {
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.featured-google {
    color: #4285f4;
    font-size: 14px;
    font-weight: 800;
}

.featured-review-content {
    max-width: 900px;
    padding: 34px 38px 38px;
}

.featured-stars {
    margin-bottom: 15px;
    color: #f59e0b;
    font-size: 22px;
    letter-spacing: 3px;
}

.featured-review blockquote {
    margin: 0 0 28px;
    color: #1f2937;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.55;
    font-weight: 500;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 13px;
}

.featured-author img,
.featured-author .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.featured-author img {
    object-fit: cover;
}

.featured-author strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.featured-author span {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 13px;
}


/* =========================================================
   REVIEW GRID
========================================================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15,23,42,.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border: 0;
}

.review-avatar,
.review-avatar-image {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.review-avatar-image {
    object-fit: cover;
}

.review-info {
    min-width: 0;
}

.review-info h3 {
    overflow: hidden;
    margin: 0 0 3px;
    color: #111827;
    font-size: 15px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-info p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
}

.google-mini-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4285f4;
    font-size: 17px;
}

.review-rating {
    display: flex;
    gap: 2px;
    margin: 20px 0 13px;
    padding: 0;
}

.review-rating span {
    color: #f59e0b;
    font-size: 17px;
}

.review-text {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
}

.review-no-comment {
    color: #6b7280;
    font-style: italic;
}

.review-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 650;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-box {
    max-width: 650px;
    margin: 0 auto;
    padding: 55px 30px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f9fafb;
    text-align: center;
}

.empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 24px;
}

.empty-box h3 {
    margin-bottom: 8px;
    color: #111827;
}

.empty-box p {
    margin: 0;
    color: #6b7280;
}


/* =========================================================
   BENEFITS
========================================================= */

.reviews-benefits {
    padding: 95px 0;
    background: #f8fafc;
}

.reviews-benefits-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.reviews-benefits-heading h2 {
    margin: 8px 0 13px;
    color: #111827;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.025em;
}

.reviews-benefits-heading p {
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15,23,42,.08);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 18px;
    font-weight: 800;
}

.benefit-card h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 17px;
}

.benefit-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   CTA
========================================================= */

.reviews-cta {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 10% 80%, rgba(255,255,255,.08), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(255,255,255,.10), transparent 30%),
        linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.reviews-cta-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.reviews-cta h2 {
    margin: 0 auto 15px;
    max-width: 700px;
    color: #fff;
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.03em;
}

.reviews-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.9);
    font-size: 17px;
    line-height: 1.7;
}

.reviews-btn-light {
    background: #fff;
    color: #1e40af;
}

.reviews-btn-outline {
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    background: rgba(255,255,255,.08);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .reviews-trust-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {

    .reviews-hero {
        padding: 75px 0 80px;
    }

    .reviews-hero h1 {
        font-size: 42px;
    }

    .reviews-hero p {
        font-size: 16px;
    }

    .reviews-hero-rating {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reviews-trust {
        margin-top: -25px;
        padding-bottom: 55px;
    }

    .reviews-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .reviews-section {
        padding: 70px 0;
    }

    .featured-review-content {
        padding: 27px;
    }

    .featured-review blockquote {
        font-size: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-benefits {
        padding: 70px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .reviews-cta {
        padding: 70px 0;
    }
}


@media (max-width: 560px) {

    .reviews-hero {
        padding: 60px 0 70px;
    }

    .reviews-hero h1 {
        font-size: 35px;
    }

    .reviews-hero-rating {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .reviews-score {
        font-size: 30px;
    }

    .reviews-stars {
        font-size: 20px;
    }

    .reviews-count {
        width: 100%;
    }

    .reviews-hero-actions,
    .reviews-cta-actions {
        flex-direction: column;
    }

    .reviews-btn {
        width: 100%;
        max-width: 300px;
    }

    .reviews-trust-grid {
        grid-template-columns: 1fr;
    }

    .reviews-trust-card {
        min-height: 85px;
    }

    .featured-review-top {
        padding: 15px 18px;
    }

    .featured-review-content {
        padding: 24px 20px 28px;
    }

    .reviews-title {
        font-size: 32px;
    }

    .review-card {
        padding: 21px;
    }
}