/* =========================================================
   GITTA — Modern front-end layer
   Loaded after the theme CSS. Brand colours come from admin
   settings via --bm-primary / --bm-accent (set in layout).
   ========================================================= */
:root {
  --bm-primary: #051935;
  --bm-accent: #AA1629;
  --bm-ink: #0d1726;
  --bm-body: #4a5568;
  --bm-muted: #718096;
  --bm-line: #e5e9f0;
  --bm-soft: #f4f6fa;
  --bm-white: #ffffff;
  --bm-radius: 18px;
  --bm-radius-sm: 12px;
  --bm-shadow: 0 1px 2px rgba(13,23,38,.04), 0 8px 24px rgba(13,23,38,.06);
  --bm-shadow-lg: 0 2px 6px rgba(13,23,38,.05), 0 24px 48px rgba(13,23,38,.12);
  --bm-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bm-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --bm-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
/* The legacy theme sets overflow-x:hidden on html/body, which turns them into
   scroll containers and breaks position:sticky on the header. clip keeps the
   "no horizontal scroll" behaviour without creating a scroll container. */
html, body.bm { overflow-x: clip !important; overflow-y: visible !important; }
@supports not (overflow: clip) {
  html, body.bm { overflow-x: visible !important; }
  body.bm > *:not(.bm-header):not(.bm-drawer) { overflow-x: hidden; }
}

body.bm {
  font-family: var(--bm-font);
  color: var(--bm-body);
  background: var(--bm-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.bm h1, body.bm h2, body.bm h3, body.bm h4, body.bm h5, body.bm h6 {
  color: var(--bm-ink);
  font-family: var(--bm-font);
  letter-spacing: -.01em;
}
body.bm a { transition: color .2s var(--bm-ease), background-color .2s var(--bm-ease), border-color .2s var(--bm-ease), box-shadow .2s var(--bm-ease), transform .2s var(--bm-ease); }
body.bm a:hover { text-decoration: none; }
body.bm ::selection { background: var(--bm-accent); color: #fff; }
body.bm img { max-width: 100%; }
.bm-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.bm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
}
.bm-btn i { font-size: 13px; transition: transform .2s var(--bm-ease); }
.bm-btn:hover i { transform: translateX(3px); }
[dir="rtl"] .bm-btn:hover i { transform: translateX(-3px); }
.bm-btn--primary { background: var(--bm-accent); color: #fff !important; box-shadow: 0 6px 18px -6px var(--bm-accent); }
.bm-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bm-btn--dark { background: var(--bm-primary); color: #fff !important; }
.bm-btn--dark:hover { filter: brightness(1.25); transform: translateY(-1px); }
.bm-btn--ghost { background: transparent; color: var(--bm-primary) !important; border-color: var(--bm-line); }
.bm-btn--ghost:hover { border-color: var(--bm-primary); }
.bm-btn--light { background: #fff; color: var(--bm-primary) !important; }
.bm-btn--light:hover { transform: translateY(-1px); box-shadow: var(--bm-shadow-lg); }
.bm-link { color: var(--bm-accent) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.bm-link i { font-size: 12px; transition: transform .2s var(--bm-ease); }
.bm-link:hover i { transform: translateX(4px); }

/* Legacy buttons used across inner pages */
body.bm .main-btn, body.bm .cleaning-main-btn, body.bm a.readmore-btn, body.bm .boxed-btn,
body.bm .contact-form .form-element input[type="submit"], body.bm button.main-btn {
  background: var(--bm-accent) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: 13px 28px !important; font-weight: 600 !important;
  font-size: 15px !important; line-height: 1.2 !important; box-shadow: 0 6px 18px -8px var(--bm-accent);
  text-transform: none !important; letter-spacing: 0 !important; width: auto;
}
body.bm .main-btn:hover, body.bm .cleaning-main-btn:hover, body.bm a.readmore-btn:hover,
body.bm .contact-form .form-element input[type="submit"]:hover { filter: brightness(1.08); }
body.bm .main-btn::before, body.bm .main-btn::after { display: none !important; }

/* ---------- Section heading ---------- */
.bm-section { padding: 96px 0; position: relative; }
.bm-section--soft { background: var(--bm-soft); }
.bm-section--tight { padding: 72px 0; }
.bm-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.bm-head--left { margin-left: 0; text-align: start; }
.bm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--bm-accent); font-size: 15px; font-weight: 600;
  letter-spacing: 0; margin-bottom: 12px;
}
.bm-eyebrow::before { content: ""; width: 3px; height: 14px; background: var(--bm-accent); border-radius: 2px; }
.bm-title {
  font-family: var(--bm-serif) !important; font-weight: 700; color: var(--bm-primary) !important;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; margin: 0; letter-spacing: -.015em;
}
.bm-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.bm-head-row .bm-head { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.bm-topbar { background: var(--bm-primary); color: rgba(255,255,255,.78); font-size: 13.5px; }
.bm-topbar .bm-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.bm-topbar a { color: rgba(255,255,255,.78); }
.bm-topbar a:hover { color: #fff; }
.bm-topbar__info, .bm-topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bm-topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.bm-topbar__info i { color: var(--bm-accent); filter: brightness(1.6); font-size: 12px; }
.bm-topbar__socials { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bm-topbar__socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
.bm-topbar__socials a:hover { background: rgba(255,255,255,.12); }
.bm-dd { position: relative; list-style: none; margin: 0; padding: 0; }
.bm-dd > li > a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; }
.bm-dd > li > a .fa-angle-down { font-size: 11px; opacity: .7; }
.bm-dd ul {
  position: absolute; top: 100%; inset-inline-end: 0; min-width: 200px; z-index: 1000;
  background: #fff; border-radius: var(--bm-radius-sm); box-shadow: var(--bm-shadow-lg);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--bm-ease);
}
.bm-dd > li:hover ul, .bm-dd > li:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.bm-dd ul a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--bm-ink) !important; font-size: 14px; }
.bm-dd ul a:hover { background: var(--bm-soft); color: var(--bm-accent) !important; }
.bm-topbar__login { font-weight: 600; color: #fff !important; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.bm-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s var(--bm-ease), border-color .25s var(--bm-ease);
}
.bm-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(13,23,38,.18); border-bottom-color: var(--bm-line); }
.bm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height .25s var(--bm-ease); }
.bm-header.is-scrolled .bm-header__inner { min-height: 70px; }
.bm-logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; transition: height .25s var(--bm-ease); }
.bm-header.is-scrolled .bm-logo img { height: 44px; }
.bm-header__actions { display: flex; align-items: center; gap: 12px; }

/* Desktop nav — scoped overrides of the legacy .main-menu rules */
.bm-header .main-menu { margin: 0 0 0 auto !important; position: static; }
[dir="rtl"] .bm-header .main-menu { margin: 0 auto 0 0 !important; }
.bm-header .main-menu > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bm-header .main-menu ul li { margin: 0 !important; display: block; }
.bm-header .main-menu > ul > li { position: relative; }
.bm-header .main-menu > ul > li.static { position: static; }
.bm-header .main-menu > ul > li > a {
  padding: 10px 16px !important; border-radius: 999px; font-size: 15px !important; font-weight: 600 !important;
  color: var(--bm-ink) !important; background: transparent !important; display: inline-flex; align-items: center; gap: 6px;
}
.bm-header .main-menu > ul > li:hover > a,
.bm-header .main-menu > ul > li.is-active > a { color: var(--bm-accent) !important; background: var(--bm-soft) !important; }
.bm-header .main-menu ul li.menu-item-has-children > a:after { font-size: 11px; margin-left: 2px !important; opacity: .6; }
.bm-header .main-menu ul li > ul.sub-menu {
  background: #fff !important; border-radius: var(--bm-radius-sm); box-shadow: var(--bm-shadow-lg);
  border: 1px solid var(--bm-line); padding: 8px !important; width: 250px; transform: translateY(8px) !important;
  top: calc(100% + 8px) !important; transition: all .2s var(--bm-ease);
}
.bm-header .main-menu ul li:hover > ul.sub-menu { transform: none !important; }
.bm-header .main-menu ul li > ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.bm-header .main-menu ul li > ul.sub-menu li { padding: 0 !important; }
.bm-header .main-menu ul li > ul.sub-menu li > a {
  color: var(--bm-ink) !important; padding: 10px 14px !important; border-radius: 8px; font-size: 14.5px !important; font-weight: 500;
}
.bm-header .main-menu ul li > ul.sub-menu li:hover > a { background: var(--bm-soft) !important; color: var(--bm-accent) !important; padding-left: 18px !important; }
.bm-header li.submenus::after { color: var(--bm-muted) !important; right: 14px !important; font-size: 11px; }
.bm-header li.submenus ul { left: calc(100% + 6px) !important; }

/* Mega menu */
.bm-header .main-menu ul li .mega-menu {
  background: #fff !important; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow-lg); border: 1px solid var(--bm-line);
  left: 20px !important; right: 20px !important; width: auto !important; max-width: 1200px; margin: 0 auto; top: 100% !important;
}
.bm-header .main-menu ul li .mega-menu a { padding: 0 !important; background: none !important; color: var(--bm-ink) !important; font-weight: 600 !important; font-size: 14px !important; }
.bm-header .main-menu ul li .mega-menu .box-item { border-radius: var(--bm-radius-sm); overflow: hidden; margin-bottom: 20px; }
.bm-header .main-menu ul li .mega-menu .box-img img { aspect-ratio: 16/10; object-fit: cover; border-radius: var(--bm-radius-sm); }
.bm-header .main-menu ul li .mega-menu .box-info h4 { font-size: 14px; margin-top: 10px; line-height: 1.4; }
.bm-header .main-menu ul li .mega-menu .widget-link li a { padding: 8px 10px !important; display: block; border-radius: 8px; }
.bm-header .main-menu ul li .mega-menu .widget-link li.active a,
.bm-header .main-menu ul li .mega-menu .widget-link li a:hover { background: var(--bm-soft) !important; color: var(--bm-accent) !important; }

/* Burger */
.bm-burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--bm-line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0;
}
.bm-burger span { width: 20px; height: 2px; background: var(--bm-primary); border-radius: 2px; transition: .25s var(--bm-ease); }

/* Mobile drawer */
.bm-drawer { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.bm-drawer__backdrop { position: absolute; inset: 0; background: rgba(5,12,25,.5); opacity: 0; transition: opacity .3s var(--bm-ease); }
.bm-drawer__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 88vw);
  background: #fff; transform: translateX(100%); transition: transform .35s var(--bm-ease);
  display: flex; flex-direction: column; box-shadow: var(--bm-shadow-lg);
}
[dir="rtl"] .bm-drawer__panel { transform: translateX(-100%); }
.bm-drawer.is-open { pointer-events: auto; }
.bm-drawer.is-open .bm-drawer__backdrop { opacity: 1; }
.bm-drawer.is-open .bm-drawer__panel { transform: none; }
.bm-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--bm-line); }
.bm-drawer__head img { height: 40px; width: auto; }
.bm-drawer__close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--bm-line); background: #fff; font-size: 16px; color: var(--bm-ink); cursor: pointer; }
.bm-drawer__body { flex: 1; overflow-y: auto; padding: 12px 12px 24px; }
.bm-drawer__body ul { list-style: none; margin: 0; padding: 0; }
.bm-drawer__body li { position: relative; }
.bm-drawer__body li.d-none, .bm-drawer__body li.d-lg-inline-block { display: none !important; }
.bm-drawer__body li.d-lg-none { display: block !important; }
.bm-drawer__body a { display: block; padding: 13px 14px; border-radius: 10px; color: var(--bm-ink); font-weight: 600; font-size: 15.5px; }
.bm-drawer__body a:hover { background: var(--bm-soft); color: var(--bm-accent); }
.bm-drawer__body li > ul, .bm-drawer__body li > .mega-menu { display: none; padding-inline-start: 12px; border-inline-start: 2px solid var(--bm-line); margin: 2px 0 6px 14px; }
.bm-drawer__body li.is-open > ul, .bm-drawer__body li.is-open > .mega-menu { display: block; }
.bm-drawer__body li > ul a, .bm-drawer__body .mega-wrap a { font-weight: 500; font-size: 14.5px; padding: 10px 12px; display: block; }
.bm-drawer__body .menu-item-has-children > a::after, .bm-drawer__body .submenus::after { display: none !important; }
.bm-drawer__toggle {
  position: absolute; top: 6px; inset-inline-end: 6px; width: 38px; height: 38px; border-radius: 9px; border: 0;
  background: var(--bm-soft); color: var(--bm-ink); cursor: pointer; font-size: 12px;
}
.bm-drawer__body li.is-open > .bm-drawer__toggle i { transform: rotate(180deg); }
.bm-drawer__foot { padding: 18px 20px; border-top: 1px solid var(--bm-line); font-size: 14px; color: var(--bm-muted); display: grid; gap: 8px; }
.bm-drawer__foot i { color: var(--bm-accent); width: 18px; }
body.bm-lock { overflow: hidden; }

/* ---------- Hero slider (banners keep their native ratio, no crop) ---------- */
.bm-hero { position: relative; background: var(--bm-primary); }
.bm-hero .hero-carousel-active { margin: 0; }
.bm-hero .single-carousel-active { position: relative; padding: 0 !important; background: none !important; }
.bm-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
.bm-hero__text { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(5,12,25,.72), rgba(5,12,25,.15) 70%); }
[dir="rtl"] .bm-hero__text { background: linear-gradient(-90deg, rgba(5,12,25,.72), rgba(5,12,25,.15) 70%); }
.bm-hero__text .hero-content { padding: 0 !important; max-width: 640px; }
.bm-hero__text .hero-content span { background: none !important; padding: 0 !important; color: rgba(255,255,255,.85) !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; display: block; margin-bottom: 14px; }
.bm-hero__text .hero-content h1 { font-family: var(--bm-serif) !important; color: #fff; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; margin-bottom: 28px; font-weight: 700; }
.bm-hero .slick-arrow {
  position: absolute; top: 50%; z-index: 5; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%;
  display: grid !important; place-items: center; cursor: pointer; color: #fff; font-size: 15px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: all .25s var(--bm-ease);
}
.bm-hero .slick-arrow.prev { left: 24px !important; }
.bm-hero .slick-arrow.next { right: 24px !important; left: auto !important; }
.bm-hero:hover .slick-arrow { opacity: 1; }
.bm-hero .slick-arrow:hover { background: var(--bm-accent); border-color: var(--bm-accent); }
.bm-hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 6; }
.bm-hero__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s var(--bm-ease); }
.bm-hero__dots button.is-active { width: 28px; background: #fff; }

/* ---------- Features strip ---------- */
.bm-features { position: relative; z-index: 3; padding: 56px 0 0; }
.bm-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bm-feature {
  display: flex; align-items: center; gap: 16px; padding: 22px 22px; background: #fff;
  border: 1px solid var(--bm-line); border-radius: var(--bm-radius); box-shadow: var(--bm-shadow);
  transition: transform .25s var(--bm-ease), box-shadow .25s var(--bm-ease), border-color .25s var(--bm-ease);
}
.bm-feature:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lg); border-color: transparent; }
.bm-feature__icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }
.bm-feature h4 { font-size: 16.5px; font-weight: 700; margin: 0; line-height: 1.35; }

/* ---------- Cards (services / blog / pricing) ---------- */
.bm-card {
  background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  transition: transform .25s var(--bm-ease), box-shadow .25s var(--bm-ease);
}
.bm-card:hover { transform: translateY(-6px); box-shadow: var(--bm-shadow-lg); }
.bm-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bm-soft); }
.bm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bm-ease); }
.bm-card:hover .bm-card__media img { transform: scale(1.05); }
.bm-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bm-card__body h4 { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.35; }
.bm-card__body p { margin: 0; color: var(--bm-body); font-size: 15px; }
.bm-card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--bm-muted); }
.bm-card__meta i { color: var(--bm-accent); margin-inline-end: 6px; }
.bm-card__foot { margin-top: auto; padding-top: 8px; }
.bm-slick .slick-track { display: flex !important; }
.bm-slick .slick-slide { height: auto !important; padding: 0 12px 8px; }
.bm-slick .slick-slide > div { height: 100%; }
.bm-slick .slick-list { margin: 0 -12px; padding: 4px 0 20px !important; }
body.bm .slick-dots { display: flex !important; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; position: static; }
body.bm .slick-dots li { margin: 0; width: auto; height: auto; }
body.bm .slick-dots li button { width: 8px; height: 8px; border-radius: 999px; background: #cfd6e2; border: 0; font-size: 0; padding: 0; transition: all .3s var(--bm-ease); }
body.bm .slick-dots li.slick-active button { width: 26px; background: var(--bm-accent); }
body.bm .slick-dots li button::before { display: none; }

/* ---------- About / approach ---------- */
.bm-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.bm-points { display: grid; gap: 16px; }
.bm-point { display: flex; gap: 18px; padding: 22px; border-radius: var(--bm-radius); background: #fff; border: 1px solid var(--bm-line); }
.bm-point__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; }
.bm-point h4 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.bm-point p { margin: 0; font-size: 15px; }

/* ---------- Statistics ---------- */
.bm-stats { position: relative; padding: 88px 0; color: #fff; background-color: var(--bm-primary); background-size: cover; background-position: center; overflow: hidden; }
.bm-stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--bm-primary) 0%, color-mix(in srgb, var(--bm-primary) 88%, transparent) 55%, color-mix(in srgb, var(--bm-accent) 55%, var(--bm-primary)) 100%); }
.bm-stats::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent); }
.bm-stats .bm-container { position: relative; z-index: 1; }
.bm-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.bm-stat { text-align: center; padding: 12px 24px; position: relative; }
.bm-stat + .bm-stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.16); }
.bm-stat__icon { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 22px; margin-bottom: 18px; }
.bm-stat__num { font-family: var(--bm-serif); font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: #fff !important; line-height: 1; margin: 0 0 10px; }
.bm-stat__num sup { font-size: .5em; top: -.8em; color: #ff9fae; margin-inline-start: 2px; }
.bm-stat p { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; font-weight: 500; }

/* ---------- Video intro ---------- */
.bm-video { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 21/9; background-size: cover; background-position: center; box-shadow: var(--bm-shadow-lg); }
.bm-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,25,.1), rgba(5,12,25,.55)); }
.bm-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 88px; height: 88px; border-radius: 50%; background: #fff; color: var(--bm-accent) !important; display: grid; place-items: center; font-size: 24px; z-index: 1; }
.bm-video__play::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: bm-pulse 2s infinite; }
@keyframes bm-pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Logos / accreditation grid (members, partners, testimonials) ---------- */
.bm-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.bm-logo-card {
  background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius);
  padding: 28px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  transition: transform .25s var(--bm-ease), box-shadow .25s var(--bm-ease);
}
.bm-logo-card:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lg); }
.bm-logo-card img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; }
.bm-logo-card h4 { font-size: 15.5px; font-weight: 700; margin: 0; }
.bm-logo-card p { font-size: 13.5px; color: var(--bm-muted); margin: 0; }
.bm-logo-card__social { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.bm-logo-card__social a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-primary); font-size: 13px; }
.bm-logo-card__social a:hover { background: var(--bm-accent); color: #fff; }
.bm-partners .single-brand-logo { padding: 0 14px; }
.bm-partners .single-brand-logo a { display: grid !important; place-items: center; height: 96px; border-radius: var(--bm-radius-sm); border: 1px solid var(--bm-line); background: #fff; padding: 16px; }
.bm-partners .single-brand-logo img { max-height: 56px; width: auto !important; filter: grayscale(1); opacity: .7; transition: all .3s var(--bm-ease); }
.bm-partners .single-brand-logo a:hover img { filter: none; opacity: 1; }

/* ---------- Testimonials ---------- */
.bm-quote { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 32px; height: 100%; position: relative; }
.bm-quote::before { content: "\201C"; position: absolute; top: 6px; inset-inline-end: 24px; font-family: var(--bm-serif); font-size: 96px; line-height: 1; color: var(--bm-soft); }
.bm-quote p { font-size: 16px; color: var(--bm-ink); margin: 0 0 22px; position: relative; }
.bm-quote__author { display: flex; align-items: center; gap: 14px; }
.bm-quote__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: var(--bm-soft); }
.bm-quote__author h4 { font-size: 15.5px; margin: 0; font-weight: 700; }
.bm-quote__author span { font-size: 13px; color: var(--bm-muted); }

/* ---------- Projects ---------- */
.bm-project { position: relative; border-radius: var(--bm-radius); overflow: hidden; aspect-ratio: 4/5; display: block; }
.bm-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bm-ease); }
.bm-project:hover img { transform: scale(1.06); }
.bm-project__info { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(transparent, rgba(5,12,25,.85)); color: #fff; }
.bm-project__info h4 { color: #fff !important; font-size: 18px; margin: 0 0 4px; }
.bm-project__info span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- Pricing ---------- */
.bm-price { text-align: center; padding: 36px 28px; }
.bm-price h3 { font-size: 20px; font-weight: 700; margin: 0; }
.bm-price__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bm-muted); }
.bm-price__amount { font-family: var(--bm-serif); font-size: 46px; font-weight: 700; color: var(--bm-primary) !important; margin: 18px 0; background: none !important; }
.bm-price__desc ul { list-style: none; padding: 0; margin: 0; text-align: start; }
.bm-price__desc li { padding: 8px 0; border-bottom: 1px dashed var(--bm-line); font-size: 15px; }

/* ---------- CTA ---------- */
.bm-cta-wrap { padding: 0 0 96px; }
.bm-stats + .bm-cta-wrap, .bm-features + .bm-cta-wrap { padding-top: 96px; }
.bm-cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; color: #fff;
  background-color: var(--bm-primary); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.bm-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, var(--bm-primary) 30%, color-mix(in srgb, var(--bm-primary) 70%, transparent) 70%, color-mix(in srgb, var(--bm-accent) 70%, transparent)); }
.bm-cta > * { position: relative; z-index: 1; }
.bm-cta h2 { color: #fff !important; font-family: var(--bm-serif) !important; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin: 0; max-width: 720px; font-weight: 700; }

/* ---------- Page header (breadcrumb) ---------- */
.bm-pagehead { position: relative; padding: 88px 0 80px; background-color: var(--bm-primary); background-size: cover; background-position: center; overflow: hidden; }
.bm-pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bm-primary) 25%, color-mix(in srgb, var(--bm-primary) 75%, transparent) 65%, color-mix(in srgb, var(--bm-accent) 45%, transparent)); }
/* GITTA mark (hexagonal circuit-trace G + red core, as layouts/sections/gitta-mark) instead of the old plain ring */
.bm-pagehead::after { content: ""; position: absolute; inset-inline-end: clamp(-40px, 4vw, 90px); top: 50%; width: clamp(200px, 22vw, 330px); aspect-ratio: 2000 / 2260; transform: translateY(-50%); pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='250 120 2000 2260'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.13'%3E%3Cpath d='M1753.042,572.326l-503.042,-290.432l-838.404,484.053l0,968.105l838.404,484.053l838.404,-484.053l0,-484.053l-749.661,0' stroke-width='185.55'/%3E%3Cpath d='M866.792,977.519l471.951,272.481l-471.951,272.481' stroke-width='80.68'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.13'%3E%3Ccircle cx='1753.042' cy='572.326' r='121.013'/%3E%3Ccircle cx='866.792' cy='977.519' r='76.642'/%3E%3Ccircle cx='866.792' cy='1522.481' r='76.642'/%3E%3C/g%3E%3Ccircle cx='1338.743' cy='1250' r='145.216' fill='%23AA1629' fill-opacity='.85'/%3E%3C/svg%3E"); }
@media (max-width: 767px) { .bm-pagehead::after { width: 150px; inset-inline-end: -30px; opacity: .7; } }
.bm-pagehead .bm-container { position: relative; z-index: 1; }
.bm-pagehead__eyebrow { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.bm-pagehead h1 { color: #fff !important; font-family: var(--bm-serif) !important; font-size: clamp(30px, 4vw, 50px); font-weight: 700; margin: 0 0 22px; max-width: 820px; line-height: 1.15; }
.bm-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.9); }
.bm-crumbs a { color: #fff; font-weight: 600; }
.bm-crumbs a:hover { color: #ffc7cf; }
.bm-crumbs li + li::before { content: "\f105"; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 11px; margin-inline-end: 10px; opacity: .6; }
[dir="rtl"] .bm-crumbs li + li::before { content: "\f104"; }

/* ---------- Footer ---------- */
.bm-footer { background: #06101f; color: rgba(255,255,255,.68); position: relative; overflow: hidden; font-size: 15px; }
.bm-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--bm-accent), var(--bm-primary)); }
.bm-footer__top { padding-top: 80px; padding-bottom: 56px; display: grid; grid-template-columns: 1.4fr 1.1fr .8fr 1.2fr; gap: 48px; }
.bm-footer h4 { color: #fff !important; font-size: 16px; font-weight: 700; margin: 0 0 20px; letter-spacing: .01em; }
.bm-footer a { color: rgba(255,255,255,.72); }
.bm-footer a:hover { color: #fff; }
.bm-footer__logo { display: inline-block; background: #fff; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; }
.bm-footer__logo img { height: 46px; width: auto; display: block; }
.bm-footer__about { margin: 0; line-height: 1.75; }
.bm-footer__about .see-more { color: #fff; font-weight: 600; }
.bm-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.bm-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.bm-footer__contact i { flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: -4px; }
.bm-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bm-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.bm-footer__links a::before { content: ""; width: 6px; height: 1.5px; background: var(--bm-accent); filter: brightness(1.5); transition: width .2s var(--bm-ease); }
.bm-footer__links a:hover::before { width: 14px; }
.bm-news { position: relative; margin-top: 18px; }
.bm-news input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; padding: 0 130px 0 20px; font-size: 14.5px; outline: none; transition: border-color .2s; }
[dir="rtl"] .bm-news input { padding: 0 20px 0 130px; }
.bm-news input::placeholder { color: rgba(255,255,255,.45); }
.bm-news input:focus { border-color: rgba(255,255,255,.4); }
.bm-news button { text-transform: none; letter-spacing: 0; position: absolute; top: 5px; inset-inline-end: 5px; height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--bm-accent); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.bm-news button:hover { filter: brightness(1.1); }
.bm-news .err-email { color: #ff9fae; font-size: 13px; margin-top: 6px; display: block; }
.bm-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.bm-footer__bottom .bm-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bm-footer__bottom p { margin: 0; font-size: 14px; }
.bm-footer__bottom a { color: #fff; }
.bm-footer__social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bm-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; font-size: 14px; }
.bm-footer__social a:hover { background: var(--bm-accent); transform: translateY(-2px); }

/* Scroll to top */
body.bm .scroll-to-top { right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--bm-primary); box-shadow: var(--bm-shadow-lg); display: none; bottom: 28px; z-index: 800; }
body.bm .scroll-to-top span { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 15px; line-height: 1; background: transparent; cursor: pointer; }
body.bm .scroll-to-top:hover { background: var(--bm-accent); }

/* ---------- Inner pages: legacy component refresh ---------- */
body.bm .section-title-one span, body.bm .section-title-two span, body.bm span.section-title {
  color: var(--bm-accent) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; background: none !important; padding: 0 !important;
}
body.bm .section-title-one h1, body.bm .section-title-two h1, body.bm h2.section-summary {
  font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; font-size: clamp(28px, 3.2vw, 42px) !important; font-weight: 700; line-height: 1.2;
}
/* forms */
body.bm .contact-form .form-element input:not([type="submit"]),
body.bm .contact-form .form-element textarea,
body.bm .form-element input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.bm .form-element textarea, body.bm .form-element select,
body.bm .form_control, body.bm .form-control, body.bm .nice-select {
  border: 1px solid var(--bm-line) !important; border-radius: 12px !important; background: #fff !important;
  min-height: 52px; padding: 12px 16px; font-size: 15px; color: var(--bm-ink); box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
}
body.bm textarea.form-control, body.bm .form-element textarea { min-height: 150px; }
body.bm .form-control:focus, body.bm .form-element input:focus, body.bm .form-element textarea:focus, body.bm .form_control:focus {
  border-color: var(--bm-primary) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--bm-primary) 12%, transparent) !important; outline: none;
}
body.bm .nice-select { line-height: 28px; display: flex; align-items: center; }
body.bm .nice-select .list { border-radius: 12px; box-shadow: var(--bm-shadow-lg); border: 1px solid var(--bm-line); }

/* contact page */
body.bm .contact-form-section { padding: 96px 0; }
body.bm .contact-infos .row { gap: 20px 0; }
body.bm .contact-infos .single-info-col { padding: 0 10px; border: 0 !important; background: transparent !important; }
body.bm .contact-infos, body.bm .contact-infos .row { border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.bm .contact-infos .single-info {
  background: #fff !important; border: 1px solid var(--bm-line) !important; border-radius: var(--bm-radius) !important; box-shadow: var(--bm-shadow);
  padding: 28px !important; display: flex; gap: 18px; align-items: flex-start; height: 100%; margin: 0 !important;
}
body.bm .contact-infos .single-info .icon-wrapper {
  flex: 0 0 52px; width: 52px !important; height: 52px !important; border-radius: 14px !important; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bm-accent) 10%, #fff) !important; color: var(--bm-accent) !important; font-size: 19px; margin: 0 !important; border: 0 !important; position: static !important;
}
body.bm .contact-infos .single-info .icon-wrapper i { color: var(--bm-accent) !important; }
body.bm .contact-infos .info-txt p { margin: 0 0 4px; color: var(--bm-ink); font-size: 15px; }
body.bm .contact-infos .info-txt .base-color { color: var(--bm-accent) !important; }
body.bm .map-wrapper, body.bm .map-wrapper #map { border-radius: var(--bm-radius); overflow: hidden; min-height: 460px; height: 100%; }

/* course cards */
body.bm .courses-grid-style { padding: 96px 0 72px !important; }
body.bm .course-item {
  background: #fff; border: 1px solid var(--bm-line) !important; border-radius: var(--bm-radius) !important; overflow: hidden; margin-bottom: 30px;
  box-shadow: none !important; transition: transform .25s var(--bm-ease), box-shadow .25s var(--bm-ease);
}
body.bm .course-item:hover { transform: translateY(-6px); box-shadow: var(--bm-shadow-lg) !important; }
body.bm .course-item .course-img { border-radius: 0 !important; overflow: hidden; aspect-ratio: 16/10; position: relative; }
body.bm .course-item .course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--bm-ease); }
body.bm .course-item:hover .course-img img { transform: scale(1.05); }
body.bm .course-item .categorie-box .main-btn { padding: 7px 14px !important; font-size: 12.5px !important; box-shadow: none; }
body.bm .course-item .course-content { padding: 22px 24px 24px !important; }
body.bm .course-item .course-content h3 { font-size: 18.5px !important; line-height: 1.4; margin-bottom: 14px; }
body.bm .course-item .course-content h3 a { color: var(--bm-ink) !important; }
body.bm .course-item .course-content h3 a:hover { color: var(--bm-accent) !important; }
body.bm .course-item .course-meta { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--bm-line); font-size: 13.5px; color: var(--bm-muted); }
body.bm .course-item .course-meta i { color: var(--bm-accent); margin-inline-end: 6px; }
body.bm .course-filter, body.bm .course-sidebar .widget, body.bm .sidebar-widget, body.bm .widget-box, body.bm .blog-sidebar .widget {
  background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 22px; box-shadow: none;
}
body.bm .search_group { position: relative; }

/* pagination */
body.bm .pagination { gap: 6px; flex-wrap: wrap; }
body.bm .pagination .page-link { border-radius: 10px !important; border: 1px solid var(--bm-line); color: var(--bm-ink); min-width: 42px; height: 42px; display: grid; place-items: center; margin: 0; }
body.bm .pagination .page-item.active .page-link { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }

/* generic content (dynamic pages, details) */
body.bm .page-content, body.bm .dynamic-page, body.bm .blog-details, body.bm .service-details, body.bm .course-details-section { color: var(--bm-body); }
body.bm .faq-section .card, body.bm .accordion .card { border: 1px solid var(--bm-line) !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; }
body.bm .accordion .card-header { background: #fff !important; border: 0 !important; }
body.bm .nav-tabs { border-bottom: 1px solid var(--bm-line); gap: 6px; }
body.bm .nav-tabs .nav-link { border: 0 !important; border-radius: 10px 10px 0 0; color: var(--bm-muted); font-weight: 600; }
body.bm .nav-tabs .nav-link.active { color: var(--bm-accent); box-shadow: inset 0 -2px 0 var(--bm-accent); background: transparent; }

/* Hide legacy (replaced) chrome in case old partials render */
body.bm .breadcrumb-area-overlay { display: none; }

/* ---------- Reveal on scroll ---------- */
/* content is always visible; no per-section scroll animations */
.bm-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bm-reveal { opacity: 1; transform: none; transition: none; }
  body.bm * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .bm-header .main-menu > ul > li > a { padding: 10px 11px !important; font-size: 14.5px !important; }
  .bm-logos { grid-template-columns: repeat(4, 1fr); }
  .bm-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .bm-header .main-menu, .bm-header__cta { display: none !important; }
  .bm-burger { display: inline-flex; }
  .bm-header__inner { min-height: 72px; }
  .bm-logo img { height: 44px; }
  .bm-topbar__info span:nth-child(2) { display: none; }
  .bm-features__grid { grid-template-columns: repeat(2, 1fr); }
  .bm-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .bm-stat:nth-child(3)::before { display: none; }
  .bm-about { grid-template-columns: 1fr; gap: 40px; }
  .bm-logos { grid-template-columns: repeat(3, 1fr); }
  .bm-section { padding: 72px 0; }
  .bm-cta { padding: 44px 32px; }
  .bm-hero .slick-arrow { display: none !important; }
}
@media (max-width: 767px) {
  .bm-topbar { display: none; }
  .bm-hero__img { aspect-ratio: 12 / 5; }
  .bm-hero__text .hero-content h1 { font-size: 26px; margin-bottom: 14px; }
  .bm-features { padding-top: 32px; }
  .bm-features__grid { grid-template-columns: 1fr; gap: 12px; }
  .bm-feature { padding: 16px 18px; }
  .bm-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bm-logo-card { padding: 18px 12px; }
  .bm-footer__top { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
  .bm-footer__bottom .bm-container { justify-content: center; text-align: center; }
  .bm-pagehead { padding: 60px 0 56px; }
  .bm-head { margin-bottom: 36px; }
  .bm-cta-wrap { padding-bottom: 72px; }
  .bm-stats + .bm-cta-wrap { padding-top: 72px; }
  body.bm .contact-form-section { padding: 64px 0; }
  body.bm .map-wrapper, body.bm .map-wrapper #map { min-height: 320px; margin-top: 32px; }
}

/* ---------- Preloader ---------- */
body.bm #preloader.bm-preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: #fff !important; width: auto; height: auto;
  transition: opacity .45s var(--bm-ease), visibility .45s;
}
body.bm #preloader.bm-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.bm-preloader__lions { width: min(200px, 55vw); height: auto; display: block; }


