:root {
  --apex-blue: #25247b;
  --apex-blue-dark: #17164f;
  --apex-blue-deep: #0f103a;
  --apex-blue-soft: #eeefff;
  --apex-yellow: #fbdc00;
  --apex-yellow-dark: #d5ba00;
  --ink: #172033;
  --muted: #687187;
  --line: #e6e8ef;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --teal: #1b9aaa;
  --green: #5d8f34;
  --shadow: 0 18px 50px rgba(37, 36, 123, 0.12);
  --shadow-soft: 0 10px 30px rgba(20, 27, 54, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--apex-blue-dark);
  line-height: 1.12;
  letter-spacing: 0;
}

/* ---------------------------------------------------------------
   ApexU type scale — one system used across every page.
   Mirrors the scale established on the Services page.
   --------------------------------------------------------------- */
h1 {
  font-size: clamp(2.6rem, 3.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.65rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

h4 { font-size: 1.05rem; }
p { margin: 0; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apex-blue);
}

.eyebrow.light { color: var(--apex-yellow); }

/* No bullet/dot before eyebrow labels — matches the Services page. */
.eyebrow::before { content: none; display: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(37,36,123,0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

/* Official ApexU logo lockup */
.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0;
  color: var(--apex-blue);
  line-height: 1;
}

.brand span { color: var(--apex-yellow-dark); }

.brand-lockup small {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 620;
  color: #3d4660;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--apex-yellow);
  border-radius: 99px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav items with no destination yet (e.g. Qualifications) — keep the type
   styling, but no pointer or hover underline promising a link. */
.nav-links a.nav-pending {
  cursor: default;
}

.nav-links a.nav-pending:hover::after { width: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
}

.button-primary {
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
  box-shadow: 0 8px 20px rgba(251,220,0,0.28);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #ffe431;
}

.button-secondary {
  border-color: rgba(255,255,255,0.48);
  color: white;
  background: rgba(255,255,255,0.08);
}

.button-secondary:hover { background: rgba(255,255,255,0.16); }

.button-outline {
  border-color: rgba(37,36,123,0.22);
  color: var(--apex-blue);
  background: white;
}

.button-outline:hover { transform: translateY(-2px); }

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(37,36,123,0.2);
  border-radius: 13px;
  background: white;
  color: var(--apex-blue);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: 0.2s ease;
}

.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18,18,67,0.96) 0%, rgba(25,24,84,0.84) 34%, rgba(25,24,84,0.48) 64%, rgba(25,24,84,0.12) 100%),
    var(--hero-image) center 32%/cover no-repeat;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(10,10,45,0.18));
  pointer-events: none;
}

.hero-home { --hero-image: url("home.png"); }
.hero-about { --hero-image: url("about-main.jpeg"); }
.hero-contact { --hero-image: url("new-pics/AdobeStock_333923585.jpeg"); }

.hero-home {
  z-index: 2;
  height: auto;
  min-height: 560px;
  max-height: none;
  align-items: flex-start;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(18,18,67,0.97) 0%, rgba(25,24,84,0.88) 30%, rgba(25,24,84,0.46) 44%, rgba(25,24,84,0.14) 56%, rgba(25,24,84,0.03) 68%, rgba(25,24,84,0) 100%),
    var(--hero-image) center 36%/cover no-repeat;
}

/* Bottom scrim so the hero cards read on a consistently dark ground,
   the way they do over the Services page hero. */
.hero-home::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(12,12,50,0.30) 62%, rgba(12,12,50,0.66) 100%);
}

.hero-home .hero-content {
  position: static;
  max-width: min(680px, 54%);
  padding-top: 40px;
  padding-bottom: 212px;
}

.hero-home .hero-content > :not(.hero-ribbon) {
  position: relative;
  z-index: 2;
}

.hero-home h1 {
  max-width: 560px;
  font-size: clamp(2.65rem, 3.35vw, 3.65rem);
  line-height: 1.04;
}

.hero-home .hero-kicker {
  margin-top: 16px;
}

.hero-home .hero-copy {
  margin-top: 20px;
}

.hero-home .hero-kicker,
.hero-home .hero-copy {
  max-width: 600px;
}

.hero-home .hero-actions {
  margin-top: 18px;
}

.hero-home .hero-ribbon {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(var(--max-width), calc(100% - 40px));
  max-width: var(--max-width);
  margin: 0;
  z-index: 4;
}

.hero-home .hero-ribbon-grid {
  gap: 16px;
}

/* Hero cards use the same treatment as the Services page hero ribbon */
.hero-home .ribbon-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(30, 30, 96, 0.30);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: white;
  box-shadow: 0 16px 30px rgba(17,17,58,0.14);
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.hero-home .ribbon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 48%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}

.hero-home .ribbon-card::after {
  content: "";
  position: absolute;
  inset: auto -35px -35px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}

.hero-home .ribbon-card:hover {
  background: rgba(30, 30, 96, 0.42);
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(10,10,42,0.24);
}

.hero-home .ribbon-card > * {
  position: relative;
  z-index: 1;
}

.hero-home .ribbon-card .icon-box {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
  box-shadow: 0 8px 16px rgba(251,220,0,0.24);
}

.hero-home .ribbon-card .icon-box svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-home .ribbon-card strong {
  display: block;
  font-size: 0.94rem;
  color: #fff;
}

.hero-home .ribbon-card > div span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.76);
  font-size: 0.82rem;
  line-height: 1.48;
}

.ribbon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--apex-yellow);
  font-size: 0.86rem;
  font-weight: 900;
}

