/* ==========================================================================
   HEADER & FOOTER FRONTEND — NEW DESIGN SYSTEM 2026
   Prefix: sh- (site header), sf- (site footer)
   Mobile-first, responsive at 768px and 1200px
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --sh-font: var(--font-body, 'IBM Plex Sans', 'Segoe UI', sans-serif);
  --sh-font-heading: var(--font-heading, 'IBM Plex Sans Condensed', var(--sh-font));
  --sh-primary: var(--color-primary, #0f5bd8);
  --sh-primary-dark: var(--color-primary-dark, #0c459f);
  --sh-accent: var(--color-accent, #b98519);
  --sh-text: #0f172a;
  --sh-text-light: #475569;
  --sh-text-muted: #64748b;
  --sh-white: #ffffff;
  --sh-bg-light: #f3f7fb;
  --sh-surface: rgba(255,255,255,.88);
  --sh-surface-strong: #ffffff;
  --sh-surface-dark: #08111f;
  --sh-border: rgba(148,163,184,.28);
  --sh-border-light: rgba(226,232,240,.72);
  --sh-outline: rgba(15,23,42,.08);
  --sh-radius-sm: 8px;
  --sh-radius-md: 14px;
  --sh-radius-lg: 20px;
  --sh-radius-xl: 28px;
  --sh-radius-full: 9999px;
  --sh-shadow-sm: 0 8px 18px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --sh-shadow-md: 0 18px 34px rgba(15,23,42,.10), 0 3px 10px rgba(15,23,42,.05);
  --sh-shadow-lg: 0 30px 60px rgba(15,23,42,.14), 0 12px 24px rgba(15,23,42,.08);
  --sh-shadow-xl: 0 42px 88px rgba(2,6,23,.18), 0 18px 32px rgba(15,23,42,.12);
  --sh-transition: 0.28s cubic-bezier(.22,1,.36,1);
  --sh-transition-fast: 0.18s cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset within header/footer ---------- */
.sh-header *, .sf-footer *, .sh-announce *, .sh-drawer * {
  box-sizing: border-box;
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.sh-announce {
  background: var(--announce-bg, var(--sh-primary));
  color: var(--announce-text, #fff);
  font-family: var(--sh-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  position: relative;
  z-index: 10001;
  overflow: hidden;
}
.sh-announce__wrap {
  max-width: var(--announce-max-w, 1320px);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.sh-announce__content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sh-announce__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--sh-transition-fast);
}
.sh-announce__content a:hover { opacity: 0.85; }
.sh-announce__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.sh-announce__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: sh-marquee var(--marquee-speed, 30s) linear infinite;
}
.sh-announce__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: var(--sh-radius-full);
  color: inherit;
  cursor: pointer;
  transition: background var(--sh-transition-fast);
  flex-shrink: 0;
}
.sh-announce__close:hover { background: rgba(255,255,255,.25); }
.sh-announce--hidden { display: none; }

@keyframes sh-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER — CORE
   ========================================================================== */
