

.section-intro--services .section-intro__text a {
  color: var(--color-brand-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-intro--services .section-intro__text a:hover,
.section-intro--services .section-intro__text a:focus-visible {
  color: var(--color-brand-teal-300);
}

/* ---- "What AI integration requires": center the dark section header ---- */
#ai-integration-requires .ls-build__header {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#ai-integration-differentiators h2 span {
  color: var(--accent-orange);
}

#ai-integration-requires .ls-build__header h2 {
  text-align: center;
}

#ai-integration-requires {
  background: var(--color-brand-navy-800);
}

#ai-integration-requires .ls-build__card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---- Engagement models (dark 3-column card) ---- */
#ai-integration-engagement.bf-expertise {
  padding-top: var(--spacing-80);
}

/* ---- Where we work (industry cards) ---- */
.aii-section.section-industries--cards {
  padding: var(--spacing-80) 0;
  background: #ffffff;
}

/* White band needs grey tiles: the shared component draws them on white. */
#aii-where .section-industries__item {
  background: var(--color-brand-mist);
}

.aii-section.section-industries--cards .section-industries__heading span {
  color: var(--color-brand-terracotta);
}

/* Icons follow homepage semantics, not default nth-child order (differs on this page) */
#aii-where .section-industries__item:nth-child(1) .section-industries__icon::before {
  content: "\f19c"; /* bank */
}

#aii-where .section-industries__item:nth-child(2) .section-industries__icon::before {
  content: "\f132"; /* shield — insurance */
}

#aii-where .section-industries__item:nth-child(3) .section-industries__icon::before {
  content: "\f0f8"; /* hospital — life sciences */
}

#aii-where .section-industries__item:nth-child(4) .section-industries__icon::before {
  content: "\e819"; /* fuel — energy */
}

#aii-where .section-industries__item:nth-child(5) .section-industries__icon::before {
  content: "\e82d"; /* team — HR & payroll */
}

#aii-where .section-industries__item:nth-child(6) .section-industries__icon::before {
  content: "\e803"; /* truck — retail & logistics */
}

#aii-where .section-industries__item:nth-child(7) .section-industries__icon::before {
  content: "\e827"; /* world — public sector */
}

.aii-form-cta.ls-section--split {
  padding-top: 0;
}

.aii-form-cta {
  padding: var(--spacing-80) 0;
  background: #fff;
}

.aii-form-cta .ls-section__header {
  margin: 0 auto;
  text-align: center;
}

.aii-form-cta .ls-section__title span {
  color: var(--color-brand-terracotta);
}

@media screen and (max-width: 768px) {
  .aii-differentiators .ls-section__header,
  .aii-form-cta .ls-section__header {
    text-align: left;
  }
}

/* ---- Final CTA: dark block matching the ls-build aesthetic ---- */
.aii-cta {
  padding: var(--spacing-80) 0;
  background: #fff;
}

.aii-cta__inner {
  position: relative;
  overflow: hidden;
  background: var(--color-brand-navy);
  border-radius: 24px;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
}

.aii-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 220px at 50% 100%, rgba(251, 133, 0, 0.34), rgba(251, 133, 0, 0));
  pointer-events: none;
}

.aii-cta__title,
.aii-cta__text,
.aii-cta .btn {
  position: relative;
  z-index: 1;
}

.aii-cta__title {
  margin:0 auto;
  text-align: center;
  margin-bottom: var(--spacing-24);
  font-size: clamp(26px, 20px + 2vw, 40px);
  line-height: 1.25;
  color: var(--white-text);
}

.aii-cta__title span {
  color: var(--accent-orange);
}

.aii-cta__text {
  max-width: 720px;
  margin: 0 auto var(--spacing-32);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.section-faq {
  padding-bottom: var(--spacing-80);
}
/* Space between the heading and "Pilots succeed…" (the split header zeroes
   the title's bottom margin). */
.aii-diff-header .ls-section__lead{
  margin-top: var(--spacing-24);
}

/* Desktop: the accented part starts its own line. */
@media screen and (min-width: 993px) {
  .aii-diff-header .ls-section__title span{
    display: block;
  }
}

.aii-diff-content{
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  align-items: start;
}
.aii-diff-content .btn{
align-self:start;
}
.ls-section__lead--bold{
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
}
.ls-section--stuck{
  background:var(--color-brand-navy-800);
  color: #ffffff;
  padding: var(--spacing-80) 0;
}
.ls-section--stuck .ls-section__header{
  color: #ffffff;
}
.ls-section--stuck .ls-section__title{
  color: #ffffff;
}
.ls-section--stuck .ls-section__lead{
  color: rgba(255, 255, 255, 0.8);
}
.ls-section--stuck .ls-section__lead--bold{
  color: #ffffff;
}
.section-industries--cards .section-industries__item{
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
}
@media screen and (max-width: 767px) {
  .section-industries--cards .section-industries__item{
    display: flex;

  }
}
.section-news{
  padding-bottom: var(--spacing-80);
}

/* "Where we work" is white on this page, so the related-cases block below it
   has no colour change to separate them — give it its own top spacing. */
.section-news.section-projects--related{
  padding-top: var(--spacing-80);
}
.section-industries--cards .section-industries__title{
  min-height: unset;
}
@media screen and (max-width: 767px){
  .section-industries--cards .section-industries__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    }
}
.ls-section__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-16);
}

