/*--------------------------------------------------------------
# PXB Tech — theme overrides
# Navy base + Presento red accent, restyled hero, and the
# Netic isometric visuals. Loaded after main.css.
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Lockdown: prevent casual copy, selection, image drag, and printing.
# Form fields are explicitly opted back in below so the assessment
# and contact form remain fully usable.
--------------------------------------------------------------*/
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}
@media print {
  body { display: none !important; }
  html::before {
    content: "Printing is disabled for this page.";
    display: block;
    padding: 40px;
    font-family: sans-serif;
  }
}

:root {
  --pxb-navy-1: #0a1644;   /* deepest */
  --pxb-navy-2: #0b1e5b;   /* base navy */
  --pxb-navy-3: #16236e;   /* lifted navy */
  --pxb-violet: #5b3df0;   /* echoes the isometric art */

  /* Premium typography: Plus Jakarta Sans for headings/nav, Inter for body */
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Plus Jakarta Sans", "Inter", sans-serif;
  --nav-font: "Plus Jakarta Sans", "Inter", sans-serif;
}

/* Tighten headings a touch for the new typeface */
h1, h2, h3, h4, .sitename {
  letter-spacing: -0.01em;
}

/* Recolor Presento's dark sections to navy. We keep the template's
   signature skewed .section-bg band exactly — only its color changes
   from #1b1b1b to navy, so About / Services / etc. stay "standard Presento". */
.dark-background,
.navy-background {
  --background-color: #0b1e5b;
  --default-color: #d7ddf2;
  --heading-color: #ffffff;
  --surface-color: #14245f;
  --contrast-color: #ffffff;
}

/* The angled dark band itself (About, Services, Tools, Why) — navy gradient */
.section-bg.dark-background:before {
  background-image: linear-gradient(160deg, var(--pxb-navy-1) 0%, var(--pxb-navy-2) 55%, var(--pxb-navy-3) 100%);
}

/* Flat navy fill for full-bleed blocks (footer + any .navy-background) */
.footer.dark-background,
.navy-background {
  background-color: var(--pxb-navy-2);
  background-image: linear-gradient(160deg, var(--pxb-navy-1) 0%, var(--pxb-navy-2) 55%, var(--pxb-navy-3) 100%);
}

.dark-background .section-title p,
.dark-background .feature-band p,
.navy-background .section-title p {
  color: color-mix(in srgb, #ffffff, transparent 25%);
}

/*--------------------------------------------------------------
# Brand wordmark
--------------------------------------------------------------*/
/* Wordmark: PXB in Orbitron. P and B black, X in #9929EA, a dot, then a
   much smaller TECH in #CC66DA sitting flush against the dot.
   NOTE: main.css sets ".header .logo span { font-size:32px; color:accent }"
   and a footer equivalent, so these selectors are intentionally specific
   enough to win. */
.header .logo h1.sitename,
.header .logo h1.sitename span,
.footer .footer-about .logo .sitename,
.footer .footer-about .logo .sitename span {
  font-family: "Orbitron", sans-serif;
}

.header .logo h1.sitename {
  letter-spacing: 0.5px;
  font-weight: 800;
  color: #111111;
}
.header .logo h1.sitename .logo-x {
  color: #9929EA;
}

/* The dot keeps full size, colored to match TECH */
.header .logo h1.sitename .logo-dot,
.footer .footer-about .logo .sitename .logo-dot {
  color: #CC66DA;
}

/* TECH: about 3x smaller than before, flush against the dot */
.header .logo h1.sitename .logo-tech,
.footer .footer-about .logo .sitename .logo-tech {
  color: #CC66DA;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0;
  vertical-align: baseline;
}

/* Footer: P and B white on the navy background, X stays purple */
.footer .footer-about .logo .sitename {
  color: #ffffff;
}
.footer .footer-about .logo .sitename .logo-x {
  color: #9929EA;
}

/*--------------------------------------------------------------
# Mobile nav: compact dropdown panel (not a full-screen overlay)
# Overrides Presento's `position: fixed; inset: 0` mobile menu so
# the menu only takes the space its links need.
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
  body.mobile-nav-active {
    overflow: visible;
  }

  /* Navmenu stays in its natural place in the header row. */
  .mobile-nav-active .navmenu {
    position: static;
    overflow: visible;
    background: transparent;
    inset: auto;
  }

  /* Keep the hamburger / close icon where it belongs, in the header. */
  .mobile-nav-active .mobile-nav-toggle {
    position: static;
    top: auto;
    right: auto;
    margin-right: 0;
    z-index: auto;
    color: var(--heading-color);
    font-size: 28px;
  }

  /* The dropdown panel itself, sized to its content. */
  .mobile-nav-active #navmenu > ul {
    display: block;
    position: absolute;
    inset: auto;
    top: calc(100% + 6px);
    right: 12px;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    min-width: 220px;
    max-width: 280px;
    max-height: none;
    margin: 0;
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid rgba(11, 30, 91, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(11, 30, 91, 0.18);
    overflow: visible;
    z-index: 1030;
    animation: pxb-dropdown-in 0.18s ease-out;
  }

  .mobile-nav-active #navmenu > ul > li {
    display: block;
    width: 100%;
    margin: 0;
  }

  .mobile-nav-active #navmenu > ul > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    background: transparent;
    border-radius: 0;
    line-height: 1.4;
  }

  .mobile-nav-active #navmenu > ul > li > a:hover,
  .mobile-nav-active #navmenu > ul > li > a.active {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 94%);
  }

  @keyframes pxb-dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/*--------------------------------------------------------------
# Compact header
--------------------------------------------------------------*/
.header {
  padding: 8px 0;
}
.scrolled .header {
  padding: 6px 0;
}
.header .logo h1 {
  font-size: 30px;
}

