/* ============================================
   CET ENVIRO — Solutions listing page
   Page hero, jump-nav, alternating detail rows
   ============================================ */


/* ══ JUMP NAV ══ */
.sol-jumpnav-wrap {
  position: sticky;
  top: var(--nav-height);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.sol-jumpnav {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sol-jumpnav::-webkit-scrollbar { display: none; }
.sol-jumpnav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.sol-jumpnav-link:hover { background: var(--off-white); color: var(--ink); }
.sol-jumpnav-link.active { background: var(--forest); color: #fff; }

/* ══ ALTERNATING DETAIL SECTIONS ══ */
.sol-detail { padding: var(--space-3xl) var(--gutter); background: var(--white); scroll-margin-top: calc(var(--nav-height) + 60px); }
.sol-detail.alt { background: var(--off-white); }
.sol-detail-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.sol-detail-inner.reverse { flex-direction: row-reverse; }
.sol-detail-media { flex: 0 0 44%; }
.sol-detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.sol-detail-content { flex: 1; }
.sol-detail-h {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: var(--space-md) 0 12px;
}
.sol-detail-desc { font-size: var(--text-base); color: var(--text-mid); line-height: 1.75; margin-bottom: var(--space-lg); }
.sol-detail-subhead { font-size: var(--text-md); font-weight: 700; color: var(--ink); margin: -6px 0 var(--space-md); }

.sol-detail-features { margin-bottom: var(--space-lg); display: flex; flex-direction: column; gap: 10px; }
.sol-detail-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); line-height: 1.5; }
.sdf-check { flex-shrink: 0; margin-top: 2px; color: var(--leaf); }

.sol-detail-metrics { display: flex; gap: var(--space-xl); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.sdm-num { font-size: 22px; font-weight: 700; color: var(--forest); letter-spacing: -0.02em; }
.sdm-label { font-size: 10px; color: var(--text-muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ══ BIG CENTERED STATEMENT (Qualcomm-style) ══ */
.about-statement { padding: var(--space-3xl) var(--gutter); background: var(--white); text-align: center; }
.about-statement-inner { max-width: 820px; margin-inline: auto; }
.about-statement-h { font-size: var(--text-5xl); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: var(--space-lg); }
.about-statement-sub { font-size: var(--text-lg); color: var(--text-mid); line-height: 1.65; max-width: 680px; margin-inline: auto; }

/* ══ REASON CARD GRID ══ */
.reason-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
.reason-card { padding: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.reason-card-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.reason-card-desc { font-size: 16px; color: var(--text-mid); line-height: 1.55; }

/* ══ VIDEO EMBED ══ */
.sol-video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-lg); background: #000; }
.sol-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ══ BEFORE/AFTER COMPARISON SLIDER ══ */
.ba-slider { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-lg); user-select: none; }
.ba-slider-after, .ba-slider-before { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba-slider-before { clip-path: inset(0 50% 0 0); }
.ba-slider-clean-filter { filter: grayscale(1) brightness(1.35) contrast(0.9); }
.ba-slider-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-lg); background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; font-size: 15px; text-align: left; pointer-events: none; }
.ba-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,0.35); }
.ba-slider-handle::after { content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.ba-slider-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* ══ CARD GRID (case studies, resources, applications index) ══ */
.cs-section { padding: var(--space-3xl) var(--gutter); background: var(--white); }
.cs-section.alt { background: var(--off-white); }
.cs-inner { max-width: var(--max-width); margin-inline: auto; }
.cs-inner > *:first-child { margin-top: 0; }
.cs-inner > *:last-child { margin-bottom: 0; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.cs-card { display: flex; flex-direction: column; border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; text-decoration: none; transition: box-shadow var(--dur), transform var(--dur); }
.cs-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cs-card-img { width: 100%; height: 200px; background-size: cover; background-position: center; }
.cs-card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex: 1; }
.cs-card-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--forest); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.cs-card-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); flex-shrink: 0; }
.cs-card-title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 8px; }
.cs-card-desc { font-size: 16px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.cs-card-meta { font-size: 12px; color: var(--text-muted); }
.cs-card-img-fallback { display: flex; align-items: center; justify-content: center; background: var(--leaf-pale); color: var(--leaf); font-size: 32px; }

/* ══ BLOG PAGINATION ══ */
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-lg); margin-top: var(--space-2xl); }
.blog-page-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; color: var(--ink); text-decoration: none; transition: all var(--dur); }
.blog-page-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.blog-page-btn.disabled { opacity: 0.35; pointer-events: none; }
.blog-page-status { font-size: 13px; color: var(--text-mid); }

