/**
 * XTRA Business 4–inspired layout & styling for Aisu
 * Reference: https://xtratheme.com/elementor/business-4/
 * Loaded after styles.css; scoped via .theme-xtra-b4 on <body>
 */

.theme-xtra-b4 {
  --xtra-blue: #227cbc;
  --xtra-blue-dark: #1a5f96;
  --xtra-navy: #0f2338;
  --xtra-text: #333333;
  --xtra-muted: #666666;
  --xtra-line: #e8e8e8;
  --xtra-soft: #f4f6f8;
  --xtra-orange: #ff6b35;
  --xtra-orange-hover: #e85a28;
  --xtra-radius: 4px;
  --xtra-radius-lg: 6px;
  --xtra-header-h: 88px;
  --xtra-container: min(1140px, 100% - 2.5rem);
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-emerald: #059669;
  --nav-emerald-bright: #10b981;
  --nav-link-glow: rgba(191, 219, 254, 0.82);
  --nav-cta-start: #5eead4;
  --nav-cta-end: #0f7669;
  --nav-pill-shadow: 0 8px 32px rgba(15, 35, 56, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --xtra-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --xtra-ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
}

body.theme-xtra-b4 {
  background: #ffffff;
  background-image: none;
  color: var(--xtra-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  --header-h: 128px;
}

/* ——— Floating pill navigation (XTRA-style) ——— */
.theme-xtra-b4 .site-header--pill-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.theme-xtra-b4 .site-header--pill-nav .site-header__pill-shell,
.theme-xtra-b4 .site-header--pill-nav .nav-pill,
.theme-xtra-b4 .site-header--pill-nav .site-nav--pill,
.theme-xtra-b4 .site-header--pill-nav .nav-toggle--pill {
  pointer-events: auto;
}

.theme-xtra-b4 .site-header--pill-nav::after {
  display: none;
}

.theme-xtra-b4 .site-header--pill-nav.is-scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 40px rgba(15, 35, 56, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.65);
}

.theme-xtra-b4 .site-header__pill-shell {
  position: relative;
  padding: 0.5rem 0 0.625rem;
  max-width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  overflow: visible;
}

.theme-xtra-b4 .nav-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 104px;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-radius: 999px;
  box-shadow: var(--nav-pill-shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
  overflow: visible;
  transition:
    background 0.45s var(--xtra-ease-out),
    box-shadow 0.45s var(--xtra-ease-out),
    border-color 0.35s var(--xtra-ease-out);
}

.theme-xtra-b4 .logo--pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.theme-xtra-b4 .logo-img--header {
  height: 80px;
  width: auto;
  max-width: min(400px, 88vw);
  object-fit: contain;
  object-position: left center;
}

.theme-xtra-b4 .site-nav--pill {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  left: clamp(180px, 30vw, 340px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
  min-width: 0;
}

.theme-xtra-b4 .nav-list--pill {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.theme-xtra-b4 .nav-list--pill > li {
  position: relative;
}

.theme-xtra-b4 .nav-list--pill .nav-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: #1f2937;
  border-radius: 999px;
  transition:
    color 0.22s var(--xtra-ease-out),
    background 0.22s var(--xtra-ease-out),
    transform 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .nav-list--pill .nav-link:hover,
.theme-xtra-b4 .nav-list--pill .nav-link:focus-visible {
  color: var(--nav-emerald);
  transform: translateY(-1px);
}

.theme-xtra-b4 .nav-list--pill .nav-link.is-active {
  color: var(--nav-emerald);
  font-weight: 700;
}

.theme-xtra-b4 .nav-list--pill .nav-link.is-active::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background: var(--nav-link-glow);
  box-shadow: 0 0 0 1px rgba(186, 230, 253, 0.35) inset;
}

.theme-xtra-b4 .nav-list--pill .nav-link.is-active::after {
  display: none;
}

/* More dropdown */
.theme-xtra-b4 .nav-details {
  position: relative;
}

.theme-xtra-b4 .nav-details > summary {
  list-style: none;
  cursor: pointer;
}

.theme-xtra-b4 .nav-details > summary::-webkit-details-marker {
  display: none;
}

.theme-xtra-b4 .nav-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f2937;
  border-radius: 999px;
  user-select: none;
  transition:
    color 0.22s var(--xtra-ease-out),
    background 0.22s var(--xtra-ease-out),
    transform 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .nav-summary:hover,
.theme-xtra-b4 .nav-details[open] .nav-summary {
  color: var(--nav-emerald);
}

.theme-xtra-b4 .nav-chevron {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: -0.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
  transition: transform 0.28s var(--xtra-ease-out), margin-top 0.28s var(--xtra-ease-out);
}

.theme-xtra-b4 .nav-details[open] .nav-chevron {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.theme-xtra-b4 .nav-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.65rem);
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 12.5rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--xtra-line);
  box-shadow: 0 16px 40px rgba(15, 35, 56, 0.12);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s var(--xtra-ease-out),
    transform 0.28s var(--xtra-ease-spring);
}

