/* ============================================================
   home.css  —  Swopsmart homepage-only styles
   hero · marquee · how-it-works · categories · stats ·
   reviews · bottom CTA
   ============================================================ */

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 48px 28px 72px;
  overflow: hidden;
  background: #f2efe8;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .hero { padding: 32px 20px 48px; }
}
@media (max-width: 960px) and (min-width: 601px) {
  .hero-inner > :first-child { max-width: 560px; width: 100%; text-align: center; }
  .hero-inner > :first-child .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-inner > :first-child .hero-cta-row { justify-content: center; }
  .hero-inner > :first-child .hero-meta { margin-left: auto; margin-right: auto; justify-content: center; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.18);
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-eyebrow strong { color: var(--ink); font-weight: 600; }

.hero-title {
  margin-top: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}
.hero-sub {
  margin-top: 22px; max-width: 460px;
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  font-weight: 400;
}

.hero-cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-meta {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, auto); gap: 36px;
  padding-top: 28px; border-top: 1px solid var(--line);
  max-width: 540px;
}
@media (max-width: 540px) { .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.meta-val { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.meta-label { margin-top: 2px; font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* Hero visual — device card stack */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1.05;
  max-width: 520px; margin: 0 auto; width: 100%;
}
.hv-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,200,150,0.22), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(233, 185, 73, 0.18), transparent 50%),
    var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hv-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(30px, 5vw, 50px) clamp(30px, 5vw, 50px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  opacity: 0.5;
}

