/* SOLUTIONS pages only (loaded after style.css and pages.css) */
.sol-list { padding: 40px 0 90px; }
.sol-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--border);
}
.sol-row:nth-child(even) .sol-img { order: 2; }
.sol-img {
  min-height: 280px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--img) center / cover no-repeat, var(--navy-800);
}
.sol-text small { color: var(--blue-300); letter-spacing: 0.2em; font-size: 0.75rem; }
.sol-text h2 { font-size: 1.8rem; margin: 8px 0 12px; }
.sol-text p { color: var(--text-muted); margin-bottom: 24px; max-width: 44ch; }
.prod-hero { padding-bottom: 90px; }
.prod-hero .btn { margin-top: 26px; }
@media (max-width: 900px) {
  .sol-row { grid-template-columns: 1fr; gap: 24px; }
  .sol-row:nth-child(even) .sol-img { order: 0; }
  .sol-img { min-height: 200px; }
}

/* ---------- Product pages: less empty space ---------- */
.prod-hero { padding-bottom: 50px; }
.prod-hero + .page-section { padding-top: 50px; }

/* ---------- Picture slideshow ---------- */
.slider {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--navy-800);
}
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.8s ease;
}
.slides img.on { opacity: 1; }
.s-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(213, 219, 232, 0.35); border-radius: 50%;
  background: rgba(5, 11, 28, 0.55); color: #d5dbe8; transition: 0.2s;
}
.s-btn:hover { background: rgba(5, 11, 28, 0.85); border-color: var(--blue-300); }
.s-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-btn.prev { left: 12px; } .s-btn.next { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.dots button {
  width: 22px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: rgba(213, 219, 232, 0.4);
}
.dots button.on { background: #fff; }

/* ---------- "Explore more" scrolling cards ---------- */
.rail { position: relative; }
.rail-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; scroll-behavior: smooth;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-card { flex: 0 0 min(340px, 78%); scroll-snap-align: start; }
.rail-img {
  aspect-ratio: 16 / 10; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--img) center / cover no-repeat, var(--navy-800); transition: 0.3s;
}
.rail-card:hover .rail-img { border-color: var(--blue-300); transform: translateY(-3px); }
.rail-card span { display: flex; justify-content: space-between; margin-top: 14px; font-size: 1rem; }
.rail-card i { font-style: normal; color: var(--blue-300); }
.rail .s-btn { top: calc(50% - 30px); }
.rail .s-btn.prev { left: -14px; } .rail .s-btn.next { right: -14px; }
.rail-all { margin-top: 30px; }
@media (max-width: 900px) {
  .rail .s-btn.prev { left: 8px; }
  .rail .s-btn.next { right: 8px; }
}

.sol-row--featured .sol-img { min-height: clamp(230px, 34vw, 420px); }
.sol-row--featured .eyebrow { color: var(--blue-300); margin-bottom: 8px; }
.slides img:first-child, .slides img.on { opacity: 1; }
.slides img[aria-hidden="true"] { opacity: 0; }
.dots button { height: 16px; border-block: 7px solid transparent; }
.dots button, .dots button.on { background-clip: padding-box; }
@media (prefers-reduced-motion: reduce) { .slides img { transition: none; } .rail-track { scroll-behavior: auto; } }