.theme-xtra-b4 .nav-details[open] .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.theme-xtra-b4 .nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.theme-xtra-b4 .nav-dropdown-menu a:hover,
.theme-xtra-b4 .nav-dropdown-menu a:focus-visible {
  background: rgba(5, 150, 105, 0.08);
  color: var(--nav-emerald);
}

.theme-xtra-b4 .btn-nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(90deg, var(--nav-cta-start) 0%, var(--nav-cta-end) 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.theme-xtra-b4 .btn-nav-cta:hover,
.theme-xtra-b4 .btn-nav-cta:focus-visible {
  filter: brightness(1.05);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.42);
}

.theme-xtra-b4 .nav-toggle--pill {
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 900px) {
  .theme-xtra-b4 .nav-toggle--pill {
    display: none;
  }

  .theme-xtra-b4 .nav-toggle--pill + .site-nav--pill {
    margin-left: 0;
  }
}

@media (max-width: 899px) {
  body.theme-xtra-b4 {
    --header-h: 104px;
  }

  .theme-xtra-b4 .site-header__pill-shell {
    padding: 0.5rem 0;
    max-width: min(1120px, 100% - 1rem);
  }

  .theme-xtra-b4 .nav-pill {
    position: relative;
    min-height: 88px;
    padding: 0.45rem 0.65rem 0.45rem 0.8rem;
    border-radius: 34px;
  }

  .theme-xtra-b4 .logo-img--header {
    height: 56px;
    max-width: min(220px, 58vw);
  }

  .theme-xtra-b4 .site-nav--pill {
    display: none !important;
    position: static;
    transform: none;
    z-index: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 0.5rem;
    padding: 1rem;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 35, 56, 0.16);
    width: auto;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - var(--header-h) - 1rem);
    overflow: auto;
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s,
      visibility 0.25s;
  }

  .theme-xtra-b4 .site-header.nav-open .site-nav--pill {
    display: flex !important;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .theme-xtra-b4 .nav-list--pill {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0.45rem;
  }

  .theme-xtra-b4 .nav-list--pill > li {
    width: 100%;
  }

  .theme-xtra-b4 .nav-list--pill .nav-link {
    display: block;
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(248, 250, 252, 0.7);
  }

  .theme-xtra-b4 .nav-list--pill .nav-link:hover,
  .theme-xtra-b4 .nav-list--pill .nav-link:focus-visible {
    transform: none;
  }

  .theme-xtra-b4 .nav-list--pill .nav-link.is-active::before {
    display: none;
  }

  .theme-xtra-b4 .nav-item--dropdown {
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding-bottom: 0.25rem;
  }

  .theme-xtra-b4 .nav-summary {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.7);
  }

  .theme-xtra-b4 .nav-dropdown-menu {
    position: static;
    transform: none !important;
    left: auto;
    margin: 0.25rem 0 0;
    border: none;
    box-shadow: none;
    background: var(--xtra-soft);
    border-radius: var(--xtra-radius);
    opacity: 1;
    pointer-events: auto;
  }

  .theme-xtra-b4 .btn-nav-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    order: 99;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-xtra-b4 .nav-pill,
  .theme-xtra-b4 .nav-toggle--pill,
  .theme-xtra-b4 .site-nav--pill {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .theme-xtra-b4 .nav-pill {
    background: rgba(255, 255, 255, 0.92);
    transition: none;
  }

  .theme-xtra-b4 .site-header--pill-nav.is-scrolled .nav-pill {
    background: rgba(255, 255, 255, 0.96);
  }

  .theme-xtra-b4 .site-nav--pill {
    background: rgba(255, 255, 255, 0.96);
  }

  .theme-xtra-b4 .nav-list--pill .nav-link,
  .theme-xtra-b4 .nav-summary,
  .theme-xtra-b4 .nav-chevron,
  .theme-xtra-b4 .nav-dropdown-menu {
    transition: none !important;
  }

  .theme-xtra-b4 .nav-list--pill .nav-link:hover,
  .theme-xtra-b4 .nav-list--pill .nav-link:focus-visible {
    transform: none;
  }

  .theme-xtra-b4 .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .theme-xtra-b4 .xtra-testimonial:hover,
  .theme-xtra-b4 .xtra-btn-outline:hover,
  .theme-xtra-b4 .xtra-btn-outline:focus-visible,
  .theme-xtra-b4 .xtra-about-split__media:hover,
  .theme-xtra-b4 .nest-feature-card:hover .nest-feature__img,
  .theme-xtra-b4 .cta-band .btn-on-dark:hover,
  .theme-xtra-b4 .cta-band .btn-on-dark:focus-visible,
  .theme-xtra-b4 .cta-band .btn-ghost-on-dark:hover,
  .theme-xtra-b4 .cta-band .btn-ghost-on-dark:focus-visible,
  .theme-xtra-b4 .xtra-customer-card:hover,
  .theme-xtra-b4 .customer-brands__btn:hover,
  .theme-xtra-b4 .customer-brands__btn:focus-visible {
    transform: none !important;
  }
}

