/* ==========================================================================
   Google Yorumları (GoogleReviews/Index)
   Önek: .akr-  ·  Sayfada JS yok; başlık bandı ak-pages.css'teki .ak-page-hero'yu kullanır.
   ========================================================================== */

.akr-page { overflow-x: clip; }

/* ------------------------------ Puan mührü (başlık bandı) ------------------------------ */
.akr-hero__grid { align-items: center; }
.akr-score {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 260px;
    height: 320px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding-top: 28px;
    border-radius: 50% 50% 26px 26px / 40% 40% 26px 26px;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(238, 215, 21, .2), transparent 60%),
        linear-gradient(180deg, #7a2d63 0%, #43163a 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8);
    text-align: center;
}
.akr-score::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ak-mashrabiya);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.akr-score::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    border: 1px solid rgba(238, 215, 21, .28);
    pointer-events: none;
}
.akr-score__g {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-size: 1.125rem;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6);
}
.akr-score__num { color: #fff; font-size: 4.25rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.akr-score__stars { display: inline-flex; gap: 4px; color: var(--ak-sun); font-size: 1.125rem; }
.akr-score__count { color: rgba(255, 255, 255, .7); font-size: .875rem; font-weight: 600; }
.akr-score__ar { position: absolute; z-index: -1; bottom: 14px; inset-inline: 0; text-align: center; color: rgba(255, 255, 255, .08); font-size: 3.5rem; line-height: 1; direction: inherit; }

/* ------------------------------ Yorum ızgarası ------------------------------ */
.akr-content { background: var(--ak-bg); }
.akr-grid { columns: 3 320px; column-gap: 20px; }
.akr-card {
    position: relative;
    isolation: isolate;
    break-inside: avoid;
    display: grid;
    gap: 14px;
    margin: 0 0 20px;
    padding: 28px 26px 22px;
    border-radius: 26px;
    border: 1px solid var(--ak-line);
    background: #fff;
}
.akr-card__quote {
    position: absolute;
    z-index: -1;
    top: 6px;
    inset-inline-end: 20px;
    font-family: var(--ak-font-naskh);
    font-size: 6rem;
    line-height: 1;
    color: var(--ak-plum-100);
    pointer-events: none;
}
.akr-card__stars { display: inline-flex; gap: 3px; color: #f4b400; font-size: .9375rem; }
.akr-card__stars .far { color: var(--ak-line-strong); }
.akr-card__text { margin: 0; color: var(--ak-ink-2); font-size: 1rem; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }

.akr-card__reply {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--ak-plum-25);
    border-inline-start: 3px solid var(--ak-plum-300);
}
.akr-card__reply-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
.akr-card__reply-label { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ak-plum-700); }
.akr-card__reply-head time { font-size: .75rem; color: var(--ak-muted); }
.akr-card__reply-text { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--ak-ink-2); }