.sh-header {
  position: relative;
  isolation: isolate;
  z-index: var(--header-z, 9990);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(243,247,251,.92));
  border-bottom: var(--header-border, 1px solid var(--sh-border));
  box-shadow: var(--header-shadow, 0 18px 44px rgba(15,23,42,.06));
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  font-family: var(--sh-font);
  transition: background var(--sh-transition), box-shadow var(--sh-transition),
              transform var(--sh-transition), border-color var(--sh-transition);
  will-change: transform;
}
.sh-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(15,91,216,.08), transparent 24%),
    radial-gradient(circle at top right, rgba(185,133,25,.10), transparent 22%),
    linear-gradient(90deg, rgba(15,23,42,.035), transparent 22%, transparent 78%, rgba(15,23,42,.035));
}
.sh-header--transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.sh-header--transparent,
.sh-header--transparent a,
.sh-header--transparent button {
  color: var(--transparent-text, #fff);
}
.sh-header--transparent .sh-row { color: var(--transparent-text, #fff); }
.sh-header--transparent::before { opacity: .42; }

/* Sticky states */
.sh-header--stuck {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(245,248,252,.96)) !important;
  border-bottom: 1px solid rgba(148,163,184,.18) !important;
  box-shadow: var(--stuck-shadow, 0 24px 56px rgba(15,23,42,.12)) !important;
  backdrop-filter: blur(24px) saturate(1.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  animation: sh-slideDown 0.35s ease both;
}
.sh-header--hide-up {
  transform: translateY(-100%);
  pointer-events: none;
}
@keyframes sh-slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ---------- Header Row (Section) ---------- */
.sh-row {
  position: var(--row-pos, relative);
  z-index: var(--row-z, 1);
  padding: var(--row-pad, 12px 0);
  margin: var(--row-margin, 0);
  min-height: var(--row-min-h, auto);
  background: var(--row-bg, transparent);
  border: var(--row-border, none);
  border-radius: var(--row-radius, 0);
  box-shadow: var(--row-shadow, none);
  overflow: visible;
  transition: background var(--sh-transition), border-color var(--sh-transition), box-shadow var(--sh-transition);
}
.sh-row--sticky {
  position: sticky;
  top: var(--row-sticky-top, 0);
}
.sh-row__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg, transparent);
  opacity: var(--overlay-alpha, 0);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Container ---------- */
.sh-container {
  width: 100%;
  max-width: var(--row-max-w, 1320px);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.sh-container--full { max-width: 100%; }
@media (min-width: 768px) { .sh-container { padding: 0 30px; } }
@media (min-width: 1200px) { .sh-container { padding: 0 44px; } }

/* ---------- Grid (Columns) ---------- */
.sh-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--row-gap, 16px);
  align-items: var(--row-align, center);
  position: relative;
}
@media (min-width: 1200px) { .sh-grid { flex-wrap: nowrap; } }

/* ---------- Column ---------- */
.sh-col {
  width: 100%;
  flex: var(--col-grow, 0) 1 var(--col-basis, 0%);
  min-width: 0;
  background: var(--col-bg, transparent);
  padding: var(--col-pad, 0);
  position: relative;
}
.sh-col__inner {
  display: flex;
  gap: 12px;
  align-items: var(--col-v-align, center);
  flex-wrap: wrap;
}
.sh-col__inner--single {
  justify-content: var(--col-justify, flex-start);
}
.sh-col__inner--multi {
  flex-direction: column;
  align-items: var(--col-h-align, stretch);
}

/* ---------- Widget wrapper ---------- */
.sh-widget {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.sh-widget--flex { flex: 1 1 auto; min-width: 0; }

/* ---------- Responsive Visibility ---------- */
@media (max-width: 767px) {
  .sh-hide-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .sh-hide-tablet { display: none !important; }
}
@media (min-width: 1200px) {
  .sh-hide-desktop { display: none !important; }
}

/* ---------- Mobile Toggle ---------- */
.sh-mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 10px 18px 16px;
}
@media (min-width: 1200px) {
  .sh-mobile-actions { display: none; }
}
.sh-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  border-radius: 14px;
  color: var(--sh-text);
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
  cursor: pointer;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast), transform var(--sh-transition-fast),
              box-shadow var(--sh-transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.sh-btn-icon:hover {
  background: #ffffff;
  color: var(--sh-primary);
  border-color: rgba(15,23,42,.14);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
}
.sh-btn-icon svg { width: 21px; height: 21px; stroke-width: 1.9; }

/* ---------- Hamburger Icon ---------- */
.sh-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
  cursor: pointer;
  padding: 0;
  color: var(--sh-text);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast), transform var(--sh-transition-fast),
              box-shadow var(--sh-transition-fast);
}
.sh-hamburger:hover {
  background: #ffffff;
  color: var(--sh-primary);
  border-color: rgba(15,23,42,.14);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
}
.sh-hamburger__line {
  display: block;
  width: 22px;
  height: 2.25px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--sh-transition), opacity var(--sh-transition-fast);
  transform-origin: center;
}
.sh-hamburger--active .sh-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.sh-hamburger--active .sh-hamburger__line:nth-child(2) { opacity: 0; }
.sh-hamburger--active .sh-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.sh-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(2,6,23,.52);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--sh-transition), visibility var(--sh-transition);
}
.sh-drawer-overlay--open { opacity: 1; visibility: visible; }

.sh-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  z-index: 10011;
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(242,246,251,.98));
  border-left: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 36px 88px rgba(2,6,23,.28);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.32,.72,0,1);
  display: flex;
  flex-direction: column;
  font-family: var(--sh-font);
  overflow: hidden;
}
.sh-drawer--open { transform: translateX(0); }
.sh-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(148,163,184,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,252,.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-shrink: 0;
}
.sh-drawer__logo img {
  max-height: 38px;
  width: auto;
}
.sh-drawer__logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--sh-text);
}
.sh-drawer__close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,244,249,.92));
  color: var(--sh-text-light);
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
  cursor: pointer;
  transition: all var(--sh-transition-fast);
}
.sh-drawer__close:hover {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(244,248,252,.96));
  color: var(--sh-primary);
  border-color: rgba(15,91,216,.18);
  transform: translateY(-1px);
}
.sh-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 0 18px;
}
.sh-drawer__foot {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(148,163,184,.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(247,249,252,.86), rgba(255,255,255,.94));
}