.theme-xtra-b4 .logo-img--footer {
  height: 112px;
  max-width: min(440px, 92vw);
  object-fit: contain;
}

/* ——— Page shell (inner pages) ——— */
.theme-xtra-b4 .xtra-page-wrap {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .xtra-page-wrap {
    padding-bottom: 4rem;
  }
}

/* ——— Inner hero ——— */
.theme-xtra-b4 .page-hero--inner {
  min-height: clamp(200px, 28vh, 320px);
  background: linear-gradient(135deg, var(--xtra-blue-dark) 0%, var(--xtra-blue) 100%);
}

.theme-xtra-b4 .page-hero__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
}

.theme-xtra-b4 .page-hero__sub {
  color: rgba(255, 255, 255, 0.88);
}

.theme-xtra-b4 .eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

/* ——— Home hero (Business 4 style) ——— */
.theme-xtra-b4 .xtra-hero.page-hero--home {
  min-height: clamp(480px, 78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-xtra-b4 .xtra-hero .page-hero__fallback-bg {
  background: linear-gradient(135deg, #0c1929 0%, var(--xtra-blue-dark) 45%, #143a52 100%);
  animation: none;
  filter: none !important;
}

.theme-xtra-b4 .xtra-hero .page-hero__scrim {
  background: linear-gradient(180deg, rgba(12, 25, 41, 0.55) 0%, rgba(12, 25, 41, 0.75) 100%);
}

.theme-xtra-b4 .xtra-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  padding-top: calc(var(--header-h) + clamp(1.25rem, 5vh, 2.75rem));
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.theme-xtra-b4 .xtra-hero__kicker {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.theme-xtra-b4 .xtra-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.theme-xtra-b4 .xtra-hero__title-line {
  display: block;
}

.theme-xtra-b4 .xtra-hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.theme-xtra-b4 .xtra-hero__lead strong {
  color: #fff;
  font-weight: 600;
}

.theme-xtra-b4 .xtra-hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

.theme-xtra-b4 .xtra-hero__links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.theme-xtra-b4 .xtra-hero__links a:hover,
.theme-xtra-b4 .xtra-hero__links a:focus-visible {
  border-bottom-color: var(--xtra-orange);
  color: #fff;
}

.theme-xtra-b4 .xtra-hero .page-hero__body {
  padding: 0;
  width: 100%;
}

/* Inner hero: reserve top space inside the flex container so flex-end content
   stays below the fixed pill (padding on the child grows the box upward). */
.theme-xtra-b4 main#main > .page-hero--inner:first-child {
  padding-top: calc(var(--header-h) + clamp(0.5rem, 2vw, 1rem));
  min-height: calc(var(--header-h) + clamp(200px, 28vh, 320px));
}

.theme-xtra-b4 main#main > .page-hero--inner:first-child.page-hero--inner-has-media {
  min-height: calc(var(--header-h) + clamp(240px, 34vh, 380px));
}

/* Services header video — tall banner (with media) */
.theme-xtra-b4 .page-services > .page-hero--inner:first-child {
  min-height: calc(var(--header-h) + clamp(336px, 47vh, 538px));
}

.theme-xtra-b4 .page-services > .page-hero--inner.page-hero--inner-has-media:first-child {
  min-height: calc(var(--header-h) + clamp(403px, 57vh, 638px));
}

.theme-xtra-b4 .page-services .page-hero__scrim--inner {
  background: linear-gradient(
    180deg,
    rgba(6, 20, 35, 0.29) 0%,
    rgba(6, 20, 35, 0.47) 100%
  );
}

.theme-xtra-b4 .page-services .page-hero__video--inner {
  opacity: 1;
}


/* ——— Our customers (home, services, about) ——— */
.theme-xtra-b4 .xtra-customers {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--xtra-soft);
  border-top: 1px solid var(--xtra-line);
  border-bottom: 1px solid var(--xtra-line);
}

.theme-xtra-b4 .xtra-customers__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
}