/* =========================================================
   Home v2 — IOSH / RoSPA inspired structure
   ========================================================= */
.bm-topbar__verify { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600; }
.bm-topbar__verify i { color: #ff9fae; font-size: 12px; }
.bm-head__sub { margin: 10px 0 0; color: var(--bm-muted); font-size: 16.5px; }
.bm-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.bm-btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bm-header__actions .bm-btn { padding: 12px 22px; }

/* Brand fallback for any image slot without an uploaded photo */
.bm-offer__media, .bm-course__img {
  background-color: var(--bm-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--bm-primary), color-mix(in srgb, var(--bm-primary) 70%, var(--bm-accent)));
}

/* What we offer */
.bm-offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; }
.bm-offer__item { display: flex; flex-direction: column; color: inherit !important; text-decoration: none !important; }
.bm-offer__media { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.bm-offer__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--bm-ease); }
a.bm-offer__item:hover .bm-offer__media img { transform: scale(1.04); }
.bm-offer__body { display: flex; flex-direction: column; gap: 8px; }
.bm-offer__title { font-size: 19px; font-weight: 700; color: var(--bm-ink); line-height: 1.3; }
.bm-offer__text { font-size: 15px; color: var(--bm-body); line-height: 1.6; }
.bm-offer__more { margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--bm-accent); align-self: flex-start; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
a.bm-offer__item:hover .bm-offer__more { border-color: currentColor; }
a.bm-offer__item:hover .bm-offer__title { color: var(--bm-primary); }

/* Welcome + membership */
.bm-welcome { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.bm-welcome--single { grid-template-columns: 1fr; max-width: 820px; }
.bm-values { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.bm-values li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--bm-line); }
.bm-values li:last-child { border-bottom: 1px solid var(--bm-line); }
.bm-values__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; }
.bm-values strong { display: block; color: var(--bm-ink); font-size: 17px; margin-bottom: 2px; }
.bm-values li > span:last-child > span { display: block; font-size: 15px; }
.bm-member-card { position: relative; overflow: hidden; background: var(--bm-primary); color: rgba(255,255,255,.8); border-radius: 22px; padding: 44px 40px; }
.bm-member-card__hex { position: absolute; width: 300px; right: -90px; top: -80px; fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.bm-member-card__hex polygon:last-child { stroke: var(--bm-accent); stroke-opacity: .7; }
.bm-member-card__name { position: relative; display: inline-block; font-size: 14px; font-weight: 600; color: #ff9fae; margin-bottom: 14px; }
.bm-member-card h3 { position: relative; color: #fff !important; font-family: var(--bm-serif) !important; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
.bm-member-card p { position: relative; margin: 0 0 28px; font-size: 16.5px; }
.bm-member-card__actions { position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bm-member-card__link { color: #fff !important; font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.bm-member-card__link:hover { border-color: #fff; }

/* Upcoming courses (list rows) */
.bm-courses { display: grid; gap: 0; border-top: 1px solid var(--bm-line); }
.bm-course { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--bm-line); color: inherit !important; text-decoration: none !important; }
.bm-course__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.bm-course__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-course__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bm-course__cat { font-size: 13.5px; font-weight: 600; color: var(--bm-accent); }
.bm-course__title { font-size: 19px; font-weight: 700; color: var(--bm-ink); line-height: 1.35; }
.bm-course__text { font-size: 15px; color: var(--bm-body); }
.bm-course__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; white-space: nowrap; font-size: 14px; color: var(--bm-muted); }
.bm-course__meta i { color: var(--bm-accent); margin-inline-end: 4px; }
.bm-course__go { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--bm-soft); color: var(--bm-primary); font-weight: 600; transition: background-color .2s, color .2s; }
.bm-course:hover .bm-course__go { background: var(--bm-primary); color: #fff; }
.bm-course:hover .bm-course__title { color: var(--bm-primary); }

/* Partners heading + CTA actions */
.bm-partners__title { text-align: center; font-size: 15px; font-weight: 600; color: var(--bm-muted); margin: 0 0 28px; }
.bm-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1199px) {
  .bm-offer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .bm-welcome { grid-template-columns: 1fr; gap: 40px; }
  .bm-course { grid-template-columns: 120px 1fr; }
  .bm-course__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 575px) {
  .bm-offer { grid-template-columns: 1fr; }
  .bm-course { grid-template-columns: 1fr; gap: 14px; }
  .bm-course__img { aspect-ratio: 16 / 9; }
  .bm-course__meta { grid-column: 1; }
  .bm-member-card { padding: 32px 24px; }
}

/* two plain (white) sections in a row: don't double the gap */
.bm-section:not(.bm-section--soft) + .bm-section:not(.bm-section--soft):not(.bm-partners) { padding-top: 16px; }

/* =========================================================
   Verification pages
   ========================================================= */
.bm-verify { padding: 72px 0 96px; background: var(--bm-soft); }
.bm-verify__card { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--bm-line); border-radius: 20px; box-shadow: var(--bm-shadow); overflow: hidden; }
.bm-verify__card--wide { max-width: 900px; }
.bm-vtabs { display: flex; gap: 4px; padding: 8px; background: var(--bm-soft); border-bottom: 1px solid var(--bm-line); overflow-x: auto; }
.bm-vtabs__item { flex: 1 0 auto; text-align: center; padding: 11px 16px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--bm-muted) !important; white-space: nowrap; }
.bm-vtabs__item:hover { color: var(--bm-ink) !important; background: rgba(255,255,255,.6); }
.bm-vtabs__item.is-active { background: #fff; color: var(--bm-primary) !important; box-shadow: 0 1px 3px rgba(13,23,38,.08); }
.bm-verify__form { padding: 40px 40px 44px; }
.bm-verify__title { font-family: var(--bm-serif) !important; font-size: clamp(26px, 3vw, 32px); color: var(--bm-primary) !important; margin: 0 0 8px; font-weight: 700; }
.bm-verify__hint { margin: 0 0 28px; color: var(--bm-muted); }
.bm-verify__label { display: block; font-weight: 600; font-size: 14px; color: var(--bm-ink); margin-bottom: 8px; }
.bm-verify__row { display: flex; gap: 10px; }
.bm-verify__row input {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px; border: 1px solid var(--bm-line); border-radius: 12px;
  font: inherit; font-size: 17px; letter-spacing: .04em; color: var(--bm-ink); outline: none;
  font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s;
}
.bm-verify__row input:focus { border-color: var(--bm-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bm-primary) 12%, transparent); }
.bm-verify__row .bm-btn { height: 54px; border-radius: 12px !important; padding: 0 28px !important; background: var(--bm-accent) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; box-shadow: none !important; }

.bm-vresult { padding: 36px 40px 40px; }
.bm-vresult__status { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 14px; }
.bm-vresult__status h2 { font-size: 21px !important; font-weight: 700; margin: 2px 0 6px; font-family: var(--bm-font) !important; }
.bm-vresult__status p { margin: 0; font-size: 15px; }
.bm-vresult__status a { font-weight: 600; text-decoration: underline; }
.bm-vresult__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; }
.bm-vresult--valid .bm-vresult__status { background: #ECFDF3; border: 1px solid #ABEFC6; }
.bm-vresult--valid .bm-vresult__icon { background: #079455; }
.bm-vresult--valid .bm-vresult__status h2 { color: #05603A !important; }
.bm-vresult--expired .bm-vresult__status { background: #FFFAEB; border: 1px solid #FEDF89; }
.bm-vresult--expired .bm-vresult__icon { background: #DC6803; }
.bm-vresult--expired .bm-vresult__status h2 { color: #93370D !important; }
.bm-vresult--missing .bm-vresult__status { background: #FEF3F2; border: 1px solid #FECDCA; }
.bm-vresult--missing .bm-vresult__icon { background: #D92D20; }
.bm-vresult--missing .bm-vresult__status h2 { color: #912018 !important; }
.bm-vresult--missing .bm-vresult__status a { color: #912018; }
.bm-vresult__body { margin-top: 28px; display: grid; gap: 28px; }
.bm-vresult__body.has-image { grid-template-columns: 1fr 1.1fr; align-items: start; }
.bm-vresult__data { margin: 0; display: grid; }
.bm-vresult__data > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--bm-line); }
.bm-vresult__data > div:first-child { border-top: 1px solid var(--bm-line); }
.bm-vresult__data dt { font-weight: 500; color: var(--bm-muted); font-size: 14.5px; }
.bm-vresult__data dd { margin: 0; font-weight: 600; color: var(--bm-ink); font-size: 15.5px; }
.bm-vresult__doc { display: block; border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; background: var(--bm-soft); }
.bm-vresult__doc img { width: 100%; display: block; }
.bm-vresult__actions { margin-top: 28px; }

@media (max-width: 767px) {
  .bm-verify { padding: 40px 0 64px; }
  .bm-verify__form, .bm-vresult { padding: 28px 20px 32px; }
  .bm-verify__row { flex-direction: column; }
  .bm-vresult__body.has-image { grid-template-columns: 1fr; }
  .bm-vresult__data > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   Article pages (CMS dynamic pages)
   ========================================================= */
.bm-prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: #374151; }
.bm-prose > *:first-child { margin-top: 0 !important; }
.bm-prose h1, .bm-prose h2, .bm-prose h3 { font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; line-height: 1.25; margin: 1.8em 0 .6em; font-weight: 700; }
.bm-prose h2 { font-size: 30px; } .bm-prose h3 { font-size: 24px; }
.bm-prose h4, .bm-prose h5 { font-size: 19px; font-weight: 700; margin: 1.6em 0 .5em; }
.bm-prose p, .bm-prose li, .bm-prose span, .bm-prose td { font-size: inherit !important; line-height: inherit; color: inherit; }
.bm-prose p { margin: 0 0 1.1em; }
.bm-prose ul { list-style: disc !important; } .bm-prose ol { list-style: decimal !important; }
.bm-prose li { display: list-item !important; }
.bm-prose ul, .bm-prose ol { margin: 0 0 1.3em; padding-inline-start: 1.3em; }
.bm-prose li { margin-bottom: .45em; padding-inline-start: .2em; }
.bm-prose ul li::marker { color: var(--bm-accent); }
.bm-prose a { color: var(--bm-accent); text-decoration: underline; text-underline-offset: 3px; }
.bm-prose img { border-radius: 14px; height: auto; margin: 1em 0; }
.bm-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--bm-accent); font-family: var(--bm-serif); font-size: 21px; color: var(--bm-primary); }
.bm-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15.5px; }
.bm-prose th, .bm-prose td { border-bottom: 1px solid var(--bm-line); padding: 10px 12px; text-align: start; }
.bm-prose th { background: var(--bm-soft); color: var(--bm-ink); }

/* =========================================================
   Service / blog / course details — sidebars & widgets
   ========================================================= */
body.bm .service-details-section, body.bm .course-details-section, body.bm .blog-details-section { padding: 88px 0 !important; }
body.bm .service-details { font-size: 16.5px; line-height: 1.75; }
body.bm .service-details h2, body.bm .service-details h3 { font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; }
body.bm .service-details img { border-radius: 16px; }
body.bm .blog-sidebar-widgets { background: #fff !important; border: 1px solid var(--bm-line) !important; border-radius: var(--bm-radius) !important; padding: 24px !important; margin-bottom: 24px !important; box-shadow: none !important; }
body.bm .blog-sidebar-widgets .title, body.bm .blog-sidebar-widgets h4 { font-size: 17px !important; font-weight: 700 !important; color: var(--bm-ink) !important; margin-bottom: 14px !important; }
body.bm .category-lists ul, body.bm .category-lists { list-style: none; padding: 0; margin: 0; }
body.bm .single-category a, body.bm .category-lists li a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--bm-ink) !important; }
body.bm .single-category.active a, body.bm .single-category a:hover, body.bm .category-lists li a:hover { background: var(--bm-soft); color: var(--bm-accent) !important; }
body.bm .searchbar { position: relative; }
body.bm .searchbar input { width: 100%; height: 50px; border: 1px solid var(--bm-line) !important; border-radius: 12px !important; padding: 0 44px 0 16px; }
body.bm .subscribe-form input[type="email"] { width: 100%; height: 50px; border: 1px solid var(--bm-line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }

/* gallery & FAQ */
body.bm .gallery-section .single-pic img, body.bm .grid .single-pic img { border-radius: 14px; }
body.bm .faq-section .card-header button, body.bm .accordion .btn-link { color: var(--bm-ink) !important; font-weight: 600; text-decoration: none !important; }


/* =========================================================
   About page (front/about.blade.php) — .ab-*
   ========================================================= */
.ab-page { color: var(--bm-ink); font-family: var(--bm-font); }
.ab-section { padding: 96px 0; scroll-margin-top: 150px; }
.ab-section--soft { background: var(--bm-soft); }
.ab-h2 { font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.15; margin: 14px 0 0; }
.ab-head { max-width: 720px; margin-bottom: 48px; }
.ab-head p { margin: 16px 0 0; color: var(--bm-body); font-size: 17px; line-height: 1.7; }

/* sub-nav */
.ab-subnav { position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--bm-line); }
.ab-subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.ab-subnav ul::-webkit-scrollbar { display: none; }
.ab-subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--bm-body) !important; text-decoration: none; transition: background .2s var(--bm-ease), color .2s var(--bm-ease); }
.ab-subnav a:hover { background: var(--bm-soft); color: var(--bm-primary) !important; }
.ab-subnav a.is-active { background: var(--bm-primary); color: #fff !important; }

/* who we are */
.ab-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ab-body p { color: var(--bm-body); font-size: 17px; line-height: 1.75; margin: 18px 0 0; }
.ab-split > *, .ab-vm > *, .ab-values > *, .ab-steps > * { min-width: 0; }
.ab-pillars { display: grid; gap: 14px; }
.ab-pillar { display: flex; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius-sm); transition: transform .25s var(--bm-ease), border-color .25s, box-shadow .25s; }
.ab-pillar:hover { transform: translateX(4px); border-color: var(--bm-primary); box-shadow: var(--bm-shadow); }
.ab-pillar h3, .ab-value h3, .ab-step h3 { font-family: var(--bm-font) !important; color: var(--bm-ink) !important; font-size: 16px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.ab-pillar p, .ab-value p, .ab-step p { color: var(--bm-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.ab-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--bm-accent) 10%, #fff); color: var(--bm-accent); }
.ab-ico svg { width: 22px; height: 22px; }

/* vision & mission */
.ab-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-card { position: relative; overflow: hidden; border-radius: var(--bm-radius); padding: 48px 44px; scroll-margin-top: 150px; }
.ab-tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ab-card blockquote { font-family: var(--bm-serif); font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.3; margin: 18px 0 20px; padding: 0; border: 0; }
.ab-card p { font-size: 16px; line-height: 1.7; margin: 0; position: relative; }
.ab-num { position: absolute; right: 28px; bottom: -34px; font-family: var(--bm-serif); font-size: 150px; font-weight: 700; line-height: 1; opacity: .07; pointer-events: none; }
.ab-card--vision { background: var(--bm-primary); color: #c9d3e3; }
.ab-card--vision::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--bm-accent) 40%, transparent), transparent 70%); pointer-events: none; }
.ab-card--vision .ab-tag { color: #ff9aa6; position: relative; }
.ab-card--vision blockquote { color: #fff; position: relative; }
.ab-card--vision .ab-num { color: #fff; }
.ab-card--mission { background: #fff; border: 1px solid var(--bm-line); box-shadow: var(--bm-shadow); }
.ab-card--mission .ab-tag { color: var(--bm-accent); }
.ab-card--mission blockquote { color: var(--bm-primary); }
.ab-card--mission .ab-num { color: var(--bm-primary); }
.ab-goals { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ab-goals li { display: flex; gap: 10px; color: var(--bm-body); font-size: 15px; line-height: 1.55; }
.ab-goals li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--bm-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* values */
.ab-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ab-value { position: relative; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 28px 22px; transition: transform .25s var(--bm-ease), box-shadow .25s; }
.ab-value::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--bm-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--bm-ease); }
.ab-value:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lg); }
.ab-value:hover::before { transform: scaleX(1); }
.ab-value h3 { margin-top: 18px; }

/* steps */
.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.ab-steps::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--bm-primary), var(--bm-accent)); }
.ab-step { text-align: center; padding: 0 10px; position: relative; }
.ab-dot { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--bm-primary); display: grid; place-items: center; font-weight: 700; color: var(--bm-primary); position: relative; z-index: 1; }
.ab-step:last-child .ab-dot { background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }

/* cta */
.ab-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--bm-primary) 0%, color-mix(in srgb, var(--bm-primary) 85%, #2a5599) 60%, var(--bm-accent) 140%); }
.ab-cta h2 { font-family: var(--bm-serif) !important; color: #fff !important; font-size: clamp(26px, 2.8vw, 36px); margin: 0; }
.ab-cta p { color: #c9d3e3; margin: 10px 0 0; max-width: 520px; font-size: 16px; }
.ab-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* reveal */
.ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--bm-ease), transform .7s var(--bm-ease); }
.ab-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ab-reveal { opacity: 1; transform: none; transition: none; } }

/* responsive */
@media (max-width: 1100px) {
  .ab-values { grid-template-columns: repeat(3, 1fr); }
  .ab-steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .ab-steps::before { display: none; }
}
@media (max-width: 991px) { .ab-subnav { top: 64px; } }
@media (max-width: 768px) {
  .ab-section { padding: 64px 0; }
  .ab-split, .ab-vm { grid-template-columns: 1fr; gap: 32px; }
  .ab-card { padding: 36px 26px; }
  .ab-values, .ab-steps { grid-template-columns: 1fr 1fr; }
  .ab-cta { padding: 36px 24px; }
}
@media (max-width: 480px) { .ab-values { grid-template-columns: 1fr; } }

/* =========================================================
   Membership application (front/member-request.blade.php) — .mr-*
   ========================================================= */
.mr-page { background: var(--bm-soft); }
.mr-page *, .mr-page *::before, .mr-page *::after { box-sizing: border-box; }
.mr-layout { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.mr-layout > * { min-width: 0; }
.mr-aside { position: sticky; top: 100px; }
.mr-aside .ab-h2 { font-size: clamp(24px, 2.4vw, 32px); }
.mr-benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.mr-benefits li { display: flex; gap: 14px; }
.mr-benefits h3 { font-family: var(--bm-font) !important; color: var(--bm-ink) !important; font-size: 15px; font-weight: 600; margin: 2px 0 2px; }
.mr-benefits p { margin: 0; color: var(--bm-muted); font-size: 14px; line-height: 1.55; }
.mr-process { margin-top: 32px; padding: 24px; border-radius: var(--bm-radius); background: var(--bm-primary); color: #c9d3e3; }
.mr-process h3 { font-family: var(--bm-serif) !important; color: #fff !important; font-size: 19px; margin: 0 0 14px; }
.mr-process ol { margin: 0; padding: 0; list-style: none; counter-reset: mr; display: grid; gap: 12px; }
.mr-process li { counter-increment: mr; display: flex; gap: 12px; font-size: 14px; line-height: 1.5; }
.mr-process li::before { content: counter(mr); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bm-accent); color: #fff; }
.mr-process b { color: #fff; }
.mr-help { margin: 18px 0 0; font-size: 14px; color: var(--bm-muted); }
.mr-help a { color: var(--bm-accent) !important; font-weight: 600; }

.mr-form { display: grid; gap: 20px; }
.mr-card { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 28px 30px; margin: 0; min-width: 0; box-shadow: var(--bm-shadow); }
.mr-card[hidden], .mr-field[hidden], [hidden].only-ind, [hidden].only-org { display: none !important; }
.mr-step { display: flex; align-items: center; gap: 12px; float: left; width: 100%; padding: 0; margin: 0 0 20px; font-family: var(--bm-serif); font-size: 21px; font-weight: 700; color: var(--bm-primary); }
.mr-step + * { clear: both; }
.mr-step > span:first-child { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--bm-font); font-size: 14px; background: color-mix(in srgb, var(--bm-accent) 10%, #fff); color: var(--bm-accent); }
.mr-hint { color: var(--bm-muted); font-size: 14px; margin: 0 0 16px; }
.mr-alert { padding: 14px 18px; border-radius: var(--bm-radius-sm); background: #fdecee; color: #8e1122; font-weight: 500; border: 1px solid #f5c2c8; }

/* segmented control */
.mr-seg { display: inline-flex; padding: 5px; gap: 4px; background: var(--bm-soft); border-radius: 12px; flex-wrap: wrap; }
.mr-seg label { margin: 0; cursor: pointer; }
.mr-seg input { position: absolute; opacity: 0; pointer-events: none; }
.mr-seg span { display: block; padding: 10px 22px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: var(--bm-body); transition: .2s; }
.mr-seg input:checked + span { background: #fff; color: var(--bm-primary); box-shadow: 0 2px 8px rgba(13,23,38,.1); }
.mr-seg input:focus-visible + span { outline: 2px solid var(--bm-accent); outline-offset: 2px; }

/* grade cards */
.mr-grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mr-grade { position: relative; margin: 0; cursor: pointer; }
.mr-grade input { position: absolute; opacity: 0; pointer-events: none; }
.mr-grade__body { display: block; height: 100%; padding: 16px 18px 16px 46px; border: 1.5px solid var(--bm-line); border-radius: var(--bm-radius-sm); transition: .2s; position: relative; }
.mr-grade__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3cad6; transition: .2s; }
.mr-grade:hover .mr-grade__body { border-color: var(--bm-primary); }
.mr-grade input:checked + .mr-grade__body { border-color: var(--bm-accent); background: color-mix(in srgb, var(--bm-accent) 4%, #fff); }
.mr-grade input:checked + .mr-grade__body::before { border: 5px solid var(--bm-accent); }
.mr-grade input:focus-visible + .mr-grade__body { outline: 2px solid var(--bm-accent); outline-offset: 2px; }
.mr-grade__name { display: block; font-weight: 700; color: var(--bm-ink); font-size: 15px; }
.mr-grade__desc { display: block; margin-top: 4px; color: var(--bm-muted); font-size: 13px; line-height: 1.5; }

/* fields */
.mr-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 18px; }
.mr-col-2 { grid-column: span 2; } .mr-col-5 { grid-column: span 5; } .mr-col-6 { grid-column: span 6; } .mr-col-12 { grid-column: 1 / -1; }
.mr-field { min-width: 0; }
.mr-field + .mr-grid, .mr-grid + .mr-field { margin-top: 16px; }
.mr-field > label { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--bm-ink); }
.mr-field i, .mr-submit i { color: var(--bm-accent); font-style: normal; }
.mr-field input:not([type=file]):not([type=checkbox]):not([type=radio]), .mr-field select, .mr-field textarea {
  width: 100%; height: 46px; padding: 10px 14px; border: 1.5px solid var(--bm-line); border-radius: 10px; background: #fff; color: var(--bm-ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.mr-field textarea { height: auto; min-height: 96px; resize: vertical; line-height: 1.55; }
.mr-field input:focus, .mr-field select:focus, .mr-field textarea:focus { outline: none; border-color: var(--bm-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bm-primary) 10%, transparent); }
.mr-field.has-err input, .mr-field.has-err select, .mr-field.has-err textarea, .mr-field.has-err .mr-drop { border-color: var(--bm-accent) !important; }
.mr-err { margin-top: 6px; color: var(--bm-accent); font-size: 13px; font-weight: 500; }

/* file drop */
.mr-drop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 1.5px dashed #c3cad6; border-radius: 12px; cursor: pointer; transition: .2s; background: var(--bm-soft); }
.mr-drop::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AA1629' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M12 3v12'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow: var(--bm-shadow); }
.mr-drop:hover { border-color: var(--bm-primary); }
.mr-drop.has-file { border-style: solid; border-color: #2f9e6a; background: #effaf4; }
.mr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mr-drop__txt { display: grid; min-width: 0; }
.mr-drop__txt b { color: var(--bm-ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-drop__txt small { color: var(--bm-muted); font-size: 12.5px; }

/* checks & submit */
.mr-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border: 1.5px solid var(--bm-line); border-radius: 12px; cursor: pointer; font-weight: 400; color: var(--bm-body); font-size: 14.5px; line-height: 1.55; }
.mr-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bm-accent); }
.mr-check.has-err { border-color: var(--bm-accent); }
.mr-captcha { margin: 6px 0 14px; }
.mr-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.mr-submit .bm-btn { padding: 15px 30px; border: 0; cursor: pointer; font-size: 15px; }
/* theme styles <button> inside forms (white bg) — force the brand button */
body.bm .mr-form .mr-submit button.bm-btn--primary { background: var(--bm-accent) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; height: auto !important; line-height: 1.2 !important; padding: 15px 32px !important; font-weight: 600 !important; box-shadow: 0 8px 20px -8px var(--bm-accent) !important; }
body.bm .mr-form .mr-submit button.bm-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); background: var(--bm-accent) !important; color: #fff !important; }
.mr-submit small { color: var(--bm-muted); }

/* success */
.mr-success { text-align: center; padding: 56px 32px; }
.mr-success__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #e7f6ee; color: #2f9e6a; }
.mr-success__icon svg { width: 34px; height: 34px; }
.mr-success p { color: var(--bm-body); margin: 14px auto 0; max-width: 460px; }
.mr-ref { display: inline-block; margin: 14px 0 6px; padding: 10px 22px; border-radius: 10px; background: var(--bm-soft); font-family: ui-monospace, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: .06em; color: var(--bm-primary); }
.mr-success .bm-btn { margin-top: 26px; }

@media (max-width: 991px) {
  .mr-layout { grid-template-columns: 1fr; }
  .mr-aside { position: static; order: 2; }
}
@media (max-width: 600px) {
  .mr-card { padding: 22px 18px; }
  .mr-grid { grid-template-columns: 1fr; }
  .mr-col-2, .mr-col-5, .mr-col-6, .mr-col-12 { grid-column: 1 / -1; }
  .mr-seg { display: flex; } .mr-seg label { flex: 1; text-align: center; }
}

/* =========================================================
   FAQ accordion — override theme's filled "expanded" state
   (theme paints the open header with the base colour, hiding the text)
   ========================================================= */
body.bm .faq-section .accordion .card .card-header { padding: 0 !important; background: #fff !important; }
body.bm .faq-section .accordion .card .card-header .btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 20px 24px !important; background: #fff !important; color: var(--bm-ink) !important;
  font-family: var(--bm-font); font-size: 18px; font-weight: 600; line-height: 1.4; white-space: normal; text-align: left;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transition: background .2s, color .2s;
}
body.bm .faq-section .accordion .card .card-header .btn:hover { background: var(--bm-soft) !important; color: var(--bm-primary) !important; }
body.bm .faq-section .accordion .card .card-header .btn[aria-expanded="true"] {
  background: var(--bm-soft) !important; color: var(--bm-accent) !important; box-shadow: inset 3px 0 0 var(--bm-accent) !important;
}
body.bm .faq-section .accordion .card .card-header .btn::after { position: static !important; transform: none !important; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 500; font-size: 18px !important; line-height: 1; font-family: var(--bm-font) !important; content: "+" !important; color: currentColor !important; background: transparent !important; }
body.bm .faq-section .accordion .card .card-header .btn[aria-expanded="true"]::after { content: "\2212" !important; background: var(--bm-accent) !important; border-color: var(--bm-accent); color: #fff !important; }
body.bm .faq-section .accordion .card .card-body { padding: 4px 24px 22px !important; background: var(--bm-soft); color: var(--bm-body); font-size: 16px; line-height: 1.75; }
body.bm .faq-section .accordion .card .collapse.show, body.bm .faq-section .accordion .card .collapsing { background: var(--bm-soft); }
@media (max-width: 600px) {
  body.bm .faq-section .accordion .card .card-header .btn { font-size: 16px; padding: 16px 18px !important; }
  body.bm .faq-section .accordion .card .card-body { padding: 4px 18px 18px !important; }
}

/* =========================================================
   Catalogue — Qualifications & Training
   ========================================================= */
.bm-title--sm { font-size: clamp(24px, 2.4vw, 32px) !important; margin: 56px 0 24px !important; }
.bm-cat-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.bm-cat-intro p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.7; max-width: 64ch; }
.bm-search label { display: block; font-weight: 600; font-size: 14px; color: var(--bm-ink); margin-bottom: 8px; }
.bm-search__row { display: flex; gap: 8px; }
.bm-search__row input { flex: 1; min-width: 0; height: 50px; border: 1px solid var(--bm-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 15.5px; outline: none; background: #fff; }
.bm-search__row input:focus { border-color: var(--bm-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bm-primary) 12%, transparent); }
.bm-search__row .bm-btn { height: 50px; width: 54px; padding: 0; border-radius: 12px; }

/* subject cards */
.bm-subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bm-subject { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; overflow: hidden; color: inherit !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.bm-subject:hover { box-shadow: var(--bm-shadow-lg); transform: translateY(-3px); }
.bm-subject__img, .bm-qrow__img, .bm-ccard__img, .bm-detail__hero {
  display: block; overflow: hidden; background-color: var(--bm-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--bm-primary), color-mix(in srgb, var(--bm-primary) 70%, var(--bm-accent)));
}
.bm-subject__img { aspect-ratio: 16 / 9; }
.bm-subject__img img, .bm-qrow__img img, .bm-ccard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--bm-ease); }
.bm-subject:hover .bm-subject__img img, .bm-ccard:hover .bm-ccard__img img { transform: scale(1.04); }
.bm-subject__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bm-subject__title { font-size: 18px; font-weight: 700; color: var(--bm-ink); line-height: 1.3; }
.bm-subject__text { font-size: 14.5px; line-height: 1.6; }
.bm-subject__meta { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--bm-accent); }

/* grouped lists */
.bm-group + .bm-group { margin-top: 48px; }
.bm-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--bm-primary); }
.bm-group__head h3 { margin: 0; font-size: 21px; font-weight: 700; }

/* qualification rows */
.bm-qlist { display: grid; }
.bm-qrow { display: grid; grid-template-columns: 112px 1fr auto; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--bm-line); color: inherit !important; text-decoration: none !important; }
.bm-qrow__img { aspect-ratio: 4 / 3; border-radius: 10px; }
.bm-qrow__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bm-qrow__title { font-size: 17.5px; font-weight: 700; color: var(--bm-ink); line-height: 1.35; }
.bm-qrow__text { font-size: 14.5px; line-height: 1.55; }
.bm-qrow__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-primary); font-size: 13px; transition: background-color .2s, color .2s; }
.bm-qrow:hover .bm-qrow__title { color: var(--bm-primary); }
.bm-qrow:hover .bm-qrow__go { background: var(--bm-primary); color: #fff; }

/* chips */
.bm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bm-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--bm-soft); color: var(--bm-body); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.bm-chip i { font-size: 11px; color: var(--bm-muted); }
.bm-chip--level { background: color-mix(in srgb, var(--bm-primary) 9%, #fff); color: var(--bm-primary); }

/* course cards */
.bm-cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.bm-ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; overflow: hidden; color: inherit !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.bm-ccard:hover { box-shadow: var(--bm-shadow-lg); transform: translateY(-3px); }
.bm-ccard__img { position: relative; aspect-ratio: 16 / 10; }
.bm-ccard__cat { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--bm-primary); font-size: 12px; font-weight: 700; }
.bm-ccard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bm-ccard__title { font-size: 18px; font-weight: 700; color: var(--bm-ink); line-height: 1.35; }
.bm-ccard__text { font-size: 14.5px; line-height: 1.6; }
.bm-ccard .bm-chips { margin-top: auto; padding-top: 6px; }

/* ways to learn */
.bm-formats-wrap { padding: 0 0 8px; }
.bm-formats-wrap .bm-title--sm { margin-top: 8px !important; }
.bm-formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bm-format { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--bm-soft); }
.bm-format__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--bm-accent); font-size: 17px; }
.bm-format strong { display: block; color: var(--bm-ink); font-size: 16px; margin-bottom: 2px; }
.bm-format span span { display: block; font-size: 14px; line-height: 1.5; }

/* filter pills */
.bm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.bm-pills a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bm-line); color: var(--bm-ink) !important; font-weight: 600; font-size: 14.5px; background: #fff; }
.bm-pills a:hover { border-color: var(--bm-primary); }
.bm-pills a.is-active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff !important; }

