/* ======================================================================
   SOLUTIONS OVERVIEW PAGE
   Page-specific components only. Shared tokens, header and footer live
   in index.css. This page has graduated off the shared .fcta-section —
   its final CTA is its own bespoke .sol-point-* (same navy-gradient/
   corner-photo family as Insight 360X, DecisionDesk AI, Products and
   Real-time BI's final CTAs), so the page matches the rest of the site
   rather than trailing it in the old flat-cream pattern.

   The four solutions are an interactive switcher (.sol-show-*): tab
   triggers on the left, one large photo panel on the right that swaps
   in as each is picked, rather than a static grid or list of four
   competing for attention at once. Mobile drops the interactivity
   entirely — all four panels render as stacked cards, no JS required.
   ====================================================================== */

.sol-show-section {
  padding: 96px 0 128px;
  background: #ffffff;
}

@media (max-width: 767px) {
  .sol-show-section {
    padding: 72px 0 92px;
  }
}

.sol-show {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sol-show__tabs {
  display: none;
}

/* --- Stage: mobile stacks every panel as its own full card. --- */
.sol-show__stage {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sol-show__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0f2d49;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.sol-show__panel-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 19, 31, 0.92) 0%, rgba(6, 19, 31, 0.55) 48%, rgba(6, 19, 31, 0.22) 100%);
}

.sol-show__panel-tag {
  position: absolute;
  top: 24px;
  left: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.sol-show__panel-body {
  display: flex;
  flex-direction: column;
  max-width: 46ch;
}

.sol-show__panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.sol-show__panel-text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.sol-show__panel-text strong {
  font-weight: 600;
  color: var(--accent-1);
}

.sol-show__panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.sol-show__panel-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sol-show__panel:hover .sol-show__panel-cta svg {
  transform: translate(2px, -2px);
}

@media (max-width: 639px) {
  .sol-show__panel {
    min-height: 300px;
    padding: 22px;
  }
}

/* --- Desktop: tabs on the left drive one large stage on the right.
   All four panels occupy the same grid cell (grid-area: 1/1) and are
   switched with opacity/visibility, driven by main.js
   (data-sol-show-tab / data-sol-show-panel) — no absolute positioning
   needed, the grid sizes itself off the tallest panel. --- */
@media (min-width: 1024px) {
  .sol-show {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 48px;
    align-items: stretch;
  }

  .sol-show__tabs {
    display: flex;
    flex-direction: column;
  }

  .sol-show__tab {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 4px;
    border: none;
    border-top: 1px solid #e5ebf1;
    background: none;
    text-align: left;
    cursor: pointer;
  }

  .sol-show__tabs .sol-show__tab:last-child {
    border-bottom: 1px solid #e5ebf1;
  }

  .sol-show__tab-num {
    flex: none;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: rgba(15, 45, 73, 0.32);
    transition: color 300ms ease;
  }

  .sol-show__tab-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .sol-show__tab-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(15, 45, 73, 0.45);
    transition: color 300ms ease;
  }

  .sol-show__tab-kicker {
    font-size: 13px;
    color: rgba(15, 45, 73, 0.4);
    transition: color 300ms ease;
  }

  .sol-show__tab.is-active .sol-show__tab-num,
  .sol-show__tab:hover .sol-show__tab-num {
    color: var(--accent-1);
  }

  .sol-show__tab.is-active .sol-show__tab-title,
  .sol-show__tab:hover .sol-show__tab-title {
    color: var(--accent-2);
  }

  .sol-show__tab.is-active .sol-show__tab-kicker,
  .sol-show__tab:hover .sol-show__tab-kicker {
    color: rgba(15, 45, 73, 0.6);
  }

  .sol-show__stage {
    display: grid;
  }

  .sol-show__panel {
    grid-area: 1 / 1;
    min-height: 100%;
    padding: 44px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 460ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sol-show__panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sol-show__panel-tag {
    top: 32px;
    left: 44px;
  }

  .sol-show__panel-title {
    font-size: clamp(1.6rem, 2vw, 2.1rem);
  }

  .sol-show__panel-text {
    max-width: 42ch;
  }
}

/* ============================ FINAL CTA ================================
   Bespoke navy-gradient "point" CTA — same family as Real-time BI /
   DecisionDesk AI / Products, adapted with the solution-picker select
   this page's audience actually needs. */
.sol-point {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0;
  text-align: center;
  background: linear-gradient(160deg, var(--accent-3) 0%, var(--accent-2) 55%, #0a1e33 100%);
}

.sol-point-arc {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  z-index: 1;
  height: 70px;
  pointer-events: none;
}

.sol-point-arc svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .sol-point-arc {
    height: 40px;
  }
}

.sol-point__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sol-point__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  background-color: #0f2d49;
  background-image: var(--img);
  background-position: center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.sol-point__photo-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 42, 78, 0.5) 0%, rgba(0, 20, 38, 0.25) 100%);
  mix-blend-mode: multiply;
}

.sol-point__photo--tl { top: 14%; left: 6%; width: 210px; height: 270px; }
.sol-point__photo--tr { top: 10%; right: 7%; width: 190px; height: 150px; }
.sol-point__photo--bl { bottom: 12%; left: 8%; width: 220px; height: 140px; }
.sol-point__photo--br { bottom: 16%; right: 5%; width: 200px; height: 250px; }

@media (max-width: 1279px) {
  .sol-point__photo--tl { width: 170px; height: 220px; left: 20px; }
  .sol-point__photo--tr { width: 150px; height: 120px; right: 24px; }
  .sol-point__photo--bl { width: 170px; height: 110px; left: 24px; }
  .sol-point__photo--br { width: 160px; height: 200px; right: 20px; }
}

@media (max-width: 1023px) {
  .sol-point {
    padding: 96px 0;
  }

  .sol-point__media {
    display: none;
  }
}

.sol-point__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.sol-point__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.sol-point__eyebrow-icon {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent-1);
}

.sol-point__title {
  margin: 22px auto 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.sol-point__lede {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.sol-point__alt {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.sol-point__alt a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sol-point__card {
  max-width: 560px;
  margin: 34px auto 0;
  text-align: left;
}

.sol-point__form-row {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

@media (min-width: 480px) {
  .sol-point__form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sol-point__field--wide {
    grid-column: span 2;
  }
}

.sol-point__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-point__field span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.sol-point__field input,
.sol-point__field select {
  min-height: 34px;
  padding: 0 0 6px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  transition: border-color 220ms ease;
}

.sol-point__field select option {
  color: var(--accent-2);
}

.sol-point__field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.sol-point__field input:focus,
.sol-point__field select:focus {
  outline: none;
  border-color: var(--accent-1);
}

.sol-point__submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  margin-top: 6px;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #d9cfae 0%, var(--accent-1) 100%);
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 600;
  transition: transform 300ms ease;
}

.sol-point__submit svg {
  width: 16px;
  height: 16px;
  transition: transform 300ms ease;
}

.sol-point__submit:hover {
  transform: translateY(-2px);
}

.sol-point__submit:hover svg {
  transform: translateX(3px);
}

.sol-point__assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.sol-point__assurances li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