/* Drawer Nav Items */
.sh-drawer-nav { list-style: none; padding: 0; margin: 0; }
.sh-drawer-nav__item {
  margin: 0 14px 8px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 24px rgba(15,23,42,.04);
  overflow: hidden;
}
.sh-drawer-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--sh-text);
  text-decoration: none;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.sh-drawer-nav__link:hover {
  background: rgba(15,91,216,.06);
  color: var(--sh-primary);
  transform: translateX(2px);
}
.sh-drawer-nav__link svg,
.sh-drawer-nav__link i { width: 18px; height: 18px; opacity: 0.5; flex-shrink: 0; }
.sh-drawer-nav__badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--sh-radius-full);
  color: #fff;
}
.sh-drawer-nav__toggle {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 14px 0 0;
  border: 1px solid rgba(148,163,184,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,244,248,.92));
  color: var(--sh-text-muted);
  border-radius: 12px;
  box-shadow: 0 10px 18px rgba(15,23,42,.06);
  cursor: pointer;
  transition: transform var(--sh-transition-fast), background var(--sh-transition-fast);
}
.sh-drawer-nav__toggle:hover {
  background: rgba(15,91,216,.06);
  color: var(--sh-primary);
}
.sh-drawer-nav__toggle--open { transform: rotate(180deg); }
.sh-drawer-nav__sub {
  list-style: none;
  padding: 0 10px 12px;
  margin: 0;
  display: none;
}
.sh-drawer-nav__sub--open { display: block; }
.sh-drawer-nav__sub .sh-drawer-nav__link {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--sh-text-light);
}
.sh-drawer-nav__sub .sh-drawer-nav__link:hover { color: var(--sh-primary); }
.sh-drawer-nav__heading {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sh-text-muted);
}
.sh-drawer-nav__divider {
  height: 1px;
  background: rgba(148,163,184,.18);
  margin: 8px 14px;
}

/* Drawer CTA */
.sh-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border: none;
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
  cursor: pointer;
  transition: background var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.sh-drawer__cta:hover {
  background: linear-gradient(135deg, var(--sh-primary-dark), var(--color-secondary, #093c8e));
  transform: translateY(-1px);
}

/* Drawer Portal */
.sh-drawer__portal-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sh-text-muted);
  padding: 12px 22px 8px;
}
.sh-drawer__portal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sh-text);
  text-decoration: none;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 24px rgba(15,23,42,.04);
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.sh-drawer__portal-link:hover {
  background: rgba(15,91,216,.06);
  color: var(--sh-primary);
  transform: translateX(2px);
}
.sh-drawer__portal-link svg { width: 16px; height: 16px; opacity: 0.5; }
.sh-drawer__school-name {
  padding: 8px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   DESKTOP NAV MENU WIDGET — NEW DESIGN
   ========================================================================== */

/* Desktop dropdown panels */
.wb-enterprise-menu-layer {
  position: absolute;
  top: 100%;
  z-index: 10000;
  padding-top: 12px;
  pointer-events: auto;
}
.wb-enterprise-menu-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.96));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 24px;
  box-shadow: 0 34px 68px rgba(15,23,42,.16);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  overflow: hidden;
}
.wb-enterprise-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--sh-text);
  text-decoration: none;
  font-size: 14px;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast), transform var(--sh-transition-fast),
              box-shadow var(--sh-transition-fast);
}
.wb-enterprise-menu-item:hover {
  background: var(--wb-menu-item-hover-bg, rgba(15,91,216,.06));
  color: var(--wb-menu-item-hover-color, var(--sh-primary)) !important;
  border-color: rgba(148,163,184,.18);
  transform: translateX(2px);
  box-shadow: 0 14px 24px rgba(15,23,42,.07);
}
.wb-enterprise-menu-item-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248,250,252,.96), rgba(233,239,246,.92));
  border: 1px solid rgba(148,163,184,.16);
  flex-shrink: 0;
  transition: background var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.wb-enterprise-menu-item:hover .wb-enterprise-menu-item-icon {
  background: linear-gradient(180deg, rgba(15,91,216,.14), rgba(15,91,216,.08));
  transform: translateY(-1px);
}

/* Nav trigger/link on desktop */
.wb-enterprise-menu-link,
.wb-enterprise-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--sh-radius-full);
  border: 1px solid rgba(148,163,184,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.08));
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 14px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.56);
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast), transform var(--sh-transition-fast),
              box-shadow var(--sh-transition-fast);
  font-family: inherit;
  line-height: 1.4;
}
.wb-enterprise-menu-link:hover,
.wb-enterprise-menu-trigger:hover {
  background: var(--wb-menu-hover-bg, rgba(255,255,255,.84));
  color: var(--wb-menu-hover-color, var(--sh-primary)) !important;
  border-color: var(--wb-menu-hover-border, rgba(148,163,184,.2));
  box-shadow: var(--wb-menu-hover-shadow, 0 16px 28px rgba(15,23,42,.08));
  transform: translateY(-1px);
}
.wb-enterprise-menu-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--sh-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}

/* ==========================================================================
   WIDGET BASE STYLES — NEW DESIGN
   ========================================================================== */

/* Logo widget */
.wb-enterprise-logo-widget {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--sh-transition-fast);
}
.wb-enterprise-logo-widget:hover { opacity: 0.85; }
.wb-enterprise-logo-widget img {
  display: block;
  height: auto;
  object-fit: contain;
}

