/* PHVA v4, home services niche page (virtual-assistant-for/home-services.html).
   Loaded after v4.css, v4-g4.css and v4-media.css (md- note classes reused). Every class here is hs- prefixed.
   Never sets display on [hidden]. Mobile first. */

/* ---------- hero ---------- */
.hs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "desk"; gap: 32px; }
.hs-copy { grid-area: copy; min-width: 0; }
.hs-form { grid-area: form; min-width: 0; }
.hs-desk { grid-area: desk; min-width: 0; margin: 0; position: relative; }
.hs-copy h1 { max-width: 14ch; }
.hs-copy h1 span { display: block; color: var(--ink-2); }
@media (min-width: 980px) {
  .hs-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "copy form" "desk form"; column-gap: clamp(36px, 5vw, 72px); row-gap: 36px; align-items: start; }
  .hs-form { position: sticky; top: 96px; }
}

/* ---------- the dispatch board strip ---------- */
.hs-board { position: relative; z-index: 1; background: var(--card); color: #16181b; border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 14px 16px; }
.hs-board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font: 700 .74rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #575d65; }
.hs-hours { display: grid; grid-template-columns: 54px minmax(0, 1fr); margin-bottom: 6px; }
.hs-hours span:last-child { display: flex; justify-content: space-between; font: 600 .7rem/1 var(--body); color: #575d65; font-variant-numeric: tabular-nums; }
.hs-lanes { position: relative; display: grid; gap: 8px; }
.hs-lane { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; }
.hs-lane > b { font: 700 .78rem/1.1 var(--body); color: #16181b; }
.hs-track { position: relative; height: 42px; background: #f0f1ed; border-radius: var(--r); background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), #dfe1db calc(20% - 1px) 20%); }
.hs-job { position: absolute; top: 5px; bottom: 5px; left: calc(var(--a) * 10%); width: calc((var(--b) - var(--a)) * 10%); display: flex; align-items: center; padding: 0 6px; overflow: hidden; white-space: nowrap; font: 600 .7rem/1 var(--body); color: #16181b; background: #dfe6f7; border-left: 3px solid #2340c8; border-radius: 3px; }
.hs-out { position: absolute; inset: 5px 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font: 700 .68rem/1 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #9c1f18; background: repeating-linear-gradient(135deg, rgba(217, 83, 76, .16) 0 6px, transparent 6px 12px); border-radius: 3px; }
.hs-ghost { background: transparent; border: 1.5px dashed #575d65; border-left-width: 1.5px; color: #575d65; }
.hs-drag { background: var(--note); border-left-color: #16181b; box-shadow: 0 8px 18px rgba(22, 24, 27, .22); transform: translateY(-9px) rotate(-3deg); z-index: 2; }
.hs-arrow { position: absolute; top: 0; bottom: 0; left: 54px; right: 0; width: calc(100% - 54px); height: 100%; pointer-events: none; overflow: visible; }
.hs-arrow path { fill: none; stroke: #2340c8; stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.hs-moved { position: absolute; left: calc(54px + 30%); bottom: -4px; font: 400 1.25rem/1 var(--pen-font); color: #2340c8; transform: rotate(-4deg); }

/* ---------- the note (md-sheet, tighter lines, pinned over the board) ---------- */
.hs-sheet { margin: -14px 6px 0 10px; z-index: 2; }
.hs-sheet .md-lines li { font-size: 1.32rem; padding: 5px 0; grid-template-columns: 40px 26px minmax(0, 1fr); }
.hs-sheet .md-lines .md-time { visibility: visible; }
.hs-wait .t { color: #3d3a16; }
.hs-needs { display: inline-block; margin: 14px 0 0 -6px; padding: 8px 16px 10px; font: 400 1.45rem/1.1 var(--pen-font); color: #9c1f18; border: 2px solid rgba(156, 31, 24, .75); border-radius: 48% 52% 46% 54% / 60% 50% 50% 40%; transform: rotate(-1.5deg); }
.hs-cap { margin: 16px 0 0 12px; font: 700 .72rem/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- the morning, clock strip ---------- */
.hs-clock { list-style: none; margin: 10px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hs-clock li { background: var(--card); color: #16181b; border: 1px solid var(--rule); border-radius: var(--r); padding: 12px 14px; }
.hs-clock b { display: block; font: 400 1.7rem/1 var(--pen-font); color: #2340c8; }
.hs-clock span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.35; color: #3c4148; }
.hs-clock s { color: #575d65; }
@media (min-width: 760px) { .hs-clock { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- AI receptionist vs dispatch VA ---------- */
.hs-cmp { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); color: #16181b; overflow: hidden; box-shadow: var(--shadow); }
.hs-cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hs-cmp-row > span { padding: 11px 14px; font-size: .92rem; line-height: 1.35; border-top: 1px solid #d5d8d1; color: #3c4148; }
.hs-cmp-row > span[role="rowheader"] { grid-column: 1 / -1; font-weight: 700; color: #16181b; background: #eaece7; }
.hs-cmp-row > span:last-child { background: color-mix(in srgb, var(--note) 38%, var(--card)); color: #16181b; font-weight: 600; }
.hs-cmp-row > span[role="cell"]:nth-child(2)::before { content: "AI receptionist: "; font-weight: 700; }
.hs-cmp-row > span:last-child::before { content: "Your VA: "; font-weight: 700; }
.hs-cmp-head { display: none; }
.hs-keep { margin: 18px 0 0; font: 400 1.6rem/1.15 var(--pen-font); color: var(--pen, #2340c8); }
@media (min-width: 760px) {
  .hs-cmp-row { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .hs-cmp-row > span[role="rowheader"] { grid-column: auto; background: none; }
  .hs-cmp-row > span::before { content: none !important; }
  .hs-cmp-head { display: grid; }
  .hs-cmp-head > span { border-top: 0; font: 700 .74rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #575d65; }
  .hs-cmp-head > span:last-child { background: var(--note); }
}

/* ---------- the five-stage rail ---------- */
.hs-rail { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: hs; }
.hs-stage { position: relative; background: var(--card); color: #16181b; border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 18px 18px; box-shadow: var(--shadow); }
.hs-stage h3 { font-size: 1.08rem; color: #16181b; margin: 0 0 10px; }
.hs-stage h3::before { counter-increment: hs; content: counter(hs); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--note); font: 700 .78rem/1 var(--body); vertical-align: 2px; }
.hs-stage ul { margin: 0; padding: 0 0 0 1.05em; font-size: .93rem; line-height: 1.5; color: #3c4148; }
.hs-stage li + li { margin-top: 6px; }
.hs-stage .hs-fri { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed #c9ccc4; font-size: .84rem; color: #575d65; }
.hs-stage .hs-fri b { color: #16181b; }
@media (min-width: 760px) { .hs-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) {
  .hs-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .hs-stage:not(:last-child)::after { content: ""; position: absolute; top: 31px; right: -13px; width: 14px; border-top: 2px dashed #2340c8; }
}

/* ---------- claims and permits ---------- */
.hs-claims { align-items: center; }
.hs-sticky { max-width: 420px; padding: 26px 24px 20px; transform: rotate(1.2deg); }
.hs-sticky ul { list-style: none; margin: 0; padding: 0; }
.hs-sticky li { font: 400 1.4rem/1.15 var(--pen-font); color: var(--note-ink); padding: 6px 0; border-bottom: 1px solid var(--note-rule); }
.hs-sticky li b { font-weight: 400; color: var(--note-pen); }
.hs-sticky .hs-cap { margin: 12px 0 0; color: var(--note-ink-2); }

/* ---------- managed: three steps ---------- */
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hs-steps li { border-left: 3px solid var(--note-2); padding: 4px 0 4px 16px; }
.hs-steps b { display: block; font-size: 1.04rem; }
.hs-steps span { color: var(--ink-2); font-size: .94rem; }
.hs-rules { margin-top: 22px; }

/* ---------- Friday board sample label ---------- */
.hs-plan-board .board-grid .cell .c { min-height: 0; }

/* ---------- final band: torn corner ---------- */
.hs-torn { display: inline-block; margin-top: 26px; padding: 18px 26px 16px 22px; font: 400 1.7rem/1.1 var(--pen-font); color: var(--note-pen); transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 94% 78%, 97% 86%, 90% 92%, 93% 100%, 0 100%); }
.hs-torn small { display: block; margin-top: 6px; font: 700 .66rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--note-ink-2); }

@media (max-width: 420px) {
  .hs-lane, .hs-hours { grid-template-columns: 46px minmax(0, 1fr); }
  .hs-arrow { left: 46px; width: calc(100% - 46px); }
  .hs-moved { left: calc(46px + 30%); }
  .hs-job { font-size: .64rem; padding: 0 4px; }
  .hs-sheet { margin-left: 4px; margin-right: 0; }
  .hs-sheet .md-lines li { font-size: 1.22rem; grid-template-columns: 34px 24px minmax(0, 1fr); gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .hs-drag, .hs-sticky, .hs-torn, .hs-needs { transform: none; } }
.hs-hours i { font-style: normal; }
