/* Shanghai Fair Hub — premium home */

:root {
  --hub-navy: #0b1220;
  --hub-navy-2: #152238;
  --hub-blue: #0072ff;
  --hub-blue-light: #38bdf8;
  --hub-gold: #f59e0b;
  --hub-text: #0f172a;
  --hub-muted: #64748b;
  --hub-border: #e2e8f0;
  --hub-wa: #25d366;
  --hub-radius: 20px;
  --hub-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --hub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.hub-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--hub-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Keep hub layout when fair-layout.css is loaded for the shared footer */
body.hub-page .hub-topbar,
body.hub-page .hub-nav,
body.hub-page .hub-hero,
body.hub-page .hub-main,
body.hub-page .hub-cta {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Top strip */
.hub-topbar {
  background: var(--hub-navy);
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 8px 5%;
  text-align: center;
}
.hub-topbar a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.hub-topbar a:hover { color: #fff; }
.hub-topbar .sep { margin: 0 10px; opacity: 0.4; }

/* Nav */
.hub-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hub-nav.is-scrolled {
  border-color: var(--hub-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.hub-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hub-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hub-text);
}
.hub-nav__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hub-blue), #6366f1);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(0, 114, 255, 0.35);
}
.hub-nav__title { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.hub-nav__title span { display: block; font-size: 0.7rem; font-weight: 600; color: var(--hub-muted); }

.hub-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hub-nav__links a {
  text-decoration: none;
  color: var(--hub-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
}
.hub-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--hub-blue);
  transition: width 0.3s var(--hub-ease);
}
.hub-nav__links a:hover { color: var(--hub-text); }
.hub-nav__links a:hover::after { width: 100%; }

.hub-nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hub-btn--primary {
  background: linear-gradient(135deg, var(--hub-blue), #2563eb);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 114, 255, 0.35);
}
.hub-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 114, 255, 0.45);
}
.hub-btn--ghost {
  border: 1px solid var(--hub-border);
  color: var(--hub-text);
  background: #fff;
}
.hub-btn--ghost:hover { border-color: var(--hub-blue); color: var(--hub-blue); }
.hub-btn--wa { background: var(--hub-wa); color: #fff; }
.hub-btn--wa:hover { transform: translateY(-2px); }

.hub-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--hub-text);
  cursor: pointer;
  padding: 8px;
}

/* Hero */
.hub-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hub-navy);
}
.hub-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hub-hero__media picture,
.hub-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hub-hero__media img {
  filter: brightness(1.14) contrast(1.06) saturate(1.1);
}
.hub-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.42) 0%, rgba(11, 18, 32, 0.22) 42%, rgba(11, 18, 32, 0.08) 62%, transparent 85%),
    linear-gradient(180deg, transparent 62%, rgba(11, 18, 32, 0.42) 100%);
  pointer-events: none;
}
.hub-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 55% at 18% 45%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(99, 102, 241, 0.08), transparent);
  pointer-events: none;
}
.hub-hero__content {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 5% 80px;
  width: 100%;
}
.hub-hero__content::before {
  content: '';
  position: absolute;
  left: -8%;
  top: -12%;
  right: 28%;
  bottom: -8%;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.72) 0%, rgba(11, 18, 32, 0.45) 55%, transparent 100%);
  pointer-events: none;
}
.hub-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  animation: hub-fade-up 0.8s var(--hub-ease) both;
}
.hub-hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: hub-pulse 2s infinite;
}
.hub-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(0, 114, 255, 0.12);
  animation: hub-fade-up 0.8s var(--hub-ease) 0.1s both;
}
.hub-hero h1 .gradient {
  background: linear-gradient(90deg, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hub-hero__lead {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f1f5f9;
  max-width: 52ch;
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.35);
  animation: hub-fade-up 0.8s var(--hub-ease) 0.2s both;
}
.hub-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: hub-fade-up 0.8s var(--hub-ease) 0.3s both;
}
.hub-hero__stats {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: hub-fade-up 0.8s var(--hub-ease) 0.4s both;
}
.hub-stat b {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hub-stat span {
  font-size: 0.8rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hub-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  vertical-align: -0.12em;
}
.hub-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #64748b;
  font-size: 1.25rem;
  animation: hub-bounce 2s infinite;
  z-index: 2;
}

/* Quick fair chips */
.hub-quick {
  max-width: 1240px;
  margin: -40px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}
.hub-quick__inner {
  background: #fff;
  border-radius: var(--hub-radius);
  box-shadow: var(--hub-shadow);
  border: 1px solid var(--hub-border);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hub-quick a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--hub-muted);
  border: 1px solid var(--hub-border);
  transition: all 0.25s var(--hub-ease);
}
.hub-quick a:hover {
  border-color: var(--hub-blue);
  color: var(--hub-blue);
  background: #eff6ff;
  transform: translateY(-2px);
}