/*--------------------------------------------------------------
# "Request a walkthrough" button: white 3D button, navy text
# (sits on the navy Tools and Custom Dashboards band)
--------------------------------------------------------------*/
.btn-walkthrough {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--pxb-navy-2);
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease, background 0.2s ease;
}
.btn-walkthrough:hover {
  color: var(--pxb-navy-1);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.28),
    0 14px 28px rgba(0, 0, 0, 0.40);
}
.btn-walkthrough:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.28),
    0 4px 10px rgba(0, 0, 0, 0.30);
}

/*--------------------------------------------------------------
# Buttons: white, 3D, Roboto
--------------------------------------------------------------*/
.header .btn-getstarted,
.header .btn-getstarted:focus,
.hero .btn-get-started,
.feature-band .btn-get-started,
.assessment-cta .btn-getstarted,
.assessment-cta .btn-getstarted:focus,
.contact .php-email-form button[type="submit"] {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--pxb-navy-2);
  white-space: nowrap;
  padding: 10px 22px;
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border: 1px solid rgba(11, 30, 91, 0.14);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(11, 30, 91, 0.10),
    0 3px 8px rgba(11, 30, 91, 0.10);
  transition: box-shadow 0.18s ease, color 0.2s ease, background 0.2s ease;
}

.header .btn-getstarted:hover,
.hero .btn-get-started:hover,
.feature-band .btn-get-started:hover,
.assessment-cta .btn-getstarted:hover,
.contact .php-email-form button[type="submit"]:hover {
  color: var(--pxb-navy-1);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 4px rgba(11, 30, 91, 0.12),
    0 5px 12px rgba(11, 30, 91, 0.14);
}

.header .btn-getstarted:active,
.hero .btn-get-started:active,
.feature-band .btn-get-started:active,
.contact .php-email-form button[type="submit"]:active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(11, 30, 91, 0.10);
}

/*--------------------------------------------------------------
# Hero — navy, two-column, isometric visual (replaces full-bleed photo)
--------------------------------------------------------------*/
.hero {
  --background-color: var(--pxb-navy-2);
  --default-color: #d7ddf2;
  --heading-color: #ffffff;
  min-height: auto;
  padding: 90px 0 100px;
  background-color: var(--pxb-navy-2);
  background-image:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--pxb-violet), transparent 70%) 0%, transparent 45%),
    radial-gradient(circle at 12% 95%, color-mix(in srgb, var(--accent-color), transparent 80%) 0%, transparent 40%),
    linear-gradient(160deg, var(--pxb-navy-1) 0%, var(--pxb-navy-2) 55%, var(--pxb-navy-3) 100%);
}

/* the template paints a dark overlay for the old background photo — not needed now */
.hero:before { display: none; }

/* Hero eyebrow: JS-driven multi-phrase typewriter in mint, with a blinking caret. */
.hero-eyebrow {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color: #4DFFBE;
  margin-bottom: 18px;
  white-space: nowrap;
  line-height: 1.5;
  min-height: 1.5em;
  padding-right: 2px;
  border-right: 2px solid #4DFFBE;
  animation: pxb-eyebrow-caret 0.75s step-end infinite;
}
/* The previous leading line is gone. */
.hero-eyebrow::before { content: none; }

