/* sol-sales.css: the Sales solution page only (solutions/sales.html). Round 15 spine: "Every lead gets a reply."
   Warm and conversation-first: a real-looking sales desk, chat bubbles that answer it, one lead's six steps.
   Every class here starts with sx- and is used on this page only. Motion: one rise (16 px + fade, var(--ease));
   JS off, prefers-reduced-motion and body.paused all show the final state. */

body.sol--sales{
  --sx-sun:#F2A25C;--sx-coral:#D9623F;--sx-ember:#9A3E1F;
  --sx-warm:#FBF0E4;--sx-warm-2:#F5DFC8;--sx-warm-line:rgba(154,62,31,.18);
  --sx-out:#DCF5D1;--sx-out-line:rgba(18,140,126,.20);--sx-in:#FFFFFF;
  --sx-rise:16px;--sx-d:520ms
}

/* ---------- shared bits: chat bubbles, chips, ticks ---------- */
.sx-bub{position:relative;max-width:20em;margin:0;padding:10px 13px 9px;border-radius:16px;font:500 15px/1.38 var(--f-body);color:var(--ink);box-shadow:0 6px 18px -8px rgba(23,24,28,.28),0 1px 2px rgba(23,24,28,.08);text-wrap:pretty}
.sx-bub--in{background:var(--sx-in);background-image:var(--sheen);border-bottom-left-radius:5px}
.sx-bub--out{margin-left:auto;background:var(--sx-out);background-image:var(--sheen);box-shadow:inset 0 0 0 1px var(--sx-out-line),0 6px 18px -8px rgba(23,24,28,.26);border-bottom-right-radius:5px}
.sx-bub--sm{font-size:14px}
.sx-bub__t{display:block;margin-top:4px;font:500 14px/1.2 var(--f-body);color:var(--mute)}
.sx-bub__who{display:flex;align-items:center;gap:7px;margin-bottom:5px;font:700 14px/1.2 var(--f-display);color:var(--blue-darker)}
.sx-bub__who img{width:26px;height:26px;border-radius:50%;object-fit:cover;background:var(--white)}
.sx-bub .ai-badge{font-size:10px}
.sx-chip{display:inline-flex;align-items:center;gap:8px;margin:0;min-height:38px;padding:0 14px 0 8px;border-radius:999px;background:var(--white);background-image:var(--sheen);box-shadow:0 8px 20px -10px rgba(23,24,28,.4),inset 0 0 0 1px rgba(20,131,79,.22);font:700 14px/1 var(--f-display);color:var(--ok)}
.sx-tick{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--ok);background-image:var(--sheen)}
.sx-tick svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body.sol--sales .sx-steps .pill{height:28px;padding:0 11px;font-size:14px}

