/* ===========================================================================
   IMbesharam Reviews — public stylesheet.
   Faithful translation of the Claude Design handoff (Imbesharam Reviews.dc.html)
   from inline styles to classes. Desktop-first; breakpoints: tablet ≤1000px,
   mobile ≤680px (matching the prototype's vw logic).
   =========================================================================== */

:root {
  --pink: #ea1969;
  --pink-light: #f279a5;
  --pink-star: #ee6296;
  --pink-dark: #b3134f;
  --tp-green: #00b67a;
  --tp-green-light: #4fd8a6;
  --bg: #333333;
  --card: #212127;
  --card-footer: #1b1830;
  --score-card: #1c1c20;
  --press: #111114;
  --footer: #0b0b0b;
  --text: #ececf0;
  --text-muted: #9a9aa5;
  --text-dim: #6f6f78;
  --maxw: 1360px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink); color: #fff; }
a { color: inherit; }
img { max-width: 100%; }
@keyframes imbSpin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18,18,18,0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.brand-logo { height: 50px; display: block; cursor: pointer; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.nav-link {
  background: transparent; color: #c2c2cb; border: none; border-radius: 8px;
  padding: 9px 16px; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 16px; white-space: nowrap; cursor: pointer; text-decoration: none;
}
.nav-link:hover { color: #fff; }
.nav-link.active { background: rgba(234,25,105,0.14); color: var(--pink-light); }
.header-spacer { flex: 1; }
.trust-box {
  display: flex; align-items: center; gap: 6px; padding: 8px 13px;
  border: 1px solid rgba(0,182,122,0.4); border-radius: 8px; background: rgba(0,182,122,0.08);
}
.trust-box .tp-tile {
  width: 17px; height: 17px; background: var(--tp-green); display: grid; place-items: center;
  border-radius: 2px; color: #fff; font-size: 12px;
}
.trust-box .tp-text { font-size: 14.5px; font-weight: 700; color: #e9e9ee; }
.trust-box .tp-text .score { color: var(--tp-green); }
.btn-shop {
  text-decoration: none; background: var(--pink); color: #fff; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 15.5px; padding: 10px 19px; border-radius: 8px; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 32px 20px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center;
}
.pill-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px;
  border: 1px solid rgba(234,25,105,0.5); background: rgba(234,25,105,0.1);
  border-radius: 100px; margin-bottom: 22px;
}
.pill-badge .dot { width: 6px; height: 6px; background: var(--pink); border-radius: 50%; }
.pill-badge span.label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--pink-light); }
.hero h1 {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 54px; line-height: 1.05;
  margin: 0 0 20px; color: #fff; letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--pink); }
.hero-sub { font-size: 20px; line-height: 1.6; color: #b7b7c0; margin: 0 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--pink); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 17px; padding: 13px 25px; border: none; border-radius: 9px; cursor: pointer; white-space: nowrap;
}
.btn-hero-outline {
  text-decoration: none; color: #e9e9ee; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 17px; padding: 13px 25px; border: 1px solid rgba(255,255,255,0.16); border-radius: 9px; white-space: nowrap;
}

/* ---------- Score card ---------- */
.score-card { background: var(--score-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px 30px; }
.score-top { display: flex; align-items: flex-start; gap: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.score-big { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 62px; line-height: 0.9; color: #fff; }
.score-stars { display: flex; gap: 3px; margin: 10px 0 6px; }
.score-stars .sq { width: 20px; height: 20px; background: var(--pink-star); border-radius: 3px; display: grid; place-items: center; color: #fff; font-size: 11px; }
.score-caption { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.score-dist { flex: 1; padding-top: 4px; }
.dist-row { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dist-row .lbl { font-size: 11px; color: #8f8f99; width: 28px; }
.dist-bar { flex: 1; height: 7px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.dist-bar .fill { height: 100%; background: var(--pink-star); border-radius: 100px; }
.dist-row .pct { font-size: 11px; color: #8f8f99; width: 32px; text-align: right; }
.score-tiles { display: flex; gap: 10px; margin-top: 18px; }
.score-tile { flex: 1; border-radius: 10px; padding: 12px 14px; }
.score-tile.tp { background: rgba(0,182,122,0.09); border: 1px solid rgba(0,182,122,0.25); }
.score-tile.st { background: rgba(234,25,105,0.09); border: 1px solid rgba(234,25,105,0.28); }
.score-tile .head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.score-tile .head .ic { width: 14px; height: 14px; display: grid; place-items: center; color: #fff; font-size: 10px; }
.score-tile.tp .head .ic { background: var(--tp-green); border-radius: 2px; }
.score-tile.st .head .ic { background: var(--pink); border-radius: 3px; font-weight: 700; }
.score-tile .head .name { font-size: 12px; font-weight: 700; color: #d9d9df; }
.score-tile .num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; color: #fff; }

/* ---------- Press strip + banner ---------- */
.press-sec { max-width: var(--maxw); margin: 0 auto; padding: 34px 32px 6px; }
.press-panel { background: var(--press); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow: hidden; }
.press-grid { padding: 34px 36px 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; }
.press-item .quote { font-size: 15px; line-height: 1.5; margin: 0 0 20px; font-style: italic; min-height: 66px; }
.press-item .outlet { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 19px; color: #ececed; letter-spacing: -0.01em; }
.stats-banner {
  background: linear-gradient(90deg, #e01e79 0%, #ee5c9d 100%); padding: 13px 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
}
.stats-banner .b1 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14.5px; color: #fff; }
.stats-banner .b2 { font-size: 14px; font-weight: 600; color: #fff; }

/* ---------- Reviews section ---------- */
.reviews-sec { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 0; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.reviews-head h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; margin: 0 0 4px; color: #fff; }
.reviews-head .count { margin: 0; font-size: 14px; color: #8f8f99; }
.reviews-head .count strong { color: #e9e9ee; font-weight: 700; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none;
  background: rgba(255,255,255,0.05); color: #c2c2cb; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; padding: 9px 15px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer;
}
.chip.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.chip .ic { display: inline-grid; place-items: center; color: #fff; font-size: 9px; vertical-align: middle; margin-right: 6px; }
.chip .ic.tp { width: 13px; height: 13px; background: var(--tp-green); border-radius: 2px; }
.chip .ic.st { width: 13px; height: 13px; background: var(--pink); border-radius: 3px; font-weight: 700; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid rgba(255,255,255,0.055); border-radius: 10px; overflow: hidden; }
.review-card .body { padding: 22px 24px 16px; flex: 1; }
.src-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 10px 4px 5px; border-radius: 100px; margin-bottom: 14px; }
.src-badge.tp { background: rgba(0,182,122,0.13); color: var(--tp-green-light); border: 1px solid rgba(0,182,122,0.3); }
.src-badge.st { background: rgba(234,25,105,0.13); color: var(--pink-light); border: 1px solid rgba(234,25,105,0.3); }
.src-badge .dot { display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 700; width: 15px; height: 15px; }
.src-badge.tp .dot { background: var(--tp-green); border-radius: 2px; }
.src-badge.st .dot { background: var(--pink); border-radius: 3px; }
.review-title { font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 15.5px; line-height: 1.4; color: #fff; margin: 0 0 8px; }
.review-title a { color: inherit; text-decoration: none; }
.review-title a:hover { color: var(--pink-light); text-decoration: underline; }
.review-text { font-family: 'Mulish', sans-serif; font-weight: 500; font-size: 16.5px; line-height: 1.56; color: #ededf2; margin: 0; }
.review-stars { padding: 0 24px; display: flex; gap: 5px; }
.review-stars .sq { width: 34px; height: 34px; border-radius: 3px; display: grid; place-items: center; color: #fff; font-size: 17px; background: var(--pink-star); }
.review-stars .sq.off { opacity: 0.28; }
.review-name { padding: 14px 24px 18px; }
.review-name span { font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.review-product { padding: 0 24px 16px; margin-top: -10px; font-family: 'Mulish', sans-serif; font-size: 12.5px; color: #9a9aa5; }
.review-product a { color: var(--pink-light); text-decoration: none; font-weight: 600; }
.review-product a:hover { text-decoration: underline; }
.review-product span { color: #c2c2cb; font-weight: 600; }
.review-foot { background: var(--card-footer); border-top: 1px solid rgba(255,255,255,0.045); padding: 13px 24px; font-size: 12.5px; font-weight: 600; color: #8f8aa6; letter-spacing: 0.01em; }

/* lazy sentinel */
.lazy-sentinel { display: flex; justify-content: center; padding: 34px 0 8px; }
.lazy-loading { display: flex; align-items: center; gap: 11px; color: #8f8f99; font-size: 13.5px; font-weight: 600; }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(234,25,105,0.3); border-top-color: var(--pink); border-radius: 50%; display: inline-block; animation: imbSpin 0.8s linear infinite; }
.lazy-end { color: var(--text-dim); font-size: 13px; font-weight: 600; }

/* empty state */
.empty-state { text-align: center; padding: 60px 24px; border: 1px dashed rgba(255,255,255,0.12); border-radius: 14px; background: rgba(255,255,255,0.015); }
.empty-state h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 8px; }
.empty-state p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); border-top: 1px solid rgba(255,255,255,0.06); padding: 34px 32px; margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner img { height: 32px; }
.footer-inner p { margin: 0; font-size: 12.5px; color: var(--text-dim); }

/* ---------- About page ---------- */
.about-hero { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 80% 0%, rgba(234,25,105,0.16), transparent 55%), var(--bg); padding: 72px 32px 56px; }
.about-hero-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.about-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 50px; line-height: 1.08; margin: 0 0 22px; color: #fff; letter-spacing: -0.02em; }
.about-hero h1 .accent { color: var(--pink); }
.about-intro { font-size: 19px; line-height: 1.62; color: #c2c2cb; margin: 0 auto; max-width: 720px; }
.about-intro .script { font-family: 'Caveat', cursive; font-size: 26px; color: var(--pink-light); }
.about-story { max-width: 1080px; margin: 0 auto; padding: 20px 32px 10px; }
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.about-story-grid h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 44px; margin: 0; color: #fff; line-height: 1.2; }
.about-story-grid p { font-size: 16px; line-height: 1.7; color: #b7b7c0; margin: 0 0 16px; }
.about-story-grid p:last-child { margin-bottom: 0; }
.about-story-grid strong { color: #e9e9ee; }
.about-pillars { max-width: 1200px; margin: 0 auto; padding: 20px 32px 44px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar-card { background: #1e1e22; border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 26px 22px; }
.pillar-card .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(234,25,105,0.14); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.pillar-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; margin: 0 0 8px; color: #fff; }
.pillar-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.about-numbers { background: #0e0e0e; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 46px 32px; }
.numbers-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.numbers-grid .value { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 40px; color: var(--pink); line-height: 1; }
.numbers-grid .label { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; font-weight: 600; }
.about-values { max-width: 920px; margin: 0 auto; padding: 52px 32px; }
.about-values h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; margin: 0 0 26px; color: #fff; text-align: center; }
.value-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.value-row .no { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; }
.value-row h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; margin: 0 0 6px; color: #fff; }
.value-row p { font-size: 15px; line-height: 1.65; color: #a7a7b1; margin: 0; }
.about-cta { padding: 10px 32px 64px; }
.about-cta-card { max-width: 1000px; margin: 0 auto; background: linear-gradient(120deg, var(--pink), var(--pink-dark)); border-radius: 20px; padding: 46px 40px; text-align: center; }
.about-cta-card h2 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 32px; margin: 0 0 12px; color: #fff; }
.about-cta-card p { font-size: 16px; color: rgba(255,255,255,0.88); margin: 0 0 26px; }
.about-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary { background: #fff; color: var(--pink); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; padding: 13px 26px; border: none; border-radius: 9px; cursor: pointer; text-decoration: none; }
.btn-cta-outline { text-decoration: none; color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; padding: 13px 26px; border: 1px solid rgba(255,255,255,0.5); border-radius: 9px; }
.about-footer { background: var(--footer); border-top: 1px solid rgba(255,255,255,0.06); padding: 30px 32px; }
.about-footer .inner { max-width: var(--maxw); margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--text-dim); }

/* ---------- Tablet ≤1000px ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px 16px; }
  .press-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-hero h1 { font-size: 44px; }
  .hero h1 { font-size: 46px; }
}

/* ---------- Mobile ≤680px ---------- */
@media (max-width: 680px) {
  .header-inner { padding: 10px 16px; gap: 10px 14px; }
  .trust-box { display: none; }
  .hero { padding: 32px 16px 8px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .press-sec { padding: 22px 14px 4px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; padding: 22px 18px 20px; }
  /* Show only the first 4 press items on mobile (clean 2×2); desktop keeps all 5. */
  .press-item:nth-child(n+5) { display: none; }
  .reviews-sec { padding: 28px 14px 0; }
  .review-grid { grid-template-columns: 1fr; gap: 14px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .about-hero h1 { font-size: 34px; }
  .site-footer, .about-footer { padding-left: 16px; padding-right: 16px; }
}
