/* ==========================================================================
   XEA Electrical Equipment Manufacturing — Production Industrial Design System
   Precision restraint inspired by international HV/MV power engineering leaders
   ========================================================================== */

:root {
  color-scheme: light;
  --navy: #0F2A44;
  --navy-dk: #091B2D;
  --navy-lt: #183D61;
  --blue: #0B6FB8;
  --blue-dk: #08558F;
  --blue-lt: #E8F3FC;
  --surface: #F4F7FA;
  --surface-subtle: #F8FAFC;
  --surface-tint: #F0F7FF;
  --white: #FFFFFF;
  --border: #DCE5EF;
  --border-str: #C4D3E3;
  --border-subtle: #EEF2F7;
  --border-input: #CBD5E1;
  --border-row: #E2E8F0;
  --border-accent: #BFDBFE;
  --text: #1E293B;
  --text-body: #334155;
  --muted: #52637A;
  --amber-bg: #FFFBEB;
  --amber-soft: #FEF3C7;
  --amber-line: #FDE68A;
  --amber-bd: #F59E0B;
  --amber-tx: #92400E;
  --green-bg: #F0FDF4;
  --green-bd: #BBF7D0;
  --green-tx: #166534;
  --green-solid: #15803D;
  --teal-tx: #0F766E;
  --red-bg: #FEF2F2;
  --red-bd: #FECACA;
  --red-tx: #991B1B;
  --on-dark-text: #CBD5E1;
  --on-dark-muted: #94A3B8;
  --on-dark-accent: #7DD3FC;
  --on-dark-kicker: #93C5FD;
  --shadow-sm: 0 2px 8px rgba(15, 42, 68, 0.05);
  --shadow-md: 0 10px 28px rgba(15, 42, 68, 0.09);
  --shadow-lg: 0 20px 48px rgba(9, 27, 45, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.62;
  font-size: 15px;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

::selection {
  background: var(--blue-lt);
  color: var(--navy-dk);
}

input,
textarea {
  caret-color: var(--blue);
}

table td,
table th,
.a1-kpi strong,
.h2-item strong {
  font-variant-numeric: tabular-nums;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: var(--radius-sm);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Production Header & Hover + Click Interactive Mega-Menu
   ========================================================================== */

.xea-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(15, 42, 68, 0.04);
}

.xea-hdr-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.xea-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.xea-mark-svg {
  display: block;
  flex-shrink: 0;
}

.xea-wordmark strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--navy);
}

.xea-wordmark span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.xea-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item.has-mega {
  position: static;
}

.nav-trigger,
.nav-direct {
  appearance: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-trigger:hover,
.nav-direct:hover,
.nav-item.is-open > .nav-trigger,
.nav-direct.is-cur {
  color: var(--blue);
  background: var(--blue-lt);
}

.nav-caret {
  width: 6px;
  height: 6px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.16s ease;
}

.nav-item.is-open > .nav-trigger .nav-caret {
  transform: rotate(-135deg) translateY(-1px);
}

/* Mega-Menu Panel */
.mega-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 100%;
  padding-top: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 120;
}

.nav-item.has-mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  background: var(--white);
  border: 1px solid var(--border-str);
  border-top: 1px solid var(--border-str);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 270px 1fr;
  overflow: hidden;
  min-height: 410px;
}

.mm-rail {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-tab {
  appearance: none;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s;
}

.mm-tab:hover {
  background: rgba(11, 111, 184, 0.06);
}

.mm-tab.active {
  background: var(--blue-lt);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.mm-tab-t {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.mm-tab.active .mm-tab-t {
  color: var(--blue);
}

.mm-tab-s {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}

.mm-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px 16px;
}

.mm-pane {
  display: none;
}

.mm-pane.active {
  display: block;
}

.mm-pane-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mm-pane-hdr strong {
  font-size: 15.5px;
  color: var(--navy);
}

.mm-pane-hdr span {
  font-size: 12px;
  color: var(--muted);
}

.mm-cols {
  display: grid;
  gap: 20px;
}

.mm-cols-1 {
  grid-template-columns: 1fr;
}

.mm-cols-1 .mm-list {
  columns: 2;
  column-gap: 28px;
}

.mm-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mm-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mm-l1-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue-lt);
}