/* ---------- 1 · HERO ---------- */
.sx-hero{position:relative;isolation:isolate;overflow:clip;margin-top:calc(-1*var(--nav-h));padding:calc(var(--nav-h) + 22px) 0 28px;background:var(--linen)}
.sx-hero__bg{position:absolute;inset:0;z-index:-1;background:linear-gradient(165deg,var(--linen) 0%,var(--sx-warm) 55%,color-mix(in srgb,var(--sx-warm-2) 70%,var(--sx-warm)) 100%)}
.sx-hero__in{display:grid;gap:22px}
.sx-hero__title{margin:0;font:700 var(--h1-page-m)/1 var(--f-display);letter-spacing:-.045em;color:var(--ink);max-width:11.5em;text-wrap:balance}
.sx-hero__title em{font-style:normal;color:var(--sx-coral)}
.sx-hero__sub{margin:14px 0 0;font:500 17px/1.45 var(--f-body);color:var(--ink-2);max-width:26em;text-wrap:pretty}
.sx-hero__ctas{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:20px}
.sx-hero__facts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.sx-hero__facts li{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;background:color-mix(in srgb,var(--white) 86%,transparent);background-image:var(--sheen);box-shadow:inset 0 0 0 1px var(--sx-warm-line);font:500 14.5px/1.2 var(--f-body);color:var(--ink-2)}
.sx-hero__facts b{font:700 14.5px/1.2 var(--f-display);color:var(--sx-ember)}
.sx-hero__art{position:relative;margin:0;padding-bottom:64px}
.sx-hero__img{display:block;width:100%;aspect-ratio:3/2;height:auto;object-fit:cover;object-position:30% 40%;border-radius:var(--r-lg);box-shadow:var(--shadow-lift)}
.sx-talk{position:absolute;inset:auto 10px 0 10px;display:grid;gap:8px;justify-items:start}
.sx-talk .sx-bub--in{max-width:15em}
.sx-talk .sx-bub--out{max-width:17em}
.sx-talk .sx-chip{position:absolute;right:4px;top:-34px}
@media (max-width:760px){
  .sx-hero__ctas .btn--wa{width:100%}
  .sx-talk .sx-bub--in{display:none}
  .sx-hero__art{padding-bottom:44px}
}
@media (min-width:761px){
  .sx-hero{padding:calc(var(--nav-h) + 48px) 0 64px}
  .sx-hero__title{font-size:clamp(44px,5.4vw,72px);line-height:.98}
  .sx-hero__sub{margin-top:20px;font-size:clamp(17px,1.4vw,21px)}
  .sx-hero__art{padding:0 0 48px 0}
  .sx-talk{inset:auto auto 0 -28px;width:min(78%,400px)}
  .sx-talk .sx-chip{right:auto;left:calc(100% + 12px);top:auto;bottom:18px;white-space:nowrap}
}
@media (min-width:761px) and (max-width:1023px){
  .sx-hero__in{gap:36px}
  .sx-hero__art{width:min(100%,620px);margin-left:auto}
  .sx-talk{left:-16px}
  .sx-talk .sx-chip{left:auto;right:-8px;top:-50px;bottom:auto}
}
@media (min-width:1024px){
  .sx-hero__in{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(32px,4vw,64px);align-items:center}
}

/* hero bubbles arrive one by one (JS on, motion allowed); the still shows all three */
@keyframes sx-rise{from{opacity:0;transform:translateY(var(--sx-rise))}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  html.js body:not(.paused) .sx-talk>*{animation:sx-rise var(--sx-d) var(--ease) both;animation-delay:calc(500ms + var(--n) * 900ms)}
}

/* ---------- 2 · PROOF (real photo + the sourced number) ---------- */
.sx-proof{padding:8px 0 clamp(36px,5vw,72px);background:var(--sx-warm)}
.sx-proof__card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;overflow:hidden;border-radius:var(--r-lg);background:var(--white);background-image:var(--sheen);box-shadow:var(--shadow),inset 0 0 0 1px var(--sx-warm-line)}
.sx-proof__img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover;object-position:35% 50%}
.sx-proof__txt{display:grid;align-content:center;gap:6px;padding:16px 16px 12px}
.sx-proof__n{margin:0;font:700 clamp(34px,5.4vw,76px)/.95 var(--f-display);letter-spacing:-.045em;color:var(--sx-coral)}
.sx-proof__l{margin:0;font:500 15px/1.35 var(--f-body);color:var(--ink-2);text-wrap:pretty}
.sx-proof__l b{font-weight:600;color:var(--ink)}
.sx-proof__go{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:2px;font:600 15px/1 var(--f-display);color:var(--ink)}
.sx-proof__go img{width:74px;height:auto;filter:grayscale(1) contrast(1.1);transition:filter var(--d3) var(--ease)}
.sx-proof__go:hover img,.sx-proof__go:focus-visible img{filter:none}
.sx-proof__go .arrow{width:16px;height:16px}
@media (max-width:420px){.sx-proof__go span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media (min-width:761px){
  .sx-proof__card{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
  .sx-proof__img{min-height:300px}
  .sx-proof__txt{gap:12px;padding:clamp(28px,3.4vw,52px)}
  .sx-proof__l{font-size:clamp(17px,1.4vw,20px);max-width:20em}
}

/* ---------- 3 · ONE LEAD'S JOURNEY ---------- */
.sx-trip{padding:clamp(44px,6vw,104px) 0 clamp(40px,5vw,88px);background:linear-gradient(180deg,var(--sx-warm) 0%,var(--linen) 60%)}
.sx-trip__say{margin-bottom:clamp(22px,3.4vw,52px)}
.sx-trip__say mark{color:var(--sx-coral)}
.sx-steps{margin:0;padding:0;list-style:none}
.sx-step{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--r-card);background:var(--white);background-image:var(--sheen);box-shadow:var(--shadow),inset 0 0 0 1px var(--hair)}
.sx-step__pic{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden}
.sx-step--photo .sx-step__pic img{display:block;width:100%;height:100%;object-fit:cover}
.sx-step--photo .sx-bub,.sx-step--photo .sx-chip,.sx-step--photo .sx-lead{position:absolute;left:12px;bottom:12px;right:auto}
.sx-step--photo .sx-bub{max-width:calc(100% - 40px)}
.sx-chat{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:16px;background:
  linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.4)),var(--sx-warm);background-image:var(--sheen),linear-gradient(180deg,var(--sx-warm),color-mix(in srgb,var(--sx-warm-2) 60%,var(--sx-warm)))}
