/* ================================================================
   ManufactureX — Homepage stylesheet
   Xometry-exact design system
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  /* Xometry colour palette (extracted from their CSS vars) */
  --xom-navy:           #031a6d;
  --xom-primary:        #092c47;
  --xom-secondary:      #22445f;
  --xom-tertiary:       #6b8091;
  --xom-blue-100:       #0e6aed;
  --xom-blue-125:       #1a5ade;
  --xom-blue-150:       #2437bf;
  --xom-blue-10:        #e6f0fd;
  --xom-blue-5:         #f6f9ff;
  --xom-light-grey:     #f5f5f7;
  --xom-warm-neutral:   #ecece0;
  --xom-light-green:    #dcf27d;
  --xom-green-100:      #13bf87;
  --xom-body:           #222222;
  --xom-body-light:     #777777;
  --xom-border:         #e5e7eb;
  --xom-white:          #ffffff;

  /* Typography */
  --xom-font:   'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --xom-gap:    2rem;
  --xom-radius: 6px;
  --xom-radius-lg: 12px;

  /* Shadows */
  --xom-shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --xom-shadow:    0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --xom-shadow-lg: 0 20px 40px rgba(0,0,0,0.14), 0 8px 16px rgba(0,0,0,0.08);

  --xom-transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Global reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--xom-font);
  color: var(--xom-body);
  background: var(--xom-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: var(--xom-blue-100); text-decoration: none; transition: var(--xom-transition); }
a:hover { color: var(--xom-blue-125); }

/* ── Container ──────────────────────────────────────────────────── */
.xom-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.xom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--xom-font);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--xom-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--xom-transition);
  white-space: nowrap;
  text-decoration: none;
}
.xom-btn--primary {
  background: var(--xom-blue-100);
  color: var(--xom-white);
  border-color: var(--xom-blue-100);
}
.xom-btn--primary:hover {
  background: var(--xom-blue-125);
  border-color: var(--xom-blue-125);
  color: var(--xom-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,106,237,0.35);
}
.xom-btn--ghost {
  background: transparent;
  color: var(--xom-blue-100);
  border-color: var(--xom-blue-100);
}
.xom-btn--ghost:hover {
  background: var(--xom-blue-10);
  color: var(--xom-blue-125);
}
.xom-btn--light {
  background: var(--xom-white);
  color: var(--xom-primary);
  border-color: var(--xom-white);
}
.xom-btn--light:hover {
  background: var(--xom-light-grey);
  color: var(--xom-primary);
}
.xom-btn--ghost-white {
  background: transparent;
  color: var(--xom-white);
  border-color: rgba(255,255,255,0.55);
}
.xom-btn--ghost-white:hover {
  border-color: var(--xom-white);
  background: rgba(255,255,255,0.10);
  color: var(--xom-white);
}
.xom-btn--full { width: 100%; justify-content: center; font-size: 1rem; padding: 0.875rem; }
.xom-mt-6 { margin-top: 2rem; }

/* ── Section defaults ───────────────────────────────────────────── */
.xom-section { padding: 5rem 0; }
.xom-bg-light  { background: var(--xom-light-grey); }
.xom-bg-navy   { background: var(--xom-primary); }

.xom-section__header { text-align: center; margin-bottom: 3rem; }
.xom-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--xom-primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.xom-section__title--white { color: var(--xom-white); }
.xom-section__sub { font-size: 1.125rem; color: var(--xom-body-light); max-width: 640px; margin-inline: auto; }

.xom-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xom-blue-100);
  margin-bottom: 0.75rem;
}
.xom-eyebrow--light { color: var(--xom-light-green); }

/* ══════════════════════════════════════════════
   HEADER (sticky, white)
══════════════════════════════════════════════ */
.mx-top-bar {
  background: var(--xom-light-grey);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--xom-border);
}
.mx-top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.mx-top-links a, .mx-top-actions a {
  color: var(--xom-secondary);
  font-weight: 500;
  transition: var(--xom-transition);
}
.mx-top-links a:hover, .mx-top-actions a:hover { color: var(--xom-blue-100); }
.mx-divider { color: var(--xom-border); }