.mm-l1-link:hover,
.mm-l1-link.is-cur {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.mm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mm-list li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.mm-list a {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  padding: 6px 4px;
  min-height: 30px;
  line-height: 1.4;
}

.mm-list a:hover,
.mm-list a.is-cur {
  color: var(--blue);
  font-weight: 600;
}

.mm-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.mm-foot-links {
  display: flex;
  gap: 16px;
}

.mm-foot-links a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.mm-foot-links a:hover {
  text-decoration: underline;
}

/* Standard Dropdown (Solutions / Company) */
.dd-panel {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 310px;
  padding-top: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 120;
}

.nav-item.has-dd.is-open .dd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dd-panel > .dd-item:first-child {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.dd-panel > .dd-item:last-child {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  border-bottom: 1px solid var(--border-str);
}

.dd-item {
  display: block;
  background: var(--white);
  border-left: 1px solid var(--border-str);
  border-right: 1px solid var(--border-str);
  border-bottom: 1px solid var(--border-subtle);
  padding: 11px 16px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(9, 27, 45, 0.08);
  transition: background 0.12s, color 0.12s;
}

.dd-panel > .dd-item:first-child {
  border-top: 1px solid var(--border-str);
}

.dd-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.dd-item:hover,
.dd-item.is-cur {
  background: var(--blue-lt);
  color: var(--blue);
}

/* Header CTAs & Mobile Toggle */
.xea-hdr-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hdr-btn-cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-str);
  background: var(--surface);
  color: var(--navy);
  font-size: 12.8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.hdr-btn-cat:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-lt);
}

.hdr-btn-rfq {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.hdr-btn-rfq:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
}

.mob-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-str);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.mob-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.18s, opacity 0.18s;
}