.theme-xtra-b4 .xtra-customers__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .xtra-customers__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-customers__lede {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-customers__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .theme-xtra-b4 .xtra-customers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .theme-xtra-b4 .xtra-customers__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.theme-xtra-b4 .xtra-customer-card {
  background: #fff;
  border: 1px solid var(--xtra-line);
  border-radius: var(--xtra-radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 6px 28px rgba(15, 35, 56, 0.05);
  transition: border-color 0.22s var(--xtra-ease-out), box-shadow 0.22s var(--xtra-ease-out), transform 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .xtra-customer-card:hover {
  border-color: rgba(34, 124, 188, 0.3);
  box-shadow: 0 12px 36px rgba(15, 35, 56, 0.09);
  transform: translateY(-3px);
}

.theme-xtra-b4 .xtra-customer-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(34, 124, 188, 0.08);
}

.theme-xtra-b4 .xtra-customer-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-customer-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-customers__note {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-customers__note a {
  font-weight: 600;
  color: var(--xtra-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 124, 188, 0.35);
}

.theme-xtra-b4 .xtra-customers__note a:hover,
.theme-xtra-b4 .xtra-customers__note a:focus-visible {
  color: var(--xtra-blue-dark);
  border-bottom-color: var(--xtra-blue-dark);
}

/* ——— Section framing ——— */
.theme-xtra-b4 .xtra-section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}

.theme-xtra-b4 .xtra-section--soft {
  background: var(--xtra-soft);
}

.theme-xtra-b4 .xtra-section__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.75rem;
}

.theme-xtra-b4 .xtra-section__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .xtra-section__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-section__intro {
  margin: 1rem 0 0;
  color: var(--xtra-muted);
  font-size: 1rem;
}

/* ——— Services 3-up ——— */
.theme-xtra-b4 .xtra-services-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .xtra-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.theme-xtra-b4 .xtra-service-card {
  background: #fff;
  border: 1px solid var(--xtra-line);
  border-radius: var(--xtra-radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(15, 35, 56, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.theme-xtra-b4 .xtra-service-card:hover {
  box-shadow: 0 16px 48px rgba(15, 35, 56, 0.1);
  transform: translateY(-4px);
}

.theme-xtra-b4 .xtra-service-card__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 124, 188, 0.08);
  color: var(--xtra-blue);
  font-size: 1.75rem;
  line-height: 1;
}

.theme-xtra-b4 .xtra-service-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-service-card__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--xtra-muted);
  line-height: 1.65;
}

.theme-xtra-b4 .xtra-service-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--xtra-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.theme-xtra-b4 .xtra-service-card__link:hover,
.theme-xtra-b4 .xtra-service-card__link:focus-visible {
  border-bottom-color: var(--xtra-blue);
}

/* ——— About split ——— */
.theme-xtra-b4 .xtra-about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .theme-xtra-b4 .xtra-about-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.theme-xtra-b4 .xtra-about-split__media {
  margin: 0;
  border-radius: var(--xtra-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 35, 56, 0.12);
  border: 1px solid var(--xtra-line);
}

.theme-xtra-b4 .xtra-about-split__media img {
  display: block;
  width: 100%;
  height: auto;
}

.theme-xtra-b4 .xtra-about-split__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .xtra-about-split__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-about-split__text {
  margin: 0 0 1.5rem;
  color: var(--xtra-muted);
  font-size: 1rem;
}

.theme-xtra-b4 .xtra-skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .theme-xtra-b4 .xtra-skill-list {
    grid-template-columns: 1fr 1fr;
  }
}

.theme-xtra-b4 .xtra-skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--xtra-line);
  border-radius: var(--xtra-radius);
  font-size: 0.9rem;
  line-height: 1.45;
}

.theme-xtra-b4 .xtra-skill-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-skill-list span {
  display: block;
  font-size: 0.8125rem;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-skill-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--xtra-orange);
}

/* ——— Process steps ——— */
.theme-xtra-b4 .xtra-process-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .xtra-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.theme-xtra-b4 .xtra-step__num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #bbb;
}

.theme-xtra-b4 .xtra-step__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-step__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--xtra-muted);
  line-height: 1.65;
}

/* ——— Portfolio grid ——— */
.theme-xtra-b4 .xtra-portfolio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .theme-xtra-b4 .xtra-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.theme-xtra-b4 .xtra-portfolio-item {
  position: relative;
  border-radius: var(--xtra-radius-lg);
  overflow: hidden;
  border: 1px solid var(--xtra-line);
  background: #e9ecef;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}

.theme-xtra-b4 .xtra-portfolio-item:hover,
.theme-xtra-b4 .xtra-portfolio-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(15, 35, 56, 0.12);
}

.theme-xtra-b4 .xtra-portfolio-item__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #d0dbe5 0%, #a8bdd4 50%, #8aa8c4 100%);
  opacity: 1;
}

.theme-xtra-b4 .xtra-portfolio-item:nth-child(2) .xtra-portfolio-item__bg {
  background: linear-gradient(145deg, #dfe4ea 0%, #b8c5d6 100%);
}

.theme-xtra-b4 .xtra-portfolio-item:nth-child(3) .xtra-portfolio-item__bg {
  background: linear-gradient(145deg, #cfd9e6 0%, #9eb4cc 100%);
}

.theme-xtra-b4 .xtra-portfolio-item:nth-child(4) .xtra-portfolio-item__bg {
  background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 100%);
}

.theme-xtra-b4 .xtra-portfolio-item:nth-child(5) .xtra-portfolio-item__bg {
  background: linear-gradient(145deg, #dbeafe 0%, #60a5fa 80%);
}

.theme-xtra-b4 .xtra-portfolio-item:nth-child(6) .xtra-portfolio-item__bg {
  background: linear-gradient(145deg, #ede9fe 0%, #a78bfa 90%);
}

.theme-xtra-b4 .xtra-portfolio-item__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.97) 35%);
}

.theme-xtra-b4 .xtra-portfolio-item__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-portfolio-item__tag {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-portfolio-footer {
  margin-top: 2rem;
  text-align: center;
}

.theme-xtra-b4 .xtra-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: var(--xtra-radius);
  transition: background 0.2s, color 0.2s;
}

