.smart-campus-showcase {
  background: #06183a;
  margin-bottom: 24px;
}

.smart-campus-frame {
  height: 100%;
  position: relative;
}

.smart-campus-frame::after {
  background: linear-gradient(180deg, transparent 52%, rgba(3, 19, 46, 0.28));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.smart-campus-overlays {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.campus-badge {
  align-items: center;
  background: rgba(6, 24, 58, 0.92);
  border: 1px solid rgba(49, 215, 255, 0.72);
  border-radius: 999px;
  box-shadow:
    0 10px 28px rgba(3, 19, 46, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  color: #fff;
  display: inline-flex;
  font-size: clamp(0.62rem, 0.9vw, 0.82rem);
  font-weight: 850;
  gap: 8px;
  letter-spacing: 0.015em;
  line-height: 1.15;
  padding: 9px 13px;
  position: absolute;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.campus-badge::before {
  background: #31d7ff;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(49, 215, 255, 0.95);
  content: "";
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.campus-badge-attendance {
  left: 44%;
  top: 48%;
}

.campus-badge-classroom {
  left: 56%;
  top: 18%;
}

.campus-badge-key {
  left: 78%;
  top: 80%;
}

.smart-campus-module-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 76px;
  max-width: 1216px;
  padding: 0 18px;
}

.smart-campus-module-strip span {
  background: #fffefa;
  border: 1px solid rgba(7, 26, 61, 0.14);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(7, 26, 61, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 88px;
  padding: 16px 18px;
}

.smart-campus-module-strip strong {
  color: #071a3d;
  font-size: 0.86rem;
  line-height: 1.25;
}

.smart-campus-module-strip small {
  color: #4c5b70;
  font-size: 0.7rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .campus-badge {
    font-size: 0.68rem;
    padding: 7px 10px;
  }

  .smart-campus-module-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 62px;
  }
}

@media (max-width: 640px) {
  .smart-campus-overlays {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inset: 10px;
  }

  .campus-badge {
    justify-content: center;
    min-width: 0;
    padding: 7px 8px;
    position: static;
    text-align: center;
    transform: none;
    white-space: normal;
  }

  .smart-campus-module-strip {
    grid-template-columns: 1fr;
    margin-bottom: 54px;
    padding: 0 14px;
  }
}
