/* AI page: existing service components, with a quieter editorial layout. */
body.page-services-ai-automation .hero {
  padding: 132px 5% 80px;
  background: var(--cs-blue-10);
}

body.page-services-ai-automation .hero-content {
  text-align: left;
  max-width: 560px;
}

body.page-services-ai-automation .hero h1 {
  max-width: 560px;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
}

body.page-services-ai-automation .hero-sub {
  max-width: 520px;
  color: var(--cs-gray-600);
}

body.page-services-ai-automation .hero-sub p + p {
  margin-top: 16px;
}

body.page-services-ai-automation main section[id] {
  scroll-margin-top: 84px;
}

body.page-services-ai-automation main > section:not(.hero) h1,
body.page-services-ai-automation main > section:not(.hero) h2,
body.page-services-ai-automation main > section:not(.hero) h3,
body.page-services-ai-automation main > section:not(.hero) p {
  text-align: center;
}

body.page-services-ai-automation .hero h1,
body.page-services-ai-automation .hero p {
  text-align: left;
}

/* Keep section copy on a consistent centred content width. */
body.page-services-ai-automation .section-label,
body.page-services-ai-automation .section-title,
body.page-services-ai-automation .faq-inner,
body.page-services-ai-automation .cta-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.page-services-ai-automation .hero-btns {
  justify-content: flex-start;
}

body.page-services-ai-automation .cta-btns {
  justify-content: center;
}

body.page-services-ai-automation .ai-licensing {
  justify-items: center;
}

body.page-services-ai-automation .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0;
}

body.page-services-ai-automation .ai-intro {
  display: grid;
  gap: 16px;
  max-width: 1200px;
  margin: 24px auto 48px;
  color: var(--cs-gray-600);
  font-size: 17px;
  line-height: 1.75;
}

body.page-services-ai-automation .ai-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--cs-gray-200);
  border-radius: 16px;
  background: var(--cs-white);
}

body.page-services-ai-automation .ai-card h3 {
  color: var(--cs-navy);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
}

body.page-services-ai-automation .ai-card p {
  color: var(--cs-gray-600);
  font-size: 16px;
  line-height: 1.75;
}

body.page-services-ai-automation .ai-readiness {
  background: var(--cs-gray-50);
}

body.page-services-ai-automation .ai-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-services-ai-automation .ai-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 40px auto 0;
}

body.page-services-ai-automation .ai-split .section-label,
body.page-services-ai-automation .ai-split .section-title {
  text-align: center;
}

body.page-services-ai-automation .ai-split .ai-intro {
  margin: 0;
}

body.page-services-ai-automation .ai-licensing {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  display: grid;
  gap: 32px;
  padding: 36px;
  border-radius: 16px;
  background: var(--cs-blue-10);
  color: var(--cs-navy);
}

body.page-services-ai-automation .ai-licensing ul {
  display: grid;
  gap: 20px;
  padding-left: 20px;
}

body.page-services-ai-automation .ai-future {
  background: var(--cs-navy);
}

body.page-services-ai-automation .ai-future .section-label {
  color: var(--cs-amber);
}

body.page-services-ai-automation .ai-future .section-title,
body.page-services-ai-automation .ai-future .ai-intro {
  color: var(--cs-white);
}

body.page-services-ai-automation .faq-section {
  background: var(--cs-gray-50);
}

body.page-services-ai-automation .cta-section {
  background: var(--cs-navy);
}

body.page-services-ai-automation .cta-section::before {
  display: none;
}

body.page-services-ai-automation .cta-section p {
  color: var(--cs-white);
  margin-bottom: 24px;
}

body.page-services-ai-automation .cta-section h2 {
  font-weight: 400;
  letter-spacing: 0;
}

body.page-services-ai-automation main a:focus-visible,
body.page-services-ai-automation main summary:focus-visible {
  outline: 2px solid var(--cs-blue);
  outline-offset: 4px;
}

body.page-services-ai-automation .cta-section a:focus-visible {
  outline-color: var(--cs-white);
}

body.page-services-ai-automation main .btn-gold:hover,
body.page-services-ai-automation main .btn-secondary:hover {
  transform: none;
}

body.page-services-ai-automation .faq-item summary:hover {
  color: var(--cs-blue);
}

@media (max-width: 900px) {
  body.page-services-ai-automation .hero {
    padding: 112px 5% 64px;
  }

  body.page-services-ai-automation .features-grid,
  body.page-services-ai-automation .ai-split {
    grid-template-columns: 1fr;
  }

  body.page-services-ai-automation .ai-split {
    gap: 32px;
  }
}

@media (max-width: 620px) {
  body.page-services-ai-automation .features-section,
  body.page-services-ai-automation .faq-section,
  body.page-services-ai-automation .cta-section {
    padding: 64px 5%;
  }

  body.page-services-ai-automation .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-services-ai-automation .hero-btns a,
  body.page-services-ai-automation .ai-licensing a {
    text-align: center;
  }

  body.page-services-ai-automation .ai-card,
  body.page-services-ai-automation .ai-licensing {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-services-ai-automation) {
    scroll-behavior: auto;
  }
}