.theme-xtra-b4 .xtra-btn-outline:hover,
.theme-xtra-b4 .xtra-btn-outline:focus-visible {
  background: #1a1a1a;
  color: #fff;
}

/* ——— Nest card (featured) ——— */
.theme-xtra-b4 .nest-feature-section {
  background: #fff !important;
}

.theme-xtra-b4 .nest-feature-card {
  background: #fafbfc;
  border: 1px solid var(--xtra-line);
  box-shadow: 0 10px 40px rgba(15, 35, 56, 0.06);
}

.theme-xtra-b4 .nest-feature-card.card:hover {
  border-color: var(--xtra-line);
  box-shadow: 0 16px 48px rgba(15, 35, 56, 0.1);
}

.theme-xtra-b4 .nest-feature__title {
  color: #1a1a1a;
  font-family: var(--font-heading);
}

.theme-xtra-b4 .nest-feature__rule {
  background: var(--xtra-blue);
  width: 3rem;
  height: 3px;
}

.theme-xtra-b4 .nest-feature__text {
  color: var(--xtra-muted);
}

.theme-xtra-b4 .nest-feature__cta {
  background: var(--xtra-blue);
  border-radius: var(--xtra-radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
  box-shadow: none;
  background-size: 100% 100%;
}

.theme-xtra-b4 .nest-feature__cta:hover,
.theme-xtra-b4 .nest-feature__cta:focus-visible {
  background: var(--xtra-blue-dark);
  box-shadow: none;
}

.theme-xtra-b4 .nest-feature-card .nest-feature__media {
  box-shadow: 0 8px 30px rgba(15, 35, 56, 0.1);
}

/* ——— Testimonials ——— */
.theme-xtra-b4 .xtra-testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .xtra-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.theme-xtra-b4 .xtra-testimonial {
  background: #fff;
  border: 1px solid var(--xtra-line);
  border-radius: var(--xtra-radius-lg);
  padding: 1.75rem;
  box-shadow: 0 6px 30px rgba(15, 35, 56, 0.05);
}

.theme-xtra-b4 .xtra-testimonial__quote {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .xtra-testimonial__quote::before {
  content: "\201C";
  font-size: 1.5rem;
  color: var(--xtra-blue);
  line-height: 0;
  margin-right: 0.15rem;
  vertical-align: -0.15em;
}

.theme-xtra-b4 .xtra-testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-xtra-b4 .xtra-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--xtra-soft);
  border: 2px solid var(--xtra-line);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .xtra-testimonial__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.theme-xtra-b4 .xtra-testimonial__role {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--xtra-muted);
}

/* ——— Final CTA (full-width via footer partial) ——— */
.theme-xtra-b4 .cta-band--full {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.theme-xtra-b4 .cta-band {
  background: linear-gradient(135deg, var(--xtra-navy) 0%, #1a3a52 100%);
  color: #e8eef4;
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}

.theme-xtra-b4 .cta-band::before {
  display: none;
}

.theme-xtra-b4 .cta-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
}

.theme-xtra-b4 .cta-text {
  color: rgba(255, 255, 255, 0.85);
}

.theme-xtra-b4 .cta-band .btn-on-dark {
  background: var(--xtra-orange);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--xtra-radius);
}

.theme-xtra-b4 .cta-band .btn-on-dark:hover,
.theme-xtra-b4 .cta-band .btn-on-dark:focus-visible {
  background: var(--xtra-orange-hover);
  color: #fff;
}

.theme-xtra-b4 .cta-band .btn-ghost-on-dark {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ——— Footer (Business 4 columns) ——— */
.theme-xtra-b4 .site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 3rem 0 0;
  font-size: 0.875rem;
}

.theme-xtra-b4 .site-footer::before {
  display: none;
}

.theme-xtra-b4 .footer-xtra {
  padding-bottom: 2rem;
}

.theme-xtra-b4 .footer-xtra__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .footer-xtra__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.theme-xtra-b4 .footer-xtra__brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.theme-xtra-b4 .footer-xtra__brand strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.theme-xtra-b4 .footer-xtra__brand .footer-tag {
  margin: 0.5rem 0 0;
  max-width: 22rem;
  line-height: 1.55;
}

