/* ==========================================================================
   SHARED SERVICE PAGES — services.css
   ========================================================================== */

/* ── Statement Band ── */
.svc-statement {
  background: #080808;
  padding: 100px 60px;
  border-bottom: 1px solid rgba(235,125,0,0.15);
}

.svc-statement-inner {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.svc-statement-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #eb7d00;
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-statement-num::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #eb7d00;
  flex-shrink: 0;
}

.svc-statement-title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.svc-statement-title em { color: #eb7d00; font-style: normal; }

.svc-statement-body {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #a8a8a8;
  line-height: 1.85;
  max-width: 740px;
}

/* ── Cert / Credential Row ── */
.svc-cert-row {
  background: #0a0a0a;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(235,125,0,0.07);
}

.svc-cert-row-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #444;
  margin-right: 8px;
  white-space: nowrap;
}

.svc-cert-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eb7d00;
  border: 1px solid rgba(235,125,0,0.35);
  padding: 5px 14px;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s;
}
.svc-cert-tag:hover { border-color: #eb7d00; color: #fff; }

/* ── Feature Split ── */
.svc-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #0a0a0a;
}

.svc-feature-img {
  overflow: hidden;
  position: relative;
}
.svc-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.svc-feature:hover .svc-feature-img img { transform: scale(1.04); }

.svc-feature-img .ch-stmt-slider {
  width: 100%;
  height: 100%;
  border-left: none;
}

.svc-feature-body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-left: 1px solid rgba(235,125,0,0.1);
  background: #080808;
}

.svc-feature-flip .svc-feature-img { order: 2; }
.svc-feature-flip .svc-feature-body {
  order: 1;
  border-left: none;
  border-right: 1px solid rgba(235,125,0,0.1);
}

.svc-feature-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #eb7d00;
  display: flex;
  align-items: center;
  gap: 14px;
}
.svc-feature-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #eb7d00;
  flex-shrink: 0;
}

.svc-feature-title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}
.svc-feature-title em { color: #eb7d00; font-style: normal; }

.svc-feature-desc {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  color: #888;
  line-height: 1.8;
  max-width: 480px;
}

.svc-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-feature-list li {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(13px, 0.95vw, 15px);
  color: #888;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.svc-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #eb7d00;
  font-weight: 700;
}

/* ── 5-card capability grid (3×2 centered) ── */
.svc-cap-grid-5 {
  grid-template-columns: repeat(6, 1fr) !important;
}
.svc-cap-grid-5 .ind-cap-card { grid-column: span 2; }
.svc-cap-grid-5 .ind-cap-card:nth-child(4) { grid-column: 2 / span 2; }
.svc-cap-grid-5 .ind-cap-card:nth-child(5) { grid-column: 4 / span 2; }

/* ── Capability card upgrades ── */
.ind-cap-card .svc-cap-icon {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 900;
  color: #eb7d00;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  line-height: 1;
  margin-bottom: 4px;
}

.ind-cap-card h3 {
  font-size: clamp(15px, 1.3vw, 18px) !important;
}

.ind-cap-card p {
  font-size: clamp(13px, 1vw, 15px) !important;
  color: #777 !important;
  line-height: 1.75 !important;
}

/* ── Statement + Stats two-column layout ── */
.svc-statement--with-stats {
  padding: 0;
}

.svc-stmt-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: stretch;
}

.svc-stmt-grid .svc-statement-inner {
  padding: 100px 60px;
  max-width: none;
}

/* ── MRO Stats Panel ── */
.mro-stats-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 44px;
  border-left: 1px solid rgba(235,125,0,0.18);
  background: linear-gradient(135deg, rgba(235,125,0,0.04) 0%, rgba(0,0,0,0) 60%);
  position: relative;
  overflow: hidden;
}

.mro-stats-panel::before {
  content: '';
  position: absolute;
  top: 15%; left: 0;
  width: 1px; height: 70%;
  background: linear-gradient(to bottom, transparent, rgba(235,125,0,0.55) 50%, transparent);
  pointer-events: none;
}

.mro-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
}

/* Range stat: stacked 5MM ↓ 4M */
.mro-stat-range {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}