/* Desktop only: this override sits after the shared 992px breakpoint, so
   leaving it unscoped kept the differentiators header two-column on phones. */
@media screen and (min-width: 993px) {
  .ls-section--split .ls-section__header{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: var(--spacing-80);
  }
}

/* Mobile shows this page's hero as the video poster, not the video (see hero-bg-video.js).
   The poster is a close-up of a charge port whose subject — the glowing red ring — sits well
   right of centre. `object-fit: cover` on a tall phone viewport keeps only about a quarter of
   the image width, so the inherited `center` framed just the blurred white flap and cut the
   port out of shot entirely. 85% brings it back into frame.
   Scoped to this page only: _industry-hero.css sets the same property for all hero pages. */
@media screen and (max-width: 768px) {
  .about-hero .hero-bg-wrapper video.hero-bg--video {
    object-position: 85% center;
  }
}
/* --------------------------------------------------------------------------
   Hero definition — "What is AI integration?" under the hero stats.
   Sits on the hero video, below the gradient that fades to solid navy.
   -------------------------------------------------------------------------- */
.aii-definition {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: var(--spacing-80);
}

.aii-definition__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  max-width: 940px;  
}

.aii-definition__title {
  margin: 0;
  text-align: left;
  color: #ffffff;
}

/* "What is" on the first line, the accented "AI integration?" on its own. */
@media (min-width: 901px) {
  .aii-definition__title span {
    display: block;
  }
}

.aii-definition__text {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 900px) {
  .aii-definition__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-16);
  }
}

/* --------------------------------------------------------------------------
   AI integration audit — four stacked sections plus a green CTA
   (intro, signs, covers, remediation). The signs band goes dark, the rest
   alternate mist and white so each block reads as its own section.
   -------------------------------------------------------------------------- */
section.aii-audit {
  scroll-margin-top: 110px;
}

section.aii-audit--intro,
section.aii-audit--covers {
  background: var(--secondary-bg);
}

section.aii-audit--remediation {
  background: #ffffff;
}

/* Signs — dark band; the list sits on the right as a stack of rows,
   mirroring #who-benefits on the Industrial Master Data & MRO AI page. */
section.aii-audit--signs {
  position: relative;
  isolation: isolate;
  background: var(--color-brand-navy);
  color: var(--white-text);
}

section.aii-audit--signs::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/about-bg.7be2890657ad.svg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 100%;
  z-index: -1;
  pointer-events: none;
}

.aii-audit__signs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.aii-audit--signs .aii-audit__title {
  max-width: 610px;
  margin: 0;
  text-align: left;
  color: var(--white-text);
}

.aii-audit--signs .aii-audit__title span {
  color: var(--accent-orange);
}

/* Desktop: the accented part starts its own line, as in #who-benefits. */
@media (min-width: 981px) {
  .aii-audit--signs .aii-audit__title span {
    display: block;
  }
}

.aii-audit__signs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #0D1326;
  border: 1px solid rgba(7, 145, 143, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.aii-audit__signs-list li {
  padding: var(--spacing-24);
  border-bottom: 1px solid #222222;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.aii-audit__signs-list li:last-child {
  border-bottom: none;
}

.aii-audit__signs-list a {
  color: var(--color-brand-teal-300);
  text-decoration: none;
  transition: color 0.25s ease;
}

.aii-audit__signs-list a:hover,
.aii-audit__signs-list a:focus-visible {
  color: var(--color-brand-teal-200);
}

@media screen and (max-width: 980px) {
  .aii-audit__signs {
    grid-template-columns: 1fr;
    gap: var(--spacing-24);
  }
}

/* One column grid for all three split bands (intro, signs, remediation):
   the heading sits in the 1fr rail, the content in the 1.5fr column. */
.aii-audit__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: 0;
}

.aii-audit__title {
  margin: 0;
}

.aii-audit--intro .aii-audit__title,
.aii-audit--remediation .aii-audit__title {
  text-align: left;
}

.aii-audit--intro .aii-audit__title {
  max-width: 470px;
}

/* Desktop: the accented part starts its own line. */
@media (min-width: 981px) {
  .aii-audit--remediation .aii-audit__title span {
    display: block;
  }
}

.aii-audit__intro {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

.aii-audit__note {
  margin: var(--spacing-8) 0 0;
  padding: var(--spacing-24);
  background: #ffffff;
  border-left: 3px solid var(--color-brand-terracotta-300);
  border-radius: 0 12px 12px 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--primary-text);
}