.mx-header {
  background: var(--xom-white);
  border-bottom: 1px solid var(--xom-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--xom-shadow-sm);
}
.mx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
}
.mx-branding .site-title { margin: 0; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; }
.mx-branding .site-title a { color: var(--xom-primary); }

/* Nav */
.mx-nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; }
.mx-nav-list > li { position: relative; }
.mx-nav-list > li > a {
  color: var(--xom-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 2px solid transparent;
}
.mx-nav-list > li > a:hover { color: var(--xom-blue-100); border-bottom-color: var(--xom-blue-100); }
.mx-nav-list > li > a i { font-size: 0.7rem; }

/* Mega Dropdown */
.mx-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--xom-white);
  min-width: 440px;
  box-shadow: var(--xom-shadow-lg);
  border: 1px solid var(--xom-border);
  border-radius: var(--xom-radius-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--xom-transition);
  z-index: 1001;
}
.mx-has-dropdown:hover .mx-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mx-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mx-dropdown h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--xom-body-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--xom-border);
}
.mx-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--xom-primary);
  padding: 0.35rem 0;
  font-weight: 500;
  font-size: 0.9rem;
}
.mx-dropdown a:hover { color: var(--xom-blue-100); padding-left: 0.25rem; }

.mx-header-cta .xom-btn { padding: 0.625rem 1.25rem; }
.mx-menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--xom-primary); }

@media (max-width: 1024px) {
  .mx-nav-list { display: none; }
  .mx-menu-toggle { display: flex; align-items: center; }
  .mx-header-cta { display: none; }
  .mx-top-bar { display: none; }
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.xom-hero {
  background: var(--xom-primary);
  background-image: linear-gradient(135deg, #092c47 0%, #0e1f3d 60%, #031a6d 100%);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.xom-hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.xom-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--xom-blue-100);
}
.xom-shape--1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.xom-shape--2 { width: 400px; height: 400px; bottom: -100px; left: 10%; }

.xom-hero__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Copy */
.xom-hero__copy { color: var(--xom-white); }
.xom-badge {
  display: inline-block;
  background: rgba(14,106,237,0.25);
  color: var(--xom-light-green);
  border: 1px solid rgba(220,242,125,0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.xom-hero__heading {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--xom-white);
  margin-bottom: 1.25rem;
}
.xom-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.xom-hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.9375rem;
}
.xom-hero__bullets li { display: flex; align-items: center; gap: 0.625rem; }
.xom-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--xom-green-100);
  color: var(--xom-white);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Hero Quote Widget */
.xom-hero__widget { }
.xom-quote-card {
  background: var(--xom-white);
  border-radius: var(--xom-radius-lg);
  box-shadow: var(--xom-shadow-lg);
  padding: 2rem;
  position: relative;
}
.xom-quote-card__header { margin-bottom: 1.5rem; }
.xom-quote-card__title {
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--xom-primary);
  margin-bottom: 0.25rem;
}
.xom-quote-card__sub { font-size: 0.9rem; color: var(--xom-body-light); }

/* Upload zone */
.xom-upload {
  border: 2px dashed var(--xom-border);
  border-radius: var(--xom-radius);
  background: var(--xom-blue-5);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--xom-transition);
  margin-bottom: 1rem;
  position: relative;
}
.xom-upload:hover, .xom-upload:focus, .xom-upload.dragover {
  border-color: var(--xom-blue-100);
  background: var(--xom-blue-10);
  outline: none;
}
.xom-upload__icon { font-size: 2.5rem; color: var(--xom-blue-100); margin-bottom: 0.75rem; }
.xom-upload__primary { font-weight: 600; color: var(--xom-primary); margin-bottom: 0.25rem; }
.xom-upload__link { color: var(--xom-blue-100); text-decoration: underline; cursor: pointer; }
.xom-upload__hint { font-size: 0.8rem; color: var(--xom-body-light); }
.xom-upload__input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}

