/* PureChem Frac - page-solutions-operational-reliability.css
   Page-specific styles: solutions-operational-reliability. */

.map-mini {
    --black: #1a1a1a;
    --white: #F7F8F9;
    --off-white: #e8e9ea;
    --mid: #c8cacc;
    --accent: #AA1F2E;
    --accent-dark: #8a1824;
    --steel: #333132;
    --steel-mid: #3e3c3d;
    --text-muted: #a0a2a4;
    --border: rgba(247,248,249,0.15);
    --border-light: rgba(247,248,249,0.08);
  }

.map-mini {
    text-align: left;
  }

.integration-layout {
    max-width: 1100px;
    margin: 40px auto;
    text-align: left;
  }

.integration-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

.integration-cards .validate-badge {
    background: transparent;
    border: none;
    border-left: 2px solid rgba(170,31,46,0.4);
    padding: 4px 0 4px 24px;
    text-align: center;
    transition: border-color 0.3s ease;
  }

.integration-cards .validate-badge:hover { background: transparent; border-left-color: var(--red); }

.integration-cards .validate-badge::before { content: none; }

.integration-cards .validate-badge-title { margin-bottom: 8px; }

.integration-cards .validate-badge-body { max-width: 640px; }

.geo-map-frame {
    position: relative;
    width: 100%;
    background: var(--black);
    border: 1px solid var(--border);
    overflow: hidden;
  }

.geo-map-frame svg {
    display: block;
    width: 100%;
    height: auto;
  }

.geo-province {
    fill: rgba(247,248,249,0.02);
    stroke: rgba(247,248,249,0.10);
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
  }

.geo-province-label {
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    letter-spacing: 0.18em;
    fill: rgba(247,248,249,0.22);
    text-transform: uppercase;
  }

.geo-line {
    stroke: rgba(247,248,249,0.16);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    fill: none;
  }

.geo-pulse {
    fill: var(--accent);
    filter: drop-shadow(0 0 4px rgba(170,31,46,0.9));
  }

.geo-node-field circle {
    fill: rgba(247,248,249,0.30);
  }

.geo-node-lab .ring {
    fill: rgba(247,248,249,0.06);
    stroke: rgba(247,248,249,0.30);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

.geo-node-lab .core {
    fill: rgba(247,248,249,0.75);
  }

.geo-node-mfg .ring {
    fill: rgba(170,31,46,0.12);
    stroke: rgba(170,31,46,0.5);
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
  }

.geo-node-mfg .core {
    fill: var(--accent);
  }

.geo-node-hub .glow-outer {
    fill: rgba(170,31,46,0.08);
  }

.geo-node-hub .glow-inner {
    fill: rgba(170,31,46,0.16);
  }

.geo-node-hub .core {
    fill: var(--accent);
  }

.geo-node-hub .crosshair {
    stroke: rgba(247,248,249,0.35);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

.geo-label {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.08em;
    fill: rgba(247,248,249,0.65);
    text-transform: uppercase;
  }

.geo-label-hub {
    font-size: 16px;
    font-weight: 500;
    fill: rgba(247,248,249,0.95);
  }

.geo-label-tag {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    fill: var(--accent);
  }

.geo-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

.geo-legend-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--mid);
    letter-spacing: 0.04em;
  }

.geo-legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

.swatch-hub { background: var(--accent); box-shadow: 0 0 0 3px rgba(170,31,46,0.18); }

.swatch-mfg { background: var(--accent); }

.swatch-lab { background: rgba(247,248,249,0.75); border: 1px solid rgba(247,248,249,0.3); }

.swatch-field { background: rgba(247,248,249,0.3); }

.geo-footnote {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 1rem;
    text-align: center;
  }

@media (max-width: 640px) {
  .geo-legend { gap: 1.1rem; justify-content: flex-start; }
  .geo-province-label, .geo-label, .geo-label-hub, .geo-label-tag { font-size: 18px; }
}