/* Button widget */
.wb-enterprise-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .015em;
  font-family: var(--sh-font);
  text-decoration: none;
  border: 1px solid rgba(15,23,42,.08);
  cursor: pointer;
  box-shadow: var(--wb-btn-shadow, 0 10px 20px rgba(15,23,42,.08));
  transition: transform var(--sh-transition), box-shadow var(--sh-transition),
              background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast);
  white-space: nowrap;
  max-width: 100%;
}
.wb-enterprise-btn:hover {
  transform: var(--wb-btn-hover-transform, translateY(-1px));
  background: var(--wb-btn-hover-bg, inherit) !important;
  color: var(--wb-btn-hover-color, inherit) !important;
  border-color: var(--wb-btn-hover-border, rgba(15,23,42,.14)) !important;
  box-shadow: var(--wb-btn-hover-shadow, 0 14px 26px rgba(15,23,42,.12)) !important;
}
.wb-enterprise-btn:active { transform: translateY(0); }
.wb-enterprise-btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform var(--sh-transition-fast);
}
.wb-enterprise-btn:hover .wb-enterprise-btn-icon--trail { transform: translateX(2px); }
.wb-enterprise-btn:hover .wb-enterprise-btn-icon--lead { transform: translateX(-1px); }
@media (max-width: 767px) {
  .wb-enterprise-btn--mobile-full { width: 100%; justify-content: center; }
}

/* Search widget */
.wb-enterprise-search-shell {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(243,247,251,.94));
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(15,23,42,.08);
  transition: border-color var(--sh-transition), box-shadow var(--sh-transition), transform var(--sh-transition-fast);
}
.wb-enterprise-search-shell:focus-within {
  border-color: rgba(15,91,216,.35);
  box-shadow: 0 0 0 4px rgba(15,91,216,.12), 0 22px 40px rgba(15,23,42,.10);
  transform: translateY(-1px);
}
.wb-enterprise-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--sh-text);
  font-family: var(--sh-font);
  font-size: 14px;
}
.wb-enterprise-search-input::placeholder { color: var(--sh-text-muted); }
.wb-enterprise-search-results {
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(244,247,251,.96));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  box-shadow: 0 34px 68px rgba(15,23,42,.16);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.wb-enterprise-search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--sh-text);
  border: 1px solid transparent;
  transition: background var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.wb-enterprise-search-result:hover {
  background: rgba(15,91,216,.06);
  border-color: rgba(148,163,184,.16);
  transform: translateX(2px);
}

/* Social icons */
.wb-enterprise-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--wb-social-bg, transparent);
  color: var(--wb-social-color, inherit);
  border: var(--wb-social-border, 1px solid rgba(15,23,42,.08));
  text-decoration: none;
  box-shadow: var(--wb-social-shadow, 0 10px 20px rgba(15,23,42,.08));
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast),
              background var(--sh-transition-fast), color var(--sh-transition-fast),
              border-color var(--sh-transition-fast);
}
.wb-enterprise-social:hover {
  transform: var(--wb-social-hover-transform, translateY(-1px));
  box-shadow: var(--wb-social-hover-shadow, 0 14px 26px rgba(15,23,42,.12)) !important;
  background: var(--wb-social-hover-bg, var(--sh-bg-light)) !important;
  color: var(--wb-social-hover-color, var(--sh-primary)) !important;
  border-color: var(--wb-social-hover-border, rgba(15,23,42,.16)) !important;
}

/* Link list */
.wb-enterprise-linklist-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}
.wb-enterprise-linkitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  transition: color var(--sh-transition-fast), transform var(--sh-transition-fast),
              background var(--sh-transition-fast), border-color var(--sh-transition-fast),
              box-shadow var(--sh-transition-fast);
}
.wb-enterprise-linkitem:hover {
  color: var(--sh-primary) !important;
  background: rgba(148,163,184,.10);
  border-color: rgba(148,163,184,.14);
  box-shadow: 0 14px 24px rgba(15,23,42,.05);
  transform: translateX(4px);
}
.wb-enterprise-linkitem-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(148,163,184,.14);
  flex-shrink: 0;
}

/* Contact card, info pill, icon box */
.wb-enterprise-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(241,245,249,.92));
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 16px 30px rgba(15,23,42,.07);
  transition: background var(--sh-transition-fast), transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.wb-enterprise-info-pill:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,248,252,.96));
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(15,23,42,.10);
}
.wb-enterprise-info-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15,91,216,.16), rgba(15,91,216,.08));
  border: 1px solid rgba(15,91,216,.14);
  flex-shrink: 0;
}
.wb-enterprise-contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.96));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  box-shadow: 0 20px 38px rgba(15,23,42,.08);
  overflow: hidden;
}
.wb-enterprise-hours {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.96));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  box-shadow: 0 20px 38px rgba(15,23,42,.08);
}
.wb-enterprise-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--sh-border-light);
}
.wb-enterprise-hours-row:first-child { border-top: none; }

