/* ============================================================
   WebGrowPrime Business Segments — advanced public showcase
   ============================================================ */

.wgps {
  position: relative;
  padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 84px);
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(8, 145, 178, .12), transparent 60%),
    radial-gradient(900px 420px at 92% 8%, rgba(139, 92, 246, .12), transparent 62%),
    linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.wgps__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
}
.wgps__orb--1 { width: 320px; height: 320px; top: -80px; left: -70px; background: rgba(8, 145, 178, .35); }
.wgps__orb--2 { width: 300px; height: 300px; bottom: -90px; right: -60px; background: rgba(233, 70, 232, .28); }

.wgps__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 10, 51, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 10, 51, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
  opacity: .7;
}
[data-theme="dark"] .wgps__grid-lines {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

/* ---------- live dot inside section badge ---------- */
.wgps__live {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16b364;
  flex: 0 0 8px;
  box-shadow: 0 0 0 0 rgba(22, 179, 100, .55);
  animation: wgps-live-pulse 2s ease-out infinite;
}
@keyframes wgps-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 179, 100, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(22, 179, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 179, 100, 0); }
}

/* ---------- head ---------- */
.wgps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  position: relative;
  z-index: 2;
}
.wgps__head .section-title { margin: 12px 0 10px; }
.wgps__head .section-desc { max-width: 640px; margin: 0; }

.wgps__head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.wgps__head-actions .btn-primary svg,
.wgps__head-actions .btn-outline svg { width: 16px; height: 16px; }

.wgps__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.wgps__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.wgps__pill i { color: var(--neon-cyan); font-size: 15px; }
.wgps__pill strong {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
}
.wgps__pill--live {
  border-color: rgba(22, 179, 100, .35);
  background: rgba(22, 179, 100, .08);
}
.wgps__pill--live i { color: #16b364; }

/* ---------- toolbar ---------- */
.wgps__tools {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 20px);
  background: var(--card-bg);
  background: color-mix(in srgb, var(--card-bg) 86%, transparent);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.wgps__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  min-width: 200px;
  padding: 0 14px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--surface-bg);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.wgps__search:focus-within {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, .12);
}
.wgps__search > i { color: var(--text-muted); font-size: 15px; flex: 0 0 auto; }
.wgps__search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.wgps__search input::placeholder { color: var(--text-muted); }
.wgps__search input::-webkit-search-cancel-button { display: none; }
.wgps__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth, all .25s ease);
}
.wgps__clear:hover { background: var(--brand-gradient); color: #04122c; border-color: transparent; }
.wgps__clear[hidden] { display: none; }

.wgps__views {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--surface-bg);
}
.wgps-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-view i { font-size: 14px; }
.wgps-view:hover { color: var(--text-primary); }
.wgps-view.is-active {
  background: var(--brand-gradient);
  color: #04122c;
  box-shadow: 0 6px 16px -8px rgba(139, 92, 246, .7);
}
.wgps-view:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

.wgps__result {
  margin: 0 0 0 auto;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.wgps__result strong { color: var(--neon-cyan); font-weight: 800; }

/* ---------- slider shell ---------- */
.wgps__slider {
  position: relative;
  z-index: 2;
  --wgps-pad: max(16px, calc((100vw - 1240px) / 2));
}
.wgps__track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 6px var(--wgps-pad) 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}
.wgps__track::-webkit-scrollbar { display: none; }
.wgps__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.wgps__track.is-dragging .wgps-card { pointer-events: none; }

.wgps__fade {
  position: absolute;
  top: 0;
  bottom: 18px;
  width: clamp(40px, 6vw, 120px);
  pointer-events: none;
  z-index: 3;
}
.wgps__fade--l { left: 0; background: linear-gradient(90deg, var(--primary-bg), transparent); }
.wgps__fade--r { right: 0; background: linear-gradient(270deg, var(--primary-bg), transparent); }

/* ---------- empty state ---------- */
.wgps__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 6px var(--wgps-pad) 0;
  padding: 34px 22px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg, 20px);
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 14.5px;
  text-align: center;
}
.wgps__empty[hidden] { display: none; }
.wgps__empty i { font-size: 26px; color: var(--neon-cyan); }
.wgps__empty em { color: var(--text-primary); font-style: normal; font-weight: 700; }

/* ---------- card ---------- */
.wgps-card {
  position: relative;
  flex: 0 0 clamp(250px, 26vw, 320px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), border-color .3s ease, box-shadow .3s ease;
}
.wgps-card.is-hidden { display: none; }

/* animated gradient ring */
.wgps-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(130deg, #E946E8, #8B5CF6 45%, #00D9FF 90%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
/* corner glow */
.wgps-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, .18), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.wgps-card__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(8, 145, 178, .16), transparent 66%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.wgps-card__shine {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 45%;
  height: 190%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg) translateX(-140%);
  opacity: 0;
  pointer-events: none;
}
[data-theme="dark"] .wgps-card__shine {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
}