/* File list */
.xom-file-list { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.xom-file-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--xom-light-grey);
  border: 1px solid var(--xom-border);
  border-radius: var(--xom-radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.xom-file-item__name { display: flex; align-items: center; gap: 0.4rem; font-weight: 500; color: var(--xom-primary); }
.xom-file-item__remove {
  background: none; border: none; cursor: pointer; color: var(--xom-body-light);
  font-size: 1rem; line-height: 1; transition: var(--xom-transition); padding: 0.1rem 0.25rem;
}
.xom-file-item__remove:hover { color: #e7364f; }

/* Process select */
.xom-process-select { margin-bottom: 1rem; }
.xom-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--xom-primary); margin-bottom: 0.4rem; }
.xom-select {
  display: block; width: 100%;
  padding: 0.65rem 0.875rem;
  font-family: var(--xom-font); font-size: 0.9375rem;
  color: var(--xom-primary);
  background: var(--xom-white);
  border: 1.5px solid var(--xom-border);
  border-radius: var(--xom-radius);
  transition: var(--xom-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23092c47' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}
.xom-select:focus { outline: none; border-color: var(--xom-blue-100); box-shadow: 0 0 0 3px rgba(14,106,237,0.12); }

.xom-quote-card__note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--xom-body-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}

/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.xom-stats {
  background: var(--xom-white);
  border-top: 1px solid var(--xom-border);
  border-bottom: 1px solid var(--xom-border);
  padding: 2.5rem 0;
}
.xom-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.xom-stats__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.xom-stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: 1px;
  background: var(--xom-border);
}
.xom-stats__number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--xom-blue-100);
  letter-spacing: -0.03em;
  line-height: 1;
}
.xom-stats__suffix { font-size: 1.5rem; font-weight: 700; color: var(--xom-blue-100); }
.xom-stats__label { font-size: 0.875rem; color: var(--xom-body-light); margin-top: 0.4rem; font-weight: 500; }

/* ══════════════════════════════════════════════
   CAPABILITIES TABS
══════════════════════════════════════════════ */
.xom-capabilities { }
.xom-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--xom-border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.xom-tabs::-webkit-scrollbar { display: none; }
.xom-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.25rem;
  font-family: var(--xom-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--xom-body-light);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--xom-transition);
}
.xom-tab:hover { color: var(--xom-primary); }
.xom-tab--active { color: var(--xom-blue-100); border-bottom-color: var(--xom-blue-100); }

.xom-tabpanel { display: none; }
.xom-tabpanel--active { display: block; }

.xom-capcard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.xom-capcard__visual { border-radius: var(--xom-radius-lg); overflow: hidden; box-shadow: var(--xom-shadow-lg); }
.xom-capcard__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.xom-capcard__icon {
  width: 56px; height: 56px;
  border-radius: var(--xom-radius);
  background: var(--xom-blue-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--xom-blue-100);
  margin-bottom: 1.25rem;
}
.xom-capcard__title { font-size: 1.75rem; font-weight: 800; color: var(--xom-primary); margin-bottom: 1rem; }
.xom-capcard__desc { color: var(--xom-body-light); line-height: 1.7; margin-bottom: 1.5rem; font-size: 1rem; }