/* ══ BLOG POST DETAIL ══ */
.blog-post-inner { max-width: 780px; }
.blog-share { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--border); }
.blog-share-label { font-size: 13px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; }
.blog-share-icons { display: flex; gap: 8px; }
.blog-share-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); color: var(--text-mid); background: #fff; cursor: pointer; text-decoration: none; font-size: 14px; transition: all var(--dur); }
.blog-share-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.blog-post-body { font-size: 16px; color: var(--text); line-height: 1.8; }
.blog-post-body h2 { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; margin: var(--space-xl) 0 var(--space-md); }
.blog-post-body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: var(--space-lg) 0 var(--space-sm); }
.blog-post-body h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin: var(--space-md) 0 8px; }
.blog-post-body h5 { font-size: 16px; font-weight: 700; color: var(--ink); margin: var(--space-md) 0 8px; }
.blog-post-body h6 { font-size: 14px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; margin: var(--space-md) 0 8px; }
.blog-post-body p { margin-bottom: var(--space-md); }
.blog-post-body > *:last-child { margin-bottom: 0; }
.blog-post-body ul { list-style: disc; margin: 0 0 var(--space-md); padding-left: 22px; }
.blog-post-body ol { list-style: decimal; margin: 0 0 var(--space-md); padding-left: 22px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body a { color: var(--forest); text-decoration: underline; }
.blog-post-body a:hover { color: var(--forest-mid); }
.blog-post-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: var(--space-md) 0; }
.blog-post-body figure { margin: var(--space-md) 0; }
.blog-post-body figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 6px; }
.blog-post-body strong, .blog-post-body b { color: var(--ink); }
.blog-post-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: var(--space-md) 0; }
.blog-post-body th, .blog-post-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.blog-post-body thead th { background: var(--leaf-pale); color: var(--ink); font-weight: 700; }

.spec-table-wrap { overflow-x: auto; margin: var(--space-lg) 0 0; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 16px; text-align: left; font-size: 15px; }
.spec-table thead th { background: var(--leaf-pale); color: var(--ink); font-weight: 700; }
.spec-table tbody tr:nth-child(even) { background: rgba(13,59,37,0.02); }
.spec-table-note { font-size: 13px; color: var(--text-muted); margin-top: var(--space-sm); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .sol-detail-media { flex: 0 0 40%; }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .about-statement-h { font-size: var(--text-4xl); }
  .reason-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
  .sol-detail-inner, .sol-detail-inner.reverse { flex-direction: column; }
  .sol-detail-media { flex: none; width: 100%; }
  .sol-detail-metrics { gap: var(--space-lg); }
  .cs-grid { grid-template-columns: 1fr; }
  .about-statement-h { font-size: var(--text-3xl); }
  .reason-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   Case study request modal
   ============================================ */
.cs-card-cta { font-size: 13px; font-weight: 700; color: var(--forest); margin-top: auto; }
.cs-modal-overlay { position: fixed; inset: 0; background: rgba(10,10,10,0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.cs-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.cs-modal { background: var(--page); border-radius: var(--radius-lg); padding: var(--space-2xl); max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.cs-modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: var(--off-white); border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text-mid); }
.cs-modal-title { font-size: 22px; font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.cs-modal-sub { font-size: 14px; color: var(--text-mid); line-height: 1.6; margin-bottom: var(--space-lg); }
.cs-modal-field { margin-bottom: var(--space-md); }
.cs-modal-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cs-modal-field input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 13px; color: var(--ink); }
.cs-modal-error { font-size: 13px; color: #b3261e; margin-bottom: var(--space-md); }
@media (max-width: 480px) {
  .cs-modal { padding: var(--space-xl); }
}

/* ══ INDUSTRY PAGE — client logos ══
   Reuses the homepage's auto-scrolling partners marquee (.partners-strip /
   .partners-marquee / .partners-track / .partner-logo) for consistency. */