.wgps-card:hover,
.wgps-card:focus-within {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg, 0 18px 40px -18px rgba(12, 10, 51, .35));
}
.wgps-card:hover::before,
.wgps-card:focus-within::before {
  opacity: 1;
  animation: wgps-ring 4.5s linear infinite;
}
.wgps-card:hover::after { opacity: 1; }
.wgps-card:hover .wgps-card__spot,
.wgps-card:focus-within .wgps-card__spot { opacity: 1; }
.wgps-card:hover .wgps-card__shine { animation: wgps-shine .95s ease; }

@keyframes wgps-ring {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes wgps-shine {
  0%   { opacity: 0; transform: skewX(-18deg) translateX(-140%); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: skewX(-18deg) translateX(560%); }
}

.wgps-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wgps-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-gradient);
  color: #05102b;
  font-size: 21px;
  box-shadow: 0 8px 18px -8px rgba(139, 92, 246, .65);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.wgps-card:hover .wgps-card__icon { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
.wgps-card__idx {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-muted);
  opacity: .75;
}
.wgps-card__title {
  margin: 2px 0 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.wgps-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.wgps-card__list {
  list-style: none;
  margin: 2px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wgps-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.wgps-card__list li i { color: var(--neon-cyan); font-size: 14px; flex: 0 0 auto; }

.wgps-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 2px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border-color);
  background: transparent;
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-card__more svg { width: 13px; height: 13px; transition: transform .25s ease; }
.wgps-card__more:hover {
  border-style: solid;
  border-color: transparent;
  background: var(--brand-gradient);
  color: #04122c;
  box-shadow: 0 8px 18px -10px rgba(233, 70, 232, .7);
}
.wgps-card__more:hover svg { transform: translateX(3px); }
.wgps-card__more:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

.wgps-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wgps-card__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 145, 178, .1);
  border: 1px solid rgba(8, 145, 178, .25);
  color: var(--neon-cyan);
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-heading);
  white-space: nowrap;
}
.wgps-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--surface-bg);
  transition: var(--transition-smooth, all .25s ease);
  white-space: nowrap;
}
.wgps-card__cta svg { width: 15px; height: 15px; transition: transform .25s ease; }
.wgps-card__cta:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #04122c;
  box-shadow: 0 8px 18px -10px rgba(233, 70, 232, .7);
}
.wgps-card__cta:hover svg { transform: translateX(3px); }

/* ---------- grid view ---------- */
.wgps.is-grid .wgps__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 20px;
  overflow: visible;
  cursor: default;
  padding-bottom: 6px;
}
.wgps.is-grid .wgps-card { flex: initial; min-width: 0; }
.wgps.is-grid .wgps__fade { display: none; }
.wgps.is-grid .wgps__bar { display: none; }

/* ---------- controls ---------- */
.wgps__bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.wgps__ctrls { display: flex; align-items: center; gap: 9px; }
.wgps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-btn svg { width: 17px; height: 17px; }
.wgps-btn i { font-size: 16px; }
.wgps-btn:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #04122c;
  transform: translateY(-2px);
}
.wgps-btn:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

/* ---------- dots ---------- */
.wgps__dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  max-width: 100%;
}
.wgps-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-dot:hover { background: var(--neon-cyan); transform: scale(1.25); }
.wgps-dot.is-active {
  width: 26px;
  background: var(--brand-gradient);
  box-shadow: 0 4px 12px -4px rgba(139, 92, 246, .7);
}
.wgps-dot:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

.wgps__progress {
  position: relative;
  flex: 1 1 180px;
  height: 6px;
  min-width: 120px;
  border-radius: 999px;
  background: rgba(12, 10, 51, .09);
  overflow: hidden;
}
.wgps__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 12%;
  border-radius: 999px;
  background: var(--brand-gradient);
  transition: width .12s linear;
}

/* ---------- services ticker ---------- */
.wgps__ticker {
  position: relative;
  z-index: 2;
  margin-top: clamp(26px, 3vw, 38px);
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, .6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
[data-theme="dark"] .wgps__ticker { background: rgba(11, 27, 56, .6); }
.wgps__ticker-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: wgps-ticker-scroll var(--wgps-ticker-duration, 70s) linear infinite;
}
.wgps__ticker:hover .wgps__ticker-track { animation-play-state: paused; }
.wgps-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.wgps-chip i { color: var(--neon-cyan); font-size: 13px; }
.wgps-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex: 0 0 auto;
}

@keyframes wgps-ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- modal ---------- */
.wgps-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 32px);
}
.wgps-modal[hidden] { display: none; }
.wgps-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 28, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: wgps-modal-fade .25s ease both;
}
.wgps-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  background: var(--card-bg-solid, var(--card-bg));
  box-shadow: 0 30px 70px -24px rgba(6, 8, 28, .55);
  animation: wgps-modal-pop .3s cubic-bezier(.2, .9, .3, 1.2) both;
}
.wgps-modal__dialog:focus { outline: none; }
.wgps-modal__x {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--surface-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth, all .25s ease);
}
.wgps-modal__x:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #04122c;
  transform: rotate(90deg);
}
.wgps-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 44px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border-color);
  flex-wrap: wrap;
}
.wgps-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  background: var(--brand-gradient);
  color: #05102b;
  font-size: 25px;
  box-shadow: 0 10px 22px -10px rgba(139, 92, 246, .7);
}
.wgps-modal__intro { flex: 1 1 240px; min-width: 0; }
.wgps-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}
.wgps-modal__title {
  margin: 6px 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}
