/* =========================================================
   ICS — AI Services Page
   Standalone styles (no header/footer)
   Design tokens sampled from Figma:
     navy #002446 · red #E5193A · band #EFF3F9
     heading-blue #0A4772 · white #FFFFFF
   Fonts: Helvetica Condensed (headings/buttons) — self-hosted, see fonts/
          Source Sans 3 (body) ≈ Source Sans Pro
   ========================================================= */

/* ---------- self-hosted Helvetica Condensed ----------
   Converted from the supplied TTFs to woff2 (primary) + woff (fallback).
   Bold (700) is what headings + buttons use; obliques provided for completeness. */
@font-face {
  font-family: "Helvetica Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/HelveticaCdBd.woff2") format("woff2"),
       url("../fonts/HelveticaCdBd.woff") format("woff");
}
@font-face {
  font-family: "Helvetica Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/HelveticaCdBdObl.woff2") format("woff2"),
       url("../fonts/HelveticaCdBdObl.woff") format("woff");
}
@font-face {
  font-family: "Helvetica Condensed";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/HelveticaCdObl.woff2") format("woff2"),
       url("../fonts/HelveticaCdObl.woff") format("woff");
}

:root {
  --navy:        #002446;
  --red:         #e5193a;
  --white:       #ffffff;
  --band:        #eff3f9;
  --ink:         #10151b;   /* near-black band headings */
  --blue:        #0a4772;   /* feature headings */
  --faq-navy:    #002446;
  --body:        #000;
  --divider:     #D0D5DD;
  --blue-2:      #00478A;

  --container:   1308px;
  --font-head:   "Helvetica Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body:   "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
body{
  margin: 0 !important;
}
.ai-page {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  font-size: 18px;
  font-weight: 400 !important;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
}
.ai-page img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container) !important;
  margin: 0 auto;
  padding: 0 24px;	
}
.ai-page .container:before,
.ai-page .container:after
{
	content: none !important;
}

/* ---------- shared type ---------- */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--body);
  font-size: clamp(30px, 6.67px + 3.33vw, 50px);
  line-height: 1;
  letter-spacing: .7px;
  margin: 0 0 clamp(15px, 0.81px + 2.03vw, 30px);
  text-box-trim: trim-end;
}
@media(max-width: 767px){
	.section-title br{
		display: none;
	}
}
.section-title--center { text-align: center; }

.body-text {
  margin: 0 0 19px;
  color: var(--body);
}
.body-text:last-child { margin-bottom: 0; }
.body-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.body-text a:hover { color: var(--red); }