.theme-xtra-b4 .footer-xtra__heading {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.theme-xtra-b4 .footer-xtra__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-xtra-b4 .footer-xtra__list a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.theme-xtra-b4 .footer-xtra__list a:hover,
.theme-xtra-b4 .footer-xtra__list a:focus-visible {
  color: #fff;
}

.theme-xtra-b4 .footer-xtra__bar {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.8125rem;
  color: #777;
}

/* ——— Inner page sections ——— */
.theme-xtra-b4 .section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.theme-xtra-b4 .section-alt {
  background: var(--xtra-soft);
}

.theme-xtra-b4 .section-title {
  font-family: var(--font-heading);
  color: #1a1a1a;
}

.theme-xtra-b4 .eyebrow {
  color: var(--xtra-blue);
  font-family: var(--font-heading);
}

.theme-xtra-b4 .card {
  border-radius: var(--xtra-radius-lg);
  border-color: var(--xtra-line);
  box-shadow: 0 6px 28px rgba(15, 35, 56, 0.05);
}

.theme-xtra-b4 .card:hover {
  transform: translateY(-2px);
  border-color: var(--xtra-line);
  box-shadow: 0 12px 36px rgba(15, 35, 56, 0.08);
}

.theme-xtra-b4 .btn-primary {
  background: var(--xtra-blue);
  box-shadow: none;
  background-size: 100%;
  border-radius: var(--xtra-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8125rem;
}

.theme-xtra-b4 .btn-primary:hover,
.theme-xtra-b4 .btn-primary:focus-visible {
  background: var(--xtra-blue-dark);
  transform: none;
  box-shadow: 0 4px 16px rgba(34, 124, 188, 0.35);
}

.theme-xtra-b4 .text-link--inline {
  color: var(--xtra-blue);
}

.theme-xtra-b4 .text-link--inline:hover,
.theme-xtra-b4 .text-link--inline:focus-visible {
  color: var(--xtra-blue-dark);
}

.theme-xtra-b4 .contact-dl a {
  color: var(--xtra-blue);
}

.theme-xtra-b4 .contact-form::before {
  background: var(--xtra-blue);
}

.theme-xtra-b4 .value-list li {
  border: 1px solid var(--xtra-line);
  border-left: 4px solid var(--xtra-blue);
  padding-left: 1.35rem;
}

.theme-xtra-b4 .value-list li::before {
  display: none;
}

/* ——— Services page ——— */
.theme-xtra-b4 .page-services .svc-intro,
.theme-xtra-b4 .page-services .svc-toc-bar,
.theme-xtra-b4 .page-services .svc-panel,
.theme-xtra-b4 .page-services #areas {
  scroll-margin-top: calc(var(--header-h, 140px) + 16px);
}

@media (min-width: 900px) {
  .theme-xtra-b4 .page-services .svc-toc-bar {
    position: sticky;
    top: var(--header-h, 140px);
    z-index: 40;
    padding: 0.65rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--xtra-line);
    box-shadow: 0 6px 20px rgba(15, 35, 56, 0.04);
  }
}

.theme-xtra-b4 .page-services .svc-toc-bar .svc-toc {
  padding: 0;
}

.theme-xtra-b4 .page-services .svc-intro {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.25rem);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--xtra-line);
}

.theme-xtra-b4 .page-services .svc-intro__inner {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.theme-xtra-b4 .page-services .svc-intro .xtra-section__kicker {
  margin-bottom: 0.5rem;
}

.theme-xtra-b4 .page-services .svc-intro__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.theme-xtra-b4 .page-services .svc-intro__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .page-services .svc-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 0 0.25rem;
}

.theme-xtra-b4 .page-services .svc-toc__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--xtra-line);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.theme-xtra-b4 .page-services .svc-toc__link:hover,
.theme-xtra-b4 .page-services .svc-toc__link:focus-visible {
  color: var(--nav-emerald);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.1);
}

.theme-xtra-b4 .page-services .svc-panel {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.theme-xtra-b4 .page-services .svc-panel--alt {
  background: var(--xtra-soft);
}

.theme-xtra-b4 .page-services .svc-card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: #ffffff;
  border: 1px solid var(--xtra-line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 35, 56, 0.06);
  overflow: hidden;
}

@media (min-width: 720px) {
  .theme-xtra-b4 .page-services .svc-card {
    grid-template-columns: auto 1fr;
    gap: 1.75rem 2rem;
    align-items: start;
    padding-left: clamp(2rem, 5vw, 3rem);
  }
}

.theme-xtra-b4 .page-services .svc-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--nav-cta-start), var(--xtra-blue));
}

.theme-xtra-b4 .page-services .svc-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  line-height: 1;
  border-radius: 14px;
  background: rgba(34, 124, 188, 0.08);
  border: 1px solid rgba(34, 124, 188, 0.12);
}

@media (min-width: 720px) {
  .theme-xtra-b4 .page-services .svc-card__icon {
    margin-top: 0.25rem;
  }
}

.theme-xtra-b4 .page-services .svc-card__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .page-services .svc-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
}

.theme-xtra-b4 .page-services .svc-card__lead {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
  color: #334155;
}

.theme-xtra-b4 .page-services .svc-card__text {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .page-services .svc-check {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.theme-xtra-b4 .page-services .svc-check li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.theme-xtra-b4 .page-services .svc-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nav-emerald);
}

.theme-xtra-b4 .page-services .svc-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.theme-xtra-b4 .page-services .svc-card__ghost {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--xtra-blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.theme-xtra-b4 .page-services .svc-card__ghost:hover,
.theme-xtra-b4 .page-services .svc-card__ghost:focus-visible {
  border-bottom-color: var(--xtra-blue);
}

.theme-xtra-b4 .page-services .svc-spotlight {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #0f2338 0%, var(--xtra-blue-dark) 55%, #134e4a 100%);
  color: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 35, 56, 0.15);
}