.wgps-modal__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.wgps-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(8, 145, 178, .1);
  border: 1px solid rgba(8, 145, 178, .28);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.wgps-modal__body { padding-top: 18px; }
.wgps-modal__subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}
.wgps-modal__subtitle i { color: var(--neon-cyan); }
.wgps-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 9px;
}
.wgps-modal__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  background: var(--surface-bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.wgps-modal__list li:hover {
  background: rgba(8, 145, 178, .07);
  border-color: var(--border-hover);
  transform: translateX(3px);
}
.wgps-modal__list li i { color: #16b364; font-size: 14px; flex: 0 0 auto; }
.wgps-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-color);
}
.wgps-modal__foot .btn-primary svg { width: 16px; height: 16px; }

@keyframes wgps-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wgps-modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

body.wgps-modal-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .wgps__head { flex-direction: column; align-items: flex-start; }
  .wgps-card { flex-basis: clamp(240px, 66vw, 300px); }
  .wgps__result { margin-left: 0; }
}
@media (max-width: 575px) {
  .wgps__slider { --wgps-pad: 14px; }
  .wgps__track { gap: 14px; padding-bottom: 14px; }

  /* mobile — chhota card (84vw se ghataya) + compact spacing */
  .wgps-card {
    flex-basis: min(74vw, 290px);
    gap: 9px;
    padding: 17px 15px 15px;
    border-radius: 16px;
  }
  .wgps-card__icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  .wgps-card__idx { font-size: 11px; }
  .wgps-card__title { font-size: 15.5px; }
  .wgps-card__desc { font-size: 12.5px; line-height: 1.55; }
  .wgps-card__list { gap: 6px; padding-top: 10px; }
  .wgps-card__list li { font-size: 12.5px; gap: 7px; }
  .wgps-card__more { padding: 6px 10px; font-size: 12px; gap: 6px; }
  .wgps-card__foot { padding-top: 12px; gap: 8px; }
  .wgps-card__count { padding: 5px 9px; font-size: 11px; gap: 5px; }
  .wgps-card__cta { padding: 7px 12px; font-size: 12px; gap: 6px; }
  .wgps-card__cta svg { width: 13px; height: 13px; }

  .wgps-btn { width: 38px; height: 38px; }
  .wgps__tools { padding: 12px; gap: 10px; }
  .wgps__views { width: 100%; }
  .wgps-view { flex: 1 1 auto; justify-content: center; }
  .wgps__result { width: 100%; text-align: center; }
  .wgps__head-actions { width: 100%; }
  .wgps__head-actions .btn-primary,
  .wgps__head-actions .btn-outline { flex: 1 1 auto; justify-content: center; }
  .wgps.is-grid .wgps__track {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .wgps-modal__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .wgps__ticker-track { animation: none; }
  .wgps-card { transition: none; }
  .wgps-card::before { animation: none !important; }
  .wgps-card__shine { display: none; }
  .wgps__live { animation: none; }
  .wgps-modal__dialog,
  .wgps-modal__backdrop { animation: none; }
  .wgpall-card { transition: none; }
  .wgpall-card__list li { transition: none; }
}


/* ============================================================
   Business Segments page — full segment grid (segments.php)
   ============================================================ */
.wgpall {
  position: relative;
  background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
  scroll-margin-top: 96px;
}
.wgpall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.wgpall-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), border-color .3s ease, box-shadow .3s ease;
}
.wgpall-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: .85;
}
.wgpall-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 70, 232, .2), rgba(8, 145, 178, .12) 45%, transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.wgpall-card:hover,
.wgpall-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg, 0 18px 40px -18px rgba(12, 10, 51, .35));
}
.wgpall-card:hover::after { opacity: 1; }
.wgpall-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wgpall-card__title {
  margin: 2px 0 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.wgpall-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.wgpall-card__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 15px 2px 2px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wgpall-card__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 8px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
  transition: background .25s ease, transform .25s ease;
}
.wgpall-card__list li:hover { background: rgba(8, 145, 178, .07); transform: translateX(3px); }
.wgpall-card__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 9px;
  background: var(--brand-gradient);
  color: #04122c;
  box-shadow: 0 6px 14px -8px rgba(139, 92, 246, .7);
}
.wgpall-card__tick svg { width: 13px; height: 13px; display: block; }
.wgpall-card__list li.is-more {
  margin-top: 2px;
  padding-left: 44px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neon-cyan);
}
.wgpall-card__list li.is-more:hover { background: none; transform: none; }
.wgpall-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 575px) {
  .wgpall__grid { grid-template-columns: 1fr; }
}

.wgps-card, .wgpall-card { scroll-margin-top: 112px; }
