/* Adapted Products — three-theme marketing system
   Industrial stream: orange + black (sharp / industrial)
   Software stream: blue + white (airy / tech)
   Fabrication stream: red + black (high-contrast / maker)
   Contact / home shell: neutral bridge with multi-accent
*/

:root {
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --header-h: 68px;

  /* Bridge / shell defaults (dark neutral) */
  --bg: #0b0d11;
  --bg-elevated: #141820;
  --bg-alt: #10141b;
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.10);
  --steel: #7a8494;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);

  /* Multi-accent (home / contact) */
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.15);
  --accent-industrial: #f97316;
  --accent-software: #2563eb;
  --accent-fabrication: #e11d48;

  --card-bg: #151820;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== Shared header / footer shell ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo:hover { color: var(--white); }
.logo span {
  font-weight: 400;
  background: linear-gradient(90deg, var(--accent-industrial), var(--accent-software), var(--accent-fabrication));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-bars {
  display: inline-block;
  width: 18px;
  height: 12px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars {
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; top: auto; }
.nav-toggle-bars {
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 5px;
  bottom: auto;
  transform: rotate(-45deg);
}
.nav-toggle-label { font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav > a,
.nav-dropdown > .nav-drop-btn {
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.nav-dropdown > .nav-drop-btn:hover,
.nav-dropdown > .nav-drop-btn:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav > a.active { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-drop-btn::after { content: " ▾"; font-size: 0.7em; opacity: 0.7; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 320px;
  max-height: 75vh;
  overflow-y: auto;
  background: #161a22;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.65rem;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-group { margin-bottom: 0.55rem; }
.dropdown-group:last-child { margin-bottom: 0; }

.dropdown-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.75rem 0.3rem;
  color: var(--steel);
}

.dropdown-group.group-industrial .dropdown-label { color: var(--accent-industrial); }
.dropdown-group.group-software .dropdown-label { color: #60a5fa; }
.dropdown-group.group-fabrication .dropdown-label { color: #fb7185; }

.dropdown-group a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.88rem;
  border-left: 2px solid transparent;
}
.dropdown-group a:hover,
.dropdown-group a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}
.group-industrial a:hover { border-left-color: var(--accent-industrial); }
.group-software a:hover { border-left-color: var(--accent-software); }
.group-fabrication a:hover { border-left-color: var(--accent-fabrication); }

.dropdown-hub {
  display: block !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.15rem;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
}
.nav-cta:hover { filter: brightness(1.08); }

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-lg { padding: 0.95rem 1.85rem; font-size: 1rem; letter-spacing: 0.01em; }

/* ========== Base hero / sections ========== */
.hero {
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-home { padding: 5rem 0 4rem; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 20ch;
}
.hero-home h1 { max-width: 24ch; }

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section { padding: 4rem 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-lead {
  color: var(--text-muted);
  max-width: 40em;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.prose { color: var(--text-muted); max-width: 42em; }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--text); font-weight: 600; }

/* ========== Steps / offerings (base) ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

.offerings { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.offering-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.offering-item::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}
.offering-item h3 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.2rem; }
.offering-item p { font-size: 0.875rem; color: var(--text-muted); }

.cta-band {
  padding: 4rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: var(--text-muted);
  max-width: 32em;
  margin: 0 auto 1.5rem;
}

/* ========== Home: category panels ========== */
.theme-panels { display: grid; gap: 2.35rem; }

.category-panel {
  position: relative;
  overflow: hidden;
  padding: 2.15rem 1.65rem 1.9rem;
}

.category-panel .panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.category-panel .panel-head h2 { margin-bottom: 0.35rem; }
.category-panel .panel-lead {
  color: var(--text-muted);
  max-width: 36em;
  font-size: 0.98rem;
  margin: 0;
}
.panel-link {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* —— Industrial panel (sharp / dark / orange) —— */
.panel-industrial {
  background: #0a0a0a;
  color: #f5f5f5;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  border: 2px solid #f97316;
  border-radius: 0;
  box-shadow: 6px 6px 0 #f97316, 0 18px 40px rgba(0,0,0,0.35);
}
.panel-industrial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(249, 115, 22, 0.04) 12px,
      rgba(249, 115, 22, 0.04) 24px
    );
  pointer-events: none;
}
.panel-industrial .section-label { color: #f97316; }
.panel-industrial h2 { color: #fff; }
.panel-industrial .panel-lead { color: #b0b0b0; }
.panel-industrial .panel-link { color: #f97316; }
.panel-industrial .service-grid { position: relative; z-index: 1; }

.card-industrial {
  background: #141414;
  border: 1px solid #333;
  border-radius: 0;
  border-left: 4px solid #f97316;
  padding: 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  color: inherit;
}
.card-industrial:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #f97316;
  border-color: #f97316;
  color: inherit;
}
.card-industrial .card-icon {
  width: 40px;
  height: 40px;
  background: #f97316;
  color: #0a0a0a;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.card-industrial h3 { font-size: 1.02rem; color: #fff; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; }
.card-industrial p { font-size: 0.88rem; color: #a3a3a3; flex-grow: 1; margin-bottom: 0.75rem; }
.card-industrial .card-link { font-size: 0.85rem; font-weight: 700; color: #f97316; text-transform: uppercase; letter-spacing: 0.06em; }

/* —— Software panel (airy / light / blue) —— */
.panel-software {
  background: linear-gradient(160deg, #f8fbff 0%, #eef5ff 50%, #dbeafe 100%);
  color: #0f172a;
  border-radius: 22px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.14);
}
.panel-software .section-label { color: #2563eb; }
.panel-software h2 { color: #0f172a; }
.panel-software .panel-lead { color: #475569; }
.panel-software .panel-link { color: #2563eb; }

.card-software {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  color: inherit;
}
.card-software:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.15);
  color: inherit;
}
.card-software .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.card-software h3 { font-size: 1.05rem; color: #0f172a; margin-bottom: 0.4rem; font-weight: 650; }
.card-software p { font-size: 0.9rem; color: #64748b; flex-grow: 1; margin-bottom: 0.85rem; }
.card-software .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  background: #eff6ff;
  border-radius: 999px;
}

/* —— Fabrication panel (high contrast red / black) —— */
.panel-fabrication {
  background: #0d0d0d;
  color: #fafafa;
  border-radius: 6px;
  border-top: 5px solid #e11d48;
  border-bottom: 5px solid #e11d48;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.35), 0 18px 40px rgba(0,0,0,0.3);
  position: relative;
}
.panel-fabrication::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: linear-gradient(225deg, rgba(225, 29, 72, 0.25), transparent 70%);
  pointer-events: none;
}
.panel-fabrication .section-label { color: #fb7185; }
.panel-fabrication h2 { color: #fff; }
.panel-fabrication .panel-lead { color: #a8a29e; }
.panel-fabrication .panel-link { color: #fb7185; }
.panel-fabrication .service-grid { position: relative; z-index: 1; }

.card-fabrication {
  background: #171717;
  border: 1px solid #404040;
  border-radius: 2px;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
  color: inherit;
}
.card-fabrication:hover {
  border-color: #e11d48;
  transform: scale(1.01);
  color: inherit;
}
.card-fabrication .card-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #fb7185, transparent);
}
.card-fabrication .card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-fabrication .card-icon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e11d48;
  border: 1px solid #e11d48;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.card-fabrication h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
  font-weight: 700;
  border-bottom: 2px solid #e11d48;
  padding-bottom: 0.35rem;
  display: inline-block;
}
.card-fabrication p { font-size: 0.88rem; color: #a8a29e; flex-grow: 1; margin: 0.65rem 0 0.85rem; }
.card-fabrication .card-link { font-size: 0.875rem; font-weight: 700; color: #fb7185; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

/* Home intro values */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.value-card {
  padding: 1.6rem 1.5rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.03), transparent 55%), var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.2s, border-color 0.2s;
}
.value-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
}
.value-card.v-industrial { border-left-color: var(--accent-industrial); }
.value-card.v-software { border-left-color: var(--accent-software); }
.value-card.v-fabrication { border-left-color: var(--accent-fabrication); }
.value-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); }

.home-hero-accents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.home-hero-accents span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
}
.badge-industrial { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.badge-software { background: rgba(37, 99, 235, 0.15); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.4); border-radius: 999px !important; }
.badge-fabrication { background: rgba(225, 29, 72, 0.15); color: #fb7185; border: 1px solid rgba(225, 29, 72, 0.45); }

.hero-home {
  background:
    radial-gradient(ellipse 42% 55% at 8% 78%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(ellipse 38% 48% at 92% 18%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 32% 42% at 72% 92%, rgba(225, 29, 72, 0.12), transparent 55%),
    linear-gradient(180deg, #161a22 0%, #0b0d11 100%);
  padding: 5.5rem 0 4.25rem;
}

/* ========== Industrial Automation ========== */
body.theme-industrial {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-alt: #111111;
  --card-bg: #161616;
  --text: #f0f0f0;
  --text-muted: #a3a3a3;
  --border: rgba(249, 115, 22, 0.25);
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.18);
  --radius: 0;
  --shadow: 6px 6px 0 #f97316;
  background: #0a0a0a;
}
body.theme-industrial .site-header {
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 2px solid #f97316;
}
body.theme-industrial .logo span { background: none; -webkit-background-clip: unset; background-clip: unset; color: #f97316; }
body.theme-industrial .nav-cta { background: #f97316 !important; border-radius: 0 !important; }
body.theme-industrial .btn { border-radius: 0; }
body.theme-industrial .btn-primary { box-shadow: 3px 3px 0 #7c2d12; }
body.theme-industrial .btn-outline { border-width: 2px; border-color: #f97316; color: #f97316; }
body.theme-industrial .btn-outline:hover { background: #f97316; color: #0a0a0a; }

body.theme-industrial .hero {
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 16px, rgba(249, 115, 22, 0.05) 16px, rgba(249, 115, 22, 0.05) 32px),
    linear-gradient(135deg, #0a0a0a 0%, #1a120a 50%, #0a0a0a 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  border-bottom: none;
  padding-bottom: 4.5rem;
}
body.theme-industrial .hero::after {
  content: "";
  position: absolute;
  right: -40px; top: 20%;
  width: 200px; height: 200px;
  border: 3px solid rgba(249, 115, 22, 0.35);
  transform: rotate(45deg);
  pointer-events: none;
}
body.theme-industrial .hero-eyebrow {
  background: #f97316;
  color: #0a0a0a;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.14em;
}
body.theme-industrial .hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 16ch;
}
body.theme-industrial .section-alt {
  background: #111;
  border-top: 2px solid #f97316;
  border-bottom: 2px solid #333;
}
body.theme-industrial .step,
body.theme-industrial .offering-item,
body.theme-industrial .value-card {
  border-radius: 0;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
}
body.theme-industrial .step-num { border-radius: 0; }
body.theme-industrial .offering-item::before { border-radius: 0; width: 10px; height: 10px; }
body.theme-industrial .cta-band {
  background: #0a0a0a;
  border-top: 4px solid #f97316;
  clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%);
  padding-top: 4rem;
}
body.theme-industrial .site-footer { background: #050505; border-top: 2px solid #f97316; }
body.theme-industrial .service-card-theme {
  background: #161616;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
  border-radius: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.15s, transform 0.15s;
}
body.theme-industrial .service-card-theme:hover {
  box-shadow: 4px 4px 0 #f97316;
  transform: translate(-2px, -2px);
}
body.theme-industrial .service-card-theme h3 { color: #fff; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
body.theme-industrial .service-card-theme p { color: #a3a3a3; font-size: 0.9rem; flex: 1; margin-bottom: 0.75rem; }
body.theme-industrial .service-card-theme .card-link { color: #f97316; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; }

/* ========== Software & Connected ========== */
body.theme-software {
  --bg: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-alt: #e8f0fe;
  --card-bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  --steel: #64748b;
  --white: #0f172a;
  background: #f1f5f9;
  color: #0f172a;
}
body.theme-software .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 0 rgba(37, 99, 235, 0.06);
}
body.theme-software .logo { color: #0f172a; }
body.theme-software .logo span { background: none; -webkit-background-clip: unset; background-clip: unset; color: #2563eb; }
body.theme-software .main-nav > a,
body.theme-software .nav-dropdown > .nav-drop-btn { color: #64748b; }
body.theme-software .main-nav > a:hover,
body.theme-software .nav-drop-btn:hover {
  color: #0f172a;
  background: #eff6ff;
}
body.theme-software .main-nav > a.active { color: #2563eb; }
body.theme-software .dropdown-menu {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
body.theme-software .dropdown-group a { color: #475569; }
body.theme-software .dropdown-group a:hover { background: #eff6ff; color: #0f172a; }
body.theme-software .nav-toggle { border-color: #cbd5e1; color: #0f172a; }
body.theme-software .nav-cta { border-radius: 999px !important; }

body.theme-software .hero {
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(96, 165, 250, 0.35), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(191, 219, 254, 0.5), transparent),
    linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-bottom: none;
  border-radius: 0 0 40px 40px;
}
body.theme-software .hero-eyebrow {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
body.theme-software .hero h1 { color: #0f172a; font-weight: 750; max-width: 18ch; }
body.theme-software .hero-tagline { color: #475569; }
body.theme-software .btn-primary { border-radius: 999px; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
body.theme-software .btn-outline {
  border-radius: 999px;
  border-color: #93c5fd;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.7);
}
body.theme-software .btn-outline:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

body.theme-software .section h2 { color: #0f172a; }
body.theme-software .section-alt {
  background: linear-gradient(180deg, #e8f0fe, #f8fbff);
  border: none;
  border-radius: 28px;
  margin: 0 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
body.theme-software .step {
  border-radius: 20px;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  background: #fff;
}
body.theme-software .step-num {
  border-radius: 50%;
  width: 32px; height: 32px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}
body.theme-software .offering-item {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
body.theme-software .offering-item::before {
  width: 10px; height: 10px;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
body.theme-software .breadcrumb,
body.theme-software .breadcrumb a { color: #64748b; }
body.theme-software .breadcrumb a:hover { color: #2563eb; }
body.theme-software .cta-band {
  background: linear-gradient(135deg, #2563eb, #3b82f6 40%, #60a5fa);
  border: none;
  border-radius: 28px;
  margin: 2rem 1rem 3rem;
  color: #fff;
}
body.theme-software .cta-band h2 { color: #fff; }
body.theme-software .cta-band p { color: rgba(255, 255, 255, 0.9); }
body.theme-software .cta-band .btn-primary {
  background: #fff;
  color: #1d4ed8;
}
body.theme-software .cta-band .btn-primary:hover { background: #eff6ff; color: #1e40af; }
body.theme-software .site-footer {
  background: #0f172a;
  border-top: none;
}
body.theme-software .site-footer .logo { color: #fff; }
body.theme-software .site-footer .logo span { color: #60a5fa; }
body.theme-software .service-card-theme {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
body.theme-software .service-card-theme:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}
body.theme-software .service-card-theme h3 { color: #0f172a; margin-bottom: 0.4rem; }
body.theme-software .service-card-theme p { color: #64748b; font-size: 0.9rem; flex: 1; margin-bottom: 0.75rem; }
body.theme-software .service-card-theme .card-link {
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  align-self: flex-start;
  font-size: 0.85rem;
}

/* ========== Fabrication & Design ========== */
body.theme-fabrication {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --bg-alt: #121212;
  --card-bg: #171717;
  --text: #fafafa;
  --text-muted: #a8a29e;
  --border: rgba(225, 29, 72, 0.3);
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-soft: rgba(225, 29, 72, 0.18);
  --radius: 2px;
  --shadow: 0 0 0 1px #e11d48, 0 12px 32px rgba(225, 29, 72, 0.2);
  background: #0c0c0c;
}
body.theme-fabrication .site-header {
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid #404040;
  border-top: 3px solid #e11d48;
}
body.theme-fabrication .logo span { background: none; -webkit-background-clip: unset; background-clip: unset; color: #e11d48; }
body.theme-fabrication .nav-cta { background: #e11d48 !important; border-radius: 2px !important; }

body.theme-fabrication .hero {
  background:
    linear-gradient(90deg, rgba(225, 29, 72, 0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(225, 29, 72, 0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(160deg, #0c0c0c 0%, #1a0a10 45%, #0c0c0c 100%);
  border-bottom: 6px solid #e11d48;
}
body.theme-fabrication .hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: #e11d48;
}
body.theme-fabrication .hero-eyebrow {
  color: #fb7185;
  border: 1px solid #e11d48;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.14em;
}
body.theme-fabrication .hero h1 {
  border-bottom: 3px solid #e11d48;
  display: inline-block;
  padding-bottom: 0.35rem;
  max-width: none;
}
body.theme-fabrication .btn { border-radius: 2px; }
body.theme-fabrication .btn-primary {
  background: #e11d48;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.35);
}
body.theme-fabrication .btn-outline { border-color: #e11d48; color: #fb7185; border-width: 2px; }
body.theme-fabrication .btn-outline:hover { background: #e11d48; color: #fff; }

body.theme-fabrication .section-alt {
  background: #111;
  border-top: 1px dashed rgba(225, 29, 72, 0.45);
  border-bottom: 1px dashed rgba(225, 29, 72, 0.45);
}
body.theme-fabrication .step {
  border-radius: 2px;
  border: 1px solid #404040;
  border-top: 3px solid #e11d48;
  background: #171717;
}
body.theme-fabrication .step-num {
  border-radius: 2px;
  background: transparent;
  border: 2px solid #e11d48;
  color: #fb7185;
}
body.theme-fabrication .offering-item {
  border-radius: 2px;
  border: 1px solid #404040;
  border-right: 3px solid #e11d48;
  background: #171717;
}
body.theme-fabrication .offering-item::before {
  border-radius: 0;
  width: 0; height: 0;
  border-left: 6px solid #e11d48;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  background: transparent;
  margin-top: 0.35rem;
}
body.theme-fabrication .cta-band {
  background: #0c0c0c;
  border-top: 6px solid #e11d48;
  border-bottom: 6px solid #e11d48;
}
body.theme-fabrication .site-footer {
  background: #050505;
  border-top: 1px solid #404040;
}
body.theme-fabrication .service-card-theme {
  background: #171717;
  border: 1px solid #404040;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.15s, transform 0.15s;
}
body.theme-fabrication .service-card-theme:hover {
  border-color: #e11d48;
  transform: scale(1.015);
}
body.theme-fabrication .service-card-theme .card-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #fb7185);
}
body.theme-fabrication .service-card-theme .card-body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
body.theme-fabrication .service-card-theme h3 {
  color: #fff;
  border-bottom: 2px solid #e11d48;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}
body.theme-fabrication .service-card-theme p { color: #a8a29e; font-size: 0.9rem; flex: 1; margin-bottom: 0.75rem; }
body.theme-fabrication .service-card-theme .card-link { color: #fb7185; font-weight: 700; }

/* ========== Contact (neutral bridge) ========== */
body.theme-contact {
  --bg: #0c0e12;
  --bg-elevated: #151820;
  --accent: #e8eaef;
  --accent-hover: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
}
body.theme-contact .hero {
  background:
    radial-gradient(circle at 15% 80%, rgba(249, 115, 22, 0.15), transparent 40%),
    radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.12), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(225, 29, 72, 0.12), transparent 40%),
    linear-gradient(180deg, #151820, #0c0e12);
}
body.theme-contact .hero-eyebrow {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.7rem;
  color: #cbd5e1;
}
body.theme-contact .btn-primary {
  background: linear-gradient(90deg, #f97316, #2563eb, #e11d48);
  background-size: 200% 100%;
  border: none;
  color: #fff;
}
body.theme-contact .btn-primary:hover { filter: brightness(1.08); }
body.theme-contact .contact-form {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #f97316, #2563eb, #e11d48) 1;
}
.contact-theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.contact-theme-pills a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border: 1px solid;
}
.pill-ind { color: #fb923c; border-color: rgba(249, 115, 22, 0.5); }
.pill-soft { color: #60a5fa; border-color: rgba(37, 99, 235, 0.5); border-radius: 999px; }
.pill-fab { color: #fb7185; border-color: rgba(225, 29, 72, 0.5); }

/* Contact form (shared) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1rem; }
.contact-details { display: grid; gap: 1rem; }
.contact-detail {
  padding: 1rem 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-detail dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 0.25rem;
}
.contact-detail dd { color: var(--text); font-weight: 500; }
.contact-detail a { color: var(--accent-industrial); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-form h2 { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--white); }
body.theme-software .contact-form h2 { color: #0f172a; }
.form-note { font-size: 0.85rem; color: var(--steel); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
body.theme-software .form-group input,
body.theme-software .form-group select,
body.theme-software .form-group textarea {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Footer */
.site-footer {
  margin-top: auto;
  background: #07080b;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.9rem; color: var(--steel); max-width: 28ch; }
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.footer-col.col-industrial h4 { color: #fb923c; }
.footer-col.col-software h4 { color: #60a5fa; }
.footer-col.col-fabrication h4 { color: #fb7185; }
.footer-col ul { display: grid; gap: 0.35rem; }
.footer-col a { color: #9aa3b2; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--steel);
}
.footer-contact-link {
  color: #cbd5e1;
  font-weight: 500;
}
.footer-contact-link:hover { color: #fff; }

.breadcrumb { font-size: 0.85rem; color: var(--steel); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.35rem; opacity: 0.5; }

.hub-whw {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.hub-whw article {
  padding: 1.35rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hub-whw h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--white); }
body.theme-software .hub-whw h3 { color: #0f172a; }
.hub-whw p { font-size: 0.9rem; color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
main { flex: 1; }


/* ========== Equipment / capability chips (Industrial hub & home) ========== */
.equip-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.equip-group {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.equip-group h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.equip-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.equip-group li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.45;
}
.equip-group li:last-child { border-bottom: none; }
.equip-group strong { color: var(--text); }

.equip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.equip-chips span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

body.theme-industrial .equip-group,
body.theme-home .panel-industrial .equip-group {
  border-radius: 0;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
  background: #161616;
}
body.theme-industrial .equip-group h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: #f97316;
}
body.theme-industrial .equip-chips span {
  border-radius: 0;
  border-color: #444;
  background: #0d0d0d;
  color: #fb923c;
  border-top: 2px solid #f97316;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0.25rem;
}
.capability-chips span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
  border-radius: 0;
}


/* ========== Digital Twins: software bridge + hub callouts ========== */
.software-bridge .bridge-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.software-bridge .bridge-points article {
  background: #161616;
  border: 1px solid #333;
  border-left: 4px solid #3b82f6;
  border-radius: 0;
  padding: 1.15rem 1.2rem;
}
.software-bridge .bridge-points h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.software-bridge .bridge-points p {
  color: #a3a3a3;
  font-size: 0.9rem;
}
.software-bridge .bridge-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}
.software-bridge .bridge-note a {
  color: #60a5fa;
  font-weight: 600;
}
.software-bridge .prose a {
  color: #60a5fa;
}

.hub-callout {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
body.theme-industrial .hub-callout {
  background: #161616;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
  border-radius: 0;
}
body.theme-software .hub-callout {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.hub-callout h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
body.theme-industrial .hub-callout h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
body.theme-software .hub-callout h3 {
  color: #0f172a;
}
.hub-callout p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 42rem;
}
body.theme-industrial .hub-callout p { color: #a3a3a3; }
body.theme-software .hub-callout p { color: #475569; }
.hub-callout .btn { flex-shrink: 0; }

/* ========== Purpose cards (Industrial AI) ========== */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.purpose-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
}
.purpose-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.purpose-card h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}
.purpose-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

body.theme-industrial .purpose-card {
  border-radius: 0;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
  background: #161616;
}
body.theme-industrial .purpose-num {
  color: #f97316;
  text-transform: uppercase;
}
body.theme-industrial .purpose-card h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* ========== Experience block (Machine Building, etc.) ========== */
.experience-section .experience-intro {
  margin-bottom: 1.75rem;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.experience-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.experience-card h3 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}
.experience-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.tracking-block {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tracking-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.tracking-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 48em;
  margin-bottom: 1.25rem;
}
.tracking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}
.tracking-item {
  padding: 1rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tracking-item h4 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tracking-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.tracking-compare {
  margin-top: 0.85rem;
}
.tracking-item-wide {
  border-left: 3px solid var(--accent);
}
.tracking-item-wide strong { color: var(--text); }

body.theme-industrial .experience-card,
body.theme-industrial .tracking-block,
body.theme-industrial .tracking-item {
  border-radius: 0;
  border: 1px solid #333;
}
body.theme-industrial .experience-card {
  border-left: 4px solid #f97316;
  background: #161616;
}
body.theme-industrial .tracking-block {
  background: #0d0d0d;
  border-top: 2px solid #f97316;
}
body.theme-industrial .tracking-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
}
body.theme-industrial .tracking-item h4 {
  color: #f97316;
}
body.theme-industrial .tracking-item-wide {
  border-left: 4px solid #f97316;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hub-whw { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 22, 30, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem;
    gap: 0.2rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  }
  body.theme-software .main-nav { background: #fff; }
  .main-nav.open { display: flex; }
  .main-nav > a,
  .nav-dropdown > .nav-drop-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center !important; }
  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    max-height: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    margin: 0.25rem 0 0.5rem;
  }
  body.theme-software .dropdown-menu { background: #f1f5f9; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-home { padding: 3.5rem 0 3rem; }
  .panel-industrial { clip-path: none; box-shadow: 4px 4px 0 #f97316; }
  body.theme-industrial .hero { clip-path: none; }
  body.theme-software .section-alt { margin: 0; border-radius: 0; }
  body.theme-software .cta-band { margin: 0; border-radius: 0; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}


/* ========== Homepage modernization (2026) ========== */
.hero-home {
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 20%, transparent 75%);
}
.hero-home-inner { position: relative; z-index: 1; }
.theme-home .hero-home h1 {
  font-size: clamp(2rem, 5vw, 3.05rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 14ch;
  margin-bottom: 1.15rem;
}
.theme-home .hero-eyebrow {
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
}
.theme-home .hero-tagline {
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 38em;
}

.hero-stream-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.35rem;
  max-width: 720px;
}
.stream-jump {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.stream-jump:hover {
  transform: translateY(-2px);
  color: inherit;
}
.stream-jump-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}
.stream-jump-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.jump-industrial { border-color: rgba(249,115,22,0.35); }
.jump-industrial:hover {
  border-color: #f97316;
  background: rgba(249,115,22,0.08);
  box-shadow: 0 10px 28px rgba(249,115,22,0.12);
}
.jump-software { border-color: rgba(37,99,235,0.35); border-radius: 16px; }
.jump-software:hover {
  border-color: #60a5fa;
  background: rgba(37,99,235,0.1);
  box-shadow: 0 10px 28px rgba(37,99,235,0.14);
}
.jump-fabrication { border-color: rgba(225,29,72,0.4); }
.jump-fabrication:hover {
  border-color: #fb7185;
  background: rgba(225,29,72,0.08);
  box-shadow: 0 10px 28px rgba(225,29,72,0.14);
}

.theme-home .section-label {
  letter-spacing: 0.12em;
}
.theme-home .section h2 {
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.theme-home .prose {
  font-size: 1.02rem;
  line-height: 1.75;
}

.theme-home .card-industrial,
.theme-home .card-software,
.theme-home .card-fabrication {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.theme-home .card-industrial:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 #f97316;
}
.theme-home .card-software:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18);
}
.theme-home .card-fabrication:hover {
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgba(225,29,72,0.55), 0 12px 28px rgba(225,29,72,0.12);
}

.theme-home .panel-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.panel-software .panel-link {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.18);
  border-radius: 999px;
}
.panel-fabrication .panel-link {
  border-radius: 4px;
  border-color: rgba(225,29,72,0.35);
}
.theme-home .panel-link:hover {
  background: rgba(255,255,255,0.08);
}

.cta-band-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 15% 50%, rgba(249,115,22,0.12), transparent 60%),
    radial-gradient(ellipse 45% 70% at 85% 40%, rgba(37,99,235,0.1), transparent 55%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(225,29,72,0.08), transparent 50%),
    linear-gradient(180deg, #141820 0%, #0b0d11 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cta-band-home::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(420px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, #f97316, #2563eb, #e11d48, transparent);
  opacity: 0.85;
}
.cta-band-home h2 {
  letter-spacing: -0.015em;
}
.cta-band-home .btn-primary {
  background: linear-gradient(90deg, #f97316 0%, #ea580c 40%, #2563eb 100%);
  background-size: 160% 100%;
  border: none;
  box-shadow: 0 10px 28px rgba(249,115,22,0.28);
}
.cta-band-home .btn-primary:hover {
  filter: brightness(1.06);
  background-position: 100% 0;
}

.theme-home .site-footer {
  background: #06070a;
}
.theme-home .footer-brand p {
  line-height: 1.6;
}

@media (max-width: 800px) {
  .hero-stream-jump {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .theme-home .hero-home {
    padding: 3.75rem 0 3.25rem;
  }
  .theme-home .hero-home h1 {
    max-width: none;
  }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .home-hero-accents { gap: 0.4rem; }
  .category-panel { padding: 1.6rem 1.15rem 1.4rem; }
}

/* ========== Graphics & imagery layer (2026) ========== */
.hero-home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(249,115,22,0.08),
    inset 0 0 40px rgba(37,99,235,0.06);
  background: #0b0d11;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

.stream-jump-icon {
  width: 40px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 0.15rem;
  opacity: 0.9;
}
.stream-jump {
  align-items: flex-start;
}

.section-divider {
  margin: 1.5rem 0 1.75rem;
}
.section-divider img {
  display: block;
  width: min(240px, 55%);
  height: auto;
  opacity: 0.9;
}

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  opacity: 0.95;
}

.panel-accent {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.panel-accent img {
  width: 110px;
  height: auto;
  opacity: 0.9;
}
.panel-software .panel-accent img { opacity: 1; }

/* Card icon images (upgrade from letter badges) */
.card-icon-img {
  padding: 0 !important;
  overflow: hidden;
}
.card-icon-img img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}
.card-industrial .card-icon-img {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f97316;
}
.card-industrial .card-icon-img img {
  filter: brightness(0);
  width: 24px;
  height: 24px;
}
.card-software .card-icon-img {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.card-software .card-icon-img img {
  filter: brightness(0) invert(1);
  width: 22px;
  height: 22px;
}
.card-fabrication .card-icon-img {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 36px;
  min-height: 36px;
  padding: 0.35rem !important;
  border: 1px solid #e11d48;
  background: rgba(225, 29, 72, 0.08);
  letter-spacing: 0;
  font-size: 0;
}
.card-fabrication .card-icon-img img {
  width: 22px;
  height: 22px;
}

/* Hub service cards with icons */
.service-card-theme .card-icon-img {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.service-card-theme .card-icon-img img {
  width: 24px;
  height: 24px;
}
body.theme-industrial .service-card-theme .card-icon-img {
  background: #f97316;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
body.theme-industrial .service-card-theme .card-icon-img img {
  filter: brightness(0);
}
body.theme-software .service-card-theme .card-icon-img {
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
body.theme-software .service-card-theme .card-icon-img img {
  filter: brightness(0) invert(1);
}
body.theme-fabrication .service-card-theme .card-icon-img {
  width: auto;
  height: auto;
  min-width: 36px;
  min-height: 36px;
  padding: 0.35rem;
  border: 1px solid #e11d48;
  background: rgba(225, 29, 72, 0.08);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
body.theme-fabrication .service-card-theme .card-body .card-icon-img {
  align-self: flex-start;
}

/* Category / contact heroes with side art */
.hero-with-visual {
  position: relative;
  overflow: hidden;
}
.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  z-index: 0;
}
.hero-bg-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
body.theme-software .hero-bg-art { opacity: 0.28; }
body.theme-contact .hero-bg-art { opacity: 0.18; }

.hero-content-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 2rem;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-side-art {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
body.theme-industrial .hero-side-art {
  border-radius: 0;
  border-color: rgba(249,115,22,0.45);
  box-shadow: 4px 4px 0 #f97316;
}
body.theme-software .hero-side-art {
  border-radius: 20px;
  border-color: #bfdbfe;
  background: #fff;
  box-shadow: 0 18px 40px rgba(37,99,235,0.12);
}
body.theme-fabrication .hero-side-art {
  border-radius: 4px;
  border-color: rgba(225,29,72,0.5);
  border-top-width: 3px;
  border-bottom-width: 3px;
}
.hero-side-art img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-side-art-contact {
  position: relative;
}
.contact-mail-badge {
  position: absolute !important;
  width: 48px !important;
  height: 48px !important;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem;
  background: rgba(11,13,17,0.85);
  border: 1px solid rgba(249,115,22,0.45);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Subtle pattern overlays via CSS + SVG assets */
.panel-industrial::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("../images/pattern-diag-orange.svg");
  background-size: 12px 12px;
  z-index: 0;
}
.panel-industrial .panel-head,
.panel-industrial .service-grid,
.panel-industrial .panel-accent { position: relative; z-index: 1; }

.panel-software {
  background-image:
    url("../images/pattern-dots.svg"),
    linear-gradient(160deg, #f8fbff 0%, #eef5ff 50%, #dbeafe 100%);
  background-size: 24px 24px, auto;
}

.cta-band-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("../images/pattern-grid.svg");
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 70%);
}
.cta-band-home .container { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hero-home-split,
  .hero-content-row {
    grid-template-columns: 1fr;
  }
  .hero-visual,
  .hero-side-art {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-bg-art { opacity: 0.08; }
  body.theme-software .hero-bg-art { opacity: 0.16; }
  .panel-accent {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }
  .panel-accent img { width: 88px; }
}
@media (max-width: 560px) {
  .hero-visual,
  .hero-side-art { border-radius: 10px; }
  .stream-jump-icon { width: 36px; height: 27px; }
  .contact-mail-badge {
    width: 40px !important;
    height: 40px !important;
    right: 0.65rem;
    bottom: 0.65rem;
  }
}

/* Specialty page topic split + figure */
.topic-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
}
.topic-split-copy { min-width: 0; }
.topic-figure {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.28);
  box-shadow: 0 14px 36px rgba(0,0,0,0.32);
}
.topic-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.topic-figure figcaption {
  padding: 0.7rem 1rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1.45;
}
body.theme-industrial .topic-figure {
  border-radius: 0;
  border-color: rgba(249,115,22,0.4);
  box-shadow: 4px 4px 0 #f97316;
}
body.theme-industrial .topic-figure figcaption {
  border-top-color: rgba(249,115,22,0.25);
  color: #c4c9d2;
}
body.theme-software .topic-figure {
  border-radius: 18px;
  border-color: #bfdbfe;
  background: #fff;
  box-shadow: 0 16px 36px rgba(37,99,235,0.1);
}
body.theme-software .topic-figure figcaption {
  color: #64748b;
  border-top-color: #dbeafe;
  background: #f8fbff;
}
body.theme-fabrication .topic-figure {
  border-radius: 4px;
  border-color: rgba(225,29,72,0.5);
  border-top-width: 3px;
  border-bottom-width: 3px;
}
body.theme-fabrication .topic-figure figcaption {
  border-top-color: rgba(225,29,72,0.3);
  color: #c4c9d2;
}
@media (max-width: 900px) {
  .topic-split {
    grid-template-columns: 1fr;
  }
  .topic-figure {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .topic-figure { border-radius: 10px; }
  body.theme-industrial .topic-figure { border-radius: 0; }
}

/* ========== Standards grid ========== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.standard-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.standard-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.01em;
}
.standard-what {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.standard-how {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}
.standard-how strong {
  color: var(--text);
  font-weight: 600;
}

body.theme-industrial .standard-card {
  border-radius: 0;
  border: 1px solid #333;
  border-left: 4px solid #f97316;
  background: #161616;
}
body.theme-industrial .standard-card h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
body.theme-industrial .standard-how {
  border-top-color: #333;
}

body.theme-software .standard-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}
body.theme-software .standard-card h3 { color: #0f172a; }
body.theme-software .standard-what,
body.theme-software .standard-how { color: #64748b; }
body.theme-software .standard-how {
  border-top-color: #e2e8f0;
}
body.theme-software .standard-how strong { color: #1e40af; }

body.theme-fabrication .standard-card {
  border-radius: 2px;
  border: 1px solid #404040;
  border-top: 3px solid #e11d48;
  background: #171717;
}
body.theme-fabrication .standard-card h3 { color: #fff; }
body.theme-fabrication .standard-how {
  border-top-color: #333;
}

@media (max-width: 640px) {
  .standards-grid { grid-template-columns: 1fr; }
}