.ribbon-link span {
  display: inline;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero-about {
  background:
    linear-gradient(90deg, rgba(18,18,67,0.97) 0%, rgba(25,24,84,0.88) 30%, rgba(25,24,84,0.48) 44%, rgba(25,24,84,0.16) 54%, rgba(25,24,84,0.03) 66%, rgba(25,24,84,0) 100%),
    var(--hero-image) center 34%/cover no-repeat;
}

.hero-about::after {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,10,45,0.08));
}

.hero-about .hero-content {
  max-width: min(620px, 52%);
}

.hero-about h1 {
  max-width: 620px;
  font-size: clamp(2.6rem, 3.1vw, 3.55rem);
  line-height: 1.07;
}

.hero-about .hero-kicker {
  max-width: 600px;
  font-size: 1.08rem;
}

.page-hero.hero-contact {
  background:
    linear-gradient(90deg, rgba(18,18,67,0.97) 0%, rgba(25,24,84,0.88) 30%, rgba(25,24,84,0.46) 43%, rgba(25,24,84,0.13) 53%, rgba(25,24,84,0.03) 65%, rgba(25,24,84,0) 100%),
    var(--hero-image) center 34%/cover no-repeat;
}

.page-hero.hero-contact::after {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,10,45,0.08));
}

.page-hero.hero-contact .hero-content {
  max-width: min(620px, 52%);
}

.page-hero.hero-contact h1 {
  max-width: 620px;
  font-size: clamp(2.6rem, 3.1vw, 3.55rem);
  line-height: 1.07;
}

.page-hero.hero-contact .hero-kicker {
  max-width: 600px;
  font-size: 1.08rem;
}

.page-hero {
  height: 68vh;
  min-height: 520px;
  max-height: 640px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.page-hero > .container {
  flex: 1;
  display: flex;
  align-items: center;
}

.page-hero .hero-content {
  padding: 30px 0;
}

.page-hero h1 {
  max-width: 920px;
  font-size: 3.9rem;
}

.page-hero .hero-kicker {
  max-width: 820px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 78px 0 86px;
}

.hero-content.wide { max-width: 1120px; }

.hero h1 {
  color: white;
  max-width: 960px;
  line-height: 1.04;
}

.hero h1 strong { color: var(--apex-yellow); }

.hero-kicker {
  margin-top: 22px;
  max-width: 820px;
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
}

.hero-copy {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  max-width: 820px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.hero-ribbon {
  position: relative;
  z-index: 3;
  margin-top: 30px;
  max-width: 1120px;
}

.hero-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ribbon-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--apex-yellow);
  box-shadow: 0 8px 18px rgba(251,220,0,0.28);
}

.icon-box svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--apex-blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ribbon-card strong {
  display: block;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.22;
}

.ribbon-card > div span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}

.crumbs span:last-child { color: var(--apex-yellow); }

.hero-stats {
  position: relative;
  z-index: 3;
  width: 100%;
  align-self: flex-end;
  border-top: 1px solid rgba(255,255,255,0.11);
  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(8px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-stat {
  min-height: 112px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 14px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child { border-right: 0; }
.hero-stat strong {
  display: block;
  color: var(--apex-yellow);
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}
.hero-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,0.58);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section { padding: 96px 0; }
.section-soft { background: var(--surface-soft); }
.section-blue {
  background: linear-gradient(150deg, #0f103a 0%, #17164f 58%, #25247b 100%);
  color: white;
}

/* ---------------------------------------------------------------
   Section heading system — centred, identical on every page.
   --------------------------------------------------------------- */
.section-heading,
.section-heading.center {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  text-align: center;
}

.section-heading .eyebrow {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  text-align: center;
}

.section-heading h2,
.section-heading h3 {
  display: inline-block;
  width: auto;
  max-width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

.section-heading h3 {
  font-size: clamp(2.65rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.042em;
}

.section-heading p {
  width: min(860px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  text-align: center;
  text-wrap: pretty;
}

.section-blue .section-heading h2,
.section-blue h2,
.section-blue h3,
.section-blue h4 { color: #fff; }
.section-blue .section-heading p,
.section-blue p { color: rgba(255,255,255,0.74); }

.section-blue .value-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  box-shadow: none;
}

.section-blue .value-card p { color: rgba(255,255,255,0.72); }

.heading-accent {
  position: relative;
  padding-bottom: 18px;
}

/* Decorative underline is always left-anchored, sitting under the first
   letter of the heading's first line even though the text itself stays
   centred. --rule-offset is measured in apexu-site.js; 0 is a safe
   fallback (the left edge of the heading box) if scripting is off. */
.heading-accent::after {
  content: "";
  position: absolute;
  left: var(--rule-offset, 0px);
  bottom: 0;
  transform: none;
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: var(--apex-yellow);
}

/* Retained for markup that still asks for the left variant explicitly. */
.heading-accent.left::after {
  left: 0;
  transform: none;
}

/* Opt-out: centres the underline again if a one-off ever needs it. */
.heading-accent.centered-rule::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.media-frame {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.media-frame.dark {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.24);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.floating-badge {
  position: absolute;
  left: 26px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.floating-badge .badge-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
  font-weight: 900;
}

.floating-badge strong {
  display: block;
  font-family: "Manrope", sans-serif;
  color: var(--apex-blue-dark);
  line-height: 1;
}

.floating-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 4px;
}

.accent-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.accent-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.accent-item .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.accent-item h4 {
  color: var(--apex-blue-dark);
  margin-bottom: 4px;
}

.accent-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card,
.info-panel,
.value-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-card h3,
.info-panel h3,
.value-card h3 { margin-top: 18px; }

.feature-card p,
.info-panel p,
.value-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--apex-blue-soft);
  color: var(--apex-blue);
  font-weight: 900;
  font-family: "Manrope", sans-serif;
}

.mini-icon.yellow {
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
}

/* ---------------------------------------------------------------
   Service cards — the Our Services component from the Services page:
   full-bleed photo panel, ApexU shield mark, "See more" pill and a
   white detail drawer that opens beneath it.
   --------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.service-card {
  position: relative;
  align-self: start;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.25s ease;
}

.service-card:hover { transform: translateY(-6px); }

.service-card:not([open]) { height: 320px; }
.service-card[open] { height: auto; }

.service-card summary {
  position: relative;
  display: block;
  min-height: 320px;
  height: 320px;
  padding: 0;
  margin: 0;
  background: #11133f;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 18px 42px rgba(19, 24, 62, 0.10);
}

.service-card summary::-webkit-details-marker { display: none; }
.service-card summary::marker { content: ""; }

.service-card[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ApexU shield mark in the top corner of every card */
.service-card summary::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 58px;
  height: 58px;
  background: url("assets/images/apexu-icon-white.png") center/contain no-repeat;
  opacity: 0.98;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(13,15,51,0.18));
}

.service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,15,51,0.10) 0%, rgba(13,15,51,0.40) 42%, rgba(13,15,51,0.90) 100%);
}