/* Surfaces, cards */
.wb-enterprise-surface {
  background: var(--sh-white);
  border: 1px solid var(--sh-border);
  box-shadow: var(--sh-shadow-sm);
  border-radius: var(--sh-radius-lg);
}
.wb-enterprise-soft-card {
  background: var(--sh-white);
  border: 1px solid var(--sh-border-light);
  box-shadow: var(--sh-shadow-sm);
  border-radius: var(--sh-radius-lg);
}
.wb-enterprise-glass {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sh-border);
  box-shadow: var(--sh-shadow-md);
  border-radius: var(--sh-radius-lg);
}
.wb-enterprise-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15,23,42,.08);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
  text-decoration: none;
  color: var(--sh-text);
  transition: transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast),
              border-color var(--sh-transition-fast), color var(--sh-transition-fast),
              background var(--sh-transition-fast);
}
.wb-enterprise-icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
  border-color: rgba(15,23,42,.14);
  background: #ffffff;
  color: var(--sh-primary) !important;
}

/* Badge */
.wb-enterprise-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--sh-radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Ticker / Announce widget */
.wb-enterprise-announce {
  background: var(--sh-primary);
  color: #fff;
  border-radius: var(--sh-radius-lg);
  overflow: hidden;
}
.wb-enterprise-ticker {
  overflow: hidden;
  border-radius: var(--sh-radius-lg);
  background: var(--sh-primary);
  color: #fff;
}
.wb-enterprise-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--sh-radius-full);
  background: rgba(255,255,255,.12);
  text-decoration: none;
  color: inherit;
  transition: background var(--sh-transition-fast);
}
.wb-enterprise-ticker-item:hover { background: rgba(255,255,255,.2); }

/* Hover utility classes */
.wb-enterprise-lift {
  transition: transform var(--sh-transition), box-shadow var(--sh-transition);
}
.wb-enterprise-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-shadow-md);
}
.wb-enterprise-hover-fill { transition: background var(--sh-transition-fast), color var(--sh-transition-fast); }
.wb-enterprise-hover-fill:hover {
  background: var(--wb-hover-bg, var(--sh-bg-light));
  color: var(--wb-hover-color, var(--sh-primary));
}
.wb-enterprise-color-shift { transition: color var(--sh-transition-fast); }
.wb-enterprise-color-shift:hover { color: var(--wb-hover-color, var(--sh-primary)) !important; }

/* Portal login */
.portal-login-dropdown { z-index: 10050 !important; }
.pl-window { position: relative; z-index: 10051; }

/* Widget visibility helpers */
@media (max-width: 767px) { .wb-hide-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 1199px) { .wb-hide-tablet { display: none !important; } }
@media (min-width: 1200px) { .wb-hide-desktop { display: none !important; } }

/* ==========================================================================
   FOOTER — CORE
   ========================================================================== */
.sf-footer {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at top right, rgba(185,133,25,.18), transparent 24%),
    radial-gradient(circle at 12% 16%, rgba(15,91,216,.16), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #0b1628 52%, #101d31 100%);
  color: var(--footer-text, #cbd5e1);
  font-family: var(--sh-font);
  overflow: hidden;
  padding-top: var(--footer-pad-top, 56px);
  padding-bottom: var(--footer-pad-bot, 32px);
  border-top: var(--footer-border-top, none);
}
.sf-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.028), transparent 22%, transparent 78%, rgba(255,255,255,.028));
}
.sf-footer h1, .sf-footer h2, .sf-footer h3, .sf-footer h4, .sf-footer h5, .sf-footer h6 {
  color: var(--footer-heading, #f1f5f9);
  font-family: var(--sh-font-heading);
}
.sf-footer a {
  color: var(--footer-link, #94a3b8);
  text-decoration: none;
  transition: color var(--sh-transition-fast);
}
.sf-footer a:hover { color: var(--footer-link-hover, #fff); }

/* Footer pattern */
.sf-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sf-pattern__dots {
  position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 18px 18px;
}
.sf-pattern__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sf-pattern__diagonal {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 20px);
}
.sf-pattern__overlay { position: absolute; inset: 0; }

/* Footer container */
.sf-container {
  width: 100%;
  max-width: var(--row-max-w, 1320px);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.sf-container--full { max-width: 100%; }
@media (min-width: 768px) { .sf-container { padding: 0 30px; } }
@media (min-width: 1200px) { .sf-container { padding: 0 44px; } }

/* Footer Row */
.sf-row {
  position: var(--row-pos, relative);
  z-index: var(--row-z, 1);
  padding: var(--row-pad, 20px 0);
  margin: var(--row-margin, 0);
  min-height: var(--row-min-h, auto);
  background: var(--row-bg, transparent);
  border: var(--row-border, none);
  border-radius: var(--row-radius, 0);
  box-shadow: var(--row-shadow, none);
}
.sf-row__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg, transparent);
  opacity: var(--overlay-alpha, 0);
  pointer-events: none;
}

/* Footer Grid */
.sf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--row-gap, 32px);
  align-items: var(--row-align, start);
}
@media (min-width: 768px) {
  .sf-grid--cols { grid-template-columns: var(--grid-cols, repeat(auto-fit, minmax(200px, 1fr))); }
}