.xom-spec-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.xom-spec-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 500; color: var(--xom-secondary); font-size: 0.9375rem;
}
.xom-spec-list li i { color: var(--xom-blue-100); font-size: 1.1rem; flex-shrink: 0; }
.xom-capcard__actions { display: flex; gap: 1rem; }

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.xom-hiw__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 960px;
  margin-inline: auto;
}
.xom-hiw__step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.xom-hiw__connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--xom-blue-10), var(--xom-blue-100), var(--xom-blue-10));
  margin-top: 3.5rem;
  flex-shrink: 0;
}
.xom-hiw__num {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--xom-blue-100);
  margin-bottom: 1rem;
}
.xom-hiw__icon {
  width: 72px; height: 72px;
  background: var(--xom-blue-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.875rem;
  color: var(--xom-white);
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(14,106,237,0.3);
  transition: var(--xom-transition);
}
.xom-hiw__step:hover .xom-hiw__icon { transform: scale(1.08); box-shadow: 0 12px 32px rgba(14,106,237,0.4); }
.xom-hiw__label { font-size: 1.0625rem; font-weight: 700; color: var(--xom-primary); margin-bottom: 0.5rem; }
.xom-hiw__desc { font-size: 0.9rem; color: var(--xom-body-light); line-height: 1.65; }

/* ══════════════════════════════════════════════
   LOGOS MARQUEE
══════════════════════════════════════════════ */
.xom-logos { padding: 3rem 0; background: var(--xom-white); }
.xom-logos__eyebrow {
  text-align: center;
  font-size: 0.875rem;
  color: var(--xom-body-light);
  margin-bottom: 2rem;
}
.xom-logos__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.xom-logos__inner {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: xomLogoScroll 28s linear infinite;
  align-items: center;
}
.xom-logos__inner:hover { animation-play-state: paused; }
@keyframes xomLogoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.xom-logo-item img { height: 36px; width: auto; filter: grayscale(1) opacity(0.55); transition: var(--xom-transition); }
.xom-logo-item:hover img { filter: grayscale(0) opacity(1); }

/* ══════════════════════════════════════════════
   WHY MANUFACTUREX
══════════════════════════════════════════════ */
.xom-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.xom-why__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1.25rem 0 1.75rem;
}
.xom-why__list { display: flex; flex-direction: column; gap: 1rem; }
.xom-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.xom-why__list i {
  font-size: 1.25rem;
  color: var(--xom-light-green);
  flex-shrink: 0;
  margin-top: 1px;
}
.xom-why__visual { position: relative; }
.xom-why__img {
  border-radius: var(--xom-radius-lg);
  box-shadow: var(--xom-shadow-lg);
  width: 100%;
}
.xom-badge-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--xom-white);
  border-radius: var(--xom-radius);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--xom-shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--xom-primary);
}
.xom-badge-float i { font-size: 1.5rem; color: var(--xom-blue-100); }
.xom-badge-float strong { display: block; font-weight: 700; }
.xom-badge-float small { color: var(--xom-body-light); font-size: 0.8rem; }

