/* ═══════════════════════════════════════════════
   public_html/assets/product.css

   aqumo — product pages: arteMES, arteLEX, arteFIN.

   Loaded AFTER style.css by {it,en}/artemes.php,
   artelex.php and artefin.php. Reuses the atoms of
   style.css (page-hero, section-head, mod-grid,
   layer-list, sectors-grid, swiss-*, doc-card,
   cta-section.is-brand); only what the product
   pages add lives here.

   No inline style= attributes in the markup.
   ═══════════════════════════════════════════════ */


/* ── HERO ──────────────────────────────────────── */
.product-hero .hero-inner { align-items: start; }
.product-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.product-hero .hero-desc { max-width: 600px; }

.product-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}
.product-mark-name {
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--text);
}
.product-mark-name span { color: var(--blue); }
.product-mark-tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-soft);
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.product-fact-head {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
  color: var(--blue);
}
.product-fact-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-mid);
  margin-top: 6px;
}

/* Hero visual: many sources in, one truth out */
.flow-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  box-shadow: 0 22px 60px -28px rgba(10,22,40,0.30);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flow-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.flow-sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.flow-source {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 12px 10px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-mid);
  text-align: center;
}
.flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--blue);
}
.flow-arrow svg { width: 20px; height: 20px; }
.flow-core {
  background: var(--blue-dp);
  color: #fff;
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.flow-core-name {
  font-family: var(--f-cond);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
}
.flow-core-name span { color: var(--blue-200); }
.flow-core-sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.82);
}
.flow-out {
  border: 1px solid var(--border-blue);
  background: var(--blue-50);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 21px;
  color: var(--text);
  text-align: center;
}


/* ── BEFORE / AFTER ────────────────────────────── */
.compare-section { padding: 110px 0; background: var(--bg-white); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-col {
  border-radius: 6px;
  padding: 32px 30px;
  border: 1px solid var(--border-soft);
}
.compare-col.is-before { background: var(--bg); }
.compare-col.is-after  { background: var(--blue-50); border-color: var(--border-blue); }
.compare-title {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.compare-col.is-before .compare-title { color: var(--orange); }
.compare-col.is-after  .compare-title { color: var(--blue-dk); }
.compare-list { list-style: none; display: flex; flex-direction: column; }
.compare-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.compare-col.is-after .compare-list li { border-color: var(--border-blue); }
.compare-list li::before {
  position: absolute; left: 2px; top: 12px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
}
.compare-col.is-before .compare-list li::before { content: '✕'; color: var(--orange); }
.compare-col.is-after  .compare-list li::before { content: '✓'; color: var(--green); }


/* ── COMPONENT MAP ─────────────────────────────── */
.component-section { padding: 110px 0; background: var(--bg2); }
.component-table {
  display: grid;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-white);
}
.component-row {
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  gap: 28px;
  align-items: baseline;
  padding: 22px 28px;
  border-top: 1px solid var(--border-soft);
}
.component-row:first-child { border-top: none; }
.component-row.is-head {
  background: var(--bg2);
  padding-top: 14px;
  padding-bottom: 14px;
}
.component-row.is-head span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.component-name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--text);
}
.component-name span { color: var(--blue); }
.component-what { font-size: 14.5px; line-height: 1.65; color: var(--text-mid); }
.component-who {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue-dk);
}
.component-note {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 760px;
}
.component-note strong { color: var(--text); font-weight: 600; }


/* ── FEATURES (on top of .mod-grid / .mod) ─────── */
.feature-section { padding: 110px 0; background: var(--bg); }
.feature-section .mod-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-section .mod { padding: 26px 24px; }
.feature-section .mod p { font-size: 14px; color: var(--text-mid); }


/* ── CONNECTOR LIBRARY ─────────────────────────── */
.library-section { padding: 110px 0; background: var(--bg-white); }
.library-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.library-group {
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 24px 24px 22px;
}
.library-group h3 {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-dk);
  margin-bottom: 14px;
}
.library-items { list-style: none; display: flex; flex-direction: column; }
.library-items li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-mid);
}
.library-items b {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text);
}

.custom-box {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-blue);
}
.custom-box-text { padding: 30px; background: var(--blue-50); }
.custom-box-text h3 {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 12px;
}
.custom-box-text p { font-size: 15px; line-height: 1.7; color: var(--text-mid); }
.custom-box-case { padding: 30px; background: var(--ink); color: #fff; }
.custom-case-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-bottom: 14px;
}
.custom-case-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.custom-case-steps li { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.86); }
.custom-case-steps b { color: #fff; font-weight: 600; }


/* ── OEE ───────────────────────────────────────── */
.oee-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 40px 0 34px;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  color: #fff;
}
.oee-formula span { color: var(--blue-200); font-weight: 400; }
.oee-factors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  overflow: hidden;
}
.oee-factor { background: var(--ink); padding: 26px 24px; }
.oee-factor h3 {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.oee-factor p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.80); }

