:root {
    --is-navy: #001048;
    --is-accent: #0058F8;
    --is-graphite: #2A2F36;
    --is-text: #1A1D21;
    --is-muted: #6B7280;
    --is-bg: #FFFFFF;
    --is-bg-alt: #F4F6F8;
    --is-border: #E5E7EB;
    --is-radius: 6px;
    --is-container: 1200px;
    --is-section-pad: 80px;
    --is-section-pad-sm: 48px;
  }
body { color: var(--is-text); background: var(--is-bg); }
a { color: var(--is-accent); }
a:hover, a:focus { color: var(--is-navy); }
#sp-header { background: var(--is-bg); border-bottom: 1px solid var(--is-border); }
.sp-megamenu-parent > li > a { color: var(--is-navy) !important; font-weight: 500; }
.btn-primary, .sppb-btn-primary, a.sppb-btn-primary {
    background-color: var(--is-accent) !important;
    border-color: var(--is-accent) !important;
    color: #fff !important;
    border-radius: var(--is-radius) !important;
    box-shadow: none !important;
  }
.btn-primary:hover, .sppb-btn-primary:hover {
    background-color: var(--is-navy) !important;
    border-color: var(--is-navy) !important;
  }
.btn-secondary, .sppb-btn-secondary, .sppb-btn-outline {
    background: transparent !important;
    color: var(--is-navy) !important;
    border: 1px solid var(--is-navy) !important;
    border-radius: var(--is-radius) !important;
  }
.is-section-light { background: var(--is-bg); color: var(--is-text); }
.is-section-dark { background: var(--is-navy); color: #fff; }
.is-card {
    background: var(--is-bg);
    border: 1px solid var(--is-border);
    border-radius: var(--is-radius);
    box-shadow: none;
  }
.logo-image { max-height: 52px; width: auto; height: auto; }
/* Phase 1 sticky logo fix */
#sp-header .logo-image,
#sp-header.header-sticky .logo-image {
    max-height: 52px !important;
    height: 52px !important;
    width: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
    background: transparent !important;
  }
#sp-header .logo-image-phone {
    max-height: 40px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
    background: transparent !important;
  }
#sp-header.header-sticky {
    background: #fff !important;
  }


/* InfraSoma Phase 1.3 — single-row desktop header + breakpoints */

@media (min-width: 1200px) {
      #sp-header.full-header,
      #sp-header.full-header-center {
                  min-height: 72px;
                  height: auto;
                }
      #sp-header .container-inner > .row {
                  flex-wrap: nowrap !important;
                  align-items: center !important;
                  justify-content: space-between !important;
                  min-height: 72px;
                }
      #sp-header #sp-logo {
                  flex: 0 0 auto !important;
                  width: auto !important;
                  max-width: none !important;
                  text-align: left !important;
                  margin: 0 !important;
                }
      #sp-header #sp-menu {
                  flex: 1 1 auto !important;
                  width: auto !important;
                  max-width: none !important;
                  margin: 0 !important;
                }
      #sp-header #sp-menu .sp-column,
      #sp-header .menu-with-offcanvas,
      #sp-header .sp-megamenu-wrapper {
                  width: 100%;
                  justify-content: flex-end !important;
                }
      #sp-header .sp-megamenu-parent {
                  display: flex !important;
                  flex-wrap: nowrap !important;
                  align-items: center !important;
                  justify-content: flex-end !important;
                  gap: 0;
                  margin: 0 !important;
                }
      #sp-header .sp-megamenu-parent > li {
                  float: none !important;
                  display: inline-flex !important;
                  align-items: center !important;
                }
      #sp-header .sp-megamenu-parent > li > a,
      #sp-header .sp-megamenu-parent > li > span.sp-menu-heading {
                  white-space: nowrap !important;
                  padding-left: 12px !important;
                  padding-right: 12px !important;
                  font-size: 15px !important;
                  line-height: 1.2 !important;
                }
      #sp-header .logo-image {
                  max-height: 52px !important;
                  width: auto !important;
                }
      #sp-header a.sppb-btn {
                  margin-left: 8px !important;
                  padding: 8px 16px !important;
                  white-space: nowrap !important;
                }
    }

@media (min-width: 1200px) and (max-width: 1359.98px) {
      #sp-header .sp-megamenu-parent > li > a,
      #sp-header .sp-megamenu-parent > li > span.sp-menu-heading {
                  padding-left: 8px !important;
                  padding-right: 8px !important;
                  font-size: 14px !important;
                }
    }
@media (max-width: 1199.98px) {
      #sp-header .sp-megamenu-parent.d-none.d-lg-block {
                  display: none !important;
                }
      #sp-header #offcanvas-toggler.d-flex.d-lg-none {
                  display: flex !important;
                }
      #sp-header .logo-image.d-none.d-lg-inline-block {
                  display: none !important;
                }
      #sp-header .logo-image-phone.d-inline-block.d-lg-none {
                  display: inline-block !important;
                }
    }

#sp-header.header-sticky {
      background: #fff !important;
      min-height: 72px;
    }