@keyframes pxb-eyebrow-caret {
  0%, 100% { border-right-color: #4DFFBE; }
  50%      { border-right-color: transparent; }
}

.hero h2 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.hero .hero-lead {
  color: color-mix(in srgb, #ffffff, transparent 22%);
  font-size: 18px;
  margin-top: 18px;
  max-width: 600px;
}

.hero .hero-lead em { color: #fff; font-style: normal; font-weight: 600; }

.hero .btn-watch-video i { font-size: 22px; color: #4DFFBE; }
.hero .btn-watch-video:hover i { color: #ffffff; }
.hero .btn-watch-video { color: #ffffff; }
.hero .btn-watch-video:hover { color: #4DFFBE; }

/* Isometric hero art — soft float + glow */
.hero-visual {
  max-height: 440px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  animation: pxb-float 6s ease-in-out infinite;
}

@keyframes pxb-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/*--------------------------------------------------------------
# Platforms strip
--------------------------------------------------------------*/
.platforms-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 26px;
}

.platform-pill {
  display: block;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  font-size: 17px;
  color: var(--heading-color);
  padding: 10px 4px;
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.platform-pill:hover { opacity: 1; color: var(--accent-color); }

/*--------------------------------------------------------------
# Disciplines (tabs) isometric visuals
--------------------------------------------------------------*/
.discipline-visual {
  max-height: 360px;
  filter: drop-shadow(0 20px 45px rgba(11, 30, 91, 0.25));
}

/*--------------------------------------------------------------
# Feature band (Tools & Custom Dashboards)
--------------------------------------------------------------*/
.feature-band .feature-heading {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}
.feature-band .feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}
.feature-band .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: color-mix(in srgb, #ffffff, transparent 15%);
}
.feature-band .feature-list i {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 3px;
}
.feature-visual {
  max-height: 380px;
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.45));
  animation: pxb-float 7s ease-in-out infinite;
}

/*--------------------------------------------------------------
# Industries cards
--------------------------------------------------------------*/
.industry-item {
  background: var(--surface-color);
  padding: 30px 26px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.industry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 30, 91, 0.12);
  border-color: var(--accent-color);
}
.industry-item i {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 14px;
  display: inline-block;
}
.industry-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color);
}
.industry-item p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

/*--------------------------------------------------------------
# Why PXB: commitments sub-title and closing callout
--------------------------------------------------------------*/
.why .why-commit-title {
  margin: 60px 0 26px;
}
.why .why-commit-title h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why .why-commit-title p {
  color: color-mix(in srgb, #ffffff, transparent 30%);
  margin: 0;
}

.why .why-callout {
  margin: 44px auto 0;
  max-width: 920px;
  padding: 30px 34px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}
.why .why-callout i {
  display: block;
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 12px;
}
.why .why-callout p {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# Why PXB cards (on navy)
--------------------------------------------------------------*/
.why-card {
  background: var(--surface-color);
  padding: 34px 26px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #ffffff, transparent 88%);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.why-card i {
  font-size: 42px;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: inline-block;
}
.why-card h4 {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card p {
  color: color-mix(in srgb, #ffffff, transparent 25%);
  font-size: 14px;
  margin: 0;
}

/*--------------------------------------------------------------
# Our Tools section (white, assessment cards)
--------------------------------------------------------------*/
.tools-section {
  background: #fbfcff;
}

.tool-card {
  background: #ffffff;
  border: 1px solid rgba(11, 30, 91, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 6px 20px rgba(11, 30, 91, 0.06);
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 30, 91, 0.12);
}
.tool-card .tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.tool-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
}
.tool-card p {
  color: var(--default-color);
  line-height: 1.65;
}
.tool-card .tool-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
.tool-card .tool-bullets li {
  padding: 4px 0;
  color: var(--default-color);
}
.tool-card .tool-bullets i {
  color: var(--accent-color);
  margin-right: 8px;
}
.tool-card .btn-tool {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--pxb-navy-2);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border: 1px solid rgba(11, 30, 91, 0.14);
  border-radius: 10px;
  padding: 11px 24px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(11, 30, 91, 0.10),
    0 3px 8px rgba(11, 30, 91, 0.10);
  transition: box-shadow 0.18s ease, color 0.2s ease, background 0.2s ease;
}
.tool-card .btn-tool:hover {
  color: var(--pxb-navy-1);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 4px rgba(11, 30, 91, 0.12),
    0 5px 12px rgba(11, 30, 91, 0.14);
}
.tool-card-soon {
  opacity: 0.92;
}
.tool-card-soon .tool-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

/*--------------------------------------------------------------
# Cloud Adoption Assessment modal
--------------------------------------------------------------*/
.ac-modal .modal-content {
  border-radius: 18px;
  border: none;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 30, 91, 0.35);
}
.ac-modal .modal-header {
  background: linear-gradient(135deg, var(--pxb-navy-1), var(--pxb-navy-3));
  color: #ffffff;
  border: none;
  padding: 18px 26px;
  align-items: flex-start;
}
.ac-modal .modal-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #ffffff;
}
.ac-modal .ac-step-label {
  display: block;
  color: color-mix(in srgb, #ffffff, transparent 35%);
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.4px;
}
.ac-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.85;
}

.ac-modal .ac-progress {
  height: 4px;
  background: rgba(11, 30, 91, 0.08);
}
.ac-modal .ac-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent-color);
  transition: width 0.35s ease;
}

