/* Service hub — on-demand umbrella page (modern icons & layout) */

.service-hub-page {
  background: var(--bg);
}

.service-hub-shell {
  padding-bottom: 0;
}

.service-hub-breadcrumb {
  max-width: min(100% - 40px, var(--max));
  margin: 16px auto 0;
  padding: 0 4px;
}

.service-hub-hero {
  padding: 32px 0 48px;
  background: linear-gradient(145deg, #0891b2 0%, #0041C4 52%, #005DFF 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.service-hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(255, 195, 23, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.service-hub-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.service-hub-hero-badge {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  margin-bottom: 18px;
}

.service-hub-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.service-hub-eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--blue-dark);
  background: var(--yellow);
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 16px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.service-hub-hero h1,
.service-hub-title {
  display: block;
  width: 100%;
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 16px;
  padding: 0;
  clear: both;
  position: relative;
  z-index: 1;
}

.service-hub-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 520px;
  margin-bottom: 24px;
}

.service-hub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.service-hub-hero-note {
  font-size: 14px;
  opacity: 0.75;
}

.service-hub-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 22px 20px;
  backdrop-filter: blur(10px);
}

.service-hub-hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
}

.service-hub-hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.service-hub-hero-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}

.service-hub-hero-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  line-height: 1.3;
}

.service-hub-mini-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.service-hub-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  padding: 14px 20px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.service-hub-strip-icon {
  font-size: 1.1rem;
}

.service-hub-grid-section {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 40%, var(--bg) 100%);
}

.service-hub-section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.service-hub-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 93, 255, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.service-hub-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.service-hub-section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.service-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--hub-accent, linear-gradient(90deg, #005DFF, #2563eb));
  opacity: 0.85;
}

.service-hub-card:hover {
  border-color: rgba(0, 93, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 93, 255, 0.12);
  transform: translateY(-4px);
  color: var(--blue-dark);
}

.service-hub-card-icon-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hub-icon-bg, linear-gradient(145deg, #dbeafe, #93c5fd));
  box-shadow: 0 8px 20px rgba(0, 65, 196, 0.12);
}

.service-hub-card-icon-wrap img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.service-hub-card-emoji {
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 65, 196, 0.1));
}

.service-hub-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.service-hub-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.service-hub-card-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px;
}

.service-hub-download {
  padding: 56px 0 72px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.service-hub-download-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #dbeafe, #93c5fd);
  box-shadow: 0 8px 24px rgba(0, 93, 255, 0.15);
  margin-bottom: 16px;
}

.service-hub-download h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--blue-dark);
}

.service-hub-download p {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Per-service accent (icon tile + top bar) */
.hub-accent--gold { --hub-accent: linear-gradient(90deg, #FFD85A, var(--yellow-dark)); --hub-icon-bg: linear-gradient(145deg, #fef3c7, var(--yellow)); }
.hub-accent--blue { --hub-accent: linear-gradient(90deg, #005DFF, #2563eb); --hub-icon-bg: linear-gradient(145deg, #dbeafe, #93c5fd); }
.hub-accent--teal { --hub-accent: linear-gradient(90deg, #0891b2, #22d3ee); --hub-icon-bg: linear-gradient(145deg, #cffafe, #67e8f9); }
.hub-accent--cyan { --hub-accent: linear-gradient(90deg, #06b6d4, #67e8f8); --hub-icon-bg: linear-gradient(145deg, #cffafe, #a5f3fc); }
.hub-accent--orange { --hub-accent: linear-gradient(90deg, #ea580c, #fb923c); --hub-icon-bg: linear-gradient(145deg, #ffedd5, #fdba74); }
.hub-accent--green { --hub-accent: linear-gradient(90deg, #16a34a, #4ade80); --hub-icon-bg: linear-gradient(145deg, #dcfce7, #86efac); }
.hub-accent--red { --hub-accent: linear-gradient(90deg, #dc2626, #f87171); --hub-icon-bg: linear-gradient(145deg, #fee2e2, #fca5a5); }
.hub-accent--purple { --hub-accent: linear-gradient(90deg, #7c3aed, #a78bfa); --hub-icon-bg: linear-gradient(145deg, #ede9fe, #c4b5fd); }
.hub-accent--pink { --hub-accent: linear-gradient(90deg, #db2777, #f472b6); --hub-icon-bg: linear-gradient(145deg, #fce7f3, #f9a8d4); }
.hub-accent--rose { --hub-accent: linear-gradient(90deg, #e11d48, #fb7185); --hub-icon-bg: linear-gradient(145deg, #ffe4e6, #fda4af); }
.hub-accent--emerald { --hub-accent: linear-gradient(90deg, #059669, #34d399); --hub-icon-bg: linear-gradient(145deg, #d1fae5, #6ee7b7); }
.hub-accent--amber { --hub-accent: linear-gradient(90deg, #d97706, #FFD85A); --hub-icon-bg: linear-gradient(145deg, #fef3c7, #fde68a); }
.hub-accent--sky { --hub-accent: linear-gradient(90deg, #0284c7, #38bdf8); --hub-icon-bg: linear-gradient(145deg, #e0f2fe, #7dd3fc); }
.hub-accent--indigo { --hub-accent: linear-gradient(90deg, #4f46e5, #818cf8); --hub-icon-bg: linear-gradient(145deg, #e0e7ff, #a5b4fc); }

@media (max-width: 1024px) {
  .service-hub-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-hub-hero-card {
    order: 2;
    max-width: 720px;
    margin-inline: auto;
    width: 100%;
  }

  .service-hub-hero-copy {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    align-items: center;
  }

  .service-hub-eyebrow {
    margin-inline: auto;
    margin-bottom: 18px;
  }

  .service-hub-hero h1,
  .service-hub-title {
    text-align: center;
    margin-bottom: 18px;
  }

  .service-hub-hero-badge {
    margin-inline: auto;
  }

  .service-hub-hero-lead {
    margin-inline: auto;
  }

  .service-hub-hero-actions {
    justify-content: center;
  }

  .service-hub-hero-card-head {
    justify-content: center;
  }

  .service-hub-hero-card li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .service-hub-mini-icon {
    margin-inline: auto;
  }

  .service-hub-section-head {
    text-align: center;
    margin-inline: auto;
  }

  .service-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 680px);
    margin-inline: auto;
  }

  .service-hub-card {
    align-items: center;
    text-align: center;
  }

  .service-hub-card-icon-wrap {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .service-hub-hero {
    padding: 24px 0 36px;
  }

  .service-hub-hero-card ul {
    grid-template-columns: 1fr;
    max-height: 220px;
  }

  .service-hub-grid {
    grid-template-columns: 1fr;
  }

  .service-hub-card {
    padding: 20px 18px;
  }

  .service-hub-breadcrumb {
    font-size: 13px;
  }
}
