/* ====================================================================
   eLite SIS · Sub-pages stylesheet
   Extends styles.css — AI & EduBot + Services pages
   ==================================================================== */

/* ============================ Scroll reveal ============================ */
/* Base = visible (safe for frozen-animation contexts, print, no-JS).
   Hiding + entrance only when JS confirms animations actually run (.motion-ok). */
.reveal { opacity: 1; }
.motion-ok .reveal:not(.in) { opacity: 0; }
.motion-ok .reveal.in {
  animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.motion-ok .reveal.d1.in { animation-delay: .08s; }
.motion-ok .reveal.d2.in { animation-delay: .16s; }
.motion-ok .reveal.d3.in { animation-delay: .24s; }
.motion-ok .reveal.d4.in { animation-delay: .32s; }
.motion-ok .reveal.d5.in { animation-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .motion-ok .reveal:not(.in) { opacity: 1; }
  .motion-ok .reveal.in { animation: none; }
}

/* ============================ Mobile nav ============================ */
.mnav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.mnav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.mnav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav-toggle.open span:nth-child(2) { opacity: 0; }
.mnav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .mnav-toggle { display: flex; } }

.mnav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: #fff;
  z-index: 120;
  box-shadow: -30px 0 80px -20px rgba(10,10,20,0.3);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow-y: auto;
}
.motion-ok .mnav-drawer { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mnav-drawer.open { transform: translateX(0); }
.mnav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,0.4);
  backdrop-filter: blur(2px);
  z-index: 119;
  opacity: 0;
  pointer-events: none;
}
.motion-ok .mnav-scrim { transition: opacity .3s; }
.mnav-scrim.open { opacity: 1; pointer-events: auto; }
.mnav-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.mnav-close {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--line-soft); display: grid; place-items: center;
  font-size: 22px; color: var(--ink);
}
.mnav-links { display: flex; flex-direction: column; gap: 2px; }
.mnav-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px;
  border-radius: 14px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: background .2s;
}
.mnav-links a:hover { background: var(--line-soft); }
.mnav-links a.active { color: var(--blue); background: var(--blue-soft); }
.mnav-links a .mn-tag {
  font-size: 9px; font-family: var(--display); font-weight: 700;
  letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px;
  background: var(--coral); color: #fff; text-transform: uppercase;
}
.mnav-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.mnav-cta .btn { width: 100%; justify-content: center; }
.mnav-foot {
  margin-top: auto; padding-top: 26px;
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}

/* ============================ Generic chapter sub-hero ============================ */
.subhero {
  position: relative;
  overflow: hidden;
}
.subhero-crumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ============================ AI HERO — neural brain stage ============================ */
.aih {
  background:
    radial-gradient(60% 60% at 18% 10%, rgba(39,80,197,0.30), transparent 60%),
    radial-gradient(55% 55% at 92% 88%, rgba(107,33,168,0.30), transparent 60%),
    linear-gradient(180deg, #04081F 0%, #070C2C 55%, #04081F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 96px) 0 clamp(70px, 8vw, 120px);
}
.aih-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aih-particles i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(155,182,255,0.8);
  animation: aihFloat 9s ease-in-out infinite;
}
@keyframes aihFloat {
  0%,100% { transform: translateY(0); opacity: .3; }
  50% { transform: translateY(-26px); opacity: 1; }
}
.aih-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,80,197,0.35) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: left .25s ease-out, top .25s ease-out;
  z-index: 0;
}
.aih .wrap { position: relative; z-index: 2; }
.aih-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1080px) { .aih-grid { grid-template-columns: 1fr; gap: 48px; } }
.aih h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-size: clamp(46px, 5.6vw, 92px);
  margin: 22px 0 0;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.aih h1 .it { font-style: italic; font-weight: 500; color: var(--lime); }