.ac-modal .modal-body {
  padding: 26px 28px 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.ac-modal .ac-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  line-height: 1.35;
}
.ac-modal .ac-help {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  margin-bottom: 18px;
}

.ac-modal .ac-options {
  display: grid;
  gap: 10px;
}
.ac-modal .ac-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(11, 30, 91, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  user-select: none;
  margin: 0;
}
.ac-modal .ac-option:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  background: rgba(11, 30, 91, 0.02);
}
.ac-modal .ac-option.selected {
  border-color: #16a34a;
  background: #ecfdf5;
}
.ac-modal .ac-option.selected span {
  color: #064e3b;
  font-weight: 600;
}
.ac-modal .ac-option input {
  width: 16px;
  height: 16px;
  accent-color: #16a34a;
  cursor: pointer;
}
.ac-modal .ac-option span {
  font-size: 15px;
  color: var(--heading-color);
  font-weight: 500;
}

/* Single text / email input (name and email questions) */
.ac-modal .ac-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(11, 30, 91, 0.18);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--heading-color);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ac-modal .ac-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.ac-modal .ac-input:focus {
  border-color: #16a34a;
  background: #f6fff9;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
.ac-modal .ac-error {
  color: #b45309;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  min-height: 18px;
}

/* Animated multi-stage AI progress shown while the assessment is being built */
.ac-modal .ac-ai-progress {
  text-align: center;
  padding: 32px 20px 40px;
}
.ac-modal .ac-ai-orb {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  position: relative;
  border-radius: 50%;
}
.ac-modal .ac-ai-orb span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #16a34a;
  animation: ac-orb-spin 1.6s cubic-bezier(.5,.15,.5,.85) infinite;
}
.ac-modal .ac-ai-orb span:nth-child(2) {
  inset: 12px;
  border-top-color: var(--pxb-navy-2);
  animation-duration: 2.2s;
  animation-direction: reverse;
}
.ac-modal .ac-ai-orb span:nth-child(3) {
  inset: 24px;
  border-top-color: #CC66DA;
  animation-duration: 1.2s;
}
.ac-modal .ac-ai-orb::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.35), rgba(11,30,91,0.05));
  filter: blur(6px);
  animation: ac-orb-pulse 1.6s ease-in-out infinite;
}
@keyframes ac-orb-spin { to { transform: rotate(360deg); } }
@keyframes ac-orb-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.18); }
}
.ac-modal .ac-ai-stage {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
  min-height: 26px;
}
.ac-modal .ac-ai-dots {
  display: inline-block;
  width: 24px;
  text-align: left;
  color: #16a34a;
}
.ac-modal .ac-ai-substage {
  color: var(--default-color);
  font-size: 13.5px;
  margin: 0 auto;
  max-width: 380px;
  line-height: 1.6;
}

/* Free text input that appears under "Other" */
.ac-modal .ac-freetext {
  margin-top: 16px;
}
.ac-modal .ac-freetext label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.ac-modal .ac-freetext input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(11, 30, 91, 0.18);
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--heading-color);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ac-modal .ac-freetext input:focus {
  border-color: #16a34a;
  background: #f6fff9;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.ac-modal .modal-footer {
  border: none;
  padding: 16px 26px 22px;
  gap: 8px;
  justify-content: flex-end;
}

/* Modal buttons, same flattened treatment as every other CTA on the site */
.btn-ac,
.btn-ac-primary,
.btn-ac-secondary {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--pxb-navy-2);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border: 1px solid rgba(11, 30, 91, 0.14);
  border-radius: 10px;
  padding: 9px 22px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(11, 30, 91, 0.10),
    0 3px 8px rgba(11, 30, 91, 0.10);
  transition: box-shadow 0.18s ease, color 0.2s ease, background 0.2s ease;
}
.btn-ac:hover,
.btn-ac-primary:hover,
.btn-ac-secondary:hover {
  color: var(--pxb-navy-1);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 2px 4px rgba(11, 30, 91, 0.12),
    0 5px 12px rgba(11, 30, 91, 0.14);
}
.btn-ac:active,
.btn-ac-primary:active,
.btn-ac-secondary:active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(11, 30, 91, 0.10);
}

/* Loading state while the AI assessment is being generated */
.ac-loading {
  text-align: center;
  padding: 48px 20px;
}
.ac-loading h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-top: 22px;
  color: var(--heading-color);
}
.ac-loading p {
  color: var(--default-color);
  max-width: 380px;
  margin: 8px auto 0;
  line-height: 1.6;
  font-size: 14px;
}
.ac-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border: 4px solid rgba(11, 30, 91, 0.10);
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: ac-spin 0.85s linear infinite;
}
@keyframes ac-spin { to { transform: rotate(360deg); } }