.service-summary {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 138px 18px 18px;
}

.service-summary h3 {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
  min-height: 2.55em;
  text-wrap: balance;
}

.service-summary .lead {
  width: 100%;
  margin: 0 0 14px;
  padding-right: 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.86rem;
  font-weight: 620;
  line-height: 1.5;
  min-height: 4.5em;
  text-wrap: pretty;
}

.service-toggle {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  height: auto;
  margin-top: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(251,220,0,0.22);
}

.service-toggle::before {
  content: "See more";
  font-size: 0.9rem;
  font-weight: 900;
}

.service-card[open] .service-toggle::before { content: "Hide details"; }

.service-card:not([open]) .service-body {
  display: none;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
}

.service-body {
  display: block;
  margin: 0;
  padding: 18px 18px 20px;
  background: #fff;
  border-top: 1px solid rgba(30,39,89,0.06);
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  box-shadow: 0 18px 42px rgba(19, 24, 62, 0.10);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.service-body > p:first-child {
  margin-top: 0;
  color: #5f6880;
}

.service-body ul {
  display: grid;
  gap: 11px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 9px;
  color: #46506a;
  font-size: 0.89rem;
  line-height: 1.5;
}

.service-body li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: var(--apex-yellow);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

.service-body .best-for {
  margin-top: 18px;
  padding: 16px 17px;
  border-radius: 15px;
  background: var(--apex-blue);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.55;
  box-shadow: 0 12px 24px rgba(37,36,123,0.16);
}

.service-body .best-for strong { color: #fff; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card summary { min-height: 300px; height: 300px; }
  .service-card:not([open]) { height: 300px; }
  .service-summary { padding-top: 128px; }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(37,36,123,0.07);
  border: 1px solid rgba(37,36,123,0.1);
  color: var(--apex-blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.image-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.image-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  color: white;
  background: var(--apex-blue-dark);
  box-shadow: var(--shadow-soft);
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-image) center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,45,0.05) 0%, rgba(10,10,45,0.88) 86%);
}

.image-card:hover::before { transform: scale(1.06); }

.image-card-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px;
}

.image-card h3 { color: white; margin-top: 12px; }
.image-card p {
  color: rgba(255,255,255,0.78);
  margin-top: 10px;
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(251,220,0,0.16);
  color: var(--apex-yellow);
  border: 1px solid rgba(251,220,0,0.3);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.accred-strip {
  --logo-width: 170px;
  --logo-gap: 50px;
  --logo-travel: -2420px;
  position: relative;
  z-index: 1;
  padding: 54px 0 44px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.accred-strip .container {
  width: 100%;
  max-width: none;
}

.accred-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.accred-logo {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.accred-logo img {
  max-height: 46px;
  max-width: 118px;
  object-fit: contain;
}

.accred-strip .accred-grid {
  display: flex;
  width: max-content;
  grid-template-columns: none;
  gap: var(--logo-gap);
  margin-top: 28px;
  animation: accred-scroll 34s linear infinite;
  will-change: transform;
}

.accred-strip:hover .accred-grid {
  animation-play-state: paused;
}

.accred-strip .accred-logo {
  flex: 0 0 var(--logo-width);
  min-height: 78px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.accred-strip .accred-logo img {
  max-width: 154px;
  max-height: 54px;
}

.accred-strip::before,
.accred-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(140px, 12vw);
  pointer-events: none;
}

.accred-strip::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

.accred-strip::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

@keyframes accred-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--logo-travel)); }
}

.quote-panel {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.quote-panel p {
  color: rgba(255,255,255,0.78);
  line-height: 1.82;
}

.quote-panel .quote {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.leader-card {
  padding: 26px;
  border-radius: 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.leader-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--apex-yellow);
  color: var(--apex-blue-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.leader-card h3 { color: #fff; }
.leader-card .role {
  margin-top: 4px;
  color: var(--apex-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.leader-card p {
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.accordion-list {
  max-width: 900px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}

.accordion-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.accordion-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--apex-blue-dark);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  list-style: none;
}

.accordion-list summary::-webkit-details-marker { display: none; }

.accordion-list summary::after {
  content: "+";
  margin-left: auto;
  color: var(--apex-blue);
  font-size: 1.4rem;
  font-weight: 800;
}

.accordion-list details[open] summary::after { content: "-"; }

.accordion-list details p {
  padding: 0 22px 22px 84px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 38px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-item strong {
  display: block;
  color: #fff;
  font-family: "Manrope", sans-serif;
}

.contact-item span,
.contact-item a {
  color: rgba(255,255,255,0.74);
  font-size: 0.93rem;
}

.form-panel {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  color: rgba(255,255,255,0.74);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.09);
  color: #fff;
  padding: 12px 14px;
  outline: none;
}

.form-field textarea {
  min-height: 124px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.42); }

.form-field select option { color: var(--ink); }

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.contact-story-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--apex-blue-dark), var(--apex-blue));
  color: white;
  box-shadow: var(--shadow);
}

.contact-story-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -54px;
  width: 230px;
  height: 230px;
  background: url("assets/images/apexu-icon-white.png") center/contain no-repeat;
  opacity: 0.08;
}