.aih-sub {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,0.74);
  max-width: 56ch;
  margin: 26px 0 0;
}
.aih-sub em { font-style: italic; color: #9BB6FF; }
.aih-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.aih-metrics {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.aih-metric .num {
  font-family: var(--display); font-size: 34px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; color: var(--lime);
}
.aih-metric:nth-child(2) .num { color: #9BB6FF; }
.aih-metric:nth-child(3) .num { color: #fff; }
.aih-metric .lbl { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; max-width: 18ch; }

/* Brain stage */
.aih-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.aih-stage svg.aih-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.aih-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #2B57D4 0%, #16245E 70%, #0B1238 100%);
  box-shadow:
    0 0 0 1px rgba(155,182,255,0.3),
    0 0 60px rgba(39,80,197,0.6),
    inset 0 2px 10px rgba(255,255,255,0.18);
  z-index: 3;
  color: #fff;
}
.aih-core::before {
  content: "";
  position: absolute; inset: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(155,182,255,0.4);
  animation: hubRingRotate 24s linear infinite;
}
.aih-core::after {
  content: "";
  position: absolute; inset: -22%;
  border-radius: 50%;
  border: 1px solid rgba(155,182,255,0.16);
  animation: hubRingRotate 40s linear infinite reverse;
}
.aih-core-inner { text-align: center; }
.aih-core-inner svg { width: 46%; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.aih-core-label {
  font-family: var(--display); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-top: 6px;
}
.aih-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px 9px 9px;
  border-radius: 999px;
  background: rgba(14,20,52,0.72);
  border: 1px solid rgba(155,182,255,0.22);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6);
  animation: wdFloat 7s ease-in-out infinite;
  cursor: default;
  transition: border-color .25s, transform .25s, background .25s;
}
.aih-node:hover { background: rgba(20,28,68,0.92); border-color: var(--lime); }
.aih-node .nd-ic {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #04081F;
  background: var(--lime);
}
.aih-node.blue .nd-ic { background: #9BB6FF; }
.aih-node.coral .nd-ic { background: #FF8A7A; color: #2A0805; }
.aih-node .nd-ic svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .aih-node { font-size: 10px; padding: 6px 10px 6px 6px; }
  .aih-node .nd-ic { width: 20px; height: 20px; }
  .aih-node .nd-ic svg { width: 11px; height: 11px; }
}

/* ============================ AI Agents — dark grid w/ use-cases ============================ */
.agents-bg {
  background:
    radial-gradient(55% 50% at 100% 0%, rgba(39,80,197,0.16), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(107,33,168,0.16), transparent 60%),
    linear-gradient(180deg, #070C2C 0%, #04081F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.agents-bg .h-section { color: #fff; }
.agents-bg .h-section .it { color: var(--lime); }
.agents-bg .eyebrow { color: rgba(255,255,255,0.7); }
.agents-bg .lede { color: rgba(255,255,255,0.74); }
.agents-bg .lede em { color: #9BB6FF; font-style: italic; }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 30px 28px;
  background: rgba(255,255,255,0.035);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s, box-shadow .3s;
}
.agent-card::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--ac, var(--blue));
  opacity: 0.14;
  top: -90px; right: -70px;
  filter: blur(8px);
  transition: opacity .3s;
}
.agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7);
}
.agent-card:hover::before { opacity: 0.26; }
.agent-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.agent-ic {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #04081F;
  background: var(--ac, var(--lime));
  box-shadow: 0 12px 28px -8px var(--ac), inset 0 1px 0 rgba(255,255,255,0.4);
}
.agent-ic svg { width: 24px; height: 24px; }
.agent-num {
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.4);
}
.agent-card h3 {
  font-family: var(--display); font-size: 30px; font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1; color: #fff;
}
.agent-card p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.66); margin: 0 0 22px; }
.agent-uses {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 7px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.agent-uses li {
  font-size: 11.5px; font-weight: 500;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

/* ============================ Bots section (light) — typing chat ============================ */
.bots-bg {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FE 100%);
  position: relative;
  overflow: hidden;
}
.bots-bg::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,80,197,0.10) 0%, transparent 70%);
  top: -160px; left: -120px;
  pointer-events: none;
}
.bots-bg .wrap { position: relative; z-index: 1; }
.bot-avatar-mono {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 700; font-size: 30px;
  box-shadow: 0 10px 24px -8px var(--bc);
  position: relative;
}
.bot-avatar-mono::after {
  content: "";
  position: absolute; right: -3px; bottom: -3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #20D67A; border: 3px solid #fff;
}

