/* Industries refinement — hero, floating integrations, Neo system, and request routing. */
.v5-industries{
  --industry-blue:#356cff;
  --industry-violet:#7458ef;
  --industry-pink:#ee548f;
  --industry-green:#24a978;
}

/* Hero */
.v5-industries .kx-industry-hero{
  min-height:calc(100svh - 96px);
  display:flex;
  align-items:center;
  padding:52px 0 66px;
  background:
    radial-gradient(ellipse 48% 58% at -10% 16%,rgba(53,108,255,.12),transparent 70%),
    radial-gradient(ellipse 40% 52% at 108% 30%,rgba(239,79,136,.1),transparent 72%),
    radial-gradient(ellipse 42% 28% at 52% 105%,rgba(120,86,239,.08),transparent 72%),
    #fffdfa;
}
.v5-industries .kx-industry-hero-grid-v5{
  min-height:610px;
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(520px,1.05fr);
  align-items:center;
  gap:52px;
}
.v5-industries .kx-industry-hero-copy{position:relative;z-index:4}
.v5-industries .kx-industry-hero-copy>.kx-eyebrow{margin-bottom:20px}
.v5-industries .kx-industry-hero-copy h1{
  max-width:580px;
  margin:0;
  font-size:clamp(51px,4.35vw,58px);
  font-weight:635;
  line-height:.98;
  letter-spacing:-.058em;
}
.v5-industries .kx-industry-hero-copy h1>span{display:block;white-space:nowrap}
.v5-industries .kx-industry-hero-copy>p{
  max-width:500px;
  margin:22px 0 0;
  color:#626873;
  font-size:15px;
  line-height:1.72;
}
.v5-industries .kx-industry-hero .kx-actions{justify-content:flex-start;margin-top:28px}
.v5-industries .kx-industry-collage-v5{position:relative;min-height:535px}
.v5-industries .kx-collage-image{
  position:absolute;
  overflow:hidden;
  margin:0;
  border:4px solid rgba(255,255,255,.94);
  border-radius:22px;
  background:#eef0f4;
  box-shadow:0 26px 70px rgba(31,38,61,.16);
}
.v5-industries .kx-collage-image img{width:100%;height:100%;display:block;object-fit:cover}
.v5-industries .kx-collage-hvac-v5{left:1%;top:90px;z-index:2;width:47%;height:235px;transform:rotate(-1.5deg)}
.v5-industries .kx-collage-plumbing-v5{right:3%;top:20px;z-index:1;width:43%;height:188px;transform:rotate(1.2deg)}
.v5-industries .kx-collage-roofing-v5{right:0;bottom:18px;z-index:3;width:53%;height:190px;transform:rotate(1.5deg)}
.v5-industries .kx-collage-moving-v5{left:3%;bottom:5px;z-index:1;width:36%;height:164px;transform:rotate(-2deg)}
.v5-industries .kx-collage-medspa-v5{left:34%;top:220px;z-index:5;width:40%;height:202px;transform:rotate(.8deg)}
.v5-industries .kx-collage-hvac-v5 img{object-position:center}
.v5-industries .kx-collage-plumbing-v5 img{object-position:center}
.v5-industries .kx-collage-roofing-v5 img{object-position:center}
.v5-industries .kx-collage-moving-v5 img{object-position:center}
.v5-industries .kx-collage-medspa-v5 img{object-position:center 42%}