.accent-rule {
  display: block;
  width: 80px;
  height: 2px;
  background: var(--red);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Helvetica Neue' !important;
  font-weight: 700 !important;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: background-color .18s ease, transform .18s ease;
}
.btn--red {
  background: var(--red) !important;
  border: 2px solid var(--red) !important;
  color: var(--white) !important;
  font-size: clamp(18px, 13.27px + 0.68vw, 23px) !important;
  padding: 13px clamp(15px, -16.22px + 4.46vw, 48px) !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  white-space: normal !important;
}
.btn--red:hover { background: transparent !important; color: var(--red) !important;}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  background: url("images/hero-bg.png") center center / cover no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(150px, 53.51px + 13.78vw, 252px) !important;
  padding-bottom: clamp(50px, 10.27px + 5.68vw, 92px) !important;
  color: var(--white);
}
@media(max-width: 767px){
	.hero__inner{
		padding-top: 50px !important;
	}
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 25px;
  margin: 0 0 clamp(15px, 4.59px + 1.49vw, 26px);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(35px, 6.62px + 4.05vw, 65px);
  line-height: 1.06;
  margin: 0 0 clamp(20px, 12.02px + 1.60vw, 35px);
  letter-spacing: 0.9px;
  max-width: 1170px;
}
@media(max-width: 767px){
	.hero__title br{
		display: none !important;
	}
}
.hero .accent-rule { margin: 0 0 clamp(20px, 9.89px + 2.02vw, 39px); }
.hero__lead {
  max-width: 820px;
  margin: 0 0 30px;
  font-size: 18px;
}
.hero__lead a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero__lead a:hover { color: #e5183a; }
.hero__btn {
  font-size: 23px;
  padding: 15px 47px;
}

/* =========================================================
   LIGHT BANDS  (intro · measure · keep-connected)
   ========================================================= */
.band {
  background: var(--band);
  padding: 74px 0;
}
.band.style-2 + .band.style-2{
	padding-top: 0;
}
.band.band--blue { background: var(--blue-2);}
.band.band--blue *{ color: var(--white) !important; }
.band.band--blue a:hover{color: var(--red) !important;}
.band--split { padding: 74px 0 75px; }
.band--split .section-title {line-height: 1.1; margin: 0 0 clamp(15px, 4.59px + 1.49vw, 26px);}
.band--white { background: var(--white); }
.band--divider{border-bottom: 1px solid #D0D5DD;}
/* =========================================================
   SPLIT  (text + media, two columns)
   One component for every "text beside an image" section:
   service rows, foundation, keep-connected. Modifiers:
     --reverse  → image on the left
     --accent   → blue heading (service rows)
     --graphic  → transparent logo art instead of a photo
   ========================================================= */
.split {
  display: flex;
  align-items: center;
  gap: clamp(30px, -45.68px + 10.81vw, 110px);
}
.split--reverse { flex-direction: row-reverse; }

.split__text { flex: 1 1 0; max-width: 600px; }
.split__text .section-title {
  font-size: clamp(26px, 12.76px + 1.89vw, 40px);
  line-height: 1.2;
  letter-spacing: .5px;
  margin: 0 0 clamp(15px, 3.65px + 1.62vw, 27px);
}
.split.style-2 .split__text .section-title{
	font-size: clamp(28px, 11.92px + 2.30vw, 45px);
}
.split__text .section-title.size-2 {
  font-size: clamp(30px, 6.67px + 3.33vw, 50px);
  letter-spacing: 0px;
  margin-bottom: clamp(12px, 4.43px + 1.08vw, 20px);
}
.split--accent .split__text .section-title { color: var(--blue); }
.split__text .body-text { line-height: 1.4; margin-bottom: 25px; }
.split__text .body-text:last-child { margin-bottom: 0; }
.split .btn { margin-top: clamp(5px, -2.57px + 1.08vw, 13px); min-width: 432px}

.split__media { flex: 1 1 0; max-width: 500px; }
.split__media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto;
}
/* transparent logo art (e.g. Copilot graphics) */
.split--graphic .split__media { flex-basis: 460px; width: 460px; max-width: 42%; }
.split--graphic .split__media img {
  height: auto;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: darken;
}

.split.style-2{
	gap: clamp(25px, -8.11px + 4.73vw, 60px);
	
	.split__text,
	.split__media{
		flex: 0 0 calc(50% - 30px);
		max-width: calc(50% - 30px);
	}
}
.divider {
  border: 0;
  border-top: 1px solid var(--divider);
  margin: 60px 0;
}
/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 74px 0; background: var(--white); }
.faq__title { margin-bottom: clamp(20px, -14.05px + 4.86vw, 56px); }

.accordion { border-top: 1px solid var(--divider); }
.accordion__item { border-bottom: 1px solid var(--divider); }

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(15px, 10.27px + 0.68vw, 20px);
  background: transparent;
  padding: clamp(15px, 8.38px + 0.95vw, 22px) clamp(15px, 5.54px + 1.35vw, 25px);
  text-align: left;
  cursor: pointer;
  border: 0;
  transition: background-color .3s ease;
}
.accordion__q {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--faq-navy);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.5;
  letter-spacing: 0.4px;
}

/* toggle icon: navy rounded square + chevron */
.accordion__icon {
  flex: 0 0 auto;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  transition: background-color .2s ease;
}
.accordion__icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 7px; height: 7px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

/* panel */
.accordion__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1),
              opacity .3s ease;
}
.accordion__panel .body-text {
  padding: clamp(20px, 10.54px + 1.35vw, 30px) clamp(15px, 5.54px + 1.35vw, 25px);
  transform: translateY(-8px);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

/* open state */
.accordion__item.is-open .accordion__head{
  background: var(--band);
  border-bottom: 1px solid var(--divider);
}
.accordion__item.is-open .accordion__icon { background: var(--red); }
.accordion__item.is-open .accordion__icon::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}
.accordion__item.is-open .accordion__panel {
  max-height: 400px;
  opacity: 1;
}
.accordion__item.is-open .accordion__panel .body-text {
  transform: translateY(0);
}

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding: 0; background: var(--white); }
.cta {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: url("/wp-content/uploads/2026/09/CTA-bg.webp") center / cover no-repeat;
}
.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 75px 20px 80px;
  max-width: 1160px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 23px;
  letter-spacing: .7px;
}
.cta__text {
  font-size: 18px;
  margin: 0 auto 30px;
	
	& *{
		color: var(--white) !important;
	}
}

/* =========================================================
   CARDS  (reusable icon-card grid)
   Same markup everywhere — column count / style is a modifier:
     .cards__grid            → auto-fit (fully dynamic count)
     .cards__grid--2         → force 2 columns
     .cards__grid--3         → force 3 columns
     .cards--filled          → blue filled card style (dark sections)
   ========================================================= */