/* AI generated report (Claude returns sanitized HTML) */
.ac-report-ai h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
  margin: 6px 0 14px;
}
.ac-report-ai h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  font-weight: 700;
  margin: 22px 0 10px;
}
.ac-report-ai p {
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 14.5px;
}
.ac-report-ai ul,
.ac-report-ai ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.ac-report-ai li {
  line-height: 1.65;
  margin-bottom: 7px;
  font-size: 14.5px;
  color: var(--default-color);
}
.ac-report-ai li::marker {
  color: var(--accent-color);
  font-weight: 700;
}
.ac-report-ai strong {
  color: var(--heading-color);
}

/* Report */
.ac-report-page {
  padding: 4px 2px;
}
.ac-report-header h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 10px;
}
.ac-report-header p {
  color: var(--default-color);
  margin-bottom: 24px;
}
.ac-report-section {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11, 30, 91, 0.08);
}
.ac-report-section:last-of-type {
  border-bottom: none;
}
.ac-report-section h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 12px;
}
.ac-report-section p {
  color: var(--default-color);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 14.5px;
}
.ac-report-cta {
  background: linear-gradient(135deg, var(--pxb-navy-1), var(--pxb-navy-3));
  color: #ffffff;
  padding: 22px 26px;
  border-radius: 14px;
  margin-top: 18px;
}
.ac-report-cta p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}
/* Contact box on the report screen, blue with white text, centered.
   Same treatment on both the success and the already used outcomes. */
.ac-contact-box {
  background: #1a4a9b;
  color: #ffffff;
  text-align: center;
  padding: 18px 22px;
  border-radius: 10px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.ac-contact-box a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-contact-box a:hover {
  color: #cfe0ff;
}

/*--------------------------------------------------------------
# FAQ — premium 3D card grid
--------------------------------------------------------------*/
/* soft gradient + subtle dotted texture so the white cards "float" */
.faq.section {
  background-color: #eef1fb;
  background-image:
    radial-gradient(color-mix(in srgb, var(--pxb-navy-2), transparent 92%) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #e9edfa 100%);
  background-size: 22px 22px, 100% 100%;
}

.faq .faq-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1140px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .faq .faq-container { grid-template-columns: 1fr; }
}

.faq .faq-container .faq-item {
  margin-bottom: 0;
  padding: 26px 60px 26px 28px;
  /* glassy: translucent diagonal sheen */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.30) 45%,
    rgba(255, 255, 255, 0.50) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  /* glossy: soft drop + bright top edge + inner glow */
  box-shadow:
    0 6px 20px rgba(11, 30, 91, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 24px rgba(255, 255, 255, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.faq .faq-container .faq-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.42) 45%,
    rgba(255, 255, 255, 0.62) 100%);
  box-shadow:
    0 10px 26px rgba(11, 30, 91, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 26px rgba(255, 255, 255, 0.3);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.faq .faq-container .faq-item h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.faq .faq-container .faq-item .faq-content p {
  font-size: 14.5px;
  line-height: 1.75;
}

/* Single wrapper keeps the grid-row collapse working when an answer
   contains lists as well as paragraphs. */
.faq .faq-container .faq-item .faq-content .faq-answer {
  overflow: hidden;
}
.faq .faq-container .faq-item .faq-content .faq-answer > *:last-child {
  margin-bottom: 0;
}
.faq .faq-container .faq-item .faq-content ol,
.faq .faq-container .faq-item .faq-content ul {
  margin: 4px 0 14px;
  padding-left: 20px;
}
.faq .faq-container .faq-item .faq-content li {
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 7px;
  padding-left: 4px;
}
.faq .faq-container .faq-item .faq-content li::marker {
  color: var(--accent-color);
  font-weight: 700;
}

/* circular, raised toggle button */
.faq .faq-container .faq-item .faq-toggle {
  top: 24px;
  right: 22px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 78%);
}

/* open card — keep it lifted, add a red rail and a solid red toggle */
.faq .faq-container .faq-active {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.75) 100%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow:
    0 8px 26px rgba(11, 30, 91, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.faq .faq-container .faq-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--accent-color);
}
.faq .faq-container .faq-active .faq-toggle {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--accent-color), transparent 55%);
}

/*--------------------------------------------------------------
# Contact: "Request your free assessment" list panel
--------------------------------------------------------------*/
.assessment-list h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.assessment-list .al-intro {
  color: var(--default-color);
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.assessment-item {
  background: #ffffff;
  border: 1px solid rgba(11, 30, 91, 0.08);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(11, 30, 91, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.assessment-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 12px 26px rgba(11, 30, 91, 0.10);
}
.assessment-item h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}
.assessment-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.assessment-item li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color);
}
.assessment-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
}