.mob-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mob-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mob-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mob-drawer {
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mob-drawer-in {
  padding: 16px 20px 28px;
  max-width: 680px;
  margin: 0 auto;
}

.mob-sec-lbl {
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-bottom: 8px;
}

.mob-acc {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: var(--surface);
}

.mob-acc summary {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mob-acc summary::-webkit-details-marker {
  display: none;
}

.mob-acc summary::after {
  content: "+";
  font-weight: 800;
  color: var(--blue);
}

.mob-acc[open] summary::after {
  content: "\2212";
}

.mob-acc-body {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-l1 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  padding: 7px 0 3px;
}

.mob-l2 {
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-left: 2px solid var(--border);
}

.mob-l2:hover,
.mob-l1:hover {
  color: var(--blue);
}

.mob-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .xea-wordmark span {
    display: none;
  }
}

@media (max-width: 900px) {
  .xea-nav,
  .hdr-btn-cat {
    display: none;
  }
  .mob-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .xea-hdr-in {
    padding: 0 14px;
  }
  .hdr-btn-rfq {
    padding: 7px 11px;
    font-size: 12px;
  }
  .mob-ctas {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Breadcrumb Strip
   ========================================================================== */

.xea-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-size: 12.8px;
  color: var(--muted);
}

.crumb-ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.crumb-ol li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crumb-ol li + li::before {
  content: "/";
  color: var(--on-dark-muted);
}

.crumb-ol a {
  color: var(--muted);
  text-decoration: none;
}

.crumb-ol a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.crumb-ol [aria-current="page"] span {
  color: var(--navy);
  font-weight: 600;
}

/* ==========================================================================
   Sections & Layout Containers
   ========================================================================== */

.xea-sec {
  position: relative;
  padding: 64px 24px;
  border-bottom: 1px solid rgba(220, 229, 239, 0.72);
}

.sec-gray {
  background: var(--surface);
}

.sec-white {
  background: var(--white);
}

.wrap {
  margin: 0 auto;
}

.w-7xl {
  max-width: 1280px;
}

.w-5xl {
  max-width: 1080px;
}

.w-4xl {
  max-width: 896px;
}

.w-full {
  max-width: 1280px;
}

@media (max-width: 640px) {
  .xea-sec {
    padding: 44px 16px;
  }
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */

.eyebrow,
.sec-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.sec-head {
  margin-bottom: 28px;
}

.sec-head.center {
  text-align: center;
}

.sec-h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.sec-h2.center {
  text-align: center;
}

.sec-sub {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 780px;
}

.sec-head.center .sec-sub {
  margin: 0 auto;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn-pri:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
}

.btn-pri:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.btn-sec:hover {
  background: var(--navy);
  color: var(--white);
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   A1 Hero
   ========================================================================== */

.a1-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.95fr;
  gap: 36px;
  align-items: center;
}

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

.hero-h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .hero-h1 {
    font-size: 28px;
  }
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 15.5px;
  color: var(--text-body);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .hero-kpis {
    grid-template-columns: 1fr;
  }
}

.hero-kpi {
  background: var(--white);
  border: 1px solid var(--border);
  border-color: var(--blue);
  border-radius: 8px;
  padding: 11px 14px;
}

.hk-v {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.hk-l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-stage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.hero-cap {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

/* ==========================================================================
   H2 Quantitative Strip
   ========================================================================== */

.h2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .h2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.h2-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-str);
  border-radius: var(--radius-md);
  padding: 18px;
}

.sec-white .h2-card {
  background: var(--surface);
}

.h2-v {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.h2-t {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

.h2-d {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* ==========================================================================
   B1 Editorial Summary & B2 Authority Callout
   ========================================================================== */

.b1-box {
  text-align: left;
}

.rev-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--green-tx);
  background: var(--green-bg);
  border: 1px solid var(--green-bd);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  margin-bottom: 10px;
}

.b1-body p {
  font-size: 15.5px;
  color: var(--text-body);
  margin: 0 0 12px;
}

.pill-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pill-links a {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.15s, color 0.15s;
}

.pill-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.b2-quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-color: var(--border-str);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.b2-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.b2-h2 {
  margin: 6px 0 12px;
  font-size: 22px;
  color: var(--navy);
}

.b2-text {
  font-size: 15.5px;
  color: var(--text-body);
  margin: 0 0 16px;
}

.b2-sig strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.b2-sig span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   C1, C2, C3 Visual Engineering Features
   ========================================================================== */

.c1-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .c1-card {
    grid-template-columns: 1fr;
  }
}

.c1-body {
  font-size: 15px;
  color: var(--text-body);
  margin: 0 0 14px;
}

.c1-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.c1-media {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.c1-img {
  max-width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.c3-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.c3-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.c3-row.rev .c3-media {
  order: 2;
}

@media (max-width: 900px) {
  .c3-row {
    grid-template-columns: 1fr;
  }
  .c3-row.rev .c3-media {
    order: 0;
  }
}

.c3-media {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.c3-img {
  max-width: 100%;
  max-height: 290px;
  object-fit: contain;
}

.c3-copy h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--navy);
}

.c3-copy p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--text-body);
}

.c3-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.c3-m {
  border-left: 2px solid var(--blue);
  padding-left: 10px;
}

.c3-m strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.c3-m span {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================================================
   G2 & G1 Product Grids
   ========================================================================== */

.g2-grid {
  display: grid;
  gap: 20px;
}

.g2-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.g2-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.g2-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1080px) {
  .g2-grid.cols-4,
  .g2-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .g2-grid.cols-4,
  .g2-grid.cols-3,
  .g2-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

.g2-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.g2-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.g2-thumb {
  position: relative;
  background: var(--white);
  height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.g2-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
}

.card-img {
  max-width: 100%;
  max-height: 172px;
  object-fit: contain;
}

.g2-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.g2-body h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--navy);
}