/* Sections */
.hub-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 5%;
}
.hub-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.hub-section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hub-blue);
  margin-bottom: 12px;
}
.hub-section__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hub-section__title span { color: var(--hub-blue); }
.hub-section__desc {
  margin-top: 12px;
  color: var(--hub-muted);
  font-size: 1.05rem;
}

/* Timeline */
.hub-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.hub-timeline__item {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--hub-border);
  transition: transform 0.25s, border-color 0.25s;
}
.hub-timeline__item:hover {
  transform: translateY(-3px);
  border-color: var(--hub-blue);
}
.hub-timeline__month {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hub-blue);
  letter-spacing: 1px;
}
.hub-timeline__fair {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--hub-text);
}

/* Fair cards — 2×2 grid, image on top, uniform crop */
.hub-fairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.hub-fair {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--hub-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--hub-border);
  background: #fff;
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.5s var(--hub-ease),
    box-shadow 0.5s var(--hub-ease),
    border-color 0.3s,
    opacity 0.6s var(--hub-ease);
}
.hub-fair.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hub-fair:hover {
  transform: translateY(-6px);
  box-shadow: var(--hub-shadow);
  border-color: transparent;
}
.hub-fair__img {
  order: -1;
  flex: none;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e2e8f0;
}
.hub-fair__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hub-fair__body {
  flex: 1;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}
/* 7th card: center in bottom row */
.hub-fair:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc((100% - 24px) / 2);
  justify-self: center;
  width: 100%;
}
.hub-fair__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.hub-fair:hover .hub-fair__img::after { opacity: 1; }