.contact-story-panel > * {
  position: relative;
  z-index: 2;
}

.contact-story-panel h2 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.95rem, 2.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.contact-story-panel p {
  margin-top: 18px;
  color: rgba(255,255,255,0.74);
}

.contact-pill-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-pill {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
}

.contact-pill .mini-icon {
  width: 46px;
  height: 46px;
}

.contact-pill strong {
  display: block;
  color: #fff;
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

.contact-pill span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-page .contact-form-panel {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-form-panel h3 {
  margin-bottom: 8px;
  color: var(--apex-blue-dark);
}

.contact-form-panel .form-intro {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-page .contact-form-panel label {
  color: var(--apex-blue-dark);
}

.contact-page .contact-form-panel input,
.contact-page .contact-form-panel textarea,
.contact-page .contact-form-panel select {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.contact-page .contact-form-panel input::placeholder,
.contact-page .contact-form-panel textarea::placeholder {
  color: #9aa2b5;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-route-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-route-card h3 {
  margin-top: 20px;
}

.contact-route-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-route-card .route-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 22px;
  color: var(--apex-blue);
  font-weight: 900;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-card {
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.location-card .icon-box {
  margin-bottom: 22px;
}

.location-card h3 {
  color: #fff;
}

.location-card address {
  margin-top: 12px;
  color: rgba(255,255,255,0.72);
  font-style: normal;
  line-height: 1.7;
}

.location-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--apex-yellow);
  font-weight: 900;
}

.cta {
  padding: 82px 0;
  background: var(--surface-soft);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--apex-blue);
  color: white;
  box-shadow: var(--shadow);
}

.cta-card::after {
  content: "ApexU";
  position: absolute;
  right: 28px;
  bottom: -30px;
  font-family: "Manrope", sans-serif;
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
}

.cta-card h2 {
  color: white;
  font-size: clamp(2.5rem, 3.7vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.cta-card p {
  margin-top: 12px;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-services-cta {
  padding: 36px 0 84px;
  background: #fff;
}

.home-services-cta .cta-card {
  display: block;
  min-height: 470px;
  padding: 68px 54px;
  border-radius: 34px;
  background: var(--apex-blue);
  box-shadow: 0 20px 56px rgba(20, 27, 54, 0.16);
}

.home-services-cta .cta-card > div {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.home-services-cta .cta-card::after {
  content: "";
  right: 70px;
  bottom: 58px;
  width: 310px;
  height: 310px;
  background: url("assets/images/apexu-icon-white.png") center/contain no-repeat;
  opacity: 0.13;
}

.home-services-cta .eyebrow {
  color: #fff;
  font-size: 0.86rem;
}

.home-services-cta .eyebrow::before {
  display: none;
}

.home-services-cta .cta-card h2 {
  margin-top: 28px;
  max-width: 700px;
  font-size: clamp(2.5rem, 3.7vw, 3.65rem);
  line-height: 1.06;
}

.home-services-cta .cta-card p {
  margin-top: 24px;
  max-width: 720px;
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  font-weight: 700;
}

.home-services-cta .cta-actions {
  margin-top: 34px;
}

.home-services-cta .button {
  min-width: 210px;
}

footer {
  padding: 46px 0 30px;
  background: var(--apex-blue);
  color: rgba(255,255,255,0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 28px;
  align-items: start;
}

.footer-brand .brand { color: white; }
.footer-brand p {
  margin-top: 12px;
  max-width: 340px;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links strong {
  display: block;
  color: #fff;
  font-family: "Manrope", sans-serif;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .image-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .mobile-toggle { display: inline-flex; }
  .nav > .button-primary { display: none; }
  .nav-links {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 92px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }
  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }
  .nav-links a::after { display: none; }
  .split-grid,
  .split-grid.reverse,
  .contact-grid,
  .contact-page-grid,
  .footer-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }
  .contact-route-grid,
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-services-cta .cta-card {
    min-height: 0;
    padding: 50px 34px;
  }
  .home-services-cta .cta-card::after {
    right: 22px;
    bottom: 22px;
    width: 220px;
    height: 220px;
  }
  .home-services-cta .cta-card h2 {
    max-width: 640px;
    font-size: 3.1rem;
  }
  .hero-home {
    height: auto;
    min-height: 640px;
    max-height: none;
    overflow: hidden;
  }
  .hero-home .hero-content {
    position: relative;
    max-width: min(720px, 82%);
    padding-top: 58px;
    padding-bottom: 68px;
  }
  .hero-home h1 {
    font-size: 3rem;
  }
  .hero-home .hero-ribbon {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin-top: 28px;
  }
  .hero-home .ribbon-card {
    min-height: 0;
  }
  .hero-about .hero-content {
    max-width: min(680px, 74%);
  }
  .page-hero.hero-contact .hero-content {
    max-width: min(680px, 74%);
  }
  .hero-about h1 {
    font-size: 3rem;
  }
  .page-hero.hero-contact h1 {
    font-size: 3rem;
  }
  .page-hero h1 { font-size: 3rem; }
  .hero-ribbon-grid,
  .card-grid,
  .card-grid.two,
  .card-grid.four {
    grid-template-columns: 1fr;
  }
  .hero-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .accred-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .accred-strip {
    padding-top: 54px;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max-width)); }
  .nav { min-height: 74px; }
  .brand { font-size: 1.72rem; }
  .hero { min-height: 82vh; align-items: flex-end; }
  .page-hero {
    height: 68vh;
    min-height: 540px;
    max-height: none;
    align-items: stretch;
    justify-content: center;
  }
  .page-hero .hero-content { padding: 28px 0; }
  .hero-home {
    height: auto;
    min-height: 540px;
    max-height: none;
    background:
      linear-gradient(90deg, rgba(18,18,67,0.95) 0%, rgba(25,24,84,0.82) 48%, rgba(25,24,84,0.36) 100%),
      var(--hero-image) 58% 36%/cover no-repeat;
  }
  .hero-home .hero-content {
    max-width: 100%;
    padding: 52px 0 54px;
  }
  .hero-home h1 {
    font-size: 2.35rem;
  }
  .hero-about {
    background:
      linear-gradient(90deg, rgba(18,18,67,0.95) 0%, rgba(25,24,84,0.82) 48%, rgba(25,24,84,0.36) 100%),
      var(--hero-image) 62% 34%/cover no-repeat;
  }
  .page-hero.hero-contact {
    background:
      linear-gradient(90deg, rgba(18,18,67,0.95) 0%, rgba(25,24,84,0.82) 48%, rgba(25,24,84,0.36) 100%),
      var(--hero-image) 62% 34%/cover no-repeat;
  }
  .hero-about .hero-content {
    max-width: 100%;
  }
  .page-hero.hero-contact .hero-content {
    max-width: 100%;
  }
  .page-hero h1 { font-size: 2.35rem; }
  .hero-content { padding: 56px 0 42px; }
  h1 { font-size: clamp(2.35rem, 9.5vw, 3rem); }
  h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .section-heading h3 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .cta-card h2,
  .home-services-cta .cta-card h2 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-kicker { font-size: 1.04rem; }
  .hero-copy { font-size: 0.94rem; }
  .button { width: 100%; min-height: 50px; }
  .hero-ribbon { display: none; }
  .accred-strip {
    --logo-width: 140px;
    --logo-gap: 34px;
    --logo-travel: -1914px;
    padding-top: 38px;
  }
  .section { padding: 72px 0; }
  .image-card-grid { grid-template-columns: 1fr; }
  .image-card { min-height: 360px; }
  .hero-stat strong { font-size: 1.45rem; }
  .hero-stat { min-height: 94px; }
  .form-grid,
  .leader-grid,
  .contact-route-grid,
  .location-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }
  .accred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accordion-list details p { padding-left: 22px; }
  .cta-card { padding: 30px 22px; }
  .cta-card h2 { font-size: 2rem; }
  .cta-card::after { font-size: 4rem; }
  .home-services-cta { padding: 28px 0 64px; }
  .home-services-cta .cta-card {
    padding: 34px 22px;
    border-radius: 24px;
  }
  .home-services-cta .cta-card h2 {
    margin-top: 20px;
    font-size: 2.25rem;
  }
  .home-services-cta .cta-card p {
    font-size: 0.98rem;
  }
  .home-services-cta .cta-card::after {
    width: 150px;
    height: 150px;
    opacity: 0.09;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .accred-strip .accred-grid {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    transform: none;
  }
}

/* ---------------------------------------------------------------
   Shared presentation conventions
   Lifted from the Services page so every page reads as one system:
   lists, icons, media frames and card headings all match.
   --------------------------------------------------------------- */

/* Content lists — yellow dot markers, as used on the Services page */
.apex-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.apex-list li {
  position: relative;
  padding-left: 22px;
  color: #46506a;
  font-size: 0.92rem;
  line-height: 1.6;
}

.apex-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--apex-yellow);
  box-shadow: 0 0 0 4px rgba(251, 220, 0, 0.18);
}

.section-blue .apex-list li { color: rgba(255,255,255,0.78); }

/* "Best suited for" callout */
.best-for {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--apex-blue-soft);
  color: var(--apex-blue);
  font-size: 0.84rem;
  line-height: 1.55;
}

.best-for strong { color: var(--apex-blue-dark); }

/* Section intro copy sitting under a centred heading */
.section-intro {
  width: min(880px, 100%);
  margin: 0 auto 44px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  text-align: center;
  text-wrap: pretty;
}

/* Body copy inside a split column */
.split-copy {
  display: grid;
  gap: 16px;
}

.split-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.split-copy .lead {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 600;
}

.section-blue .split-copy p,
.section-blue .split-copy .lead { color: rgba(255,255,255,0.78); }

/* Images: one frame treatment everywhere */
.media-frame {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-frame.dark { border-color: rgba(255,255,255,0.14); }

/* 3:2 sits much closer to the natural framing of the photography, so
   images are shown almost uncropped instead of being zoomed into 4:3. */
.media-frame img {
  border-radius: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* Icons: uniform size, radius and weight across every page */
.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.85;
}

.accent-item {
  grid-template-columns: 54px 1fr;
}

.accent-item .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.contact-item,
.contact-pill {
  grid-template-columns: 54px 1fr;
}

.contact-pill .mini-icon,
.mini-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.02rem;
}

/* Card headings share one size */
.feature-card h3,
.info-panel h3,
.value-card h3,
.contact-route-card h3,
.location-card h3,
.leader-card h3,
.image-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .media-frame img { aspect-ratio: 3 / 2; }
}

