/* Page-specific lead blocks (audit 3, 2026-11-13): the AI integrations "Example workflow" (includes/ai-workflow.php)
   and the guide scope-and-price comparison (includes/cost-compare.php). Drawings only, nothing clickable, so no
   hover effects. Plain hex/rgba only. */

/* ---------- AI integrations: example workflow ---------- */
.v-aiw { position: relative; margin: 0; padding: 44px 36px 64px; border: 1px solid #e2e8f0; border-radius: 22px; background: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1px, rgba(248, 250, 252, 0) 1.2px); background-size: 22px 22px; }
.v-aiw__flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; align-items: start; }
.v-aiw__step { position: relative; display: flex; flex-direction: column; gap: 16px; }
/* Connector arrow to the next card, centred on the card head row: a line (::after) and a head (::before). */
.v-aiw__step:not(:last-child)::after { content: ""; position: absolute; top: 27px; right: -29px; width: 20px; height: 2px; background: #94a3b8; }
.v-aiw__step:not(:last-child)::before { content: ""; position: absolute; top: 23px; right: -32px; width: 0; height: 0;
  border-top: 5px solid rgba(148, 163, 184, 0); border-bottom: 5px solid rgba(148, 163, 184, 0); border-left: 8px solid #94a3b8; }
.v-aiw__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 14px;
  background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 26px rgba(15, 23, 42, 0.07); color: #0b1220; }
.v-aiw__head { position: relative; display: flex; align-items: center; gap: 8px; padding-right: 22px; font: 600 14px/1.25 var(--v-sans); }
.v-aiw__head .v-ic { flex: none; width: 20px; height: 20px; color: #0f766e; }
.v-aiw__card i { display: block; width: var(--w, 60%); height: 7px; border-radius: 4px; background: #cbd5e1; }
.v-aiw__msg, .v-aiw__lines { display: flex; flex-direction: column; gap: 7px; }
.v-aiw__msg { padding: 10px; border-radius: 10px; background: #f1f5f9; }
.v-aiw__avatar { width: 22px; height: 22px; margin-bottom: 2px; border-radius: 50%; background: #94a3b8; }
.v-aiw__step--draft .v-aiw__card { border-color: #99d8cf; }
.v-aiw__step--draft .v-aiw__card i { background: #a7c4c0; }
.v-aiw__row { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 26px 7px 8px; border-radius: 8px; background: #f1f5f9; font: 500 13.5px/1.25 var(--v-sans); }
.v-aiw__ok { flex: none; width: 18px; height: 18px; color: #0d9488; }
.v-aiw__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-aiw__btn { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 8px; border: 1px solid #cbd5e1; border-radius: 999px; background: #ffffff; font: 600 13px/1 var(--v-sans); color: #0b1220; }
.v-aiw__btn--go { grid-column: 1 / -1; border-color: #f5b82e; background: #f5b82e; }
.v-aiw__btn--ex { border-style: dashed; border-color: #94a3b8; color: #475569; }
/* Exception route: a dashed drop from the review card to its side path. */
.v-aiw__branch { position: relative; padding-top: 30px; }
.v-aiw__branch::before { content: ""; position: absolute; top: 0; left: 50%; height: 24px; border-left: 2px dashed #94a3b8; }
.v-aiw__exc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px dashed #94a3b8; border-radius: 12px; background: #ffffff; font: 500 13.5px/1.3 var(--v-sans); color: #334155; }
.v-aiw__exc .v-ic { flex: none; width: 18px; height: 18px; color: #475569; }
.v-aiw__step--done .v-aiw__card { border-color: #0d9488; }
/* Saffron markers tied to the numbered notes under the drawing. */
.v-aiw__mk { position: absolute; right: -2px; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: -11px;
  border: 2px solid #ffffff; border-radius: 50%; background: #f5b82e; color: #0b1220; font: 700 12px/1 var(--v-sans); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18); }
.v-aiw__row .v-aiw__mk { right: 4px; }
.v-aiw__label { position: absolute; left: 36px; bottom: 20px; font: 500 13px/1.2 var(--v-sans); color: #475569; }
.v-aiw__label b { color: #0b1220; font-weight: 700; }
.v-aiw__notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.v-aiw__notes li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font: 400 16px/1.55 var(--v-sans); color: var(--v-text); }
.v-aiw__notes .v-aiw__mk { position: static; width: 28px; height: 28px; margin: 0; font-size: 13.5px; border: 0; box-shadow: none; }
@media (max-width: 1099px) {
  /* Stacked: one column of cards, arrows pointing down; the exception path sits beside the review card. */
  .v-aiw { padding: 28px 22px 60px; }
  .v-aiw__flow { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 520px; margin: 0 auto; }
  .v-aiw__step:not(:last-child)::after { top: auto; right: auto; bottom: -24px; left: 50%; width: 2px; height: 16px; margin-left: -1px; }
  .v-aiw__step:not(:last-child)::before { top: auto; right: auto; bottom: -28px; left: 50%; margin-left: -5px;
    border: 0; border-left: 5px solid rgba(148, 163, 184, 0); border-right: 5px solid rgba(148, 163, 184, 0); border-top: 8px solid #94a3b8; }
  .v-aiw__btns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v-aiw__btn--go { grid-column: auto; }
  .v-aiw__branch { padding: 12px 0 0 28px; }
  .v-aiw__branch::before { top: 0; left: 12px; height: 32px; width: 12px; border-left: 2px dashed #94a3b8; border-bottom: 2px dashed #94a3b8; border-bottom-left-radius: 8px; }
  .v-aiw__label { left: 22px; }
  .v-aiw__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .v-aiw { padding: 20px 14px 56px; margin: 0 -6px; }
  .v-aiw__label { left: 16px; }
  .v-aiw__notes { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- Guides: scope-and-price comparison ---------- */
.v-cmp { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0; margin: 28px 0 0; padding: 0; list-style: none;
  border: 1px solid #e2e8f0; border-radius: 18px; background: #ffffff; overflow: hidden; }
.v-cmp__tier { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 24px; border-left: 1px solid #e2e8f0; }
.v-cmp__tier:first-child { border-left: 0; }
.v-cmp__tier > .v-ic { width: 26px; height: 26px; color: #0f766e; }
.v-cmp__tier h3 { font: 600 17px/1.3 var(--v-sans); color: var(--v-text); }
.v-cmp dl { display: flex; flex-direction: column; gap: 4px; margin: auto 0 0; }
.v-cmp dt { margin-top: 8px; font: 600 11.5px/1.2 var(--v-mono); letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.v-cmp dd { margin: 0; font: 400 15px/1.5 var(--v-sans); color: #334155; }
.v-cmp dd.v-cmp__range { font: 600 16px/1.4 var(--v-sans); color: #0b1220; }
.v-cmp__tier:nth-child(1) { border-top: 4px solid #2dd4bf; }
.v-cmp__tier:nth-child(2) { border-top: 4px solid #0d9488; }
.v-cmp__tier:nth-child(3) { border-top: 4px solid #0b1220; }
.v-cmp__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fdf3d7; font: 400 15px/1.5 var(--v-sans); color: #334155; }
.v-cmp__note .v-ic { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #b7791f; }
.v-cmp__note b { color: #0b1220; font-weight: 600; }
.v-cmp__text { margin-top: 22px; }
.v-cmp__text p { font: 400 16px/1.65 var(--v-sans); color: var(--v-slate); }
.v-cmp__text p + p { margin-top: 12px; }
@media (max-width: 760px) {
  .v-cmp { grid-template-columns: minmax(0, 1fr); }
  .v-cmp__tier { border-left: 0; border-top-width: 0; box-shadow: inset 4px 0 0 #2dd4bf; padding: 18px 18px 20px 22px; }
  .v-cmp__tier + .v-cmp__tier { border-top: 1px solid #e2e8f0; }
  .v-cmp__tier:nth-child(2) { box-shadow: inset 4px 0 0 #0d9488; }
  .v-cmp__tier:nth-child(3) { box-shadow: inset 4px 0 0 #0b1220; }
  .v-cmp__tier:nth-child(1) { border-top: 0; }
}