/* ============================ AI across institution — journey ============================ */
.spine-bg {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(39,80,197,0.06), transparent 60%),
    linear-gradient(180deg, #F7F9FE 0%, #FBFCFE 100%);
  position: relative; overflow: hidden;
}
.journey-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.journey-scroll::-webkit-scrollbar { height: 8px; }
.journey-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.journey-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 18px -10px rgba(10,10,20,0.1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.journey-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--jc); }
.journey-step {
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--muted);
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.journey-step .js-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--jc); color: #fff;
  display: grid; place-items: center; font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.journey-ic {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in oklab, var(--jc) 14%, white);
  color: var(--jc);
}
.journey-card h4 {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink);
}
.journey-stage-name { font-size: 12px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.journey-card p { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.journey-ai {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
}
.journey-ai svg { color: var(--jc); flex-shrink: 0; margin-top: 1px; }
.journey-ai b { color: var(--ink); }
.journey-hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); font-family: var(--display);
  letter-spacing: 0.05em; margin-bottom: 8px;
}

/* ============================ Responsible AI / guardrails grid ============================ */
.guard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .guard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guard-grid { grid-template-columns: 1fr; } }
.guard {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .25s, background .25s, border-color .25s;
}
.guard:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.guard-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(200,255,60,0.14); color: var(--lime);
}
.guard h4 { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: #fff; }
.guard p { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.45; }

/* ============================ FAQ accordion ============================ */
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 8px;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background .25s, border-color .25s, transform .3s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, background .25s;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item.open .faq-icon { background: var(--blue); border-color: var(--blue); }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner {
  padding: 0 8px 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
}
.faq-dark .faq-item { border-color: rgba(255,255,255,0.14); }
.faq-dark .faq-q { color: #fff; }
.faq-dark .faq-q:hover { color: var(--lime); }
.faq-dark .faq-icon { border-color: rgba(255,255,255,0.3); }
.faq-dark .faq-icon::before, .faq-dark .faq-icon::after { background: #fff; }
.faq-dark .faq-item.open .faq-icon { background: var(--lime); border-color: var(--lime); }
.faq-dark .faq-item.open .faq-icon::before,
.faq-dark .faq-item.open .faq-icon::after { background: var(--ink); }
.faq-dark .faq-a-inner { color: rgba(255,255,255,0.72); }

/* ============================ SERVICES HERO ============================ */
.svch {
  background:
    radial-gradient(50% 50% at 88% 6%, rgba(39,80,197,0.10), transparent 60%),
    linear-gradient(180deg, #FBFCFE 0%, #F4F7FD 100%);
  position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 80px) 0 clamp(60px, 7vw, 110px);
}
.svch-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1080px) { .svch-grid { grid-template-columns: 1fr; gap: 44px; } }
.svch h1 {
  font-family: var(--display); font-weight: 600;
  letter-spacing: -0.04em; line-height: 0.98;
  font-size: clamp(44px, 5.4vw, 88px);
  margin: 22px 0 0;
  font-variation-settings: "wdth" 95, "opsz" 96;
}
.svch h1 .it { font-style: italic; font-weight: 500; color: var(--blue); }
.svch-sub {
  font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5;
  color: var(--ink-2); max-width: 56ch; margin: 24px 0 0;
}
.svch-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* stacked image w/ chips */
.svch-visual {
  position: relative;
  aspect-ratio: 1 / 1.04;
  min-height: 460px;
}
.svch-photo {
  position: absolute;
  inset: 8% 0 0 4%;
  border-radius: 26px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
.svch-photo img { width: 100%; height: 100%; object-fit: cover; }
.svch-photo-2 {
  position: absolute;
  width: 42%;
  aspect-ratio: 4/3;
  right: 0; bottom: 4%;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.svch-photo-2 img { width: 100%; height: 100%; object-fit: cover; }
.svch-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  background: #fff;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 16px 36px -14px rgba(10,10,20,0.34), 0 0 0 1px rgba(10,10,20,0.03);
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.svch-chip .ck { color: #fff; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); flex-shrink: 0; }
.svch-chip.c1 { top: 2%; left: 0; animation-delay: -1s; }
.svch-chip.c1 .ck { background: var(--coral); }
.svch-chip.c2 { top: 30%; right: -2%; animation-delay: -2.5s; }
.svch-chip.c2 .ck { background: var(--blue); }
.svch-chip.c3 { bottom: 28%; left: -3%; animation-delay: -1.8s; }
.svch-chip.c3 .ck { background: var(--mint); }
.svch-chip.c4 { bottom: -1%; left: 26%; animation-delay: -3.2s; }
.svch-chip.c4 .ck { background: var(--purple); }
@media (max-width: 560px) { .svch-chip { font-size: 11px; padding: 7px 12px; } }

/* ============================ What we help — split cards ============================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 26px 28px;
  display: flex; align-items: center; gap: 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.help-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.help-card:nth-child(2n) .help-ic { background: #FFE7DC; color: var(--coral); }
.help-card:nth-child(3n) .help-ic { background: var(--mint-soft); color: #008463; }
.help-card span { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); }

/* ============================ Service cards — 10 in a grid ============================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--sc, var(--blue));
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-ic {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--sc) 12%, white);
  color: var(--sc);
}
.svc-ic svg { width: 28px; height: 28px; }
.svc-num {
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px;
}
.svc-card h3 {
  font-family: var(--display); font-size: 24px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.05; color: var(--ink);
}
.svc-card > div > p { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.svc-list li {
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
  padding: 5px 11px; border-radius: 999px;
  background: var(--line-soft); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-list li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sc); flex-shrink: 0;
}
.svc-pos {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--display);
  font-size: 14px; font-weight: 500; font-style: italic;
  letter-spacing: -0.01em; line-height: 1.35;
  color: color-mix(in oklab, var(--sc) 78%, #1B1B2A);
}
.svc-pos svg { color: var(--sc); flex-shrink: 0; }

/* ============================ Implementation timeline ============================ */
.timeline-bg { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.timeline-bg::before {
  content: ""; position: absolute;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  opacity: 0.34; top: -340px; left: -200px;
}
.timeline-bg .wrap { position: relative; z-index: 1; }
.timeline-bg .h-section { color: #fff; }
.timeline-bg .h-section .it { color: var(--lime); }
.timeline-bg .eyebrow { color: rgba(255,255,255,0.7); }
.timeline-bg .lede { color: rgba(255,255,255,0.74); }
.timeline-track { position: relative; }
.timeline-line {
  position: absolute; left: 0; right: 0; top: 31px; height: 2px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}
.timeline-line-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--lime), #9BB6FF);
  border-radius: 999px;
  width: 100%;
}
.motion-ok .timeline-line-fill { width: 0; animation: tlGrow 1.6s cubic-bezier(.3,.7,.2,1) .2s forwards; }
@keyframes tlGrow { to { width: 100%; } }
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) { .timeline-steps { grid-template-columns: repeat(4, 1fr); row-gap: 36px; } .timeline-line { display: none; } }
@media (max-width: 560px) { .timeline-steps { grid-template-columns: repeat(2, 1fr); } }
.tstep { position: relative; }
.tstep-node {
  width: 64px; height: 64px; border-radius: 50%;
  background: #0E1542;
  border: 2px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: #fff; position: relative; z-index: 2;
  margin-bottom: 20px;
  transition: border-color .3s, background .3s, transform .3s;
}
.tstep-num {
  position: absolute; top: -6px; right: -6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 12px;
  display: grid; place-items: center; border: 2px solid var(--ink);
}
.tstep:hover .tstep-node { border-color: var(--lime); background: #16215C; transform: translateY(-3px); }
.tstep h4 {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; margin: 0 0 8px; color: #fff;
}
.tstep p { font-size: 12.5px; color: rgba(255,255,255,0.62); line-height: 1.45; margin: 0; }

/* ============================ Institution-type tabs ============================ */
.insttabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line);
  width: fit-content; max-width: 100%;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.insttab {
  padding: 12px 20px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .2s; white-space: nowrap;
}
.insttab .it-ic { width: 22px; height: 22px; display: grid; place-items: center; color: var(--blue); }
.insttab:hover { background: var(--line-soft); color: var(--ink); }
.insttab.active { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(10,10,20,0.3); }
.insttab.active .it-ic { color: var(--lime); }

.instpanel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  align-items: center;
  animation: none;
}
@media (max-width: 880px) { .instpanel { grid-template-columns: 1fr; gap: 28px; padding: 32px; } }
.instpanel-img {
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4/3.4; box-shadow: var(--shadow-md);
  position: relative;
}
.instpanel-img img { width: 100%; height: 100%; object-fit: cover; }
.instpanel-img .ip-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(10,10,20,0.78); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 8px 13px;
  border-radius: 999px; backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px;
}
.instpanel-img .ip-badge .ipd { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.instpanel h3 {
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.02; color: var(--ink);
}
.instpanel .ip-kicker {
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
  display: inline-block;
}
.instpanel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.instpanel li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 12px 16px; border-radius: 12px; background: var(--line-soft);
}
.instpanel li .il-ck {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.instpanel li:nth-child(even) .il-ck { background: var(--coral); }

/* ============================ Why different — grid ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 28px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 180px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--lime);
}
.why-card:nth-child(4n+1) .why-ic { background: var(--blue); color: #fff; }
.why-card:nth-child(4n+2) .why-ic { background: var(--coral); color: #fff; }
.why-card:nth-child(4n+3) .why-ic { background: var(--purple); color: #fff; }
.why-card:nth-child(4n+4) .why-ic { background: var(--mint); color: #fff; }
.why-card h4 { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--ink); line-height: 1.1; }
.why-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ============================ Section intro helper ============================ */
.sec-intro { max-width: 760px; margin-bottom: 56px; }
.sec-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-intro .lede { margin-top: 20px; }
.sec-intro.center .lede { margin-left: auto; margin-right: auto; }

/* ============================ Beyond Software — image cards ============================ */
.beyond-bg {
  background:
    radial-gradient(55% 50% at 0% 0%, rgba(39,80,197,0.10), transparent 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(0,168,120,0.08), transparent 60%),
    linear-gradient(180deg, #FBFCFE 0%, #F4F7FD 100%);
  position: relative; overflow: hidden;
}
.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 880px) { .beyond-grid { grid-template-columns: 1fr; } }
.beyond-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.beyond-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.beyond-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--line-soft);
}
.beyond-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.beyond-card:hover .beyond-img img { transform: scale(1.05); }
.beyond-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,8,31,0) 40%, rgba(4,8,31,0.55) 100%);
}
.beyond-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(4,8,31,0.62);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff; font-family: var(--display);
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.beyond-tag .bt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200,255,60,0.25); }
.beyond-ic {
  position: absolute; bottom: 16px; right: 16px; z-index: 3;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; color: #04081F;
  background: var(--lime);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.5);
}
.beyond-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.beyond-body h3 {
  font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600; letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1.04; color: var(--ink);
}
.beyond-body p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 20px; }
.beyond-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.beyond-chips span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-2);
  padding: 7px 13px; border-radius: 999px;
  background: var(--line-soft); border: 1px solid var(--line);
}
.beyond-chips span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cc, var(--blue)); flex-shrink: 0;
}
.beyond-card.b1 .beyond-ic { background: var(--lime); }
.beyond-card.b2 .beyond-ic { background: #9BB6FF; }
.beyond-card.b3 .beyond-ic { background: #FFD37A; }
.beyond-card.b4 .beyond-ic { background: #FF8A7A; }