/* Badge sits inside the image frame now that frames clip their contents */
.floating-badge {
  left: 18px;
  bottom: 18px;
  z-index: 2;
}

@media (max-width: 640px) {
  .brand-logo { height: 42px; }
  .footer-logo { height: 42px; }
}

/* ---------------------------------------------------------------
   Industries grid — same duotone icon treatment as the Services page
   --------------------------------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 18px;
  align-items: start;
  justify-items: center;
  margin-top: 34px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 160px;
  text-align: center;
}

.industry-icon {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.24s ease;
}

.industry-icon::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 24%, rgba(251,220,0,0.95) 0 12%, transparent 13%),
    radial-gradient(circle at 34% 72%, rgba(37,36,123,0.10) 0 38%, transparent 39%),
    radial-gradient(circle at 56% 48%, rgba(251,220,0,0.14) 0 58%, transparent 59%);
  z-index: 0;
}

.industry-icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 10px;
  bottom: 10px;
  border-radius: 50%;
  border: 2px solid rgba(37,36,123,0.12);
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(-25deg);
}

.industry-icon svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--apex-blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6));
}

.industry-item:hover .industry-icon { transform: translateY(-2px) scale(1.03); }

.industry-item span {
  display: block;
  max-width: 160px;
  color: var(--apex-blue);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

@media (max-width: 1180px) {
  .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
}

@media (max-width: 640px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .industry-icon { width: 68px; height: 68px; flex-basis: 68px; }
  .industry-icon svg { width: 30px; height: 30px; }
  .industry-item span { font-size: 0.86rem; max-width: 140px; }
}

/* ---------------------------------------------------------------
   Capability cards — the "Why ApexU?" treatment from the Services page
   --------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 36px auto 0;
  align-items: stretch;
}

.why-card {
  position: relative;
  height: 100%;
  min-height: 238px;
  padding: 30px 34px 34px 28px;
  border-radius: 26px;
  background: #fbfbff;
  border: 1px solid rgba(37,36,123,0.09);
  box-shadow: 0 14px 34px rgba(37,36,123,0.06);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #fbdc00 0%, rgba(251,220,0,0.18) 100%);
}

.why-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  border-top: 13px solid rgba(95, 101, 125, 0.18);
  border-left: 13px solid rgba(95, 101, 125, 0.18);
  border-right: 0;
  border-bottom: 0;
  border-radius: 0 0 20px 0;
  pointer-events: none;
  box-sizing: border-box;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(37,36,123,0.11);
  border-color: rgba(37,36,123,0.16);
}

.why-card .mini-icon {
  width: auto;
  height: auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 0 22px;
  border-radius: 0;
  background: transparent;
  color: #fbdc00;
  font-family: "Manrope", sans-serif;
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 22px rgba(251,220,0,0.13);
}

.why-card h3 {
  display: flex;
  align-items: flex-start;
  max-width: calc(100% - 18px);
  margin: 0 0 10px;
  min-height: 2.6em;
  color: var(--apex-blue);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.why-card p {
  max-width: calc(100% - 18px);
  margin: 0;
  color: #68728b;
  font-size: 0.92rem;
  line-height: 1.62;
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card h3 { min-height: 0; }
}

@media (max-width: 680px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card {
    min-height: auto;
    padding: 24px 28px 30px 22px;
    border-radius: 22px;
  }
  .why-card .mini-icon { font-size: 2.35rem; margin-bottom: 20px; }
  .why-card::after {
    width: 40px;
    height: 40px;
    border-top-width: 11px;
    border-left-width: 11px;
    border-radius: 0 0 17px 0;
  }
}

/* Four-across variant of the industries grid */
.industry-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  gap: 26px 20px;
}

