
/* =========================================================
   AI & OPERATIONS AUTOMATION
   Standard Prosoft USA service-page design
   Scoped to prevent changes to the common header/footer.
   ========================================================= */

.ai-ops-page{
  --ai-navy:var(--navy-900,#101735);
  --ai-navy-2:var(--navy-800,#17204a);
  --ai-white:var(--white,#fff);
  --ai-ink:var(--black,#111);
  --ai-steel:var(--steel,#59617a);
  --ai-line:var(--border,#dfe3ec);
  --ai-mist:var(--navy-050,#f4f6fa);
  background:var(--ai-white);
  color:var(--ai-ink);
}

/* Breadcrumb */
.ai-ops-page .crumbs{
  max-width:var(--max,1200px);
  margin:0 auto;
  padding:16px 40px;
  color:var(--ai-steel);
  font-size:13px;
}
.ai-ops-page .crumbs a{
  color:var(--ai-steel);
  text-decoration:none;
}
.ai-ops-page .crumbs a:hover{color:var(--navy);}

/* Hero */
.ai-ops-page .hero{
  position:relative;
  overflow:hidden;
  background:var(--ai-navy);
  color:var(--ai-white);
  padding:105px 0 72px;
}
.ai-ops-page .hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(var(--border-dark,#293157) 1px,transparent 1px),
    linear-gradient(90deg,var(--border-dark,#293157) 1px,transparent 1px);
  background-size:64px 64px;
  opacity:.48;
  pointer-events:none;
}
.ai-ops-page .hero > .w{
  position:relative;
  max-width:var(--max,1200px);
  margin:0 auto;
  padding:0 40px;
}
.ai-ops-page .hero h1{
  max-width:15ch;
  margin:0;
  color:#fff;
  font-family:var(--font-head,inherit);
  font-size:clamp(38px,4.8vw,58px);
  line-height:1.04;
  letter-spacing:-.025em;
  font-weight:700;
}
.ai-ops-page .hero p{
  max-width:58ch;
  margin:24px 0 32px;
  color:var(--navy-100,#d9deef);
  font-size:18px;
  line-height:1.7;
}
.ai-ops-page .hero .btn{
  border:1.5px solid transparent;
  background:#fff;
  color:var(--black,#111);
}
.ai-ops-page .hero .btn:hover{
  background:var(--navy-100,#d9deef);
  color:var(--black,#111);
}

/* Stats */
.ai-ops-page .stats{
  background:var(--ai-mist);
  border-bottom:1px solid var(--ai-line);
}
.ai-ops-page .stats .w{
  max-width:var(--max,1200px);
  margin:0 auto;
  padding:0 40px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.ai-ops-page .stat{
  min-height:130px;
  padding:28px 22px;
  border-left:1px solid var(--ai-line);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.ai-ops-page .stat:first-child{
  border-left:0;
  padding-left:0;
}
.ai-ops-page .stat b{
  color:var(--ai-ink);
  font-family:var(--font-head,inherit);
  font-size:15px;
  font-weight:700;
}
.ai-ops-page .stat span{
  margin-top:7px;
  color:var(--ai-steel);
  font-size:13px;
  line-height:1.55;
}

/* Sections */
.ai-ops-page > section{
  padding:92px 0;
  position:relative;
}
.ai-ops-page > section:nth-of-type(even){
  background:var(--ai-mist);
}
.ai-ops-page > section > .w{
  max-width:var(--max,1200px);
  margin:0 auto;
  padding:0 40px;
}
.ai-ops-page h2{
  max-width:760px;
  margin:0;
  color:var(--ai-ink);
  font-family:var(--font-head,inherit);
  font-size:clamp(30px,3.3vw,42px);
  line-height:1.12;
  letter-spacing:-.025em;
}
.ai-ops-page .lede{
  max-width:680px;
  margin:18px 0 44px;
  color:var(--ai-steel);
  font-size:16px;
  line-height:1.75;
}

/* Cards */
.ai-ops-page .cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.ai-ops-page .cards.two{
  grid-template-columns:repeat(2,1fr);
}
.ai-ops-page .card{
  background:#fff;
  border:1px solid var(--ai-line);
  border-radius:var(--radius-md,14px);
  padding:30px;
  box-shadow:none;
}
.ai-ops-page .card h3{
  margin:0 0 10px;
  color:var(--ai-ink);
  font-family:var(--font-head,inherit);
  font-size:19px;
  line-height:1.25;
}
.ai-ops-page .card p{
  margin:0;
  color:var(--ai-steel);
  font-size:14.5px;
  line-height:1.7;
}

/* Six-grid */
.ai-ops-page .grid6{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--ai-line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.ai-ops-page .grid6 > div{
  padding:26px;
  border-right:1px solid var(--ai-line);
  border-bottom:1px solid var(--ai-line);
}
.ai-ops-page .grid6 > div:nth-child(3n){border-right:0;}
.ai-ops-page .grid6 > div:nth-last-child(-n+3){border-bottom:0;}
.ai-ops-page .grid6 h3{
  margin:0 0 8px;
  color:var(--ai-ink);
  font-family:var(--font-head,inherit);
  font-size:16px;
}
.ai-ops-page .grid6 p{
  margin:0;
  color:var(--ai-steel);
  font-size:14px;
  line-height:1.65;
}

/* Steps */
.ai-ops-page .steps{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:ai-step;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.ai-ops-page .steps li{
  list-style:none;
  counter-increment:ai-step;
  border-top:3px solid var(--navy);
  padding:18px 18px 0 0;
}
.ai-ops-page .steps li::before{
  content:counter(ai-step,decimal-leading-zero);
  display:block;
  margin-bottom:12px;
  color:var(--navy);
  font-family:var(--font-head,inherit);
  font-size:32px;
  font-weight:700;
}
.ai-ops-page .steps h3{
  margin:0 0 7px;
  color:var(--ai-ink);
  font-size:17px;
}
.ai-ops-page .steps p{
  margin:0;
  color:var(--ai-steel);
  font-size:14px;
  line-height:1.65;
}

/* Marquee */
.ai-ops-page .marq{
  overflow:hidden;
  border-block:1px solid var(--ai-line);
  padding:22px 0;
}
.ai-ops-page .track{
  display:flex;
  gap:56px;
  width:max-content;
  animation:aiMarquee 38s linear infinite;
}
.ai-ops-page .marq:hover .track{animation-play-state:paused;}
.ai-ops-page .tech{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ai-ink);
  font-weight:700;
  white-space:nowrap;
}
@keyframes aiMarquee{to{transform:translateX(-50%);}}

/* CTA */
.ai-ops-page .cta{
  background:var(--ai-navy);
  color:#fff;
  text-align:center;
  padding:78px 0;
}
.ai-ops-page .cta h2{
  max-width:700px;
  margin:0 auto 16px;
  color:#fff;
}
.ai-ops-page .cta p{
  max-width:650px;
  margin:0 auto 28px;
  color:var(--navy-100,#d9deef);
  line-height:1.7;
}

/* FAQ */
.ai-ops-page .faq{
  max-width:820px;
}
.ai-ops-page details{
  border-bottom:1px solid var(--ai-line);
  padding:20px 0;
}
.ai-ops-page summary{
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--ai-ink);
  font-weight:700;
  font-size:16px;
  list-style:none;
}
.ai-ops-page summary::-webkit-details-marker{display:none;}
.ai-ops-page summary::after{
  content:"+";
  color:var(--navy);
  font-size:22px;
  line-height:1;
}
.ai-ops-page details[open] summary::after{content:"−";}
.ai-ops-page details p{
  margin:12px 0 0;
  color:var(--ai-steel);
  line-height:1.7;
}

/* Small utility blocks */
.ai-ops-page .note{
  color:var(--ai-steel);
  font-size:13px;
}
.ai-ops-page .q{
  flex:0 0 340px;
  background:#fff;
  border:1px solid var(--ai-line);
  border-radius:14px;
  padding:24px;
}
.ai-ops-page .q p{color:var(--ai-steel);}

/* Responsive */
@media(max-width:900px){
  .ai-ops-page .stats .w{grid-template-columns:repeat(2,1fr);}
  .ai-ops-page .stat:nth-child(3){border-left:0;border-top:1px solid var(--ai-line);}
  .ai-ops-page .stat:nth-child(4){border-top:1px solid var(--ai-line);}
  .ai-ops-page .cards{grid-template-columns:1fr;}
  .ai-ops-page .cards.two{grid-template-columns:1fr;}
  .ai-ops-page .grid6{grid-template-columns:repeat(2,1fr);}
  .ai-ops-page .grid6 > div:nth-child(3n){border-right:1px solid var(--ai-line);}
  .ai-ops-page .grid6 > div:nth-child(2n){border-right:0;}
  .ai-ops-page .grid6 > div:nth-last-child(-n+3){border-bottom:1px solid var(--ai-line);}
  .ai-ops-page .grid6 > div:nth-last-child(-n+2){border-bottom:0;}
  .ai-ops-page .steps{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
  .ai-ops-page .crumbs,
  .ai-ops-page .hero > .w,
  .ai-ops-page > section > .w,
  .ai-ops-page .stats .w{padding-left:20px;padding-right:20px;}
  .ai-ops-page .hero{padding:76px 0 60px;}
  .ai-ops-page .stats .w{grid-template-columns:1fr;}
  .ai-ops-page .stat,
  .ai-ops-page .stat:first-child{
    border-left:0;
    border-top:1px solid var(--ai-line);
    padding:22px 0;
  }
  .ai-ops-page .stat:first-child{border-top:0;}
  .ai-ops-page > section{padding:68px 0;}
  .ai-ops-page .grid6{grid-template-columns:1fr;}
  .ai-ops-page .grid6 > div,
  .ai-ops-page .grid6 > div:nth-child(2n),
  .ai-ops-page .grid6 > div:nth-child(3n){
    border-right:0;
    border-bottom:1px solid var(--ai-line);
  }
  .ai-ops-page .grid6 > div:last-child{border-bottom:0;}
  .ai-ops-page .steps{grid-template-columns:1fr;}
}
