/* ==========================================================================
   Agentic AI service page (page-agentic-ai.php)

   Scoped under body.page-template-page-agentic-ai so these rules always
   beat the sitewide, unscoped .hero / .hero__heading rules in content.css
   (content.css loads on every page, including this one, per
   References/WORDPRESS_DEVELOPMENT.md §7) regardless of stylesheet order.
   ========================================================================== */
body.page-template-page-agentic-ai {
  background: #03000b;
}

body.page-template-page-agentic-ai .page {
  width: 100%;
  max-width: 1521px;
  margin: 0 auto;
  position: relative;
  background: #03000b;
  overflow: hidden;
}

body.page-template-page-agentic-ai {
  --gutter: var(--container-padding-inline, 40px);
}

/* Figma measures multi-line body copy and bold card/column titles by
   their tight glyph box (cap-height to baseline) -- confirmed via
   Figma's own dev-mode codegen, which marks exactly these text nodes
   with text-box-trim/text-box-edge (single-line eyebrows, labels and
   H2 section headings are NOT marked this way in Figma, so they keep
   normal line-height below). Plain CSS line-height includes extra
   ascender/descender space these Figma nodes don't have; stacked
   across every card/column in a section, that phantom space is why
   sections were rendering taller than their Figma frames.
   text-box-trim makes supporting browsers measure text the same way
   Figma does; unsupported browsers just keep today's slightly more
   generous spacing (not broken, just less exact). */
body.page-template-page-agentic-ai :is(
  .hero__desc,
  .impact__desc, .impact__stat-label,
  .waf-card__title, .waf-card__desc, .waf-cta__desc,
  .af__desc p, .af__col-title, .af__col-desc,
  .reqcta__desc,
  .agp-card__desc, .agp-card__point, .agp__note,
  .wtbi__lead, .wtbi__body, .wtbi__stat-label,
  .hwb-card__title,
  .faq__answer,
  .automate__heading
) {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ===================== HERO ===================== */
body.page-template-page-agentic-ai .hero { position: relative; width: 100%; min-height: clamp(420px, 58vw, 730px); background: #03000b; overflow: hidden; padding: 0; }
body.page-template-page-agentic-ai .hero__bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
body.page-template-page-agentic-ai .hero__bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
body.page-template-page-agentic-ai .hero__inner {
  position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: clamp(100px, 8.94vw, 136px) var(--gutter) clamp(56px, 8vw, 92px);
}
body.page-template-page-agentic-ai .hero__eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px;
  text-transform: uppercase; color: #cab5ff; line-height: 13px; margin: 0 0 24px;
}
body.page-template-page-agentic-ai .hero__heading {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: clamp(34px, 6.2vw, 83px); line-height: 0.867;
  text-transform: none; letter-spacing: normal; color: #fff; margin: 0 0 28px; max-width: 655px;
}
body.page-template-page-agentic-ai .hero__desc {
  font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(16px, 2.4vw, 25px); line-height: 1.6;
  color: rgba(255,255,255,0.82); margin: 0; max-width: 704px;
}

/* ===================== AGENT IMPACT ===================== */
body.page-template-page-agentic-ai .impact {
  background: #100C19; padding: 55px var(--gutter); display: flex; width: 100%;
}
body.page-template-page-agentic-ai .impact__row { display: flex; flex-wrap: wrap; gap: 40px 128px; align-items: center; width: 100%; }
body.page-template-page-agentic-ai .impact__eyebrow-block { flex: 1 1 280px; }
body.page-template-page-agentic-ai .impact__eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 1.86px;
  text-transform: uppercase; color: #bd9cff; line-height: 13px; margin: 0;
}
body.page-template-page-agentic-ai .impact__desc {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: 15px; line-height: 28px;
  color: #aaa5b3; max-width: 362px; margin: 20px 0 0 0;
}
body.page-template-page-agentic-ai .impact__stats { display: flex; flex-wrap: wrap; gap: 28px 35px; align-items: flex-start; flex: 2 1 480px; }
body.page-template-page-agentic-ai .impact__stat {
  border-left: 1px solid rgba(160,100,255,0.3); padding-left: 24px; flex: 1 1 180px; max-width: 258.391px;
}
body.page-template-page-agentic-ai .impact__stat-num {
  font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(38px, 5vw, 57.6px); line-height: 1;
  color: #fff; margin: 0 0 8px 0;
}
body.page-template-page-agentic-ai .impact__stat-label {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 21px;
  color: #aaa5b3; max-width: 233px; margin: 0;
}