.akr-card__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; margin-top: 2px; border-top: 1px solid var(--ak-line); }
.akr-card__avatar {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--ak-plum-100);
}
.akr-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.akr-card__initials { color: var(--ak-plum-700); font-weight: 700; font-size: .875rem; }
.akr-card__meta { display: grid; gap: 1px; min-width: 0; }
.akr-card__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--ak-ink); overflow-wrap: anywhere; }
.akr-card__verified { width: 16px; height: 16px; flex: none; fill: #1a73e8; }
.akr-card__date { font-size: .8125rem; color: var(--ak-muted); }
.akr-card__g { margin-inline-start: auto; color: #4285f4; font-size: 1.125rem; }

/* Ritim: ilk kart koyu, her beşinci kart kum tonlu */
.akr-card:first-child { background: var(--ak-plum-900); border-color: transparent; }
.akr-card:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    border-radius: inherit;
    background-image: var(--ak-pattern-light);
    background-size: 88px 88px;
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
}
.akr-card:first-child .akr-card__quote { color: rgba(238, 215, 21, .22); }
.akr-card:first-child .akr-card__text { color: rgba(255, 255, 255, .86); font-size: 1.0625rem; }
.akr-card:first-child .akr-card__who { border-top-color: rgba(255, 255, 255, .12); }
.akr-card:first-child .akr-card__name { color: #fff; }
.akr-card:first-child .akr-card__date { color: rgba(255, 255, 255, .6); }
.akr-card:first-child .akr-card__g { color: #fff; }
.akr-card:first-child .akr-card__reply { background: rgba(255, 255, 255, .06); border-inline-start-color: var(--ak-sun); }
.akr-card:first-child .akr-card__reply-label { color: var(--ak-sun); }
.akr-card:first-child .akr-card__reply-text,
.akr-card:first-child .akr-card__reply-head time { color: rgba(255, 255, 255, .72); }
.akr-card:nth-child(5n+3) { background: #f7eee6; border-color: #efe0d2; }
.akr-card:nth-child(5n+3) .akr-card__quote { color: rgba(150, 105, 64, .2); }

/* ------------------------------ Sayfalama ------------------------------ */
.akr-pagination { margin: 16px 0 0; }
.akr-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.akr-pg {
    min-width: 48px;
    height: 48px;
    padding-inline: 12px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--ak-radius-pill);
    border: 1px solid var(--ak-line);
    background: #fff;
    color: var(--ak-ink-2);
    font-weight: 700;
    text-decoration: none;
}
.akr-pg:hover { border-color: var(--ak-plum-300); color: var(--ak-plum-700); }
.akr-pg.is-active { background: var(--ak-plum-900); border-color: var(--ak-plum-900); color: #fff; }

/* ------------------------------ Değerlendirme çağrısı ------------------------------ */
.akr-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    margin-top: clamp(40px, 5vw, 72px);
    padding: clamp(28px, 4vw, 48px);
    border-radius: 32px;
    background: radial-gradient(640px 320px at 92% 0%, rgba(238, 215, 21, .22), transparent 65%), linear-gradient(180deg, #f6ede3 0%, #f1e5d7 100%);
    border: 1px solid #eadccb;
    color: var(--ak-plum-950);
}
.akr-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--ak-pattern-plum);
    background-size: 88px 88px;
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%);
}
.akr-cta__copy { display: grid; justify-items: start; gap: 12px; }
.akr-cta__stars { color: var(--ak-plum-800); letter-spacing: 4px; font-size: 1.125rem; }
.akr-cta__ar { margin: 0; font-family: var(--ak-font-naskh); font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 700; line-height: 1.3; color: var(--ak-plum-900) !important; }
.akr-cta__btn { --_bg: var(--ak-plum-900); --_fg: #fff; white-space: normal; }
.akr-cta__btn:hover { --_bg: var(--ak-plum-950); --_fg: #fff; box-shadow: 0 10px 24px -10px rgba(47, 16, 37, .6); }

.akr-cta__qr { display: flex; align-items: center; gap: 20px; }
.akr-cta__qr-frame {
    flex: none;
    padding: 16px 14px 14px;
    border-radius: 50% 50% 18px 18px / 30% 30% 18px 18px;
    background: #fff;
    box-shadow: 0 24px 40px -24px rgba(47, 16, 37, .5);
}
.akr-cta__qr-frame img { display: block; width: 130px; height: 130px; margin-top: 22px; }
.akr-cta__qr-copy { max-width: 200px; }
.akr-cta__qr-label { margin: 0 0 4px; font-weight: 700; color: var(--ak-plum-950) !important; }
.akr-cta__qr-hint { margin: 0; font-size: .875rem; line-height: 1.5; color: rgba(47, 16, 37, .72) !important; }

/* ------------------------------ Boş durum ------------------------------ */
.akr-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    max-width: 520px;
    margin-inline: auto;
    padding: 56px 24px;
    border-radius: 28px;
    border: 1px dashed var(--ak-line-strong);
    background: #fff;
    text-align: center;
}
.akr-empty__arch {
    width: 76px;
    height: 92px;
    margin-bottom: 8px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px;
    background: var(--ak-plum-900);
    color: var(--ak-sun);
    font-size: 1.5rem;
}
.akr-empty__title { margin: 0; font-size: 1.375rem; }
.akr-empty__text { margin: 0; color: var(--ak-muted); }

@media (prefers-reduced-motion: no-preference) {
    .akr-card, .akr-pg { transition: transform .3s var(--ak-ease), box-shadow .25s var(--ak-ease), border-color .2s, color .2s !important; }
    .akr-card:hover { transform: translateY(-3px); box-shadow: var(--ak-shadow); }
}

/* ------------------------------ Duyarlı ------------------------------ */
@media (max-width: 991.98px) {
    .akr-hero__grid { gap: 28px; }
    .akr-score {
        width: 100%;
        max-width: 420px;
        height: auto;
        grid-template-columns: auto auto;
        grid-template-areas: "num g" "num stars" "num count";
        justify-content: start;
        justify-items: start;
        align-items: center;
        gap: 2px 18px;
        padding: 18px 22px;
        border-radius: 22px;
    }
    .akr-score::after { inset: 6px; border-radius: 17px; }
    .akr-score__num { grid-area: num; font-size: 3.5rem; }
    .akr-score__g { grid-area: g; width: 32px; height: 32px; font-size: .875rem; }
    .akr-score__stars { grid-area: stars; }
    .akr-score__count { grid-area: count; }
    .akr-score__ar { inset-inline: auto 18px; bottom: 50%; transform: translateY(50%); font-size: 2.75rem; }

    .akr-cta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .akr-grid { columns: 1; }
    .akr-card { padding: 22px 20px 18px; border-radius: 22px; margin-bottom: 14px; }
    .akr-card__quote { font-size: 4.5rem; }
    .akr-cta { border-radius: 26px; padding: 26px 20px; gap: 24px; }
    .akr-cta__copy { justify-items: stretch; }
    .akr-cta__btn { width: 100%; min-height: 56px; }
    .akr-cta__qr { gap: 16px; }
    .akr-cta__qr-frame { padding: 12px 10px 10px; }
    .akr-cta__qr-frame img { width: 96px; height: 96px; margin-top: 14px; }
}
