/* TradeFlow EQ — "For Contractors" page. Loads AFTER css/site.css. */

/* Hero card: what happens to an open estimate */
.hero-card .hc-row:first-of-type { border-top: 0; padding-top: 4px; }

/* Example journey: one estimate, first call to closed job */
.journey { max-width: 820px; margin: 48px auto 0; position: relative; }
.journey::before { content: ''; position: absolute; left: 19px; top: 8px; bottom: 30px; width: 2px; background: var(--g200); }
.jstep { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 18px; }
.jdot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--off); }
.jdot.win { background: #059669; }
.jcard { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 18px 20px; }
.jmeta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.jday { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g500); }
.pill { font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pill.resp { background: var(--blue-lt); color: var(--blue); }
.pill.eff { background: #fef3c7; color: #92400e; }
.pill.fol { background: #d1fae5; color: #047857; }
.pill.win { background: #dcfce7; color: #166534; }
.pill.team { background: var(--g100); color: var(--g700); }
.jcard h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: 4px; }
.jcard > p { font-size: .9rem; color: var(--g500); line-height: 1.65; }
.jcard .bubble { margin: 12px 0 0; max-width: 92%; }
.jcard .bubble.in { margin-top: 8px; }
.journey-foot { max-width: 820px; margin: 22px auto 0; text-align: center; color: var(--g500); font-size: .88rem; line-height: 1.7; }
.journey .tag-example { position: absolute; top: -34px; right: 0; }

/* Chain: inquiry -> follow-up -> conversation -> chance to close */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; align-items: stretch; }
.chain-link { position: relative; background: #fff; border: 1px solid var(--g200); padding: 22px 20px; text-align: left; }
.chain-link:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain-link:last-child { border-radius: 0 var(--radius) var(--radius) 0; background: var(--blue); border-color: var(--blue); }
.chain-link + .chain-link { border-left: 0; }
.chain-link:not(:last-child)::after { content: '→'; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.chain-link .n { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }
.chain-link b { display: block; font-size: .98rem; line-height: 1.35; color: var(--navy); }
.chain-link:last-child .n, .chain-link:last-child b { color: #fff; }
@media (max-width: 880px) {
  .chain { grid-template-columns: 1fr; gap: 0; }
  .chain-link, .chain-link:first-child, .chain-link:last-child { border-radius: 0; border: 1px solid var(--g200); border-top: 0; }
  .chain-link:first-child { border-top: 1px solid var(--g200); border-radius: var(--radius) var(--radius) 0 0; }
  .chain-link:last-child { border-radius: 0 0 var(--radius) var(--radius); border-color: var(--blue); }
  .chain-link + .chain-link { border-left: 1px solid var(--g200); }
  .chain-link:last-child { border-left-color: var(--blue); }
  .chain-link:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); }
}

/* Efficiency cards: wider text, two columns */
.eff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.eff { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.eff h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.eff p { font-size: .92rem; color: var(--g500); line-height: 1.7; }
.eff .eg { margin-top: 10px; font-size: .84rem; color: var(--g700); background: var(--off); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; padding: 8px 12px; line-height: 1.6; }
@media (max-width: 800px) { .eff-grid { grid-template-columns: 1fr; } }

/* One-line price strip */
.price-line { max-width: 760px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--g200); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.price-line .pl-main { font-size: 1.05rem; font-weight: 800; color: var(--navy); line-height: 1.5; }
.price-line .pl-main span { color: var(--blue); }
.price-line .pl-fine { font-size: .84rem; color: var(--g500); margin: 8px 0 16px; line-height: 1.6; }
.price-line .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.soft-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--g500); font-size: .92rem; line-height: 1.7; }