.sx-step--warm .sx-chat{background-image:var(--sheen),linear-gradient(180deg,color-mix(in srgb,var(--sx-sun) 22%,var(--sx-warm)),var(--sx-warm-2))}
.sx-chat .sx-bub{max-width:88%}
.sx-wait{margin:0}
.sx-quote{align-self:flex-start;width:min(88%,240px);padding:12px 14px;border-radius:12px;background:var(--white);background-image:var(--sheen);box-shadow:0 6px 18px -8px rgba(23,24,28,.3),inset 0 0 0 1px var(--hair)}
.sx-quote__k{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;font:600 14px/1 var(--f-mono);color:var(--ink-2)}
.sx-quote__w{margin:8px 0 10px;font:700 15px/1.25 var(--f-display);color:var(--ink)}
.sx-quote__l{display:block;height:7px;border-radius:4px;background:var(--bone);margin-top:6px}
.sx-quote__l--s{width:60%}
.sx-lead{display:flex;align-items:center;gap:10px;margin:0;padding:6px 6px 6px 12px;border-radius:12px;background:var(--white);background-image:var(--sheen);box-shadow:0 8px 20px -10px rgba(23,24,28,.45);font:500 14px/1.2 var(--f-body);color:var(--ink)}
.sx-lead b{font:700 14px/1 var(--f-display);color:var(--sx-coral)}
.sx-lead__btn{display:inline-grid;place-items:center;min-height:30px;padding:0 12px;border-radius:8px;background:var(--ink);background-image:var(--sheen);font:600 14px/1 var(--f-display);color:var(--white)}
.sx-step__cap{display:flex;align-items:center;gap:12px;margin:0;padding:14px 16px 16px;font:700 18px/1.25 var(--f-display);letter-spacing:-.015em;color:var(--ink);text-wrap:balance}
.sx-step__n{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sx-coral);background-image:var(--sheen);font:700 15px/1 var(--f-display);color:var(--white)}
.sx-trip .sol-ba{margin-top:clamp(28px,4vw,56px)}
.sx-trip__tpy{display:none}
@media (max-width:760px){
  .sx-steps.rail{grid-auto-columns:78vw}
  .sx-step{height:100%}
}
@media (min-width:761px){
  .sx-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px);counter-reset:none}
  .sx-trip .container{position:relative}
}
@media (min-width:1024px){
  .sx-steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:clamp(28px,3vw,44px)}
  /* the path: a warm dashed line runs behind each row of three */
  .sx-steps{position:relative}
  .sx-steps::before,.sx-steps::after{content:"";position:absolute;left:8%;right:8%;height:0;border-top:2px dashed color-mix(in srgb,var(--sx-coral) 45%,transparent);z-index:-1}
  .sx-steps::before{top:25%}
  .sx-steps::after{top:75%}
  .sx-trip__tpy{display:block}
}
/* steps rise in one after another when the row comes into view (site.js adds .is-in via data-reveal on the row) */
@media (prefers-reduced-motion:no-preference){
  html.js body:not(.paused) .sx-step:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift),inset 0 0 0 1px var(--hair)}
  .sx-step{transition:transform var(--d2) var(--ease),box-shadow var(--d2) var(--ease)}
}

