/* =====================================================================
   Demand AI — shared UI components
   Single source of truth, linked from every page that uses them.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Eyebrow
   Small pill label placed above hero titles and section headings.

   Markup:
     <span class="dai-eyebrow"><span class="dai-eyebrow__dot"></span>Label</span>

   Layout modifiers (a pill always sits on its own line above a heading):
     .dai-eyebrow--block    own line, left aligned
     .dai-eyebrow--center   own line, horizontally centred
     (base, no modifier)    inline — follows the parent's text-align
                            (use when the eyebrow is a separate element
                             before the heading, e.g. locations)

   Colour modifier:
     .dai-eyebrow--on-dark  for placement on dark backgrounds

   Responsive: padding, font-size, letter-spacing, gap and the dot all
   scale with the viewport via clamp(), so the eyebrow adapts from small
   phones up to large desktops with no per-page media queries.
   --------------------------------------------------------------------- */
.dai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(9px, 1.3vw, 13px);
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-size: clamp(9px, 1.05vw, 12px) !important;
  font-weight: 700 !important;
  letter-spacing: clamp(0.12em, 0.5vw, 0.26em) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  color: #056e6e !important;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Leading connector line that fades in toward the live node — "wired in" */
.dai-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: clamp(22px, 3.6vw, 40px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(5, 110, 110, 0) 0%, rgba(79, 176, 176, 0.9) 100%);
}

/* node dot removed — the connector line alone leads into the label */
.dai-eyebrow__dot { display: none; }

/* Layout modifiers */
.dai-eyebrow--block  { display: flex; width: fit-content; margin: 0 0 clamp(16px, 2.4vw, 22px); }
.dai-eyebrow--center { display: flex; width: fit-content; margin: 0 auto clamp(16px, 2.4vw, 22px); }