.mro-range-from,
.mro-range-to {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(65px, 8vw, 108px);
  line-height: 1;
}
.mro-range-from { color: #4a4a4a; }
.mro-range-from small { font-size: 0.62em; }
.mro-range-to { color: #eb7d00; }
.mro-range-to small { font-size: 0.62em; }

.mro-range-arrow {
  font-size: 18px;
  color: rgba(235,125,0,0.5);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
  letter-spacing: 0;
}

/* Count stat: +36 */
.mro-stat-big {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 8vw, 108px);
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  transform-origin: left center;
}

.mro-stat-plus {
  font-size: 0.45em;
  color: #eb7d00;
  line-height: 1.4;
  margin-right: 3px;
}

#mroCount { color: #fff; }

.mro-stat-unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #eb7d00;
  font-weight: 500;
}

.mro-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #3a3a3a;
  margin: 0;
}

.mro-stat-sep {
  height: 1px;
  background: rgba(235,125,0,0.13);
  width: 100%;
}

@media (max-width: 960px) {
  .svc-stmt-grid {
    grid-template-columns: 1fr;
  }
  .mro-stats-panel {
    border-left: none;
    border-top: 1px solid rgba(235,125,0,0.15);
    padding: 60px;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    background: linear-gradient(to bottom, rgba(235,125,0,0.04), transparent);
  }
  .mro-stats-panel::before { display: none; }
  .mro-stat-sep { display: none; }
}

/* ==========================================================================
   CHILLER COMPONENTS PAGE — chillers.html
   ========================================================================== */

/* ── Statement + Slider two-column layout ── */
.svc-statement--with-slider {
  padding: 0;
}

.svc-stmt-slider-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: stretch;
  min-height: 420px;
}

.svc-stmt-slider-grid .svc-statement-inner {
  padding: 48px 60px;
  max-width: none;
  height: 100%;
  gap: 16px;
  justify-content: center;
}

.ch-stmt-slider {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border-left: 1px solid rgba(235,125,0,0.12);
}

.ch-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.ch-slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.ch-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8,8,8,0.65);
  border: 1px solid rgba(235,125,0,0.3);
  color: #eb7d00;
  font-size: 18px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 4;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ch-slider-btn:hover {
  background: rgba(235,125,0,0.18);
  border-color: #eb7d00;
}
.ch-slider-prev { left: 14px; }
.ch-slider-next { right: 14px; }

.ch-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.ch-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.ch-slider-dot.active {
  background: #eb7d00;
  transform: scale(1.4);
}

@media (max-width: 960px) {
  .svc-stmt-slider-grid {
    grid-template-columns: 1fr;
  }
  .ch-stmt-slider {
    border-left: none;
    border-top: 1px solid rgba(235,125,0,0.12);
    height: 320px;
  }
}

/* ── Johnson Controls Spotlight ── */
.jc-spotlight {
  background: #080808;
  padding: 80px 60px;
  border-top: 1px solid rgba(235,125,0,0.1);
  border-bottom: 1px solid rgba(235,125,0,0.07);
}

.jc-spotlight-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
}

.jc-logo-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.jc-partner-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #eb7d00;
  display: flex;
  align-items: center;
  gap: 14px;
}
.jc-partner-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #eb7d00;
  flex-shrink: 0;
}

.jc-logo {
  max-width: 200px;
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.jc-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jc-content-title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.jc-content-title em { color: #eb7d00; font-style: normal; }

.jc-content-body {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  color: #a0a0a0;
  line-height: 1.85;
  max-width: 580px;
}

.jc-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.jc-deliverable-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  white-space: nowrap;
}

/* ── Chiller Process Steps ── */
.ch-process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(235,125,0,0.14);
}

.ch-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  flex: 1;
  padding-top: 14px;
}

.ch-process-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(235,125,0,0.5);
  background: rgba(235,125,0,0.07);
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #eb7d00;
  letter-spacing: 0.05em;
  transition: background 0.3s, border-color 0.3s;
}
.ch-process-step:hover .ch-process-badge {
  background: rgba(235,125,0,0.18);
  border-color: #eb7d00;
}