/* Quote card (main) */
.quote-card {
  position: absolute; top: 10%; right: 6%;
  width: 64%; background: var(--bg-card);
  border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  z-index: 3;
}
.qc-head { display: flex; align-items: center; justify-content: space-between; }
.qc-chip {
  padding: 4px 10px; border-radius: 999px;
  background: var(--mint-soft); color: var(--mint-ink);
  font-size: 11px; font-weight: 600;
  font-family: var(--font-mono); letter-spacing: 0.04em;
}
.qc-close {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink-3);
}
.qc-device {
  margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
}
.qc-phone {
  width: 44px; height: 66px; border-radius: 10px;
  background: linear-gradient(160deg, #1a1a1a, #333);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px #000, 0 4px 10px rgba(0,0,0,0.15);
}
.qc-phone::before {
  content: ""; position: absolute; top: 6px; left: 50%;
  width: 14px; height: 2px; background: #000; border-radius: 2px;
  transform: translateX(-50%);
}
.qc-phone::after {
  content: ""; position: absolute; inset: 4px 3px;
  border-radius: 7px;
  background: linear-gradient(160deg, #3a5a52, #0e2a22);
}
.qc-device-info { flex: 1; min-width: 0; }
.qc-device-name { font-size: 14px; font-weight: 600; }
.qc-device-spec { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-family: var(--font-mono); }
.qc-price-block {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.qc-price-label { font-size: 11px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.qc-price { font-size: 42px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-top: 4px; }
.qc-diff {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 12px; font-weight: 600;
  color: var(--mint-ink);
}
.qc-pay {
  margin-top: 16px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--forest); color: #f2efe8;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500;
}

/* Floating satellite cards */
.sat-card {
  position: absolute; background: var(--bg-card);
  border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  z-index: 2;
}
.sat-1 {
  bottom: 22%; left: 4%;
  transform: rotate(-4deg);
  animation: softFloat3 6s ease-in-out infinite;
}
.sat-1 .sat-icon { color: var(--mint-ink); }
.sat-2 {
  top: 5%; left: 6%;
  transform: rotate(8deg);
  animation: softFloat2 7s ease-in-out infinite;
}
.sat-3 {
  bottom: 5%; right: 14%;
  background: var(--forest); color: #f2efe8;
  animation: softFloat 8s ease-in-out infinite;
}
.sat-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center;
}
.sat-3 .sat-icon { background: rgba(0,200,150,0.18); color: var(--mint); }
.sat-stars { display: flex; gap: 1px; color: var(--amber); }
.sat-bbb-card {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
}
.sat-bbb-card img { display: block; width: 88px; height: 45px; border: 0; border-radius: 8px; }
@media (max-width: 640px) {
  .sat-bbb-card img { width: 76px; height: 39px; }
  .sat-card { padding: 10px 12px; font-size: 12px; border-radius: 12px; gap: 8px; }
  .sat-icon { width: 24px; height: 24px; }
  .sat-2 { display: none; }
  .sat-1 { bottom: 20%; left: 8px; }
  .sat-3 { top: 0; right: 4%; bottom: auto; }
}


/* ============ MARQUEE STRIP ============ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.strip-track { display: flex; width: max-content; animation: mScroll 50s linear infinite; }
.strip-group { display: flex; align-items: center; }
.strip-item {
  display: flex; align-items: center; gap: 40px;
  padding-right: 40px;
  font-size: 15px; color: var(--ink-2);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.strip-item .bullet { color: var(--mint); }


/* ============ HOW IT WORKS ============ */
.how {
  padding: var(--section-py) 28px;
  background: var(--forest);
  color: #f2efe8;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: ""; position: absolute; top: -120px; right: 10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,0.22), transparent 65%);
  pointer-events: none;
}
.how-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }

/* Section-header system (.section-head, .section-eyebrow, .section-title,
   .section--dark) now lives in main.css (shared across all pages).
   .section-lede below is homepage-specific and stays here. */
.section-lede {
  max-width: 340px;
  font-size: 16px; line-height: 1.55; color: var(--ink-2);
}

/* ── Expanding accordion panels (Quote → Ship → Paid) ── */
.c-acc {
  display: flex; gap: 14px; margin-top: 44px; min-height: 440px;
}
.c-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: #12332a; border: 1px solid rgba(255,255,255,0.08);
  flex: 1; display: flex;
  transition: flex 0.95s cubic-bezier(.16,1,.3,1), background 0.6s ease, border-color 0.3s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.c-panel.on {
  flex: 4.2; background: var(--forest-deep); border-color: rgba(0,200,150,0.25);
  cursor: default; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.c-spine {
  width: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 24px;
}
.c-panel.on .c-spine { display: none; }
.c-spine .n { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--mint); }
.c-spine .t {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 21px; font-weight: 500; letter-spacing: -0.01em; color: #e8f2f0; margin: 0 auto;
}
.c-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.c-spine .plus {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18); display: grid; place-items: center;
  color: rgba(242,239,232,0.65);
  transition: transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s;
}
.c-panel:not(.on) .c-spine .plus { animation: cPulse 2.4s ease-in-out infinite; }
@keyframes cPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,200,150,0); }
  50% { box-shadow: 0 0 0 7px rgba(0,200,150,0.10); }
}
.c-panel:not(.on):hover .c-spine .plus {
  border-color: var(--mint); color: var(--forest); background: var(--mint);
  transform: rotate(90deg); animation: none;
}
.c-spine .plus svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; }