.hub-fair__tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.hub-fair__name {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hub-fair__dates {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.hub-fair__venue {
  font-size: 0.85rem;
  color: var(--hub-muted);
  margin-bottom: 16px;
  line-height: 1.45;
}
.hub-fair__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.hub-fair__btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid;
  transition: 0.25s;
}
.hub-fair__btn--primary:hover { color: #fff !important; }
.hub-fair__btn--wa {
  border-color: var(--hub-wa);
  color: var(--hub-wa);
}
.hub-fair__btn--wa:hover { background: var(--hub-wa); color: #fff !important; }

/* Fair themes */
.hub-fair--cmef .hub-fair__tag, .hub-fair--cmef .hub-fair__name { color: #0056b3; }
.hub-fair--cmef .hub-fair__btn--primary { border-color: #0056b3; color: #0056b3; }
.hub-fair--cmef .hub-fair__btn--primary:hover { background: #0056b3; }
.hub-fair--cmef .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(0, 114, 255, 0.12), transparent 55%);
}
.hub-fair--cbe .hub-fair__tag, .hub-fair--cbe .hub-fair__name { color: #7a0000; }
.hub-fair--cbe .hub-fair__btn--primary { border-color: #7a0000; color: #7a0000; }
.hub-fair--cbe .hub-fair__btn--primary:hover { background: #7a0000; }
.hub-fair--cbe .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(229, 45, 39, 0.1), transparent 55%);
}

.hub-fair--intertextile .hub-fair__tag, .hub-fair--intertextile .hub-fair__name { color: #1e3a5f; }
.hub-fair--intertextile .hub-fair__btn--primary { border-color: #3b82f6; color: #3b82f6; }
.hub-fair--intertextile .hub-fair__btn--primary:hover { background: #3b82f6; }
.hub-fair--intertextile .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), transparent 55%);
}

.hub-fair--woca .hub-fair__tag, .hub-fair--woca .hub-fair__name { color: #ea580c; }
.hub-fair--woca .hub-fair__btn--primary { border-color: #ea580c; color: #ea580c; }
.hub-fair--woca .hub-fair__btn--primary:hover { background: #ea580c; }
.hub-fair--woca .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), transparent 55%);
}

.hub-fair--aluminium .hub-fair__tag, .hub-fair--aluminium .hub-fair__name { color: #00599c; }
.hub-fair--aluminium .hub-fair__btn--primary { border-color: #00599c; color: #00599c; }
.hub-fair--aluminium .hub-fair__btn--primary:hover { background: #00599c; }
.hub-fair--aluminium .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(0, 89, 156, 0.1), transparent 55%);
}

.hub-fair--bauma .hub-fair__tag, .hub-fair--bauma .hub-fair__name { color: #ca8a04; }
.hub-fair--bauma .hub-fair__btn--primary { border-color: #1e293b; color: #1e293b; }
.hub-fair--bauma .hub-fair__btn--primary:hover { background: #1e293b; }
.hub-fair--bauma .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), transparent 55%);
}

.hub-fair--iwf .hub-fair__tag, .hub-fair--iwf .hub-fair__name { color: #059669; }
.hub-fair--iwf .hub-fair__btn--primary { border-color: #059669; color: #059669; }
.hub-fair--iwf .hub-fair__btn--primary:hover { background: #059669; }
.hub-fair--iwf .hub-fair__img::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent 55%);
}
.hub-fair__img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hub-fair--iwf .hub-fair__badge-2027 {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #d1fae5;
  color: #059669;
  font-size: 0.65rem;
  vertical-align: middle;
}

/* Services */
.hub-services {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.hub-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.hub-service {
  padding: 32px 28px;
  border-radius: var(--hub-radius);
  background: #fff;
  border: 1px solid var(--hub-border);
  opacity: 0;
  transform: translateY(20px);
  transition:
    transform 0.5s var(--hub-ease),
    box-shadow 0.35s,
    opacity 0.5s var(--hub-ease);
}
.hub-service.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hub-service a { color: var(--hub-blue); font-weight: 600; }
.hub-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.hub-service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--hub-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.hub-service__icon .hub-icon { width: 26px; height: 26px; }
.hub-btn .hub-icon,
.hub-fair__btn .hub-icon { flex-shrink: 0; }
.hub-hero__scroll .hub-icon { width: 22px; height: 22px; }

/* Guides */
.hub-guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.hub-guide-card {
  display: block;
  padding: 28px;
  border-radius: var(--hub-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--hub-shadow);
  transition: transform 0.25s var(--hub-ease), box-shadow 0.25s;
  color: inherit;
  text-decoration: none;
}
.hub-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 114, 255, 0.12);
  border-color: #bfdbfe;
}
.hub-guide-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--hub-navy);
}
.hub-guide-card p {
  font-size: 0.92rem;
  color: var(--hub-muted);
  line-height: 1.6;
}
.hub-guide-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hub-blue);
  margin-bottom: 12px;
}
.hub-service h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.hub-service p { color: var(--hub-muted); font-size: 0.92rem; }

/* Media hub on home */
.hub-media-wrap {
  background: #f8fafc;
  padding: 80px 0;
}
.hub-media-wrap .media-hub {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}
.hub-media-wrap .media-hub__title span { color: var(--hub-blue); }

/* CTA */
.hub-cta {
  margin: 0 5% 80px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 40px;
  border-radius: var(--hub-radius);
  background: linear-gradient(135deg, var(--hub-navy) 0%, var(--hub-navy-2) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hub-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 114, 255, 0.25), transparent 55%);
}
.hub-cta__inner { position: relative; z-index: 1; }
.hub-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.hub-cta p { margin: 12px auto 24px; color: #94a3b8; max-width: 480px; }
.hub-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hub-cta__links a {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.25s;
}
.hub-cta__links a:hover {
  background: rgba(255,255,255,0.1);
  border-color: #7dd3fc;
  color: #fff;
}

/* Animations */
@keyframes hub-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hub-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
@keyframes hub-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Mobile nav drawer */
.hub-nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  padding: 24px 5%;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-top: 1px solid var(--hub-border);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s var(--hub-ease), opacity 0.35s;
  pointer-events: none;
}
.hub-nav__drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.hub-nav__drawer a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hub-text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--hub-border);
}

@media (max-width: 700px) {
  .hub-fairs {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hub-fair:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .hub-nav__links, .hub-nav__cta .hub-btn--ghost { display: none; }
  .hub-nav__toggle { display: block; }
  .hub-nav__drawer { display: flex; }
  .hub-fair__body { padding: 20px 22px 24px; }
  .hub-hero { min-height: auto; }
  .hub-hero__content { padding: 80px 5% 60px; }
  .hub-hero__content::before {
    left: -5%;
    right: -5%;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.75) 0%, rgba(11, 18, 32, 0.4) 60%, transparent 100%);
  }
  .hub-quick { margin-top: -24px; }
}

@media (max-width: 600px) {
  .hub-hero__stats { gap: 24px; flex-direction: column; }
  .hub-hero__actions { flex-direction: column; width: 100%; }
  .hub-hero__actions .hub-btn { width: 100%; justify-content: center; min-height: 48px; }
  .hub-timeline { grid-template-columns: 1fr; }
  .hub-topbar { font-size: 0.7rem; line-height: 1.5; padding: 10px 4%; }
  .hub-topbar .sep { display: none; }
  .hub-topbar a { display: inline-block; margin: 0 6px; }
  .footer__legal { flex-direction: column; align-items: center; gap: 12px; }
  .legal-inline { flex-direction: column; }
}

/* Hub FAQ (uses fair-layout faq styles) */
.hub-faq-wrap { padding: 80px 5%; background: #f8fafc; }
.hub-faq-wrap .faq-list { max-width: 900px; }