.aii-audit__note strong {
  color: var(--color-brand-terracotta-500);
}

.aii-audit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.aii-audit__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

.aii-audit__text {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--secondary-text);
}

.aii-audit__text--bold {
  font-weight: var(--font-weight-600);
  color: var(--primary-text);
}

/* Signs checklist — white cards with a terracotta edge. */
.aii-audit__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.aii-audit__checklist li {
  padding: var(--spacing-16) var(--spacing-24);
  background: var(--secondary-bg);
  border-left: 3px solid var(--color-brand-terracotta-300);
  border-radius: 0 10px 10px 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.5;
  color: var(--primary-text);
}

/* "What the audit covers" — shared tab component (about-project-stages),
   styled like #engagement on the Industrial Master Data & MRO AI page:
   hairline rail, muted indices, teal marker on the active row. The layout is
   framed top and bottom, and the panel keeps the same height as the rail. */
#ai-integration-audit-covers .about-project-stages__layout {
  max-width: 1100px;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid rgba(6, 11, 26, 0.12);
  border-bottom: 1px solid rgba(6, 11, 26, 0.12);
}

#ai-integration-audit-covers .about-project-stages__card {
  height: 100%;
  padding: var(--spacing-40);
  background: #ffffff;
  border-radius: 0;
}

/* Desktop rail only — below 900px the component switches to its own
   accordion layout, which must not be overridden by the grid below. */
@media (min-width: 901px) {
  #ai-integration-audit-covers .about-project-stages__nav {
    border-right: 1px solid rgba(6, 11, 26, 0.12);
    border-top: none;
    border-bottom: none;
    border-left: none;
  }

  #ai-integration-audit-covers .about-project-stages__tab {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--spacing-16);
    padding: var(--spacing-24);
    border-bottom: 1px solid rgba(6, 11, 26, 0.08);
    background: transparent;
    font-family: var(--font-body);
    font-size: clamp(15px, 13px + 0.4vw, 17px);
    font-weight: var(--font-weight-500);
    line-height: 1.35;
    letter-spacing: normal;
    color: var(--secondary-text);
  }

  #ai-integration-audit-covers .about-project-stages__tab:last-child {
    border-bottom: none;
  }

  #ai-integration-audit-covers .about-project-stages__tab::before {
    width: 3px;
    background: var(--color-brand-teal);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #ai-integration-audit-covers .about-project-stages__tab:hover {
    color: var(--primary-text);
    background: rgba(7, 145, 143, 0.04);
  }

  #ai-integration-audit-covers .about-project-stages__tab.is-active {
    color: var(--primary-text);
    background: linear-gradient(90deg, rgba(7, 145, 143, 0.1) 0%, rgba(7, 145, 143, 0) 100%);
    box-shadow: none;
  }

  #ai-integration-audit-covers .about-project-stages__tab.is-active::before {
    opacity: 1;
  }
}

#ai-integration-audit-covers .aii-audit__tab-num {
  font-size: 12px;
  font-weight: var(--font-weight-600);
  letter-spacing: 0.08em;
  color: rgba(6, 11, 26, 0.4);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

#ai-integration-audit-covers .about-project-stages__tab:hover .aii-audit__tab-num,
#ai-integration-audit-covers .about-project-stages__tab.is-active .aii-audit__tab-num {
  color: var(--color-brand-teal);
}

#ai-integration-audit-covers .aii-audit__tab-label {
  line-height: 1.35;
}

@media screen and (max-width: 980px) {
  .aii-audit__header,
  .aii-audit__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-24);
  }
}

/* The CTA heading inherits white from the section, but _llm-cta.css loads
   non-blocking: the h2's global `transition: all` animates it from its initial
   dark colour, so it flashes dark on teal on load. Pin it. */
#ai-integration-audit-start .section-cta-transform__title {
  color: #ffffff;
  transition: none;
}

/* --------------------------------------------------------------------------
   Engagement models — four cards now, so 2 × 2 instead of the shared 3-up
   row. Dividers are drawn per cell; the base component draws them on ::after.
   -------------------------------------------------------------------------- */
#ai-integration-engagement .bf-expertise__card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#ai-integration-engagement .bf-expertise__column:not(:last-child)::after {
  display: none;
}

#ai-integration-engagement .bf-expertise__column:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

#ai-integration-engagement .bf-expertise__column:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (max-width: 980px) {
  #ai-integration-engagement .bf-expertise__card {
    grid-template-columns: 1fr;
  }

  #ai-integration-engagement .bf-expertise__column:nth-child(odd) {
    border-right: 0;
  }

  #ai-integration-engagement .bf-expertise__column:nth-child(-n + 2) {
    border-bottom: 0;
  }

  #ai-integration-engagement .bf-expertise__column:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}