.statement-word {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.95; letter-spacing: 0.01em;
  color: rgba(247,248,249,0.88);
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

.challenge-top {
  max-width: none;
  margin-bottom: 48px;
}

.challenge-top .eyebrow { margin-bottom: 20px; }

.challenge-top .section-title { font-size: clamp(36px, 4vw, 56px); margin-bottom: 20px; }

.challenge-lead {
  font-size: 15px; line-height: 1.8; font-weight: 300;
  color: rgba(247,248,249,0.6);
  max-width: none;
  white-space: nowrap;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-left: 1px solid rgba(255,255,255,0.07);
}

.challenge-card {
  background: var(--dark);
  padding: 36px 40px;
  border-left: 3px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.challenge-card:hover { background: rgba(60,30,33,0.5); border-left-color: var(--red); }

.challenge-card-num {
  font-family: var(--cond); font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--red); margin-bottom: 10px;
}

.challenge-card-title {
  font-family: var(--cond); font-size: 18px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}

.challenge-card-body {
  font-size: 15px; line-height: 1.75; font-weight: 300;
  color: rgba(247,248,249,0.55);
  transition: color 0.3s ease;
}

.challenge-card:hover .challenge-card-body { color: rgba(247,248,249,0.85); }

.supply-chain-diagram {
  margin-top: 48px;
  background: transparent;
  padding: 24px 32px;
}

.supply-chain-diagram img {
  width: 100%; height: auto; display: block;
}

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.diff-intro .eyebrow { margin-bottom: 20px; }

.diff-intro .section-title { font-size: clamp(36px, 4vw, 56px); margin-bottom: 20px; }

.diff-intro .section-sub {
  font-size: 15px; line-height: 1.8; font-weight: 300;
  color: rgba(247,248,249,0.6);
  max-width: 480px;
}

.std-steps { padding-top: 8px; }

.std-step {
  position: relative;
  padding-left: 60px;
  padding-bottom: 48px;
}

.std-step::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px; bottom: -4px;
  width: 1px;
  background: rgba(255,255,255,0.14);
}

.std-step:last-child { padding-bottom: 0; }

.std-step:last-child::after { display: none; }

.std-step-marker {
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  color: var(--red);
  transition: background 0.3s ease, color 0.3s ease;
}

.std-step:hover .std-step-marker { background: var(--red); color: var(--white); }

.std-step-title {
  font-family: var(--cond); font-size: 19px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}

.std-step-body {
  font-size: 15px; line-height: 1.75; font-weight: 300;
  color: rgba(247,248,249,0.55);
  margin-bottom: 10px;
}

.std-step-impact {
  font-size: 14px; font-weight: 600;
  color: var(--red);
}

.validate-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.validate-badge {
  position: relative;
  background: var(--dark);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 28px 22px 24px;
  text-align: center;
  transition: background 0.3s ease;
}

.validate-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.validate-badge:hover::before { transform: scaleX(1); }

.validate-badge:hover { background: rgba(60,30,33,0.35); }

.validate-badge-num {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: rgba(170,31,46,0.4);
  margin-bottom: 14px;
}

.validate-badge-title {
  font-family: var(--cond); font-size: 16px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}

.validate-badge-body {
  font-size: 15px; line-height: 1.65; font-weight: 300;
  color: rgba(247,248,249,0.55);
}

.portfolio-sec .section-title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 20px; white-space: nowrap; }

@media (max-width: 1024px) {
  .challenge-grid { grid-template-columns: 1fr; }
  .diff-inner { grid-template-columns: 1fr; gap: 40px; }
  .integration-cards { grid-template-columns: 1fr; }
  .validate-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .challenge-top .section-title { white-space: normal; font-size: clamp(28px, 8vw, 40px); }
  .challenge-lead { white-space: normal; max-width: 100%; }
  .diff-sec .section-sub { white-space: normal; max-width: 100%; }
  .validate-row { grid-template-columns: 1fr; }
  .portfolio-sec .section-title { white-space: normal; font-size: clamp(28px, 8vw, 38px); }
}
