/* Solutions Hub — Luxury Dark & Gold theme */

.solutions-body {
  background: var(--bg-page, #090a0f);
}

.sh-page {
  --sh-bg: #090a0f;
  --sh-panel: #11131c;
  --sh-panel-2: #161928;
  --sh-line: rgba(255, 255, 255, 0.08);
  --sh-muted: #9ba0b4;
  --sh-text: #f4f5f8;
  --sh-primary: #b88628;
  --sh-primary-2: #c99b3b;
  color: var(--sh-text);
  background: var(--sh-bg);
}

.sh-page a { color: inherit; }

/* —— Hero —— */
.sh-hero {
  padding: 56px 0 28px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(184, 134, 40, 0.16), transparent 60%),
    radial-gradient(700px 360px at 90% 20%, rgba(201, 155, 59, 0.12), transparent 55%),
    var(--sh-bg);
  border-bottom: 1px solid var(--sh-line);
}

.sh-hero-inner {
  max-width: 820px;
}

.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(184, 134, 40, 0.18);
  color: var(--sh-primary-2);
  border: 1px solid var(--gold-border, rgba(184, 134, 40, 0.25));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sh-badge svg {
  width: 15px;
  height: 15px;
}

.sh-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  font-weight: 900;
}

.sh-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--sh-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* —— Filters —— */
.sh-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 28px;
  padding: 14px;
  border-radius: 18px;
  background: #11131c;
  border: 1px solid var(--gold-border, rgba(184, 134, 40, 0.25));
  box-shadow: var(--shadow-sm);
}

.sh-filter {
  appearance: none;
  border: 1px solid var(--sh-line);
  background: #161928;
  color: var(--sh-muted);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sh-filter-ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: inherit;
}

.sh-filter-ico svg {
  width: 16px;
  height: 16px;
}

.sh-filter:hover {
  border-color: var(--gold-border);
  background: #1c2033;
  color: var(--sh-primary-2);
}

.sh-filter.is-active {
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-2));
  border-color: transparent;
  color: #000;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(184, 134, 40, 0.25);
}

/* —— Cards —— */
.sh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.sh-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
  border-radius: 20px;
  background: var(--sh-panel);
  border: 1px solid var(--sh-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sh-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 34px rgba(184, 134, 40, 0.15);
}

.sh-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(31, 157, 85, 0.18);
  color: #2bd47d;
  border: 1px solid rgba(43, 212, 125, 0.3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sh-card-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.sh-card-ico svg {
  width: 24px;
  height: 24px;
}

.sh-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.sh-card p {
  margin: 0;
  color: var(--sh-muted);
  font-size: 14px;
  line-height: 1.55;
  min-height: 66px;
}

.sh-card-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--sh-primary-2) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sh-card-link:hover {
  text-decoration: underline;
}

/* —— Sections —— */
.sh-section {
  margin-bottom: 48px;
}

.sh-section-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 900;
}

.sh-workflow {
  list-style: none;
  margin: 0;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 20px;
  background: #11131c;
  border: 1px solid var(--sh-line);
  box-shadow: var(--shadow-sm);
}

.sh-workflow li {
  position: relative;
  flex: 1 1 140px;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 12px 28px 12px 12px;
  min-width: 0;
}

.sh-workflow-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-2));
  color: #000;
  font-size: 13px;
  font-weight: 900;
}

.sh-workflow strong {
  font-size: 14px;
  line-height: 1.35;
  color: #ffffff;
}

.sh-workflow-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-primary-2);
  font-size: 18px;
  opacity: 0.7;
}

.sh-portals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sh-portal {
  padding: 12px;
  border-radius: 18px;
  background: #11131c;
  border: 1px solid var(--sh-line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sh-portal:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.sh-portal-media {
  position: relative;
  height: 132px;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #181b2a;
  border: 1px solid var(--sh-line);
}

.sh-portal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 10, 15, 0.6));
  pointer-events: none;
}

.sh-portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sh-portal h3 {
  margin: 0 4px 4px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.sh-portal p {
  margin: 0 4px 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--sh-muted);
}

/* —— Highlights —— */
.sh-highlights {
  padding: 28px 0;
  background: #0c0e15;
  border-top: 1px solid var(--sh-line);
  border-bottom: 1px solid var(--sh-line);
}

.sh-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sh-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sh-highlight-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #161928;
  color: var(--sh-primary-2);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}

.sh-highlight-ico svg {
  width: 20px;
  height: 20px;
}

.sh-highlight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.sh-highlight span {
  font-size: 13px;
  color: var(--sh-muted);
  line-height: 1.45;
}

/* —— CTA —— */
.sh-cta-wrap {
  padding: 36px 0 28px;
  background: transparent;
}

.sh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 20px;
  background:
    radial-gradient(420px 160px at 0% 50%, rgba(184, 134, 40, 0.15), transparent 60%),
    linear-gradient(180deg, #11131c, #161928);
  border: 1px solid var(--gold-border, rgba(184, 134, 40, 0.25));
  box-shadow: var(--shadow);
}

.sh-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 900;
}

.sh-cta p {
  margin: 0;
  color: var(--sh-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 520px;
}

.sh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.sh-cta-outline {
  border: 1px solid var(--gold-border);
  color: #ffffff !important;
  background: #11131c;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.sh-cta-outline:hover {
  background: #1c2033;
  color: var(--sh-primary-2) !important;
}

.sh-cta-solid {
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-2));
  color: #000;
  font-weight: 800;
  border: 0;
  box-shadow: 0 8px 18px rgba(184, 134, 40, 0.25);
}

/* —— Owner tools —— */
.sh-tools {
  padding: 48px 0 80px;
  background: transparent;
  color: var(--sh-text);
}

.sh-tools-head h2 {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
  .sh-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sh-portals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sh-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .sh-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .sh-cta-actions {
    width: 100%;
  }

  .sh-cta-actions .btn,
  .sh-cta-outline,
  .sh-cta-solid {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .sh-cards,
  .sh-portals,
  .sh-highlights-grid {
    grid-template-columns: 1fr;
  }

  .sh-workflow {
    flex-direction: column;
  }

  .sh-workflow li {
    padding-right: 12px;
  }

  .sh-workflow-arrow {
    display: none;
  }
}
