/* ============================================================
   CBS Solutions Hero Visual — enterprise portfolio panel
   Same proven composition as Services hero (content left · panel right)
   ============================================================ */

.page-hero--solutions {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.page-hero--solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 88% 35%, rgba(59, 130, 246, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 50% at 75% 90%, rgba(99, 102, 241, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page-hero--solutions .container {
  position: relative;
  z-index: 1;
}

.hero-sol {
  position: relative;
  width: 100%;
  min-height: 440px;
  isolation: isolate;
}

.hero-sol-content {
  position: relative;
  z-index: 2;
  width: 50%;
  max-width: min(600px, 54%);
  padding-right: 20px;
  box-sizing: border-box;
}

.hero-sol-content .lead {
  max-width: 36rem;
}

.hero-sol-visual {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 0;
  width: min(520px, 50%);
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.7) 14%,
    rgba(0, 0, 0, 0.92) 32%,
    #000 48%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.7) 14%,
    rgba(0, 0, 0, 0.92) 32%,
    #000 48%
  );
}

/* ——— Glass panel ——— */
.sol-panel {
  position: relative;
  width: 100%;
  border-radius: 22px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(155deg, rgba(18, 28, 48, 0.92) 0%, rgba(8, 12, 22, 0.94) 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sol-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.45), transparent);
}

.sol-panel-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(4px);
}

.sol-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.sol-panel-head strong {
  display: block;
  font-family: var(--display, "Cabin", sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.sol-panel-head span {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
}

.sol-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67e8f9;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.18);
  white-space: nowrap;
}

.sol-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: sol-dot 2s ease infinite;
}

@keyframes sol-dot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.sol-panel-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: stretch;
}

.sol-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  background: rgba(4, 8, 16, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.1);
  min-height: 280px;
  overflow: hidden;
}

.sol-core-orb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(103, 232, 249, 0.35), transparent 42%),
    linear-gradient(145deg, rgba(59, 130, 246, 0.45), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(103, 232, 249, 0.4);
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.35);
  margin-bottom: 12px;
}

.sol-core-orb::before,
.sol-core-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 249, 0.18);
  inset: -12px;
  animation: sol-ring 6s linear infinite;
}

.sol-core-orb::after {
  inset: -22px;
  border-style: dashed;
  border-color: rgba(59, 130, 246, 0.2);
  animation-duration: 10s;
  animation-direction: reverse;
}

@keyframes sol-ring {
  to { transform: rotate(360deg); }
}

.sol-core-orb svg {
  width: 28px;
  height: 28px;
  stroke: #67e8f9;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.sol-core-title {
  font-family: var(--display, "Cabin", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 9em;
}

.sol-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.sol-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(6, 10, 20, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  opacity: 0;
  animation: sol-fade 0.5s forwards;
}

.sol-item:nth-child(1) { animation-delay: 0.05s; }
.sol-item:nth-child(2) { animation-delay: 0.1s; }
.sol-item:nth-child(3) { animation-delay: 0.15s; }
.sol-item:nth-child(4) { animation-delay: 0.2s; }
.sol-item:nth-child(5) { animation-delay: 0.25s; }
.sol-item:nth-child(6) { animation-delay: 0.3s; }
.sol-item:nth-child(7) { animation-delay: 0.35s; }

@keyframes sol-fade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

.sol-item:hover,
.sol-item:focus-visible {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateX(3px);
  outline: none;
}

.sol-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #67e8f9;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(103, 232, 249, 0.18);
  transition: 0.25s ease;
}

.sol-item:hover .sol-item-icon {
  background: rgba(103, 232, 249, 0.16);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.2);
}

.sol-item-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sol-item-body {
  flex: 1;
  min-width: 0;
}

.sol-item-body strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sol-item-body span {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sol-item-go {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #67e8f9;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sol-item:hover .sol-item-go {
  opacity: 1;
  transform: translateX(2px);
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-sol-content {
    width: 48%;
    max-width: 50%;
  }

  .hero-sol-visual {
    width: min(440px, 50%);
  }

  .sol-panel-body {
    grid-template-columns: 96px 1fr;
    gap: 10px;
  }

  .sol-core {
    min-height: 260px;
  }

  .sol-item-body span {
    display: none;
  }

  .sol-item {
    padding: 8px 10px;
  }
}

@media (max-width: 900px) {
  .hero-sol {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
  }

  .hero-sol-content {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    order: 1;
  }

  .hero-sol-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    order: 2;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sol-panel-body {
    grid-template-columns: 1fr;
  }

  .sol-core {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
  }

  .sol-core-orb {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
  }

  .sol-core-orb svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sol-live i,
  .sol-core-orb::before,
  .sol-core-orb::after,
  .sol-item {
    animation: none !important;
  }

  .sol-item {
    opacity: 1;
  }
}