/* Footer Column */
.sf-col {
  min-width: 0;
  background: var(--col-bg, transparent);
  padding: var(--col-pad, 0);
}
.sf-col__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: var(--col-h-align, stretch);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 20px 38px rgba(2,6,23,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Footer widget */
.sf-widget { position: relative; }

/* Footer row visibility */
@media (max-width: 767px) { .sf-hide-mobile { display: none !important; } }
@media (min-width: 768px) and (max-width: 1199px) { .sf-hide-tablet { display: none !important; } }
@media (min-width: 1200px) { .sf-hide-desktop { display: none !important; } }

/* ---------- CTA Strip ---------- */
.sf-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cta-bg, var(--sh-primary)), rgba(8,17,31,.82));
  color: #fff;
}
.sf-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 32%, transparent 68%, rgba(255,255,255,.04));
  pointer-events: none;
}
.sf-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .sf-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 28px 0;
  }
}
.sf-cta__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 768px) { .sf-cta__text { font-size: 19px; } }
.sf-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(2,6,23,.14);
  transition: all var(--sh-transition-fast);
  flex-shrink: 0;
}
.sf-cta__btn--filled {
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: #0f172a;
  border: none;
}
.sf-cta__btn--filled:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(2,6,23,.18);
}
.sf-cta__btn--outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
}
.sf-cta__btn--outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.6);
}
.sf-cta__icon {
  width: 16px; height: 16px;
  transition: transform var(--sh-transition-fast);
}
.sf-cta__btn:hover .sf-cta__icon { transform: translateX(3px); }

/* ---------- Copyright / Bottom ---------- */
.sf-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding-top: 22px;
}
.sf-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 768px) {
  .sf-bottom__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.sf-bottom__copy {
  font-size: 13px;
  opacity: 0.74;
  margin: 0;
}
.sf-bottom__powered { margin-left: 4px; opacity: 0.85; }
.sf-bottom__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
@media (min-width: 768px) { .sf-bottom__nav { justify-content: flex-end; } }
.sf-bottom__link {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast);
}
.sf-bottom__link:hover { background: rgba(255,255,255,.10); color: #fff; }

/* ---------- Back to Top ---------- */
.sf-btt {
  position: fixed;
  bottom: 24px;
  z-index: 50;
  width: 54px; height: 54px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--btt-bg, var(--sh-primary)), rgba(8,17,31,.82));
  box-shadow: 0 24px 44px rgba(2,6,23,.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--sh-transition), transform var(--sh-transition),
              background var(--sh-transition-fast);
}
.sf-btt:hover { filter: brightness(1.06); }
.sf-btt--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sf-btt--right { right: 24px; }
.sf-btt--left { left: 24px; }
.sf-btt--center { left: 50%; transform: translateX(-50%) translateY(16px); }
.sf-btt--center.sf-btt--visible { transform: translateX(-50%) translateY(0); }
.sf-btt--circle { border-radius: var(--sh-radius-full); }
.sf-btt--rounded { border-radius: var(--sh-radius-md); }
.sf-btt--square { border-radius: 0; }

@media (max-width: 1199px) {
  .sh-grid {
    row-gap: max(14px, var(--row-gap, 16px));
  }

  .wb-enterprise-navmenu-widget ul {
    gap: 8px !important;
  }
}

