/* ==========================================================
   OPINIE
   ========================================================== */

.reviews-page {
    background: #fff;
}

.reviews-hero {
    padding:
        clamp(4rem, 8vw, 7rem)
        0
        clamp(4rem, 7vw, 6rem);

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(25, 148, 155, 0.12),
            transparent 34%
        ),
        #fff;
}

.reviews-hero__inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, 0.65fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.reviews-hero__eyebrow,
.reviews-heading__eyebrow,
.reviews-cta__eyebrow {
    margin: 0 0 0.8rem;
    color: #16858d;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reviews-hero__title {
    max-width: 850px;
    margin: 0;
    color: #074b52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.04;
}

.reviews-hero__lead {
    max-width: 720px;
    margin: 1.5rem 0 0;
    color: #5d696b;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.75;
}

.reviews-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}


/* ==========================================================
   PODSUMOWANIE
   ========================================================== */

.reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: #f6fbfb;
    border: 1px solid rgba(7, 75, 82, 0.12);
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(7, 75, 82, 0.08);
}

.reviews-summary__stars,
.review-card__stars,
.reviews-empty__stars {
    color: #d5a63a;
    font-size: 1.15rem;
    letter-spacing: 0.09em;
}

.reviews-summary__rating {
    margin-top: 0.9rem;
    color: #074b52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.reviews-summary__label,
.reviews-summary__count {
    margin-top: 0.35rem;
    color: #687476;
    line-height: 1.5;
}

.reviews-summary__count {
    margin-top: 1rem;
    padding: 0.45rem 0.75rem;
    color: #076c74;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e5f4f4;
    border-radius: 999px;
}


/* ==========================================================
   PRZYCISKI
   ========================================================== */

.reviews-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.3rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

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

.reviews-button--primary {
    color: #fff;
    background: #087e87;
    box-shadow:
        0 10px 25px rgba(8, 126, 135, 0.2);
}

.reviews-button--secondary {
    color: #087e87;
    background: #fff;
    border: 1px solid rgba(8, 126, 135, 0.3);
}

.reviews-button--light {
    color: #07565e;
    background: #fff;
}


/* ==========================================================
   LISTA OPINII
   ========================================================== */

.reviews-content {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-top: 1px solid rgba(7, 75, 82, 0.08);
}

.reviews-heading {
    margin-bottom: 2.25rem;
}

.reviews-heading h2 {
    margin: 0;
    color: #074b52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.reviews-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid rgba(7, 75, 82, 0.12);
    border-radius: 20px;
    box-shadow:
        0 14px 35px rgba(7, 75, 82, 0.05);
}

.review-card__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.review-card__source {
    padding: 0.4rem 0.7rem;
    color: #076c74;
    font-size: 0.76rem;
    font-weight: 700;
    background: #e8f6f6;
    border-radius: 999px;
}

.review-card__content {
    margin: 1.5rem 0;
    color: #505d60;
    font-size: 1rem;
    line-height: 1.75;
}

.review-card__content > :first-child {
    margin-top: 0;
}

.review-card__content > :last-child {
    margin-bottom: 0;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(7, 75, 82, 0.09);
}

.review-card__author {
    display: block;
    color: #074b52;
}

.review-card__service {
    display: block;
    margin-top: 0.3rem;
    color: #788184;
    font-size: 0.82rem;
}

.review-card__verified {
    flex: 0 0 auto;
    color: #087e87;
    font-size: 0.78rem;
    font-weight: 700;
}

.review-card__source-link {
    margin-top: 1rem;
    color: #087e87;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}


/* ==========================================================
   PUSTY STAN
   ========================================================== */

.reviews-empty {
    max-width: 760px;
    padding: clamp(2rem, 5vw, 3rem);
    background: #f7fbfb;
    border: 1px solid rgba(7, 75, 82, 0.1);
    border-radius: 22px;
}

.reviews-empty h3 {
    margin: 1rem 0 0.75rem;
    color: #074b52;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.reviews-empty p {
    margin: 0 0 1.5rem;
    color: #687476;
    line-height: 1.7;
}


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

.reviews-cta {
    padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.reviews-cta__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    background: #07565e;
    border-radius: 28px;
}

.reviews-cta__eyebrow {
    color: #a9dde0;
}

.reviews-cta__box h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.reviews-cta__box p {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.8);
}


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

@media (max-width: 64rem) {

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

    .reviews-summary {
        max-width: 520px;
    }
}

@media (max-width: 47.999rem) {

    .reviews-hero {
        padding-top: 3rem;
    }

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

    .reviews-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-button {
        width: 100%;
    }

    .review-card__footer,
    .reviews-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-card__verified {
        flex: auto;
    }

    .reviews-cta__box {
        border-radius: 20px;
    }
}
