/* Laurel Stitch Co. — search pages (Service x Location, Kit).
   Loaded after /style.css and /embroidery/brand.css; adds only what those two lack:
   the answer block, local-proof lists, the "from" price table and the related line. */

.sp-hero { padding: 64px 0 56px; }
.sp-hero h1 { max-width: 16em; }
.answer {
  margin: 0 0 24px;
  padding: 18px 22px;
  max-width: 40em;
  font-size: clamp(1.05rem, 2.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--text);
  background: var(--support-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.sp-lede { margin-bottom: 18px; font-size: 1rem; }
.sp-hero .cta { margin-top: 28px; }

/* ---- local proof ---- */
.proof {
  padding: 72px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-groups {
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.proof-groups > div {
  padding: 18px 20px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.proof-groups dt {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--support);
}
.proof-groups dd { margin: 0; }
.proof-groups ul { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: .95rem; }
.proof-groups li { margin: 0 0 4px; }
/* kit items and services carry an icon; place lists do not */
.proof-groups ul.icon-list { padding-left: 0; }
.proof-groups .icon-list li { margin: 0 0 8px; }

/* ---- price table ---- */
.search-page .pricing { padding: 72px 0; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: .95rem;
}
.price-table caption {
  caption-side: bottom;
  text-align: left;
  padding: 12px 4px 0;
  font-size: .82rem;
  color: var(--text-dim);
}
.price-table th, .price-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--border);
}
.price-table thead th {
  border-top: 0;
  background: var(--bg-alt);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.price-table tbody th { font-weight: 600; color: var(--heading); }
.price-table .from { color: var(--heading); }
.price-table .note { display: block; margin-top: 4px; font-weight: 400; font-size: .85rem; color: var(--text-dim); }
.price-table .from { white-space: nowrap; font-weight: 600; }
.price-table td:last-child { color: var(--text-dim); }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
  vertical-align: middle;
}

/* ---- related ---- */
.related { font-size: .92rem; }

@media (max-width: 640px) {
  .sp-hero { padding: 48px 0 44px; }
  .proof, .search-page .pricing { padding: 56px 0; }
  /* stack each row as a card instead of a sideways-scrolling table */
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table caption { display: block; }
  .price-table tr { padding: 12px 14px 14px; border-top: 1px solid var(--border); }
  .price-table tr:first-child { border-top: 0; }
  .price-table th, .price-table td { padding: 0; border-top: 0; }
  .price-table td { display: inline; }
  .price-table td:last-child::before { content: " · "; }
  .price-table .from { margin-top: 6px; display: inline-block; }
}
