/* SERVICES-02 — Nex8 public catalog / detail dialogs. Scope is this page only. */
.nex8-public-v2 .nex8-services-page{color:#102338}
.nex8-public-v2 .nex8-services-page .services-kicker{
  color:#087da9;letter-spacing:.16em;font-size:.7rem;font-weight:800;
}
.nex8-public-v2 .nex8-services-page .services-hero{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(280px,.84fr);
  align-items:center;
  gap:clamp(28px,5vw,76px);
  padding:58px 0 56px;
}
.nex8-public-v2 .nex8-services-page .services-hero-copy{min-width:0}
.nex8-public-v2 .nex8-services-page .services-hero h1{
  max-width:790px;margin:16px 0 0;
  color:#10263b;
  font-size:clamp(2.45rem,4.8vw,4.75rem);
  line-height:1.06;letter-spacing:-.055em;
  text-wrap:balance;
}
.nex8-public-v2 .nex8-services-page .services-hero h1 em{
  font-style:normal;color:#067eb3;
}
.nex8-public-v2 .nex8-services-page .services-hero-copy>p{
  max-width:630px;margin:20px 0 0;color:#566e80;
  font-size:clamp(.97rem,1.18vw,1.08rem);
  line-height:1.7;text-wrap:pretty;
}
.nex8-public-v2 .nex8-services-page .services-hero-actions{
  display:flex;flex-wrap:wrap;gap:11px;margin-top:27px;
}
.nex8-public-v2 .nex8-services-page .services-hero-actions .home-button{
  min-height:49px;padding:12px 18px;display:inline-flex;
  justify-content:center;align-items:center;gap:12px;border-radius:12px;
  font-size:.88rem;font-weight:750;text-decoration:none;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel{
  position:relative;isolation:isolate;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:space-between;
  min-width:0;min-height:330px;padding:30px;
  border:1px solid #235772;border-radius:23px;
  background:radial-gradient(circle at 100% 5%,#067ca455,transparent 60%),
             linear-gradient(145deg,#08273e,#091e31 75%);
  box-shadow:0 20px 42px #092e4521;color:#fff;overflow:hidden;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel::after{
  content:"";position:absolute;z-index:-1;
  width:230px;height:230px;border:1px solid #72c5ee34;
  border-radius:50%;right:-90px;bottom:-95px;pointer-events:none;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel-topline{
  color:#98d5ef;font-size:.65rem;line-height:1.5;letter-spacing:.17em;font-weight:800;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel-icon{
  width:49px;height:49px;flex:none;padding:13px;border-radius:13px;
  color:#fff;background:linear-gradient(145deg,#038fd2,#0870b2);
}
.nex8-public-v2 .nex8-services-page .services-hero-panel strong{
  display:block;max-width:380px;margin-top:13px;
  color:#fff;font-size:clamp(1.19rem,1.75vw,1.5rem);
  font-weight:750;line-height:1.27;letter-spacing:-.025em;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel p{
  max-width:390px;margin:10px 0 0;
  color:#bdd5e3;font-size:.86rem;line-height:1.64;
}
.nex8-public-v2 .nex8-services-page .services-hero-panel-rule{
  display:block;width:44px;height:3px;margin-top:16px;
  background:#f47d27;border-radius:20px;
}
.nex8-public-v2 .nex8-services-page .services-section{
  padding:43px 0 13px;
  border-top:1px solid #e1eaf0;
  scroll-margin-top:105px;
}
.nex8-public-v2 .nex8-services-page .services-section-heading{
  align-items:end;gap:18px;margin-bottom:24px;
}
.nex8-public-v2 .nex8-services-page .services-section-heading h2{
  margin:11px 0 0;color:#10263b;
  font-size:clamp(1.85rem,3.1vw,2.9rem);line-height:1.15;letter-spacing:-.046em;
}
.nex8-public-v2 .nex8-services-page .services-section-heading p{
  max-width:620px;margin:11px 0 0;color:#647a8b;
  font-size:.96rem;line-height:1.65;
}
.nex8-public-v2 .nex8-services-page .services-count{
  border:1px solid #d5e4ee;background:#f8fbfd;color:#35647e;
  font-size:.74rem;white-space:nowrap;
}
.nex8-public-v2 .nex8-services-page .services-grid-pro{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;
}
.nex8-public-v2 .nex8-services-page .service-card-pro{
  position:relative;display:flex;flex-direction:column;
  min-width:0;border:1px solid #dae6ef;border-radius:19px;
  background:#fff;overflow:hidden;box-shadow:0 12px 29px #102d4210;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.nex8-public-v2 .nex8-services-page .service-card-pro:hover,
.nex8-public-v2 .nex8-services-page .service-card-pro:focus-within{
  border-color:#85b5cf;box-shadow:0 17px 34px #0c3f5e22;
  transform:translateY(-2px);
}
.nex8-public-v2 .nex8-services-page .service-card-pro:focus-within{
  outline:2px solid #027db7;outline-offset:2px;
}
.nex8-public-v2 .nex8-services-page .service-card-media{
  position:relative;isolation:isolate;height:clamp(205px,22vw,275px);overflow:hidden;
  background:linear-gradient(135deg,#08253c,#0e517d);
}
.nex8-public-v2 .nex8-services-page .service-card-media::after{
  z-index:2;background:linear-gradient(180deg,transparent 60%,#0619285b);
}
.nex8-public-v2 .nex8-services-page .service-card-media img{
  position:relative;z-index:1;display:block;
  width:100%;height:100%;object-fit:cover;
}
.nex8-public-v2 .nex8-services-page .service-card-fallback{
  position:absolute;inset:0;z-index:0;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:5px;width:100%;height:100%;
  background:radial-gradient(circle at 72% 20%,#138bc47b,transparent 45%),
             linear-gradient(145deg,#071f36,#0a4770);
}
.nex8-public-v2 .nex8-services-page .service-card-media.is-media-missing{
  background:#0b304e;display:block;
}
.nex8-public-v2 .nex8-services-page .service-card-media.is-media-missing::before{
  content:none!important;
}
.nex8-public-v2 .nex8-services-page .service-card-fallback-mark{
  display:block;color:#fff;font-size:clamp(3.8rem,6.5vw,6rem);
  line-height:1;font-weight:900;letter-spacing:-.13em;
  text-shadow:0 10px 24px #06182788;
}
.nex8-public-v2 .nex8-services-page .service-card-fallback-caption{
  display:block;color:#b5d5e6;font-size:.65rem;letter-spacing:.19em;font-weight:800;
}
.nex8-public-v2 .nex8-services-page .service-card-index{
  top:14px;right:14px;min-width:40px;height:40px;
  border-radius:11px;background:#071f36c9;z-index:3;
}
.nex8-public-v2 .nex8-services-page .nex8-service-demo-badge{
  position:absolute;left:14px;bottom:14px;z-index:3;
  padding:7px 10px;border:1px solid #ffffff55;border-radius:30px;
  background:#081e32bd;color:#fff;font-size:.66rem;font-weight:800;letter-spacing:.08em;
}
.nex8-public-v2 .nex8-services-page .service-card-body{
  min-height:0;flex:1;padding:23px 24px 22px;
  display:flex;flex-direction:column;
}
.nex8-public-v2 .nex8-services-page .nex8-service-card-eyebrow{
  display:block;margin-bottom:9px;color:#067da9;font-size:.68rem;
  letter-spacing:.13em;font-weight:820;
}
.nex8-public-v2 .nex8-services-page .service-card-body h3{
  margin:0;color:#122b40;font-size:clamp(1.22rem,1.55vw,1.5rem);
  line-height:1.26;letter-spacing:-.027em;text-wrap:balance;
}
.nex8-public-v2 .nex8-services-page .service-card-summary{
  margin:11px 0 0;color:#60778a;font-size:.9rem;line-height:1.56;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;
}
.nex8-public-v2 .nex8-services-page .nex8-service-demo-note{
  margin:12px 0 0;color:#7a6475;font-size:.74rem;line-height:1.4;
}
.nex8-public-v2 .nex8-services-page .service-card-footer{
  margin-top:auto;padding-top:18px;
}
.nex8-public-v2 .nex8-services-page .service-card-contact{
  display:inline-flex;align-items:center;gap:9px;
  padding:2px 0;border:0;background:transparent;
  color:#0a7dab;font-family:inherit;font-size:.85rem;font-weight:800;
  cursor:pointer;text-decoration:none;
}
.nex8-public-v2 .nex8-services-page .service-card-contact::after{
  content:"";position:absolute;inset:0;z-index:4;cursor:pointer;
}
.nex8-public-v2 .nex8-services-page .service-card-contact span{
  color:#ea7221;font-size:1.1rem;
}
.nex8-public-v2 .nex8-services-page .services-cta{
  margin-top:54px;padding:33px 37px;border-radius:21px;
  background:radial-gradient(circle at 94% 2%,#1788bc55,transparent 50%),
             linear-gradient(145deg,#082b45,#071d31);
}
.nex8-public-v2 .nex8-services-page .services-cta h2{color:#fff}
.nex8-public-v2 .nex8-services-page .services-cta p{color:#c4d7e3}
.nex8-public-v2 .nex8-services-page .services-cta .home-button-primary{
  background:#f47720;color:#fff;
  border-color:#f47720;box-shadow:0 8px 20px #f477202c;
}
.nex8-public-v2 .nex8-services-page .services-empty h3{
  margin:0;font-size:1.15rem;color:#14324a;
}
/* Full details are real HTML, not text snippets copied into JS attributes. */
.nex8-public-v2 .nex8-service-dialog{
  position:fixed;
  box-sizing:border-box;
  width:min(940px,calc(100vw - 36px));
  max-width:940px;max-height:min(90dvh,900px);
  margin:auto;padding:0;border:1px solid #d0dfea;
  border-radius:22px;overflow:auto;
  background:#fff;color:#142c41;
  box-shadow:0 28px 80px #0005;
}
.nex8-public-v2 .nex8-service-dialog::backdrop{
  background:#041a2edb;backdrop-filter:blur(6px);
}
.nex8-public-v2 .nex8-service-dialog-shell{position:relative}
.nex8-public-v2 .nex8-service-dialog-close{
  position:sticky;top:14px;z-index:10;float:right;
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;margin:14px 14px -56px 0;
  border:1px solid #d3e4ec;border-radius:50%;
  background:#fff;color:#15364b;
  padding:0;box-sizing:border-box;line-height:0;
  cursor:pointer;box-shadow:0 3px 12px #092a4125;
}
.nex8-public-v2 .nex8-service-dialog-close .nex8-dialog-close-icon{
  display:block;width:20px;height:20px;flex:none;pointer-events:none;
}
.nex8-public-v2 .nex8-service-dialog-media{
  position:relative;isolation:isolate;height:clamp(190px,30vh,315px);
  overflow:hidden;background:#0d3c5b;
}
.nex8-public-v2 .nex8-service-dialog-media img{
  position:relative;z-index:1;width:100%;height:100%;object-fit:cover;
}
.nex8-public-v2 .nex8-service-dialog-media .service-card-fallback{
  position:absolute;inset:0;display:flex;flex-direction:column;
  justify-content:center;align-items:center;gap:5px;
  background:radial-gradient(circle at 70% 14%,#1689b982,transparent 50%),
  linear-gradient(145deg,#071d30,#0d4b73);
}
.nex8-public-v2 .nex8-service-dialog-media .service-card-fallback-mark{
  color:#fff;font-size:5rem;font-weight:900;letter-spacing:-.13em;line-height:1;
}
.nex8-public-v2 .nex8-service-dialog-media .service-card-fallback-caption{
  color:#b2d9eb;font-size:.7rem;letter-spacing:.2em;font-weight:800;
}
.nex8-public-v2 .nex8-service-dialog-media.is-media-missing img{display:none}
.nex8-public-v2 .nex8-service-dialog-content{padding:30px clamp(24px,4.5vw,53px) 38px}
.nex8-public-v2 .nex8-service-dialog-content .services-kicker{
  color:#0782b0;font-size:.69rem;letter-spacing:.13em;
}
.nex8-public-v2 .nex8-service-dialog-demo{
  display:inline-block;margin:9px 0 0;padding:6px 10px;
  border-radius:8px;background:#fff2df;color:#a15a14;
  font-size:.73rem;font-weight:800;
}
.nex8-public-v2 .nex8-service-dialog h2{
  margin:10px 0 0;color:#102940;
  font-size:clamp(1.75rem,3.4vw,2.75rem);
  line-height:1.15;letter-spacing:-.04em;text-wrap:balance;
}
.nex8-public-v2 .nex8-service-dialog-lead{
  color:#536b7d;font-size:1.02rem;line-height:1.65;margin:15px 0;
}
.nex8-public-v2 .nex8-service-dialog-description{
  margin-top:23px;padding-top:20px;border-top:1px solid #e2eaf0;
}
.nex8-public-v2 .nex8-service-dialog-description h3{
  margin:0 0 10px;color:#162f42;font-size:1rem;
}
.nex8-public-v2 .nex8-service-dialog-description p{
  margin:0;color:#496174;font-size:.94rem;line-height:1.78;
  white-space:normal;overflow-wrap:anywhere;
}
.nex8-public-v2 .nex8-service-dialog-disclaimer{
  padding:11px 14px;margin:18px 0 0;border-left:3px solid #d88333;
  background:#fff8ec;color:#79502e;font-size:.84rem;line-height:1.5;
}
.nex8-public-v2 .nex8-service-dialog-actions{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  margin-top:24px;padding-top:23px;border-top:1px solid #e2eaf0;
}
.nex8-public-v2 .nex8-service-dialog-actions .home-button{
  display:inline-flex;gap:15px;align-items:center;justify-content:center;
  padding:12px 20px;min-height:47px;border-radius:11px;font-size:.88rem;
}
.nex8-public-v2 .nex8-service-dialog-back{
  border:0;background:none;cursor:pointer;color:#247aa5;
  font-family:inherit;font-size:.87rem;font-weight:750;padding:12px 3px;
}
.nex8-public-v2 .nex8-service-dialog :is(button,a):focus-visible,
.nex8-public-v2 .nex8-services-page :is(a,button):focus-visible{
  outline:3px solid #eb7826;outline-offset:3px;
}
body.nex8-service-dialog-open{overflow:hidden}
@media(max-width:980px){
  .nex8-public-v2 .nex8-services-page .services-hero{
    grid-template-columns:minmax(0,1fr);gap:24px;padding:36px 0 43px;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-panel{
    min-height:0;padding:23px;gap:10px;
  }
  .nex8-public-v2 .nex8-services-page .services-grid-pro{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px){
  .nex8-public-v2 .nex8-services-page .services-hero{
    gap:21px;padding:30px 0 35px;
  }
  .nex8-public-v2 .nex8-services-page .services-hero h1{
    margin-top:11px;font-size:clamp(2.06rem,8.5vw,3rem);
    line-height:1.1;letter-spacing:-.046em;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-copy>p{
    margin-top:13px;font-size:.93rem;line-height:1.58;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-actions{
    margin-top:19px;gap:9px;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-actions .home-button{
    flex:1 1 auto;min-height:46px;padding:10px 12px;font-size:.78rem;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-panel{
    padding:19px;border-radius:16px;gap:8px;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-panel-topline{font-size:.59rem}
  .nex8-public-v2 .nex8-services-page .services-hero-panel strong{
    margin-top:3px;font-size:1.14rem;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-panel p{
    margin-top:3px;font-size:.79rem;line-height:1.5;
  }
  .nex8-public-v2 .nex8-services-page .services-hero-panel-icon{
    width:42px;height:42px;padding:10px;
  }
  .nex8-public-v2 .nex8-services-page .services-section{padding-top:29px;scroll-margin-top:87px}
  .nex8-public-v2 .nex8-services-page .services-section-heading{
    align-items:flex-start;gap:13px;margin-bottom:18px;
  }
  .nex8-public-v2 .nex8-services-page .services-section-heading h2{
    font-size:clamp(1.65rem,6.5vw,2.25rem);margin-top:9px;
  }
  .nex8-public-v2 .nex8-services-page .services-section-heading p{
    font-size:.88rem;line-height:1.55;
  }
  .nex8-public-v2 .nex8-services-page .services-grid-pro{
    grid-template-columns:minmax(0,1fr);gap:15px;
  }
  .nex8-public-v2 .nex8-services-page .service-card-media{
    height:clamp(185px,52vw,235px);
  }
  .nex8-public-v2 .nex8-services-page .service-card-body{
    padding:19px 20px 20px;
  }
  .nex8-public-v2 .nex8-services-page .service-card-body h3{
    font-size:1.22rem;
  }
  .nex8-public-v2 .nex8-services-page .service-card-summary{
    font-size:.87rem;line-height:1.5;
    -webkit-line-clamp:2;
  }
  .nex8-public-v2 .nex8-services-page .services-cta{
    flex-direction:column;align-items:stretch;gap:17px;
    padding:25px 21px;margin-top:39px;
  }
  .nex8-public-v2 .nex8-services-page .services-cta .home-button{
    width:100%;display:flex;justify-content:center;
  }
  .nex8-public-v2 .nex8-service-dialog{
    width:100vw;max-width:none;height:100dvh;max-height:100dvh;
    margin:0;padding:0;border:0;border-radius:0;
  }
  .nex8-public-v2 .nex8-service-dialog-media{height:230px}
  .nex8-public-v2 .nex8-service-dialog-content{padding:22px 22px 36px}
  .nex8-public-v2 .nex8-service-dialog h2{font-size:1.85rem}
  .nex8-public-v2 .nex8-service-dialog-lead{font-size:.94rem}
  .nex8-public-v2 .nex8-service-dialog-actions{flex-direction:column;align-items:stretch}
  .nex8-public-v2 .nex8-service-dialog-actions .home-button{width:100%}
  .nex8-public-v2 .nex8-service-dialog-close{top:10px;margin:11px 11px -53px 0}
}
@media(max-width:370px){
  .nex8-public-v2 .nex8-services-page .services-hero-actions .home-button{
    flex-basis:100%;
  }
  .nex8-public-v2 .nex8-service-dialog-content{padding:20px 17px 30px}
}
@media(prefers-reduced-motion:reduce){
  .nex8-public-v2 .nex8-services-page .service-card-pro,
  .nex8-public-v2 .nex8-services-page .service-card-media img{transition:none}
}

/* SERVICES-CAT-01: category filters share Portfolio interaction and palette. */
.nex8-public-v2 .nex8-services-page .nex8-services-filters{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px 10px;
  margin:0 0 24px;
}
.nex8-public-v2 .nex8-services-page .nex8-services-filter{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:42px;padding:9px 16px;
  border:1px solid #d4e3ed;border-radius:999px;
  background:#fff;color:#365a70;
  text-decoration:none;font-size:.84rem;font-weight:750;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.nex8-public-v2 .nex8-services-page .nex8-services-filter span{
  padding:2px 7px;border-radius:999px;
  background:#eaf4fa;color:inherit;font-size:.7rem;
}
.nex8-public-v2 .nex8-services-page .nex8-services-filter:hover{
  background:#eef8fd;border-color:#82b9d5;color:#086b9d;
}
.nex8-public-v2 .nex8-services-page .nex8-services-filter.is-active{
  border-color:#0b3855;background:#0b3855;color:#fff;
}
.nex8-public-v2 .nex8-services-page .nex8-services-filter.is-active span{
  background:#ffffff24;color:#fff;
}
@media(max-width:720px){
  .nex8-public-v2 .nex8-services-page .nex8-services-filters{
    flex-wrap:nowrap;overflow-x:auto;
    gap:8px;margin:0 -2px 19px;padding:2px 2px 10px;
    scrollbar-width:thin;scrollbar-color:#bed4e0 transparent;
    scroll-snap-type:x proximity;
  }
  .nex8-public-v2 .nex8-services-page .nex8-services-filter{
    flex:none;white-space:nowrap;
    min-height:40px;padding:8px 13px;font-size:.8rem;
    scroll-snap-align:start;
  }
}

/* Service cards/details: optional user-selected benefits and imported icons. */
.nex8-public-v2 .nex8-service-benefit-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:12px;margin:16px 0 20px;max-width:100%}
.nex8-public-v2 .nex8-service-benefit-item{min-width:0;display:flex;align-items:center;flex-direction:column;text-align:center;gap:7px;font-size:.79rem;line-height:1.3;color:inherit;overflow-wrap:anywhere}
.nex8-public-v2 .nex8-service-benefit-icon{display:grid;place-items:center;width:32px;height:32px;color:#007fbb;flex:none}
.nex8-public-v2 .nex8-benefit-icon-svg,.nex8-public-v2 .nex8-benefit-icon-image{display:block;width:30px;height:30px;object-fit:contain;max-width:100%}
.nex8-public-v2 .nex8-service-benefit-list--detail{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));padding:14px 0;border-top:1px solid #dbe4e9;border-bottom:1px solid #dbe4e9}
@media(max-width:480px){.nex8-public-v2 .nex8-service-benefit-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