.g2-sub {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.g2-list {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-body);
}

.g2-list li {
  margin-bottom: 4px;
}

.g2-body .card-link {
  margin-top: auto;
  padding-top: 8px;
}

.g1-grid {
  display: grid;
  gap: 16px;
}

.g1-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.g1-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.g1-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .g1-grid.cols-4,
  .g1-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .g1-grid.cols-4,
  .g1-grid.cols-3,
  .g1-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

.g1-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-str);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.g1-thumb {
  background: var(--white);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.g1-thumb img {
  max-height: 105px;
  max-width: 100%;
  object-fit: contain;
}

.g1-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  text-transform: none;
  margin-bottom: 4px;
}

.g1-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: var(--navy);
}

.g1-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 66ch;
  flex: 1;
}

/* ==========================================================================
   F1 Risk Matrix, F2 Spec Tables, F3 Tiered Cards
   ========================================================================== */

.tbl-title {
  margin: 22px 0 10px;
  font-size: 17px;
  color: var(--navy);
}

.tbl-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.xea-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.xea-tbl th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 11px 13px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
}

.xea-tbl td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--border-row);
  vertical-align: top;
}

.xea-tbl tbody tr:nth-child(even) td {
  background: var(--surface-subtle);
}

.xea-tbl tbody tr:hover td {
  background: var(--surface-tint);
}

.tbl-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
}

.f3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.f3-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.f3-card.hi {
  border: 2px solid var(--blue);
  box-shadow: 0 10px 26px rgba(11, 111, 184, 0.14);
}

.tier-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.f3-kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  text-transform: none;
}

.f3-card h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  color: var(--navy);
}

.f3-spec {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  background: var(--surface);
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.f3-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: background 0.15s;
}

.f3-btn:hover {
  background: var(--navy-lt);
}

.f3-card.hi .f3-btn {
  background: var(--blue);
}

.f3-card.hi .f3-btn:hover {
  background: var(--blue-dk);
}

.f1-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.f1-pair {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.f1-trap {
  background: var(--amber-bg);
  padding: 16px 18px;
  border-bottom: 1px solid var(--amber-line);
}

.f1-fix {
  background: var(--white);
  padding: 16px 18px;
  flex: 1;
}

.f1-lbl {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.f1-lbl.trap {
  color: var(--amber-tx);
}

.f1-lbl.fix {
  color: var(--blue);
}

.f1-pair h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
  color: var(--navy);
}

.f1-pair p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
}

/* ==========================================================================
   I1 Compliance Dossier & I2 Structural Anatomy
   ========================================================================== */

.i2-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: center;
}

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

.i2-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.i2-node {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.i2-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.i2-node h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--navy);
}

.i2-node p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.i2-center {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.i2-img {
  max-width: 100%;
  max-height: 310px;
  object-fit: contain;
}

.i1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .i1-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.i1-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-str);
  border-radius: var(--radius-md);
  padding: 18px;
}

.i1-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.i1-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: var(--navy);
}

.i1-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   D1 Horizontal & D2 Vertical Timelines
   ========================================================================== */

.d1-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .d1-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.d1-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sec-white .d1-step {
  background: var(--surface);
}

.d1-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.d1-step h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--navy);
}

.d1-step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.d2-line {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.d2-item {
  position: relative;
}

.d2-dot {
  position: absolute;
  left: -50px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  font-variant-numeric: tabular-nums;
}

.d2-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 18px;
}

.d2-card h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: var(--navy);
}

.d2-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   E1 Interactive Tabs, P-M-S-E-A Engine & Calculators
   ========================================================================== */