/* listing with sidebar */
.bm-listing { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.bm-listing__note { font-weight: 600; color: var(--bm-ink); margin-bottom: 12px; }
.bm-empty { padding: 40px; text-align: center; border: 1px dashed var(--bm-line); border-radius: 16px; color: var(--bm-muted); }
.bm-listing__side { display: grid; gap: 20px; position: sticky; top: 100px; }
.bm-search--side { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 18px; }
.bm-sidenav, .bm-sidecard { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.bm-sidenav h4, .bm-sidecard h4 { font-size: 15px !important; font-weight: 700; margin: 0 0 10px; color: var(--bm-ink); }
.bm-sidenav a, .bm-sidecard > a { padding: 9px 10px; border-radius: 8px; color: var(--bm-body) !important; font-size: 14.5px; }
.bm-sidenav a:hover, .bm-sidecard > a:hover { background: var(--bm-soft); color: var(--bm-ink) !important; }
.bm-sidenav a.is-active { background: color-mix(in srgb, var(--bm-primary) 8%, #fff); color: var(--bm-primary) !important; font-weight: 700; }

/* support cards */
.bm-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bm-support__item { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--bm-line); color: inherit !important; text-decoration: none !important; transition: border-color .2s, box-shadow .2s; }
.bm-support__item:hover { border-color: color-mix(in srgb, var(--bm-primary) 35%, var(--bm-line)); box-shadow: var(--bm-shadow); }
.bm-support__title { font-size: 18px; font-weight: 700; color: var(--bm-ink); }
.bm-support__text { font-size: 15px; line-height: 1.6; }
.bm-support__item .bm-link { margin-top: auto; }

/* detail pages */
.bm-detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.bm-detail__hero { margin: 0 0 28px; border-radius: 20px; aspect-ratio: 16 / 8; }
.bm-detail__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-detail .bm-ab-lead { font-size: 19px; color: var(--bm-ink); line-height: 1.6; margin: 0 0 20px; }
.bm-prose--left { margin: 0; max-width: 72ch; }
.bm-sidecard--sticky { position: sticky; top: 100px; padding: 24px; box-shadow: var(--bm-shadow); }
.bm-keyfacts { margin: 0 0 20px; display: grid; }
.bm-keyfacts > div { padding: 12px 0; border-bottom: 1px solid var(--bm-line); }
.bm-keyfacts > div:first-child { border-top: 1px solid var(--bm-line); }
.bm-keyfacts dt { font-size: 13px; font-weight: 600; color: var(--bm-muted); margin-bottom: 2px; }
.bm-keyfacts dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--bm-ink); line-height: 1.45; }
.bm-keyfacts dd a { color: var(--bm-primary); text-decoration: underline; text-underline-offset: 3px; }
.bm-sidecard__actions { display: grid; gap: 10px; }
.bm-sidecard__actions .bm-btn { width: 100%; }
body.bm .bm-tabs { margin: 8px 0 20px; }
body.bm .course-details-section .tab-pane .review_user { padding: 12px 0; border-bottom: 1px solid var(--bm-line); }
body.bm .course-details-section .tab-pane .review_user img { width: 36px; height: 36px; border-radius: 50%; margin-inline-end: 10px; }
body.bm .course-details-section .tab-pane .review_user .rate { display: none; }

/* =========================================================
   Mega menu (RoSPA-style)
   ========================================================= */
.bm-header .main-menu > ul > li.bm-mega-li { position: static !important; }
.bm-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 950;
  background: var(--bm-primary); color: rgba(255,255,255,.85);
  border-top: 3px solid var(--bm-accent);
  box-shadow: 0 30px 50px -20px rgba(5,12,25,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.bm-header .main-menu > ul > li.bm-mega-li:hover > .bm-mega,
.bm-header .main-menu > ul > li.bm-mega-li:focus-within > .bm-mega { opacity: 1; visibility: visible; transform: none; }
.bm-header .main-menu > ul > li.bm-mega-li > ul.bm-mega__mobile { display: none !important; }
.bm-mega__inner { display: grid; gap: 32px 40px; padding-top: 36px; padding-bottom: 40px; }
.bm-mega--qual { grid-template-columns: 1fr 1.25fr 1fr 1.1fr; }
.bm-mega--train { grid-template-columns: repeat(4, 1fr); }
.bm-mega__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-header .bm-mega a { padding: 0 !important; border-radius: 0; background: none !important; display: block; font-weight: 500 !important; font-size: 15px !important; color: rgba(255,255,255,.86) !important; line-height: 1.45; }
.bm-header .bm-mega__col > a { padding: 6px 0 !important; }
.bm-header .bm-mega__col > a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.bm-header .bm-mega .bm-mega__title { display: block; margin: 0 0 8px; padding: 0 0 10px !important; font-size: 13.5px !important; font-weight: 700 !important; letter-spacing: .02em; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.14); }
.bm-header .bm-mega a.bm-mega__title:hover { color: #ff9fae !important; text-decoration: none; }
.bm-header .bm-mega .bm-mega__all { margin-top: 6px; font-weight: 700 !important; color: #ff9fae !important; }
.bm-mega__promo { display: flex !important; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.bm-mega__promo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.bm-mega__promo-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.bm-mega__promo-body strong { color: #fff; font-size: 16px; }
.bm-mega__promo-body span { font-size: 13.5px; line-height: 1.5; }
.bm-mega__promo-link { color: #ff9fae; font-weight: 700; }

@media (max-width: 1199px) {
  .bm-mega--qual { grid-template-columns: 1fr 1.2fr 1fr; }
  .bm-mega__promo { display: none !important; }
  .bm-cgrid, .bm-subjects { grid-template-columns: repeat(2, 1fr); }
  .bm-formats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .bm-cat-intro, .bm-listing, .bm-detail { grid-template-columns: 1fr; gap: 28px; }
  .bm-listing__side, .bm-sidecard--sticky { position: static; }
  .bm-support { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .bm-cgrid, .bm-subjects, .bm-formats { grid-template-columns: 1fr; }
  .bm-qrow { grid-template-columns: 84px 1fr; gap: 14px; }
  .bm-qrow__go { display: none; }
}

/* Home: 3-up qualification subjects + training section */
.bm-offer--3 { grid-template-columns: repeat(3, 1fr); }
.bm-section .bm-head-row + .bm-pills { margin-top: -8px; }
@media (max-width: 1199px) { .bm-offer--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .bm-offer--3 { grid-template-columns: 1fr; } }

/* Contact: enquiry summary (from a course / qualification page) */
.bm-enquiry { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin: 0 0 24px; background: #f5f7fa; border: 1px solid var(--bm-line, #e5e7eb); border-left: 3px solid var(--bm-red, #AA1629); border-radius: 12px; scroll-margin-top: 120px; }
.bm-enquiry__img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.bm-enquiry__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-right: 24px; }
.bm-enquiry__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bm-red, #AA1629); }
.bm-enquiry__title { font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--bm-navy, #051935) !important; }
.bm-enquiry__title:hover { text-decoration: underline; }
.bm-enquiry__note { margin: 2px 0 0; font-size: 13px; color: #6b7280; }
.bm-enquiry__remove { position: absolute; top: 10px; right: 12px; color: #6b7280 !important; font-size: 14px; line-height: 1; padding: 4px; }
.bm-enquiry__remove:hover { color: var(--bm-red, #AA1629) !important; }
.contact-form textarea { line-height: 1.55; }
@media (max-width: 575px) { .bm-enquiry__img { display: none; } }
.contact-form textarea.bm-enquiry-msg { height: 380px !important; min-height: 380px; }

/* Contact: form and map side by side, same height (map fills the column) */
@media (min-width: 992px) {
  body.bm .bm-contact-row { align-items: stretch; }
  body.bm .bm-contact-map { display: flex; flex-direction: column; }
  body.bm .bm-contact-map .map-wrapper { flex: 1 1 auto; position: relative; height: auto; min-height: 460px; margin-top: 0; }
  body.bm .bm-contact-map .map-wrapper #map { position: absolute; inset: 0; height: auto; min-height: 0; margin: 0; }
  body.bm .bm-contact-map .map-wrapper #map iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
}

/* =========================================================
   News, gallery, events, standards, hero text (Oct 29)
   ========================================================= */
.bm-pills button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bm-line); color: var(--bm-ink); font-weight: 600; font-size: 14.5px; background: #fff; cursor: pointer; transition: all .2s var(--bm-ease); }
.bm-pills button:hover { border-color: var(--bm-primary); }
.bm-pills button.is-active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }

/* News cards */
.bm-ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bm-ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s var(--bm-ease), transform .3s var(--bm-ease); }
.bm-ncard:hover { box-shadow: var(--bm-shadow-lg); transform: translateY(-2px); }
.bm-ncard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bm-soft); }
.bm-ncard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--bm-ease); }
.bm-ncard:hover .bm-ncard__img img { transform: scale(1.04); }
.bm-ncard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.bm-ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--bm-muted); }
.bm-ncard__cat { color: var(--bm-accent) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.bm-ncard__flag { background: var(--bm-accent); color: #fff; font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.bm-ncard__title { font-family: var(--bm-serif) !important; font-size: 21px; line-height: 1.3; margin: 0; font-weight: 700; }
.bm-ncard__title a { color: var(--bm-primary) !important; }
.bm-ncard__title a:hover { color: var(--bm-accent) !important; }
.bm-ncard__text { margin: 0; color: var(--bm-body); font-size: 15px; line-height: 1.6; flex: 1; }
.bm-ncard--featured { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 32px; }
.bm-ncard--featured .bm-ncard__img { aspect-ratio: auto; min-height: 340px; }
.bm-ncard--featured .bm-ncard__body { padding: 36px 40px; justify-content: center; }
.bm-ncard--featured .bm-ncard__title { font-size: 32px; }
.bm-ncard--featured .bm-ncard__text { flex: 0; font-size: 16.5px; }
.bm-pagination { margin-top: 40px; display: flex; justify-content: center; }

/* Article */
.bm-article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; color: var(--bm-muted); margin-bottom: 12px; }
.bm-article__meta i { margin-right: 4px; }
.bm-article__title { font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; margin: 0 0 24px; font-weight: 700; }
.bm-prose .bm-lead { font-size: 19px; line-height: 1.65; color: var(--bm-ink); }
.bm-prose .bm-callout { margin: 32px 0 0; padding: 18px 22px; background: var(--bm-soft); border-left: 3px solid var(--bm-accent); border-radius: 0 12px 12px 0; }
.bm-prose .bm-callout p { margin: 0; }
.bm-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--bm-line); }
.bm-share span { font-weight: 700; color: var(--bm-ink); margin-right: 6px; font-size: 14.5px; }
.bm-share a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--bm-line); color: var(--bm-primary) !important; transition: all .2s var(--bm-ease); }
.bm-share a:hover { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff !important; }
.bm-detail__side .bm-sidecard--sticky > * + * { margin-top: 20px; }