@media (max-width: 900px) {
  .industry-grid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .industry-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------
   Header call-to-action — sized for the nav bar, not the page body
   --------------------------------------------------------------- */
.nav > .button-primary {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 0.88rem;
  box-shadow: 0 6px 14px rgba(251,220,0,0.24);
}

/* Inline links inside a capability card */
.why-card p a {
  color: var(--apex-blue);
  font-weight: 800;
  border-bottom: 2px solid rgba(251, 220, 0, 0.55);
  transition: border-color 0.2s ease;
}

.why-card p a:hover { border-bottom-color: var(--apex-yellow); }

/* ---------------------------------------------------------------
   Subsidiaries mega menu
   --------------------------------------------------------------- */
.nav-item.has-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 620;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  background: var(--apex-yellow);
  border-radius: 99px;
  transition: width 0.2s ease;
}

.nav-item.has-menu:hover .nav-trigger::after,
.nav-item.has-menu.open .nav-trigger::after { width: 100%; }

.nav-caret {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s ease;
}

.nav-item.has-menu:hover .nav-caret,
.nav-item.has-menu.open .nav-caret { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  z-index: 60;
  width: max-content;
  min-width: 260px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
}

/* little pointer + invisible hover bridge to the trigger */
.mega::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  margin-left: -7px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: 3px;
  transform: rotate(45deg);
}

.mega::after {
  content: "";
  position: absolute;
  top: -26px;
  left: 0;
  right: 0;
  height: 26px;
}

.nav-item.has-menu:hover .mega,
.nav-item.has-menu:focus-within .mega,
.nav-item.has-menu.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.mega-head .eyebrow { margin: 0; }

.mega-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.mega-grid { display: grid; gap: 8px; }

.sub-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  overflow: hidden;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

/* accent rail that grows on hover */
.sub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 99px;
  background: var(--sub-accent, var(--apex-yellow));
  transform: translateY(-50%);
  transition: height 0.28s ease;
}

.sub-card:hover,
.sub-card:focus-visible {
  background: #fff;
  border-color: var(--sub-tint, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.sub-card:hover::before,
.sub-card:focus-visible::before { height: 62%; }

.sub-card::after { display: none; }

.sub-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 0 var(--sub-tint, transparent);
  transition: box-shadow 0.28s ease, border-color 0.22s ease, transform 0.28s ease;
}

.sub-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sub-card:hover .sub-icon {
  border-color: var(--sub-tint, var(--line));
  box-shadow: inset 0 0 0 24px var(--sub-tint, transparent);
  transform: rotate(-4deg) scale(1.04);
}

.sub-copy { display: grid; gap: 2px; min-width: 0; }

.sub-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--apex-blue-dark);
  line-height: 1.25;
  white-space: nowrap;
}