.c-full {
  display: none; flex-direction: column; padding: 40px 42px; color: #f2efe8;
  width: 100%; min-width: 520px;
}
.c-panel.on .c-full { display: flex; animation: cReveal 0.85s 0.12s both cubic-bezier(.16,1,.3,1); }
@keyframes cReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.c-full .n {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint);
}
.c-full-title { font-size: 25px; font-weight: 500; letter-spacing: -0.02em; color: #f2efe8; margin: 8px 0 0; }
.c-full > p { font-size: 16px; line-height: 1.6; color: rgba(242,239,232,0.82); margin: 14px 0 0; max-width: 48ch; }

.c-full .fine {
  list-style: none; display: flex; flex-direction: column; gap: 9px;
  font-size: 14px; line-height: 1.5; color: rgba(242,239,232,0.6); margin-top: 20px;
}
.c-full .fine li { display: flex; gap: 10px; }
.c-full .fine li::before { content: "—"; color: var(--mint); flex: none; }

.c-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.c-tag {
  font-family: var(--font-mono); font-size: 12px; color: var(--mint);
  border: 1px solid rgba(0,200,150,0.4); border-radius: 999px; padding: 6px 13px;
}
.c-meter { display: flex; gap: 8px; margin-top: auto; padding-top: 26px; }
.c-meter i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.c-meter i.on { background: var(--mint); }

.c-panel:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* ── Tablet + mobile: vertical accordion ── */
@media (max-width: 900px) {
  .c-acc { flex-direction: column; height: auto; gap: 10px; margin-top: 36px; }
  .c-panel {
    flex: none; display: grid; grid-template-rows: auto 0fr;
    transition: grid-template-rows 1.2s cubic-bezier(.22,1,.36,1), background 0.5s ease, border-color 0.3s ease;
  }
  .c-panel.on { flex: none; grid-template-rows: auto 1fr; cursor: pointer; }
  .c-panel.on .c-spine { display: flex; }
  .c-spine { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; }
  .c-spine .n { order: 0; }
  .c-spine .t {
    writing-mode: horizontal-tb; transform: none; margin: 0;
    font-size: 19px; flex: 1; text-align: left;
  }
  .c-foot { flex-direction: row; }
  .c-panel.on .c-spine .plus {
    transform: rotate(45deg); border-color: var(--mint); color: var(--mint); animation: none; background: transparent;
  }
  .c-full {
    min-width: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
    opacity: 0; padding: 0 24px;
    transition: opacity 0.6s ease, padding 1.2s cubic-bezier(.22,1,.36,1);
    animation: none !important;
  }
  .c-panel.on .c-full {
    opacity: 1; padding: 6px 24px 30px;
    animation: none !important;
    transition: opacity 0.9s 0.3s ease, padding 1.2s cubic-bezier(.22,1,.36,1);
  }
  .c-meter { margin-top: 26px; }
}

@media (max-width: 560px) {
  .c-spine { padding: 18px 18px; }
  .c-spine .t { font-size: 17px; }
  .c-full { padding: 0 18px; }
  .c-panel.on .c-full { padding: 6px 18px 26px; }
  .c-full-title { font-size: 22px; }
  .c-full > p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .c-panel, .c-panel .c-full, .c-spine .plus { transition: none !important; animation: none !important; }
}


/* ============ CATEGORIES ============ */
.categories {
  padding: var(--section-py) 28px;
  background: #f2efe8;
  border-top: none;
  border-bottom: none;
}
.categories-inner { max-width: 1240px; margin: 0 auto; }
@media (max-width: 640px) {
  .categories { padding-left: 24px; padding-right: 24px; }
  .stats { padding-left: 24px; padding-right: 24px; }
  .reviews { padding-left: 24px; padding-right: 24px; }
  .faq { padding-left: 24px; padding-right: 24px; }
  .bottom-cta { padding-left: 24px; padding-right: 24px; }
}
.categories-inner .section-eyebrow { font-family: var(--font-mono); }
.search-wrap { max-width: 720px; margin: 0 auto 40px; }
.search-form { position: relative; }
.search-icon-left {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none; z-index: 2;
}
.sell-search {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 58px 20px 24px;
  font-size: 16px; color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sell-search:focus {
  border-color: var(--mint);
  box-shadow: var(--shadow-sm), 0 0 0 4px rgba(0,200,150,0.15);
}
.sell-search::placeholder { color: var(--ink-3); }
.clear-btn {
  position: absolute; right: 54px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft);
  display: none; align-items: center; justify-content: center;
  color: var(--ink-2);
  z-index: 3;
}
.clear-btn.visible { display: flex; }

.quick-links { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.quick-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink-2);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.quick-link:hover { color: var(--forest); border-color: var(--line-strong); }
.quick-link svg { width: 14px; height: 14px; }

.card-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1280px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.sell-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 36px 20px 32px;
  text-align: center;
  min-height: 210px;
  display: flex; flex-direction: column;
  /* flex-start (was center): icon + title sit at the SAME height on every
     card; sub-line wrap differences fall into the space below instead of
     pushing the icon up */
  align-items: center; justify-content: flex-start; gap: 22px;
  box-shadow: 0 1px 2px rgba(14,42,34,0.03), 0 2px 8px rgba(14,42,34,0.03);
  transition: transform 0.3s ease, border-color 0.2s, box-shadow 0.25s;
  overflow: hidden;
}
.sell-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.sell-card-icon {
  width: 108px; height: 108px; border-radius: 27px;
  background: var(--bg-soft); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.3s;
}
.sell-card-icon svg { width: 45px; height: 45px; }
.sell-card:hover .sell-card-icon { background: var(--forest); color: var(--mint); transform: scale(1.05); }
.sell-card-body {
  margin-top: 0; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.sell-card-name { font-size: 16px; font-weight: 500; letter-spacing: 0.01em; color: var(--forest); }
.sell-card-sub {
  font-size: 13px; color: var(--ink-3);
  font-family: var(--font-mono); font-weight: 400;
  transition: opacity 0.25s;
  /* never taller than two lines */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sell-card:hover .sell-card-sub { opacity: 0; }
.sell-card-arrow {
  position: absolute; bottom: 20px;
  opacity: 0; transform: translateY(10px);
  color: var(--mint);
  transition: opacity 0.3s, transform 0.3s;
}
.sell-card:hover .sell-card-arrow { opacity: 1; transform: translateY(0); }

.no-results {
  text-align: center; padding: 60px 20px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}
.no-results h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.no-results p { color: var(--ink-2); font-size: 14px; }


/* ============ STATS BAND ============ */
.stats {
  padding: var(--section-py) 28px;
  background: #faf8f3;
}
.stats-inner {
  max-width: 1240px; margin: 0 auto;
}
.stats-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 32px; align-items: start;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-hero {
  padding: 44px 40px;
  background: var(--forest); color: #f2efe8;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 380px;
  position: relative; overflow: hidden;
}
.stat-hero::before {
  content: ""; position: absolute;
  bottom: -140px; right: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,0.35), transparent 65%);
}
.stat-hero-label { font-family: var(--font-mono); font-size: 12px; color: var(--mint); letter-spacing: 0.1em; text-transform: uppercase; }
.stat-hero-num {
  margin-top: 16px;
  font-size: clamp(60px, 9vw, 120px);
  line-height: 0.9; font-weight: 500; letter-spacing: -0.04em;
}
.stat-hero-desc {
  margin-top: 20px; max-width: 360px; font-size: 16px;
  color: rgba(242, 239, 232, 0.78); line-height: 1.6;
  position: relative; z-index: 2;
}
.stat-hero-foot {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  position: relative; z-index: 2;
}
.avatar-cluster { display: flex; }
.avatar-cluster-item {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: #fff;
}
.avatar-cluster-item:not(:first-child) { margin-left: -10px; }
.stat-hero-stars { display: flex; gap: 2px; color: var(--amber); }