.e1-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.e1-btn {
  border: 1px solid var(--border-str);
  background: var(--white);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.e1-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.e1-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.e1-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.e1-panel.active {
  display: block;
}

.e1-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.e1-grid.no-img {
  grid-template-columns: 1fr;
}

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

.e1-media {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.e1-media img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}

/* P-M-S-E-A Diagnostic Grid */
.pmsea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.pm-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pm-prob {
  background: var(--amber-bg);
  border-color: var(--amber-line);
}

.pm-mech {
  background: var(--surface-subtle);
}

.pm-sol {
  background: var(--surface-tint);
  border: 2px solid var(--blue);
}

.pm-proof {
  background: var(--green-bg);
  border-color: var(--green-bd);
}

.pm-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border-radius: 5px;
}

.pm-badge.amber {
  background: var(--amber-soft);
  color: var(--amber-tx);
}

.pm-badge.navy {
  background: var(--navy);
  color: var(--white);
}

.pm-badge.blue {
  background: var(--blue);
  color: var(--white);
}

.pm-badge.green {
  background: var(--green-solid);
  color: var(--white);
}

.pm-step h3 {
  margin: 2px 0;
  font-size: 16px;
  color: var(--navy);
}

.pm-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
}

.pm-model {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-top: 2px;
}

.pm-spec {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border-accent);
  padding: 4px 8px;
  border-radius: 5px;
  display: inline-block;
  align-self: flex-start;
}

.pm-proof-tag {
  font-size: 14px;
  font-weight: 800;
  color: var(--green-tx);
  margin-top: 2px;
}

.pm-cta {
  margin-top: auto;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 13px;
  justify-content: center;
}

/* Interactive Calculators (CT, Oil TCO, PV Combiner, etc.) */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 22px;
}

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

.calc-ctrl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-ctrl label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-ctrl select,
.calc-ctrl input {
  padding: 9px 10px;
  border: 1px solid var(--border-input);
  border-radius: 7px;
  font-size: 13.5px;
  font-family: inherit;
}

.pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rp {
  border: 1px solid var(--border-str);
  background: var(--surface);
  color: var(--navy);
  padding: 9px 12px;
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.rp:hover,
.rp.act {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.calc-out {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-model {
  font-size: 24px;
  font-weight: 900;
  color: var(--on-dark-accent);
  margin: 4px 0 8px;
}

.calc-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.ckv {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 9px 11px;
}

.ckv span {
  display: block;
  font-size: 12px;
  color: var(--border-input);
}

.ckv strong {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.calc-warn {
  font-size: 12.5px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--amber-bd);
  color: var(--amber-soft);
  padding: 8px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
}

/* ==========================================================================
   E2 FAQ Accordion
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item[open] {
  border-color: var(--border-str);
}

.faq-item summary {
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  background: var(--blue-lt);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}

.faq-q {
  flex: 1;
}

.faq-ico {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  background: var(--blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s;
}

.faq-ico::before {
  width: 12px;
  height: 2px;
}

.faq-ico::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-ico::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-ans {
  padding: 0 18px 16px 54px;
  font-size: 14.5px;
  color: var(--text-body);
}

/* ==========================================================================
   H3-A Mid-Page CTA & H3-B Dual-Channel RFQ Dock
   ========================================================================== */

.h3a-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-color: var(--border-str);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.h3a-bar h3 {
  margin: 4px 0 6px;
  font-size: 20px;
  color: var(--navy);
}

.h3a-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 650px;
}

.h3b-dock {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
  box-shadow: none;
}

@media (max-width: 900px) {
  .h3b-dock {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

.h3b-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
}

.h3b-checks li {
  margin-bottom: 6px;
}

.cat-box {
  background: var(--white);
  border: 1px dashed var(--blue);
  border-radius: 8px;
  padding: 13px 15px;
  font-size: 12.8px;
}

.cat-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.cat-box span {
  display: block;
  color: var(--muted);
}

.cat-dl-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.cat-dl-link:hover {
  text-decoration: underline;
}

.rfq-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rfq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.rfq-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  border: 1px solid var(--border-input);
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 111, 184, 0.14);
}

.rfq-submit-btn {
  width: 100%;
  justify-content: center;
}

@keyframes xeaRfqPulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 111, 184, 0.48); border-color: var(--blue); }
  50% { box-shadow: 0 0 0 8px rgba(11, 111, 184, 0.08); border-color: var(--blue); background: var(--surface-tint); }
  100% { box-shadow: 0 0 0 0 rgba(11, 111, 184, 0); }
}