.assessment-cta {
  margin-top: 26px;
  padding: 8px 0 4px;
  text-align: center;
  background: none;
  box-shadow: none;
}
.assessment-cta p {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.55;
}

/*--------------------------------------------------------------
# Misc polish
--------------------------------------------------------------*/
/* Presento ships the contact info card with 0 left/right padding, so
   longer copy touches the card edges. Give it breathing room. */
.contact .info-item {
  padding-left: 28px;
  padding-right: 28px;
}
.contact .info-item p {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact .info-item a { color: var(--accent-color); }
.footer .footer-contact a,
.footer .footer-newsletter a { color: inherit; }

@media (max-width: 991px) {
  .hero { padding: 60px 0 70px; text-align: center; }
  .hero .hero-lead { margin-left: auto; margin-right: auto; }
  .hero .d-flex { justify-content: center; }
  .equation-display { justify-content: center; }
  .hero h2 { font-size: 34px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.2px; }
  .hero .btn-watch-video { margin: 0; }
}

/*--------------------------------------------------------------
# Responsive cleanup for phone and tablet
# Goal, no overflow, no overlap, readable touch targets.
--------------------------------------------------------------*/

/* Container side padding everywhere on small screens */
@media (max-width: 767px) {
  .container, .container-fluid, .container-xl { padding-left: 18px; padding-right: 18px; }

  /* Header: keep logo and primary CTA on one line, allow button text to be a touch smaller */
  .header { padding: 6px 0; }
  .header .logo h1 { font-size: 26px; }
  .header .btn-getstarted {
    font-size: 12px;
    padding: 7px 14px;
    white-space: nowrap;
  }
  .header .logo h1.sitename .logo-tech { font-size: 12px; letter-spacing: 1px; }

  /* Hero typography */
  .hero h2 { font-size: 28px; }
  .hero .hero-lead { font-size: 15px; }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    white-space: normal;       /* let long phrases wrap on phones */
    line-height: 1.5;
    min-height: 3em;
    text-align: left;
  }
  .hero .d-flex.flex-wrap { row-gap: 10px; }

  /* Section titles, slightly tighter on phone */
  .section-title { padding-bottom: 40px; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 14.5px; }

  /* Disciplines tabs: stack vertically on phone so each label is readable */
  .tabs .nav-tabs.row { flex-direction: column; }
  .tabs .nav-tabs .nav-item.col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .tabs .nav-link {
    padding: 12px 18px;
    text-align: left;
  }
  .tabs .nav-link h4 { font-size: 15px; margin: 0; }
  .tabs .tab-content { margin-top: 20px; }
  .tabs .discipline-visual { max-height: 240px; margin-top: 18px; }

  /* Tool cards, why cards, industry items, faq items, assessment items, all
     more compact so two columns or single column lay out cleanly */
  .tool-card, .why-card, .industry-item {
    padding: 22px 20px;
    border-radius: 14px;
  }
  .tool-card h3 { font-size: 18px; }

  .why .why-commit-title { margin-top: 36px; }
  .why .why-commit-title h3 { font-size: 22px; }

  /* PXB Equation icon boxes: side-by-side icon+text on phone */
  .about .icon-box { padding-left: 50px; }

  /* Assessment items */
  .assessment-list h3 { font-size: 20px; }
  .assessment-item { padding: 14px 16px; }
  .assessment-item h4 { font-size: 15px; }
  .assessment-item li { font-size: 13.5px; }

  /* Cloud Adoption modal */
  .ac-modal .modal-body { padding: 18px 18px 4px; max-height: 65vh; }
  .ac-modal .ac-question { font-size: 17px; }
  .ac-modal .ac-help { font-size: 13px; }
  .ac-modal .ac-option { padding: 11px 14px; }
  .ac-modal .ac-option span { font-size: 14px; }
  .ac-modal .modal-footer { padding: 14px 18px 18px; flex-wrap: wrap; }
  .ac-modal .btn-ac { padding: 9px 16px; font-size: 13.5px; }

  /* FAQ cards on phones, single column */
  .faq .faq-container { grid-template-columns: 1fr; gap: 14px; }
  .faq .faq-container .faq-item { padding: 22px 50px 22px 22px; }
  .faq .faq-container .faq-item h3 { font-size: 15.5px; }

  /* Tools and Custom Dashboards band: image first stacks before text on phone */
  .feature-band .feature-heading { font-size: 24px; }
  .feature-band .feature-visual { max-height: 240px; }

  /* Contact info-item, smaller padding */
  .contact .info-item { padding: 22px 22px; }
  .contact .info-item p { font-size: 14px; }

  /* Footer columns, tighter on phone */
  .footer .footer-top { padding-top: 30px; }
  .footer h4 { font-size: 15px; }
  .footer p, .footer li, .footer a { font-size: 13.5px; }

  /* Big hero visual smaller so the column doesn't push layout */
  .hero-visual { max-height: 280px; }
}