@media (max-width: 767px) {
  .sh-header {
    border-bottom-color: rgba(148,163,184,.12);
  }

  .sh-mobile-actions {
    padding: 8px 16px 14px;
  }

  .wb-enterprise-searchbar-widget .wb-enterprise-search-shell {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 8px !important;
  }

  .wb-enterprise-searchbar-widget .wb-enterprise-btn {
    width: 100%;
    justify-content: center;
  }

  .sf-col__inner {
    padding: 18px;
    border-radius: 22px;
  }

  .sf-btt {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   LEGACY HEADER — fallback config-based
   ========================================================================== */
.sh-legacy {
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(243,247,251,.92));
  border-bottom: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 20px 44px rgba(15,23,42,.08);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  font-family: var(--sh-font);
  position: relative;
  z-index: 9990;
}
.sh-legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(15,91,216,.08), transparent 24%),
    radial-gradient(circle at top right, rgba(185,133,25,.09), transparent 20%);
}
.sh-legacy__inner {
  max-width: var(--legacy-max-w, 1320px);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--legacy-height, 72px);
}
@media (min-width: 768px) { .sh-legacy__inner { padding: 0 30px; } }
@media (min-width: 1200px) { .sh-legacy__inner { padding: 0 44px; } }
.sh-legacy__inner--full { max-width: 100%; }
.sh-legacy__logo { flex-shrink: 0; }
.sh-legacy__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--sh-text);
}
.sh-legacy__logo img { max-height: 46px; width: auto; }
.sh-legacy__logo span { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.sh-legacy__nav {
  flex: 1;
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1200px) { .sh-legacy__nav { display: flex; } }
.sh-legacy__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--sh-radius-full);
  border: 1px solid rgba(148,163,184,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.08));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--sh-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
  text-decoration: none;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.sh-legacy__link:hover {
  background: rgba(255,255,255,.84);
  color: var(--sh-primary);
  border-color: rgba(148,163,184,.2);
  box-shadow: 0 16px 28px rgba(15,23,42,.08);
  transform: translateY(-1px);
}
.sh-legacy__link--active { color: var(--sh-primary); }
.sh-legacy__dropdown {
  position: relative;
}
.sh-legacy__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--sh-radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--sh-text);
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.08));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.sh-legacy__dropdown-btn:hover {
  background: rgba(255,255,255,.84);
  color: var(--sh-primary);
  border-color: rgba(148,163,184,.2);
  box-shadow: 0 16px 28px rgba(15,23,42,.08);
  transform: translateY(-1px);
}
.sh-legacy__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10000;
  min-width: 240px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.96));
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  box-shadow: 0 34px 68px rgba(15,23,42,.16);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  margin-top: 10px;
}
.sh-legacy__menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 14px;
  color: var(--sh-text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.sh-legacy__menu-link:hover {
  background: rgba(15,91,216,.06);
  color: var(--sh-primary);
  border-color: rgba(148,163,184,.16);
  transform: translateX(2px);
}
.sh-legacy__menu-desc { font-size: 12px; color: var(--sh-text-muted); margin-top: 2px; }
.sh-legacy__menu-divider { border: none; border-top: 1px solid var(--sh-border-light); margin: 4px 0; }
.sh-legacy__menu-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--sh-text-muted); padding: 8px 12px 4px;
}
.sh-legacy__badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--sh-radius-full); color: #fff;
}
.sh-legacy__menu-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--sh-radius-full);
}
.sh-legacy__mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  z-index: 10000; margin-top: 4px;
  background: var(--sh-white); border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius-lg); box-shadow: var(--sh-shadow-lg);
  overflow: hidden;
}
.sh-legacy__mega-menu--full { left: 0; right: 0; transform: none; width: 100%; }
.sh-legacy__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.sh-legacy__action {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(15,23,42,.08); background: #ffffff; border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,.08);
  color: var(--sh-text-light); cursor: pointer;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.sh-legacy__action:hover {
  background: #ffffff;
  color: var(--sh-primary);
  border-color: rgba(15,23,42,.14);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15,23,42,.12);
}
.sh-legacy__portal { position: relative; }
.sh-legacy__portal-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--sh-primary), var(--sh-primary-dark));
  color: #fff; border: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 12px 24px rgba(15,23,42,.12);
  transition: background var(--sh-transition-fast), transform var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.sh-legacy__portal-btn:hover {
  background: linear-gradient(135deg, var(--sh-primary-dark), var(--color-secondary, #093c8e));
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15,23,42,.16);
}
.sh-legacy__portal-menu {
  position: absolute; top: 100%; right: 0;
  z-index: 10000; min-width: 240px; margin-top: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,247,251,.96)); border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px; box-shadow: 0 34px 68px rgba(15,23,42,.16);
  padding: 8px;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.sh-legacy__portal-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--sh-text-muted); padding: 8px 10px 6px;
}
.sh-legacy__portal-school {
  font-size: 11px; font-weight: 600; color: var(--sh-text-muted);
  padding: 10px 10px 4px; text-transform: uppercase; letter-spacing: 0.04em;
}
.sh-legacy__portal-link {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 13px; border-radius: 16px;
  font-size: 14px; color: var(--sh-text); text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--sh-transition-fast), color var(--sh-transition-fast), border-color var(--sh-transition-fast), transform var(--sh-transition-fast);
}
.sh-legacy__portal-link:hover { background: rgba(15,91,216,.06); color: var(--sh-primary); border-color: rgba(148,163,184,.16); transform: translateX(2px); }
.sh-legacy__divider { width: 1px; height: 16px; background: var(--sh-border); }
.sh-legacy__heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--sh-text-muted); padding: 0 14px;
}
.sh-legacy__mobile-toggle {
  display: flex;
}
@media (min-width: 1200px) { .sh-legacy__mobile-toggle { display: none; } }

/* ==========================================================================
   LEGACY FOOTER — fallback config-based
   ========================================================================== */