.ch-process-name {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #c8c8c8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  transition: color 0.3s;
}
.ch-process-step:hover .ch-process-name { color: #fff; }

.ch-process-connector {
  display: flex;
  align-items: center;
  padding: 0 10px;
  padding-top: 16px;
  flex-shrink: 0;
}
.ch-process-connector span {
  display: block;
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, rgba(235,125,0,0.5), rgba(235,125,0,0.15));
  position: relative;
}
.ch-process-connector span::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(235,125,0,0.5);
  border-top: 1px solid rgba(235,125,0,0.5);
  transform: rotate(45deg);
}

/* ── Chiller Sub-services ── */
.ch-subservices {
  background: #0a0a0a;
  padding: 80px 60px;
  border-bottom: 1px solid rgba(235,125,0,0.07);
}

.ch-sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 1300px;
}

.ch-sub-card {
  background: #111;
  border: 1px solid rgba(235,125,0,0.13);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s;
}
.ch-sub-card:hover { border-color: rgba(235,125,0,0.45); }

.ch-sub-num {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  color: rgba(235,125,0,0.45);
  letter-spacing: 0.08em;
}

.ch-sub-title {
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}

.ch-sub-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #eb7d00;
  border: 1px solid rgba(235,125,0,0.3);
  padding: 4px 10px;
  width: fit-content;
  text-transform: uppercase;
}

.ch-sub-desc {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(13px, 1vw, 14.5px);
  color: #666;
  line-height: 1.75;
}

/* ── Photo Strip ── */
.ch-photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 260px;
}

.ch-photo-strip-item {
  overflow: hidden;
  position: relative;
}
.ch-photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.75);
}
.ch-photo-strip-item:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}

/* ── Machines / Equipment ── */
.ch-machines {
  background: #080808;
  padding: 80px 60px;
  border-bottom: 1px solid rgba(235,125,0,0.07);
}

.ch-machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  max-width: 1300px;
}

.ch-machine-card {
  background: #111;
  border: 1px solid rgba(235,125,0,0.1);
  border-left: 2px solid rgba(235,125,0,0.3);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s, border-left-color 0.3s;
}
.ch-machine-card:hover {
  border-color: rgba(235,125,0,0.3);
  border-left-color: #eb7d00;
}

.ch-machine-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(235,125,0,0.6);
  margin-bottom: 2px;
}

.ch-machine-name {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  color: #e8e8e8;
  line-height: 1.35;
}

.ch-machine-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #444;
  line-height: 1.9;
  margin-top: 4px;
}
.ch-machine-spec span { color: #eb7d00; }

/* ── Responsive: Chillers ── */
@media (max-width: 1024px) {
  .ch-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .ch-machine-grid { grid-template-columns: repeat(2, 1fr); }
  .jc-spotlight-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .ch-sub-grid { grid-template-columns: 1fr; }
  .ch-machine-grid { grid-template-columns: 1fr; }
  .ch-photo-strip { grid-template-columns: repeat(3, 1fr); height: 200px; }
  .ch-photo-strip-item:nth-child(n+4) { display: none; }
}

/* ── Responsive: Service pages ── */
@media (max-width: 980px) {
  .svc-statement { padding: 60px 22px; }
  .svc-feature { grid-template-columns: 1fr; min-height: auto; }
  .svc-feature-body { padding: 48px 22px; border-left: none; border-top: 1px solid rgba(235,125,0,0.1); }
  .svc-feature-flip .svc-feature-body { border-right: none; border-bottom: 1px solid rgba(235,125,0,0.1); }
  .svc-feature-flip .svc-feature-img { order: 0; }
  .svc-feature-flip .svc-feature-body { order: 1; }
  .svc-cap-grid-5 { grid-template-columns: repeat(4, 1fr) !important; }
  .svc-cap-grid-5 .ind-cap-card { grid-column: span 2 !important; }
  .svc-cap-grid-5 .ind-cap-card:nth-child(4) { grid-column: span 2 !important; }
  .svc-cap-grid-5 .ind-cap-card:nth-child(5) { grid-column: span 2 !important; }
}

@media (max-width: 600px) {
  .svc-feature-body { padding: 36px 22px; }
  .svc-cap-grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .svc-cap-grid-5 .ind-cap-card { grid-column: span 1 !important; }
  .svc-cap-grid-5 .ind-cap-card:nth-child(4),
  .svc-cap-grid-5 .ind-cap-card:nth-child(5) { grid-column: span 1 !important; }
}