/* Very narrow phones */
@media (max-width: 420px) {
  .hero h2 { font-size: 24px; line-height: 1.18; }
  .hero .hero-lead { font-size: 14px; }
  .hero-eyebrow { font-size: 9.5px; }
  .header .btn-getstarted { font-size: 11px; padding: 6px 11px; }
  .section-title h2 { font-size: 22px; }

  /* Modal footer buttons stack on tiny screens */
  .ac-modal .modal-footer { gap: 6px; }
  .ac-modal .btn-ac { flex: 1 1 auto; font-size: 13px; padding: 9px 12px; }

  /* PXB Equation values stay inline */
  .header .logo h1 { font-size: 24px; }
}

/*--------------------------------------------------------------
# Strategy Pulse intro — left aligned in the standard container,
# same Inter body font as the rest of the site, both paragraphs
# premium and equal, comfortable spacing.
--------------------------------------------------------------*/
.section-title.section-title-tight {
  padding-bottom: 28px;
}
.strategy-intro {
  text-align: left;
  margin-bottom: 50px;
}
.strategy-intro p {
  font-family: var(--default-font);
  font-size: 16.5px;
  line-height: 1.75;
  color: #1a2333;
  margin: 0 0 22px;
  font-weight: 400;
}
.strategy-intro p:last-child {
  margin-bottom: 0;
}
.strategy-intro p.strategy-lead {
  font-weight: 500;
}
.strategy-intro p.strategy-coda {
  color: #000000;
  font-weight: 500;
}

@media (max-width: 991px) {
  .strategy-intro p { font-size: 16px; line-height: 1.72; }
}
@media (max-width: 767px) {
  .strategy-intro { margin-bottom: 36px; }
  .strategy-intro p { font-size: 15.5px; margin-bottom: 18px; }
}

/*--------------------------------------------------------------
# Our Services — glassy 3D pillar tabs (no animation, just shadow)
--------------------------------------------------------------*/
#services .nav-tabs {
  border: 0;
  gap: 10px;
  margin-bottom: 6px;
}
#services .nav-tabs .nav-item.col {
  padding: 0;
}
#services .nav-link {
  position: relative;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 4px;
  background:
    linear-gradient(180deg, #fcf8ff 0%, #f5ecfc 100%);
  border: 1px solid rgba(153,41,234,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 2px 6px rgba(106,35,191,0.10);
  color: #1a2333;
  overflow: hidden;
  transition: none;
}
/* Subtle top sheen */
#services .nav-link::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 40%;
  border-radius: 11px 11px 40% 40% / 11px 11px 18% 18%;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
#services .nav-link h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.2px;
  color: #1a2333;
  position: relative;
  z-index: 1;
}
#services .nav-link:hover,
#services .nav-link:focus {
  color: #1a2333;
  border-color: rgba(153,41,234,0.30);
  background:
    linear-gradient(180deg, rgba(252,248,255,0.98) 0%, rgba(240,228,250,0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 3px 8px rgba(106,35,191,0.14);
}
#services .nav-link.active,
#services .nav-link.active.show {
  background:
    linear-gradient(180deg, #9929EA 0%, #6a23bf 100%);
  border-color: rgba(255,255,255,0.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 4px 10px rgba(106,35,191,0.30);
}
#services .nav-link.active::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 100%);
}
#services .nav-link.active h4 {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.20);
}

@media (max-width: 991px) {
  #services .nav-tabs { gap: 8px; }
  #services .nav-link { padding: 12px 14px; margin: 3px; }
  #services .nav-link h4 { font-size: 14px; }
}
@media (max-width: 767px) {
  #services .nav-link { padding: 11px 12px; border-radius: 10px; }
  #services .nav-link h4 { font-size: 13px; }
}

/*--------------------------------------------------------------
# Our Services — sub-heads, engagement chips, cross-cutting cards
--------------------------------------------------------------*/
#services .tab-pane h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
#services .tab-pane p.fst-italic {
  color: #5a6776;
  margin-bottom: 18px;
}
#services .tab-pane ul {
  list-style: none;
  padding-left: 0;
  margin: 6px 0 14px;
}
#services .tab-pane ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 14.5px;
  line-height: 1.55;
}
#services .tab-pane ul li i {
  color: #C0392B;
  font-size: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}

.svc-subhead {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C0392B;
  margin: 18px 0 6px;
}

