/* Home Pros page, on top of the Charlotte Golden Deals stylesheet (tokens: --navy, --gold, --cream, --ink, --muted, --line, --display, --body). */
:root { --hp-green: #2f6b4f; --hp-paper: #fffdf6; --hp-r: 14px; }
main h1, main h2, main h3, main h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .4em; }
main h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
main h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
main h3 { font-size: 1.55rem; font-weight: 800; }
main h4 { font-size: 1.15rem; font-weight: 700; margin: 0; }
main img { max-width: 100%; display: block; }

.hp-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; padding: 40px 0 28px; }
.hp-story { font-size: 1.06rem; color: var(--ink); }
.hp-sig { font: 700 1.5rem var(--display); color: var(--hp-green); margin: .2em 0 0; }
.hp-story-more { display: none; background: none; border: 0; padding: 0; color: var(--navy); font-weight: 700; text-decoration: underline; }
.hp-hero-img { border-radius: var(--hp-r); box-shadow: 0 14px 36px rgba(11,31,58,.18); width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

.hp-pick { position: sticky; top: 0; z-index: 5; background: var(--cream); padding: 12px 0; border-bottom: 1px solid var(--line); }
.hp-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hp-areas button { text-align: left; background: var(--hp-paper); color: var(--navy); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.hp-areas button b { font: 800 1.2rem var(--display); }
.hp-areas button span { font-size: .85rem; color: var(--muted); }
.hp-areas button em { font-style: normal; font-size: .82rem; font-weight: 700; color: #80580c; }
.hp-areas button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.hp-areas button[aria-pressed="true"] span { color: #cfd6e2; }
.hp-areas button[aria-pressed="true"] em { color: var(--light-gold); }
.hp-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.hp-size-toggle { display: inline-flex; background: var(--hp-paper); border: 1.5px solid var(--navy); border-radius: 999px; padding: 3px; }
.hp-size-toggle button { border: 0; background: transparent; color: var(--navy); font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; }
.hp-size-toggle button[aria-pressed="true"] { background: var(--gold); }
.hp-jump { display: flex; gap: 6px; overflow-x: auto; min-width: 0; padding-bottom: 2px; scrollbar-width: thin; }
.hp-size-toggle { flex: none; }
.hp-jump a { white-space: nowrap; flex: none; }
.hp-jump a { font-size: .88rem; font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--hp-paper); border: 1px solid var(--line); }

.hp-trade { margin: 40px 0; scroll-margin-top: 190px; }
.hp-trade-head { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; margin-bottom: 16px; }
.hp-trade-head img { border-radius: 10px; width: 170px; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.hp-trade-head p:last-child { margin: 0; color: var(--muted); }
.hp-list { display: grid; gap: 12px; }
.hp-pro { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: start; background: var(--hp-paper); border: 1px solid var(--line); border-radius: var(--hp-r); padding: 16px 18px; }
.hp-pro[hidden] { display: none; }
.hp-rank { font: 800 1.9rem/1 var(--display); color: var(--gold); text-align: center; padding-top: 2px; }
.hp-rank::before { content: "#"; font-size: 1rem; vertical-align: top; margin-right: 1px; }
.hp-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hp-size { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #dce7ef; color: #315c80; }
.hp-size.is-small { background: #dce8d9; color: var(--hp-green); }
.hp-size.is-neighbor { background: #f6dc85; color: #6b4a08; }
.hp-where { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.hp-where svg { display: inline-block; width: 14px; height: 14px; fill: var(--gold); vertical-align: -2px; }
.hp-where b { color: var(--navy); }
.hp-note { margin: 6px 0 0; font-size: .95rem; }
.hp-checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hp-checks li { display: inline-flex; gap: 5px; align-items: center; font-size: .86rem; }
.hp-checks svg { width: 15px; height: 15px; color: var(--hp-green); flex: none; }
.hp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; }
.hp-actions { display: grid; gap: 8px; min-width: 170px; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 10px 14px; border-radius: 9px; text-decoration: none; border: 0; }
.hp-btn svg { width: 16px; height: 16px; }
.hp-btn.call { background: var(--hp-green); color: #fff; }
.hp-btn.ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.hp-btn.solid { background: var(--navy); color: var(--cream); }
.hp-star { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid var(--gold); color: var(--navy); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .85rem; }
.hp-star svg { width: 15px; height: 15px; fill: transparent; stroke: #b98a22; stroke-width: 1.6; }
.hp-star[aria-pressed="true"] { background: var(--gold); }
.hp-star[aria-pressed="true"] svg { fill: var(--navy); stroke: var(--navy); }
.star-n:not(:empty) { background: var(--navy); color: var(--cream); border-radius: 999px; padding: 0 7px; font-size: .78rem; }
.hp-linkish { background: none; border: 0; color: var(--muted); font-size: .84rem; text-decoration: underline; padding: 4px; }
.hp-checked { font-size: .78rem; color: var(--muted); }
.hp-empty { background: var(--hp-paper); border: 1px dashed var(--line); border-radius: var(--hp-r); padding: 14px 16px; color: var(--muted); }
.hp-more { margin-top: 12px; background: transparent; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700; padding: 9px 16px; border-radius: 999px; }

.hp-vet { padding: 40px 0 8px; scroll-margin-top: 20px; }
.hp-vet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 22px; }
.hp-vet-grid div { background: var(--hp-paper); border: 1px solid var(--line); border-top: 4px solid var(--hp-green); border-radius: var(--hp-r); padding: 14px 16px; }
.hp-vet-grid b { display: block; font: 800 1.1rem var(--display); }
.hp-vet-grid span { font-size: .9rem; color: var(--muted); }
.hp-vet p, .hp-vet li { max-width: 820px; }

.hp-tell { background: var(--navy); color: var(--cream); border-radius: var(--hp-r); padding: 26px; margin: 40px auto 48px; scroll-margin-top: 20px; }
.hp-tell h2 { color: var(--cream); }
.hp-tell form { display: grid; gap: 12px; max-width: 760px; }
.hp-tell label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.hp-tell input, .hp-tell select, .hp-tell textarea { font: 16px var(--body); padding: 10px 12px; border-radius: 8px; border: 1px solid #3b4d6b; background: var(--hp-paper); color: var(--ink); width: 100%; }
.hp-tell .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-tell .hp-btn.solid { background: var(--gold); color: var(--navy); justify-self: start; }
.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg, .dlg-msg { margin: 0; min-height: 1.2em; font-weight: 600; }

#star-dialog { border: 0; border-radius: var(--hp-r); padding: 0; max-width: 420px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
#star-dialog::backdrop { background: rgba(11,31,58,.55); }
.dlg { padding: 22px; display: grid; gap: 12px; background: var(--hp-paper); }
.dlg h2 { font-size: 1.4rem; }
.dlg label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.dlg input { font: 16px var(--body); padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); }
.dlg [data-step] { display: grid; gap: 10px; }
.dlg [hidden] { display: none; }

@media (max-width: 900px) {
  .hp-hero { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .hp-hero-img { order: -1; }
  .hp-vet-grid { grid-template-columns: 1fr 1fr; }
  .hp-pro { grid-template-columns: 40px 1fr; }
  .hp-actions { grid-column: 2; grid-template-columns: 1fr 1fr; min-width: 0; }
}

/* Word of mouth: unvetted neighbor contacts, visually set apart from the checked lists */
.hp-wom { margin: 48px auto 8px; scroll-margin-top: 190px; }
.hp-wom > p { max-width: 820px; color: var(--ink); }
.hp-caution { background: #fff4d6; border: 1px solid #e8cf86; border-left: 5px solid #b98a22; border-radius: 12px; padding: 12px 16px; margin: 12px 0 16px; max-width: 820px; }
.hp-caution b { font-family: var(--display); }
.hp-caution ul { margin: 6px 0 0; padding-left: 18px; }
.hp-caution li { font-size: .92rem; margin-bottom: 3px; }
.hp-wom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.hp-wom-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--hp-paper); border: 1px dashed #c9bfa8; border-radius: 12px; padding: 12px 14px; }
.hp-wom-row[hidden] { display: none; }
.hp-wom-row p { margin: 0; }
.hp-wom-name b { font-family: var(--display); color: var(--navy); }
.hp-wom-name span { font-size: .82rem; color: var(--muted); margin-left: 4px; }
.hp-wom-src { font-size: .8rem; color: #80580c; font-weight: 600; }
.hp-wom-note { font-size: .86rem; margin-top: 2px !important; }
.hp-wom-lic { display: flex; gap: 5px; align-items: center; font-size: .8rem; margin-top: 3px !important; }
.hp-wom-lic svg { width: 14px; height: 14px; color: var(--hp-green); flex: none; }
.hp-wom-warn { font-size: .8rem; color: #934f30; margin-top: 3px !important; }
.hp-wom-row .hp-btn { flex: none; padding: 8px 12px; font-size: .88rem; }
.hp-wom-row .hp-btn { order: 2; }
.hp-body { min-width: 0; }
.hp-wom-foot { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.hp-jump a.is-wom { border-style: dashed; }

/* Phones: most visitors. Compact cards, short hero, sticky one-line pickers. */
@media (max-width: 600px) {
  .hp-hero { padding: 14px 0 6px; gap: 12px; }
  .hp-hero-img { max-height: 150px; aspect-ratio: auto; height: 150px; border-radius: 10px; }
  main h1 { font-size: 1.7rem; }
  main h2 { font-size: 1.4rem; }
  .hp-story { font-size: .94rem; line-height: 1.5; margin: .4em 0; }
  .hp-sig { font-size: 1.2rem; }
  .hp-story { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hp-story.is-open { display: block; }
  .hp-story-more { display: inline; font-size: .86rem; }
  .hp-lg { display: none; }
  .hp-areas button em { white-space: nowrap; }
  .hp-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hp-checks li:has(.hp-nolic) { display: none; }
  .hp-wom > p { font-size: .9rem; }
  .hp-wom-name span { display: block; margin-left: 0; font-size: .76rem; }
  .hp-wom-src { font-size: .74rem; }
  .hp-wom-note { font-size: .8rem; }
  .hp-pick { position: sticky; top: 0; padding: 8px 0 6px; }
  .hp-areas { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hp-areas button { padding: 6px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
  .hp-areas button b { font-size: .98rem; }
  .hp-areas button span { display: none; }
  .hp-areas button em { font-size: .72rem; }
  .hp-bar { margin-top: 6px; gap: 6px; }
  .hp-size-toggle { padding: 2px; }
  .hp-size-toggle button { padding: 4px 9px; font-size: .78rem; }
  .hp-jump { gap: 5px; }
  .hp-jump a { padding: 4px 10px; font-size: .78rem; }
  .hp-trade { margin: 22px 0; scroll-margin-top: 104px; }
  .hp-trade-head { grid-template-columns: 52px 1fr; gap: 10px; margin-bottom: 8px; }
  .hp-trade-head img { width: 52px; border-radius: 8px; }
  .hp-trade-head h3 { font-size: 1.2rem; margin: 0; }
  .hp-trade-head .eyebrow { margin-bottom: 1px; font-size: 9.5px; }
  .hp-trade-head p:last-child { font-size: .8rem; line-height: 1.35; }
  .hp-list { gap: 8px; }
  .hp-pro { grid-template-columns: 24px 1fr; gap: 6px 8px; padding: 10px 12px; }
  .hp-rank { font-size: 1.1rem; }
  .hp-rank::before { font-size: .65rem; }
  main h4 { font-size: .98rem; }
  .hp-title { gap: 4px 6px; }
  .hp-size { font-size: .58rem; padding: 2px 6px; }
  .hp-where { font-size: .78rem; margin-top: 1px; }
  .hp-note { font-size: .82rem; margin-top: 3px; }
  .hp-checks { gap: 1px 10px; margin-top: 4px; }
  .hp-checks li { font-size: .74rem; }
  .hp-checks svg { width: 12px; height: 12px; }
  .hp-foot { margin-top: 6px; gap: 4px 10px; }
  .hp-star { padding: 3px 9px; font-size: .74rem; }
  .hp-star svg { width: 13px; height: 13px; }
  .hp-linkish { font-size: .74rem; }
  .hp-checked { display: none; }
  .hp-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; gap: 6px; min-width: 0; }
  .hp-btn { padding: 8px 12px; font-size: .88rem; }
  .hp-more { margin-top: 8px; padding: 7px 14px; font-size: .85rem; }
  .hp-wom { scroll-margin-top: 104px; margin-top: 32px; }
  .hp-caution { padding: 10px 12px; }
  .hp-caution li { font-size: .82rem; }
  .hp-wom-list { grid-template-columns: 1fr; gap: 8px; }
  .hp-wom-row { display: block; padding: 10px 12px; }
  .hp-wom-row::after { content: ""; display: block; clear: both; }
  .hp-wom-row .hp-btn { float: right; margin: 0 0 4px 8px; }
  .hp-wom-row .hp-btn { padding: 7px 10px; font-size: .8rem; }
  .hp-wom-row .hp-btn svg { width: 13px; height: 13px; }
  .hp-vet { padding-top: 28px; }
  .hp-vet-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hp-vet-grid div { padding: 10px 12px; }
  .hp-vet-grid span { font-size: .8rem; }
  .hp-tell .row { grid-template-columns: 1fr; }
  .hp-tell { padding: 18px 14px; }
}