@media (min-width: 860px) {
  .theme-xtra-b4 .page-services .svc-spotlight {
    grid-template-columns: 1fr minmax(0, 1.05fr);
    gap: 2.5rem;
  }
}

.theme-xtra-b4 .page-services .svc-spotlight .xtra-section__kicker {
  color: rgba(167, 243, 208, 0.95);
}

.theme-xtra-b4 .page-services .svc-spotlight__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
}

.theme-xtra-b4 .page-services .svc-spotlight__lead {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.5;
}

.theme-xtra-b4 .page-services .svc-spotlight__text {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
}

.theme-xtra-b4 .page-services .svc-spotlight .btn-primary {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-xtra-b4 .page-services .svc-spotlight__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.theme-xtra-b4 .page-services .svc-spotlight__media img {
  display: block;
  width: 100%;
  height: auto;
}

.theme-xtra-b4 .page-services .svc-ai {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 8%, rgba(94, 234, 212, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 0%, rgba(34, 124, 188, 0.34), transparent 22rem),
    linear-gradient(135deg, #0f2338 0%, #17466b 56%, #0f7669 100%);
  box-shadow: 0 26px 70px rgba(15, 35, 56, 0.22);
  overflow: hidden;
}

.theme-xtra-b4 .page-services .svc-ai__intro {
  max-width: 50rem;
  margin: 0 auto 1.35rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.theme-xtra-b4 .page-services .svc-ai__intro .xtra-section__kicker {
  color: #99f6e4;
}

.theme-xtra-b4 .page-services .svc-ai__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: #ffffff;
}

.theme-xtra-b4 .page-services .svc-ai__lead {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
}

.theme-xtra-b4 .page-services .svc-ai__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .theme-xtra-b4 .page-services .svc-ai__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-xtra-b4 .page-services .svc-ai-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(15, 35, 56, 0.18);
  overflow: hidden;
  transition: transform 0.25s var(--xtra-ease-out), box-shadow 0.25s var(--xtra-ease-out);
}

.theme-xtra-b4 .page-services .svc-ai-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--nav-cta-start), var(--xtra-blue), var(--nav-emerald));
}

.theme-xtra-b4 .page-services .svc-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 35, 56, 0.24);
}

.theme-xtra-b4 .page-services .svc-ai-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--xtra-blue), var(--nav-emerald));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(34, 124, 188, 0.24);
}

.theme-xtra-b4 .page-services .svc-ai-card h3 {
  margin: 0 0 0.7rem;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.theme-xtra-b4 .page-services .svc-ai-card p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.6;
}

.theme-xtra-b4 .page-services .svc-ai-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-xtra-b4 .page-services .svc-ai-card li {
  position: relative;
  padding-left: 1.45rem;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.theme-xtra-b4 .page-services .svc-ai-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nav-emerald);
  font-weight: 800;
}

.theme-xtra-b4 .page-services .svc-ai__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0;
  padding: 0.25rem 0 0.75rem;
}

.theme-xtra-b4 .page-services .svc-ai__cta .svc-card__ghost {
  color: #ffffff;
}

.theme-xtra-b4 .page-services .svc-ai__cta .svc-card__ghost:hover,
.theme-xtra-b4 .page-services .svc-ai__cta .svc-card__ghost:focus-visible {
  color: #99f6e4;
}

.theme-xtra-b4 .page-services #areas {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.theme-xtra-b4 .page-services .svc-areas-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.25rem, 4.5vw, 3.25rem);
}

.theme-xtra-b4 .page-services .svc-areas-head .xtra-section__title {
  margin-bottom: 0.75rem;
}

.theme-xtra-b4 .page-services .svc-areas-head__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .page-services .svc-area-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .theme-xtra-b4 .page-services .svc-area-grid:not(.svc-area-grid--regions) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service areas — two balanced region cards */
.theme-xtra-b4 .page-services .svc-area-grid.svc-area-grid--regions {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 768px) {
  .theme-xtra-b4 .page-services .svc-area-grid.svc-area-grid--regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-xtra-b4 .page-services .svc-area-card__region {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .page-services .svc-area-card__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .theme-xtra-b4 .page-services .svc-area-card__cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
  }
}

.theme-xtra-b4 .page-services .svc-area-card__cities li {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
  background: var(--xtra-soft);
  border: 1px solid var(--xtra-line);
  border-radius: 8px;
  text-align: center;
}

.theme-xtra-b4 .page-services .svc-area-card__cities li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.theme-xtra-b4 .page-services .svc-area-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 3.5vw, 2.35rem);
  background: #ffffff;
  border: 1px solid var(--xtra-line);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(15, 35, 56, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-xtra-b4 .page-services .svc-area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 35, 56, 0.1);
}

.theme-xtra-b4 .page-services .svc-area-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
}

.theme-xtra-b4 .page-services .svc-area-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--xtra-muted);
}

.theme-xtra-b4 .page-services .svc-area-card__cities-wrap {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--xtra-line);
}

