@charset "UTF-8";

/* reviews.ubashe.pk - public page
   Palette taken from ubashe.pk. See Notes/Colour Reference.md.
   Hand-written on purpose: the server has no Node, so there is no build step. */

:root {
    /* Sampled from the logo PNG itself, so these are exact. */
    --green: #10563f;
    --green-dark: #0a3b2a;
    --green-light: #1f6f52;
    --gold: #fdcf22;
    --star: #f5a623;
    --whatsapp: #25d366;

    --ink: #333333;
    --ink-muted: #4f4f4f;
    --ink-faint: #6d6c6c;
    --band: #f4f4f4;
    --line: #e1e1e1;
    --white: #ffffff;

    --radius: 10px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .05);
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--white);
    color: var(--green);
    padding: 10px 16px;
    z-index: 10;
}

.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Breadcrumb ---------- */

.crumbs {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-faint);
    padding-block: 9px;
}

.crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.crumbs a { color: var(--green); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.crumbs li + li::before {
    content: "›";   /* single right chevron */
    margin-right: 6px;
    color: #9aa3a0;
    font-weight: 700;
}

.crumbs [aria-current="page"] { color: var(--ink-faint); }

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    text-align: center;
    padding-block: 40px 56px;
}

.hero__logo {
    /* The logo artwork is dark green and yellow on a transparent background,
       so it needs a white plate to be visible on the green hero.

       This must be a block with auto side margins, not an inline-block: as an
       inline-block it shared a line with the badge that follows it and the two
       centred together, leaving the logo sitting left of centre. */
    display: block;
    width: max-content;
    margin: 0 auto 18px;
    background: var(--white);
    /* Rounded square, not a circle: the artwork is square, and a circle of
       this size would cut across its corners. */
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.hero__logo img {
    width: 84px;
    height: 84px;
    display: block;
}

.hero__brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0 0 14px;
}

.hero__brand span { color: var(--gold); }

.hero__badge {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: 5px 16px;
    margin-bottom: 22px;
}

.hero__badge::before { content: "\2605  "; color: var(--gold); }

.hero h1 {
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 700;
}

.hero__subtitle {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 15.5px;
    color: rgba(255, 255, 255, .88);
}

/* ---------- Stat boxes ---------- */

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.stat {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 14px 30px;
    min-width: 140px;
}

.stat__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.stat__value--stars { color: var(--star); font-size: 19px; letter-spacing: 2px; }

.stat__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: rgba(255, 255, 255, .78);
}

/* ---------- Intro + feature strip ---------- */

.intro { padding-block: 34px 0; }

.intro p {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 28px;
    padding-block: 20px;
}

.feature { display: flex; gap: 10px; align-items: flex-start; }

.feature__icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 86, 63, .09);
    color: var(--green);
    display: grid;
    place-items: center;
}

.feature__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature { align-items: center; }

.feature__title { font-size: 13.5px; font-weight: 700; }
.feature__text { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Tabs ---------- */

.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-block: 32px 4px;
}

.tab {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink-muted);
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s, color .15s, border-color .15s;
}

.tab:hover { border-color: var(--green); color: var(--green); }

.tab[aria-selected="true"] {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.tab__count {
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
    padding: 1px 8px;
}

.tab[aria-selected="true"] .tab__count { background: rgba(255, 255, 255, .2); }

/* ---------- Review grid ---------- */

.panel { padding-block: 26px 40px; background: var(--band); }

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 40px 18px 16px;
    position: relative;
}

.card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

.avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    display: grid;
    place-items: center;
}

.card__name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.card__date { font-size: 11.5px; color: var(--ink-faint); }

.stars { color: var(--star); font-size: 13.5px; letter-spacing: 1.5px; }

.card__body {
    font-size: 13.5px;
    color: var(--ink-muted);
    margin: 8px 0 0;
    white-space: pre-line;
}

.card__source {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    opacity: .9;
}

/* WhatsApp screenshot cards */

.shot {
    background: #0b141a;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.shot img { width: 100%; }

.shot__placeholder {
    aspect-ratio: 9 / 16;
    background: repeating-linear-gradient(45deg, #e9edf0, #e9edf0 12px, #dfe5e9 12px, #dfe5e9 24px);
    display: grid;
    place-items: center;
    color: #6d7d86;
    font-size: 12.5px;
    text-align: center;
    padding: 16px;
}

.shot__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--whatsapp);
    color: #04301a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 999px;
    padding: 2px 9px;
}

/* ---------- Pagination / empty ---------- */

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 30px;
}

.pager a, .pager span {
    min-width: 38px;
    text-align: center;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.pager a:hover { border-color: var(--green); color: var(--green); }

.pager [aria-current="page"] {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.pager .is-disabled { opacity: .45; }

.pager__gap { border: 0; background: none; min-width: 16px; padding-inline: 2px; }

.pager__count {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-faint);
    margin-top: 12px;
}

.btn {
    appearance: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
    padding: 11px 30px;
    border: 1px solid var(--green);
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    transition: background .15s;
}

.btn:hover { background: var(--green-dark); }

.btn--ghost { background: var(--white); color: var(--green); }
.btn--ghost:hover { background: var(--band); }

.btn[disabled] { opacity: .55; cursor: default; }

.empty {
    text-align: center;
    color: var(--ink-faint);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 44px 20px;
    font-size: 14px;
}

/* ---------- FAQ ---------- */

.faq { padding-block: 44px; }

.faq h2, .section-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 28px);
    margin: 0 0 26px;
    color: var(--green);
}

.faq__list { max-width: 820px; margin-inline: auto; }

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background: var(--white);
    overflow: hidden;
}

.faq__item summary {
    cursor: pointer;
    padding: 14px 44px 14px 16px;
    font-weight: 600;
    font-size: 14.5px;
    list-style: none;
    position: relative;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 20px;
    font-weight: 400;
}

.faq__item[open] summary::after { content: "\2212"; }

.faq__answer {
    padding: 0 16px 16px;
    font-size: 14px;
    color: var(--ink-muted);
    white-space: pre-line;
}

/* ---------- CTA ---------- */

.cta {
    background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    text-align: center;
    padding-block: 46px;
}

.cta h2 { margin: 0 0 10px; font-size: clamp(22px, 3.4vw, 30px); }
.cta p { margin: 0 auto 24px; max-width: 620px; color: rgba(255, 255, 255, .88); font-size: 15px; }

.cta .btn {
    background: var(--gold);
    border-color: var(--gold);
    color: #26200a;
}

.cta .btn:hover { background: #c39205; border-color: #c39205; }

/* ---------- Footer ---------- */

.foot {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-faint);
    padding-block: 22px;
}

.foot a { color: var(--ink-faint); }

/* ---------- Notices ---------- */

.notice {
    background: #fff8e1;
    border: 1px solid #f0d48a;
    color: #6b5200;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 13.5px;
    margin-top: 20px;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .tabs { flex-direction: column; align-items: stretch; }
    .tab { justify-content: center; }
    .stat { padding: 12px 20px; min-width: 0; flex: 1 1 30%; }
    .card__body { font-size: 13px; }
}

@media (max-width: 460px) {
    .grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .hero__logo img { width: 66px; height: 66px; }
    .pager a, .pager span { padding: 7px 11px; min-width: 34px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