.sub-soon {
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--sub-tint, var(--apex-blue-soft));
  color: var(--sub-accent, var(--apex-blue));
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sub-div {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub-accent, var(--apex-blue));
}

.sub-desc {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.sub-go {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--sub-accent, var(--apex-blue));
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.24s ease;
}

.sub-go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sub-card:hover .sub-go,
.sub-card:focus-visible .sub-go { opacity: 1; transform: translateX(0); }

.mega-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--apex-blue);
}

.mega-foot span { transition: transform 0.2s ease; }
.mega-foot:hover span { transform: translateX(4px); }
.mega-foot::after { display: none; }

/* staggered entrance for the cards */
.mega .sub-card,
.mega .mega-foot {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease var(--sub-delay, 0ms), transform 0.3s ease var(--sub-delay, 0ms),
    background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-item.has-menu:hover .sub-card,
.nav-item.has-menu:focus-within .sub-card,
.nav-item.has-menu.open .sub-card,
.nav-item.has-menu:hover .mega-foot,
.nav-item.has-menu:focus-within .mega-foot,
.nav-item.has-menu.open .mega-foot {
  opacity: 1;
  transform: translateY(0);
}

.nav-item.has-menu:hover .sub-card:hover,
.nav-item.has-menu.open .sub-card:hover { transform: translateX(4px); }

@media (max-width: 920px) {
  .nav-item.has-menu { display: block; }

  .nav-trigger {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0 12px;
  }

  .nav-trigger::after { display: none; }

  .mega {
    position: static;
    display: none;
    width: auto;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mega::before,
  .mega::after { display: none; }

  .nav-item.has-menu:hover .mega,
  .nav-item.has-menu:focus-within .mega { display: none; }

  .nav-item.has-menu.open .mega { display: block; }

  /* the panel is in normal flow on mobile — undo the desktop centring transform */
  .nav-item.has-menu:hover .mega,
  .nav-item.has-menu:focus-within .mega,
  .nav-item.has-menu.open .mega { transform: none; }

  /* the stacked-nav link rules would otherwise flatten the cards */
  .nav-links .sub-card {
    display: grid;
    min-height: 0;
    padding: 10px 12px;
  }

  .nav-links .mega-foot {
    min-height: 44px;
    padding: 13px 12px 0;
  }

  .mega-head { display: none; }

  .mega .sub-card,
  .mega .mega-foot { opacity: 1; transform: none; }

  .sub-card { grid-template-columns: 38px 1fr; }
  .sub-name { font-size: 0.9rem; white-space: normal; }
  .sub-card:hover { transform: none; }
  .sub-icon { width: 40px; height: 40px; border-radius: 12px; }
  .sub-icon img { width: 22px; height: 22px; }
  .sub-desc { display: none; }
  .sub-go { display: none; }
  .mega-foot { justify-content: flex-start; padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mega,
  .mega .sub-card,
  .mega .mega-foot,
  .sub-icon,
  .sub-go,
  .nav-caret { transition: none; }
}

/* ---------------------------------------------------------------
   Apex Transformation Advisory — division theme (cyan) and
   page-specific components. Scoped to body.ata so the rest of
   the site is untouched.
   --------------------------------------------------------------- */
body.ata {
  --ata: #009DE1;
  --ata-bright: #38C0FF;
  --ata-deep: #0079b0;
  --apex-yellow: #009DE1;
  --apex-yellow-dark: #0079b0;
}

body.ata .button-primary {
  background: var(--ata);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 157, 225, 0.30);
}

body.ata .button-primary:hover { background: var(--ata-bright); }

body.ata .mini-icon.yellow {
  background: var(--ata);
  color: #fff;
}

body.ata .apex-list li::before { box-shadow: 0 0 0 4px rgba(0, 157, 225, 0.18); }
body.ata .icon-box { box-shadow: 0 8px 18px rgba(0, 157, 225, 0.28); }
body.ata .icon-box svg { stroke: #fff; }
/* the CTA watermark carries the ATA mark on this page */
body.ata .home-services-cta .cta-card::after {
  background-image: url("apex-transformation/img/apex-transformation-advisory-logo-icon-w.png");
  opacity: 0.16;
}
body.ata .crumbs a { color: rgba(255,255,255,0.56); }
body.ata .crumbs a:hover { color: #fff; }

/* the division the visitor is on keeps its nav underline lit */
.nav-item.has-menu.current .nav-trigger::after { width: 100%; }
.sub-card[aria-current="page"] {
  background: #fff;
  border-color: var(--sub-tint, var(--line));
}
.sub-card[aria-current="page"]::before { height: 62%; }

/* the group shield in the service-card corner becomes the ATA mark */
body.ata .service-card summary::before {
  background-image: url("apex-transformation/img/apex-transformation-advisory-logo-icon-w.png");
}

body.ata .hero-ata { --hero-image: url("apex-transformation/img/AdobeStock_556476580.jpg"); }

/* the division lockup sits as a small co-brand mark on the right
   of the hero, clear of the headline column */
body.ata .page-hero > .container { position: relative; }

.hero-lockup {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 2;
  width: 190px;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  opacity: 0.96;
  filter: drop-shadow(0 10px 26px rgba(6, 10, 40, 0.45));
}

body.ata .floating-badge .badge-mark {
  background: #fff;
  padding: 8px;
}

body.ata .floating-badge .badge-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- scorecard elements strip ------------------------------------ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.pillar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  transition: 0.25s ease;
}

.pillar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ata, var(--apex-yellow));
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.pillar:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(56,192,255,0.4);
  transform: translateY(-3px);
}

.pillar:hover::after { opacity: 1; }

.pillar-num {
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ata-bright, var(--apex-yellow));
}

