/* ══════════════════════════════════════════════════════════════════════
   Solution pages — "In-Depth Solutions" cinematic scroll + parallax cards
   Shared by every /solutions/*/
*.html page that has this section
   /* (previously duplicated inline on each page as .kyb-deep-* / .trv-deep-*) */
   ══════════════════════════════════════════════════════════════════════ */

.sol-deep-idp-header {
  text-align: center;
  padding-bottom: 1.7rem;
}

.sol-deep-metrics-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.sol-deep-metric {
  min-width: 170px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 999px;
  background: #fff;
  padding: 0.7rem 1rem;
}

.sol-deep-metric strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--primaryDarkColor, #111);
}

.sol-deep-metric span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primaryTextColor);
}

.sol-deep-shell {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 122, 45, 0.14), transparent 30%),
    #f7f8fa;
  /* overflow:clip clips decorative pseudo-elements visually without creating
     a scroll container — overflow:hidden would break position:sticky on
     .sol-deep-rail because it makes the browser treat this element as the
     sticky scroll boundary instead of the viewport. */
  overflow: clip;
}

.sol-deep-shell::before,
.sol-deep-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.sol-deep-shell::before {
  width: 340px;
  height: 340px;
  right: -110px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 122, 45, 0.2), transparent 68%);
}

.sol-deep-shell::after {
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(16, 19, 23, 0.09), transparent 68%);
}

.sol-deep-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sol-deep-rail {
  position: sticky;
  top: 108px;
  border-radius: 16px;
  padding: 0.75rem;
  background: #0f1217;
  box-shadow: 0 18px 34px rgba(10, 13, 19, 0.25);
}

.sol-deep-rail-title {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.sol-deep-jump {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  margin-bottom: 0.42rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease;
}

.sol-deep-jump:last-child {
  margin-bottom: 0;
}

.sol-deep-jump:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.sol-deep-jump-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.sol-deep-jump.active {
  background: linear-gradient(
    90deg,
    rgba(255, 122, 45, 0.38),
    rgba(255, 122, 45, 0.08)
  );
  border-color: rgba(255, 122, 45, 0.6);
  color: #fff;
}

.sol-deep-jump.active .sol-deep-jump-num {
  background: var(--secondaryMastercolor);
}

.sol-deep-cards {
  display: grid;
  gap: 1rem;
}

.sol-deep-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(130deg, #ffffff 0%, #f9f9fb 68%, #fff4ed 100%);
  box-shadow: 0 10px 26px rgba(14, 18, 26, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.sol-deep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(14, 18, 26, 0.13);
  border-color: rgba(255, 122, 45, 0.34);
}

.sol-deep-card-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 122, 45, 0.25) 0%,
    rgba(255, 122, 45, 0.08) 32%,
    transparent 72%
  );
  right: -90px;
  top: -120px;
  pointer-events: none;
}

.sol-deep-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.sol-deep-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.sol-deep-card-index {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #101317;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.sol-deep-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--primaryDarkColor, #111);
}

.sol-deep-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.72);
  background: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.sol-deep-card p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  line-height: 1.82;
  color: var(--primaryTextColor);
}

.sol-deep-panel-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 0.9rem;
}

.sol-deep-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--secondaryMastercolor);
  border: 1.5px solid rgba(255, 122, 45, 0.6);
  border-radius: 20px;
  padding: 0.38rem 0.9rem;
  text-decoration: none;
  background: #fff;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.sol-deep-panel-link:hover {
  background: var(--secondaryMastercolor);
  color: #fff;
}

/* ── Blank image placeholder blocks (used on pages with no imagery yet) ── */
.sol-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border-radius: 4px;
  background: repeating-linear-gradient(
    135deg,
    #f4f5f7 0px,
    #f4f5f7 14px,
    #eceef1 14px,
    #eceef1 28px
  );
  border: 1px dashed rgba(0, 0, 0, 0.12);
}

.iv-svc-item-visual .sol-img-placeholder {
  min-height: 0;
  border-radius: 0;
  border: none;
}

@media (max-width: 1199px) {
  .sol-deep-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .sol-deep-layout {
    grid-template-columns: 1fr;
  }

  .sol-deep-rail {
    position: static;
    top: auto;
    overflow-x: auto;
    display: flex;
    gap: 0.55rem;
    padding: 0.65rem;
    white-space: nowrap;
  }

  .sol-deep-rail-title {
    margin: 0.25rem 0.55rem 0 0.25rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.6rem;
    min-width: 18px;
  }

  .sol-deep-jump {
    width: auto;
    min-width: 180px;
    margin-bottom: 0;
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .sol-deep-shell {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .sol-deep-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .sol-deep-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .sol-deep-metrics-strip {
    gap: 0.6rem;
  }

  .sol-deep-metric {
    min-width: 145px;
  }

  .sol-deep-jump {
    min-width: 165px;
  }
}
