/* Zoho consulting service page only. Loaded via `extra: crm, mid, p-services-zoho-consulting`. Every class is scoped with .psvc- */

/* ---------- hero: discovery whiteboard with department zones and Zoho app magnets ---------- */
.psvc-hero .psvc-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.psvc-hero .crm-sub { max-width: 46ch; }
.psvc-wb { position: relative; margin: 0; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #D9E0E7, #C3CCD6); box-shadow: 0 44px 80px -48px rgba(8,34,56,.65), inset 0 1px 0 rgba(255,255,255,.7); }
.psvc-wb__bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; font: 600 12.5px/1 var(--f-body); color: #334155; }
.psvc-wb__bar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FB97A; box-shadow: 0 0 0 4px rgba(63,185,122,.2); }
.psvc-wb__bar em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #1D5FA8; background: #fff; padding: 4px 8px; border-radius: 99px; }
.psvc-wb__board { position: relative; padding: 18px; border-radius: 10px; background: radial-gradient(120% 90% at 20% 0%, #fff, #F6F9FB 60%, #EEF2F6); box-shadow: inset 0 0 0 1px rgba(8,34,56,.08); }
.psvc-wb__zones { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.psvc-zone { position: relative; min-height: 132px; padding: 12px 12px 14px; border: 2px dashed color-mix(in srgb, var(--zc) 55%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--zc) 5%, transparent); }
.psvc-zone b { display: block; font: 800 15px/1.2 var(--f-display); letter-spacing: -.01em; color: var(--zc); transform: rotate(-1.5deg); transform-origin: left; }
.psvc-pin { position: absolute; left: 50%; top: 58%; display: grid; justify-items: center; gap: 5px; transform: translate(-50%, -50%); }
.psvc-pin img { width: 44px; height: 44px; padding: 7px; border-radius: 50%; background: #fff; box-shadow: 0 10px 18px -10px rgba(8,34,56,.6), 0 0 0 3px color-mix(in srgb, var(--zc) 35%, #fff); }
.psvc-pin i { font: 700 11.5px/1 var(--f-body); font-style: normal; color: #082238; background: #fff; padding: 3px 7px; border-radius: 6px; box-shadow: 0 4px 10px -6px rgba(8,34,56,.45); }
.psvc-wb__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.psvc-wb__ln { fill: none; stroke: #C2410C; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 6 7; }
.psvc-wb__tag { position: absolute; z-index: 3; transform: translate(-50%, -50%) rotate(-2deg); white-space: nowrap; font: 700 11.5px/1 var(--f-body); color: #9A3412; background: #fff; padding: 4px 8px; border-radius: 6px; border: 1.5px solid #C2410C; }
.psvc-wb__note { position: absolute; z-index: 4; right: 16px; bottom: -30px; margin: 0; padding: 12px 14px; max-width: 150px; font: 800 13px/1.3 var(--f-display); color: #4A3500; background: #FFE58A; box-shadow: 0 16px 24px -14px rgba(8,34,56,.6); transform: rotate(3deg); }
.psvc-wb__tray { display: flex; gap: 10px; justify-content: flex-end; padding: 10px 12px 0; }
.psvc-wb__tray i { width: 46px; height: 9px; border-radius: 5px; background: #1D5FA8; box-shadow: inset -12px 0 0 #0B2540; }
.psvc-wb__tray i:nth-child(2) { background: #C2410C; } .psvc-wb__tray i:nth-child(3) { background: #2F7D4A; }
/* motion: magnets drop in, marker lines draw, note sticks (JS adds .is-arm, then .is-on per zone / line) */
.psvc-wb.is-arm .psvc-pin { opacity: 0; transform: translate(-50%, -110%) scale(.7); }
.psvc-wb .psvc-pin { transition: opacity .35s, transform .55s cubic-bezier(.2,1.5,.4,1); }
.psvc-wb.is-arm .psvc-zone.is-on .psvc-pin { opacity: 1; transform: translate(-50%, -50%); }
.psvc-wb.is-arm .psvc-wb__ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.psvc-wb.is-arm .psvc-wb__ln.is-on { stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease-out; }
.psvc-wb.is-arm .psvc-wb__ln.is-done { stroke-dasharray: .045 .05; stroke-dashoffset: 0; }
.psvc-wb .psvc-wb__tag, .psvc-wb .psvc-wb__note { transition: opacity .35s, transform .45s cubic-bezier(.2,1.4,.4,1); }
.psvc-wb.is-arm .psvc-wb__tag { opacity: 0; transform: translate(-50%, -30%) rotate(-2deg); }
.psvc-wb.is-arm .psvc-wb__tag.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-2deg); }
.psvc-wb.is-arm .psvc-wb__note { opacity: 0; transform: rotate(12deg) scale(.6); }
.psvc-wb.is-arm .psvc-wb__note.is-on { opacity: 1; transform: rotate(3deg); }

/* ---------- what it is + who it is for (sticky notes) ---------- */
.psvc-what__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.psvc-what__p { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: #334155; max-width: 60ch; }
.psvc-who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.psvc-who li { padding: 18px 18px 20px; background: var(--bg); transform: rotate(var(--r)); box-shadow: 0 18px 30px -22px rgba(8,34,56,.55); transition: transform .3s; }
.psvc-who li:hover { transform: rotate(0) translateY(-3px); }
.psvc-who b { display: block; margin-bottom: 6px; font: 700 17px/1.25 var(--f-display); color: #082238; }
.psvc-who span { font-size: 15px; line-height: 1.55; color: #334155; }

/* ---------- included: six documents ---------- */
.psvc-docs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: d; }
.psvc-docs li { position: relative; padding: 22px 22px 22px; background: #fff; border: 1px solid #E2E8F0; border-radius: 4px 22px 4px 4px; box-shadow: 0 24px 40px -36px rgba(8,34,56,.6); box-shadow: 0 24px 40px -36px rgba(8,34,56,.6), 6px 6px 0 -1px #F3F7F9, 6px 6px 0 0 #E2E8F0; }
.psvc-docs li::after { content: ""; position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; background: linear-gradient(225deg, #F3F7F9 50%, color-mix(in srgb, var(--c) 25%, #fff) 50%); border-radius: 0 22px 0 6px; }
.psvc-docs__k { display: inline-block; margin-bottom: 10px; padding: 4px 9px; border-radius: 6px; background: var(--c); color: #fff; font: 800 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.psvc-docs h3 { margin: 0 0 6px; font: 700 19px/1.25 var(--f-display); color: #082238; }
.psvc-docs p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #334155; }

/* ---------- J5 dial scroll-story: discovery to roadmap ----------
   Live only on wide screens with motion allowed (JS adds .psvc-dl--live); otherwise the closed ring + all six stops as a list. */
.psvc-dl { padding: 0; background: radial-gradient(900px 520px at 10% 6%, rgba(0,163,217,.2), transparent 62%), radial-gradient(760px 480px at 94% 96%, rgba(63,185,122,.16), transparent 60%), #061A2E; color: #C9D8E6; overflow-x: clip; }
.psvc-dl__stage { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.psvc-dl__head .hp-kick__t { color: #8FD8C9; }
.psvc-dl__head .pg-answer { margin-bottom: 0; color: #B9CADB; }
.psvc-dl__btns { display: none; }
.psvc-dl__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; margin-top: 32px; }
.psvc-dl__art { position: relative; }
.psvc-dl__dial { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 680 / 520; }
.psvc-dl__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.psvc-dl__trk { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; }
.psvc-dl__arc { fill: none; stroke: url(#psvc-dl-g); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.6,0,.2,1); }
.psvc-dl__node circle { fill: var(--c); stroke: var(--c); stroke-width: 3; transition: fill .3s, stroke .3s, stroke-width .3s; }
.psvc-dl__num { fill: #fff; font: 700 13px var(--f-body); text-anchor: middle; transition: fill .3s; }
.psvc-dl__lbl { fill: #AFC4D8; font: 600 17px var(--f-body); transition: fill .3s; }
.psvc-dl__c { position: absolute; top: 26.5%; bottom: 26.5%; left: 50%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); }
.psvc-dl__ico { width: clamp(26px, 3vw, 38px); height: auto; margin-bottom: 4px; fill: none; stroke: #8FD8C9; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.psvc-dl__k, .psvc-dl__s { font: 700 12px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #8FD8C9; }
.psvc-dl__s { max-width: 15ch; color: #C9D8E6; letter-spacing: .06em; }
.psvc-dl__big { font: 800 clamp(40px, 1.4rem + 2.6vw, 64px)/1.05 var(--f-display); color: #fff; letter-spacing: -.03em; margin: 2px 0 4px; }
.psvc-dl__bar { display: none; }
.psvc-dl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.psvc-dl__st { padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 5px solid var(--c); }
.psvc-dl__when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 12.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #8FD8C9; }
.psvc-dl__n { padding: 4px 9px; border-radius: 99px; background: var(--c); color: #fff; letter-spacing: .06em; }
.psvc-dl__st h3 { margin: 0 0 8px; font: 700 clamp(20px, 1rem + .7vw, 26px)/1.25 var(--f-display); letter-spacing: -.02em; color: #fff; }
.psvc-dl__st > p:not([class]) { margin: 0; font-size: 16px; line-height: 1.6; color: #D3DFEB; }
.psvc-dl__note { margin-top: 26px; font-size: 14px; color: #9AB0C4; }
.psvc-dl__note a { color: #8FD8C9; }
.psvc-dl__btns button:focus-visible { outline: 2px solid #FFB81C; outline-offset: 2px; }

.psvc-dl--live .psvc-dl__track { height: calc(100vh + 6 * 52vh); }
.psvc-dl--live .psvc-dl__stage { position: sticky; top: 0; height: 100vh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 24px; }
.psvc-dl--live .pg-h2 { font-size: clamp(26px, 1rem + 1.2vw, 36px); max-width: 32ch; }
.psvc-dl--live .pg-answer { font-size: 16px; margin-top: 10px; max-width: 80ch; }
.psvc-dl--live .psvc-dl__btns { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.psvc-dl__btns button { font: 600 13px/1 var(--f-body); color: #E6EEF6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); padding: 9px 13px; border-radius: 99px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.psvc-dl__btns button.is-past { border-color: rgba(143,216,201,.75); }
.psvc-dl__btns button[aria-current="true"] { background: #FFB81C; color: #082238; border-color: #FFB81C; }
.psvc-dl--live .psvc-dl__grid { margin-top: 12px; align-items: center; }
.psvc-dl--live .psvc-dl__dial { width: auto; max-width: none; height: min(46vh, 440px); }
.psvc-dl--live .psvc-dl__node { cursor: pointer; }
.psvc-dl--live .psvc-dl__node circle { fill: #061A2E; stroke: rgba(255,255,255,.35); }
.psvc-dl--live .psvc-dl__node.is-past circle { fill: var(--c); stroke: var(--c); }
.psvc-dl--live .psvc-dl__node.is-on circle { fill: #fff; stroke: #FFB81C; stroke-width: 6; }
.psvc-dl--live .psvc-dl__node.is-on .psvc-dl__num { fill: #082238; }
.psvc-dl--live .psvc-dl__lbl { fill: #6F86A0; }
.psvc-dl--live .psvc-dl__node.is-past .psvc-dl__lbl { fill: #AFC4D8; }
.psvc-dl--live .psvc-dl__node.is-on .psvc-dl__lbl { fill: #fff; }
.psvc-dl--live .psvc-dl__bar { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.psvc-dl__bar i { width: 26px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.16); transition: background .4s; } .psvc-dl__bar i.on { background: #FFB81C; }
.psvc-dl--live .psvc-dl__list { display: block; position: relative; min-height: 300px; }
.psvc-dl--live .psvc-dl__st { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; pointer-events: none; transform: translateY(-44%) scale(.97); padding: 26px 28px; transition: opacity .2s, transform .3s; }
.psvc-dl--live .psvc-dl__st.is-on { opacity: 1; pointer-events: auto; transform: translateY(-50%); transition: opacity .45s .12s, transform .6s .12s cubic-bezier(.2,.8,.2,1); }
.psvc-dl--live .psvc-dl__note { margin-top: 12px; font-size: 13px; }
@media (max-height: 780px) {
  .psvc-dl--live .psvc-dl__stage { padding-top: 84px; padding-bottom: 16px; }
  .psvc-dl--live .hp-kick { display: none; }
  .psvc-dl--live .psvc-dl__dial { height: 40vh; }
  .psvc-dl--live .pg-answer { font-size: 15px; margin-top: 8px; line-height: 1.5; }
  .psvc-dl--live .psvc-dl__btns { margin-top: 10px; } .psvc-dl--live .psvc-dl__btns button { padding: 8px 12px; }
  .psvc-dl--live .psvc-dl__grid { margin-top: 6px; } .psvc-dl--live .psvc-dl__bar { margin-top: 8px; } .psvc-dl--live .psvc-dl__note { margin-top: 8px; }
}

/* ---------- signature interactive: where are you stuck? ---------- */
.psvc-stuck__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 40px); margin-top: 30px; align-items: start; }
.psvc-stuck__pick { display: grid; gap: 10px; }
.psvc-stuck__pick button { position: relative; text-align: left; font: 600 15.5px/1.35 var(--f-body); color: #E6EEF6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 14px 16px 14px 44px; border-radius: 14px; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.psvc-stuck__pick button::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); transition: border-color .25s, box-shadow .25s; }
.psvc-stuck__pick button:hover { transform: translateX(3px); border-color: rgba(255,255,255,.4); }
.psvc-stuck__pick button[aria-checked="true"] { background: #fff; color: #082238; border-color: #fff; }
.psvc-stuck__pick button[aria-checked="true"]::before { border-color: #FFB81C; box-shadow: inset 0 0 0 4px #FFB81C; }
.psvc-stuck__pick button:focus-visible { outline: 2px solid #FFB81C; outline-offset: 2px; }
.psvc-stuck__out { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; color: #334155; box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); }
.psvc-rec__flag { display: inline-block; margin: 0 0 10px; padding: 5px 10px; border-radius: 99px; background: #FFF1D0; color: #8A5A00; font: 800 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.psvc-rec h3 { margin: 0 0 8px; font: 700 clamp(22px, 1rem + .9vw, 28px)/1.2 var(--f-display); letter-spacing: -.02em; color: #082238; }
.psvc-rec > p:not([class]) { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.psvc-rec ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.psvc-rec li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.psvc-rec li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #E2F4F5; box-shadow: inset 0 0 0 5px #0E7C86; }
.psvc-rec__who { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #F3F7F9; font-size: 15px; }
.psvc-rec__who b { display: block; font: 800 11px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #64748B; margin-bottom: 4px; }
.psvc-rec__go { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.psvc-rec__go a { font: 600 14px/1 var(--f-body); color: #0A6FA8; text-decoration: none; padding: 9px 12px; border-radius: 99px; border: 1px solid #CFE0EE; transition: background .2s; }
.psvc-rec__go a:hover { background: #E8F5FC; }
.psvc-rec:not([hidden]) { animation: psvc-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes psvc-in { from { opacity: 0; transform: translateY(10px); } }
.psvc-stuck__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #E2E8F0; }
.psvc-stuck__send span { font-size: 13.5px; color: #64748B; }

/* ---------- cost ---------- */
.psvc-cost__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.psvc-cost__part { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #E2E8F0; }
.psvc-cost__tag { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 99px; background: #E8F5FC; color: #0A6FA8; font: 800 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.psvc-cost__tag--free { background: #E8F5EC; color: #1E7A47; } .psvc-cost__tag--z { background: #FDEDE4; color: #B23C0E; }
.psvc-cost__part h3 { margin: 0 0 8px; font: 700 19px/1.25 var(--f-display); color: #082238; }
.psvc-cost__part p { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* ---------- related services + apps ---------- */
.psvc-more__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.psvc-more__list a { display: block; height: 100%; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #E2E8F0; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.psvc-more__list a:hover { border-color: #00A3D9; transform: translateY(-2px); box-shadow: 0 20px 30px -26px rgba(8,34,56,.6); }
.psvc-more__list b { display: block; font: 700 18px/1.25 var(--f-display); color: #082238; margin-bottom: 4px; }
.psvc-more__list b::after { content: " →"; color: #0A6FA8; }
.psvc-more__list span { font-size: 15px; color: #475569; }
.psvc-more__apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; }
.psvc-more__apps > span { font: 600 14px/1 var(--f-body); color: #64748B; margin-right: 4px; }
.psvc-more__apps a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 99px; background: #F3F7F9; border: 1px solid #E2E8F0; font: 600 13.5px/1 var(--f-body); color: #082238; text-decoration: none; }
.psvc-more__apps a:hover { border-color: #00A3D9; background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .psvc-docs, .psvc-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .psvc-hero .psvc-hero__grid, .psvc-what__grid, .psvc-dl__grid, .psvc-stuck__grid { grid-template-columns: 1fr; }
  .psvc-dl__dial { max-width: 440px; }
  .psvc-cost__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .psvc-wb { padding: 8px; }
  .psvc-wb__board { padding: 12px; }
  .psvc-wb__zones { gap: 10px; }
  .psvc-zone { min-height: 104px; padding: 8px; }
  .psvc-zone b { font-size: 12.5px; }
  .psvc-pin img { width: 36px; height: 36px; padding: 6px; }
  .psvc-pin i { font-size: 10px; }
  .psvc-wb__tag { font-size: 10px; padding: 3px 6px; }
  .psvc-wb__note { font-size: 12px; padding: 9px 10px; right: 8px; max-width: 120px; }
  .psvc-who, .psvc-docs, .psvc-more__list { grid-template-columns: 1fr; }
  .psvc-dl__lbl { font-size: 19px; } .psvc-dl__num { font-size: 15px; } .psvc-dl__st { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .psvc-wb *, .psvc-who li, .psvc-rec { transition: none !important; animation: none !important; }
}