/* Floating, unboxed integrations */
.v5-industries .kx-industry-tools{
  position:relative;
  padding:18px 0 24px;
  border:0;
  background:#fffdfa;
}
.v5-industries .kx-industry-tools::before,.v5-industries .kx-industry-tools::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  z-index:2;
  width:9vw;
  pointer-events:none;
}
.v5-industries .kx-industry-tools::before{left:0;background:linear-gradient(90deg,#fffdfa,transparent)}
.v5-industries .kx-industry-tools::after{right:0;background:linear-gradient(-90deg,#fffdfa,transparent)}
.v5-industries .kx-industry-tools .kx-ticker-track{
  gap:0;
  animation:industryToolsLoop 38s linear infinite;
  will-change:transform;
}
.v5-industries .kx-industry-tools .kx-tool-set{display:flex;align-items:center;gap:84px;padding-right:84px}
.v5-industries .kx-industry-tools span{
  width:auto;
  height:62px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0;
  border:0;
  background:transparent;
}
.v5-industries .kx-industry-tools img{width:auto;max-width:98px;max-height:30px}
.v5-industries .kx-industry-tools b{color:#4f5560;font-size:12px;font-weight:680;white-space:nowrap}
@keyframes industryToolsLoop{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* Neo foundation system */
.v5-industries .kx-foundation-section{padding:0!important;color:#fff;background:#111318}
.v5-industries .kx-foundation-panel{
  overflow:hidden;
  width:100%;
  padding:78px 0 64px;
  border:0;
  border-radius:0;
  background:
    radial-gradient(circle at 50% 66%,rgba(66,91,255,.25),transparent 23%),
    radial-gradient(circle at 56% 66%,rgba(239,79,136,.17),transparent 27%),
    linear-gradient(145deg,#15171c,#101216);
  box-shadow:none;
}
.v5-industries .kx-foundation-panel .kx-section-head{margin-bottom:20px}
.v5-industries .kx-foundation-panel .kx-section-head h2{
  max-width:none;
  margin:13px auto 10px;
  color:#fff;
  font-size:clamp(36px,3.45vw,46px);
  line-height:1.06;
  letter-spacing:-.046em;
  white-space:nowrap;
}
.v5-industries .kx-foundation-panel .kx-section-head p{max-width:690px;color:#aeb4c0;font-size:14px}
.v5-industries .kx-foundation-panel .kx-eyebrow{color:#9299a7}
.v5-industries .kx-foundation-system{position:relative;height:480px;max-width:1180px;margin:0 auto}
.v5-industries .kx-foundation-routes{position:absolute;inset:0;z-index:1;width:100%;height:100%;overflow:visible}
.v5-industries .kx-foundation-routes path{
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:5 8;
}
.v5-industries .kx-foundation-routes path.blue{stroke:#547cff;fill:none}
.v5-industries .kx-foundation-routes path.pink{stroke:#ed5f98;fill:none}
.v5-industries .kx-foundation-routes circle.blue{stroke:none;fill:#547cff}
.v5-industries .kx-foundation-routes circle.pink{stroke:none;fill:#ed5f98}
.v5-industries .kx-foundation-card{
  position:absolute;
  z-index:2;
  width:310px;
  height:96px;
  min-height:96px;
  display:grid;
  grid-template-columns:46px 1fr;
  align-items:start;
  gap:15px;
  padding:17px 19px;
  border:1px solid #353943;
  border-radius:17px;
  background:linear-gradient(145deg,rgba(35,38,45,.98),rgba(25,27,33,.98));
  box-shadow:0 20px 45px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.03);
}
.v5-industries .kx-foundation-card>i{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:10px;
  border:1px solid rgba(90,126,255,.25);
  border-radius:13px;
  color:#7ca0ff;
  background:#1f2944;
}
.v5-industries .kx-foundation-dispatch>i,.v5-industries .kx-foundation-follow>i,.v5-industries .kx-foundation-track>i{border-color:rgba(239,93,151,.24);color:#f079a5;background:#3a2330}
.v5-industries .kx-foundation-card b,.v5-industries .kx-foundation-card small{display:block}
.v5-industries .kx-foundation-card b{font-size:14px;line-height:1.25}
.v5-industries .kx-foundation-card small{margin-top:6px;color:#adb2bc;font-size:10px;line-height:1.45}
.v5-industries .kx-foundation-capture{left:0;top:70px}
.v5-industries .kx-foundation-route{left:0;top:192px}
.v5-industries .kx-foundation-schedule{left:0;top:314px}
.v5-industries .kx-foundation-dispatch{right:0;top:70px}
.v5-industries .kx-foundation-follow{right:0;top:192px}
.v5-industries .kx-foundation-track{right:0;top:314px}
.v5-industries .kx-foundation-neo{
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
  width:170px;
  height:170px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.9);
  border-radius:28px;
  background:linear-gradient(145deg,#fff,#eef2ff);
  box-shadow:0 0 0 9px rgba(255,255,255,.04),0 0 72px rgba(91,78,255,.58);
}
.v5-industries .kx-foundation-neo strong{
  margin:0;
  color:#315cff;
  font-size:58px;
  font-weight:610;
  line-height:1;
  letter-spacing:-.065em;
}

/* Request-to-result routing */
.v5-industries .kx-request-route{
  max-width:1020px;
  grid-template-columns:minmax(410px,1fr) 220px minmax(290px,.72fr);
  gap:0;
  align-items:center;
}
.v5-industries .kx-request-card{
  position:relative;
  z-index:2;
  min-height:510px;
  padding:30px;
  border-color:#d9deea;
  border-radius:23px;
  background:linear-gradient(180deg,#fff,#fff 76%,#fbfcff);
  box-shadow:0 34px 88px rgba(47,61,126,.16),0 0 48px rgba(225,78,156,.08);
}
.v5-industries .kx-request-card::before{display:none}
.v5-industries .kx-request-card header{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #e8eaf0}
.v5-industries .kx-request-card header>span{display:flex;align-items:center;gap:10px;padding:0;background:none;color:#1d2027;font-size:12px}
.v5-industries .kx-request-card header i{width:37px;height:37px;display:grid;place-items:center;padding:9px;border-radius:11px;color:#356cff;background:#edf3ff}
.v5-industries .kx-request-card header time{color:#9298a3;font-size:9px;font-weight:700}
.v5-industries .kx-request-card h3{margin:24px 0 9px;font-size:25px;line-height:1.25;letter-spacing:-.026em}
.v5-industries .kx-request-location{margin:0 0 20px!important;color:#747b87!important;font-size:11px!important}
.v5-industries .kx-request-card .kx-request-details{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.v5-industries .kx-request-card .kx-request-details span{min-height:58px;padding:11px 12px;border:1px solid #e6e8ed;border-radius:11px;background:#fafbfc}
.v5-industries .kx-request-details small{display:block;color:#9a9fa8;font-size:7px;font-weight:820;letter-spacing:.08em;text-transform:uppercase}
.v5-industries .kx-request-details b{display:block;margin-top:5px;color:#24272e;font-size:11px}
.v5-industries .kx-request-details .kx-high{color:#d85143}
.v5-industries .kx-request-card hr{margin:22px 0 19px}
.v5-industries .kx-request-card>small{color:#8b909a;font-size:8px;font-weight:820;letter-spacing:.08em;text-transform:uppercase}
.v5-industries .kx-request-card h4{margin:9px 0 13px;font-size:21px;line-height:1.28;letter-spacing:-.025em}
.v5-industries .kx-request-card ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;color:#5f6671;font-size:10px}
.v5-industries .kx-request-card li::before{content:"✓";margin-right:8px;color:#25a776;font-weight:800}
.v5-industries .kx-request-card footer{display:flex;align-items:center;gap:8px;margin-top:19px;padding-top:15px;border-top:1px solid #e7e9ee;color:#69717f;font-size:9px}
.v5-industries .kx-request-card footer i{width:18px;height:18px;color:#356cff}
.v5-industries .kx-outcome-routes{width:100%;height:390px;overflow:visible}
.v5-industries .kx-outcome-routes path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4 7}
.v5-industries .kx-outcome-routes path.route-blue{stroke:#5580f2;fill:none}
.v5-industries .kx-outcome-routes path.route-violet{stroke:#8267e9;fill:none}
.v5-industries .kx-outcome-routes path.route-green{stroke:#42ae82;fill:none}
.v5-industries .kx-outcome-routes circle.route-blue{stroke:none;fill:#5580f2}
.v5-industries .kx-outcome-routes circle.route-violet{stroke:none;fill:#8267e9}
.v5-industries .kx-outcome-routes circle.route-green{stroke:none;fill:#42ae82}
.v5-industries .kx-request-route .kx-outcome-stack{height:390px;align-content:space-between;gap:0}
.v5-industries .kx-request-route .kx-outcome-stack article{
  min-height:98px;
  grid-template-columns:54px 1fr;
  gap:15px;
  padding:18px;
  border-radius:17px;
  box-shadow:0 17px 44px rgba(36,45,86,.09);
}
.v5-industries .kx-request-route .kx-outcome-stack article>i{
  width:50px;
  height:50px;
  padding:12px;
  border:1px solid color-mix(in srgb,currentColor 26%,transparent);
  background:var(--tone-bg);
}
.v5-industries .kx-request-route .kx-outcome-stack b{font-size:14px;line-height:1.3}
.v5-industries .kx-request-route .kx-outcome-stack small{margin-top:5px;color:#727986;font-size:10px;line-height:1.4}
.v5-industries .kx-request-route .kx-outcome-stack em{display:inline-flex;margin-top:8px;padding:5px 8px;font-size:8px;font-weight:730}

@media(max-width:1050px){
  .v5-industries .kx-industry-hero-grid-v5{grid-template-columns:minmax(0,.95fr) minmax(450px,1.05fr);gap:34px}
  .v5-industries .kx-industry-hero-copy h1{font-size:clamp(44px,5.2vw,53px)}
  .v5-industries .kx-industry-collage-v5{min-height:500px}
  .v5-industries .kx-foundation-panel .kx-section-head h2{white-space:normal}
  .v5-industries .kx-foundation-system{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:190px}
  .v5-industries .kx-foundation-routes{display:none}
  .v5-industries .kx-foundation-card{position:relative!important;inset:auto!important;width:100%;height:auto}
  .v5-industries .kx-foundation-neo{top:88px}
  .v5-industries .kx-request-route{grid-template-columns:minmax(390px,1fr) 110px minmax(270px,.8fr)}
  .v5-industries .kx-outcome-routes{height:390px}
}

@media(max-width:780px){
  .v5-industries .kx-industry-hero{min-height:auto;padding:72px 0}
  .v5-industries .kx-industry-hero-grid-v5{min-height:0;grid-template-columns:1fr;gap:42px}
  .v5-industries .kx-industry-hero-copy{text-align:center}
  .v5-industries .kx-industry-hero-copy h1{max-width:610px;margin-inline:auto;font-size:clamp(38px,10.6vw,54px)}
  .v5-industries .kx-industry-hero-copy>p{margin-inline:auto;font-size:14px}
  .v5-industries .kx-industry-hero .kx-actions{justify-content:center}
  .v5-industries .kx-industry-collage-v5{min-height:500px}
  .v5-industries .kx-industry-tools .kx-tool-set{gap:58px;padding-right:58px}
  .v5-industries .kx-foundation-section{padding:72px 0!important}
  .v5-industries .kx-foundation-panel{padding:58px 0 38px;border-radius:0}
  .v5-industries .kx-foundation-system{grid-template-columns:1fr;padding-top:180px}
  .v5-industries .kx-foundation-neo{top:80px;width:158px;height:158px}
  .v5-industries .kx-foundation-neo strong{font-size:44px}
  .v5-industries .kx-request-route{display:grid;grid-template-columns:1fr;gap:20px}
  .v5-industries .kx-request-card{min-height:auto;padding:24px}
  .v5-industries .kx-outcome-routes{display:none}
  .v5-industries .kx-request-route .kx-outcome-stack{gap:14px}
}

@media(max-width:500px){
  .v5-industries .kx-industry-collage-v5{min-height:420px}
  .v5-industries .kx-collage-hvac-v5{top:72px;height:185px}
  .v5-industries .kx-collage-plumbing-v5{height:145px}
  .v5-industries .kx-collage-roofing-v5{height:150px}
  .v5-industries .kx-collage-moving-v5{height:130px}
  .v5-industries .kx-collage-medspa-v5{top:174px;height:160px}
  .v5-industries .kx-request-card .kx-request-details{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .v5-industries .kx-industry-tools .kx-ticker-track{animation-play-state:paused}
}