/* ===================== WHERE AGENTS FIT ===================== */
body.page-template-page-agentic-ai .container-1440 { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
body.page-template-page-agentic-ai .waf { padding: clamp(56px, 8vw, 96px) 0; display: flex; flex-direction: column; align-items: center; background: #03000b; }
body.page-template-page-agentic-ai .waf__head { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 100%; margin-bottom: clamp(20px, 2.17vw, 33px); }
body.page-template-page-agentic-ai .waf__eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px;
  text-transform: uppercase; color: #cab5ff; line-height: 13px; margin: 0;
}
body.page-template-page-agentic-ai .waf__heading {
  font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(30px, 5.3vw, 76px); line-height: 1.03;
  letter-spacing: -0.0455em; color: #fff; text-align: center; margin: 0; max-width: 1134px;
}
body.page-template-page-agentic-ai .waf__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; align-items: stretch; width: 100%; margin-bottom: clamp(40px, 6vw, 72px); }
body.page-template-page-agentic-ai .waf-card {
  background: #0f0821; border: 1px solid rgba(185,108,255,0.32); border-radius: 25px;
  padding: 20px 20px 33px 16px; box-sizing: border-box; height: auto; display: flex;
}
body.page-template-page-agentic-ai .waf-card__inner { display: flex; flex-direction: column; gap: 28px; align-items: flex-end; width: 100%; }
body.page-template-page-agentic-ai .waf-card__illus { width: 100%; height: 380.76px; border-radius: 10px; display: block; background: #1c162d; object-fit: cover; }
body.page-template-page-agentic-ai .waf-card__text { display: flex; flex-direction: column; gap: 0; align-items: flex-start; width: 100%; }
body.page-template-page-agentic-ai .waf-card__num {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 1.86px;
  text-transform: uppercase; color: #cab5ff; margin: 0 0 16px;
}
body.page-template-page-agentic-ai .waf-card__title {
  font-family: 'Inter', sans-serif; font-weight: 900; font-size: 22px; line-height: 31.6px;
  color: #fff; margin: 0 0 18px;
}
body.page-template-page-agentic-ai .waf-card__desc {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: 15px; line-height: 28px;
  color: rgba(255,255,255,0.8); margin: 0;
}
/* card 4 hand-built illustration */
body.page-template-page-agentic-ai .waf-card4-illus { position: relative; width: 100%; height: 380.76px; border-radius: 10px; background: #1c162d; overflow: hidden; }
body.page-template-page-agentic-ai .waf-c4-chip {
  position: absolute; top: 253px; width: 128px; height: 86px; background: #f8f5ff;
  border: 1.111px solid #beb1ff; border-radius: 11.111px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
}
body.page-template-page-agentic-ai .waf-c4-chip img { width: 27px; height: 27px; }
body.page-template-page-agentic-ai .waf-c4-chip span { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #171717; }
body.page-template-page-agentic-ai .waf-c4-card { position: absolute; left: 23px; top: 45px; width: 274px; height: 194px; background: #fff; border-radius: 12px; box-sizing: border-box; padding: 20px; }
body.page-template-page-agentic-ai .waf-c4-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; border-bottom: 1px solid #efeff0; }
body.page-template-page-agentic-ai .waf-c4-row:last-child { border-bottom: none; }
body.page-template-page-agentic-ai .waf-c4-row__left { display: flex; align-items: center; gap: 12px; }
body.page-template-page-agentic-ai .waf-c4-row__icon { background: #ede8ff; border-radius: 48px; padding: 6px; display: flex; }
body.page-template-page-agentic-ai .waf-c4-row__icon img { width: 18px; height: 18px; }
body.page-template-page-agentic-ai .waf-c4-row__bar { width: 84px; height: 8px; border-radius: 5px; background: #ede9f9; }
body.page-template-page-agentic-ai .waf-c4-row__pill { width: 40px; height: 16px; border-radius: 8px; background: #c6f5cf; }
body.page-template-page-agentic-ai .waf-cta {
  background: #0f0821; border: 1px solid rgba(185,108,255,0.32); border-radius: 25px;
  padding: clamp(24px, 4vw, 40px); box-sizing: border-box; display: flex; align-items: center; width: 100%;
}
body.page-template-page-agentic-ai .waf-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; gap: 24px 40px; }
body.page-template-page-agentic-ai .waf-cta__text { display: flex; flex-direction: column; gap: 22px; flex: 1 1 320px; }
body.page-template-page-agentic-ai .waf-cta__title {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.0724em;
  color: #fff; margin: 0;
}
body.page-template-page-agentic-ai .waf-cta__desc {
  font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; line-height: 28px;
  color: rgba(255,255,255,0.6); margin: 0; max-width: 746px;
}
body.page-template-page-agentic-ai .waf-cta__btn {
  background: #f7e934; display: inline-flex; gap: 6px; align-items: center; justify-content: center;
  height: 56px; padding: 14px 20px 15px; flex-shrink: 0;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; color: #151515; white-space: nowrap;
}
body.page-template-page-agentic-ai .waf-cta__btn img { width: 10px; height: 17.508px; transform: rotate(90deg); }

/* ===================== AGENT FOUNDATIONS ===================== */
body.page-template-page-agentic-ai .af { background: #ffffff; padding-top: clamp(56px, 8vw, 120px); }
body.page-template-page-agentic-ai .af__inner { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
body.page-template-page-agentic-ai .af__top { display: flex; justify-content: space-between; gap: 40px 60px; padding-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
body.page-template-page-agentic-ai .af__intro { display: flex; flex-direction: column; gap: 20px; flex: 1 1 320px; max-width: 450px; }
body.page-template-page-agentic-ai .af__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #b96cff; margin: 0; line-height: 13px; }
body.page-template-page-agentic-ai .af__heading { font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(32px, 5.3vw, 76px); line-height: 1.006; letter-spacing: -0.0564em; color: #28262d; margin: 0; }
body.page-template-page-agentic-ai .af__desc { display: flex; flex-direction: column; gap: 32px; flex: 2 1 320px; max-width: 900px; font-family: 'Inter', sans-serif; font-weight: 400; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: #625f67; margin: 0; }
body.page-template-page-agentic-ai .af__desc p { margin: 0; }
body.page-template-page-agentic-ai .af__desc strong { font-weight: 700; color: inherit; }
body.page-template-page-agentic-ai .af__grid { display: flex; border-top: 1px solid #d0ced0; flex-wrap: wrap; }
body.page-template-page-agentic-ai .af__col { flex: 1 1 220px; min-width: 220px; padding: 32px 24px 50px; display: flex; flex-direction: column; gap: 26px; border-right: 1px solid #d0ced0; }
body.page-template-page-agentic-ai .af__col:last-child { border-right: none; }
body.page-template-page-agentic-ai .af__col-head { display: flex; flex-direction: column; gap: 22px; }
body.page-template-page-agentic-ai .af__bar { width: 40.5px; height: 3px; background: #b96cff; display: block; }
body.page-template-page-agentic-ai .af__col-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; line-height: 35.556px; color: #28262d; margin: 0; }
body.page-template-page-agentic-ai .af__col-desc { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 15px; line-height: 28px; color: rgba(104,100,109,0.8); margin: 0; }

/* ===================== REQUIREMENT CTA BANNER ===================== */
body.page-template-page-agentic-ai .reqcta {
  background:
    radial-gradient(ellipse 700px 540px at 88% -12%, rgba(147,90,255,0.20), transparent 65%),
    #03000b;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}
body.page-template-page-agentic-ai .reqcta__card {
  max-width: 1440px; margin: 0 auto; box-sizing: border-box;
  background:
    radial-gradient(ellipse 700px 210px at 20% 15%, rgba(96,52,164,0.12), transparent 70%),
    linear-gradient(180deg, rgba(19,12,35,0.92) 0%, rgba(12,8,25,0.94) 100%);
  border: 1px solid rgba(120,82,186,0.5); border-radius: 22px 22px 0 22px;
  box-shadow: 0px 18px 55px 0px rgba(0,0,0,0.24), inset 0px 1px 0px rgba(255,255,255,0.02);
  padding: clamp(28px, 6vw, 65px); display: flex; flex-direction: column; align-items: center; text-align: center;
}
body.page-template-page-agentic-ai .reqcta__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #cab5ff; margin: 0 0 20px; }
body.page-template-page-agentic-ai .reqcta__heading { font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(28px, 5vw, 70px); line-height: 1; letter-spacing: -0.045em; color: #fff; margin: 0 0 25px; max-width: 900px; }
body.page-template-page-agentic-ai .reqcta__desc { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; line-height: 28px; color: #aab1c0; max-width: 700px; margin: 0 0 28px; }
body.page-template-page-agentic-ai .reqcta__btn { background: #f7e934; color: #151515; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.028px; padding: 14px 32px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
body.page-template-page-agentic-ai .reqcta__btn img { width: 10px; height: 13.4px; transform: rotate(90deg); flex-shrink: 0; }

/* ===================== OUR AGENT PORTFOLIO ===================== */
body.page-template-page-agentic-ai .agp { background: #ffffff; padding: clamp(47px, 6.6vw, 100px) 0 clamp(56px, 8vw, 120px); }
body.page-template-page-agentic-ai .agp__inner { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 48px; align-items: flex-start; }
body.page-template-page-agentic-ai .agp__side { width: 472px; max-width: 100%; flex-shrink: 0; position: sticky; top: 40px; display: flex; flex-direction: column; gap: 28px; }
body.page-template-page-agentic-ai .agp__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 2.86px; text-transform: uppercase; color: #9a60fb; margin: 0; }
body.page-template-page-agentic-ai .agp__heading { font-family: 'Gelasio', serif; font-weight: 500; font-size: clamp(30px, 3.5vw, 48px); line-height: 1; letter-spacing: -0.03em; color: #171717; margin: 0; }
body.page-template-page-agentic-ai .agp__navlist { display: flex; flex-direction: column; }
body.page-template-page-agentic-ai .agp__navitem { display: flex; align-items: center; gap: 32px; padding: 12px 0; border-top: 1px solid #ececec; }
body.page-template-page-agentic-ai .agp__navlist .agp__navitem:last-child { border-bottom: 1px solid #ececec; }
body.page-template-page-agentic-ai .agp__navbar { width: 5.5px; height: 55.3px; background: #9a60fa; flex-shrink: 0; opacity: 0; }
body.page-template-page-agentic-ai .agp__navitem.is-active .agp__navbar { opacity: 1; }
body.page-template-page-agentic-ai .agp__navlabel { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; color: rgba(23,23,23,0.48); }
body.page-template-page-agentic-ai .agp__navitem.is-active .agp__navlabel { font-weight: 500; color: #171717; }
body.page-template-page-agentic-ai .agp__list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
body.page-template-page-agentic-ai .agp-card { background: #0f0821; border-radius: 24px; padding: clamp(16px, 3vw, 24px); }
body.page-template-page-agentic-ai .agp-card__top { padding-bottom: 24px; display: flex; flex-direction: column; gap: 0; }
body.page-template-page-agentic-ai .agp-card__tags { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
body.page-template-page-agentic-ai .agp-card__tag { background: rgba(141,93,232,0.12); border: 1px solid rgba(160,100,255,0.4); border-radius: 20px; padding: 6px 12px; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #bd9cff; white-space: nowrap; }
body.page-template-page-agentic-ai .agp-card__subtitle { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #8b8497; }
body.page-template-page-agentic-ai .agp-card__title { font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.04em; color: #fff; margin: 16px 0 0; }
body.page-template-page-agentic-ai .agp-card__desc { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 24px; color: rgba(255,255,255,0.72); margin: 12px 0 0; }
body.page-template-page-agentic-ai .agp-card__media { height: clamp(180px, 32vw, 395px); border-radius: 14px; overflow: hidden; position: relative; background: #d9d3f2; }
body.page-template-page-agentic-ai .agp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.page-template-page-agentic-ai .agp-card__foot { min-height: 216px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.09); box-sizing: border-box; display: flex; gap: 24px 40px; align-items: stretch; flex-wrap: wrap; }
body.page-template-page-agentic-ai .agp-card__impact { width: 300px; max-width: 100%; min-height: 159px; flex: 1 1 260px; border: 1px solid rgba(160,100,255,0.3); border-radius: 14px; background: linear-gradient(150deg, rgba(141,93,232,0.22) 0%, rgba(23,16,34,0.4) 100%); padding: 22px; box-sizing: border-box; }
body.page-template-page-agentic-ai .agp-card__impact-label { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 0 0 6px; }
body.page-template-page-agentic-ai .agp-card__impact-num { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 56px; line-height: 56px; letter-spacing: -2.24px; color: #bd9cff; margin: 0 0 8px; }
body.page-template-page-agentic-ai .agp-card__impact-caption { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: #fff; margin: 0; }
body.page-template-page-agentic-ai .agp-card__points { flex: 4 1 320px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
body.page-template-page-agentic-ai .agp-card__point { position: relative; padding-left: 20px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; line-height: 21.75px; color: #fff; }
body.page-template-page-agentic-ai .agp-card__point::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7.5px; border-radius: 50px; background: #8d5de8; }
body.page-template-page-agentic-ai .agp__note { font-family: 'Inter', sans-serif; font-size: 13px; line-height: 22px; color: rgba(23,23,23,0.45); font-style: italic; margin: 0; }

/* ===================== WHY TBI ===================== */
body.page-template-page-agentic-ai .wtbi { background: #03000b; }
body.page-template-page-agentic-ai .wtbi__inner { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
body.page-template-page-agentic-ai .wtbi__top { display: flex; justify-content: space-between; gap: 32px 60px; padding: 100px 0 clamp(48px, 8vw, 80px); flex-wrap: wrap; }
body.page-template-page-agentic-ai .wtbi__col1 { flex: 1 1 320px; }
body.page-template-page-agentic-ai .wtbi__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #cab5ff; margin: 0 0 24px; }
body.page-template-page-agentic-ai .wtbi__heading { font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(34px, 6vw, 86.4px); line-height: 0.95; letter-spacing: -0.055em; color: #ecebea; margin: 0; }
body.page-template-page-agentic-ai .wtbi__heading .accent { color: #a977ef; }
body.page-template-page-agentic-ai .wtbi__col2 { flex: 1 1 320px; max-width: 827px; display: flex; flex-direction: column; gap: 24px; }
body.page-template-page-agentic-ai .wtbi__lead { font-family: 'Inter', sans-serif; font-weight: 600; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: #ecebea; margin: 0; }
body.page-template-page-agentic-ai .wtbi__lead .muted { font-weight: 400; color: #b9b5c0; }
body.page-template-page-agentic-ai .wtbi__body { font-family: 'Inter', sans-serif; font-weight: 400; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: #b9b5c0; margin: 0; }
body.page-template-page-agentic-ai .wtbi__body .strong { font-weight: 600; color: #ecebea; }
body.page-template-page-agentic-ai .wtbi__stats { display: flex; width: 100%; flex-wrap: wrap; }
body.page-template-page-agentic-ai .wtbi__stat { flex: 1 1 180px; padding: 32px; border-top: 1px solid #261f4e; border-bottom: 1px solid #261f4e; border-left: 1px solid #261f4e; }
body.page-template-page-agentic-ai .wtbi__stat:first-child { border-left: none; }
body.page-template-page-agentic-ai .wtbi__stat-num { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(36px, 4.5vw, 57.6px); line-height: 1; color: #ecebea; margin: 0 0 32px; }
body.page-template-page-agentic-ai .wtbi__stat-num .stars { color: #ff3434; font-size: 20px; letter-spacing: 2px; margin-left: 6px; }
body.page-template-page-agentic-ai .wtbi__stat-label { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 21.7px; color: #aaa5b3; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.page-template-page-agentic-ai .wtbi__stat-label img { height: 12px; width: auto; }
body.page-template-page-agentic-ai .wtbi__features { display: flex; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
body.page-template-page-agentic-ai .wtbi__feature { flex: 1 1 180px; padding: 30px 24px 28px; border-right: 1px solid #261f4e; }
body.page-template-page-agentic-ai .wtbi__feature:last-child { border-right: none; }
body.page-template-page-agentic-ai .wtbi__feature-bar { width: 40px; height: 3px; background: #ad7af5; display: block; margin-bottom: 18px; }
body.page-template-page-agentic-ai .wtbi__feature-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 23px; line-height: 27.6px; color: #ecebea; margin: 0; }

/* ===================== TECHNOLOGY MARQUEE ===================== */
body.page-template-page-agentic-ai .techstack { background: #ffffff; padding: clamp(56px, 8vw, 120px) 0; overflow: hidden; }
body.page-template-page-agentic-ai .techstack__inner { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; box-sizing: border-box; }
body.page-template-page-agentic-ai .techstack__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #b96cff; margin: 0 0 28px; }
body.page-template-page-agentic-ai .techstack__heading { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(28px, 5.3vw, 76px); line-height: 1.03; letter-spacing: -0.0455em; color: #171717; margin: 0 0 clamp(16px, 1.5vw, 20px); }
body.page-template-page-agentic-ai .techstack__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: 14px; }
body.page-template-page-agentic-ai .techstack__row:last-child { margin-bottom: 0; }
body.page-template-page-agentic-ai .techstack__track { display: flex; gap: 20px; width: max-content; animation: agenticTechScroll 34s linear infinite; }
body.page-template-page-agentic-ai .techstack__row--rev .techstack__track { animation-direction: reverse; }
body.page-template-page-agentic-ai .techstack__pill { display: flex; align-items: center; gap: 10px; background: rgba(245,243,248,0.16); border: 1px solid #dadada; border-radius: 12px; padding: 14px 16px; white-space: nowrap; flex-shrink: 0; }
body.page-template-page-agentic-ai .techstack__pill img { width: 12px; height: 12px; flex-shrink: 0; }
body.page-template-page-agentic-ai .techstack__pill span { font-family: 'DM Sans', sans-serif; font-weight: 450; font-size: 16px; color: #171717; }
@keyframes agenticTechScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  body.page-template-page-agentic-ai .techstack__track { animation: none; }
}

/* ===================== HOW WE BUILD ===================== */
body.page-template-page-agentic-ai .hwb { background: #faf9fd; padding: clamp(56px, 8vw, 120px) var(--gutter); }
body.page-template-page-agentic-ai .hwb__inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(32px, 5vw, 48px); width: 100%; }
body.page-template-page-agentic-ai .hwb__eyebrow { font-family: 'Gelasio', serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #9a60fb; text-align: center; margin: 0; }
body.page-template-page-agentic-ai .hwb__heading { font-family: 'Gelasio', serif; font-weight: 400; font-size: clamp(30px, 5.3vw, 76px); line-height: 1.13; letter-spacing: -0.045em; color: #171717; text-align: center; max-width: 978px; margin: 25px 0 0; }
body.page-template-page-agentic-ai .hwb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3.29vw, 50px); width: 100%; }
body.page-template-page-agentic-ai .hwb-card { border: 1px solid rgba(124,58,237,0.35); border-radius: 14px; padding: 30px 26px 34px; min-height: 275px; box-shadow: 0px 22px 48px 0px rgba(50,20,85,0.14); background-image: radial-gradient(ellipse at 48% 45%, rgba(161,94,255,0.22), transparent 55%), linear-gradient(157deg, #190d2a 6%, #170c28 61%, #100a21 94%); display: flex; flex-direction: column; gap: 0; box-sizing: border-box; }
body.page-template-page-agentic-ai .hwb-card__icon { width: 42px; height: 42px; border-radius: 12px; background: #321042; border: 1px solid rgba(172,59,255,0.64); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
body.page-template-page-agentic-ai .hwb-card__icon img { width: 24px; height: 24px; }
body.page-template-page-agentic-ai .hwb-card__title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 22px; line-height: 28px; color: #fff; margin: 22px 0 0; }
body.page-template-page-agentic-ai .hwb-card__desc { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; line-height: 21.45px; color: rgba(255,255,255,0.68); margin: 18px 0 0; }

/* ===================== FAQ ===================== */
body.page-template-page-agentic-ai .faq { background: #040507; padding: clamp(56px, 8vw, 120px) var(--gutter); }
body.page-template-page-agentic-ai .faq__container { max-width: 981px; margin: 0 auto; padding: 0; }
body.page-template-page-agentic-ai .faq__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2.86px; text-transform: uppercase; color: #cab5ff; text-align: center; margin: 0 0 20px; }
body.page-template-page-agentic-ai .faq__heading { font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(28px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.054em; color: #f7f7f8; text-align: center; margin: auto; width: 53%;     padding-bottom: 40px; }
body.page-template-page-agentic-ai .faq__list { display: flex; flex-direction: column; }
body.page-template-page-agentic-ai .faq__item { border-bottom: 0.8px solid rgba(255,255,255,0.08); }
body.page-template-page-agentic-ai .faq__question { margin: 0; }
body.page-template-page-agentic-ai .faq__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 16px; background: none; border: 0; text-align: left; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; color: #fff; cursor: pointer; }
body.page-template-page-agentic-ai .faq__icon { position: relative; width: 17px; height: 17px; flex-shrink: 0; }
body.page-template-page-agentic-ai .faq__icon::before, body.page-template-page-agentic-ai .faq__icon::after { content: ''; position: absolute; background: #9b66ff; top: 50%; left: 50%; transform: translate(-50%, -50%); }
body.page-template-page-agentic-ai .faq__icon::before { width: 17px; height: 2px; }
body.page-template-page-agentic-ai .faq__icon::after { width: 2px; height: 17px; transition: transform .2s ease; }
body.page-template-page-agentic-ai .faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
body.page-template-page-agentic-ai .faq__answer { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; line-height: 28px; color: #aab1c0; padding: 0 0 24px; }
body.page-template-page-agentic-ai .faq__answer[hidden] { display: none; }

/* ===================== AUTOMATE BANNER ===================== */
body.page-template-page-agentic-ai .automate { background: #f7f6f9; }
body.page-template-page-agentic-ai .automate__card { max-width: 1440px; margin: 0 auto; position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; aspect-ratio: 1520 / 696; display: flex; align-items: center; justify-content: center; text-align: center; background: #f7f6f9; }
body.page-template-page-agentic-ai .automate__bgimg { position: absolute; inset: 0; width: 1265px; height: 456px; object-fit: cover; z-index: 0; margin: auto; }
body.page-template-page-agentic-ai .automate__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(48px, 9vw, 90px) clamp(20px, 5vw, 40px); max-width: 760px; box-sizing: border-box; }
body.page-template-page-agentic-ai .automate__eyebrow { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.13px; text-transform: uppercase; color: #cab5ff; margin: 0; }
body.page-template-page-agentic-ai .automate__heading { font-family: 'Inter', sans-serif; font-weight: 900; font-size: clamp(28px, 5.2vw, 63px); line-height: 1.13; color: #fff; margin: 0; max-width: 702px; }
body.page-template-page-agentic-ai .automate__btn { margin-top: 12px; background: #f7e934; color: #151515; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px; padding: 14px 32px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
body.page-template-page-agentic-ai .automate__btn img { width: 13.5px; height: 9.9px; flex-shrink: 0; }

/* ===================== RESPONSIVE BREAKPOINTS ===================== */
/* .waf-card 4's decorative mock-UI illustration is a fixed ~297px-wide absolutely
   positioned graphic — it needs a wider column than the other cards' fluid content,
   so waf__cards drops to 2-up well before the general 1023px tablet breakpoint. */
@media (max-width: 1439px) {
  body.page-template-page-agentic-ai .waf__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  body.page-template-page-agentic-ai .hwb__grid { grid-template-columns: repeat(2, 1fr); }
  body.page-template-page-agentic-ai .agp__inner { flex-direction: column; }
  body.page-template-page-agentic-ai .agp__side { position: static; width: 100%; max-width: none; }
  body.page-template-page-agentic-ai .agp__navlist { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  body.page-template-page-agentic-ai .agp__navitem { border-top: none; padding: 4px 0; }
  body.page-template-page-agentic-ai .agp__navlist .agp__navitem:last-child { border-bottom: none; }
}

@media (max-width: 599px) {
  body.page-template-page-agentic-ai .waf__cards { grid-template-columns: 1fr; }
  body.page-template-page-agentic-ai .hwb__grid { grid-template-columns: 1fr; }
  body.page-template-page-agentic-ai .waf-card__illus, body.page-template-page-agentic-ai .waf-card4-illus { height: 260px; }
  body.page-template-page-agentic-ai .agp-card__points { grid-template-columns: 1fr; }
  body.page-template-page-agentic-ai .impact__stat { flex-basis: 100%; max-width: none; }
}

@media (max-width: 480px) {
  body.page-template-page-agentic-ai .waf-c4-card { transform: scale(0.82); transform-origin: top left; }
}