.stat-cards {
  display: grid; grid-template-rows: auto auto;
  gap: 24px;
}
.stat-cards .stat-card {
  padding: 28px 28px 22px;
}
.stat-cards .stat-card .num {
  font-size: clamp(36px, 4vw, 52px);
}
.stat-card {
  padding: 36px 32px 28px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-card .num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
}
.stat-card .label {
  margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 280px;
}
.stat-card .foot {
  margin-top: auto; padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
}
.stat-kicker {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--mint-ink); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 6px;
}
.stat-kicker::before {
  content: ""; width: 14px; height: 1px; background: var(--mint-ink);
}
/* Embossed seal */
.stat-seal {
  position: absolute; top: 22px; right: 22px;
  width: 84px; height: 84px;
  pointer-events: none;
}
.stat-seal-outer {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--forest); opacity: 0.2;
}
.stat-seal-inner {
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1px dashed var(--forest); opacity: 0.3;
}
.stat-seal-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-mono);
  color: var(--forest); opacity: 0.75;
  text-align: center; line-height: 1.2;
}
.stat-seal-top {
  font-size: 10px; letter-spacing: 0.18em; font-weight: 500;
}
.stat-seal-main {
  font-size: 20px; font-weight: 600; letter-spacing: -0.04em; margin-top: 2px;
}