.cards { padding: 70px 0 75px; background: var(--white); }
.cards .container{
	max-width: 1270px !important;
}
.cards__head { margin: 0 0 clamp(35px, 2.84px + 4.59vw, 69px); }
.cards__head .section-title { margin: 0; }

.cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: clamp(20px, 2.97px + 2.43vw, 38px);
  row-gap: clamp(30px, -13.51px + 6.22vw, 76px);
}
.cards__grid--2 { grid-template-columns: repeat(2, 1fr); column-gap: clamp(20px, -40.54px + 8.65vw, 84px);}
.cards__grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { display: flex; flex-direction: column; }
.card__icon {
  width: 70px;
  height: 70px;
  margin: 0 0 clamp(15px, 2.70px + 1.76vw, 28px);
  object-fit: contain;
}
/* glyph-only icons that need the light circle badge behind them */
.card__icon--badge {
  background: #e9edf5;
  border-radius: 50%;
  padding: 15px;
  box-sizing: border-box;
}
.card__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(20px, 15.27px + 0.68vw, 25px);
  line-height: 1.4;
  letter-spacing: .6px;
  margin: 0 0 clamp(10px, -2.30px + 1.76vw, 23px);
}
.cards__grid--2 .card__title{
	letter-spacing: 0px;
}
.card__text {
  font-size: clamp(16px, 14.11px + 0.27vw, 18px);
  line-height: 1.4;
  color: var(--body);
  margin: 0;
}

/* filled variant — blue cards for dark/emphasis sections */
.cards--filled { background: var(--band); border-bottom: 1px solid var(--divider);}
.cards--filled .cards__grid { row-gap: clamp(20px, 1.08px + 2.70vw, 40px); column-gap: clamp(20px, -17.84px + 5.41vw, 60px); }
.cards--filled .card {
  background: var(--blue-2);
  border-radius: 16px;
  padding: 37px 24px 31px;
}
.cards--filled .card__title { color: var(--white); }
.cards--filled .card__text *{ color: var(--white); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .cards__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split,
  .split--reverse { flex-direction: column; gap: 25px; align-items: stretch; }
  .split__text { max-width: none; }
  .split__media { flex-basis: auto; width: 100%; max-width: none; }
  .split__media img { height: auto; aspect-ratio: 5 / 3; width: auto;}
  .split--graphic .split__media { width: 100%; max-width: 380px; }
  .split--graphic .split__media img { aspect-ratio: auto; }
  .split.style-2{
	.split__text,
	.split__media{
		flex: 0 0 100%;
		max-width: 100%;
	}
}
}

@media (max-width: 600px) {
  .ai-page { font-size: 17px; }
  .container { padding: 0 18px; }
  .hero__eyebrow { font-size: 21px; }
  .hero__btn { font-size: 21px; padding: 13px 26px; }
  .band, .faq, .cards { padding: 50px 0; }
  .cards__grid--2,
  .cards__grid--3 { grid-template-columns: 1fr; }
  .cards--filled .card { padding: 30px 15px 25px; }
  .btn--red { display: block; width: 100%; }
  .split .btn,
  .hero__btn { width: 100%;min-width: unset !important; }
  .divider { margin: 36px 0; }
  .cta__inner { padding: 40px 18px 44px; }
}

/* =========================================================
   ACF / WYSIWYG COMPATIBILITY
   The flexible template outputs bare <p> from editor fields
   (no .body-text class) — mirror the body styling for them.
   ========================================================= */
.band .container > p,
.split__text p,
.cta__inner p,
.card__text p {
  margin: 0 0 clamp(10px, 1.49px + 1.22vw, 19px);
  color: var(--body);
}
.band .container > p:last-child,
.split__text p:last-child,
.cta__inner p:last-child,
.card__text p:last-child { margin-bottom: 0; }

.band .container > p a,
.split__text p a {
  color: inherit;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.band .container > p a:hover,
.split__text p a:hover { color: var(--red); }

.split__text p { line-height: 1.4; margin-bottom: clamp(10px, -4.19px + 2.03vw, 25px); }
.card__text p { font-size: 18px; line-height: 1.4; }
.hero__lead p { margin: 0; }
.hero__lead p a { color: var(--white); text-decoration: underline !important; text-underline-offset: 2px; }
.accordion__panel p { margin: 0; padding: 30px 25px; color: var(--body); }
.accordion__panel p a{text-decoration: underline !important;color: var(--body);}
.accordion__panel p a:hover{color: var(--red)}