/* sticky logo sizing moved to FINAL block */
.sppb-color-switcher-modes { display: none !important; }


/* InfraSoma Phase 1.3 fallback: hide color/theme switcher controls */
.sp-color-switcher, #sp-color-switcher, .theme-switcher, #theme-switcher,
.sppb-color-switcher, .sppb-theme-switcher { display: none !important; }

/* FINAL logo size consistency — FROZEN footprint 282.88 × 52 (object-fit contain) */
#sp-header .logo-image.d-none.d-lg-inline-block {
  /* Phase 2.1: white top header needs light-bg logo (B), not dark-header (A) */
  content: url('/images/brand/infrasoma/v2/B-horizontal-light-header.png') !important;
  height: 52px !important;
  max-height: 52px !important;
  width: 282.88px !important;
  max-width: 282.88px !important;
  min-width: 282.88px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
#sp-header.header-sticky .logo-image.d-none.d-lg-inline-block,
#sp-header.header-sticky .logo-image {
  content: url('/images/brand/infrasoma/v2/B-horizontal-light-header.png') !important;
  height: 52px !important;
  max-height: 52px !important;
  width: 282.88px !important;
  max-width: 282.88px !important;
  min-width: 282.88px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
#sp-header #sp-logo {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}
#sp-header .logo a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}
#sp-header .logo a:hover,
#sp-header .logo a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
#sp-header .logo a:focus-visible {
  outline: 2px solid #0058F8 !important;
  outline-offset: 3px !important;
}

/* FINAL Phase 1 header CTA containment — logo footprint frozen */
@media (min-width: 1400px) {
  #sp-header .container-inner > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  #sp-header #sp-logo {
    flex: 0 0 auto !important;
    min-width: auto !important;
  }
  #sp-header #sp-menu {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  #sp-header #sp-menu .sp-column,
  #sp-header #sp-menu .menu-with-offcanvas,
  #sp-header #sp-menu .sp-megamenu-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  #sp-header .sp-megamenu-parent {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  #sp-header .sp-megamenu-parent > li {
    flex: 0 0 auto !important;
  }
  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span.sp-menu-heading {
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
    font-size: 15px !important;
  }
  #sp-header a.sppb-btn {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 1399.98px) {
  /* Phase 2 QA fix: megamenu only ≥1400; force visible navy hamburger 992–1399 */
  #sp-header .sp-megamenu-parent,
  #sp-header .sp-megamenu-parent.d-none.d-lg-block {
    display: none !important;
  }
  #sp-header #offcanvas-toggler,
  #sp-header #offcanvas-toggler.d-flex.d-lg-none,
  #sp-header #sp-menu #offcanvas-toggler {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    float: none !important;
    align-items: center !important;
  }
  #sp-header #offcanvas-toggler .burger-icon {
    display: inline-block !important;
    width: 25px !important;
  }
  #sp-header #offcanvas-toggler .burger-icon > span,
  .home-default #sp-header #sp-menu #offcanvas-toggler .burger-icon > span {
    display: block !important;
    height: 2px !important;
    margin: 5px 0 !important;
    background-color: #001048 !important;
  }
  #sp-header .logo-image.d-none.d-lg-inline-block {
    display: none !important;
  }
  #sp-header .logo-image-phone.d-inline-block.d-lg-none {
    display: inline-block !important;
  }
}

/* FINAL collision fix — gap logo→Solutions; full nav only ≥1400px */
#sp-header #sp-logo {
  flex: 0 0 auto !important;
  margin-right: 32px !important;
  padding-right: 0 !important;
}
#sp-header .logo-image.d-none.d-lg-inline-block,
#sp-header.header-sticky .logo-image {
  height: 52px !important;
  max-height: 52px !important;
  width: 282.88px !important;
  max-width: 282.88px !important;
  min-width: 282.88px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
#sp-header .sp-megamenu-parent > li:first-child > a,
#sp-header .sp-megamenu-parent > li:first-child > span.sp-menu-heading {
  padding-left: 0 !important; /* gap comes from logo margin-right */
}

/* Header-only fit fix: preserve frozen logo and CTA at full desktop */
@media (min-width: 1400px) {
  #sp-header > .container {
    max-width: 1228px !important;
  }
}

/* InfraSoma Phase 2 — homepage body only (Phase 1 header/footer FROZEN) */

