/* ============================================================
   eb5immigration.co.za — Hub Page Styles
   ============================================================ */

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { background: var(--color-bg-alt); padding: 0.75rem 1.5rem; font-size: 0.85rem; }
.breadcrumb ol { max-width: var(--max-width); margin: 0 auto; display: flex; gap: 0.5rem; list-style: none; }
.breadcrumb li + li::before { content: "›"; color: var(--color-text-muted); }
.breadcrumb a { color: var(--color-accent); }

/* ── Hub Hero ──────────────────────────────────────────────── */
.hub-hero { background: linear-gradient(135deg, var(--color-primary) 0%, #1e3a8a 60%, #1e6091 100%); color: white; padding: 5rem 1.5rem; text-align: center; max-width: 100%; }
.hub-hero h1 { color: white; }
.hub-hero .highlight { color: var(--color-secondary); }
.hub-badge { display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); font-size: 0.75rem; padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.2); }
.gold-badge { background: rgba(201,168,76,0.2); color: var(--color-secondary); border-color: var(--color-secondary); }
.hub-description { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 680px; margin: 0 auto 2rem; }
.hub-stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.stat { text-align: center; }
.stat-value { display: block; font-size: 1.75rem; font-weight: 700; color: var(--color-secondary); font-family: var(--font-heading); }
.stat-label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.status-banner { background: rgba(201,168,76,0.15); border: 1px solid var(--color-secondary); border-radius: var(--radius); padding: 1rem 1.5rem; max-width: 680px; margin: 0 auto 2rem; font-size: 0.9rem; color: rgba(255,255,255,0.9); text-align: left; }

/* ── Content Grid ──────────────────────────────────────────── */
.content-section { max-width: var(--max-width); margin: 0 auto; padding: 4rem 1.5rem; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.content-main h2 { margin-top: 2rem; }
.content-main h2:first-child { margin-top: 0; }
.content-list { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.content-list li { margin-bottom: 0.75rem; color: var(--color-text-muted); }
.content-list strong { color: var(--color-text); }

/* ── Sidebar ───────────────────────────────────────────────── */
.hub-sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--color-bg-alt); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--color-border); }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.sidebar-widget p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.cta-widget { background: var(--color-primary); border-color: var(--color-primary); }
.cta-widget h3 { color: white; }
.cta-widget p { color: rgba(255,255,255,0.8); }
.gold-widget { background: linear-gradient(135deg, #1a1a2e, #0a2463); border-color: var(--color-secondary); }
.gold-widget h3 { color: var(--color-secondary); }
.gold-widget p { color: rgba(255,255,255,0.8); }
.spoke-links li { margin-bottom: 0.5rem; }
.spoke-links a { font-size: 0.9rem; color: var(--color-accent); font-weight: 500; }
.spoke-links a:hover { color: var(--color-primary); }

/* ── Comparison Table ──────────────────────────────────────── */
.comparison-table-wrapper { overflow-x: auto; margin: 1.5rem 0; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th { background: var(--color-primary); color: white; padding: 0.75rem 1rem; text-align: left; }
.comparison-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--color-border); }
.comparison-table tr:nth-child(even) td { background: var(--color-bg-alt); }

/* ── SA Specific Section ───────────────────────────────────── */
.sa-specific-section { background: var(--color-bg-alt); max-width: 100%; padding: 4rem 1.5rem; }
.sa-specific-section h2 { max-width: var(--max-width); margin: 0 auto 1rem; }
.sa-specific-section > p { max-width: var(--max-width); margin: 0 auto 2rem; }
.sarb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.sarb-card { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 3px solid var(--color-secondary); }
.sarb-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.sarb-note { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.75rem; font-style: italic; }

/* ── Process Steps ─────────────────────────────────────────── */
.process-section { max-width: var(--max-width); margin: 0 auto; padding: 4rem 1.5rem; }
.process-steps { margin-top: 2rem; }
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.process-step:last-child { border-bottom: none; }
.step-number { flex-shrink: 0; width: 48px; height: 48px; background: var(--color-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.step-content h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.step-content p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0.25rem; }
.step-time { font-size: 0.8rem; color: var(--color-secondary); font-weight: 600; }

/* ── CTA Actions ───────────────────────────────────────────── */
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .hub-sidebar { position: static; }
}
@media (max-width: 600px) {
  .hub-stats { gap: 1rem; }
  .process-step { flex-direction: column; }
}
