/* HP Cairo reviews block
   File: assets/css/reviews.css
   Version: 0.1.50
*/

.hpc-reviews {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(226, 181, 104, 0.075), transparent 34%),
        linear-gradient(180deg, #090403 0%, #0c0705 48%, #050303 100%);
    color: #fff6e5;
    padding: clamp(44px, 5vw, 76px) 0 clamp(72px, 7vw, 108px);
    border-top: 1px solid rgba(232, 190, 115, 0.10);
}

.hpc-reviews::before {
    content: "CAIRO";
    position: absolute;
    z-index: -2;
    right: -0.08em;
    top: 22px;
    color: rgba(255, 226, 162, 0.020);
    -webkit-text-stroke: 1px rgba(255, 226, 162, 0.035);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(96px, 18vw, 280px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.06em;
    pointer-events: none;
}

.hpc-reviews::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(232, 190, 115, 0.06), transparent 19%, transparent 81%, rgba(232, 190, 115, 0.06)),
        radial-gradient(circle at 50% 0%, rgba(255, 226, 162, 0.08), transparent 36%);
}

.hpc-reviews__inner {
    width: min(100% - 72px, 1500px);
    margin: 0 auto;
}

.hpc-reviews__head {
    display: grid;
    justify-items: center;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto 26px;
}

.hpc-reviews__title {
    position: relative;
    width: min(100%, 980px);
    margin: 0;
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center;
    gap: clamp(16px, 2.6vw, 34px);
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 3.55vw, 56px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.043em;
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.85), 0 0 28px rgba(232, 190, 115, 0.10);
}

.hpc-reviews__title::before,
.hpc-reviews__title::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 190, 115, 0.34));
    box-shadow: 0 0 18px rgba(232, 190, 115, 0.12);
}

.hpc-reviews__title::after {
    background: linear-gradient(90deg, rgba(232, 190, 115, 0.34), transparent);
}

.hpc-reviews__statement {
    width: min(100%, 820px);
    margin: 18px auto 0;
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hpc-reviews__eyebrow {
    color: #f1d39a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hpc-reviews__statement p {
    margin: 0;
    color: rgba(255, 244, 223, 0.86);
    font-size: clamp(15px, 1.18vw, 18px);
    font-weight: 600;
    line-height: 1.55;
    text-wrap: balance;
}

.hpc-reviews__summary {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 28px;
}

.hpc-reviews-score,
.hpc-reviews-metrics,
.hpc-review-card {
    position: relative;
    border: 1px solid rgba(232, 190, 115, 0.18);
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)), rgba(0,0,0,0.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 22px 54px rgba(0,0,0,0.22);
}

.hpc-reviews-score::before,
.hpc-reviews-metrics::before,
.hpc-review-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(232, 190, 115, 0.08);
    border-radius: 4px;
    pointer-events: none;
}

.hpc-reviews-score {
    padding: 26px 28px;
}

.hpc-reviews-score__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hpc-reviews-score__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(232, 190, 115, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 226, 162, 0.90);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hpc-reviews-score__meta {
    color: rgba(255, 244, 223, 0.62);
    font-size: 12px;
    font-weight: 700;
}

.hpc-reviews-score__main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
}

.hpc-reviews-score__value {
    color: #fffaf0;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: clamp(54px, 5vw, 84px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-shadow: 0 0 26px rgba(232, 190, 115, 0.12);
}

.hpc-reviews-score__stars,
.hpc-review-card__stars {
    color: #f1d39a;
    font-size: 15px;
    letter-spacing: 0.12em;
}

.hpc-reviews-score__counts {
    margin-top: 8px;
    color: rgba(255, 244, 223, 0.86);
    font-size: 15px;
    font-weight: 800;
}

.hpc-reviews-score__text {
    margin-top: 10px;
    color: rgba(255, 244, 223, 0.74);
    font-size: 14px;
    line-height: 1.55;
}

.hpc-reviews-metrics {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    align-content: center;
}

.hpc-reviews-metric {
    padding: 16px 14px;
    border: 1px solid rgba(232, 190, 115, 0.14);
    border-radius: 4px;
    background: rgba(0,0,0,0.20);
    text-align: left;
}

.hpc-reviews-metric__label {
    display: block;
    color: rgba(255, 244, 223, 0.76);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hpc-reviews-metric__value {
    display: block;
    margin-top: 8px;
    color: #f1d39a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.hpc-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hpc-review-card {
    padding: 22px 22px 20px;
}

.hpc-review-card__mark {
    position: absolute;
    right: 12px;
    top: 0;
    color: rgba(255, 226, 162, 0.07);
    font-family: Georgia, serif;
    font-size: 110px;
    line-height: 1;
    pointer-events: none;
}

.hpc-review-card__top {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.hpc-review-card__source {
    color: rgba(255, 244, 223, 0.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hpc-review-card__text {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    color: rgba(255, 244, 223, 0.86);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.62;
}

.hpc-review-card__bottom {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(232, 190, 115, 0.12);
}

.hpc-review-card__author {
    color: #fff7e7;
    font-size: 15px;
    font-weight: 800;
}

.hpc-review-card__accent {
    margin-top: 6px;
    color: #f1d39a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hpc-reviews__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.hpc-reviews__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 30px;
    border: 1px solid rgba(232, 190, 115, 0.34);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.24);
    color: #fff3da;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 34px rgba(232, 190, 115, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hpc-reviews__button:hover {
    background: rgba(232, 190, 115, 0.08);
    border-color: rgba(255, 226, 162, 0.54);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(232, 190, 115, 0.14);
}

.hpc-reviews__button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 1020px) {
    .hpc-reviews__inner {
        width: min(100% - 40px, 980px);
    }

    .hpc-reviews__summary {
        grid-template-columns: 1fr;
    }

    .hpc-reviews__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hpc-reviews {
        padding: 46px 0 76px;
    }

    .hpc-reviews__inner {
        width: min(100% - 28px, 560px);
    }

    .hpc-reviews__head {
        margin-bottom: 20px;
    }

    .hpc-reviews__title {
        grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
        gap: 12px;
        font-size: clamp(28px, 7.8vw, 38px);
        letter-spacing: -0.043em;
    }

    .hpc-reviews__statement {
        margin-top: 16px;
        gap: 8px;
        padding: 0;
    }

    .hpc-reviews__statement p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hpc-reviews-score {
        padding: 20px 18px;
    }

    .hpc-reviews-score__top {
        display: grid;
        justify-items: start;
    }

    .hpc-reviews-score__main {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hpc-reviews-metrics {
        grid-template-columns: repeat(2, minmax(0,1fr));
        padding: 16px;
    }

    .hpc-review-card {
        padding: 18px 16px;
    }

    .hpc-reviews__button {
        width: 100%;
        min-height: 54px;
        padding: 0 20px;
        font-size: 13px;
        letter-spacing: 0.11em;
        text-align: center;
    }
}