/* ============ REVIEWS ============ */
.reviews {
  background: var(--forest); color: #f2efe8;
  padding: var(--section-py) 28px;
  position: relative; overflow: hidden;
}
.reviews::before {
  content: ""; position: absolute; top: -100px; left: 20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,150,0.22), transparent 65%);
}
.reviews-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.reviews-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); touch-action: pan-y; grid-template-rows: 1fr; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 320px;
  overflow: hidden;
}
.review-card.primary {
  background: linear-gradient(180deg, rgba(0,200,150,0.12), rgba(0,200,150,0.04));
  border-color: rgba(0,200,150,0.3);
}
.review-stars { display: flex; gap: 2px; color: var(--amber); margin-bottom: 20px; }
.review-text {
  font-size: 15px; line-height: 1.65; color: rgba(242, 239, 232, 0.92); max-width: 62ch;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card.primary .review-text { font-size: 16px; color: #f2efe8; }
.review-footer {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #fff;
  flex-shrink: 0;
}
img.review-avatar { object-fit: cover; }
.review-author { font-size: 14px; font-weight: 600; }
.review-location { font-size: 12px; color: rgba(242, 239, 232, 0.5); font-family: var(--font-mono); }
.review-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.review-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #f2efe8;
  transition: background 0.15s, border-color 0.15s;
}
.review-arrow:hover:not([disabled]) { background: var(--mint); color: var(--forest); border-color: var(--mint); }
.review-arrow[disabled] { opacity: 0.3; cursor: default; }
.review-dots { display: flex; gap: 8px; }
.review-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.25);
  transition: width 0.3s, background 0.3s;
  padding: 0;
}
.review-dot.active { width: 28px; background: var(--mint); }


/* ============ BOTTOM CTA ============ */
.bottom-cta {
  padding: var(--section-py) 28px;
  max-width: 1240px; margin: 0 auto;
}
.cta-panel {
  position: relative;
  padding: 80px 48px; border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(0,200,150,0.2), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(233, 185, 73, 0.15), transparent 50%),
    var(--bg-soft);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  opacity: 0.4;
}
.cta-panel > * { position: relative; }
.cta-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--mint-ink); letter-spacing: 0.1em; text-transform: uppercase; }
.cta-title {
  margin-top: 16px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1; letter-spacing: -0.035em; font-weight: 500;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.cta-sub {
  margin: 20px auto 0; max-width: 62ch;
  font-size: 17px; color: var(--ink-2); line-height: 1.6;
}
.cta-buttons { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-panel { padding: 56px 24px; } }

/* ---- instant-search results rendered as cards ---- */
/* product shots are white-background JPGs — the well stays white,
   including on hover (the category-card hover recolors icon wells to
   forest, which would put white photo rectangles on a dark well) */
.search-results-grid .sell-card-photo,
.search-results-grid .sell-card:hover .sell-card-photo { background: #fff; }
.search-results-grid .sell-card-icon img {
  max-width: 82px; max-height: 82px; width: auto; height: auto; object-fit: contain;
}
.search-results-grid .sell-card-sub strong { color: var(--forest); font-weight: 700; }
.search-results-grid .sell-card-name mark.search-hl {
  background: rgba(0, 200, 150, 0.22); color: inherit; border-radius: 3px; padding: 0 1px;
}