/* ---------- 4 · PEOPLE ---------- */
.sx-people{padding:clamp(48px,6vw,104px) 0 clamp(40px,5vw,88px);background:var(--linen)}
.sx-ppl{margin:0;padding:0;list-style:none}
.sx-ppl__card{position:relative;overflow:hidden;min-height:300px;border-radius:var(--r-lg);background:var(--ink);box-shadow:var(--shadow)}
.sx-ppl__card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sx-ppl__card::after{content:"";position:absolute;inset:auto 0 0 0;height:55%;background:linear-gradient(180deg,rgba(11,11,13,0),rgba(11,11,13,.72));pointer-events:none}
.sx-ppl__cap{position:absolute;left:16px;right:16px;bottom:16px;z-index:1;margin:0;font:700 20px/1.2 var(--f-display);letter-spacing:-.02em;color:var(--white);text-wrap:balance}
.sx-ppl__card--ai{background:var(--blue-darker);background-image:var(--sheen),linear-gradient(160deg,var(--blue-mid) 0%,var(--blue-darker) 70%)}
.sx-ppl__card--ai::after{display:none}
.sx-ai{position:absolute;left:16px;right:16px;top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.sx-ai__lead{width:84px;height:84px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 10px 24px -8px rgba(0,0,0,.5)}
.sx-ai__bots{display:flex}
.sx-ai__bots img{width:56px;height:56px;margin-right:-10px;border-radius:50%;background:var(--white);box-shadow:0 0 0 2px var(--blue-darker)}
.sx-people__more{margin-top:20px}
@media (max-width:760px){
  .sx-ppl.rail{grid-auto-columns:76vw}
  .sx-ppl__card{min-height:0;aspect-ratio:4/5}
}
@media (min-width:761px){
  .sx-ppl{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:clamp(14px,1.6vw,24px)}
  .sx-ppl__card{min-height:clamp(320px,30vw,440px)}
  .sx-ppl__cap{left:24px;right:24px;bottom:22px;font-size:clamp(20px,1.8vw,26px)}
  .sx-ai{left:24px;top:28px}
  .sx-people__more{margin-top:32px}
}

/* ---------- lower half: deliberate rhythm on phones (the shared strips keep their look) ---------- */
@media (max-width:760px){
  body.sol--sales .strip--how{padding:40px 0 36px}
  body.sol--sales .strip--built{padding:40px 0}
  body.sol--sales .strip--price{padding:52px 0 44px}
  body.sol--sales .strip--faq{padding:44px 0}
  body.sol--sales .strip--sib{padding:36px 0}
  /* each folded list sits in its own card, so a strip reads as one block, not loose lines */
  body.sol--sales main details.fold:not(.fold--bt){padding:2px 14px;border-radius:var(--r-card);background:var(--white);background-image:var(--sheen);box-shadow:var(--shadow),inset 0 0 0 1px var(--hair)}
  body.sol--sales main details.fold:not(.fold--bt)>.fold__sum{border:0}
  body.sol--sales .faq__list{padding:4px 14px;border-radius:var(--r-card);background:var(--white);background-image:var(--sheen);box-shadow:var(--shadow),inset 0 0 0 1px var(--hair)}
}

/* the still: motion off, page paused, or JS off -> everything in its final place */
@media (prefers-reduced-motion:reduce){.sx-talk>*,.sx-step{animation:none!important;transition:none!important}}
body.paused .sx-talk>*{animation:none!important}