.rfq-pulse {
  animation: xeaRfqPulse 1.15s ease-out 2;
}

.rfq-msg {
  font-size: 13px;
  line-height: 1.5;
}

.rfq-msg.ok {
  background: var(--green-bg);
  border: 1px solid var(--green-bd);
  color: var(--green-tx);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

.rfq-msg.err {
  background: var(--red-bg);
  border: 1px solid var(--red-bd);
  color: var(--red-tx);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

.rfq-msg-dl {
  display: inline-block;
  margin-top: 8px;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.rfq-msg-dl:hover {
  background: var(--blue);
}

/* ==========================================================================
   Related Cluster Navigation Strip
   ========================================================================== */

.xea-cluster-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.cluster-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cluster-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 3px 9px;
  border-radius: 999px;
}

.cluster-hdr h2 {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
}

.cluster-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cluster-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.cluster-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Production 5-Column Industrial Footer
   ========================================================================== */

.xea-footer {
  background: var(--navy-dk);
  color: var(--border-input);
  padding: 54px 24px 28px;
  font-size: 13px;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 0.9fr 0.95fr;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
  .ftr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ftr-brand-col {
    grid-column: 1 / -1;
  }
}

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

.ftr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 12px;
}

.ftr-brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.ftr-brand small {
  display: block;
  font-size: 12px;
  color: var(--on-dark-muted);
}

.ftr-desc {
  margin: 0 0 12px;
  color: var(--border-input);
  line-height: 1.58;
}

.ftr-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ftr-contact a {
  color: var(--on-dark-accent);
  font-weight: 700;
  text-decoration: none;
}

.ftr-cat-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white) !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
}

.ftr-cat-btn:hover {
  background: var(--blue-dk);
}

.ftr-scope {
  margin: 0;
  font-size: 12.5px;
  color: var(--on-dark-muted);
  line-height: 1.55;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
}

.ftr-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--white);
}

.ftr-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ftr-col a {
  display: inline-block;
  color: var(--on-dark-text);
  text-decoration: none;
  padding: 5px 0;
  min-height: 28px;
  line-height: 1.4;
  transition: color 0.14s;
}

.ftr-col a:hover {
  color: var(--on-dark-accent);
}

.ftr-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--on-dark-muted);
}

.ftr-b-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ftr-b-links a {
  display: inline-block;
  padding: 5px 2px;
  min-height: 28px;
  color: var(--on-dark-muted);
  text-decoration: none;
}

.ftr-b-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   404 Utility Layout
   ========================================================================== */

.err-box {
  text-align: center;
}

.err-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}

@media (max-width: 900px) {
  .err-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.err-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-color: var(--blue);
  border-radius: 8px;
  padding: 13px 15px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.err-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.err-line {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 2px;
}

.err-card strong {
  font-size: 13.5px;
  color: var(--navy);
}


/* ==========================================================================
   Impeccable Hardening: Utilities, Tokenized Calculators & Reduced Motion
   ========================================================================== */

.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mb-14 { margin-bottom: 14px; }
.jc-center { justify-content: center; }

.btn-row-center {
  justify-content: center;
  margin-bottom: 28px;
}

.err-sub-h2 {
  margin: 8px 0 18px;
  font-size: 20px;
  color: var(--navy);
  text-align: center;
}

.hero-std {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.45;
}

select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
}