.theme-xtra-b4 .page-services .svc-area-card__cities-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Customer names + quote CTA — full-width band (all pages, via footer partial) */
.theme-xtra-b4 .customer-brands--full {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.theme-xtra-b4 .xtra-page-wrap .customer-brands--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.theme-xtra-b4 .customer-brands {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0;
  background: #fff;
  border-top: 1px solid var(--xtra-line);
  border-bottom: 1px solid var(--xtra-line);
}

.theme-xtra-b4 .customer-brands__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.theme-xtra-b4 .customer-brands__list {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--xtra-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

@media (min-width: 768px) {
  .theme-xtra-b4 .customer-brands__list {
    justify-content: space-around;
  }
}

.theme-xtra-b4 .customer-brands__item {
  margin: 0;
  text-align: center;
}

.theme-xtra-b4 .customer-brands__name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #334155;
  opacity: 0.88;
}

.theme-xtra-b4 .customer-brands__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  max-width: min(1120px, 100%);
  margin-inline: auto;
}

.theme-xtra-b4 .customer-brands__cta-text {
  margin: 0;
  flex: 1 1 16rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--xtra-blue);
}

.theme-xtra-b4 .customer-brands__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--xtra-blue);
  border-radius: 999px;
  transition: background 0.22s var(--xtra-ease-out), transform 0.2s var(--xtra-ease-out), box-shadow 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .customer-brands__btn:hover,
.theme-xtra-b4 .customer-brands__btn:focus-visible {
  background: var(--xtra-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 124, 188, 0.35);
}

@media (max-width: 599px) {
  .theme-xtra-b4 .customer-brands__cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .theme-xtra-b4 .customer-brands__btn {
    width: 100%;
  }
}


/* ——— Motion & micro-interactions (respects prefers-reduced-motion in styles.css) ——— */
@keyframes xtra-hero-video-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.theme-xtra-b4 .page-hero--home .page-hero__video {
  animation: xtra-hero-video-in 1s var(--xtra-ease-out) 0.15s both;
}

.theme-xtra-b4 .page-hero--inner .page-hero__video--inner {
  animation: xtra-hero-video-in 0.85s var(--xtra-ease-out) both;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__kicker,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__title-line,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__lead,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal]:not(.is-visible) .xtra-hero__links {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__kicker,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__title-line,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__lead,
.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__links {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.58s var(--xtra-ease-out),
    transform 0.65s var(--xtra-ease-spring);
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__kicker {
  transition-delay: 0.06s;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__title-line:nth-child(1) {
  transition-delay: 0.12s;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__title-line:nth-child(2) {
  transition-delay: 0.2s;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__lead {
  transition-delay: 0.28s;
}

.theme-xtra-b4 .xtra-hero .xtra-hero__inner[data-reveal].is-visible .xtra-hero__links {
  transition-delay: 0.36s;
}

.theme-xtra-b4 [data-reveal] {
  transition:
    opacity 0.65s var(--xtra-ease-out),
    transform 0.68s var(--xtra-ease-spring);
  transition-delay: var(--stagger, 0s);
}

.theme-xtra-b4 .xtra-testimonial {
  transition: transform 0.28s var(--xtra-ease-out), box-shadow 0.28s var(--xtra-ease-out);
}

.theme-xtra-b4 .xtra-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(15, 35, 56, 0.09);
}

.theme-xtra-b4 .xtra-btn-outline {
  transition:
    background 0.22s var(--xtra-ease-out),
    color 0.22s var(--xtra-ease-out),
    transform 0.22s var(--xtra-ease-out),
    box-shadow 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .xtra-btn-outline:hover,
.theme-xtra-b4 .xtra-btn-outline:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 35, 56, 0.12);
}

.theme-xtra-b4 .xtra-about-split__media {
  transition: transform 0.45s var(--xtra-ease-out), box-shadow 0.45s var(--xtra-ease-out);
}

.theme-xtra-b4 .xtra-about-split__media:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 56px rgba(15, 35, 56, 0.14);
}

.theme-xtra-b4 .nest-feature__img {
  transition: transform 0.5s var(--xtra-ease-out);
}

.theme-xtra-b4 .nest-feature-card:hover .nest-feature__img {
  transform: scale(1.03);
}

.theme-xtra-b4 .cta-band .btn-on-dark,
.theme-xtra-b4 .cta-band .btn-ghost-on-dark {
  transition:
    background 0.22s var(--xtra-ease-out),
    color 0.22s var(--xtra-ease-out),
    transform 0.2s var(--xtra-ease-out),
    box-shadow 0.22s var(--xtra-ease-out),
    border-color 0.22s var(--xtra-ease-out);
}

.theme-xtra-b4 .cta-band .btn-on-dark:hover,
.theme-xtra-b4 .cta-band .btn-on-dark:focus-visible,
.theme-xtra-b4 .cta-band .btn-ghost-on-dark:hover,
.theme-xtra-b4 .cta-band .btn-ghost-on-dark:focus-visible {
  transform: translateY(-2px);
}