.pillar h3 {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.3;
  text-wrap: balance;
}

/* --- the advisory journey timeline -------------------------------- */
.journey {
  position: relative;
  display: grid;
  gap: 16px;
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(0,157,225,0) 0%, rgba(0,157,225,0.35) 12%, rgba(0,157,225,0.35) 88%, rgba(0,157,225,0) 100%);
}

.journey-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
}

.journey-num {
  grid-column: 2;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,157,225,0.34);
  color: var(--ata, var(--apex-blue));
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 157, 225, 0.14);
  transition: 0.25s ease;
}

.journey-card {
  grid-row: 1;
  grid-column: 1;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: right;
  transition: 0.25s ease;
}

.journey-step:nth-child(even) .journey-card {
  grid-column: 3;
  text-align: left;
}

.journey-card h3 {
  margin: 0;
  color: var(--apex-blue-dark);
  font-size: 1.02rem;
  line-height: 1.25;
}

.journey-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.journey-step:hover .journey-card {
  border-color: rgba(0,157,225,0.34);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.journey-step:hover .journey-num {
  background: var(--ata, var(--apex-blue));
  border-color: var(--ata, var(--apex-blue));
  color: #fff;
}

.journey-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 30px auto 0;
  color: var(--apex-blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.journey-note span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,157,225,0.1);
  border: 1px solid rgba(0,157,225,0.22);
  color: var(--ata-deep, var(--apex-blue));
  font-weight: 700;
}

/* --- part of the ApexU group band --------------------------------- */
.group-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.group-band-logo {
  height: 54px;
  width: auto;
}

.group-band h3 {
  margin: 0;
  color: var(--apex-blue-dark);
  font-size: 1.12rem;
}

.group-band p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-band {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    justify-items: center;
    padding: 30px 26px;
  }
}

@media (max-width: 860px) {
  .journey { max-width: 620px; gap: 12px; }
  .journey::before { left: 23px; }
  .journey-step { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
  .journey-num { grid-column: 1; }
  .journey-card,
  .journey-step:nth-child(even) .journey-card {
    grid-column: 2;
    text-align: left;
  }
}

/* the ATA hero carries a logo lockup and crumbs, so it grows
   rather than clipping on small screens */
@media (max-width: 860px) {
  body.ata .page-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 34px;
  }
  body.ata .page-hero .hero-content { padding: 22px 0 30px; }
  /* stacked hero: the lockup returns to the flow above the crumbs */
  body.ata .page-hero > .container { display: block; }
  .hero-lockup {
    position: static;
    width: 150px;
    margin: 0 0 16px;
    transform: none;
    filter: none;
  }
}

@media (max-width: 640px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .journey-card { padding: 16px 18px; }
}

/* ---------------------------------------------------------------
   Apex Academy — division theme (orange-red) and page components.
   Scoped to body.academy.
   --------------------------------------------------------------- */
body.academy {
  --academy: #E03818;
  --academy-bright: #FF5A36;
  --academy-deep: #B32A10;
  --apex-yellow: #E03818;
  --apex-yellow-dark: #B32A10;
}

body.academy .button-primary {
  background: var(--academy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(224, 56, 24, 0.28);
}

body.academy .button-primary:hover { background: var(--academy-bright); }

body.academy .mini-icon.yellow {
  background: var(--academy);
  color: #fff;
}

body.academy .icon-box { box-shadow: 0 8px 18px rgba(224, 56, 24, 0.26); }
body.academy .icon-box svg { stroke: #fff; }
body.academy .apex-list li::before { box-shadow: 0 0 0 4px rgba(224, 56, 24, 0.16); }
body.academy .crumbs a { color: rgba(255,255,255,0.56); }
body.academy .crumbs a:hover { color: #fff; }

/* the deep brand red goes muddy on navy — dark grounds get the
   brighter tint so accents stay legible */
body.academy .hero h1 strong,
body.academy .hero-stat strong,
body.academy .crumbs span:last-child,
body.academy .eyebrow.light,
body.academy .section-blue .eyebrow { color: var(--academy-bright); }

body.academy .section-blue .heading-accent::after,
body.academy .hero .heading-accent::after { background: var(--academy-bright); }

body.academy .section-blue .mini-icon.yellow {
  background: var(--academy-bright);
  color: #23130f;
}

body.academy .service-card summary::before {
  background-image: url("apex-academy/img/apex-academy-logo-icon-w.png");
}

body.academy .home-services-cta .cta-card::after {
  background-image: url("apex-academy/img/apex-academy-logo-icon-w.png");
  opacity: 0.16;
}

body.academy .floating-badge .badge-mark {
  background: #fff;
  padding: 8px;
}

body.academy .floating-badge .badge-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.academy .hero-academy { --hero-image: url("apex-academy/img/AdobeStock_284864747.jpg"); }
body.academy .page-hero > .container { position: relative; }

/* --- industry chips ----------------------------------------------- */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 940px;
  margin: 42px auto 0;
}

.chip {
  position: relative;
  padding: 13px 22px 13px 38px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: var(--apex-blue-dark);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.22s ease;
}

.chip::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--academy, var(--apex-yellow));
  transition: 0.22s ease;
}

.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 56, 24, 0.32);
  box-shadow: var(--shadow);
}

.chip:hover::before { transform: scale(1.4); }

@media (max-width: 860px) {
  body.academy .page-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 34px;
  }
  body.academy .page-hero .hero-content { padding: 22px 0 30px; }
  body.academy .page-hero > .container { display: block; }
}

@media (max-width: 640px) {
  .chip-grid { gap: 9px; }
  .chip { padding: 11px 16px 11px 32px; font-size: 0.86rem; }
  .chip::before { left: 14px; }
}