.is-home .is-section { padding: 80px 0; }
.is-home .is-section-sm { padding: 48px 0; }
.is-home .is-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.is-home .is-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0058F8;
  margin: 0 0 12px;
}
.is-home .is-eyebrow-light { color: rgba(255,255,255,0.85); }
.is-home h1.is-h1 {
  font-family: Inter, sans-serif;
  font-size: 68px;
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 20px;
}
.is-home h2.is-h2 {
  font-family: Inter, sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.15;
  color: #001048;
  margin: 0 0 20px;
}
.is-home h2.is-h2-light { color: #fff; }
.is-home .is-lead {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  max-width: 34em;
  margin: 0 0 28px;
}
.is-home .is-body {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #2A2F36;
  max-width: 40em;
  margin: 0 0 24px;
}
.is-home .is-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.is-home .is-btn-primary {
  background: #0058F8;
  color: #fff !important;
  border-color: #0058F8;
}
.is-home .is-btn-primary:hover { background: #001048; border-color: #001048; color: #fff !important; }
.is-home .is-btn-link {
  color: #fff !important;
  margin-left: 18px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.is-home #home-hero {
  background: linear-gradient(135deg, #001048 0%, #001a66 45%, #003080 100%);
  color: #fff;
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}
.is-home #home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(0,88,248,0.35), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,16,72,0.4));
  pointer-events: none;
}
.is-home #home-hero .is-container { position: relative; z-index: 1; }
.is-home #audience-strip {
  background: #F4F6F8;
  padding: 28px 0;
  border-bottom: 1px solid #E5E7EB;
}
.is-home #audience-strip .is-strip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-right: 16px;
}
.is-home #audience-strip .is-strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #001048;
}
.is-home #audience-strip .is-strip-items span::after {
  content: "·";
  margin-left: 18px;
  color: #CBD5E1;
}
.is-home #audience-strip .is-strip-items span:last-child::after { content: none; }
.is-home .is-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.is-home .is-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 28px 22px;
  box-shadow: none;
}
.is-home .is-card h3 {
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #001048;
  margin: 12px 0 10px;
}
.is-home .is-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #4B5563;
  margin: 0;
}
.is-home .is-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(0,88,248,0.1);
  color: #0058F8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.is-home #architecture { background: #001048; color: #fff; }
.is-home .is-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.is-home .is-flow-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 24px 18px;
}
.is-home .is-flow-step h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}
.is-home .is-flow-step p { color: rgba(255,255,255,0.8); font-size: 15px; margin: 0; line-height: 1.45; }
.is-home .is-flow-label {
  color: #0058F8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.is-home #why-infrasoma { background: #F4F6F8; }
.is-home .is-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.is-home .is-value {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 24px;
}
.is-home .is-value h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #001048;
  margin: 0 0 8px;
}
.is-home .is-value p { margin: 0; font-size: 15px; color: #4B5563; line-height: 1.5; }
.is-home .is-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.is-home .is-step { border-top: 2px solid #0058F8; padding-top: 16px; }
.is-home .is-step .n { font-size: 13px; font-weight: 700; color: #0058F8; margin-bottom: 8px; }
.is-home .is-step h3 { font-size: 16px; color: #001048; margin: 0 0 8px; font-weight: 600; }
.is-home .is-step p { font-size: 14px; color: #4B5563; margin: 0; line-height: 1.45; }
.is-home #request-quote {
  background: linear-gradient(135deg, #001048, #003080);
  color: #fff;
  text-align: center;
}
.is-home #request-quote .is-body { color: rgba(255,255,255,0.9); margin-left: auto; margin-right: auto; }
.is-home #applications .is-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.is-home .is-app {
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 28px;
  background: #fff;
}
.is-home .is-app h3 { font-size: 20px; color: #001048; margin: 0 0 10px; font-weight: 600; }
.is-home .is-app p { margin: 0; color: #4B5563; font-size: 15px; line-height: 1.5; }

@media (max-width: 1199.98px) {
  .is-home .is-card-grid,
  .is-home .is-flow,
  .is-home .is-steps { grid-template-columns: repeat(2, 1fr); }
  .is-home h1.is-h1 { font-size: 52px; }
  .is-home h2.is-h2 { font-size: 38px; }
}
@media (max-width: 767.98px) {
  .is-home .is-card-grid,
  .is-home .is-flow,
  .is-home .is-steps,
  .is-home .is-value-grid,
  .is-home #applications .is-app-grid { grid-template-columns: 1fr; }
  .is-home h1.is-h1 { font-size: 42px; }
  .is-home h2.is-h2 { font-size: 32px; }
  .is-home #home-hero { padding: 64px 0 56px; }
  .is-home .is-btn-link { display: inline-block; margin: 16px 0 0; }
  .is-home .is-section { padding: 56px 0; }
}


/* Phase 2.1 — default white header logo readability (INFRA must remain visible) */
#sp-header:not(.header-sticky) .logo-image.d-none.d-lg-inline-block {
  content: url('/images/brand/infrasoma/v2/B-horizontal-light-header.png') !important;
  height: 52px !important;
  max-height: 52px !important;
  width: 282.88px !important;
  max-width: 282.88px !important;
  min-width: 282.88px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}
#sp-header:not(.header-sticky) .logo-image-phone {
  opacity: 1 !important;
  filter: none !important;
}

/* Phase 2.1 — mobile icon on white header (readable; not dark-bg washout) */
#sp-header .logo-image-phone,
#sp-header:not(.header-sticky) .logo-image-phone,
#sp-header.header-sticky .logo-image-phone {
  content: url('/images/brand/infrasoma/v2/C-icon-mobile-primary.png') !important;
  max-height: 40px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}