/* Flatten nested card depth inside E1 tab panels containing calculators */
.e1-panel .calc-out {
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.e1-panel .ckv {
  border-radius: 4px;
}

/* Tokenized Interactive Calculator Suite (.xc-*) replacing inline hex styles */
.xc-box,
.xc-box-white {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0 0;
  margin-top: 16px;
}

.xc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.xc-lbl {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  height: 100%;
}

.xc-inp {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin-top: 0;
  padding: 9px 10px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.xc-out {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}

.xc-out-tint {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}

.xc-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.xc-k {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.xc-v {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.xc-v-sm {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.xc-v-lg {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.xc-v-blue {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.xc-v-teal {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--teal-tx);
  font-variant-numeric: tabular-nums;
}

.xc-h {
  margin: 0 0 10px;
  color: var(--navy);
}

.xc-muted {
  font-weight: 500;
  color: var(--muted);
}

.xc-dk-k {
  font-size: 12px;
  color: var(--on-dark-kicker);
  font-weight: 700;
  margin-bottom: 2px;
}

.xc-dk-sub {
  font-size: 12.5px;
  color: var(--on-dark-text);
  margin-bottom: 8px;
}

.xc-dk-v {
  font-size: 13.5px;
  color: var(--on-dark-text);
}

.xc-diag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 12px;
}

.xc-diag-h {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .rp {
    min-height: 44px;
    padding: 10px 14px;
  }
}

/* Intentional Reduced-Motion Support (WCAG 2.3.3 — preserves clear static state cues) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mega-panel,
  .dd-panel {
    transform: none;
    transition: opacity 0.01s linear;
  }
  .mob-toggle span,
  .faq-ico::before,
  .faq-ico::after,
  .g2-card,
  .e1-btn,
  .btn-pri,
  .btn-sec,
  .cluster-pill {
    transition: none;
  }
  .rfq-pulse {
    animation: none;
    box-shadow: 0 0 0 3px rgba(11, 111, 184, 0.28);
    border-color: var(--blue);
    background: var(--surface-tint);
  }
}

.e1-panel.calc-stage {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 16px 0;
}


/* ==========================================================================
   Live-Rendered Impeccable Critique Polish (65ch Measure, Balance, Flat Depth)
   ========================================================================== */

h1, h2, h3, h4,
.hero-h1, .sec-h2, .b2-h2 {
  text-wrap: balance;
}

p, li, .faq-ans, .tbl-note, .hero-lead, .sec-sub {
  text-wrap: pretty;
}

small,
.xea-tbl td small {
  font-size: 12.5px;
  line-height: 1.45;
}

/* Comfortable 64ch-66ch editorial reading measure across wide desktop containers */
.hero-lead,
.sec-sub,
.b2-text,
.c1-body,
.c3-copy p,
.h3a-bar p,
.pm-step p,
.faq-ans,
.tbl-note,
.e1-grid p,
.ftr-scope {
  max-width: 64ch;
}

.sec-head.center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

.b1-body {
  margin-top: 16px;
}

.b1-body p {
  max-width: none;
  line-height: 1.68;
  margin: 0 0 14px;
}

/* Eliminate double-boxed nested cards when tab panels host card grids or calculators */
.e1-panel:has(.pmsea-grid),
.e1-panel:has(.xc-box),
.e1-panel:has(.xc-box-white),
.e1-panel:has(.calc-grid),
.e1-panel:has(.rfq-bld),
.e1-panel:has(.oem-calc),
.e1-panel:has(.hvcap-calc),
.e1-panel:has(.ggj-calc) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 0 0;
}

/* Keep .rfq-bld / .oem-calc / .hvcap-calc / .ggj-calc flat so their output boxes aren't nested cards */
.rfq-bld,
.oem-calc,
.hvcap-calc,
.ggj-calc {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 0 !important;
}

select.xc-inp {
  height: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