.svc-engagements {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.svc-chip {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: #f4f5f8;
  color: #1a2333;
  transition: none;
}
.svc-chip-mint {
  background: linear-gradient(180deg, #ecfcf5 0%, #d8f4e8 100%);
  color: #0c8e6a;
  border-color: #b8eedd;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 3px rgba(12,142,106,0.18);
}
.svc-chip-violet {
  background: linear-gradient(180deg, #f5ecfc 0%, #e6d3f5 100%);
  color: #6a23bf;
  border-color: #d7c0ef;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 3px rgba(106,35,191,0.18);
}
.svc-chip-orchid {
  background: linear-gradient(180deg, #ecf2fc 0%, #d4e1f5 100%);
  color: #1a4a9b;
  border-color: #bdd1ee;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 1px 3px rgba(26,74,155,0.18);
}

/* Cross-cutting trio under the tabs */
.svc-crosscut {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid #e6e8ee;
}
.svc-crosscut-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1a2333;
  margin-bottom: 22px;
  text-align: center;
}
.svc-crosscut-card {
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 24px 22px;
  height: 100%;
  box-shadow: 0 2px 6px rgba(20, 30, 60, 0.04);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.svc-crosscut-card:hover {
  box-shadow: 0 6px 16px rgba(20, 30, 60, 0.08);
  border-color: #d0d4de;
}
.svc-crosscut-card i {
  font-size: 28px;
  color: #C0392B;
  display: block;
  margin-bottom: 10px;
}
.svc-crosscut-card h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: #1a2333;
}
.svc-crosscut-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

@media (max-width: 991px) {
  #services .tab-pane h3 { font-size: 22px; }
  .svc-crosscut { margin-top: 40px; padding-top: 28px; }
}
@media (max-width: 767px) {
  #services .tab-pane ul li { font-size: 14px; }
  .svc-crosscut-title { font-size: 12px; }
}

/* ====================================================================
   Our Services — mobile layout (≤991px and ≤575px)
   On phones, 5 pillar tabs do not fit comfortably in a grid. We turn the
   tab strip into a horizontally scrollable, swipeable row, and we move
   the supporting illustration BELOW the text so customers see the
   content first rather than scrolling past an image.
   ==================================================================== */

/* Once the tab content stacks (≤lg), the text column should appear ABOVE
   the image, not below it. Bootstrap's order-1 / order-2 classes put the
   image first by default; override that here. */
@media (max-width: 991.98px) {
  #services .tab-pane .row { align-items: stretch; }
  #services .tab-pane .col-lg-6.order-2 { order: 1 !important; }
  #services .tab-pane .col-lg-6.order-1 { order: 2 !important; }
  #services .tab-pane .discipline-visual {
    max-height: 220px;
    margin-top: 24px;
    opacity: 0.92;
  }
}

@media (max-width: 575px) {
  /* Horizontal scrolling tab strip. Five tabs slide left-right with a
     subtle fade on each edge to hint scrollability. */
  #services .nav-tabs.row {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px 4px;
    padding: 6px 16px;
    gap: 8px;
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  #services .nav-tabs.row::-webkit-scrollbar { display: none; }
  #services .nav-tabs .nav-item.col {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
    scroll-snap-align: start;
  }
  #services .nav-link {
    padding: 9px 14px;
    margin: 0;
    border-radius: 9px;
    min-height: 40px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #services .nav-link h4 {
    font-size: 12.5px;
    line-height: 1.2;
    white-space: nowrap;
    font-weight: 700;
  }

  /* Tighter typography inside each pillar tab on phones */
  #services .tab-pane h3 { font-size: 20px; line-height: 1.25; margin-top: 4px; }
  #services .tab-pane p.fst-italic { font-size: 14px; margin-bottom: 14px; }
  #services .tab-pane p { font-size: 14.5px; line-height: 1.6; }
  #services .tab-pane ul li { font-size: 13.5px; padding: 3px 0; line-height: 1.5; gap: 8px; }
  #services .tab-pane ul li i { font-size: 15px; margin-top: 2px; }
  .svc-subhead { font-size: 10px; letter-spacing: 1.8px; margin: 16px 0 4px; }

  /* Image sits below the text and stays modest in size */
  #services .tab-pane .discipline-visual {
    max-height: 180px;
    width: auto;
    margin: 18px auto 4px;
    opacity: 0.9;
  }

  /* Strategy Pulse intro, slightly tighter on phones */
  .strategy-intro p { font-size: 14.5px; line-height: 1.62; margin-bottom: 14px; }
  .strategy-intro p.strategy-lead { font-size: 15px; }

  /* Cross-cutting trio */
  .svc-crosscut-card { padding: 18px 16px; }
  .svc-crosscut-card h6 { font-size: 15.5px; }
  .svc-crosscut-card p { font-size: 13px; line-height: 1.55; }

  /* Tool cards: keep the bullet list a bit tighter */
  .tool-card .tool-bullets li { font-size: 13px; }

  /* Engagement chips wrap nicely without crowding */
  .svc-engagements { gap: 6px; flex-wrap: wrap; }
  .svc-chip { font-size: 10.5px; letter-spacing: 1px; padding: 5px 10px; }
}