/* Colour modifier — brighter teal for dark backgrounds */
.dai-eyebrow--on-dark { color: #7fe6e6 !important; }
.dai-eyebrow--on-dark::before {
  background: linear-gradient(90deg, rgba(127, 230, 230, 0) 0%, rgba(127, 230, 230, 0.9) 100%);
}
.dai-eyebrow--on-dark .dai-eyebrow__dot {
  background: #7fe6e6;
  box-shadow: 0 0 0 3px rgba(127, 230, 230, 0.15), 0 0 10px 1px rgba(127, 230, 230, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .dai-eyebrow__dot { animation: none; }
}

/* ---------------------------------------------------------------------
   Button (CTA)
   Single source of truth for the pill CTA — matches the homepage hero CTA.
   !important is required to override the WordPress/BlockArt button styles
   on the exported pages. Hand-built pages (e.g. locations) use plain
   <a class="dai-btn"> / <a class="dai-btn dai-btn--ghost"> and inherit it.

   Markup:
     <a class="dai-btn">Label</a>                  filled (default)
     <a class="dai-btn dai-btn--ghost">Label</a>    outline variant
   --------------------------------------------------------------------- */
.dai-btn{position:relative !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:12px !important;padding:17px 30px !important;background:#056e6e;color:#fff;font-family:Inter, Arial, sans-serif !important;font-weight:600 !important;font-size:13px !important;line-height:1 !important;letter-spacing:.16em !important;text-transform:uppercase !important;border-radius:999px !important;text-decoration:none !important;overflow:hidden !important;cursor:pointer;border:none;box-shadow:0 14px 30px -12px rgba(5,110,110,.55), inset 0 1px 0 rgba(255,255,255,.15) !important;transition:transform .28s ease, box-shadow .28s ease, background-color .28s ease !important;}
.dai-btn::after{content:"" !important;position:absolute !important;inset:0 !important;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%) !important;transform:translateX(-120%);transition:transform .85s ease !important;pointer-events:none !important;}
.dai-btn:hover{transform:translateY(-2px) !important;background:#045959;box-shadow:0 22px 42px -14px rgba(5,110,110,.6), inset 0 1px 0 rgba(255,255,255,.18) !important;}
.dai-btn:hover::after{transform:translateX(120%) !important;}
.dai-btn:active{transform:translateY(0) scale(.97) !important;box-shadow:0 8px 16px -10px rgba(5,110,110,.5), inset 0 1px 0 rgba(255,255,255,.1) !important;}
.dai-btn svg{width:16px !important;height:16px !important;transition:transform .28s ease !important;}
.dai-btn:hover svg{transform:translateX(5px) !important;}
.dai-btn--ghost{background:transparent !important;color:#056e6e !important;border:1.5px solid rgba(5,110,110,.4) !important;box-shadow:none !important;}
.dai-btn--ghost::after{display:none !important;}
.dai-btn--ghost:hover{background:#056e6e !important;color:#fff !important;border-color:#056e6e !important;box-shadow:0 18px 38px -16px rgba(5,110,110,.55) !important;}
.dai-btn--ghost:active{transform:translateY(0) scale(.97) !important;background:#045959 !important;color:#fff !important;border-color:#045959 !important;}
/* Shape fallback so any CTA stays a pill even if the class is absent */
.blockart-button-link{border-radius:999px !important;padding:17px 30px !important;font-weight:600 !important;font-size:13px !important;letter-spacing:.16em !important;text-transform:uppercase !important;}
@media (max-width:720px){.dai-btn,.blockart-button-link{padding:13px 22px !important;font-size:11px !important;letter-spacing:.06em !important;}.dai-btn{gap:8px !important;}.dai-btn svg{width:13px !important;height:13px !important;}}

/* Ghost on dark backgrounds — glassy light-mint outline (the homepage-hero style).
   Combine with --ghost:  <a class="dai-btn dai-btn--ghost dai-btn--on-dark">   */
.dai-btn--ghost.dai-btn--on-dark{background:rgba(255,255,255,0.04) !important;color:#d6efee !important;border:1.5px solid rgba(47,224,205,0.45) !important;box-shadow:none !important;-webkit-backdrop-filter:blur(6px) !important;backdrop-filter:blur(6px) !important;}
.dai-btn--ghost.dai-btn--on-dark:hover{background:rgba(47,224,205,0.12) !important;border-color:#2fe0cd !important;box-shadow:none !important;}

/* ============================================================================
   Nav dropdown  — shared submenu card (formerly inline <style id="dai-nav-dropdown">
   duplicated on every page). Markup stays per-page; this is the single source.
   ============================================================================ */
/* ===== Restyled nav dropdowns — compact, rounded white card + icons ===== */
.wp-block-navigation .wp-block-navigation__submenu-container{
  border-radius:16px !important;
  padding:10px !important;
  background:#ffffff !important;
  border:1px solid rgba(5,110,110,0.10) !important;
  box-shadow:0 18px 40px -17px rgba(8,20,26,0.28),0 3px 9px -5px rgba(8,20,26,0.12) !important;
  min-width:256px !important;
  gap:2px;
}
/* strip theme dividers + extra label padding (the source of the big gaps) */
.wp-block-navigation .wp-block-navigation__submenu-container li{ margin:0; border:0 !important; }
.productSubMenu ul li span,.SolutionSubMenu ul li span,
.wp-block-navigation__submenu-container li span.wp-block-navigation-item__label{
  border-bottom:0 !important; padding:0 !important; display:inline !important; width:auto !important;
}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container li.wp-block-navigation-item{ border-bottom:0 !important; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:12px 16px !important;
  border-radius:11px;
  color:#0b2b2b;
  font-weight:400 !important;
  line-height:1.2;
  transition:background .18s ease,color .18s ease;
}
/* hover: solid teal pill, white text + white icon */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus{
  background:#056e6e !important;
  color:#ffffff !important;
}
.dai-nav-ico{ width:20px;height:20px;flex:0 0 20px;color:#056e6e;transition:color .18s ease,transform .18s ease; }
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .dai-nav-ico,
.wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus .dai-nav-ico{ color:#ffffff;transform:scale(1.06); }
/* Left-align dropdowns under their parent label (override items-justified-right) */
.wp-block-navigation.items-justified-right .wp-block-navigation__container>.has-child>.wp-block-navigation__submenu-container{left:0 !important;right:auto !important;}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100% !important;right:auto !important;}
/* ===== Mobile overlay: submenus expand inline; closed ones take no space ===== */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:stretch !important;}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon[aria-expanded="false"] + .wp-block-navigation__submenu-container{display:none !important;}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon[aria-expanded="true"] + .wp-block-navigation__submenu-container{
  position:static !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:16px 0 8px 14px !important;
  gap:0 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:10px 12px !important;}

/* ============================================================================
   Footer  — "Living Intelligence" dark footer (formerly inline on every page).
   index.html keeps 2 small .daiFooter__eyebrow size overrides inline.
   ============================================================================ */
/* ====== Footer redesign — "Living Intelligence" dark footer ====== */
				.daiFooter {
					background: #08141a;
					color: #9fb3b3;
					font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
					padding: clamp(56px, 7vw, 90px) clamp(24px, 5vw, 72px) 0;
				}
				.daiFooter *, .daiFooter *::before, .daiFooter *::after { box-sizing: border-box; }
				.daiFooter a { text-decoration: none; }
				.daiFooter__inner { max-width: 1240px; margin: 0 auto; }
				.daiFooter__top {
					display: grid;
					grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
					gap: clamp(28px, 3vw, 52px);
				}
				.daiFooter__brandLogo { display: inline-block; margin: 0 0 22px; }
				.daiFooter__brandLogo img { height: 34px; width: auto; display: block; }
				.daiFooter__tagline {
					margin: 0 0 24px;
					max-width: 260px;
					font-size: 15px;
					line-height: 1.6;
					color: #7f9696;
				}
				.daiFooter__contact { margin: 0 0 24px; }
				.daiFooter__contact a {
					display: block;
					color: #c3d3d3;
					font-size: 14.5px;
					line-height: 1.95;
					transition: color 0.25s ease;
				}
				.daiFooter__contact a:hover { color: #ffffff; }
				.daiFooter__social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
				.daiFooter__social a {
					display: flex;
					align-items: center;
					justify-content: center;
					width: 40px;
					height: 40px;
					border-radius: 50%;
					background: rgba(255, 255, 255, 0.05);
					border: 1px solid rgba(255, 255, 255, 0.12);
					color: #c3d3d3;
					transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
				}
				.daiFooter__social a:hover {
					background: #056e6e;
					border-color: #056e6e;
					color: #ffffff;
					transform: translateY(-2px);
				}
				.daiFooter__social svg { width: 18px; height: 18px; fill: currentColor; }
				.daiFooter__colHead {
					margin: 4px 0 18px;
					font-size: 12px;
					font-weight: 700;
					letter-spacing: 0.18em;
					text-transform: uppercase;
					color: #5f8a8a;
				}
				.daiFooter__list { list-style: none; margin: 0; padding: 0; }
				.daiFooter__list li { margin: 0 0 12px; }
				.daiFooter__list a {
					color: #c3d3d3;
					font-size: 14.5px;
					line-height: 1.4;
					transition: color 0.25s ease;
				}
				.daiFooter__list a:hover { color: #ffffff; }
				.daiFooter__rule {
					max-width: 1240px;
					margin: clamp(40px, 5vw, 64px) auto 0;
					height: 1px;
					background: rgba(255, 255, 255, 0.08);
				}
				.daiFooter__presence { padding: clamp(36px, 4vw, 54px) 0; }
				.daiFooter__eyebrow {
					display: inline-flex;
					align-items: center;
					gap: 14px;
					margin: 0 0 30px;
					font-size: 12px;
					font-weight: 700;
					letter-spacing: 0.2em;
					text-transform: uppercase;
					color: #5fc6c6;
				}
				.daiFooter__eyebrow::before { content: ""; width: 28px; height: 2px; background: #056e6e; display: block; }
				.daiFooter__regions {
					display: grid;
					grid-template-columns: repeat(4, 1fr);
					gap: clamp(24px, 3vw, 40px);
				}
				.daiFooter__regionName {
					margin: 0 0 10px;
					font-size: 12px;
					font-weight: 700;
					letter-spacing: 0.16em;
					text-transform: uppercase;
					color: #8fb0b0;
				}
				.daiFooter__regionCities { margin: 0; font-size: 14px; line-height: 1.7; color: #7f9696; }
				/* Restore intended footer heading sizes (theme h3/h4 inflates them to 25px) */
				.daiFooter .daiFooter__col h3.daiFooter__colHead { font-size: 13px !important; line-height: 1.3 !important; }
				.daiFooter .daiFooter__regions h4.daiFooter__regionName { font-size: 12px !important; line-height: 1.3 !important; }
				.daiFooter__bottom {
					max-width: 1240px;
					margin: 0 auto;
					border-top: 1px solid rgba(255, 255, 255, 0.08);
					padding: 24px 0 30px;
					display: flex;
					justify-content: space-between;
					align-items: center;
					gap: 16px;
					flex-wrap: wrap;
					font-size: 13px;
					color: #6f8686;
				}
				@media (max-width: 900px) {
					.daiFooter__top { grid-template-columns: 1fr 1fr; }
					.daiFooter__brand { grid-column: 1 / -1; }
					.daiFooter__regions { grid-template-columns: 1fr 1fr; }
				}
				@media (max-width: 560px) {
					.daiFooter__top { grid-template-columns: 1fr; }
					.daiFooter__regions { grid-template-columns: 1fr; }
					.daiFooter__bottom { flex-direction: column; align-items: flex-start; }
				}

/* ============================================================================
   Partner ticker  — shared logo strip. Markup rendered by partner-ticker.js
   into <div class="partnerTicker" data-partner-ticker>. Single source of truth.
   ============================================================================ */
/* OUR PARTNERS — logo ticker */
				.partnerTicker {
					position: relative;
					width: 100%;
					overflow: hidden;
					margin-top: clamp(16px, 2vw, 30px);
					-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
					mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
				}
				.partnerTicker__track {
					display: flex;
					align-items: center;
					width: max-content;
					gap: clamp(48px, 6vw, 104px);
					animation: partnerTickerScroll 58s linear infinite;
					will-change: transform;
				}
				.partnerTicker:hover .partnerTicker__track { animation-play-state: paused; }
				.partnerTicker__item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
				.partnerTicker__item img {
					height: clamp(30px, 3.4vw, 44px);
					width: auto;
					max-width: 170px;
					object-fit: contain;
					opacity: 0.8;
					transition: opacity 0.3s ease, transform 0.3s ease;
				}
				.partnerTicker__item:hover img { opacity: 1; transform: translateY(-2px); }
				@keyframes partnerTickerScroll {
					from { transform: translateX(0); }
					to { transform: translateX(-50%); }
				}
				@media (prefers-reduced-motion: reduce) {
					.partnerTicker { -webkit-mask-image: none; mask-image: none; }
					.partnerTicker__track { animation: none; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 56px); width: 100%; }
					.partnerTicker__item:nth-child(n+5) { display: none; }
				}
