/* Homepage trust sections: review badge, comparison matrix, symptom guide.
   Uses tokens from main.css (--ink, --brand, --smile, --mist, --line, --ok). */

/* ---------- Review showcase header ---------- */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.rv-score { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1rem 1.4rem; box-shadow: var(--shadow); }
.rv-score .rv-g { width: 38px; height: 38px; flex-shrink: 0; }
.rv-score .rv-g .ic { width: 100%; height: 100%; }
.rv-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink); }
.rv-meta { display: flex; flex-direction: column; gap: .15rem; }
.rv-meta .rv-stars { color: var(--smile); letter-spacing: .12em; font-size: 1.1rem; line-height: 1; }
.rv-meta span:last-child { font-size: .85rem; color: var(--slate); }
.rv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rv-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; font-size: .88rem; }
.rv-chip .ic { width: 1em; height: 1em; }

/* ---------- Comparison matrix ---------- */
.cmp-wrap { margin-top: 2rem; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); }
.cmp-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; text-align: left; }
.cmp-table th, .cmp-table td { padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .95rem; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table thead th { font-family: var(--font-display); font-size: .95rem; color: var(--slate); background: var(--mist); }
.cmp-table tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.cmp-table td { color: var(--slate); }
.cmp-table .cmp-us { background: linear-gradient(180deg, rgba(240,176,64,.14), rgba(240,176,64,.06)); color: var(--ink); font-weight: 600; }
.cmp-table thead .cmp-us { background: var(--smile); color: var(--ink); font-size: 1rem; }
.cmp-us .ic { width: 1.05em; height: 1.05em; color: var(--ok); vertical-align: -.15em; margin-right: .3rem; }
.cmp-note { margin-top: .9rem; font-size: .82rem; color: var(--slate-light); }

/* ---------- Symptom guide ---------- */
.sg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
.sg-list { display: flex; flex-direction: column; gap: .6rem; }
.sg-btn { display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1.1rem;
  font: 600 .98rem/1.3 var(--font-body); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.sg-btn:hover { border-color: var(--brand); }
.sg-btn:active { transform: scale(.985); }
.sg-btn[aria-selected="true"] { border-color: var(--smile); box-shadow: 0 8px 22px -10px rgba(240,176,64,.7); background: #fffaf0; }
.sg-btn .sg-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; flex-shrink: 0; }
.sg-btn .ic { width: 20px; height: 20px; }
.sg-panel { background: var(--ink); color: #e6edf5; border-radius: 18px; padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  box-shadow: var(--shadow); }
.sg-panel[hidden] { display: none; }
.sg-panel h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.sg-panel p { margin: 0; color: #b6c3d4; line-height: 1.6; }
.sg-time { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(240,176,64,.16); color: var(--smile); font-weight: 700; font-size: .9rem; }
.sg-time .ic { width: 1em; height: 1em; }
.sg-tip { padding: .9rem 1rem; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .92rem; color: #dbe5f0; }
.sg-tip strong { color: var(--smile); }

@media (max-width: 820px) {
  .sg { grid-template-columns: 1fr; }
  .rv-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-btn { transition: none; }
}

/* ---------- Copyable coupon codes with toast feedback ---------- */
.coupon-code { cursor: pointer; transition: transform .15s ease, background-color .2s ease; position: relative; user-select: all; }
.coupon-code:hover { transform: scale(1.03); background: rgba(240,176,64,.25); }
.coupon-code:active { transform: scale(0.97); }
.coupon-code::after { content: " (tap to copy)"; font-size: 0.72rem; opacity: 0.7; font-weight: normal; letter-spacing: normal; text-transform: none; }
.coupon-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px); background: #0c1524; color: #fff; padding: 0.75rem 1.5rem; border-radius: 999px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); z-index: 99999; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(240,176,64,0.4); }
.coupon-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Desktop Header Call CTA */
@media (min-width: 1024px) {
  .nav-actions { display: flex; align-items: center; gap: 0.65rem; }
  .btn-nav-call { display: inline-flex; align-items: center; gap: 6px; padding: 0.65rem 1rem; border-radius: 6px; font-size: 0.88rem; font-weight: 700; line-height: 1.2; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: #ffffff; transition: all 0.2s ease; white-space: nowrap; }
  .btn-nav-call:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
  .btn-nav-call .ic { width: 14px; height: 14px; color: var(--brand); }
}

/* Locations Dropdown Cleanup */
.nav-locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-loc-header { font-weight: 700; font-size: 0.8rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.05em; margin: 0.75rem 0 0.4rem; padding-left: 0.5rem; }
.nav-loc-header:first-child { margin-top: 0; }