.oee-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 26px;
}
.oee-band { border-radius: 4px; padding: 14px 16px; }
.oee-band b {
  display: block;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}
.oee-band span {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}
.oee-band.b1 { background: rgba(255,107,43,.22); color: #fff; }
.oee-band.b2 { background: rgba(230,145,0,.22);  color: #fff; }
.oee-band.b3 { background: rgba(91,155,255,.25); color: #fff; }
.oee-band.b4 { background: var(--green); color: #fff; }

.dark-section .oee-note {
  margin-top: 30px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.80);
  max-width: 820px;
}
.dark-section .oee-note strong { color: #fff; font-weight: 600; }


/* ── AI MODULES (on top of .layer-list) ────────── */
.modules-section { padding: 110px 0; background: var(--bg2); }
.layer-item .module-points {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.layer-item .module-points li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .6px;
  color: var(--text-mid);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 5px 9px;
}
.module-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.module-step {
  border-top: 2px solid var(--blue);
  padding-top: 16px;
}
.module-step b {
  display: block;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 21px;
  color: var(--text);
  margin-bottom: 6px;
}
.module-step p { font-size: 14px; line-height: 1.65; color: var(--text-mid); }


/* ── SECTORS (on top of .sectors-grid) ─────────── */
.sectors-section .sector-kpi b {
  display: block;
  color: var(--text-mid);
  font-weight: 500;
  margin-top: 6px;
}


/* ── TIMELINE ──────────────────────────────────── */
.timeline-section { padding: 110px 0; background: var(--bg-white); }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.timeline li {
  position: relative;
  border-top: 2px solid var(--border-blue);
  padding-top: 20px;
}
.timeline li::before {
  content: ''; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
}
.timeline li:last-child { border-top-color: var(--green); }
.timeline li:last-child::before { background: var(--green); }
.timeline-when {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-dk);
  margin-bottom: 8px;
}
.timeline-what {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 6px;
}
.timeline li p { font-size: 13.5px; line-height: 1.6; color: var(--text-mid); }


/* ── Swiss block, reused from style.css ────────── */
.swiss-section .section-desc + .section-desc { margin-top: 14px; }
.swiss-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.swiss-section .doc-card { max-width: 640px; margin-top: 48px; }

.modules-foot {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 820px;
}


/* ── Other products strip ──────────────────────── */
.siblings-section { padding: 72px 0; background: var(--bg); border-top: 1px solid var(--border-soft); }
.siblings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sibling {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 20px 22px;
  min-height: 44px;
  text-decoration: none;
  transition: border-color .22s;
}
.sibling:hover { border-color: var(--border-blue); }
.sibling-name {
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
}
.sibling-name span { color: var(--blue); }
.sibling-sector {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-soft);
}
.sibling.is-current { border-style: dashed; pointer-events: none; }



/* ── MATCHING CONFIDENCE (arteLEX) ─────────────── */
.confidence-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.confidence-band {
  border-radius: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border-soft);
}
.confidence-band b {
  display: block;
  font-family: var(--f-cond);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
.confidence-band span { display: block; font-size: 13.5px; line-height: 1.5; }
.confidence-band.c3 { background: var(--blue-dp); border-color: var(--blue-dp); color: #fff; }
.confidence-band.c2 { background: var(--blue-100); border-color: var(--border-blue); color: var(--text); }
.confidence-band.c1 { background: var(--bg-white); color: var(--text); }
.confidence-band.c1 span, .confidence-band.c2 span { color: var(--text-mid); }

/* Four-column variant of the dark card grid (arteLEX archive) */
.oee-factors.archive-grid { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }

/* ── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1080px) {
  .compare-grid, .custom-box, .library-groups { grid-template-columns: 1fr; }
  .feature-section .mod-grid, .module-steps, .oee-factors,
  .oee-factors.archive-grid { grid-template-columns: 1fr 1fr; }
  .timeline, .oee-scale { grid-template-columns: repeat(2, 1fr); }
  .component-row { grid-template-columns: 180px 1fr; }
  .component-row .component-who { grid-column: 2; }
  .component-row.is-head span:last-child { display: none; }
  .siblings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .compare-section, .component-section, .feature-section, .library-section,
  .modules-section, .timeline-section { padding: 68px 0; }
  .product-facts { grid-template-columns: 1fr; gap: 16px; }
  .feature-section .mod-grid, .module-steps, .oee-factors,
  .oee-factors.archive-grid, .confidence-scale,
  .timeline, .oee-scale { grid-template-columns: 1fr; }
  .component-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .component-row .component-who { grid-column: auto; }
  .component-row.is-head { display: none; }
  .library-items li { grid-template-columns: 1fr; gap: 2px; }
  .flow-sources { grid-template-columns: repeat(2, 1fr); }
  .custom-box-text, .custom-box-case, .compare-col { padding: 24px 20px; }
}