/* ══════════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════════ */
.xom-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.xom-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  border: 1.5px solid var(--xom-border);
  border-radius: var(--xom-radius-lg);
  background: var(--xom-white);
  transition: var(--xom-transition);
  cursor: default;
}
.xom-ind-card:hover {
  border-color: var(--xom-blue-100);
  box-shadow: var(--xom-shadow);
  transform: translateY(-3px);
}
.xom-ind-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--xom-blue-10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  color: var(--xom-blue-100);
  transition: var(--xom-transition);
}
.xom-ind-card:hover .xom-ind-card__icon { background: var(--xom-blue-100); color: var(--xom-white); }
.xom-ind-card__label { font-weight: 600; color: var(--xom-primary); font-size: 0.9375rem; text-align: center; }

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.xom-testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.xom-testi-card {
  background: var(--xom-white);
  border: 1.5px solid var(--xom-border);
  border-radius: var(--xom-radius-lg);
  padding: 1.75rem;
  transition: var(--xom-transition);
  display: flex;
  flex-direction: column;
}
.xom-testi-card:hover { box-shadow: var(--xom-shadow); border-color: var(--xom-blue-100); transform: translateY(-2px); }
.xom-testi-card__stars { color: #ffc118; margin-bottom: 1rem; display: flex; gap: 2px; }
.xom-testi-card__quote {
  font-style: italic;
  color: var(--xom-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
.xom-testi-card__author { display: flex; align-items: center; gap: 0.75rem; }
.xom-testi-card__avatar {
  width: 42px; height: 42px;
  background: var(--xom-blue-10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--xom-blue-100);
  flex-shrink: 0;
}
.xom-testi-card__author strong { display: block; color: var(--xom-primary); font-size: 0.9rem; }
.xom-testi-card__author span { display: block; font-size: 0.8rem; color: var(--xom-body-light); margin-top: 0.1rem; }

/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.xom-cta-banner {
  background: linear-gradient(133deg, #0e6aed 14%, #2437bf 71%);
  padding: 4.5rem 0;
}
.xom-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.xom-cta-banner__title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--xom-white);
  margin-bottom: 0.5rem;
}
.xom-cta-banner__sub { color: rgba(255,255,255,0.8); font-size: 1.0625rem; }
.xom-cta-banner__actions { display: flex; gap: 1rem; flex-shrink: 0; }
.xom-btn--white {
  background: var(--xom-white);
  color: var(--xom-blue-150);
  border-color: var(--xom-white);
  font-weight: 700;
}
.xom-btn--white:hover {
  background: var(--xom-light-grey);
  color: var(--xom-blue-150);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.mx-footer {
  background: var(--xom-primary);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.mx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.mx-footer-brand .site-title a { color: var(--xom-white); font-size: 1.375rem; }
.mx-footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.mx-footer-col h5 { color: var(--xom-white); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.mx-footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.mx-footer-col a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: var(--xom-transition); }
.mx-footer-col a:hover { color: var(--xom-white); }
.mx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 1rem;
}
.mx-footer-social { display: flex; gap: 1rem; }
.mx-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--xom-transition);
}
.mx-footer-social a:hover { background: var(--xom-blue-100); color: var(--xom-white); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .xom-hero__inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .xom-hero__widget     { max-width: 560px; }
  .xom-capcard          { grid-template-columns: 1fr; gap: 2rem; }
  .xom-why__inner       { grid-template-columns: 1fr; gap: 3rem; }
  .xom-cta-banner__inner { flex-direction: column; text-align: center; }
  .mx-footer-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .xom-section { padding: 3.5rem 0; }
  .xom-hero    { padding: 3rem 0 3.5rem; }
  .xom-stats__grid        { grid-template-columns: repeat(2,1fr); }
  .xom-stats__item::after { display: none; }
  .xom-industries__grid   { grid-template-columns: repeat(2,1fr); }
  .xom-testi__grid        { grid-template-columns: 1fr; }
  .xom-hiw__steps         { flex-direction: column; align-items: center; }
  .xom-hiw__connector     { width: 2px; height: 48px; background: linear-gradient(to bottom, var(--xom-blue-10), var(--xom-blue-100), var(--xom-blue-10)); }
  .xom-cta-banner__actions { flex-direction: column; width: 100%; }
  .mx-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .xom-stats__grid { grid-template-columns: 1fr 1fr; }
  .xom-industries__grid { grid-template-columns: repeat(2,1fr); }
  .xom-badge-float { display: none; }
}

/* ══════════════════════════════════════════════
   ACCORDION (FAQ) — used on capability pages
══════════════════════════════════════════════ */
.mx-accordion { max-width: 800px; margin-inline: auto; }
.mx-accordion-item {
  border: 1.5px solid var(--xom-border);
  border-radius: var(--xom-radius);
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: var(--xom-transition);
}
.mx-accordion-item:hover { border-color: var(--xom-blue-100); }
.mx-accordion-header {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  color: var(--xom-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 0.9375rem;
}
.mx-accordion-header::after { content: '+'; font-size: 1.375rem; font-weight: 300; color: var(--xom-blue-100); transition: var(--xom-transition); }
.mx-accordion-item.open .mx-accordion-header::after { content: '−'; }
.mx-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 1.25rem;
  color: var(--xom-body-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.mx-accordion-item.open .mx-accordion-body { max-height: 400px; padding: 0 1.25rem 1.25rem; }

/* Mobile nav open state */
.mx-nav-list.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--xom-white);
  border-bottom: 1px solid var(--xom-border);
  box-shadow: var(--xom-shadow-lg);
  padding: 1.25rem 1.5rem;
  gap: 0.25rem;
  z-index: 999;
}
.mx-nav-list.is-open > li > a { padding: 0.625rem 0; border: none; }
.mx-nav-list.is-open .mx-dropdown { position: static; transform: none; opacity: 1; visibility: visible; min-width: 100%; pointer-events: auto; box-shadow: none; border: none; padding: 0.5rem 0 0.5rem 1rem; }
.mx-nav-list.is-open .mx-dropdown-grid { grid-template-columns: 1fr; gap: 0.5rem; }