.sf-legacy {
  isolation: isolate;
  background:
    radial-gradient(circle at top right, rgba(185,133,25,.18), transparent 24%),
    radial-gradient(circle at 12% 16%, rgba(15,91,216,.16), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #0b1628 52%, #101d31 100%);
  color: var(--footer-text, #cbd5e1);
  font-family: var(--sh-font);
  position: relative;
  overflow: hidden;
  padding: var(--footer-pad-top, 56px) 0 var(--footer-pad-bot, 32px);
  border-top: var(--footer-border-top, none);
}
.sf-legacy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.028), transparent 22%, transparent 78%, rgba(255,255,255,.028));
}
.sf-legacy a {
  color: var(--footer-link, #94a3b8);
  text-decoration: none;
  transition: color var(--sh-transition-fast);
}
.sf-legacy a:hover { color: var(--footer-link-hover, #fff); }
.sf-legacy h4 { color: var(--footer-heading, #f1f5f9); }

.sf-legacy__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .sf-legacy__container { padding: 0 30px; } }
@media (min-width: 1200px) { .sf-legacy__container { padding: 0 44px; } }

.sf-legacy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .sf-legacy__grid { grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr)); gap: 34px; }
}

.sf-legacy__brand,
.sf-legacy__menu {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 20px 38px rgba(2,6,23,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sf-legacy__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}
.sf-legacy__logo img { max-height: 42px; width: auto; filter: brightness(0) invert(1); }
.sf-legacy__logo span { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.sf-legacy__desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.84;
  margin: 0 0 20px;
  max-width: 320px;
}
.sf-legacy__contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.sf-legacy__contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  font-size: 14px; opacity: 0.82;
}
.sf-legacy__contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.sf-legacy__contact-item a { color: inherit; }

.sf-legacy__social {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.sf-legacy__social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 20px rgba(2,6,23,.16);
  color: rgba(255,255,255,.6);
  transition: all var(--sh-transition-fast);
}
.sf-legacy__social a:hover {
  border-color: rgba(255,255,255,.22);
  color: #fff;
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}

.sf-legacy__menu {}
.sf-legacy__menu-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.sf-legacy__menu-list { list-style: none; padding: 0; margin: 0; }
.sf-legacy__menu-list li { margin-bottom: 1px; }
.sf-legacy__menu-link {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%;
  padding: 11px 14px; font-size: 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: color var(--sh-transition-fast), transform var(--sh-transition-fast), background var(--sh-transition-fast), border-color var(--sh-transition-fast), box-shadow var(--sh-transition-fast);
}
.sf-legacy__menu-link:hover { transform: translateX(4px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); box-shadow: 0 14px 24px rgba(2,6,23,.12); }
.sf-legacy__menu-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 8px 0; }
.sf-legacy__menu-heading {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255,255,255,.4); padding: 8px 0 4px;
}

/* Legacy bottom */
.sf-legacy__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding-top: 22px;
}
.sf-legacy__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 768px) {
  .sf-legacy__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.sf-legacy__copyright { font-size: 13px; opacity: 0.74; margin: 0; }
.sf-legacy__powered-by { margin-left: 4px; }
.sf-legacy__bottom-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (min-width: 768px) { .sf-legacy__bottom-nav { justify-content: flex-end; } }
.sf-legacy__bottom-link {
  font-size: 13px; padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background var(--sh-transition-fast);
}
.sf-legacy__bottom-link:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Legacy CTA strip */
.sf-legacy__cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--cta-bg, var(--sh-primary)), rgba(8,17,31,.82)); color: #fff; }
.sf-legacy__cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 32%, transparent 68%, rgba(255,255,255,.04)); pointer-events: none; }
.sf-legacy__cta-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 20px; text-align: center; position: relative; z-index: 1;
}
@media (min-width: 768px) {
  .sf-legacy__cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.sf-legacy__cta-text { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.sf-legacy__cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 12px 24px rgba(2,6,23,.14);
  transition: all var(--sh-transition-fast); flex-shrink: 0;
}
.sf-legacy__cta-btn--filled { background: linear-gradient(180deg, #ffffff, #eef3f8); color: #0f172a; }
.sf-legacy__cta-btn--filled:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(2,6,23,.18); }
.sf-legacy__cta-btn--outline { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.sf-legacy__cta-btn--outline:hover { background: rgba(255,255,255,.14); }

/* Legacy BTT */
.sf-legacy__btt { /* uses same sf-btt base */ }

/* Legacy pattern overlays */
.sf-legacy__pattern { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sf-legacy__pattern-dots { position: absolute; inset: 0;
  background: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px; }
.sf-legacy__pattern-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px; }
.sf-legacy__pattern-diagonal { position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 20px); }
.sf-legacy__pattern-overlay { position: absolute; inset: 0; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
[data-wb-anim] { opacity: 0; }
[data-wb-anim].wb-anim-done { opacity: 1; }
.wb-anim-fadeIn { animation: sh-fadeIn 0.6s ease both; }
.wb-anim-fadeInUp { animation: sh-fadeInUp 0.6s ease both; }
.wb-anim-fadeInDown { animation: sh-fadeInDown 0.5s ease both; }
.wb-anim-slideUp { animation: sh-fadeInUp 0.5s ease both; }
.wb-anim-zoomIn { animation: sh-zoomIn 0.5s ease both; }

@keyframes sh-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sh-fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sh-fadeInDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sh-zoomIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* Footer reveal */
.sf-footer--reveal,
.sf-footer--anim-fade-in,
.sf-footer--anim-slide-up {
  opacity: 0;
}
.sf-footer--anim-slide-up,
.sf-footer--reveal { transform: translateY(24px); }
.sf-footer--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .sh-announce, .sh-drawer, .sh-drawer-overlay,
  .sh-mobile-actions, .sf-btt, .sf-cta,
  .sf-legacy__cta { display: none !important; }
  .sh-header, .sh-legacy { position: static !important; box-shadow: none !important; border-bottom: 1px solid #ccc !important; }
  .sf-footer, .sf-legacy { padding: 16px 0 !important; }
}
