/* HueFit — Google Reviews
   Brand: cyan #00ADEF · orange #F58220 · ink #123047 */

:root {
    --hue: #00ADEF;
    --fit: #F58220;
    --ink: #123047;
    --muted: #64748b;
    --surface: #ffffff;
    --soft: #f4f8fb;
    --line: #e6eef5;
}

/* —— Page chrome (reviews.html) —— */
.reviews-page {
    background: var(--soft);
}

.reviews-page .nav-link.active,
.reviews-page .nav-link:hover {
    color: var(--hue) !important;
}

.reviews-page .quote-btn {
    background: var(--hue);
}

.reviews-page .quote-btn:hover {
    background: var(--fit);
}

.reviews-hero {
    background: var(--surface);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--line);
}

.reviews-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.reviews-breadcrumb a {
    color: var(--hue);
    text-decoration: none;
    font-weight: 600;
}

.reviews-breadcrumb a:hover {
    color: var(--fit);
}

.reviews-breadcrumb .current {
    color: var(--ink);
    font-weight: 600;
}

.reviews-hero-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--hue);
    margin-bottom: 0.65rem;
}

.reviews-hero-text {
    color: var(--muted);
    max-width: 640px;
    margin: 0;
    line-height: 1.7;
}

/* —— Shared section —— */
.hf-reviews-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--soft) 48%, #ffffff 100%);
}

.hf-reviews-section .section-label {
    color: var(--hue);
}

.hf-reviews-section .section-title {
    color: var(--ink);
}

.hf-reviews-lead {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* —— Rating summary card —— */
.hf-rating-summary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbff 52%, #fff8f2 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 0;
    box-shadow:
        0 18px 40px rgba(18, 48, 71, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.hf-rating-summary__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hue) 0%, #4dc9f5 45%, var(--fit) 100%);
}

.hf-rating-summary__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    padding: 1.65rem 1.85rem;
}

.hf-rating-summary__brand {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    flex: 1 1 320px;
    min-width: 0;
}

.hf-rating-summary__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 173, 239, 0.16);
    box-shadow: 0 10px 24px rgba(0, 173, 239, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hf-rating-summary__icon svg {
    width: 28px;
    height: 28px;
}

.hf-rating-summary__copy {
    min-width: 0;
}

.hf-rating-summary__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hue);
    margin-bottom: 0.35rem;
}

.hf-rating-summary__eyebrow .bi {
    font-size: 0.95rem;
    color: var(--fit);
}

.hf-rating-summary__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
}

.hf-rating-summary__subtitle {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 520px;
}

.hf-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    flex: 0 1 auto;
}

.hf-btn-google,
.hf-btn-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.82rem 1.4rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    border: 2px solid transparent;
}

.hf-btn-google {
    background: linear-gradient(135deg, var(--hue) 0%, #0096d1 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 173, 239, 0.28);
}

.hf-btn-google:hover {
    background: linear-gradient(135deg, var(--fit) 0%, #e87412 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 130, 32, 0.32);
}

.hf-btn-write {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 4px 14px rgba(18, 48, 71, 0.05);
}

.hf-btn-write:hover {
    border-color: var(--hue);
    color: var(--hue);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 173, 239, 0.12);
}

.hf-btn-google .bi,
.hf-btn-write .bi {
    font-size: 1.05rem;
}

@media (max-width: 767px) {
    .hf-reviews-section {
        padding: 3rem 0;
    }

    .hf-rating-summary__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.45rem 1.25rem;
    }

    .hf-rating-summary__brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hf-rating-summary__subtitle {
        margin: 0 auto;
    }

    .hf-review-actions {
        width: 100%;
        flex-direction: column;
        justify-content: stretch;
    }

    .hf-btn-google,
    .hf-btn-write {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hf-btn-google,
    .hf-btn-write,
    .hf-rating-summary {
        transition: none;
    }

    .hf-btn-google:hover,
    .hf-btn-write:hover {
        transform: none;
    }
}