/* Gallery */
.bm-gallery { columns: 3 300px; column-gap: 20px; }
.bm-gallery__item { break-inside: avoid; margin: 0 0 20px; border-radius: 14px; overflow: hidden; position: relative; background: var(--bm-soft); }
.bm-gallery__item[hidden] { display: none; }
.bm-gallery__item a { display: block; cursor: zoom-in; }
.bm-gallery__item img { width: 100%; height: auto; display: block; min-height: 120px; transition: transform .5s var(--bm-ease); }
.bm-gallery__item:hover img { transform: scale(1.03); }
.bm-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.35; background: linear-gradient(transparent, rgba(5,12,25,.82)); pointer-events: none; opacity: 0; transform: translateY(6px); transition: all .3s var(--bm-ease); }
.bm-gallery__item figcaption span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 3px; }
.bm-gallery__item:hover figcaption, .bm-gallery__item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .bm-gallery__item figcaption { opacity: 1; transform: none; } }
.bm-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(5,12,25,.94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.bm-lightbox[hidden] { display: none; }
.bm-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.bm-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; display: block; }
.bm-lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; text-align: center; }
.bm-lightbox__close, .bm-lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.bm-lightbox__close:hover, .bm-lightbox__nav:hover { background: var(--bm-accent); border-color: var(--bm-accent); }
.bm-lightbox__close { top: 16px; right: 16px; }
.bm-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.bm-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Events */
.bm-elist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.bm-ecard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; overflow: hidden; color: inherit !important; text-decoration: none !important; transition: box-shadow .3s var(--bm-ease), transform .3s var(--bm-ease); }
.bm-ecard:hover { box-shadow: var(--bm-shadow-lg); transform: translateY(-2px); }
.bm-ecard.is-past { opacity: .72; }
.bm-ecard__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bm-soft); }
.bm-ecard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-ecard__date { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1.1; box-shadow: var(--bm-shadow); min-width: 64px; }
.bm-ecard__date strong { display: block; font-family: var(--bm-serif); font-size: 26px; color: var(--bm-accent); }
.bm-ecard__date span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--bm-primary); letter-spacing: .04em; }
.bm-ecard__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bm-ecard__cat { color: var(--bm-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.bm-ecard__title { font-weight: 700; font-size: 18.5px; line-height: 1.35; color: var(--bm-primary); }
.bm-ecard:hover .bm-ecard__title { color: var(--bm-accent); }
.bm-notice { padding: 12px 16px; border-radius: 12px; background: #fff4e5; color: #8a4b00; font-weight: 600; margin-bottom: 20px; }

/* Standards strip (ISO badges) */
.bm-standards { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.bm-standards__head .bm-title { font-size: clamp(24px, 2.4vw, 32px); margin: 6px 0 0; }
.bm-standards__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; }
.bm-standards__list li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; border: 1px solid var(--bm-line); border-radius: 16px; background: #fff; text-align: center; }
.bm-standards__list img { width: 92px; height: 92px; object-fit: contain; }
.bm-standards__list span { font-weight: 700; font-size: 14px; color: var(--bm-primary); }

/* Hero text */
.bm-hero__text .hero-content .bm-hero__h { font-family: var(--bm-serif) !important; color: #fff !important; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; margin-bottom: 18px; font-weight: 700; }
.bm-hero__text .hero-content h1 { margin-bottom: 18px; color: #fff !important; }
.bm-hero__p { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.55; max-width: 520px; margin: 0 0 28px; }
.bm-hero .single-carousel-active.has-text .bm-hero__text { background: linear-gradient(90deg, rgba(5,12,25,.82) 0%, rgba(5,12,25,.55) 45%, rgba(5,12,25,.05) 80%); }

@media (max-width: 1199px) {
  .bm-ngrid, .bm-elist { grid-template-columns: repeat(2, 1fr); }
  .bm-ncard--featured { grid-template-columns: 1fr; }
  .bm-ncard--featured .bm-ncard__img { min-height: 0; aspect-ratio: 16 / 9; }
  .bm-standards { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .bm-ngrid, .bm-elist { grid-template-columns: 1fr; }
  .bm-ncard--featured .bm-ncard__body { padding: 22px; }
  .bm-ncard--featured .bm-ncard__title { font-size: 24px; }
  .bm-lightbox { padding: 56px 8px; }
  .bm-lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .bm-hero__p { display: none; }
  .bm-standards__list { grid-template-columns: repeat(2, 1fr); }
}

/* Accreditation logos: centre any number of cards (4 ISO badges) */
.bm-logos { grid-template-columns: repeat(auto-fit, minmax(170px, 230px)) !important; justify-content: center; }
@media (max-width: 575px) { .bm-logos { grid-template-columns: repeat(2, 1fr) !important; } }

/* FAQ — category mode (.faq-area-v1: sidebar tabs + a.card-header accordion) */
body.bm .faq-area-v1 .faq-details-wrapper .card { border: 1px solid var(--bm-line) !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 12px !important; background: #fff; }
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px !important; background: #fff !important; color: var(--bm-ink) !important;
  font-family: var(--bm-font); font-size: 18px; font-weight: 600; line-height: 1.4; text-decoration: none !important;
  border: 0 !important; border-radius: 0 !important; transition: background .2s, color .2s;
}
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header:hover { background: var(--bm-soft) !important; color: var(--bm-primary) !important; }
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header[aria-expanded="true"] {
  background: var(--bm-soft) !important; color: var(--bm-accent) !important; box-shadow: inset 3px 0 0 var(--bm-accent);
}
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header .toggle_btn { float: none !important; flex: none; order: 2; }
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header .toggle_btn::after {
  content: "+" !important; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid currentColor; font-family: var(--bm-font) !important; font-size: 18px; font-weight: 500; line-height: 1; color: currentColor;
}
body.bm .faq-area-v1 .faq-details-wrapper .card .card-header[aria-expanded="true"] .toggle_btn::after { content: "\2212" !important; background: var(--bm-accent); border-color: var(--bm-accent); color: #fff; }
body.bm .faq-area-v1 .faq-details-wrapper .card .card-body { border: 0 !important; padding: 4px 24px 22px !important; background: var(--bm-soft); }
body.bm .faq-area-v1 .faq-details-wrapper .card .card-body p { margin: 0; color: var(--bm-body); font-size: 16px; line-height: 1.75; }
body.bm .faq-area-v1 .categories-widget .nav-tabs { flex-direction: column; border: 0 !important; gap: 4px; }
body.bm .faq-area-v1 .categories-widget .nav-tabs .nav-link { display: block; padding: 12px 16px !important; border-radius: 10px !important; box-shadow: none !important; color: var(--bm-ink) !important; font-weight: 600; transition: background .2s, color .2s; }
body.bm .faq-area-v1 .categories-widget .nav-tabs .nav-link:hover { background: var(--bm-soft); color: var(--bm-primary) !important; }
body.bm .faq-area-v1 .categories-widget .nav-tabs .nav-link.active { background: var(--bm-soft); color: var(--bm-accent) !important; box-shadow: inset 3px 0 0 var(--bm-accent) !important; }
@media (max-width: 991px) {
  body.bm .faq-area-v1 .categories-widget .nav-tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 24px; }
  body.bm .faq-area-v1 .categories-widget .nav-tabs .nav-link { white-space: nowrap; }
}
@media (max-width: 600px) {
  body.bm .faq-area-v1 .faq-details-wrapper .card .card-header { font-size: 16px; padding: 16px 18px !important; }
}

/* =========================================================
   Shared blocks used by page sections: intro, steps, why, CTA, ticks
   ========================================================= */
.bm-as-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.bm-as-intro__img { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.bm-as-intro__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-as-intro__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.bm-as-points .bm-format h4 { font-size: 16px; margin: 0 0 4px; color: var(--bm-ink); font-weight: 700; }
.bm-as-points .bm-format p { margin: 0; font-size: 14.5px; line-height: 1.55; }

.bm-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.bm-steps li { position: relative; padding: 22px 20px; border: 1px solid var(--bm-line); border-radius: 16px; background: #fff; }
.bm-steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.bm-steps h4 { font-size: 17px; margin: 0 0 6px; color: var(--bm-ink); font-weight: 700; }
.bm-steps p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.bm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bm-why__item { padding: 26px; border-radius: 16px; background: #fff; border-left: 4px solid var(--bm-accent); }
.bm-why__item h4 { font-family: var(--bm-serif); font-size: 21px; color: var(--bm-primary); margin: 0 0 8px; font-weight: 700; }
.bm-why__item p { margin: 0; }
.bm-as-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 44px; border-radius: 22px; background: linear-gradient(120deg, var(--bm-primary) 0%, #0b2a55 60%, var(--bm-accent) 140%); color: #fff; }
.bm-as-cta h2 { font-family: var(--bm-serif); color: #fff !important; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 8px; }
.bm-as-cta p { margin: 0; color: rgba(255,255,255,.85); max-width: 620px; }
.bm-as-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

.bm-ticks { list-style: none; padding: 0 !important; }
.bm-ticks li { position: relative; padding-left: 30px !important; }
.bm-ticks li::before { content: "\f00c"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--bm-accent); font-size: 14px; background: none !important; width: auto; height: auto; }

.bm-title--sm { font-size: 28px !important; }

@media (max-width: 1199px) {
  .bm-steps { grid-template-columns: repeat(3, 1fr); }
  .bm-as-intro { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .bm-why { grid-template-columns: 1fr; }
  .bm-steps { grid-template-columns: 1fr; }
  .bm-as-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
.bm-prose ul.bm-ticks li { list-style: none !important; }
.bm-prose ul.bm-ticks li::marker { content: "" !important; }
.bm-prose ul.bm-ticks { margin-left: 0 !important; }

/* Header nav: never wrap labels; tighter spacing on mid-size screens */
.bm-header .main-menu > ul > li > a { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399px) {
  .bm-header .main-menu > ul { gap: 0; }
  .bm-header .main-menu > ul > li > a { padding-left: 10px !important; padding-right: 10px !important; font-size: 14.5px !important; }
  .bm-header .bm-btn { padding-left: 16px; padding-right: 16px; }
}

/* Membership benefits page */
.bm-mb-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.bm-mb-grades { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bm-mb-grades li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 18px; border: 1px solid var(--bm-line); border-radius: 14px; background: #fff; border-left: 4px solid var(--bm-accent); }
.bm-mb-grades strong { color: var(--bm-primary); font-family: var(--bm-serif); font-size: 18px; }
.bm-mb-grades span { font-size: 14px; line-height: 1.5; }
.bm-mb-benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.bm-mb-benefit { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 22px 20px; transition: box-shadow .3s var(--bm-ease), transform .3s var(--bm-ease); }
.bm-mb-benefit:hover { box-shadow: var(--bm-shadow-lg); transform: translateY(-2px); }
.bm-mb-benefit__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(170,22,41,.08); color: var(--bm-accent); font-size: 19px; margin-bottom: 14px; }
.bm-mb-benefit h3 { font-size: 17px; font-weight: 700; color: var(--bm-ink); margin: 0 0 6px; line-height: 1.3; }
.bm-mb-benefit p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.bm-mb-table-wrap { overflow-x: auto; border: 1px solid var(--bm-line); border-radius: 16px; }
.bm-mb-table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
.bm-mb-table th, .bm-mb-table td { padding: 13px 16px; border-bottom: 1px solid var(--bm-line); text-align: center; font-size: 15px; }
.bm-mb-table thead th { background: var(--bm-primary); color: #fff; font-weight: 700; font-size: 14.5px; }
.bm-mb-table tbody th { text-align: left; font-weight: 600; color: var(--bm-ink); }
.bm-mb-table tbody tr:nth-child(even) { background: var(--bm-soft); }
.bm-mb-table tbody tr:last-child th, .bm-mb-table tbody tr:last-child td { border-bottom: 0; }
.bm-mb-table .fa-check { color: #13723a; }
.bm-mb-no { color: var(--bm-muted); }
.bm-mb-corp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bm-mb-corp__list li { font-size: 16px; margin-bottom: 12px; padding-left: 30px; position: relative; list-style: none; }
.bm-mb-corp__list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--bm-accent); }
.bm-mb-corp__list { padding: 0; margin: 0; }
.bm-steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199px) { .bm-mb-benefits { grid-template-columns: repeat(3, 1fr); } .bm-mb-intro, .bm-mb-corp { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767px) { .bm-mb-benefits, .bm-steps--4 { grid-template-columns: 1fr; } .bm-mb-grades li { grid-template-columns: 1fr; gap: 4px; } }
.bm-member-card__list { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.bm-member-card__list li { color: rgba(255,255,255,.9); font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.bm-member-card__list i { color: #ff9fae; width: 16px; text-align: center; }

/* Event calendar */
.bm-cal-next { display: grid; grid-template-columns: 220px auto 1fr auto; gap: 22px; align-items: center; padding: 14px; margin-bottom: 26px; border: 1px solid var(--bm-line); border-left: 4px solid var(--bm-accent); border-radius: 18px; background: #fff; color: inherit !important; text-decoration: none !important; box-shadow: var(--bm-shadow); }
.bm-cal-next img { width: 220px; height: 124px; object-fit: cover; border-radius: 12px; display: block; }
.bm-cal-next__date { text-align: center; line-height: 1.1; padding: 0 6px; }
.bm-cal-next__date strong { display: block; font-family: var(--bm-serif); font-size: 40px; color: var(--bm-accent); }
.bm-cal-next__date span { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bm-primary); }
.bm-cal-next__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bm-cal-next__title { font-family: var(--bm-serif); font-weight: 700; font-size: 22px; color: var(--bm-primary); line-height: 1.25; }
.bm-cal-next .bm-btn { margin-right: 10px; white-space: nowrap; }
.bm-cal-wrap { background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; padding: 22px; }
.bm-cal-wrap .fc-toolbar h2 { font-family: var(--bm-serif); color: var(--bm-primary); font-size: 26px; }
.bm-cal-wrap .fc-button { background: #fff !important; color: var(--bm-ink) !important; border: 1px solid var(--bm-line) !important; box-shadow: none !important; text-transform: capitalize; font-weight: 600; border-radius: 999px !important; padding: 6px 14px !important; margin: 0 2px !important; }
.bm-cal-wrap .fc-button:hover, .bm-cal-wrap .fc-button-active { background: var(--bm-primary) !important; color: #fff !important; border-color: var(--bm-primary) !important; }
.bm-cal-wrap .fc-button:disabled { opacity: .45; }
.bm-cal-wrap .fc-day-header { padding: 10px 0 !important; font-weight: 700; color: var(--bm-ink); background: var(--bm-soft); }
.bm-cal-wrap td, .bm-cal-wrap th { border-color: var(--bm-line) !important; }
.bm-cal-wrap .fc-day-number { padding: 6px 8px !important; font-weight: 600; color: var(--bm-ink); }
.bm-cal-wrap .fc-today { background: rgba(5,25,53,.04) !important; }
.bm-cal-wrap .fc-day.bm-cal-focus { background: rgba(170,22,41,.07) !important; box-shadow: inset 0 0 0 2px var(--bm-accent); }
.bm-cal-wrap .fc-event { border: 0 !important; border-radius: 6px !important; padding: 3px 6px !important; font-size: 12.5px !important; font-weight: 600; background: var(--bm-primary) !important; color: #fff !important; white-space: normal; }
.bm-cal-wrap .fc-event.bm-cal-ev--webinars { background: #1f5fa8 !important; }
.bm-cal-wrap .fc-event.bm-cal-ev--conferences { background: var(--bm-accent) !important; }
.bm-cal-wrap .fc-event.bm-cal-ev--open-days { background: #13723a !important; }
.bm-cal-wrap .fc-event.bm-cal-ev--calendar { background: #6b7280 !important; }
.bm-cal-wrap .fc-event.is-next { box-shadow: 0 0 0 3px rgba(170,22,41,.35); animation: bmPulse 1.6s ease-in-out 3; }
.bm-cal-wrap .fc-list-item.is-next td { background: rgba(170,22,41,.07) !important; }
.bm-cal-wrap .fc-list-item:hover td { background: var(--bm-soft) !important; }
@keyframes bmPulse { 50% { box-shadow: 0 0 0 7px rgba(170,22,41,.15); } }
.bm-cal-foot { margin: 16px 0 0; text-align: right; }
.bm-cal-foot a { font-weight: 700; color: var(--bm-accent); }
@media (max-width: 991px) {
  .bm-cal-next { grid-template-columns: auto 1fr; }
  .bm-cal-next img { display: none; }
  .bm-cal-next .bm-btn { grid-column: 1 / -1; justify-self: start; margin: 0; }
  .bm-cal-wrap { padding: 12px; }
  .bm-cal-wrap .fc-toolbar h2 { font-size: 19px; }
}
.bm-cal-wrap #calendar, .bm-cal-wrap .fc { max-width: none !important; width: 100% !important; margin: 0 !important; }
.bm-cal-wrap td.fc-today, .bm-cal-wrap .fc-bg td.fc-today { background: rgba(5,25,53,.05) !important; }
.bm-cal-wrap .fc-day-top.fc-today .fc-day-number { background: var(--bm-primary); color: #fff; border-radius: 999px; padding: 2px 8px !important; margin: 4px; }
.bm-cal-wrap .fc-day-grid-event .fc-content { white-space: normal !important; overflow: visible; line-height: 1.3; }
.bm-cal-wrap .fc-day-grid-event .fc-time { font-weight: 700; margin-right: 3px; }

/* Footer logo: light GITTA crest with lions, straight on the dark footer (no white box) */
.bm-footer__logo { background: none !important; padding: 0 !important; border-radius: 0 !important; margin-bottom: 18px; }
.bm-footer__logo img { height: auto !important; width: 320px; max-width: 100%; }
@media (max-width: 1199px) { .bm-footer__logo img { width: 280px; } }
@media (max-width: 767px) { .bm-footer__logo img { width: 240px; } }

/* =====================================================================
   CMS page builder sections (resources/views/front/sections/*)
   ===================================================================== */
.bm-section--flush { padding: 0 !important; }
.bm-section--navy { background: var(--bm-primary); color: rgba(255,255,255,.82); }
.bm-section--navy .bm-title, .bm-section--navy .ab-h2, .bm-section--navy h2, .bm-section--navy h3, .bm-section--navy h4 { color: #fff !important; }
.bm-section--navy .bm-eyebrow { color: #f3b9c1; }
.bm-section--navy .bm-head__sub, .bm-section--navy .bm-prose, .bm-section--navy .ab-body { color: rgba(255,255,255,.78); }
.bm-cms-narrow { max-width: 820px; margin: 0 auto; }
.bm-cms-grid { grid-template-columns: repeat(var(--bm-cols, 3), minmax(0, 1fr)) !important; }
.bm-cms-steps { grid-template-columns: repeat(var(--bm-cols, 5), minmax(0, 1fr)); }
.bm-cms-reverse > :first-child { order: 2; }
.bm-cms-figure { margin: 0; border-radius: var(--bm-radius); overflow: hidden; box-shadow: var(--bm-shadow-lg); }
.bm-cms-figure img { display: block; width: 100%; height: auto; }
.bm-cms-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 18px; }
.bm-cms-cardtext p:last-child, .bm-cms-cardtext ul:last-child { margin-bottom: 0; }
.bm-cms-cardtext ul { padding-left: 18px; margin: 10px 0 0; }
.bm-cms-cardlink { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 600; color: var(--bm-accent); }
.bm-cta__text { color: rgba(255,255,255,.85); font-size: 17px; margin: -8px 0 24px; position: relative; }
.bm-qa { display: grid; gap: 12px; }
.bm-qa__item { border: 1px solid var(--bm-line); border-radius: var(--bm-radius-sm); background: #fff; }
.bm-qa__item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--bm-ink); position: relative; }
.bm-qa__item summary::-webkit-details-marker { display: none; }
.bm-qa__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--bm-accent); line-height: 1; }
.bm-qa__item[open] summary::after { content: "\2013"; }
.bm-qa__body { padding: 0 22px 18px; }
.bm-cms-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bm-cms-photos figure { margin: 0; border-radius: var(--bm-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.bm-cms-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1199px) {
  .bm-cms-grid { grid-template-columns: repeat(min(var(--bm-cols, 3), 3), minmax(0, 1fr)) !important; }
  .bm-cms-steps { grid-template-columns: repeat(min(var(--bm-cols, 5), 3), minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .bm-cms-grid { grid-template-columns: repeat(min(var(--bm-cols, 3), 2), minmax(0, 1fr)) !important; }
  .bm-cms-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-cms-reverse > :first-child { order: 0; }
  .bm-cms-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .bm-cms-grid, .bm-cms-steps { grid-template-columns: 1fr !important; }
}
.ab-card .bm-cms-cardtext { position: relative; }
.ab-card--vision .bm-cms-cardtext, .ab-card--vision .bm-cms-cardtext p, .ab-card--vision .bm-cms-cardtext li { color: #c9d3e3; }
.ab-card .bm-cms-cardtext ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ab-card .bm-cms-cardtext li { display: flex; gap: 10px; color: var(--bm-body); font-size: 15px; line-height: 1.55; }
.ab-card .bm-cms-cardtext li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--bm-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.ab-card .bm-cms-cardtext p + ul { margin-top: 14px; }

/* =========================================================
   Feedback messages (public site): toastr flashes, form
   errors, error boxes. "Safety notice": white card, thick
   coloured side bar, sign icon, serif title, top-right.
   The portal has its own, different look (assets/css/gitta-feedback.css).
   ========================================================= */
:root {
  --bm-fb-err: #AA1629; --bm-fb-ok: #00703C; --bm-fb-warn: #B45F06; --bm-fb-info: #051935;
  --bm-fb-i-err: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8 .9 21.6h22.2L12 1.8zm-1.15 6.7h2.3l-.35 7.3h-1.6l-.35-7.3zM12 19.6a1.45 1.45 0 110-2.9 1.45 1.45 0 010 2.9z'/%3E%3C/svg%3E");
  --bm-fb-i-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5a10.5 10.5 0 100 21 10.5 10.5 0 000-21zm-1.6 15.3-4.5-4.5 1.6-1.6 2.9 2.9 6.3-6.3 1.6 1.6-7.9 7.9z'/%3E%3C/svg%3E");
  --bm-fb-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5a10.5 10.5 0 100 21 10.5 10.5 0 000-21zm-1.2 8.5h2.4v8.5h-2.4V10zM12 5.3a1.5 1.5 0 110 3 1.5 1.5 0 010-3z'/%3E%3C/svg%3E");
  --bm-fb-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.4 5 5 6.4 10.6 12 5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6L19 6.4 17.6 5 12 10.6z'/%3E%3C/svg%3E");
}
#toast-container.toast-top-right { top: 20px; right: 20px; }
#toast-container.toast-top-left { top: 20px; left: 20px; }
#toast-container > div.toast {
  position: relative; width: 400px !important; max-width: calc(100vw - 32px);
  margin: 0 0 12px !important; padding: 16px 44px 18px 62px !important;
  background: #fff !important; background-image: none !important;
  border: 0 !important; border-left: 6px solid var(--bm-fb-tone, var(--bm-fb-info)) !important; border-radius: 4px !important;
  box-shadow: 0 0 0 1px rgba(5,25,53,.08), 0 18px 40px -16px rgba(5,25,53,.4) !important;
  color: var(--bm-ink, #0d1726) !important; opacity: 1 !important; overflow: hidden;
  font-family: var(--bm-font); text-align: start;
}
#toast-container > div.toast::before { content: none; }
#toast-container > div.toast::after {
  content: ""; position: absolute; left: 20px; top: 17px; width: 26px; height: 26px; background: var(--bm-fb-tone, var(--bm-fb-info));
  -webkit-mask: var(--bm-fb-icon, var(--bm-fb-i-info)) center / contain no-repeat; mask: var(--bm-fb-icon, var(--bm-fb-i-info)) center / contain no-repeat;
}
#toast-container > div.toast-error { --bm-fb-tone: var(--bm-fb-err); --bm-fb-icon: var(--bm-fb-i-err); }
#toast-container > div.toast-success { --bm-fb-tone: var(--bm-fb-ok); --bm-fb-icon: var(--bm-fb-i-ok); }
#toast-container > div.toast-warning { --bm-fb-tone: var(--bm-fb-warn); --bm-fb-icon: var(--bm-fb-i-err); }
#toast-container > div.toast-info { --bm-fb-tone: var(--bm-fb-info); --bm-fb-icon: var(--bm-fb-i-info); }
#toast-container > div.toast .toast-title {
  display: block; margin: 0 0 4px; padding: 0 !important; font: 700 17px/1.25 var(--bm-serif); color: var(--bm-fb-tone, var(--bm-fb-info));
}
#toast-container > div.toast .toast-message { display: block; margin: 0 !important; padding: 0 !important; font: 400 14.5px/1.55 var(--bm-font); color: #2b3647; word-wrap: break-word; }
#toast-container > div.toast .toast-message a { color: var(--bm-fb-info); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#toast-container > div.toast .toast-close-button {
  position: absolute !important; top: 12px !important; right: 12px !important; left: auto;
  width: 26px; height: 26px; padding: 0; margin: 0; border: 0; border-radius: 4px; background: transparent;
  color: transparent !important; font-size: 0 !important; opacity: 1 !important; text-shadow: none !important; cursor: pointer;
}
#toast-container > div.toast .toast-close-button::before {
  content: ""; position: absolute; inset: 5px; background: #4a5568;
  -webkit-mask: var(--bm-fb-i-x) center / contain no-repeat; mask: var(--bm-fb-i-x) center / contain no-repeat;
}
#toast-container > div.toast .toast-close-button:hover { background: #f0f2f6; }
#toast-container > div.toast .toast-close-button:focus-visible { outline: 3px solid #ffdd00; outline-offset: 0; }
#toast-container > div.toast .toast-progress { position: absolute; left: 0; bottom: 0; height: 3px; opacity: .35; background: var(--bm-fb-tone) !important; }
[dir=rtl] #toast-container > div.toast { padding: 16px 62px 18px 44px !important; border-left: 0 !important; border-right: 6px solid var(--bm-fb-tone, var(--bm-fb-info)) !important; }
[dir=rtl] #toast-container > div.toast::after { left: auto; right: 20px; }
[dir=rtl] #toast-container > div.toast .toast-close-button { right: auto !important; left: 12px !important; }

/* form errors: bold red message, red bar beside the field (safety-form style) */
.mr-err, form p.text-danger, form div.text-danger {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 7px; text-align: start;
  font: 700 13.5px/1.45 var(--bm-font); color: var(--bm-fb-err) !important;
}
.mr-err::before, form p.text-danger::before, form div.text-danger::before {
  content: ""; flex: none; width: 15px; height: 15px; margin-top: 1px; background: var(--bm-fb-err);
  -webkit-mask: var(--bm-fb-i-err) center / contain no-repeat; mask: var(--bm-fb-i-err) center / contain no-repeat;
}
.mr-err:empty, form p.text-danger:empty, form div.text-danger:empty { display: none; }
.mr-field.has-err { position: relative; padding-left: 14px; }
.mr-field.has-err::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--bm-fb-err); }
[dir=rtl] .mr-field.has-err { padding-left: 0; padding-right: 14px; }
[dir=rtl] .mr-field.has-err::before { left: auto; right: 0; }
.mr-field.has-err input, .mr-field.has-err select, .mr-field.has-err textarea { border-width: 2px !important; }
form .form-control.is-invalid { border-color: var(--bm-fb-err) !important; border-width: 2px !important; }

/* error boxes: thick red frame, like a site safety notice */
.mr-alert, .alert.alert-danger {
  position: relative; padding: 16px 18px 16px 52px !important;
  background: #fff !important; color: var(--bm-ink, #0d1726) !important;
  border: 4px solid var(--bm-fb-err) !important; border-radius: 4px !important; box-shadow: none !important;
  font: 600 15px/1.5 var(--bm-font);
}
.mr-alert::before, .alert.alert-danger::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; background: var(--bm-fb-err);
  -webkit-mask: var(--bm-fb-i-err) center / contain no-repeat; mask: var(--bm-fb-i-err) center / contain no-repeat;
}
[dir=rtl] .mr-alert, [dir=rtl] .alert.alert-danger { padding: 16px 52px 16px 18px !important; }
[dir=rtl] .mr-alert::before, [dir=rtl] .alert.alert-danger::before { left: auto; right: 16px; }

/* =========================================================
   SITE NAVIGATION + 3D HERO + COURSE MAP (Nov 18, 2026, v37)
   Header (gx-head), full-screen menu (gn-*), side rail (gr-*),
   3D hero (gx3-*), course map (gm-*). Behaviour: js/gitta-site.js,
   scene: js/gitta-hero3d.js. The old top bar / mega menu / drawer
   rules above are unused since this version.
   ========================================================= */
:root {
  --gx-night: #041228;
  --gx-night-2: #071d3d;
  --gx-ice: #9fbdf0;
  --gx-signal: #ff5a70;
  --gx-live: #3ddc97;
  --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html.gn-lock, html.gn-lock body { overflow: hidden !important; }

/* ---------- Header ---------- */
.gx-head .bm-header__actions { gap: 10px; }
.gx-head__search {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 16px; min-width: 300px;
  border-radius: 999px; border: 1px solid var(--bm-line); background: var(--bm-soft); color: var(--bm-muted);
  font: 500 14px var(--bm-font); cursor: pointer; transition: border-color .2s var(--bm-ease), background .2s var(--bm-ease), box-shadow .2s var(--bm-ease);
}
.gx-head__search:hover { border-color: #c9d2e0; background: #fff; box-shadow: var(--bm-shadow); }
.gx-head__search i { color: var(--bm-primary); }
.gx-head__search span { flex: 1; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-head__search kbd, .gn__close kbd {
  font: 600 11px var(--gx-mono); padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--bm-primary);
  border: 1px solid var(--bm-line); box-shadow: 0 1px 0 var(--bm-line);
}
.gx-menu-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 20px; border: 0; border-radius: 999px;
  background: var(--bm-primary); color: #fff; font: 600 14.5px var(--bm-font); letter-spacing: .02em; cursor: pointer;
  box-shadow: 0 8px 22px -12px var(--bm-primary); transition: transform .2s var(--bm-ease), box-shadow .2s var(--bm-ease);
}
.gx-menu-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px var(--bm-primary); }
.gx-menu-btn__ico {
  width: 32px; height: 32px; display: grid; place-content: center; gap: 4px; background: var(--bm-accent);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.gx-menu-btn__ico i { display: block; width: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--bm-ease), width .3s var(--bm-ease); }
.gx-menu-btn__ico i:nth-child(2) { width: 9px; }
.gx-menu-btn:hover .gx-menu-btn__ico i:nth-child(2) { width: 14px; }
.gx-menu-btn:focus-visible, .gx-head__search:focus-visible, .gr__btn:focus-visible, .gn a:focus-visible, .gn button:focus-visible, .gn input:focus-visible,
.gx3-hero a:focus-visible, .gx3-tab:focus-visible, .gm-wrap a:focus-visible, .gm-wrap button:focus-visible {
  outline: 2px solid var(--gx-signal); outline-offset: 3px;
}
.gn input:focus-visible { outline: 0; }
@media (max-width: 1199px) { .gx-head__search { min-width: 0; width: 44px; padding: 0; justify-content: center; } .gx-head__search span, .gx-head__search kbd { display: none; } }
@media (max-width: 575px) {
  .gx-head .bm-header__cta { display: none; }
  .gx-menu-btn { padding: 0 6px 0 14px; height: 42px; }
}

/* ---------- Full-screen menu ---------- */
@property --gn-r { syntax: '<length>'; inherits: true; initial-value: 0px; }
.gn {
  --ox: 100%; --oy: 0px; --gn-r: 0px;
  position: fixed; inset: 0; z-index: 3000; color: #fff; background: var(--gx-night);
  /* hexagon iris opening from the pressed button */
  clip-path: polygon(
    var(--ox) calc(var(--oy) - var(--gn-r)),
    calc(var(--ox) + var(--gn-r) * .866) calc(var(--oy) - var(--gn-r) * .5),
    calc(var(--ox) + var(--gn-r) * .866) calc(var(--oy) + var(--gn-r) * .5),
    var(--ox) calc(var(--oy) + var(--gn-r)),
    calc(var(--ox) - var(--gn-r) * .866) calc(var(--oy) + var(--gn-r) * .5),
    calc(var(--ox) - var(--gn-r) * .866) calc(var(--oy) - var(--gn-r) * .5));
  transition: --gn-r .62s cubic-bezier(.76,0,.18,1);
}
.gn[hidden] { display: none; }
.gn.is-open { --gn-r: 260vmax; }
.gn.is-closing { transition-duration: .5s; }
.gn__bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(64,120,220,.22), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(170,22,41,.22), transparent 60%),
    linear-gradient(rgba(120,160,255,.055) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(120,160,255,.055) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--gx-night);
}
.gn__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); background: rgba(170,22,41,.35); right: 12%; bottom: -120px; animation: gnDrift 14s ease-in-out infinite alternate; }
.gn__glow--2 { background: rgba(60,120,240,.3); left: 8%; top: -140px; right: auto; bottom: auto; animation-duration: 18s; }
@keyframes gnDrift { to { transform: translate(-80px, -60px) scale(1.15); } }
.gn__inner { position: relative; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; max-width: 1320px; margin: 0 auto; padding: 22px 32px 40px; display: flex; flex-direction: column; }
.gn__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gn__logo img { height: 46px; width: auto; }
.gn__close {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 10px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; font: 600 14px var(--bm-font);
}
.gn__close kbd { background: transparent; color: var(--gx-ice); border-color: rgba(255,255,255,.2); box-shadow: none; }
.gn__close i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bm-accent); transition: transform .3s var(--bm-ease); }
.gn__close:hover i { transform: rotate(90deg); }

.gn__search { margin: 34px 0 10px; }
.gn__search-label { display: block; font: 500 11.5px var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gx-ice); margin-bottom: 8px; }
.gn__search-row { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid rgba(255,255,255,.16); padding: 6px 0 12px; transition: border-color .25s var(--bm-ease); }
.gn__search-row:focus-within { border-color: var(--gx-signal); }
.gn__search-row > i { font-size: 22px; color: var(--gx-ice); }
.gn__search-row input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 0;
  font: 500 clamp(22px, 2.6vw, 34px) var(--bm-font); letter-spacing: -.01em;
}
.gn__search-row input::placeholder { color: rgba(255,255,255,.35); }
.gn__search-row input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.gn__search-count { font: 500 12px var(--gx-mono); color: var(--gx-ice); white-space: nowrap; }

.gn__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 28px; padding: 22px 0 10px; align-content: start; }
.gn__results[hidden] { display: none; }
.gn__group-t { font: 600 11.5px var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gx-ice); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.gn__group-t span { color: rgba(255,255,255,.45); }
.gn__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gn__group a[role="option"] { display: block; padding: 10px 12px; border-radius: 10px; color: #fff !important; border: 1px solid transparent; }
.gn__group a[role="option"]:hover, .gn__group a[role="option"].is-sel { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.gn__r-title { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.gn__r-title mark { background: rgba(255,90,112,.28); color: #fff; padding: 0 2px; border-radius: 3px; }
.gn__r-meta { display: block; font: 500 11.5px var(--gx-mono); color: rgba(255,255,255,.5); margin-top: 3px; }
.gn__more { display: inline-block; margin: 8px 12px 0; font: 600 12.5px var(--gx-mono); color: var(--gx-signal) !important; }
.gn__empty { padding: 30px 0; max-width: 620px; }
.gn__empty p { font-size: 18px; color: rgba(255,255,255,.75); }
.gn__loading { display: flex; gap: 6px; padding: 24px 0; }
.gn__loading span { width: 8px; height: 8px; background: var(--gx-ice); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: gnBlink 1s infinite; }
.gn__loading span:nth-child(2) { animation-delay: .15s; } .gn__loading span:nth-child(3) { animation-delay: .3s; }
@keyframes gnBlink { 50% { opacity: .2; } }

.gn__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 48px; padding-top: 30px; flex: 1; }
.gn__grid[hidden] { display: none; }
.gn__nav { position: relative; min-height: 420px; }
.gn__list { list-style: none; margin: 0; padding: 0; width: 50%; }
.gn__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.gn__idx { font: 500 12px var(--gx-mono); color: rgba(255,255,255,.4); transition: color .25s var(--bm-ease); }
body.bm .gn__link {
  display: block; padding: 14px 0; color: rgba(255,255,255,.78); line-height: 1.05;
  font: 700 clamp(28px, 3.3vw, 46px) var(--bm-serif); letter-spacing: -.02em; transition: color .25s var(--bm-ease), transform .3s var(--bm-ease);
}
body.bm .gn__item.is-active .gn__link, body.bm .gn__link:hover { color: #fff; transform: translateX(8px); }
.gn__item.is-active .gn__idx { color: var(--gx-signal); }
.gn__item.is-current .gn__link::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 12px; vertical-align: middle; border-radius: 50%; background: var(--gx-signal); }
.gn__toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; transition: background .2s var(--bm-ease), transform .3s var(--bm-ease); }
.gn__item.is-active .gn__toggle { background: var(--bm-accent); border-color: var(--bm-accent); }
.gn__sub {
  position: absolute; top: 0; left: 54%; width: 46%; opacity: 0; visibility: hidden; transform: translateX(-14px);
  transition: opacity .3s var(--bm-ease), transform .35s var(--bm-ease), visibility 0s .3s;
  max-height: 100%; overflow-x: hidden; overflow-y: auto; padding-inline-start: 26px; padding-inline-end: 14px; border-inline-start: 1px solid rgba(255,255,255,.12);
}
/* menu scrollbars: thin and dark instead of the grey system bar (links use margin 0 -12px, hence the end padding) */
.gn__inner, .gn__sub { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.gn__inner::-webkit-scrollbar, .gn__sub::-webkit-scrollbar { width: 6px; height: 6px; }
.gn__inner::-webkit-scrollbar-track, .gn__sub::-webkit-scrollbar-track { background: transparent; }
.gn__inner::-webkit-scrollbar-thumb, .gn__sub::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 6px; }
.gn__inner::-webkit-scrollbar-thumb:hover, .gn__sub::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.35); }
.gn__item.is-active .gn__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gn__sub-title { font: 600 11.5px var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gx-ice); margin: 18px 0 14px; display: flex; gap: 10px; }
.gn__sub-title span { color: var(--gx-signal); }
.gn__sub ul { list-style: none; margin: 0; padding: 0; }
body.bm .gn__sub li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; margin: 0 -12px; border-radius: 10px; color: rgba(255,255,255,.86); font-size: 16.5px; font-weight: 500; }
body.bm .gn__sub li a:hover { background: rgba(255,255,255,.07); color: #fff; }
.gn__sub li a small { font: 600 11px var(--gx-mono); color: var(--gx-ice); background: rgba(159,189,240,.12); padding: 2px 8px; border-radius: 999px; }
.gn__sub li ul { padding-inline-start: 14px; border-inline-start: 1px dashed rgba(255,255,255,.15); margin: 2px 0 6px; }
body.bm .gn__sub li ul a { font-size: 14.5px; }
body.bm .gn__sub-over a { color: var(--gx-signal); font-weight: 600; }

.gn__side { display: flex; flex-direction: column; gap: 18px; }
.gn-map {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(140deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); color: #fff !important;
}
.gn-map:hover { border-color: rgba(255,90,112,.6); transform: translateY(-2px); }
.gn-map__art { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding: 8px; border-radius: 12px; background: rgba(4,18,40,.6); border: 1px solid rgba(255,255,255,.08); }
.gn-map__art i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--gx-signal), rgba(255,90,112,.15)); clip-path: polygon(50% 0, 100% 6px, 100% 100%, 0 100%, 0 6px); transform-origin: bottom; }
.gn-map__art i:nth-child(even) { background: linear-gradient(180deg, var(--gx-ice), rgba(159,189,240,.12)); }
.gn.is-open .gn-map__art i { animation: gnBar .8s var(--bm-ease) both; animation-delay: calc(.4s + var(--i) * .06s); }
@keyframes gnBar { from { transform: scaleY(0); } }
.gn-map__kicker { display: block; font: 600 11px var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gx-signal); margin-bottom: 6px; }
.gn-map strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 600; }
.gn-map__go { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gx-ice); }
.gn-quick { display: grid; gap: 8px; }
.gn-quick__a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff !important; font-weight: 600; font-size: 15px; }
.gn-quick__a i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(159,189,240,.12); color: var(--gx-ice); }
.gn-quick__a:hover { background: rgba(255,255,255,.1); }
.gn-quick__a--hot i { background: var(--bm-accent); color: #fff; clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); border-radius: 0; }
.gn-foot { margin-top: auto; display: grid; gap: 12px; padding-top: 6px; font-size: 14px; }
.gn-foot__mail { color: rgba(255,255,255,.75) !important; font-family: var(--gx-mono); font-size: 13px; }
.gn-foot__mail i { color: var(--gx-signal); margin-inline-end: 6px; }
.gn-foot__social, .gn-foot__lang { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gn-foot__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #fff !important; }
.gn-foot__social a:hover { background: var(--bm-accent); border-color: var(--bm-accent); }
.gn-foot__lang a { color: rgba(255,255,255,.7) !important; font: 600 12px var(--gx-mono); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); }
.gn-foot__lang a[aria-current] { color: #fff !important; border-color: var(--gx-signal); }

/* content arrives after the iris */
.gn__top, .gn__search, .gn__item, .gn__side > * { opacity: 0; transform: translateY(26px); transition: opacity .45s var(--bm-ease), transform .55s var(--bm-ease); }
.gn.is-open .gn__top, .gn.is-open .gn__search, .gn.is-open .gn__item, .gn.is-open .gn__side > * { opacity: 1; transform: none; }
.gn.is-open .gn__top { transition-delay: .18s; }
.gn.is-open .gn__search { transition-delay: .24s; }
.gn.is-open .gn__item { transition-delay: calc(.3s + var(--d, 0) * .05s); }
.gn.is-open .gn__side > :nth-child(1) { transition-delay: .36s; }
.gn.is-open .gn__side > :nth-child(2) { transition-delay: .42s; }
.gn.is-open .gn__side > :nth-child(3) { transition-delay: .48s; }
.gn.is-closing .gn__top, .gn.is-closing .gn__search, .gn.is-closing .gn__item, .gn.is-closing .gn__side > * { transition-duration: .2s; transition-delay: 0s; }

@media (max-width: 991px) {
  .gn__inner { padding: 16px 18px 110px; }
  .gn__logo img { height: 38px; }
  .gn__close span { display: none; }
  .gn__search { margin-top: 22px; }
  .gn__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 18px; }
  .gn__nav { min-height: 0; }
  .gn__list { width: 100%; }
  .gn__item { grid-template-columns: 32px minmax(0, 1fr) 40px; }
  body.bm .gn__link { font-size: clamp(26px, 7vw, 34px); padding: 12px 0; }
  body.bm .gn__item.is-active .gn__link, body.bm .gn__link:hover { transform: none; }
  .gn__item.is-active .gn__toggle { background: transparent; border-color: rgba(255,255,255,.18); }
  .gn__item.is-open .gn__toggle { transform: rotate(90deg); background: var(--bm-accent); border-color: var(--bm-accent); }
  .gn__sub { position: static; width: auto; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; display: none; max-height: none; border: 0; padding: 0 0 14px 32px; }
  .gn__item.is-open .gn__sub { display: block; }
  .gn__sub-title { display: none; }
  .gn-map { grid-template-columns: 84px 1fr; }
  .gn-map__art { height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .gn { transition: none; }
  .gn__top, .gn__search, .gn__item, .gn__side > * { transition: none !important; transform: none !important; }
  .gn__glow, .gn.is-open .gn-map__art i { animation: none; }
}

/* ---------- Side rail (bottom dock below 1440px) ---------- */
.gr {
  position: fixed; z-index: 1500; left: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px;
  background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(13,23,38,.08); border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(5,25,53,.45);
  transition: opacity .3s var(--bm-ease), transform .3s var(--bm-ease);
}
.gr::before, .gr::after { content: ""; position: absolute; left: 50%; width: 1px; height: 46px; background: linear-gradient(var(--bm-accent), transparent); }
.gr::before { bottom: 100%; transform: rotate(180deg); }
.gr::after { top: 100%; }
html.gn-lock .gr { opacity: 0; pointer-events: none; }
body.bm .gr__btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; padding: 0;
  background: transparent; color: var(--bm-primary); font-size: 16px; cursor: pointer; transition: background .2s var(--bm-ease), color .2s var(--bm-ease);
}
body.bm .gr__btn:hover { background: var(--bm-soft); color: var(--bm-accent); }
body.bm .gr__btn--hot { width: 46px; height: 50px; border-radius: 0; background: var(--bm-accent); color: #fff; clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%); margin-bottom: 4px; }
body.bm .gr__btn--hot:hover { background: var(--bm-primary); color: #fff; }
.gr__avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bm-primary); color: #fff; font: 700 13px var(--bm-font); }
.gr__btn[data-tip]::after {
  content: attr(data-tip); position: absolute; left: calc(100% + 14px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap; pointer-events: none;
  padding: 7px 12px; border-radius: 8px; background: var(--bm-primary); color: #fff; font: 600 12px var(--bm-font); opacity: 0; transition: opacity .2s, transform .2s;
}
.gr__btn--hot[data-tip]::after { display: none; }
.gr__btn[data-tip]:hover::after, .gr__btn[data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.gr__btn[aria-expanded="true"][data-tip]::after { display: none; }
.gr__acc { position: relative; }
.gr__pop { position: absolute; left: calc(100% + 16px); bottom: -8px; min-width: 210px; padding: 8px; background: #fff; border-radius: 14px; border: 1px solid var(--bm-line); box-shadow: var(--bm-shadow-lg); }
.gr__pop[hidden] { display: none; }
.gr__pop-name { margin: 4px 10px 6px; font: 600 11px var(--gx-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bm-muted); }
.gr__pop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--bm-ink) !important; font-weight: 600; font-size: 14px; }
.gr__pop a:hover { background: var(--bm-soft); color: var(--bm-accent) !important; }
.gr__pop i { width: 16px; color: var(--bm-accent); }
[dir="rtl"] .gr { left: auto; right: 18px; }
[dir="rtl"] .gr__btn[data-tip]::after, [dir="rtl"] .gr__pop { left: auto; right: calc(100% + 14px); }
@media (max-width: 1439px) {
  .gr { top: auto; bottom: 14px; left: 14px; transform: none; flex-direction: row; padding: 6px; }
  .gr::before, .gr::after { display: none; }
  body.bm .gr__btn--hot { margin: 0 4px 0 0; }
  .gr__btn[data-tip]::after { left: 50%; top: auto; bottom: calc(100% + 12px); transform: translate(-50%, 4px); }
  .gr__btn[data-tip]:hover::after, .gr__btn[data-tip]:focus-visible::after { transform: translate(-50%, 0); }
  .gr__pop { left: 0; bottom: calc(100% + 12px); }
  [dir="rtl"] .gr { right: 14px; left: auto; }
  [dir="rtl"] .gr__pop { right: 0; left: auto; }
  body.bm .bm-footer { padding-bottom: 72px; }
}
@media (max-width: 575px) { body.bm .gr__btn { width: 42px; height: 42px; } body.bm .gr__btn--hot { width: 42px; height: 46px; } }

/* ---------- 3D hero ---------- */
.gx3-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--gx-night);
  min-height: clamp(640px, calc(100vh - 84px), 920px); display: flex; flex-direction: column;
}
.gx3-hero__bg { position: absolute; inset: 0; }
.gx3-hero__photo { position: absolute; inset: -4%; background: center / cover no-repeat; opacity: 0; filter: saturate(.55) contrast(1.05); transition: opacity 1.4s var(--bm-ease); animation: gx3Ken 30s ease-in-out infinite alternate; }
.gx3-hero__photo.is-active { opacity: .3; }
@keyframes gx3Ken { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.gx3-hero__veil { position: absolute; inset: 0; background:
  radial-gradient(800px 520px at 72% 50%, rgba(36,86,180,.35), transparent 65%),
  linear-gradient(90deg, var(--gx-night) 0%, rgba(4,18,40,.9) 34%, rgba(4,18,40,.55) 64%, rgba(4,18,40,.75) 100%),
  linear-gradient(0deg, var(--gx-night) 0%, transparent 28%); }
[dir="rtl"] .gx3-hero__veil { transform: scaleX(-1); }
.gx3-hero__grid { position: absolute; inset: 0; opacity: .9;
  background: linear-gradient(rgba(120,160,255,.07) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(120,160,255,.07) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%); }
.gx3-hero__inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.gx3-slides { display: grid; }
.gx3-slide { grid-area: 1 / 1; align-self: center; }
.gx3-slide:not(.is-active):not(.is-leaving) { visibility: hidden; }
.gx3-slide > * { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--bm-ease), transform .7s var(--bm-ease); }
.gx3-slide.is-active > * { opacity: 1; transform: none; }
.gx3-slide.is-active > :nth-child(2) { transition-delay: .07s; }
.gx3-slide.is-active > :nth-child(3) { transition-delay: .14s; }
.gx3-slide.is-active > :nth-child(4) { transition-delay: .21s; }
.gx3-slide.is-leaving > * { opacity: 0; transform: translateY(-14px); transition-duration: .3s; }
.gx3-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px var(--gx-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gx-ice); margin-bottom: 22px; }
.gx3-eyebrow__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--gx-live); animation: gx3Live 2s infinite; }
.gx3-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gx-ice); opacity: .6; order: -1; }
@keyframes gx3Live { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 70% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
body.bm .gx3-h { font-family: var(--bm-serif) !important; color: #fff; font-weight: 700; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 20px; max-width: 18ch; text-wrap: balance; }
.gx3-p { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; color: rgba(255,255,255,.76); max-width: 540px; margin: 0 0 30px; }
.gx3-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gx3-btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gx3-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.gx3-btn-ghost i { color: var(--gx-ice); }

.gx3-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; margin-top: 46px; max-width: 600px; }
.gx3-tab { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: baseline; padding: 0; background: none; border: 0; color: rgba(255,255,255,.5); text-align: start; cursor: pointer; transition: color .25s var(--bm-ease); }
.gx3-tab:hover, .gx3-tab.is-active { color: #fff; }
.gx3-tab__n { font: 600 11px var(--gx-mono); color: inherit; }
.gx3-tab.is-active .gx3-tab__n { color: var(--gx-signal); }
.gx3-tab__t { font: 500 12.5px var(--bm-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx3-tab__bar { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.16); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.gx3-tab__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bm-accent), var(--gx-signal)); }
.gx3-tab.is-active .gx3-tab__bar i { animation: gx3Bar 7.5s linear forwards; }
.gx3-hero.is-paused .gx3-tab__bar i, .gx3-hero.is-offscreen .gx3-tab__bar i { animation-play-state: paused; }
@keyframes gx3Bar { to { width: 100%; } }
.gx3-counts { display: flex; margin: 30px 0 0; max-width: 600px; border-top: 1px solid rgba(255,255,255,.1); }
.gx3-counts > div { flex: 1 1 0; padding: 16px 18px 0 0; }
.gx3-counts > div + div { padding-inline-start: 18px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.gx3-counts dt { font: 500 10.5px var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.gx3-counts dd { margin: 4px 0 0; font: 600 28px var(--gx-mono); color: #fff; letter-spacing: -.02em; }

.gx3-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: min(680px, 78vh); justify-self: center; }
.gx3-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--bm-ease); }
.gx3-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.gx3-stage.is-ready .gx3-canvas { opacity: 1; }
.gx3-stage__frame { position: absolute; inset: 3%; pointer-events: none; }
.gx3-stage__corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(159,189,240,.45); }
.gx3-stage__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.gx3-stage__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.gx3-stage__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.gx3-stage__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.gx3-stage__label { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font: 600 11px var(--gx-mono); letter-spacing: .18em; color: var(--gx-ice); display: inline-flex; align-items: center; gap: 8px; }
.gx3-stage__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--gx-signal); box-shadow: 0 0 10px var(--gx-signal); }
.gx3-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .8s var(--bm-ease); }
.gx3-fallback__mark { width: 38%; color: #e6edf8; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.gx3-stage.is-ready .gx3-fallback { opacity: 0; pointer-events: none; }
.gx3-nodes { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.gx3-nodes li { --a: calc(90deg + var(--i) * 360deg / var(--n)); position: absolute; left: calc(50% + cos(var(--a)) * 40%); top: calc(50% - sin(var(--a)) * 40%); transform: translate(-50%, -50%); pointer-events: auto; transition: opacity .3s; }
.gx3-stage.is-ready .gx3-nodes li { left: 0; top: 0; will-change: transform; }
body.bm .gx3-nodes a {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 5px 10px 5px 8px; border-radius: 7px;
  font: 600 10.5px var(--gx-mono); letter-spacing: .08em; text-transform: uppercase; color: #dfe9fb;
  background: rgba(6,22,48,.72); border: 1px solid rgba(159,189,240,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.gx3-nodes__hex { width: 9px; height: 10px; flex: none; background: var(--gx-ice); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
body.bm .gx3-nodes a:hover, body.bm .gx3-nodes a.is-hot, body.bm .gx3-nodes a:focus-visible { background: var(--bm-accent); border-color: var(--gx-signal); color: #fff; }
.gx3-nodes a.is-hot .gx3-nodes__hex, .gx3-nodes a:hover .gx3-nodes__hex { background: #fff; }
.gx3-chip {
  position: absolute; z-index: 4; display: block; min-width: 0; max-width: 200px; padding: 9px 13px; border-radius: 12px;
  background: rgba(8,26,56,.7); border: 1px solid rgba(159,189,240,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); color: #fff !important; animation: gx3Float 7s ease-in-out infinite;
}
a.gx3-chip:hover { border-color: var(--gx-signal); }
.gx3-chip__label { display: flex; align-items: center; gap: 7px; font: 600 10px var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gx-ice); }
.gx3-chip__label i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gx-live); box-shadow: 0 0 8px var(--gx-live); }
.gx3-chip__value { display: block; margin-top: 4px; font: 600 15px var(--gx-mono); letter-spacing: -.01em; }
.gx3-chip__note { display: block; margin-top: 2px; font: 500 11px var(--gx-mono); color: rgba(255,255,255,.55); }
.gx3-chip--1 { top: 1%; right: 0; }
.gx3-chip--2 { bottom: 5%; right: 0; animation-delay: -2s; }
.gx3-chip--3 { top: 1%; left: 0; animation-delay: -4s; }
.gx3-chip--4 { bottom: 5%; left: 0; animation-delay: -5.5s; }
.gx3-chip--2 .gx3-chip__label i, .gx3-chip--4 .gx3-chip__label i { background: var(--gx-signal); box-shadow: 0 0 8px var(--gx-signal); }
@keyframes gx3Float { 50% { transform: translateY(-8px); } }
.gx3-scroll { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font: 600 10.5px var(--gx-mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55) !important; }
.gx3-scroll i { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: gx3Drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes gx3Drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.gx3-after { display: block; height: 0; scroll-margin-top: 80px; }
@media (max-width: 1199px) { .gx3-chip { max-width: 170px; } }
@media (max-width: 991px) {
  .gx3-hero { min-height: 0; }
  .gx3-hero__inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 80px; gap: 10px; }
  .gx3-hero__veil { background: radial-gradient(600px 420px at 50% 75%, rgba(36,86,180,.35), transparent 65%), linear-gradient(180deg, rgba(4,18,40,.92) 0%, rgba(4,18,40,.7) 55%, var(--gx-night) 100%); }
  body.bm .gx3-h { max-width: none; }
  .gx3-stage { max-width: 560px; max-height: none; }
  .gx3-scroll { display: none; }
}
@media (max-width: 767px) {
  .gx3-hero__inner { padding-bottom: 40px; }
  .gx3-stage { aspect-ratio: auto; }
  .gx3-canvas, .gx3-fallback { bottom: auto; aspect-ratio: 1 / 1; }
  .gx3-stage__frame { bottom: auto; aspect-ratio: 1 / 1; }
  .gx3-stage::before { content: ""; display: block; padding-top: 100%; }
  .gx3-nodes { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
  .gx3-nodes li, .gx3-stage.is-ready .gx3-nodes li { position: static; transform: none; opacity: 1 !important; }
  .gx3-chip--2 { top: 1%; bottom: auto; left: 0; right: auto; }
  .gx3-chip--3, .gx3-chip--4 { display: none; }
}
@media (max-width: 575px) {
  .gx3-tab__t { display: none; }
  .gx3-tabs { margin-top: 32px; }
  .gx3-counts dd { font-size: 22px; }
  .gx3-counts > div { padding-right: 10px; } .gx3-counts > div + div { padding-inline-start: 12px; }
  .gx3-chip { min-width: 0; max-width: 160px; padding: 8px 10px; }
  .gx3-chip__value { font-size: 12.5px; }
  .gx3-chip__note { display: none; }
  body.bm .gx3-nodes a { font-size: 9.5px; padding: 5px 8px 5px 7px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  .gx3-hero__photo, .gx3-chip, .gx3-scroll i, .gx3-eyebrow__dot { animation: none; }
  .gx3-tab.is-active .gx3-tab__bar i { animation: none; width: 100%; }
  .gx3-slide > * { transition: none; }
}

/* ---------- Course map ---------- */
.gm-wrap { padding: 44px 0 90px; background: linear-gradient(180deg, var(--bm-soft), #fff 380px); }
.gm-bar {
  position: sticky; top: 78px; z-index: 20; display: grid; grid-template-columns: minmax(220px, 320px) 1fr auto; gap: 18px; align-items: end;
  padding: 16px 18px; margin-bottom: 26px; border-radius: 18px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--bm-line); box-shadow: var(--bm-shadow);
}
.gm-bar__label { display: block; font: 600 10.5px var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 6px; }
.gm-bar__field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--bm-line); background: #fff; }
.gm-bar__field:focus-within { border-color: var(--bm-primary); box-shadow: 0 0 0 3px rgba(5,25,53,.08); }
.gm-bar__field i { color: var(--bm-muted); }
.gm-bar__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--bm-ink); }
.gm-bar__levels { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-bar__levels button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-ink); font: 600 13px var(--bm-font); cursor: pointer; }
.gm-bar__levels button:hover { border-color: var(--bm-primary); }
.gm-bar__levels button.is-active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff; }
.gm-bar__meta { display: grid; justify-items: end; gap: 4px; }
.gm-bar__count { font: 600 12px var(--gx-mono); color: var(--bm-muted); white-space: nowrap; }
.gm-bar__list { font-weight: 600; font-size: 13.5px; color: var(--bm-accent) !important; white-space: nowrap; }
.gm-lv { display: inline-block; width: 10px; height: 11px; flex: none; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: #9aa8bf; }
.gm-lv--1 { background: #5b8fe8; } .gm-lv--2 { background: #2f5fb3; } .gm-lv--3 { background: var(--bm-primary); } .gm-lv--4 { background: var(--bm-accent); }
.gm-map { display: grid; grid-template-columns: 112px repeat(var(--fields), minmax(0, 1fr)); grid-template-rows: auto repeat(var(--levels), auto); gap: 0 10px; }
.gm-axis, .gm-field { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
.gm-axis__head { align-self: end; padding-bottom: 14px; font: 600 10.5px var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bm-muted); }
.gm-axis__lv { display: flex; align-items: flex-start; gap: 8px; padding: 18px 0; border-top: 1px dashed #d5dce8; font: 600 11.5px var(--gx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bm-primary); }
.gm-axis__lv .gm-lv { margin-top: 2px; }
.gm-field { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 0 8px 8px; transition: box-shadow .25s var(--bm-ease), border-color .25s var(--bm-ease); }
.gm-field:hover { box-shadow: var(--bm-shadow-lg); border-color: transparent; }
.gm-field__head { padding: 14px 6px; display: grid; gap: 6px; align-content: start; border-bottom: 2px solid var(--bm-primary); }
.gm-hex { width: 34px; height: 38px; display: grid; place-items: center; font: 700 11px var(--gx-mono); color: #fff; background: var(--bm-primary); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .2s; }
.gm-field:hover .gm-hex { background: var(--bm-accent); }
body.bm .gm-field__head h2 { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 700; }
.gm-field__head h2 a { color: var(--bm-ink) !important; }
.gm-field__head h2 a:hover { color: var(--bm-accent) !important; }
.gm-field__n { font: 500 11px var(--gx-mono); color: var(--bm-muted); }
.gm-cell { padding: 10px 0 6px; border-top: 1px dashed #e1e6ef; display: flex; flex-direction: column; gap: 5px; transition: opacity .25s; }
.gm-field__head + .gm-cell { border-top: 0; }
.gm-cell__lv { display: none; }
.gm-cell.is-dim { opacity: .28; }
.gm-cell.is-filtered { opacity: .45; }
.gm-cell__empty { color: #c4ccd8; padding: 4px 8px; }
.gm-course { display: block; padding: 8px 9px; border-radius: 9px; background: var(--bm-soft); border: 1px solid transparent; color: var(--bm-ink) !important; }
.gm-course:hover { background: #fff; border-color: var(--bm-accent); box-shadow: 0 6px 16px -10px rgba(170,22,41,.6); }
.gm-course[hidden] { display: none; }
.gm-course__t { display: block; font-size: 12.5px; line-height: 1.35; font-weight: 600; }
.gm-course__d { display: block; margin-top: 3px; font: 500 10.5px var(--gx-mono); color: var(--bm-muted); }
.gm-course.is-featured .gm-course__t::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 6px; vertical-align: 2px; border-radius: 50%; background: var(--bm-accent); }
.gm-none { margin: 26px 0 0; text-align: center; color: var(--bm-muted); }
@media (max-width: 1199px) {
  .gm-bar { grid-template-columns: 1fr; top: 70px; }
  .gm-bar__meta { justify-items: start; grid-auto-flow: column; justify-content: space-between; }
  .gm-map { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-template-rows: none; gap: 16px; }
  .gm-axis { display: none; }
  .gm-field { grid-row: auto; display: block; padding: 0 12px 12px; }
  body.bm .gm-cell__lv { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 600 11px var(--gx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bm-primary); }
  .gm-cell__lv small { color: var(--bm-muted); font-size: 10.5px; }
  .gm-cell.is-empty, .gm-cell.is-dim { display: none; }
  .gm-course__t { font-size: 13.5px; }
}
@media (max-width: 575px) { .gm-bar { position: static; } .gm-wrap { padding-top: 24px; } }

/* =====================================================================
   3D journey (home page scroll story) — front/sections/journey.blade.php + js/gitta-journey.js
   Default = stacked cards on a red trace (phones, reduced motion, no WebGL, no JS).
   .is-3d = sticky 3D stage, one glass card at a time, HUD + chapter dots.
   ===================================================================== */
.gxj { --gxj-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.gxj .bm-head { margin-bottom: 0; }
.gxj__track { margin-top: 44px; }
.gxj__canvas, .gxj__veil, .gxj__hud, .gxj__dots, .gxj__hint { display: none; }
.gxj__cards { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.gxj-card { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding-bottom: 26px; }
.gxj-card:last-child { padding-bottom: 0; }
.gxj-card::before { content: ""; position: absolute; left: 28px; top: 64px; bottom: 0; width: 2px; background: linear-gradient(var(--bm-accent), color-mix(in srgb, var(--bm-accent) 25%, transparent)); }
.gxj-card:last-child::before { display: none; }
.gxj-card__node {
  width: 58px; height: 64px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--bm-primary); color: #fff; font: 600 15px/1 var(--gxj-mono); letter-spacing: .04em;
}
.gxj-card:last-child .gxj-card__node { background: var(--bm-accent); }
.gxj-card__body {
  background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; padding: 22px 26px 24px;
  box-shadow: 0 18px 40px -28px rgba(5,25,53,.35);
}
.gxj-card__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 600 12px/1.2 var(--gxj-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bm-primary); }
.gxj-card__eyebrow i { width: 26px; height: 2px; background: var(--bm-accent); flex: none; }
.gxj-card__title { font-family: var(--bm-serif) !important; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18; font-weight: 700; color: var(--bm-primary) !important; margin: 0 0 12px; }
.gxj-card__text { color: #4a5568; font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.gxj-card__link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--bm-accent) !important; border-bottom: 2px solid color-mix(in srgb, var(--bm-accent) 35%, transparent); padding-bottom: 2px; text-decoration: none !important; }
.gxj-card__link:hover { border-color: var(--bm-accent); }
.bm-section--navy .gxj-card__body { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.bm-section--navy .gxj-card__title { color: #fff !important; }
.bm-section--navy .gxj-card__text { color: rgba(255,255,255,.75); }
.bm-section--navy .gxj-card__eyebrow { color: #f3b9c1; }

/* ---------- 3D mode ---------- */
.gxj.is-3d { padding-bottom: 0; }
.gxj.is-3d .gxj__track { height: calc((var(--gxj-n) + .7) * 100vh); height: calc((var(--gxj-n) + .7) * 100svh); margin-top: 28px; }
.gxj.is-3d .gxj__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse 75% 70% at 62% 48%, #fdfdfe 0%, #eef2f7 62%, #e6ebf2 100%);
}
.gxj.is-3d .gxj__canvas { display: block; position: absolute; inset: 0; }
.gxj__canvas canvas { width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .9s var(--bm-ease, ease); }
.gxj.is-ready .gxj__canvas canvas { opacity: 1; }
.gxj.is-3d .gxj__veil {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(238,242,247,.92) 0%, rgba(238,242,247,.55) 26%, rgba(238,242,247,0) 46%),
    linear-gradient(180deg, rgba(238,242,247,.9) 0%, rgba(238,242,247,0) 16%, rgba(238,242,247,0) 82%, rgba(238,242,247,.85) 100%);
}
.gxj.is-3d .gxj__overlay { position: absolute; inset: 0; padding-top: 78px; pointer-events: none; }
.gxj.is-3d .gxj__cards { height: 100%; max-width: none; margin: 0; }
.gxj.is-3d .gxj-card {
  position: absolute; left: 0; top: 50%; width: min(440px, 40vw); display: block; padding: 0;
  opacity: 0; transform: translateY(-42%); transition: opacity .45s var(--bm-ease, ease), transform .6s var(--bm-ease, ease); pointer-events: none;
}
.gxj.is-3d .gxj-card.is-past { transform: translateY(-58%); }
.gxj.is-3d .gxj-card.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.gxj.is-3d .gxj-card::before, .gxj.is-3d .gxj-card__node { display: none; }
.gxj.is-3d .gxj-card__body {
  background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(13,23,38,.07); border-radius: 22px; padding: 32px 34px 30px; box-shadow: 0 30px 60px -34px rgba(5,25,53,.45);
}
.gxj.is-3d .gxj-card__title { font-size: clamp(26px, 2.5vw, 36px); }
.gxj.is-3d .gxj__hud {
  display: flex; align-items: center; gap: 16px; position: absolute; right: 100px; bottom: 30px; z-index: 2;
  padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(13,23,38,.07); box-shadow: 0 14px 34px -20px rgba(5,25,53,.5);
}
.gxj__count { font: 600 14px/1 var(--gxj-mono); color: var(--bm-muted); letter-spacing: .06em; }
.gxj__label { font-weight: 700; color: var(--bm-primary); min-width: 120px; }
.gxj__bar { position: relative; width: 150px; height: 3px; border-radius: 3px; background: rgba(5,25,53,.1); overflow: hidden; }
.gxj__bar i { position: absolute; inset: 0; background: var(--bm-accent); transform-origin: 0 50%; transform: scaleX(0); }
.gxj.is-3d .gxj__dots { display: flex; flex-direction: column; gap: 10px; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 2; }
body.bm .gxj__dot { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gxj__dot span {
  width: 14px; height: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(5,25,53,.22); transition: background .25s, transform .25s;
}
.gxj__dot:hover span { background: var(--bm-primary); }
.gxj__dot.is-active span { background: var(--bm-accent); transform: scale(1.3); }
.gxj__dot:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 2px; border-radius: 6px; }
.gxj.is-3d .gxj__hint {
  display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  font: 600 11px/1 var(--gxj-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-primary); transition: opacity .4s;
}
.gxj__hint i { width: 2px; height: 34px; background: linear-gradient(var(--bm-accent), transparent); animation: gxjHint 1.8s var(--bm-ease, ease) infinite; transform-origin: top; }
.gxj.is-started .gxj__hint { opacity: 0; }
@keyframes gxjHint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1099px) {
  .gxj.is-3d .gxj-card { width: min(400px, 46vw); }
  .gxj.is-3d .gxj__hud { right: 84px; bottom: 22px; }
  .gxj.is-3d .gxj__dots { right: 16px; }
}
@media (max-width: 767px) {
  .gxj-card { grid-template-columns: 44px 1fr; gap: 14px; }
  .gxj-card__node { width: 44px; height: 50px; font-size: 13px; }
  .gxj-card::before { left: 21px; top: 50px; }
  .gxj-card__body { padding: 18px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gxj__hint i { animation: none; }
  .gxj.is-3d .gxj-card { transition: none; }
}

/* =====================================================================
   Home sections v2 (Nov 18, 2026): features "signal bus" (gxf), qualification bento (gxq), course filter (gxc).
   Views front/sections/{features,qualifications,courses}.blade.php, motion js/gitta-home.js.
   Animations only under html.gx-anim (set by the script when motion is allowed).
   ===================================================================== */
.gxf, .gxq, .gxc { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxf__hex, .gxf__hex-in, .gxq-tile__no, .gxc__pill-hex, .gxc-card__cat i { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- features: signal bus ---------- */
.gxf__bus {
  position: relative; list-style: none; margin: 0; padding: 28px 30px 26px; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 18px;
  border-radius: 28px; border: 1px solid var(--bm-line); overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 50% -20%, rgba(170,22,41,.06), transparent 60%),
    repeating-linear-gradient(90deg, rgba(5,25,53,.035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(5,25,53,.035) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #fff, #f6f8fb);
  box-shadow: 0 34px 70px -46px rgba(5,25,53,.5);
}
.gxf__trace { position: absolute; left: 6%; right: 6%; top: 64px; height: 2px; background: linear-gradient(90deg, transparent, rgba(5,25,53,.2) 6%, rgba(5,25,53,.2) 94%, transparent); transform-origin: 0 50%; }
.gxf__trace i { position: absolute; top: -1px; left: 0; width: 110px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--bm-accent), transparent); opacity: 0; }
.gxf__node { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; padding: 2px 6px 4px;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--gx-out); }
.gxf__hex { width: 64px; height: 72px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, #fff); transition: transform .5s var(--gx-out); }
.gxf__hex-in { width: 54px; height: 62px; display: grid; place-items: center; color: #fff; font-size: 21px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 70%); }
.gxf__hex-in i { transition: transform .5s var(--gx-out); }
.gxf__node:hover .gxf__hex { transform: rotate(30deg) scale(1.06); }
.gxf__node:hover .gxf__hex-in i { transform: rotate(-30deg); }
.gxf__idx { font: 600 11px/1 var(--gx-mono); letter-spacing: .16em; color: var(--bm-muted); display: inline-flex; align-items: center; gap: 8px; }
.gxf__idx::before { content: ""; width: 16px; height: 2px; background: var(--c); border-radius: 2px; }
.bm-section .gxf__title, .gxf__title { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--bm-primary); max-width: 220px; }
html.gx-anim .gxf__trace { transform: scaleX(0); transition: transform 1.1s var(--gx-out); }
html.gx-anim .gxf__node { opacity: 0; translate: 0 16px; transition: transform .35s var(--gx-out), opacity .6s var(--gx-out), translate .7s var(--gx-out); transition-delay: 0s, calc(var(--i) * 110ms + .15s), calc(var(--i) * 110ms + .15s); }
html.gx-anim .gx-in .gxf__trace { transform: scaleX(1); }
html.gx-anim .gx-in .gxf__node { opacity: 1; translate: 0 0; }
html.gx-anim .gx-in .gxf__trace i { opacity: 1; animation: gxfPulse 4.2s linear 1.2s infinite; }
@keyframes gxfPulse { from { left: -110px; } to { left: 100%; } }

/* ---------- qualifications: bento ---------- */
.gxq__bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; margin-top: 40px; }
.gxq-tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 20px 22px 22px; border-radius: 24px; color: #fff !important; text-decoration: none !important; background: var(--bm-primary);
  box-shadow: 0 26px 50px -34px rgba(5,25,53,.65), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out);
}
.gxq-tile--lead { grid-column: span 2; grid-row: span 2; padding: 28px 30px 30px; }
.gxq-tile:hover, .gxq-tile:focus-visible { --ty: -6px; box-shadow: 0 40px 70px -36px rgba(5,25,53,.75), inset 0 0 0 1px rgba(170,22,41,.65); }
.gxq-tile:focus-visible { outline: 3px solid var(--bm-accent); outline-offset: 3px; }
.gxq-tile__media { position: absolute; inset: 0; z-index: -3; }
.gxq-tile__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.1s var(--gx-out); }
.gxq-tile:hover .gxq-tile__media img { transform: scale(1.1); }
.gxq-tile__shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(5,25,53,.15) 0%, rgba(5,25,53,.35) 38%, rgba(5,25,53,.94) 100%), linear-gradient(90deg, rgba(170,22,41,.28), transparent 55%); }
.gxq-tile__glare { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.26), transparent 46%); }
.gxq-tile.is-tilt .gxq-tile__glare { opacity: 1; }
.gxq-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gxq-tile__no { width: 38px; height: 43px; display: grid; place-items: center; font: 600 12px/1 var(--gx-mono); background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gxq-tile__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 600 11px/1 var(--gx-mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gxq-tile__tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d63; box-shadow: 0 0 0 3px rgba(255,77,99,.25); }
.gxq-tile__body { position: relative; display: grid; gap: 8px; padding-right: 50px; }
.gxq-tile__title { font-family: var(--bm-serif); font-size: 22px; font-weight: 700; line-height: 1.18; color: #fff; }
.gxq-tile--lead .gxq-tile__title { font-size: clamp(28px, 2.6vw, 38px); }
.gxq-tile__text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 0; opacity: 0; transition: max-height .5s var(--gx-out), opacity .4s; }
.gxq-tile--lead .gxq-tile__text { font-size: 16px; max-width: 520px; max-height: 6em; opacity: 1; }
.gxq-tile:hover .gxq-tile__text, .gxq-tile:focus-visible .gxq-tile__text { max-height: 5em; opacity: 1; }
.gxq-tile__go { position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--bm-primary); font-size: 14px;
  transition: background .3s, color .3s, transform .4s var(--gx-out); }
.gxq-tile:hover .gxq-tile__go { background: var(--bm-accent); color: #fff; transform: rotate(-45deg); }
.gxq-tile--cta { grid-column: span var(--span, 1); justify-content: flex-end;
  background:
    radial-gradient(ellipse 70% 110% at 100% 0%, rgba(170,22,41,.55), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #0a2448, var(--bm-primary)); }
.gxq-tile__circuit { position: absolute; right: -2%; top: 50%; height: 150%; aspect-ratio: 2000 / 2260; transform: translateY(-50%); color: rgba(255,255,255,.13); z-index: -1; transition: transform .8s var(--gx-out); }
.gxq-tile__circuit svg { width: 100%; height: 100%; }
.gxq-tile--cta:hover .gxq-tile__circuit { transform: translateY(-50%) rotate(-8deg) scale(1.05); }
.gxq-tile__eyebrow { font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: #f3b9c1; }
.gxq-tile--cta .gxq-tile__title { font-size: clamp(24px, 2.2vw, 32px); }
html.gx-anim .gxq-tile { opacity: 0; translate: 0 22px; transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), opacity .7s var(--gx-out), translate .8s var(--gx-out);
  transition-delay: 0s, 0s, calc(var(--i) * 70ms), calc(var(--i) * 70ms); }
html.gx-anim .gx-in .gxq-tile { opacity: 1; translate: 0 0; }

/* ---------- courses: subject filter + cards ---------- */
.gxc__filter { margin: 34px 0 28px; display: flex; justify-content: center; }
.gxc__pills { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; max-width: 100%; border-radius: 28px;
  background: rgba(255,255,255,.88); border: 1px solid var(--bm-line); box-shadow: 0 18px 40px -30px rgba(5,25,53,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gxc__pills::-webkit-scrollbar { display: none; }
.gxc__pill { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--bm-primary) !important; text-decoration: none !important; transition: color .35s, background .25s; }
.gxc__pill:hover { background: rgba(5,25,53,.05); }
.gxc__pill b { font: 600 11px/1 var(--gx-mono); padding: 4px 7px; border-radius: 999px; background: rgba(5,25,53,.07); transition: background .35s; }
.gxc__pill-hex { width: 9px; height: 10px; background: rgba(5,25,53,.25); transition: background .35s, transform .45s var(--gx-out); }
.gxc__pill.is-active { color: #fff !important; }
.gxc__pill.is-active b { background: rgba(255,255,255,.16); }
.gxc__pill.is-active .gxc__pill-hex { background: #ff4d63; transform: rotate(90deg); }
.gxc__pills:not(.has-ink) .gxc__pill.is-active { background: var(--bm-primary); }
.gxc__ink { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; z-index: 0; opacity: 0;
  background: linear-gradient(135deg, #0d2a52, var(--bm-primary)); box-shadow: 0 10px 22px -10px rgba(5,25,53,.7), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .55s var(--gx-out), width .55s var(--gx-out), height .55s var(--gx-out); }
.gxc__pills.has-ink .gxc__ink { opacity: 1; }
.gxc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gxc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--bm-line);
  color: inherit !important; text-decoration: none !important; box-shadow: 0 20px 44px -34px rgba(5,25,53,.45);
  transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
.gxc-card[hidden] { display: none; }
.gxc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bm-accent), #ff4d63); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--gx-out); }
.gxc-card:hover, .gxc-card:focus-visible { --ty: -6px; border-color: rgba(170,22,41,.28); box-shadow: 0 34px 60px -34px rgba(5,25,53,.55); }
.gxc-card:hover::after, .gxc-card:focus-visible::after { transform: scaleX(1); }
.gxc-card:focus-visible { outline: 3px solid var(--bm-accent); outline-offset: 3px; }
.gxc-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #0a2448, var(--bm-primary)); }
.gxc-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--gx-out); }
.gxc-card:hover .gxc-card__img img { transform: scale(1.08); }
.gxc-card__glare { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.3), transparent 50%); }
.gxc-card.is-tilt .gxc-card__glare { opacity: 1; }
.gxc-card__cat { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 7px 12px 7px 10px; border-radius: 999px;
  font: 600 10.5px/1.1 var(--gx-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(5,25,53,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gxc-card__cat i { flex: none; width: 8px; height: 9px; background: #ff4d63; }
.gxc-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.gxc-card__title { font-family: var(--bm-serif); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--bm-primary); }
.gxc-card__text { font-size: 14px; line-height: 1.55; color: #5a6578; }
.gxc-card__meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.gxc-card__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--bm-primary); background: var(--bm-soft); }
.gxc-card__chip--lvl { color: var(--bm-accent); background: rgba(170,22,41,.06); box-shadow: inset 0 0 0 1px rgba(170,22,41,.25); }
.gxc-card__go { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--bm-primary); background: var(--bm-soft);
  transition: background .3s, color .3s, transform .45s var(--gx-out); }
.gxc-card:hover .gxc-card__go { background: var(--bm-accent); color: #fff; transform: rotate(-45deg); }
.gxc__foot { margin-top: 36px; text-align: center; }
.gxc__all-cat { font-weight: 500; opacity: .85; }
.gxc__all-cat:empty { display: none; }
html.gx-anim .gxc__grid .gxc-card { opacity: 0; translate: 0 20px; transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s, opacity .7s var(--gx-out), translate .8s var(--gx-out);
  transition-delay: 0s, 0s, 0s, calc(var(--i) * 80ms), calc(var(--i) * 80ms); }
html.gx-anim .gxc__grid.gx-in .gxc-card { opacity: 1; translate: 0 0; }
html.gx-anim .gxc__grid.is-swap .gxc-card:not([hidden]) { animation: gxcIn .55s var(--gx-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes gxcIn { from { opacity: 0; transform: perspective(1000px) translateY(18px) scale(.97); } to { opacity: 1; transform: perspective(1000px); } }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .gxq__bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .gxq-tile--lead { grid-row: span 1; }
  .gxq-tile--cta { grid-column: 1 / -1; }
  .gxc__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: none) {
  .gxq-tile__text { max-height: 4.7em; opacity: 1; -webkit-line-clamp: 2; }
}
@media (max-width: 767px) {
  .gxf__bus { grid-template-columns: repeat(2, 1fr); padding: 18px; gap: 18px 12px; border-radius: 22px; }
  .gxf__trace { display: none; }
  .gxf__hex { width: 52px; height: 58px; }
  .gxf__hex-in { width: 44px; height: 50px; font-size: 18px; }
  .bm-section .gxf__title, .gxf__title { font-size: 14.5px; }
  .gxq__bento { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 14px; margin-top: 28px; }
  .gxq-tile--lead { grid-column: auto; grid-row: span 1; padding: 20px 22px 22px; }
  .gxq-tile--lead .gxq-tile__title { font-size: 26px; }
  .gxq-tile--lead .gxq-tile__text { font-size: 14px; -webkit-line-clamp: 2; }
  .gxq-tile--cta { grid-row: span 1; min-height: 0; }
  .gxc__filter { margin: 26px -16px 20px; justify-content: flex-start; }
  .gxc__pills { margin: 0 16px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
  .gxc__grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .gxc__grid::-webkit-scrollbar { display: none; }
  .gxc-card { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .gxf__node, .gxq-tile, .gxc-card, .gxc__ink, .gxq-tile__media img, .gxc-card__img img { transition: none !important; }
  .gxf__node:hover .gxf__hex, .gxf__node:hover .gxf__hex-in i { transform: none; }
}

/* ---------- values + membership credential (gxw) ---------- */
.gxw, .gxn { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxw__hex, .gxw__hex > span, .gxw-card__tick { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxw__wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.gxw__wrap--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.gxw__values { position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.gxw__trace { position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(rgba(5,25,53,.08), rgba(5,25,53,.22), rgba(5,25,53,.08)); transform-origin: 50% 0; }
.gxw__trace i { position: absolute; left: -1px; top: 0; width: 4px; height: 70px; border-radius: 4px; background: linear-gradient(transparent, var(--bm-accent), transparent); opacity: 0; }
.gxw__value { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center; padding: 14px 18px 14px 0; border-radius: 18px;
  transition: background .35s, transform .45s var(--gx-out); }
.gxw__value:hover { background: rgba(255,255,255,.75); transform: translateX(6px); box-shadow: 0 16px 34px -28px rgba(5,25,53,.45); }
.gxw__hex { position: relative; z-index: 1; width: 56px; height: 63px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 24%, #fff); transition: transform .5s var(--gx-out); }
.gxw__hex > span { width: 46px; height: 52px; display: grid; place-items: center; color: #fff; font-size: 19px; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 75%); }
.gxw__value:hover .gxw__hex { transform: rotate(30deg); }
.gxw__value:hover .gxw__hex i { transform: rotate(-30deg); }
.gxw__hex i { transition: transform .5s var(--gx-out); }
.gxw__vbody { display: grid; gap: 4px; }
.gxw__vno { font: 600 11px/1 var(--gx-mono); letter-spacing: .16em; color: var(--bm-muted); }
.gxw__vtitle { font-family: var(--bm-serif); font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--bm-primary); }
.gxw__vtext { font-size: 15px; line-height: 1.6; color: #5a6578; }
.gxw__btn { margin-top: 30px; gap: 10px; }
.gxw__btn i { transition: transform .35s var(--gx-out); }
.gxw__btn:hover i { transform: translateX(4px); }
html.gx-anim .gxw__trace { transform: scaleY(0); transition: transform 1s var(--gx-out); }
html.gx-anim .gxw__value { opacity: 0; translate: -18px 0; transition: background .35s, transform .45s var(--gx-out), opacity .6s var(--gx-out), translate .7s var(--gx-out);
  transition-delay: 0s, 0s, calc(var(--i) * 120ms + .1s), calc(var(--i) * 120ms + .1s); }
html.gx-anim .gx-in .gxw__trace { transform: scaleY(1); }
html.gx-anim .gx-in .gxw__value { opacity: 1; translate: 0 0; }
html.gx-anim .gx-in .gxw__trace i { opacity: 1; animation: gxwPulse 3.4s linear 1s infinite; }
@keyframes gxwPulse { from { top: -70px; } to { top: 100%; } }

.gxw__stage { position: relative; padding: 22px 22px 22px 0; }
.gxw__back { position: absolute; inset: 0 0 44px 44px; border-radius: 30px; transform: rotate(5deg); transform-origin: 80% 80%;
  background: linear-gradient(135deg, var(--bm-accent), #6e0f1c); box-shadow: 0 30px 60px -40px rgba(170,22,41,.8); }
.gxw__back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 22px); }
.gxw-card { position: relative; isolation: isolate; overflow: hidden; padding: 30px 34px 34px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(170,22,41,.38), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(49,99,170,.28), transparent 60%),
    linear-gradient(150deg, #0d2a52 0%, var(--bm-primary) 55%, #030f22 100%);
  box-shadow: 0 46px 90px -44px rgba(5,25,53,.85), inset 0 0 0 1px rgba(255,255,255,.09);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--gx-out); }
.gxw-card__holo { position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: screen; transition: opacity .4s;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 20%), rgba(255,255,255,.22), transparent 38%),
    linear-gradient(115deg, transparent 30%, rgba(255,77,99,.16) 45%, rgba(120,180,255,.16) 55%, transparent 70%);
  background-size: 100% 100%, 220% 220%; background-position: 0 0, calc(var(--mx, 50%) * -1) 0; }
.gxw-card.is-tilt .gxw-card__holo { opacity: 1; }
.gxw-card__mark { position: absolute; right: -90px; top: -40px; width: 300px; aspect-ratio: 2000 / 2260; z-index: -1; color: rgba(255,255,255,.07); }
.gxw-card__mark svg { width: 100%; height: 100%; }
.gxw-card__mark .gx-mark__core, .gxq-tile__circuit .gx-mark__core { fill-opacity: .45; }
.gxw-card__strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.gxw-card__chip { position: relative; width: 52px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #e9edf3, #9aa7b8 55%, #dfe5ec); box-shadow: inset 0 0 0 1px rgba(5,25,53,.25); }
.gxw-card__chip i { position: absolute; left: 8px; right: 8px; height: 1px; background: rgba(5,25,53,.35); }
.gxw-card__chip i:nth-child(1) { top: 13px; } .gxw-card__chip i:nth-child(2) { top: 20px; } .gxw-card__chip i:nth-child(3) { top: 27px; }
.gxw-card__label { font: 600 12px/1 var(--gx-mono); letter-spacing: .2em; text-transform: uppercase; color: #f3b9c1; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bm-section .gxw-card__title, .gxw-card__title { font-family: var(--bm-serif) !important; font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; line-height: 1.1; color: #fff !important; margin: 0 0 10px; }
.gxw-card__text { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.gxw-card__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.gxw-card__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.92); }
.gxw-card__tick { flex: none; width: 30px; height: 34px; display: grid; place-items: center; font-size: 12px; color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s; }
.gxw-card__list li:hover .gxw-card__tick { background: var(--bm-accent); }
.gxw-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.bm-btn.gxw-card__cta { background: #fff; color: var(--bm-primary) !important; gap: 10px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.bm-btn.gxw-card__cta:hover { background: var(--bm-accent); color: #fff !important; }
.gxw-card__link { color: #fff !important; font-weight: 600; text-decoration: none !important; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; opacity: .9; transition: background-size .4s var(--gx-out), opacity .3s; }
.gxw-card__link:hover { opacity: 1; background-size: 40% 2px; }
html.gx-anim .gxw__stage { opacity: 0; translate: 0 30px; transition: opacity .8s var(--gx-out), translate 1s var(--gx-out); }
html.gx-anim .gxw__stage.gx-in { opacity: 1; translate: 0 0; }
html.gx-anim .gxw__stage .gxw__back { transform: rotate(0deg); transition: transform 1.2s var(--gx-out) .3s; }
html.gx-anim .gxw__stage.gx-in .gxw__back { transform: rotate(5deg); }

/* ---------- news: editorial spread (gxn) ---------- */
.gxn__spread { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 18px 30px; margin-top: 38px; }
.gxn__spread--one { grid-template-columns: minmax(0, 1fr); }
.gxn-item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border-radius: 22px;
  background: #fff; border: 1px solid var(--bm-line); transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
.gxn-item:not(.gxn-item--lead):hover { transform: translateX(-6px); border-color: rgba(170,22,41,.25); box-shadow: 0 24px 50px -36px rgba(5,25,53,.5); }
.gxn-item__img { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1; background: linear-gradient(135deg, #0a2448, var(--bm-primary)); }
.gxn-item__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--gx-out); }
.gxn-item:hover .gxn-item__img img { transform: scale(1.08); }
.gxn-item__body { display: grid; gap: 8px; min-width: 0; }
.gxn-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 12px/1.3 var(--gx-mono); color: var(--bm-muted); }
.gxn-item__no { color: var(--bm-accent); font-weight: 700; }
.gxn-item__cat { color: var(--bm-accent) !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; }
.bm-section .gxn-item__title, .gxn-item__title { font-family: var(--bm-serif) !important; font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0; }
.gxn-item__title a { color: var(--bm-primary) !important; text-decoration: none !important; background: linear-gradient(var(--bm-accent), var(--bm-accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--gx-out); }
.gxn-item:hover .gxn-item__title a { background-size: 100% 2px; }
.gxn-item__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gxn-item__text { font-size: 14px; line-height: 1.55; color: #5a6578; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gxn-item__read { display: none; }
.gxn-item__cat, .gxn-item__read { position: relative; z-index: 1; }
/* lead */
.gxn-item--lead { grid-row: span var(--rows); display: block; padding: 0; overflow: hidden; border: 0; min-height: 520px; color: #fff; isolation: isolate;
  box-shadow: 0 40px 80px -50px rgba(5,25,53,.75); transform: perspective(1200px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.gxn-item--lead:hover { --ty: -4px; }
.gxn-item--lead .gxn-item__img { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; }
.gxn-item--lead .gxn-item__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,25,53,0) 25%, rgba(5,25,53,.55) 55%, rgba(5,25,53,.95) 100%); }
.gxn-item__glare { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.22), transparent 45%); }
.gxn-item--lead.is-tilt .gxn-item__glare { opacity: 1; }
.gxn-item--lead .gxn-item__body { position: absolute; left: 22px; right: 22px; bottom: 22px; gap: 12px; padding: 26px 28px 26px; border-radius: 22px;
  background: rgba(5,25,53,.42); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.gxn-item--lead .gxn-item__meta { color: rgba(255,255,255,.75); }
.gxn-item--lead .gxn-item__no, .gxn-item--lead .gxn-item__cat { color: #ff8a99 !important; }
.gxn-item--lead .gxn-item__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; }
.gxn-item--lead .gxn-item__title a { color: #fff !important; background-image: linear-gradient(#ff4d63, #ff4d63); }
.gxn-item--lead .gxn-item__text { color: rgba(255,255,255,.82); font-size: 15.5px; -webkit-line-clamp: 3; }
.gxn-item--lead .gxn-item__read { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 4px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--bm-primary) !important; background: #fff; text-decoration: none !important; transition: background .3s, color .3s; }
.gxn-item--lead .gxn-item__read:hover { background: var(--bm-accent); color: #fff !important; }
html.gx-anim .gxn-item { opacity: 0; translate: 0 22px; transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s, opacity .7s var(--gx-out), translate .8s var(--gx-out);
  transition-delay: 0s, 0s, 0s, calc(var(--i) * 110ms), calc(var(--i) * 110ms); }
html.gx-anim .gx-in .gxn-item { opacity: 1; translate: 0 0; }

@media (max-width: 991px) {
  .gxw__wrap { grid-template-columns: minmax(0, 1fr); }
  .gxw__stage { max-width: 560px; }
  .gxn__spread { grid-template-columns: minmax(0, 1fr); }
  .gxn-item--lead { grid-row: auto; min-height: 460px; }
}
@media (max-width: 575px) {
  .gxw__vtitle { font-size: 21px; }
  .gxw__stage { padding: 14px 14px 14px 0; }
  .gxw-card { padding: 24px 22px 26px; }
  .gxw__back { inset: 0 0 30px 30px; }
  .gxn-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 10px; }
  .gxn-item__title { font-size: 17px; }
  .gxn-item__text { display: none; }
  .gxn-item--lead { min-height: 440px; }
  .gxn-item--lead .gxn-item__body { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .gxn-item--lead .gxn-item__text { display: -webkit-box; }
}
@media (prefers-reduced-motion: reduce) {
  .gxw__value, .gxw-card, .gxn-item, .gxn-item__img img { transition: none !important; }
  .gxw__value:hover .gxw__hex, .gxw__value:hover .gxw__hex i { transform: none; }
}

/* =====================================================================
   World map (front/sections/world_map.blade.php + js/gitta-world.js, gxm*): navy console with the dotted world,
   pins, network arcs, tooltip and the list of places.
   ===================================================================== */
.gxm { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxm__hex, .gxm__item-no, .gxm__tip-no { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxm__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.gxm__top .bm-head { margin-bottom: 0; max-width: 680px; }
.gxm__counts { display: flex; gap: 10px; margin: 0; }
.gxm__counts div { min-width: 120px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 16px 34px -28px rgba(5,25,53,.5); }
.gxm__counts dt { font: 600 11px/1 var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 8px; }
.gxm__counts dd { margin: 0; font-family: var(--bm-serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--bm-primary); }
.gxm__stage {
  position: relative; margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0; overflow: hidden; border-radius: 30px; color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 30% 40%, rgba(49,99,170,.22), transparent 65%),
    radial-gradient(ellipse 50% 60% at 95% 100%, rgba(170,22,41,.32), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 36px),
    linear-gradient(160deg, #0b2347, var(--bm-primary) 55%, #030d1f);
  box-shadow: 0 50px 100px -60px rgba(5,25,53,.9), inset 0 0 0 1px rgba(255,255,255,.07);
}
.gxm__map { position: relative; padding: 46px 28px 34px 34px; }
.gxm__plane { position: relative; aspect-ratio: 1800 / 710; transition: transform .6s var(--gx-out); transform-style: preserve-3d; }
.gxm__dots, .gxm__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.gxm__dots { opacity: .5; }
.gxm__layer { overflow: visible; }
.gxm__arc { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 7 7; opacity: .85; transition: opacity .4s, stroke-width .4s; }
.gxm.is-live .gxm__arc { animation: gxmFlow 2.2s linear infinite; }
.gxm__map.has-active .gxm__arc { opacity: .3; }
.gxm__map.has-active .gxm__arc.is-lit { opacity: 1; stroke-width: 3.6; stroke-dasharray: none; }
@keyframes gxmFlow { to { stroke-dashoffset: -20; } }
.gxm__pulse { fill: #ff4d63; filter: drop-shadow(0 0 6px rgba(255,77,99,.9)); }
.gxm__pin { position: absolute; z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.gxm__hex { position: relative; width: 16px; height: 18px; background: #fff; transition: transform .35s var(--gx-out), background .3s; }
.gxm__hex::after { content: ""; position: absolute; inset: 5px 4px; border-radius: 50%; background: var(--bm-accent); }
.gxm__ring { position: absolute; inset: -6px; pointer-events: none; border-radius: 50%; border: 1.5px solid rgba(255,77,99,.75); opacity: 0; }
.gxm.is-live .gxm__ring { animation: gxmRing 2.8s var(--gx-out) infinite; animation-delay: calc(var(--i) * -.4s); }
@keyframes gxmRing { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.gxm__pin:hover .gxm__hex, .gxm__pin.is-active .gxm__hex { transform: scale(1.5) rotate(90deg); background: #ff4d63; }
.gxm__pin:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 50%; }
.gxm__tip {
  position: absolute; z-index: 3; width: 250px; margin: 0; padding: 14px 16px 14px 56px; border-radius: 16px; pointer-events: none;
  transform: translate(22px, -50%); background: rgba(255,255,255,.95); color: var(--bm-primary); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6);
  display: grid; gap: 3px; animation: gxmTip .35s var(--gx-out);
}
.gxm__tip.is-left { transform: translate(calc(-100% - 22px), -50%); }
.gxm__tip.is-below { transform: translate(22px, 0); }
.gxm__tip.is-left.is-below { transform: translate(calc(-100% - 22px), 0); }
@keyframes gxmTip { from { opacity: 0; } to { opacity: 1; } }
.gxm__tip[hidden] { display: none; }
.gxm__tip-no { position: absolute; left: 14px; top: 14px; width: 30px; height: 34px; display: grid; place-items: center; font: 700 11px/1 var(--gx-mono); color: #fff; background: var(--bm-accent); }
.gxm__tip-label { font-family: var(--bm-serif); font-size: 18px; line-height: 1.2; }
.gxm__tip-place { font: 600 11px/1.3 var(--gx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--bm-accent); }
.gxm__tip-note { font-size: 13.5px; line-height: 1.5; color: #4a5568; }
.gxm__tip-note[hidden] { display: none; }
.gxm__tip-link { pointer-events: auto; position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff !important; background: var(--bm-primary); }
.gxm__tip-link[hidden] { display: none; }
.gxm__label { position: absolute; left: 34px; top: 18px; display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--gx-mono); letter-spacing: .2em; color: rgba(255,255,255,.55); }
.gxm__label i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
.gxm__list { list-style: none; margin: 0; padding: 26px 18px; display: flex; flex-direction: column; gap: 4px; height: 0; min-height: 100%; overflow-y: auto;
  border-inline-start: 1px solid rgba(255,255,255,.08); background: rgba(3,13,31,.35); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
body.bm .gxm__item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.82); text-align: start; cursor: pointer;
  transition: background .25s, color .25s, transform .35s var(--gx-out); }
body.bm .gxm__item:hover, body.bm .gxm__item.is-active { background: rgba(255,255,255,.08); color: #fff; transform: translateX(4px); }
body.bm .gxm__item:focus-visible { outline: 2px solid #ff4d63; outline-offset: 1px; }
.gxm__item-no { flex: none; width: 28px; height: 32px; display: grid; place-items: center; font: 600 10.5px/1 var(--gx-mono); background: rgba(255,255,255,.1); transition: background .25s; }
.gxm__item.is-active .gxm__item-no { background: var(--bm-accent); }
.gxm__item-text { display: grid; gap: 2px; min-width: 0; }
.gxm__item-text strong { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.gxm__item-text small { font: 500 11px/1.3 var(--gx-mono); color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 991px) {
  .gxm__stage { grid-template-columns: minmax(0, 1fr); }
  .gxm__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.08); height: auto; min-height: 0; }
}
@media (max-width: 575px) {
  .gxm__counts { width: 100%; }
  .gxm__counts div { flex: 1; min-width: 0; padding: 12px; }
  .gxm__counts dd { font-size: 24px; }
  .gxm__counts dt { font-size: 9.5px; letter-spacing: .04em; line-height: 1.25; min-height: 2.5em; }
  .gxm__stage { border-radius: 22px; margin-top: 26px; }
  .gxm__map { padding: 40px 0 14px; }
  .gxm__scroll { overflow-x: auto; scrollbar-width: none; padding: 0 14px; }
  .gxm__scroll::-webkit-scrollbar { display: none; }
  .gxm__plane { width: 760px; }
  .gxm__label { left: 16px; top: 16px; }
  .gxm__tip { width: 200px; padding: 10px 12px 10px 46px; }
  .gxm__tip-no { left: 10px; top: 10px; width: 26px; height: 30px; }
  .gxm__list { grid-template-columns: minmax(0, 1fr); padding: 14px 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .gxm__arc, .gxm__ring { animation: none !important; }
  .gxm__plane { transition: none; }
}

/* =====================================================================
   Inner pages v2 (About menu, Nov 18 2026): page header (gxh), generic sections (gxs-*: text+image, cards,
   steps, CTA, text with contents, in-page menu), accordion (gxa), FAQ page. Motion: gitta-home.js (reveal, tilt),
   gitta-pages.js (contents, FAQ filter, menu marker). Animations only under html.gx-anim.
   ===================================================================== */
.gxh, [class*="gxs-"], .gxa { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxs-hexico, .gxs-hexico > span, .gxs-ticks__hex, .gxs-step__node, .gxs-step__node > span, .gxs-chip__hex, .gxa__no, .gxs-toc__title i, .gxh .bm-pagehead__eyebrow i { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- page header ---------- */
.bm-pagehead.gxh { padding: 104px 0 92px; isolation: isolate; }
.gxh__grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 40px);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 30%, transparent 85%); }
.gxh__traces { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.gxh__traces path { fill: none; stroke: rgba(159,189,240,.28); stroke-width: 1.5; }
.gxh__traces .gxh__trace-hot { stroke: rgba(255,77,99,.75); stroke-dasharray: 60 600; }
.gxh__traces circle { fill: #0a1e3d; stroke: rgba(159,189,240,.55); stroke-width: 1.5; }
html.gx-anim .gxh__traces .gxh__trace-hot { animation: gxhRun 4s linear infinite; }
@keyframes gxhRun { from { stroke-dashoffset: 660; } to { stroke-dashoffset: 0; } }
.gxh__scan { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255,77,99,.9), transparent); background-size: 40% 100%; background-repeat: no-repeat; }
html.gx-anim .gxh__scan { animation: gxhScan 5s linear infinite; }
@keyframes gxhScan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.gxh__inner { position: relative; z-index: 2; }
.gxh .bm-pagehead__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--gx-mono); font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.75); }
.gxh .bm-pagehead__eyebrow i { width: 10px; height: 11px; background: #ff4d63; }
.gxh h1 { text-wrap: balance; }
html.gx-anim .gxh__inner > * { animation: gxhIn .8s var(--gx-out) both; }
html.gx-anim .gxh__inner > :nth-child(2) { animation-delay: .08s; }
html.gx-anim .gxh__inner > :nth-child(3) { animation-delay: .16s; }
@keyframes gxhIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- shared bits ---------- */
.gxs-hexico { flex: none; width: 54px; height: 61px; display: grid; place-items: center; background: color-mix(in srgb, var(--bm-accent) 18%, #fff); transition: transform .5s var(--gx-out); }
.gxs-hexico > span { width: 44px; height: 50px; display: grid; place-items: center; color: #fff; font-size: 18px; background: linear-gradient(150deg, #1d3e6e, var(--bm-primary) 70%); }
.gxs-hexico--light { background: rgba(255,255,255,.16); }
.gxs-hexico--light > span { background: rgba(255,255,255,.12); }
.gxs-hexico--sm { width: 34px; height: 38px; }
.gxs-hexico--sm > span { width: 28px; height: 32px; font-size: 12px; background: var(--bm-accent); }
.bm-section .gxs-h2, .gxs-h2 { font-family: var(--bm-serif) !important; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; color: var(--bm-primary) !important; text-wrap: balance; }
.gxs-prose { font-size: 17px; line-height: 1.75; color: #3f4a5c; }
.gxs-prose p { margin: 0 0 1.1em; }
.gxs-prose a { color: var(--bm-accent); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .3s; }
.gxs-prose a:hover { background-size: 100% 2px; }
.gxs-prose ul { list-style: none; padding-left: 0; }
.gxs-prose ul > li { position: relative; padding-left: 26px; margin: .45em 0; }
.gxs-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 10px; background: var(--bm-accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxs-prose ol { padding-left: 1.4em; }
.gxs-prose ol > li::marker { font-family: var(--gx-mono); font-size: .85em; color: var(--bm-accent); font-weight: 700; }
.gxs-prose h2, .gxs-prose h3 { font-family: var(--bm-serif) !important; color: var(--bm-primary) !important; line-height: 1.2; scroll-margin-top: 110px; }
.gxs-prose h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.gxs-prose h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.gxs-prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-radius: 16px; background: var(--bm-soft); border-left: 3px solid var(--bm-accent); font-family: var(--bm-serif); font-size: 19px; color: var(--bm-primary); }
.gxs-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0; font-size: 15px; border: 1px solid var(--bm-line); border-radius: 14px; overflow: hidden; }
.gxs-prose th { background: var(--bm-primary); color: #fff; font-weight: 600; text-align: left; }
.gxs-prose th, .gxs-prose td { padding: 11px 14px; border-bottom: 1px solid var(--bm-line); }
.gxs-prose tr:nth-child(even) td { background: #f8fafc; }

/* ---------- in-page menu ---------- */
.ab-subnav.gxs-subnav { top: 76px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(13,23,38,.08); box-shadow: 0 14px 30px -26px rgba(5,25,53,.5); }
.gxs-subnav ul { position: relative; padding: 10px 0; }
.gxs-subnav li a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px !important; border-radius: 999px; white-space: nowrap; transition: color .3s; }
.gxs-subnav__no { font: 600 11px/1 var(--gx-mono); color: var(--bm-accent); transition: color .3s; }
.gxs-subnav ul.has-ink li a.is-active { background: transparent !important; color: #fff !important; }
.gxs-subnav ul.has-ink li a.is-active .gxs-subnav__no { color: #ff8a99; }
.gxs-subnav__ink { position: absolute; top: 10px; bottom: 10px; left: 0; width: 0; border-radius: 999px; background: var(--bm-primary); box-shadow: 0 10px 22px -12px rgba(5,25,53,.7); opacity: 0; pointer-events: none;
  transition: transform .5s var(--gx-out), width .5s var(--gx-out); }
.gxs-subnav ul.has-ink .gxs-subnav__ink { opacity: 1; }

/* ---------- text + image / pillars / ticks ---------- */
.gxs-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.gxs-split__grid.is-reverse > :first-child { order: 2; }
.gxs-frame { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bm-primary); box-shadow: 0 40px 80px -50px rgba(5,25,53,.75);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--gx-out); }
.gxs-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--gx-out); }
.gxs-frame:hover img { transform: scale(1.05); }
.gxs-frame__glare, .gxs-card__glare, .gxs-statement__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.25), transparent 46%); }
.is-tilt > .gxs-frame__glare, .is-tilt > .gxs-card__glare, .is-tilt > .gxs-statement__glare { opacity: 1; }
.gxs-frame__corner { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.85); }
.gxs-frame__corner--tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.gxs-frame__corner--br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.gxs-frame__badge { position: absolute; right: 22px; top: 22px; width: 54px; height: 61px; display: grid; place-items: center; color: #fff; background: rgba(5,25,53,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxs-frame__badge svg { width: 28px; height: 32px; }
.gxs-pillars { display: grid; gap: 14px; }
.gxs-pillar { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,.85);
  border: 1px solid var(--bm-line); box-shadow: 0 20px 40px -34px rgba(5,25,53,.5); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s var(--gx-out), border-color .3s, box-shadow .45s var(--gx-out); }
.gxs-pillar:hover { border-color: rgba(170,22,41,.28); box-shadow: 0 30px 56px -36px rgba(5,25,53,.55); }
.gxs-pillar:hover .gxs-hexico { transform: rotate(30deg); }
.gxs-pillar:hover .gxs-hexico i { transform: rotate(-30deg); }
.gxs-hexico i { transition: transform .5s var(--gx-out); }
.gxs-pillar__no { position: absolute; right: 18px; top: 14px; font: 600 11px/1 var(--gx-mono); color: var(--bm-muted); letter-spacing: .12em; }
.bm-section .gxs-pillar__title, .gxs-pillar__title { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--bm-primary); }
.gxs-pillar__text { margin: 0; font-size: 15px; line-height: 1.6; color: #5a6578; }
.gxs-ticks { list-style: none; margin: 0; padding: 26px 28px; display: grid; gap: 14px; border-radius: 24px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 24px 50px -40px rgba(5,25,53,.5); }
.gxs-ticks li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--bm-primary); }
.gxs-ticks__hex { flex: none; width: 28px; height: 32px; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--bm-accent); }

/* ---------- cards: statements ---------- */
.gxs-statements { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 22px; margin-top: 36px; }
.gxs-statement { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 38px 38px 40px; min-height: 340px; border-radius: 28px; color: #fff; scroll-margin-top: 140px;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(49,99,170,.4), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 30px), repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 30px),
    linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 40px 80px -50px rgba(5,25,53,.85), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--gx-out); }
.gxs-statement--red { background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,77,99,.45), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 30px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 30px),
    linear-gradient(150deg, #b81c31, #7a0f1e 60%, #3c0710); }
.gxs-statement__num { position: absolute; right: 26px; bottom: -18px; z-index: -1; font: 800 150px/1 var(--bm-serif); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.16); }
.gxs-statement__tag { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--gx-mono); letter-spacing: .2em; text-transform: uppercase; color: #ffd2d8; }
.gxs-statement__tag i { width: 26px; height: 2px; background: currentColor; }
.gxs-statement__quote { margin: 0; font-family: var(--bm-serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; font-weight: 600; color: #fff; text-wrap: pretty; }
.gxs-statement__text { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.65; }
.gxs-statement__text p:last-child { margin-bottom: 0; }
.gxs-statement__link { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--bm-primary) !important; background: #fff; text-decoration: none !important; }

/* ---------- cards: glass ---------- */
.gxs-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.gxs-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 26px 26px 28px; border-radius: 24px; scroll-margin-top: 140px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,249,252,.92)); border: 1px solid var(--bm-line); box-shadow: 0 22px 44px -36px rgba(5,25,53,.5);
  transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
.gxs-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bm-accent), #ff4d63); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--gx-out); }
.gxs-card:hover { --ty: -6px; border-color: rgba(170,22,41,.25); box-shadow: 0 34px 60px -36px rgba(5,25,53,.55); }
.gxs-card:hover::after { transform: scaleX(1); }
.gxs-card:hover .gxs-hexico { transform: rotate(30deg); }
.gxs-card:hover .gxs-hexico i { transform: rotate(-30deg); }
.gxs-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gxs-card__no { margin-left: auto; font: 600 12px/1 var(--gx-mono); letter-spacing: .14em; color: var(--bm-muted); }
.gxs-card__body { display: grid; gap: 8px; }
.gxs-card__tag { font: 600 11px/1.2 var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bm-accent); }
.bm-section .gxs-card__title, .gxs-card__title { font-family: var(--bm-serif) !important; font-size: 21px; line-height: 1.22; font-weight: 700; margin: 0; color: var(--bm-primary) !important; }
.gxs-card__text { font-size: 15px; line-height: 1.65; color: #5a6578; }
.gxs-card__text p:last-child { margin-bottom: 0; }
.gxs-card__link { margin-top: 4px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--bm-accent) !important; text-decoration: none !important; }
.gxs-cards--row .gxs-card { flex-direction: row; align-items: flex-start; }
.gxs-cards--row .gxs-card__head { flex-direction: column; align-items: flex-start; }
.gxs-cards--row .gxs-card__no { margin-left: 0; }

/* ---------- steps: circuit ---------- */
.gxs-steps { position: relative; list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px; }
.gxs-steps__trace { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 31px; height: 2px; background: linear-gradient(90deg, rgba(5,25,53,.12), rgba(5,25,53,.28), rgba(5,25,53,.12)); transform-origin: 0 50%; }
.gxs-steps__trace i { position: absolute; top: -1px; left: 0; width: 90px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--bm-accent), transparent); opacity: 0; }
.gxs-step { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; }
.gxs-step__node { position: relative; z-index: 1; width: 56px; height: 63px; display: grid; place-items: center; background: color-mix(in srgb, var(--bm-accent) 22%, #fff); transition: transform .5s var(--gx-out); }
.gxs-step__node > span { width: 46px; height: 52px; display: grid; place-items: center; font: 700 13px/1 var(--gx-mono); color: #fff; background: linear-gradient(150deg, #1d3e6e, var(--bm-primary) 70%); }
.gxs-step:last-child .gxs-step__node > span { background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxs-step:hover .gxs-step__node { transform: rotate(30deg); }
.gxs-step:hover .gxs-step__node > span { transform: rotate(-30deg); }
.gxs-step__node > span { transition: transform .5s var(--gx-out); }
.gxs-step__card { width: 100%; padding: 20px 18px 22px; border-radius: 20px; background: rgba(255,255,255,.88); border: 1px solid var(--bm-line); box-shadow: 0 20px 40px -34px rgba(5,25,53,.5); transition: border-color .3s, transform .45s var(--gx-out); }
.gxs-step:hover .gxs-step__card { border-color: rgba(170,22,41,.28); transform: translateY(-4px); }
.bm-section .gxs-step__title, .gxs-step__title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: var(--bm-primary); }
.gxs-step__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5a6578; }

/* ---------- CTA console ---------- */
.gxs-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(36px, 5vw, 64px); border-radius: 30px; color: #fff;
  background:
    radial-gradient(ellipse 60% 90% at 100% 100%, rgba(170,22,41,.5), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(49,99,170,.35), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 34px),
    linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 50px 100px -60px rgba(5,25,53,.9); }
.gxs-cta--img { background: linear-gradient(100deg, rgba(5,25,53,.96) 30%, rgba(5,25,53,.7) 70%, rgba(170,22,41,.55)), var(--img) center / cover no-repeat; }
.gxs-cta__mark { position: absolute; right: 4%; top: 50%; height: 170%; aspect-ratio: 2000 / 2260; transform: translateY(-50%); z-index: -1; color: rgba(255,255,255,.07); }
.gxs-cta__mark svg { width: 100%; height: 100%; }
.gxs-cta__mark .gx-mark__core { fill-opacity: .4; }
.gxs-cta__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.gxs-cta__line i { position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, #ff4d63, transparent); }
html.gx-anim .gxs-cta__line i { animation: gxsLine 4.5s linear infinite; }
@keyframes gxsLine { to { left: 100%; } }
.bm-cta-wrap .gxs-cta__title, .gxs-cta__title { font-family: var(--bm-serif) !important; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; margin: 0 0 10px; color: #fff !important; text-wrap: balance; }
.gxs-cta__text { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.8); }
.gxs-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.gxs-cta__btns .bm-btn--ghost, .gxs-cta__btns .bm-btn--dark { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.3); }

/* ---------- long text with contents ---------- */
.gxs-doc { display: grid; grid-template-columns: 270px minmax(0, 760px); gap: clamp(32px, 5vw, 72px); justify-content: center; align-items: start; }
.gxs-doc.is-flat { grid-template-columns: minmax(0, 760px); }
.gxs-doc.is-flat .gxs-doc__toc { display: none; }
.gxs-doc__toc { position: sticky; top: 104px; }
.gxs-toc { position: relative; padding: 22px 20px 20px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 24px 50px -40px rgba(5,25,53,.5); max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; }
.gxs-toc__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 11.5px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-primary); }
.gxs-toc__title i { width: 10px; height: 11px; background: var(--bm-accent); }
.gxs-toc__bar { position: absolute; left: 14px; top: 52px; bottom: 56px; width: 2px; border-radius: 2px; background: rgba(5,25,53,.1); overflow: hidden; }
.gxs-toc__bar i { position: absolute; inset: 0; background: var(--bm-accent); transform-origin: 50% 0; transform: scaleY(0); }
.gxs-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gxs-toc__item a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #4a5568 !important; text-decoration: none !important; transition: background .25s, color .25s; }
.gxs-toc__item--h3 a { padding-left: 38px; font-size: 13px; }
.gxs-toc__item a:hover { background: var(--bm-soft); color: var(--bm-primary) !important; }
.gxs-toc__item a.is-active { background: rgba(170,22,41,.07); color: var(--bm-accent) !important; font-weight: 600; }
.gxs-toc__no { flex: none; font: 600 11px/1.6 var(--gx-mono); color: var(--bm-muted); }
.gxs-toc__item a.is-active .gxs-toc__no { color: var(--bm-accent); }
.gxs-toc__top { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 12px/1 var(--gx-mono); letter-spacing: .08em; color: var(--bm-muted) !important; text-decoration: none !important; }
.gxs-toc__top:hover { color: var(--bm-accent) !important; }
.gxs-prose--doc { font-size: 17px; }
.gxs-prose--doc h2 { position: relative; padding-top: 22px; margin-top: 1.8em; }
.gxs-prose--doc h2::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--bm-accent); }
.gxs-prose--doc > :first-child { margin-top: 0; padding-top: 0; }
.gxs-prose--doc > h2:first-child::before { display: none; }

/* ---------- accordion ---------- */
.gxa { display: grid; gap: 12px; }
.gxa__item { border-radius: 20px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 18px 40px -36px rgba(5,25,53,.5); transition: border-color .3s, box-shadow .4s var(--gx-out); }
.gxa__item[hidden] { display: none; }
.gxa__item[open] { border-color: rgba(170,22,41,.3); box-shadow: 0 28px 56px -40px rgba(5,25,53,.6); }
.gxa__q { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.gxa__q::-webkit-details-marker { display: none; }
.gxa__q:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 2px; border-radius: 20px; }
.gxa__no { width: 34px; height: 38px; display: grid; place-items: center; font: 700 11px/1 var(--gx-mono); color: var(--bm-primary); background: var(--bm-soft); transition: background .3s, color .3s; }
.gxa__item[open] .gxa__no { background: var(--bm-accent); color: #fff; }
.gxa__qtext { display: grid; gap: 4px; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--bm-primary); }
.gxa__cat { font: 600 10.5px/1.2 var(--gx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bm-muted); }
.gxa__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--bm-soft); transition: background .3s, transform .45s var(--gx-out); }
.gxa__icon::before, .gxa__icon i { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--bm-primary); transition: transform .45s var(--gx-out), background .3s; }
.gxa__icon i { transform: rotate(90deg); }
.gxa__item[open] .gxa__icon { background: var(--bm-primary); transform: rotate(180deg); }
.gxa__item[open] .gxa__icon::before, .gxa__item[open] .gxa__icon i { background: #fff; }
.gxa__item[open] .gxa__icon i { transform: rotate(0deg); }
.gxa__a { padding: 0 64px 22px 70px; font-size: 16px; }
.gxa__a > :last-child { margin-bottom: 0; }
html.gx-anim .gxa__item[open] .gxa__a { animation: gxaOpen .45s var(--gx-out); }
@keyframes gxaOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.gxs-faq-more { margin-top: 26px; }

/* ---------- FAQ page ---------- */
.gxs-faqpage__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.gxs-faqpage__side { position: sticky; top: 104px; }
.gxs-faqpage__panel { display: grid; gap: 18px; padding: 24px; border-radius: 24px; color: #fff;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(170,22,41,.4), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), linear-gradient(160deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 40px 80px -50px rgba(5,25,53,.85); }
.gxs-faqpage__search { display: grid; gap: 10px; margin: 0; }
.gxs-faqpage__label { font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.gxs-faqpage__field { position: relative; display: block; }
.gxs-faqpage__field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--bm-primary); opacity: .6; }
body.bm .gxs-faqpage__field input { width: 100%; height: 50px; padding: 0 16px 0 44px; border-radius: 14px; border: 0 !important; background: #fff; color: var(--bm-primary); font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
body.bm .gxs-faqpage__field input:focus { outline: 3px solid rgba(255,77,99,.6); outline-offset: 2px; }
.gxs-faqpage__topics { display: grid; gap: 6px; }
body.bm .gxs-chip { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 0; background: transparent; color: rgba(255,255,255,.82); font-size: 14.5px; font-weight: 600; text-align: start; cursor: pointer; transition: background .25s, color .25s, transform .35s var(--gx-out); }
body.bm .gxs-chip:hover { background: rgba(255,255,255,.07); color: #fff; }
body.bm .gxs-chip.is-active { background: #fff; color: var(--bm-primary); transform: translateX(4px); }
.gxs-chip b { margin-left: auto; font: 600 11px/1 var(--gx-mono); padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.12); }
.gxs-chip.is-active b { background: rgba(5,25,53,.08); }
.gxs-chip__hex { flex: none; width: 9px; height: 10px; background: rgba(255,255,255,.35); transition: background .3s, transform .45s var(--gx-out); }
.gxs-chip.is-active .gxs-chip__hex { background: var(--bm-accent); transform: rotate(90deg); }
body.bm .gxs-chip:focus-visible { outline: 2px solid #ff4d63; outline-offset: 1px; }
.gxs-faqpage__count { margin: 0; font: 600 12px/1 var(--gx-mono); letter-spacing: .08em; color: rgba(255,255,255,.6); }
.gxs-faqpage__ask { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .3s; }
.gxs-faqpage__ask:hover { background: rgba(255,255,255,.14); }
.gxs-faqpage__ask > .fa-arrow-right { margin-left: auto; }
.gxs-faqpage__none { margin: 6px 0 0; padding: 22px; border-radius: 18px; background: var(--bm-soft); color: #4a5568; }
.gxs-faqpage__none a { font-weight: 700; color: var(--bm-accent) !important; }
html.gx-anim .gxs-faqpage.is-filtered .gxa__item:not([hidden]) { animation: gxaIn .45s var(--gx-out) both; animation-delay: calc(min(var(--i), 8) * 40ms); }
@keyframes gxaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- reveal ---------- */
html.gx-anim .gxs-split__text, html.gx-anim .gxs-frame, html.gx-anim .gxs-ticks, html.gx-anim .gxs-cta { opacity: 0; translate: 0 24px; transition: opacity .8s var(--gx-out), translate .9s var(--gx-out), transform .5s var(--gx-out); }
html.gx-anim .gxs-split__text.gx-in, html.gx-anim .gxs-frame.gx-in, html.gx-anim .gxs-ticks.gx-in, html.gx-anim .gxs-cta.gx-in { opacity: 1; translate: 0 0; }
html.gx-anim .gxs-pillar, html.gx-anim .gxs-card, html.gx-anim .gxs-statement, html.gx-anim .gxs-step { opacity: 0; translate: 0 22px; transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s, opacity .7s var(--gx-out), translate .8s var(--gx-out);
  transition-delay: 0s, 0s, 0s, calc(var(--i) * 100ms), calc(var(--i) * 100ms); }
html.gx-anim .gx-in .gxs-pillar, html.gx-anim .gx-in .gxs-card, html.gx-anim .gx-in .gxs-statement, html.gx-anim .gx-in .gxs-step { opacity: 1; translate: 0 0; }
html.gx-anim .gxs-steps__trace { transform: scaleX(0); transition: transform 1.2s var(--gx-out); }
html.gx-anim .gx-in .gxs-steps__trace { transform: scaleX(1); }
html.gx-anim .gx-in .gxs-steps__trace i { opacity: 1; animation: gxfPulse 4.4s linear 1.2s infinite; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .gxs-cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .gxs-doc { grid-template-columns: 230px minmax(0, 1fr); }
  .gxs-faqpage__grid { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .gxs-split__grid { grid-template-columns: minmax(0, 1fr); }
  .gxs-split__grid.is-reverse > :first-child { order: 0; }
  .gxs-statements { grid-template-columns: minmax(0, 1fr); }
  .gxs-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gxs-steps__trace { left: 27px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; transform-origin: 50% 0; }
  html.gx-anim .gxs-steps__trace { transform: scaleY(0); }
  html.gx-anim .gx-in .gxs-steps__trace { transform: scaleY(1); }
  .gxs-steps__trace i { display: none; }
  .gxs-step { grid-template-columns: 56px minmax(0, 1fr); justify-items: stretch; align-items: start; text-align: left; }
  .gxs-cta { grid-template-columns: minmax(0, 1fr); }
  .gxs-doc, .gxs-faqpage__grid { grid-template-columns: minmax(0, 1fr); }
  .gxs-doc__toc, .gxs-faqpage__side { position: static; }
  .gxs-toc { max-height: none; }
  .gxs-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxs-faqpage__topics { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -6px; padding: 0 6px; }
  body.bm .gxs-chip { width: auto; flex: none; white-space: nowrap; }
  body.bm .gxs-chip.is-active { transform: none; }
}
@media (max-width: 575px) {
  .bm-pagehead.gxh { padding: 72px 0 60px; }
  .gxs-cards { grid-template-columns: minmax(0, 1fr); }
  .gxs-statement { padding: 28px 24px 30px; min-height: 0; }
  .gxs-statement__num { font-size: 110px; }
  .gxs-toc__list { grid-template-columns: minmax(0, 1fr); }
  .gxa__q { gap: 12px; padding: 14px 14px; }
  .gxa__qtext { font-size: 15.5px; }
  .gxa__a { padding: 0 16px 18px 16px; font-size: 15px; }
  .gxs-prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gxs-frame, .gxs-pillar, .gxs-card, .gxs-statement, .gxs-step__card, .gxs-subnav__ink, .gxs-hexico, .gxs-step__node { transition: none !important; }
  .gxs-card:hover .gxs-hexico, .gxs-pillar:hover .gxs-hexico, .gxs-step:hover .gxs-step__node { transform: none; }
}
/* inner pages v2 — fixes: .bm-prose forces disc bullets with !important; statement text on dark; CTA mark core behind buttons */
.bm-prose.gxs-prose ul { list-style: none !important; padding-inline-start: 0; }
.bm-prose.gxs-prose ul > li::marker { content: "" !important; }
.gxs-statement__text, .gxs-statement__text p, .gxs-statement__text li { color: rgba(255,255,255,.82) !important; }
.gxs-cta__mark { right: -6%; }
.gxs-cta__mark .gx-mark__core { fill-opacity: .18; }

/* =====================================================================
   News & Events pages (Nov 18, 2026, gxp-*): list bar + topics, news cards, article (reading bar, contents, share),
   event rows with date blocks, "Next up" spotlight, event ticket, media bento + lightbox, FullCalendar theme.
   Views front/{blogs,blog-details,events,event-details,gallery,calendar}, partials gitta/{news,event}-card, js gitta-news.js.
   ===================================================================== */
[class*="gxp-"] { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxp-topic__hex, .gxp-ecard__date, .gxp-article__cat i, .gxp-group__title i { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- list bar + topics ---------- */
.gxp-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 24px 48px; align-items: end; margin-bottom: 26px; }
.gxp-bar--plain { grid-template-columns: minmax(0, 1fr) auto; }
.gxp-bar__lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.65; color: #4a5568; }
.gxp-search { display: grid; gap: 8px; margin: 0; }
.gxp-search__label { font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-muted); }
.gxp-search__field { position: relative; display: flex; align-items: center; height: 54px; border-radius: 999px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 18px 40px -32px rgba(5,25,53,.5); transition: border-color .3s, box-shadow .3s; }
.gxp-search__field:focus-within { border-color: var(--bm-primary); box-shadow: 0 0 0 4px rgba(5,25,53,.08); }
.gxp-search__field > i { position: absolute; left: 20px; color: var(--bm-muted); }
body.bm .gxp-search__field input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 48px; border: 0 !important; background: transparent; font-size: 15px; color: var(--bm-primary); box-shadow: none !important; outline: 0; }
body.bm .gxp-search__field button { flex: none; width: 42px; height: 42px; margin-right: 6px; border: 0; border-radius: 50%; background: var(--bm-primary); color: #fff; cursor: pointer; transition: background .3s, transform .4s var(--gx-out); }
body.bm .gxp-search__field button:hover { background: var(--bm-accent); transform: rotate(-45deg); }
.gxp-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.gxp-topic { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--bm-line); background: #fff; font-size: 14px; font-weight: 600; color: var(--bm-primary) !important; text-decoration: none !important; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .35s var(--gx-out); }
.gxp-topic:hover { border-color: var(--bm-primary); transform: translateY(-2px); }
.gxp-topic b { font: 600 11px/1 var(--gx-mono); padding: 4px 7px; border-radius: 999px; background: rgba(5,25,53,.07); }
.gxp-topic__hex { width: 9px; height: 10px; background: rgba(5,25,53,.25); transition: background .3s, transform .45s var(--gx-out); }
.gxp-topic.is-active { background: var(--bm-primary); border-color: var(--bm-primary); color: #fff !important; box-shadow: 0 12px 24px -14px rgba(5,25,53,.7); }
.gxp-topic.is-active b { background: rgba(255,255,255,.16); }
.gxp-topic.is-active .gxp-topic__hex { background: #ff4d63; transform: rotate(90deg); }
.gxp-topics--small .gxp-topic { padding: 7px 12px; font-size: 13px; }
.gxp-count { margin: 0 0 22px; font: 600 12px/1.4 var(--gx-mono); letter-spacing: .06em; color: var(--bm-muted); }
.gxp-bar--plain .gxp-count { margin: 0; }
.gxp-empty { padding: 26px; border-radius: 20px; background: var(--bm-soft); color: #4a5568; text-align: center; }
.gxp-empty[hidden] { display: none; }

/* ---------- news cards ---------- */
.gxp-ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gxp-ngrid--3 { margin-top: 30px; }
.gxp-ncard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 22px 44px -36px rgba(5,25,53,.5);
  transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
.gxp-ncard[hidden] { display: none; }
.gxp-ncard:hover { --ty: -6px; border-color: rgba(170,22,41,.25); box-shadow: 0 34px 60px -36px rgba(5,25,53,.55); }
.gxp-ncard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--bm-accent), #ff4d63); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--gx-out); }
.gxp-ncard:hover::after { transform: scaleX(1); }
.gxp-ncard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #0a2448, var(--bm-primary)); }
.gxp-ncard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--gx-out); }
.gxp-ncard:hover .gxp-ncard__img img { transform: scale(1.08); }
.gxp-ncard__glare { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.3), transparent 48%); }
.gxp-ncard.is-tilt .gxp-ncard__glare { opacity: 1; }
.gxp-ncard__flag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 600 11px/1 var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(5,25,53,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gxp-ncard__flag i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d63; box-shadow: 0 0 0 3px rgba(255,77,99,.3); }
.gxp-ncard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.gxp-ncard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 12px/1.3 var(--gx-mono); color: var(--bm-muted); }
.gxp-ncard__cat { position: relative; z-index: 2; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bm-accent) !important; text-decoration: none !important; }
.gxp-ncard__title { margin: 0; font-family: var(--bm-serif) !important; font-size: 20px; line-height: 1.25; font-weight: 700; }
.gxp-ncard__title a { color: var(--bm-primary) !important; text-decoration: none !important; }
.gxp-ncard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gxp-ncard__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5a6578; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gxp-ncard__read { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--bm-accent); }
.gxp-ncard__read i { transition: transform .35s var(--gx-out); }
.gxp-ncard:hover .gxp-ncard__read i { transform: translateX(4px); }
.gxp-ncard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.gxp-ncard--lead .gxp-ncard__img { aspect-ratio: auto; min-height: 380px; }
.gxp-ncard--lead .gxp-ncard__body { justify-content: center; padding: 36px 40px; gap: 14px;
  background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(170,22,41,.06), transparent 60%), linear-gradient(180deg, #fff, #f7f9fc); }
.gxp-ncard--lead .gxp-ncard__title { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; }
.gxp-ncard--lead .gxp-ncard__text { font-size: 16.5px; -webkit-line-clamp: 4; }

/* ---------- article ---------- */
.gxp-readbar { position: fixed; left: 0; right: 0; top: 0; z-index: 1600; height: 3px; pointer-events: none; }
.gxp-readbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bm-accent), #ff4d63); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(255,77,99,.6); }
.gxp-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 22px; font: 500 13px/1.3 var(--gx-mono); color: var(--bm-muted); }
.gxp-article__meta i { margin-right: 4px; }
.gxp-article__cat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(170,22,41,.07); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bm-accent) !important; text-decoration: none !important; }
.gxp-article__cat i { width: 9px; height: 10px; margin: 0; background: var(--bm-accent); }
.gxp-article__hero { aspect-ratio: 16 / 9; margin-bottom: 34px; }
.gxp-share { margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--bm-line); }
.gxp-share__label { display: block; margin-bottom: 12px; font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-muted); }
.gxp-share__row { display: flex; flex-wrap: wrap; gap: 8px; }
body.bm .gxp-share__row a, body.bm .gxp-share__row button { height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--bm-soft); color: var(--bm-primary) !important; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: background .3s, color .3s, transform .35s var(--gx-out); }
body.bm .gxp-share__row a:hover, body.bm .gxp-share__row button:hover { background: var(--bm-primary); color: #fff !important; transform: translateY(-2px); }
body.bm .gxp-share__row button.is-done { background: #1f8f5f; color: #fff !important; }
.gxp-article__end { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--bm-line); }
@media (min-width: 992px) { .gxs-doc.gxp-doc { grid-template-columns: 260px minmax(0, 760px); } }

/* ---------- events ---------- */
.gxp-ecard__date { flex: none; width: 84px; height: 96px; display: grid; place-content: center; justify-items: center; gap: 2px; color: #fff; text-align: center;
  background: linear-gradient(160deg, #0d2a52, var(--bm-primary)); }
.gxp-ecard__date strong { font: 700 30px/1 var(--bm-serif); }
.gxp-ecard__wd, .gxp-ecard__my { font: 600 10px/1 var(--gx-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.gxp-ecard__wd { color: #ff8a99; }
.gxp-ecard__date--lg { width: 104px; height: 118px; }
.gxp-ecard__date--lg strong { font-size: 38px; }
.gxp-elist { display: grid; gap: 14px; }
.gxp-ecard { position: relative; display: grid; grid-template-columns: auto 200px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 14px 22px 14px 14px; border-radius: 24px;
  background: #fff; border: 1px solid var(--bm-line); color: inherit !important; text-decoration: none !important; box-shadow: 0 20px 40px -36px rgba(5,25,53,.5);
  transform: perspective(1200px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
.gxp-ecard:hover { --ty: -4px; border-color: rgba(170,22,41,.28); box-shadow: 0 30px 56px -36px rgba(5,25,53,.55); }
.gxp-ecard__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #0a2448, var(--bm-primary)); }
.gxp-ecard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--gx-out); }
.gxp-ecard:hover .gxp-ecard__img img { transform: scale(1.07); }
.gxp-ecard__cat { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; font: 600 10px/1.2 var(--gx-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(5,25,53,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gxp-ecard__body { display: grid; gap: 8px; min-width: 0; }
.gxp-ecard__when { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--gx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-accent); }
.gxp-ecard__when i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gxp-ecard.is-soon .gxp-ecard__when i { box-shadow: 0 0 0 0 rgba(170,22,41,.5); }
html.gx-anim .gxp-ecard.is-soon .gxp-ecard__when i { animation: gxpBlink 1.8s ease-out infinite; }
@keyframes gxpBlink { 0% { box-shadow: 0 0 0 0 rgba(170,22,41,.55); } 100% { box-shadow: 0 0 0 9px rgba(170,22,41,0); } }
.gxp-ecard__title { font-family: var(--bm-serif); font-size: 21px; line-height: 1.25; font-weight: 700; color: var(--bm-primary); }
.gxp-ecard__chips { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.gxp-ecard__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--bm-primary); background: var(--bm-soft); }
.gxp-ecard__cost { color: #1f8f5f !important; background: rgba(31,143,95,.09) !important; }
.gxp-ecard__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-primary); transition: background .3s, color .3s, transform .45s var(--gx-out); }
.gxp-ecard:hover .gxp-ecard__go { background: var(--bm-accent); color: #fff; transform: rotate(-45deg); }
.gxp-ecard.is-past { opacity: .72; }
.gxp-ecard.is-past .gxp-ecard__date { background: linear-gradient(160deg, #5c6b80, #3b4759); }
.gxp-ecard.is-past .gxp-ecard__when { color: var(--bm-muted); }
.gxp-group { margin-top: 44px; }
.gxp-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--bm-serif) !important; font-size: 26px; color: var(--bm-primary) !important; }
.gxp-group__title i { width: 12px; height: 13px; background: var(--bm-accent); }
.gxp-group--past .gxp-group__title i { background: var(--bm-muted); }
.gxp-group__title b { font: 600 12px/1 var(--gx-mono); padding: 5px 9px; border-radius: 999px; background: var(--bm-soft); color: var(--bm-muted); }
.gxp-next { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); margin-top: 10px; border-radius: 30px; color: #fff;
  background: radial-gradient(ellipse 70% 80% at 100% 100%, rgba(170,22,41,.45), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px), linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 50px 100px -60px rgba(5,25,53,.9); transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--gx-out); }
.gxp-next__img { position: relative; min-height: 380px; overflow: hidden; }
.gxp-next__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gxp-next__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(5,25,53,.9)); }
.gxp-next__glare { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.22), transparent 45%); }
.gxp-next.is-tilt .gxp-next__glare { opacity: 1; }
.gxp-next__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.gxp-next__flag { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: #ffd2d8; }
.gxp-next__flag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d63; }
html.gx-anim .gxp-next__flag i { animation: gxpBlink 1.8s ease-out infinite; }
.gxp-next__row { display: flex; align-items: center; gap: 22px; }
.gxp-next .gxp-ecard__date { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.gxp-next__title { margin: 0; font-family: var(--bm-serif) !important; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.gxp-next__title a { color: #fff !important; text-decoration: none !important; }
.gxp-next__text { margin: 0; color: rgba(255,255,255,.78); font-size: 15.5px; line-height: 1.6; }
.gxp-next__chips span { background: rgba(255,255,255,.1); color: #fff; }
.gxp-next__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bm-btn.gxp-btn-glass { background: rgba(255,255,255,.1); color: #fff !important; border: 1px solid rgba(255,255,255,.28); }
.bm-btn.gxp-btn-glass:hover { background: #fff; color: var(--bm-primary) !important; }
/* event page */
.gxp-event__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.gxp-event__hero { aspect-ratio: 16 / 9; margin-bottom: 30px; }
.gxp-event__cat { left: 22px; bottom: 22px; font-size: 11px; padding: 7px 12px; }
.gxp-notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: var(--bm-soft); color: var(--bm-primary); font-weight: 600; }
.gxp-event__side { position: sticky; top: 104px; }
.gxp-ticket { position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 26px;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(170,22,41,.45), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), linear-gradient(160deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 46px 90px -50px rgba(5,25,53,.85); }
.gxp-ticket__top { display: flex; align-items: center; gap: 18px; }
.gxp-ticket .gxp-ecard__date { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.gxp-ticket__label { display: block; margin-bottom: 8px; font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.gxp-ticket__when { display: inline-flex; align-items: center; gap: 8px; font-family: var(--bm-serif); font-size: 24px; font-weight: 700; }
.gxp-ticket__when i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d63; }
.gxp-ticket__cut { position: relative; display: block; height: 2px; margin: 22px -26px; background-image: linear-gradient(90deg, rgba(255,255,255,.3) 50%, transparent 50%); background-size: 12px 2px; }
.gxp-ticket__cut::before, .gxp-ticket__cut::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--bm-bg, #fff); }
.gxp-ticket__cut::before { left: -12px; } .gxp-ticket__cut::after { right: -12px; }
.gxp-ticket__facts { margin: 0; display: grid; gap: 14px; }
.gxp-ticket__facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.gxp-ticket__facts dt { font: 600 11px/1.5 var(--gx-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.gxp-ticket__facts dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.45; color: #fff; }
.gxp-ticket__actions { display: grid; gap: 10px; margin-top: 24px; }
.gxp-ticket__actions .bm-btn { justify-content: center; }
.gxp-ticket.is-past { filter: grayscale(.5); }

/* ---------- media ---------- */
.gxp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; }
.gxp-photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--bm-primary); box-shadow: 0 22px 44px -34px rgba(5,25,53,.6); }
.gxp-photo[hidden] { display: none; }
.gxp-photo--lg { grid-column: span 2; grid-row: span 2; }
.gxp-photo a { position: absolute; inset: 0; display: block; }
.gxp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--gx-out), filter .5s; }
.gxp-photo:hover img { transform: scale(1.07); }
.gxp-photo__zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(5,25,53,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--gx-out); }
.gxp-photo:hover .gxp-photo__zoom, .gxp-photo a:focus-visible .gxp-photo__zoom { opacity: 1; transform: none; }
.gxp-photo a:focus-visible { outline: 3px solid var(--bm-accent); outline-offset: -3px; border-radius: 22px; }
.gxp-photo__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 16px; pointer-events: none; color: #fff; font-weight: 600; font-size: 14px; line-height: 1.35;
  background: rgba(5,25,53,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(8px); opacity: .0; transition: opacity .35s, transform .45s var(--gx-out); }
.gxp-photo__cap span { display: block; margin-bottom: 4px; font: 600 10.5px/1 var(--gx-mono); letter-spacing: .12em; text-transform: uppercase; color: #ffb3bd; }
.gxp-photo:hover .gxp-photo__cap, .gxp-photo--lg .gxp-photo__cap { opacity: 1; transform: none; }
@media (hover: none) { .gxp-photo__cap { opacity: 1; transform: none; } }
html.gxp-lb-open { overflow: hidden; }
.gxp-lb { position: fixed; inset: 0; z-index: 3000; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(13,42,82,.9), rgba(3,10,24,.96)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gxp-lb[hidden] { display: none; }
.gxp-lb__top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.gxp-lb__count { font: 600 13px/1 var(--gx-mono); letter-spacing: .14em; color: rgba(255,255,255,.75); }
body.bm .gxp-lb__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .35s var(--gx-out); }
body.bm .gxp-lb__btn:hover { background: var(--bm-accent); border-color: var(--bm-accent); }
body.bm .gxp-lb__btn:focus-visible { outline: 2px solid #ff4d63; outline-offset: 2px; }
.gxp-lb__fig { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; gap: 14px; }
.gxp-lb__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
html.gx-anim .gxp-lb__fig img.is-in { animation: gxpLb .45s var(--gx-out); }
@keyframes gxpLb { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gxp-lb__fig figcaption { text-align: center; color: #fff; }
.gxp-lb__fig figcaption span { display: block; margin-bottom: 6px; font: 600 11px/1 var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: #ffb3bd; }
.gxp-lb__fig figcaption strong { font-family: var(--bm-serif); font-size: 20px; }

/* ---------- calendar ---------- */
.gxp-calnext { position: relative; display: grid; grid-template-columns: 220px auto minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-bottom: 28px; padding: 14px 24px 14px 14px; border-radius: 26px; color: #fff !important; text-decoration: none !important;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(170,22,41,.45), transparent 60%), linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f); box-shadow: 0 40px 80px -50px rgba(5,25,53,.85);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--gx-out); }
.gxp-calnext__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; }
.gxp-calnext__img img { width: 100%; height: 100%; object-fit: cover; }
.gxp-calnext .gxp-ecard__date { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.gxp-calnext__body { display: grid; gap: 10px; min-width: 0; }
.gxp-calnext__title { font-family: var(--bm-serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.2; font-weight: 700; }
.gxp-calnext .gxp-ecard__chips span { background: rgba(255,255,255,.1); color: #fff; }
.gxp-calnext .gxp-ecard__go { background: rgba(255,255,255,.1); color: #fff; }
.gxp-calnext:hover .gxp-ecard__go { background: var(--bm-accent); transform: rotate(-45deg); }
.gxp-cal { padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 30px 60px -46px rgba(5,25,53,.55); }
.gxp-cal .fc-toolbar { margin-bottom: 20px !important; }
.gxp-cal .fc-toolbar h2 { font-family: var(--bm-serif) !important; font-size: 28px !important; color: var(--bm-primary) !important; }
.gxp-cal .fc-button { border-radius: 999px !important; font-weight: 600 !important; }
.gxp-cal .fc-button-primary:not(:disabled).fc-button-active, .gxp-cal .fc-button-primary:not(:disabled):active { background: var(--bm-primary) !important; color: #fff !important; }
.gxp-cal .fc-view-container { border-radius: 18px; overflow: hidden; border: 1px solid var(--bm-line); }
.gxp-cal .fc-unthemed td, .gxp-cal .fc-unthemed th, .gxp-cal .fc-unthemed thead, .gxp-cal .fc-unthemed tbody, .gxp-cal .fc-unthemed .fc-row, .gxp-cal .fc-unthemed .fc-divider { border-color: #e9edf3 !important; }
.gxp-cal .fc-day-header { padding: 12px 0 !important; font: 600 11px/1 var(--gx-mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bm-primary) !important; background: var(--bm-soft) !important; }
.gxp-cal .fc-day-number { font: 600 12px/1 var(--gx-mono); color: #5a6578; padding: 8px !important; }
.gxp-cal .fc-other-month .fc-day-number { opacity: .4; }
.gxp-cal .fc-today { background: rgba(170,22,41,.05) !important; }
.gxp-cal .fc-day-top.fc-today .fc-day-number { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 4px; padding: 0 !important; border-radius: 50%; color: #fff; background: var(--bm-accent); }
.gxp-cal .fc-event, .gxp-cal .fc-event-dot { border: 0 !important; border-radius: 8px !important; padding: 4px 8px !important; background: linear-gradient(135deg, #0d2a52, var(--bm-primary)) !important; color: #fff !important; font-size: 12.5px; font-weight: 600; box-shadow: 0 8px 16px -10px rgba(5,25,53,.7); transition: transform .3s var(--gx-out), background .3s; }
.gxp-cal .fc-event:hover { transform: translateY(-1px); background: linear-gradient(135deg, #ff4d63, var(--bm-accent)) !important; }
.gxp-cal .fc-event.is-next { background: linear-gradient(135deg, #ff4d63, var(--bm-accent)) !important; }
.gxp-cal .bm-cal-focus { background: rgba(170,22,41,.07) !important; }
.gxp-cal .fc-list-heading td { background: var(--bm-soft) !important; font: 600 12px/1.4 var(--gx-mono) !important; color: var(--bm-primary) !important; }
.gxp-cal .fc-list-item:hover td { background: rgba(5,25,53,.03) !important; }
.gxp-cal .fc-list-item-title a { font-weight: 700; color: var(--bm-primary) !important; }
.bm-cal-foot { margin-top: 22px; text-align: center; }

/* ---------- reveal ---------- */
html.gx-anim .gxp-ngrid .gxp-ncard, html.gx-anim .gxp-elist .gxp-ecard, html.gx-anim .gxp-gallery .gxp-photo { opacity: 0; translate: 0 22px; transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s, opacity .7s var(--gx-out), translate .8s var(--gx-out);
  transition-delay: 0s, 0s, 0s, calc(min(var(--i), 10) * 80ms), calc(min(var(--i), 10) * 80ms); }
html.gx-anim .gx-in .gxp-ncard, html.gx-anim .gx-in .gxp-ecard, html.gx-anim .gx-in .gxp-photo { opacity: 1; translate: 0 0; }
html.gx-anim .gxp-ecard.is-past { opacity: .72; }
html.gx-anim .gxp-elist:not(.gx-in) .gxp-ecard.is-past { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .gxp-ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxp-ecard { grid-template-columns: auto 160px minmax(0, 1fr) auto; gap: 18px; }
  .gxp-event__grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .gxp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .gxp-bar, .gxp-bar--plain { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .gxp-ncard--lead { grid-template-columns: minmax(0, 1fr); }
  .gxp-ncard--lead .gxp-ncard__img { min-height: 0; aspect-ratio: 16 / 9; }
  .gxp-next { grid-template-columns: minmax(0, 1fr); }
  .gxp-next__img { min-height: 240px; }
  .gxp-next__img::after { background: linear-gradient(180deg, transparent 50%, rgba(5,25,53,.9)); }
  .gxp-event__grid { grid-template-columns: minmax(0, 1fr); }
  .gxp-event__side { position: static; }
  .gxp-calnext { grid-template-columns: auto minmax(0, 1fr) auto; }
  .gxp-calnext__img { display: none; }
}
@media (max-width: 767px) {
  .gxp-ngrid { grid-template-columns: minmax(0, 1fr); }
  .gxp-ncard--lead .gxp-ncard__body { padding: 22px; }
  .gxp-topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px 6px; }
  .gxp-topics::-webkit-scrollbar { display: none; }
  .gxp-topic { flex: none; white-space: nowrap; }
  .gxp-ecard { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "img img" "date body"; gap: 14px; padding: 12px; }
  .gxp-ecard__img { grid-area: img; aspect-ratio: 16 / 8; }
  .gxp-ecard > .gxp-ecard__date { grid-area: date; width: 70px; height: 80px; align-self: start; }
  .gxp-ecard > .gxp-ecard__date strong { font-size: 24px; }
  .gxp-ecard__body { grid-area: body; }
  .gxp-ecard__go { display: none; }
  .gxp-ecard__title { font-size: 18px; }
  .gxp-next__row { gap: 14px; }
  .gxp-ecard__date--lg { width: 80px; height: 92px; }
  .gxp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .gxp-photo { border-radius: 16px; }
  .gxp-photo__cap { font-size: 12.5px; padding: 8px 10px; left: 8px; right: 8px; bottom: 8px; }
  .gxp-lb { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; padding: 14px; }
  .gxp-lb__nav { position: absolute; bottom: 22px; }
  .gxp-lb__nav--prev { left: 18px; } .gxp-lb__nav--next { right: 18px; }
  .gxp-lb__fig { padding-bottom: 64px; }
  .gxp-calnext { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 14px; }
  .gxp-calnext .gxp-ecard__go { display: none; }
  .gxp-cal { padding: 12px; border-radius: 20px; }
  .gxp-cal .fc-toolbar h2 { font-size: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .gxp-ncard, .gxp-ecard, .gxp-next, .gxp-calnext, .gxp-photo img, .gxp-ncard__img img, .gxp-ecard__img img { transition: none !important; }
}

/* =====================================================================
   Qualification pages (Nov 18, 2026): rows (gxq-row), Level 4 → 7 ladder (gxl), pathway band, subject tracks, subject page,
   qualification page (key facts panel, sticky enquire bar). Views front/cleaning/services, front/service-details,
   partials gitta/{qual-row,qual-ladder}, js gitta-quals.js; reuses gxp-* (bar, topics, ticket) and gxs-* (frame, cards, CTA).
   ===================================================================== */
.gxq-page, .gxq-detail, .gxl, .gxq-row, .gxq-bar { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxq-row__lvl, .gxq-row__lvl > span, .gxl__node, .gxl__node > span, .gxq-band__hex, .gxq-band__hex > span, .gxq-facts__hex, .gxq-facts__hex > span, .gxq-detail__badge, .gxq-detail__badge > span, .gxq-bar__lvl, .gxq-bar__lvl > span, .gxq-band__eyebrow i { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxq-page__sub { margin: 10px 0 0; color: #5a6578; font-size: 15px; line-height: 1.6; max-width: 640px; }
.gxq-band__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-accent); }
.gxq-band__eyebrow i { width: 10px; height: 11px; background: currentColor; }

/* ---------- level hexagons (shared) ---------- */
.gxq-row__lvl, .gxl__node, .gxq-band__hex, .gxq-facts__hex, .gxq-detail__badge, .gxq-bar__lvl { flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--bm-accent) 22%, #fff); }
.gxq-row__lvl > span, .gxl__node > span, .gxq-band__hex > span, .gxq-facts__hex > span, .gxq-detail__badge > span, .gxq-bar__lvl > span { display: flex; justify-content: center; align-items: center; gap: 0; color: #fff; font: 700 16px/1 var(--gx-mono); background: linear-gradient(150deg, #1d3e6e, var(--bm-primary) 70%); }
.gxq-row__lvl small, .gxl__node small, .gxq-band__hex small, .gxq-facts__hex small, .gxq-detail__badge small, .gxq-bar__lvl small { font-size: .62em; opacity: .7; margin-right: 1px; }

/* ---------- rows ---------- */
.gxq-rows { display: grid; gap: 12px; }
.gxq-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 22px 18px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--bm-line);
  color: inherit !important; text-decoration: none !important; box-shadow: 0 20px 40px -36px rgba(5,25,53,.5);
  transform: perspective(1200px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--gx-out), box-shadow .45s var(--gx-out), border-color .3s; }
a.gxq-row:hover { --ty: -4px; border-color: rgba(170,22,41,.28); box-shadow: 0 30px 56px -36px rgba(5,25,53,.55); }
.gxq-row__lvl { width: 58px; height: 65px; }
.gxq-row__lvl > span { width: 48px; height: 54px; font-size: 18px; }
.gxq-row__body { display: grid; gap: 6px; min-width: 0; }
.gxq-row__type { font: 600 11.5px/1.2 var(--gx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-accent); }
.gxq-row__title { font-family: var(--bm-serif); font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--bm-primary); }
.gxq-row__text { font-size: 14.5px; line-height: 1.55; color: #5a6578; }
.gxq-row__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gxq-row__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--bm-primary); background: var(--bm-soft); }
.gxq-row__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bm-soft); color: var(--bm-primary); transition: background .3s, color .3s, transform .45s var(--gx-out); }
a.gxq-row:hover .gxq-row__go { background: var(--bm-accent); color: #fff; transform: rotate(-45deg); }

/* ---------- ladder ---------- */
.gxl { position: relative; list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: start; }
.gxl__trace { position: absolute; left: 0; right: 0; top: 0; height: var(--trace-h); pointer-events: none; }
.gxl__trace svg { width: 100%; height: 100%; overflow: visible; }
.gxl__path, .gxl__pulse { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.gxl__path { stroke: rgba(5,25,53,.22); stroke-width: 2; }
.gxl__pulse { stroke: #ff4d63; stroke-width: 4; opacity: 0; filter: drop-shadow(0 0 4px rgba(255,77,99,.7)); }
.gxl__step { position: relative; display: grid; justify-items: center; gap: 14px; padding: 0 8px; margin-top: calc((var(--n) - 1 - var(--i)) * var(--rise)); }
.gxl__node { position: relative; z-index: 1; width: 56px; height: 63px; transition: transform .5s var(--gx-out); }
.gxl__node > span { width: 46px; height: 52px; }
.gxl__step:last-child .gxl__node > span { background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxl__step:hover .gxl__node { transform: rotate(30deg); }
.gxl__step:hover .gxl__node > span { transform: rotate(-30deg); }
.gxl__node > span { transition: transform .5s var(--gx-out); }
.gxl__card { position: relative; width: 100%; display: grid; gap: 8px; padding: 18px 18px 20px; border-radius: 20px; background: rgba(255,255,255,.92); border: 1px solid var(--bm-line);
  color: inherit !important; text-decoration: none !important; box-shadow: 0 20px 40px -34px rgba(5,25,53,.5); transition: transform .45s var(--gx-out), border-color .3s, box-shadow .45s var(--gx-out); }
a.gxl__card:hover { transform: translateY(-5px); border-color: rgba(170,22,41,.3); box-shadow: 0 30px 56px -36px rgba(5,25,53,.55); }
.gxl__type { font: 600 11px/1.25 var(--gx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bm-accent); }
.gxl__title { font-family: var(--bm-serif); font-size: 17px; line-height: 1.28; font-weight: 700; color: var(--bm-primary); }
.gxl__text { font-size: 14px; line-height: 1.55; color: #5a6578; }
.gxl__hours { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--bm-primary); background: var(--bm-soft); }
.gxl__step.is-current .gxl__card { color: #fff !important; border-color: transparent;
  background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(170,22,41,.5), transparent 60%), linear-gradient(160deg, #0d2a52, var(--bm-primary)); box-shadow: 0 30px 60px -34px rgba(5,25,53,.8); }
.gxl__step.is-current .gxl__title { color: #fff; }
.gxl__step.is-current .gxl__type { color: #ffb3bd; }
.gxl__step.is-current .gxl__text { color: rgba(255,255,255,.78); }
.gxl__step.is-current .gxl__hours { background: rgba(255,255,255,.12); color: #fff; }
.gxl__step.is-current .gxl__node > span { background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxl__here { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font: 600 10.5px/1 var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: #ffd2d8; }
.gxl__here i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d63; }
html.gx-anim .gxl__here i { animation: gxpBlink 1.8s ease-out infinite; }
.gxl__step.is-dim { opacity: .35; filter: grayscale(.6); }
.gxl--compact { margin-top: 18px; }
.gxl--compact .gxl__step { gap: 10px; padding: 0 5px; }
.gxl--compact .gxl__node { width: 44px; height: 50px; }
.gxl--compact .gxl__node > span { width: 36px; height: 41px; font-size: 13px; }
.gxl--compact .gxl__card { padding: 14px 14px 16px; border-radius: 16px; gap: 6px; }
.gxl--compact .gxl__title { font-size: 15px; }
html.gx-anim .gxl .gxl__step { opacity: 0; translate: 0 18px; transition: opacity .7s var(--gx-out), translate .8s var(--gx-out); transition-delay: calc(var(--i) * 120ms + .1s); }
html.gx-anim .gxl.gx-in .gxl__step { opacity: 1; translate: 0 0; }
/* dash animations mis-measure on a stretched SVG with non-scaling strokes: fade the trace in, let a red glow breathe over it */
html.gx-anim .gxl .gxl__path { opacity: 0; transition: opacity 1s var(--gx-out) .2s; }
html.gx-anim .gxl.gx-in .gxl__path { opacity: 1; }
html.gx-anim .gxl.gx-in .gxl__pulse { animation: gxlGlow 3.2s ease-in-out 1.2s infinite; }
@keyframes gxlGlow { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }
html.gx-anim .gxl .gxl__step.is-dim { opacity: .35; }

/* ---------- pathway band (overview) ---------- */
.gxq-band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px 50px; align-items: center; margin: 10px 0 34px; padding: clamp(28px, 4vw, 44px); border-radius: 30px; color: #fff;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(170,22,41,.45), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px), linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 50px 100px -60px rgba(5,25,53,.9); }
.gxq-band .gxq-band__eyebrow { color: #ffb3bd; }
.gxq-band__title { margin: 12px 0 10px; font-family: var(--bm-serif) !important; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: #fff !important; }
.gxq-band__text { margin: 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.6; }
.gxq-band__levels { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: 10px; }
.gxq-band__trace { position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); bottom: 31px; height: calc((var(--n) - 1) * 34px); pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255,255,255,.3) 50%, transparent calc(50% + 1px)); }
.gxq-band__level { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: calc(var(--i) * 34px); }
.gxq-band__hex { width: 62px; height: 70px; background: rgba(255,255,255,.18); transition: transform .5s var(--gx-out); }
.gxq-band__hex > span { width: 52px; height: 59px; font-size: 19px; }
.gxq-band__level:last-child .gxq-band__hex > span { background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxq-band__level:hover .gxq-band__hex { transform: translateY(-4px) rotate(30deg); }
.gxq-band__name { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.gxq-band__hours, .gxq-band__count { font: 500 11px/1.3 var(--gx-mono); color: rgba(255,255,255,.65); }
.gxq-band__count { color: #ffb3bd; }
html.gx-anim .gxq-band .gxq-band__level { opacity: 0; translate: 0 20px; transition: opacity .7s var(--gx-out), translate .8s var(--gx-out); transition-delay: calc(var(--i) * 140ms + .2s); }
html.gx-anim .gxq-band.gx-in .gxq-band__level { opacity: 1; translate: 0 0; }

/* ---------- subject tracks (overview) ---------- */
.gxq-page__topics { margin-top: 8px; }
.gxq-tracks { display: grid; gap: 22px; }
.gxq-track { padding: 22px 24px 24px; border-radius: 28px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 26px 54px -44px rgba(5,25,53,.55); scroll-margin-top: 120px; }
.gxq-track[hidden] { display: none; }
.gxq-track__head { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.gxq-track__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--bm-primary); }
.gxq-track__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--gx-out); }
.gxq-track:hover .gxq-track__img img { transform: scale(1.06); }
.gxq-track__copy { display: grid; gap: 6px; min-width: 0; }
.gxq-track__no { font: 600 11px/1 var(--gx-mono); letter-spacing: .14em; color: var(--bm-muted); }
.gxq-track__title { margin: 0; font-family: var(--bm-serif) !important; font-size: 24px; line-height: 1.2; }
.gxq-track__title a { color: var(--bm-primary) !important; text-decoration: none !important; }
.gxq-track__text { font-size: 14.5px; line-height: 1.55; color: #5a6578; }
.gxq-track__all { white-space: nowrap; font-weight: 700; color: var(--bm-accent) !important; text-decoration: none !important; }
.gxq-support { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.gxq-page__support-title { margin-top: 48px; }
.gxq-support__item { display: grid; gap: 8px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--bm-line); color: inherit !important; text-decoration: none !important; transition: transform .45s var(--gx-out), border-color .3s; }
.gxq-support__item:hover { transform: translateY(-4px); border-color: rgba(170,22,41,.3); }
.gxq-support__title { font-family: var(--bm-serif); font-size: 19px; font-weight: 700; color: var(--bm-primary); }
.gxq-support__text { font-size: 14.5px; line-height: 1.55; color: #5a6578; }
.gxq-support__link { margin-top: 4px; font-weight: 700; color: var(--bm-accent); }

/* ---------- subject page ---------- */
.gxq-subject { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 70px); align-items: center; margin: 20px 0 10px; }
.gxq-subject__copy .gxs-h2 { margin: 12px 0 14px; }
.gxq-subject__img { aspect-ratio: 4 / 3; }
.gxq-subject__ladder { margin-top: 40px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: linear-gradient(180deg, #f7f9fc, #fff); border: 1px solid var(--bm-line); }

/* ---------- qualification page ---------- */
.gxq-detail__hero { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.gxq-detail__badge { position: absolute; left: 22px; top: 22px; width: 64px; height: 72px; background: rgba(255,255,255,.35); }
.gxq-detail__badge > span { width: 54px; height: 61px; font-size: 20px; }
.gxq-detail__lead { margin: 0 0 24px; font-family: var(--bm-serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: var(--bm-primary); }
.gxq-facts__hex { width: 76px; height: 86px; background: rgba(255,255,255,.18); }
.gxq-facts__hex > span { width: 64px; height: 72px; font-size: 24px; background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxq-facts__type { display: block; font-family: var(--bm-serif); font-size: 22px; font-weight: 700; line-height: 1.2; }
.gxq-facts__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gxq-facts__chips span { padding: 4px 9px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.12); }
.gxq-facts dd a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.gxq-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400; padding: 12px 0; transform: translateY(110%); transition: transform .45s var(--gx-out);
  background: rgba(5,25,53,.92); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 -20px 40px -24px rgba(0,0,0,.5); }
.gxq-bar.is-on { transform: none; }
.gxq-bar__inner { display: flex; align-items: center; gap: 14px; padding-right: 64px; } /* room for the back-to-top button */
.gxq-bar__lvl { width: 40px; height: 45px; background: rgba(255,255,255,.2); }
.gxq-bar__lvl > span { width: 33px; height: 37px; font-size: 13px; background: linear-gradient(150deg, #ff4d63, var(--bm-accent) 70%); }
.gxq-bar__title { flex: 1; min-width: 0; color: #fff; font-family: var(--bm-serif); font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-btn.gxq-bar__ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
/* below 1440 px the site's shortcut rail is a dock at the bottom left: start the bar to its right */
@media (max-width: 1439px) { .gxq-bar__inner { padding-left: 280px; } }
@media (max-width: 575px) {
  .gxq-bar { left: 12px; right: 12px; bottom: 84px; padding: 8px; border-radius: 999px; }
  .gxq-bar__inner { padding: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .gxq-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .gxq-subject { grid-template-columns: minmax(0, 1fr); }
  .gxl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gxl__trace { display: none; }
  .gxl__step { margin-top: 0; grid-template-columns: 56px minmax(0, 1fr); justify-items: stretch; align-items: start; gap: 14px; padding: 0; }
  .gxl__step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: -14px; width: 2px; background: rgba(5,25,53,.18); }
  .gxl--compact .gxl__step { grid-template-columns: 44px minmax(0, 1fr); }
  .gxl--compact .gxl__step:not(:last-child)::before { left: 21px; top: 48px; }
  .gxq-track__head { grid-template-columns: 90px minmax(0, 1fr); }
  .gxq-track__all { grid-column: 2; }
}
@media (max-width: 575px) {
  .gxq-band__levels { gap: 4px; }
  .gxq-band__level { margin-bottom: calc(var(--i) * 22px); }
  .gxq-band__trace { display: none; }
  .gxq-band__hex { width: 50px; height: 56px; }
  .gxq-band__hex > span { width: 42px; height: 47px; font-size: 15px; }
  .gxq-band__name { font-size: 12.5px; }
  .gxq-band__hours { display: none; }
  .gxq-track { padding: 16px; border-radius: 22px; }
  .gxq-track__head { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
  .gxq-track__title { font-size: 20px; }
  .gxq-track__text { display: none; }
  .gxq-row { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 14px; }
  .gxq-row__go { display: none; }
  .gxq-row__lvl { width: 48px; height: 54px; }
  .gxq-row__lvl > span { width: 40px; height: 45px; font-size: 15px; }
  .gxq-bar__title, .bm-btn.gxq-bar__ghost { display: none; }
  .gxq-bar__inner .bm-btn--primary { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gxq-row, .gxl__card, .gxl__node, .gxq-bar, .gxq-band__hex { transition: none !important; }
  .gxl__step:hover .gxl__node, .gxl__step:hover .gxl__node > span { transform: none; }
}

/* ---------- qualification filters v2 (Amir: chips wrapped into rows, oval search button) ---------- */
.gxq-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* round submit buttons of every gxp search field (News, Events, Qualifications): the theme's button padding made them ovals */
body.bm .gxp-search__field button, body.bm .gxq-console__go { flex: 0 0 42px; width: 42px; height: 42px; min-width: 0; padding: 0 !important; aspect-ratio: 1; border-radius: 50% !important; display: grid; place-items: center; line-height: 1; font-size: 14px; }
.gxq-intro { max-width: 760px; margin-bottom: 26px; }
.gxq-console { position: sticky; top: 84px; z-index: 40; display: grid; grid-template-columns: minmax(200px, 1fr) minmax(220px, 300px) auto 42px; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px;
  border-radius: 22px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(13,23,38,.08); box-shadow: 0 24px 50px -34px rgba(5,25,53,.55); }
.gxq-console__search { position: relative; display: flex; align-items: center; height: 52px; margin: 0; border-radius: 16px; background: var(--bm-soft); transition: box-shadow .3s, background .3s; }
.gxq-console__search:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--bm-primary); }
.gxq-console__search > i { position: absolute; left: 18px; color: var(--bm-muted); }
body.bm .gxq-console__search input { width: 100%; height: 100%; padding: 0 14px 0 46px; border: 0 !important; background: transparent; font-size: 15px; color: var(--bm-primary); box-shadow: none !important; outline: 0; }
.gxq-console__select { position: relative; display: grid; align-content: center; height: 52px; margin: 0; padding: 0 40px 0 16px; border-radius: 16px; background: var(--bm-soft); cursor: pointer; transition: box-shadow .3s, background .3s; }
.gxq-console__select:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--bm-primary); }
.gxq-console__label { font: 600 10px/1 var(--gx-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bm-muted); }
body.bm .gxq-console__select select { -webkit-appearance: none; appearance: none; width: 100%; margin-top: 4px; padding: 0; border: 0 !important; background: transparent; font-size: 14.5px; font-weight: 700; color: var(--bm-primary); cursor: pointer; outline: 0; box-shadow: none !important; height: auto; text-overflow: ellipsis; }
.gxq-console__select > i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--bm-primary); pointer-events: none; }
.gxq-console__levels { display: flex; align-items: center; gap: 10px; padding: 0 4px 0 8px; }
.gxq-seg { position: relative; display: flex; padding: 4px; border-radius: 14px; background: var(--bm-soft); }
body.bm .gxq-seg button { position: relative; z-index: 1; height: 40px; min-width: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font: 700 13px/1 var(--gx-mono); color: var(--bm-primary); cursor: pointer; transition: color .3s; }
body.bm .gxq-seg button.is-active { color: #fff; }
.gxq-seg:not(.has-ink) button.is-active { background: var(--bm-primary); }
body.bm .gxq-seg button:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 1px; }
.gxq-seg__ink { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 10px; background: linear-gradient(135deg, #0d2a52, var(--bm-primary)); box-shadow: 0 8px 18px -10px rgba(5,25,53,.7); transition: transform .45s var(--gx-out), width .45s var(--gx-out); opacity: 0; }
.gxq-seg.has-ink .gxq-seg__ink { opacity: 1; }
.gxq-console__go { border: 0; background: var(--bm-primary); color: #fff; cursor: pointer; transition: background .3s, transform .4s var(--gx-out); }
.gxq-console__go:hover { background: var(--bm-accent); transform: rotate(-45deg); }
.gxq-page .gxp-count { margin: 6px 4px 20px; }

/* subject switcher (subject pages) */
.gxq-switch { position: relative; display: inline-block; margin-bottom: 10px; z-index: 45; }
.gxq-switch__btn { display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 20px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 18px 40px -32px rgba(5,25,53,.55); cursor: pointer; list-style: none; transition: border-color .3s, box-shadow .3s; }
.gxq-switch__btn::-webkit-details-marker { display: none; }
.gxq-switch__btn:hover, .gxq-switch[open] .gxq-switch__btn { border-color: var(--bm-primary); }
.gxq-switch__btn:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 2px; }
.gxq-switch__thumb { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 14px; background: var(--bm-primary); }
.gxq-switch__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gxq-switch__text { display: grid; gap: 3px; }
.gxq-switch__text small { font: 600 10.5px/1 var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bm-accent); }
.gxq-switch__text strong { font-family: var(--bm-serif); font-size: 18px; color: var(--bm-primary); }
.gxq-switch__btn > .fa-chevron-down { margin-left: 8px; font-size: 12px; color: var(--bm-primary); transition: transform .35s var(--gx-out); }
.gxq-switch[open] .gxq-switch__btn > .fa-chevron-down { transform: rotate(180deg); }
.gxq-switch__panel { position: absolute; left: 0; top: calc(100% + 10px); width: min(760px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; border-radius: 22px;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(13,23,38,.08); box-shadow: 0 40px 80px -40px rgba(5,25,53,.6); }
html.gx-anim .gxq-switch[open] .gxq-switch__panel { animation: gxqPanel .35s var(--gx-out); }
@keyframes gxqPanel { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.gxq-switch__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; color: var(--bm-primary) !important; text-decoration: none !important; transition: background .25s; }
.gxq-switch__item:hover { background: var(--bm-soft); }
.gxq-switch__item.is-active { background: var(--bm-primary); color: #fff !important; }
.gxq-switch__item .gxq-switch__thumb { width: 44px; height: 44px; border-radius: 12px; }
.gxq-switch__item > span:last-child { display: grid; gap: 2px; min-width: 0; }
.gxq-switch__item strong { font-size: 14.5px; line-height: 1.25; }
.gxq-switch__item small { font: 500 11px/1.2 var(--gx-mono); color: var(--bm-muted); }
.gxq-switch__item.is-active small { color: rgba(255,255,255,.65); }
.gxq-switch__hex { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--bm-soft); color: var(--bm-accent); }
.gxq-switch__item--all { grid-column: 1 / -1; }

@media (max-width: 991px) {
  .gxq-console { position: static; grid-template-columns: minmax(0, 1fr) 42px; }
  .gxq-console__search { grid-column: 1 / -1; }
  .gxq-console__select { grid-column: 1 / -1; }
  .gxq-console__levels { grid-column: 1 / 2; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .gxq-console__levels .gxq-console__label { display: none; }
}
@media (max-width: 575px) {
  .gxq-switch { display: block; }
  .gxq-switch__panel { grid-template-columns: minmax(0, 1fr); max-height: 60vh; overflow-y: auto; }
  body.bm .gxq-seg button { min-width: 40px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .gxq-seg__ink, .gxq-switch__btn > .fa-chevron-down { transition: none; } }
.gxq-switch { z-index: 60; }
.gxq-subject { position: relative; z-index: 1; } /* below the open subject switcher panel */

/* =====================================================================
   Training courses pages (Nov 18, 2026, gxt-*): intro + course map card, ways to learn, category groups, category switcher,
   filter console (shared gxq-console), course page (shared gxq-detail / gxp-ticket / gxq-bar). js gitta-courses.js.
   ===================================================================== */
.gxt-page { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); }
.gxt-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 28px 48px; align-items: center; margin-bottom: 26px; }
.gxt-top .gxq-intro { margin: 0; }
.gxt-mapcard { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px; border-radius: 24px; color: #fff !important; text-decoration: none !important;
  background: radial-gradient(ellipse 80% 90% at 100% 100%, rgba(170,22,41,.45), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 24px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 24px), linear-gradient(150deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 34px 70px -44px rgba(5,25,53,.85); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--gx-out); }
.gxt-mapcard__art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.gxt-mapcard__art i { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,.16); }
.gxt-mapcard__art i:nth-child(3n+1) { background: rgba(255,255,255,.3); }
.gxt-mapcard__art i:nth-child(5), .gxt-mapcard__art i:nth-child(10) { background: #ff4d63; }
html.gx-anim .gxt-mapcard__art i { animation: gxtCell 3.6s ease-in-out infinite; animation-delay: calc(var(--k) * .22s); }
@keyframes gxtCell { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.gxt-mapcard__body { display: grid; gap: 8px; }
.gxt-mapcard .gxq-band__eyebrow { color: #ffb3bd; }
.gxt-mapcard__text { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
.gxt-mapcard__go { font-weight: 700; font-size: 14px; }
.gxt-mapcard__go i { transition: transform .35s var(--gx-out); }
.gxt-mapcard:hover .gxt-mapcard__go i { transform: translateX(5px); }
.gxt-formats { display: grid; gap: 14px; margin: 0 0 30px; }
.gxt-formats__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gxt-format { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--bm-line); }
.gxt-format > span:last-child { display: grid; gap: 2px; }
.gxt-format strong { font-size: 14.5px; color: var(--bm-primary); }
.gxt-format small { font-size: 12.5px; line-height: 1.45; color: #5a6578; }
html.gx-anim .gxt-formats .gxt-format { opacity: 0; translate: 0 14px; transition: opacity .6s var(--gx-out), translate .7s var(--gx-out); transition-delay: calc(var(--i) * 90ms); }
html.gx-anim .gxt-formats.gx-in .gxt-format { opacity: 1; translate: 0 0; }
.gxt-subhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gxt-subhead .gxq-switch { margin: 0; }
.gxt-switch__hex, .gxq-switch__btn .gxq-switch__hex { width: 52px; height: 52px; border-radius: 14px; }
.gxt-maplink { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--bm-primary); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; transition: background .3s; }
.gxt-maplink:hover { background: var(--bm-accent); }
body.bm .gxt-seg button { min-width: 0; padding: 0 14px; font-family: var(--bm-sans, Inter, sans-serif); font-weight: 600; font-size: 13px; }
.gxt-page .gxq-console { grid-template-columns: minmax(200px, 1fr) minmax(200px, 260px) auto 42px; }
.gxt-group { margin-top: 36px; scroll-margin-top: 170px; }
.gxt-group[hidden] { display: none; }
.gxt-group__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--bm-line); }
.gxt-group__no { width: 40px; height: 45px; display: grid; place-items: center; font: 700 12px/1 var(--gx-mono); color: #fff; background: linear-gradient(150deg, #1d3e6e, var(--bm-primary) 70%); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gxt-group__title { margin: 0; font-family: var(--bm-serif) !important; font-size: clamp(22px, 2vw, 28px); color: var(--bm-primary) !important; }
.gxt-group__count { font: 600 12px/1 var(--gx-mono); color: var(--bm-muted); }
.gxt-group__all { font-weight: 700; color: var(--bm-accent) !important; text-decoration: none !important; white-space: nowrap; }
.gxt-detail .gxq-facts__hex > span small { font-size: .55em; margin-left: 1px; }

@media (max-width: 991px) {
  .gxt-top { grid-template-columns: minmax(0, 1fr); }
  .gxt-page .gxq-console { grid-template-columns: minmax(0, 1fr) 42px; }
  .gxt-group__head { grid-template-columns: auto minmax(0, 1fr); }
  .gxt-group__count { display: none; }
  .gxt-group__all { grid-column: 2; }
}
@media (max-width: 767px) {
  /* category / search pages: a vertical list instead of the home carousel */
  .gxt-page [data-gxt-group="all"] .gxc__grid { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .gxt-mapcard { grid-template-columns: 80px minmax(0, 1fr); padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gxt-mapcard { transition: none; } }
@media (max-width: 575px) {
  /* phones: filtering is live, so the go button gives its room to the level row (Qualifications + Courses consoles) */
  .gxq-console, .gxt-page .gxq-console { grid-template-columns: minmax(0, 1fr); }
  .gxq-console__levels { grid-column: 1 / -1; }
  body.bm .gxq-console__go { display: none; }
  .gxq-seg { flex-wrap: nowrap; }
}
/* page header on phones: smaller G tucked into the right edge, the title wraps before it (Amir: nothing may cross the text) */
@media (max-width: 767px) {
  .bm-pagehead::after { width: 92px; inset-inline-end: -26px; opacity: .55; }
  .gxh__inner > h1, .gxh__inner > .bm-pagehead__eyebrow { max-width: calc(100% - 64px); }
}

/* ---------- styled dropdown (gitta-select.js) for the filter consoles: replaces the native select popup ---------- */
.gxq-console__select.is-enhanced { padding: 0; cursor: default; }
.gxq-console__select.is-enhanced .gxq-console__label { position: absolute; left: 16px; top: 10px; pointer-events: none; z-index: 1; }
.gxq-console__select.is-enhanced > .fa-chevron-down { z-index: 1; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gxq-console__select.is-open > .fa-chevron-down { transform: translateY(-50%) rotate(180deg); }
.gxdd__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; opacity: 0; }
body.bm .gxdd__btn { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; gap: 8px; padding: 0 40px 9px 16px; border: 0; border-radius: 16px; background: transparent;
  color: var(--bm-primary); font-size: 14.5px; font-weight: 700; text-align: left; cursor: pointer; }
body.bm .gxdd__btn:focus-visible { outline: 2px solid var(--bm-primary); outline-offset: 0; }
.gxdd__value { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.gxdd__count { flex: none; font: 600 10.5px/1 'JetBrains Mono', ui-monospace, monospace; padding: 3px 7px; border-radius: 999px; background: rgba(5,25,53,.08); color: var(--bm-primary); }
.gxdd__count:empty { display: none; }
.gxdd__panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 80; width: max(100%, 320px); padding: 8px; border-radius: 20px; color: #fff;
  background: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(170,22,41,.35), transparent 60%), rgba(5,25,53,.95); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 40px 80px -30px rgba(5,25,53,.75), inset 0 0 0 1px rgba(255,255,255,.08); transform-origin: 30% 0; }
.gxdd__panel[hidden] { display: none; }
html.gx-anim .gxdd__panel:not([hidden]) { animation: gxddIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes gxddIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.gxdd__sheethead { display: none; }
.gxdd__list { list-style: none; margin: 0; padding: 0; max-height: min(360px, 60vh); overflow-y: auto; outline: 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.gxdd__opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; font-size: 14.5px; line-height: 1.3; color: rgba(255,255,255,.86); transition: background .15s, color .15s; }
.gxdd__opt.is-active { background: rgba(255,255,255,.09); color: #fff; }
.gxdd__mark { flex: none; width: 10px; height: 11px; background: rgba(255,255,255,.18); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .2s, transform .3s; }
.gxdd__opt[aria-selected="true"] { color: #fff; font-weight: 700; }
.gxdd__opt[aria-selected="true"] .gxdd__mark { background: #ff4d63; transform: rotate(90deg) scale(1.15); }
.gxdd__name { flex: 1; min-width: 0; }
.gxdd__badge { flex: none; font: 600 11px/1 'JetBrains Mono', ui-monospace, monospace; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.gxdd__opt[aria-selected="true"] .gxdd__badge { background: rgba(255,77,99,.22); color: #ffd2d8; }
.gxdd__backdrop { position: fixed; inset: 0; z-index: 2990; background: rgba(3,10,24,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.gxdd__backdrop[hidden] { display: none; }
html.gxdd-lock { overflow: hidden; }
@media (max-width: 575px) {
  /* a backdrop-filter on the console would make the fixed sheet position against the console instead of the screen */
  .gxq-console { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .gxdd__panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 3000; width: auto; padding: 8px 12px calc(16px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  html.gx-anim .gxdd__panel:not([hidden]) { animation: gxddUp .32s cubic-bezier(.2,.8,.2,1); }
  @keyframes gxddUp { from { transform: translateY(100%); } to { transform: none; } }
  .gxdd__sheethead { display: grid; justify-items: center; gap: 10px; padding: 4px 0 10px; }
  .gxdd__grip { width: 44px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
  .gxdd__title { font: 600 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.65); }
  .gxdd__list { max-height: 60vh; }
  .gxdd__opt { padding: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .gxdd__panel { animation: none !important; } .gxq-console__select > .fa-chevron-down { transition: none; } }

/* =====================================================================
   Verification console (verify/partials/{form,result,tabs,side}) + labelled Verify button in the side rail (Nov 18, 2026)
   ===================================================================== */
.gxv { --gx-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --gx-out: cubic-bezier(.2,.8,.2,1); --ok: #1f8f5f; --warn: #b7791f; }
.bm-verify.gxv { padding: 64px 0 88px; background: var(--bm-soft); }
.gxv__grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: 1120px; margin: 0 auto; }
.gxv-side__tick, .gxv-tabs__hex, .gxv-result__seal, .gxv-result__seal > span { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* side panel */
.gxv-side { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 34px 32px; border-radius: 28px; color: #fff;
  background: radial-gradient(ellipse 80% 60% at 100% 100%, rgba(170,22,41,.45), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px), linear-gradient(160deg, #0d2a52, var(--bm-primary) 60%, #030d1f);
  box-shadow: 0 40px 80px -50px rgba(5,25,53,.85); }
.gxv-side__mark { position: absolute; right: -70px; bottom: -80px; width: 280px; aspect-ratio: 2000 / 2260; z-index: -1; color: rgba(255,255,255,.07); }
.gxv-side__mark svg { width: 100%; height: 100%; }
.gxv-side__mark .gx-mark__core { fill-opacity: .35; }
.gxv-side__sys { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--gx-mono); letter-spacing: .18em; color: rgba(255,255,255,.7); }
.gxv-side__sys i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
.bm-verify .gxv-side__title, .gxv-side__title { margin: 6px 0 0; font-family: var(--bm-serif) !important; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; color: #fff !important; }
.gxv-side__lead { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.78); }
.gxv-side__checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.gxv-side__checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.gxv-side__tick { flex: none; width: 28px; height: 32px; display: grid; place-items: center; font-size: 11px; color: #fff; background: rgba(255,255,255,.14); }

/* card + tabs */
.gxv__card { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 40px 80px -56px rgba(5,25,53,.6); }
.gxv-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; background: var(--bm-soft); border-bottom: 1px solid var(--bm-line); }
.gxv-tabs__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border-radius: 18px; color: var(--bm-muted) !important; text-decoration: none !important; font-size: 13.5px; font-weight: 600; text-align: center; transition: background .25s, color .25s; }
.gxv-tabs__item:hover { background: rgba(255,255,255,.7); color: var(--bm-primary) !important; }
.gxv-tabs__hex { width: 36px; height: 40px; display: grid; place-items: center; font-size: 14px; color: var(--bm-primary); background: rgba(5,25,53,.08); transition: background .3s, color .3s, transform .45s var(--gx-out); }
.gxv-tabs__item.is-active { background: #fff; color: var(--bm-primary) !important; box-shadow: 0 12px 26px -18px rgba(5,25,53,.55); }
.gxv-tabs__item.is-active .gxv-tabs__hex { background: var(--bm-accent); color: #fff; transform: rotate(90deg); }
.gxv-tabs__item.is-active .gxv-tabs__hex i { transform: rotate(-90deg); }
.gxv-tabs__label { line-height: 1.25; }

/* form */
.gxv-form { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 44px 46px; }
.bm-verify .gxv-form__title, .gxv-form__title { margin: 0 0 8px; font-family: var(--bm-serif) !important; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: var(--bm-primary) !important; }
.gxv-form__hint { margin: 0 0 26px; font-size: 16px; color: #5a6578; }
.gxv-form__label { margin: 0 0 10px; font: 600 11px/1 var(--gx-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bm-muted); }
.gxv-form__row { display: flex; gap: 12px; }
.gxv-form__field { position: relative; flex: 1; display: flex; align-items: center; height: 60px; border-radius: 18px; background: var(--bm-soft); box-shadow: inset 0 0 0 1px var(--bm-line); transition: box-shadow .3s, background .3s; }
.gxv-form__field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--bm-primary), 0 0 0 5px rgba(5,25,53,.07); }
.gxv-form__field > i { position: absolute; left: 20px; font-size: 18px; color: var(--bm-muted); }
body.bm .gxv-form__field input { width: 100%; height: 100%; padding: 0 18px 0 54px; border: 0 !important; background: transparent; box-shadow: none !important; outline: 0;
  font: 600 18px/1 var(--gx-mono); letter-spacing: .06em; color: var(--bm-primary); }
body.bm .gxv-form__field input::placeholder { color: #a6b0bf; font-weight: 500; letter-spacing: .04em; }
.bm-btn.gxv-form__go { height: 60px; padding: 0 26px; border-radius: 18px; gap: 10px; white-space: nowrap; }
.gxv-scan { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.gxv__card.is-checking .gxv-scan { height: 3px; background: linear-gradient(90deg, transparent, #ff4d63, transparent); box-shadow: 0 0 18px rgba(255,77,99,.8); animation: gxvScan 1.1s ease-in-out infinite alternate; }
@keyframes gxvScan { from { top: 0; } to { top: calc(100% - 3px); } }
.gxv__card.is-checking .gxv-form__field { opacity: .7; }

/* result */
.gxv-result { --c: var(--ok); flex: 1; display: flex; flex-direction: column; gap: 24px; padding: 36px 40px 40px; }
.gxv-result--expired { --c: var(--warn); }
.gxv-result--missing { --c: var(--bm-accent); }
.gxv-result__status { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: 22px; background: color-mix(in srgb, var(--c) 7%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent); }
.gxv-result__seal { flex: none; width: 88px; height: 99px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 24%, #fff); }
.gxv-result__seal > span { width: 74px; height: 83px; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 75%); }
html.gx-anim .gxv-result__seal { animation: gxvSeal .7s var(--gx-out) both; }
@keyframes gxvSeal { from { transform: scale(.6) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
.gxv-result__copy { display: grid; gap: 8px; min-width: 0; }
.gxv-result__stamp { justify-self: start; padding: 5px 12px; border-radius: 8px; border: 2px dashed var(--c); color: var(--c); font: 700 12px/1 var(--gx-mono); letter-spacing: .22em; text-transform: uppercase; transform: rotate(-3deg); }
.bm-verify .gxv-result__title, .gxv-result__title { margin: 0; font-family: var(--bm-serif) !important; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--bm-primary) !important; }
.gxv-result__copy p { margin: 0; color: #4a5568; font-size: 15px; line-height: 1.6; }
.gxv-result__copy a { color: var(--bm-accent); font-weight: 600; }
.gxv-result__body { display: grid; gap: 22px; }
.gxv-result__body.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; }
.gxv-result__data { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gxv-result__body.has-image .gxv-result__data { grid-template-columns: minmax(0, 1fr); }
.gxv-result__data div { padding: 14px 16px; border-radius: 16px; background: var(--bm-soft); }
.gxv-result__data dt { margin-bottom: 6px; font: 600 10.5px/1 var(--gx-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bm-muted); }
.gxv-result__data dd { margin: 0; font-weight: 700; font-size: 16px; color: var(--bm-primary); overflow-wrap: anywhere; }
html.gx-anim .gxv-result__data div { animation: gxvRow .5s var(--gx-out) both; animation-delay: calc(var(--i) * 70ms + .25s); }
@keyframes gxvRow { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gxv-result__doc { display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(5,25,53,.6), inset 0 0 0 1px var(--bm-line); transition: transform .45s var(--gx-out); }
.gxv-result__doc:hover { transform: translateY(-4px); }
.gxv-result__doc img { display: block; width: 100%; height: auto; }
.gxv-result__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.gxv-result__actions .bm-btn { gap: 10px; }

@media (max-width: 991px) {
  .gxv__grid { grid-template-columns: minmax(0, 1fr); }
  .gxv-side { padding: 26px 24px; }
  .gxv-side__checks { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .gxv-result__body.has-image { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .bm-verify.gxv { padding: 32px 0 60px; }
  .gxv-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gxv-tabs__item { flex-direction: row; justify-content: flex-start; padding: 10px; font-size: 13px; }
  .gxv-tabs__hex { width: 30px; height: 34px; font-size: 12px; }
  .gxv-form, .gxv-result { padding: 26px 20px 30px; }
  .gxv-form__row { flex-direction: column; }
  .bm-btn.gxv-form__go { justify-content: center; }
  .gxv-result__status { flex-direction: column; align-items: flex-start; padding: 20px; }
  .gxv-result__data { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .gxv__card.is-checking .gxv-scan { animation: none; top: 0; }
  .gxv-tabs__hex, .gxv-result__doc { transition: none; }
}

/* ---------- side rail: labelled Verify button ---------- */
body.bm .gr__btn--hot.gr__verify { width: 50px; height: auto; padding: 8px 0 7px; margin-bottom: 6px; display: flex; flex-direction: column; align-items: center; gap: 5px; clip-path: none; border-radius: 16px;
  background: linear-gradient(160deg, #c41d33, var(--bm-accent)); color: #fff; box-shadow: 0 12px 24px -12px rgba(170,22,41,.8); text-decoration: none; transition: background .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
body.bm .gr__btn--hot.gr__verify:hover { background: var(--bm-primary); transform: translateY(-2px); }
.gr__verify-icon { width: 30px; height: 34px; display: grid; place-items: center; font-size: 14px; background: rgba(255,255,255,.18); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gr__verify-label { font: 700 9px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 1439px) {
  body.bm .gr__btn--hot.gr__verify { flex-direction: row; width: auto; height: 44px; padding: 0 14px 0 6px; margin: 0 4px 0 0; gap: 8px; border-radius: 999px; }
  .gr__verify-icon { width: 30px; height: 33px; }
  .gr__verify-label { font: 700 13px/1 Inter, sans-serif; letter-spacing: 0; text-transform: none; }
  .gxq-bar__inner { padding-left: 350px; }
}
@media (max-width: 575px) { body.bm .gr__btn--hot.gr__verify { height: 42px; padding: 0 12px 0 5px; } }
