/* ============================================================
   Bharatiya Mazdoor Sangh — Maharashtra Pradesh
   Design system  ·  bms.css
   VERSION: 2026-07-07-WIDE3 (maxw 1760 · near full-width)
   >>> If server shows an OLDER version tag, the upload didn't land <<<
   Palette derived from official BMS logo (indigo + saffron)
   ============================================================ */

:root {
  /* Brand */
  --bms-indigo:   #2D2C88;
  --bms-indigo-d: #201F63;
  --bms-indigo-l: #3E3DB0;
  --bms-saffron:  #F7941D;
  --bms-saffron-d:#E07C00;
  --bms-maroon:   #802320;
  --bms-wheat:    #E8B84B;
  --bms-green:    #1F7A4D;

  /* Neutrals */
  --paper:   #FBF9F4;
  --paper-2: #F3EFE6;
  --card:    #FFFFFF;
  --ink:     #1A1A2E;
  --muted:   #5B5B6B;
  --line:    #E6E1D6;

  /* System */
  --shadow-sm: 0 1px 2px rgba(32,31,99,.06), 0 1px 3px rgba(32,31,99,.05);
  --shadow-md: 0 4px 12px rgba(32,31,99,.08), 0 2px 4px rgba(32,31,99,.05);
  --shadow-lg: 0 18px 40px rgba(32,31,99,.14);
  --radius:   14px;
  --radius-sm: 10px;
  --maxw: 1760px;

  --ff-display: "Tiro Devanagari Marathi", "Fraunces", Georgia, serif;
  --ff-body:    "Mukta", "Inter", system-ui, sans-serif;
  --ff-util:    "Inter", "Mukta", system-ui, sans-serif;
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.bms {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
/* safety: inline icon SVGs always constrained by their explicit attrs / container */
.mem-card svg, .contact-info svg, .flag-head svg, .tile svg, .camp-item svg { max-width: 100%; }
a { color: var(--bms-indigo); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--bms-saffron-d); }

.bms h1, .bms h2, .bms h3, .bms h4 {
  font-family: var(--ff-display);
  color: var(--bms-indigo);
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 .5em;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
/* full-bleed rail: chrome (header/nav/hero/footer) spans edge-to-edge,
   but inner content still aligns to a generous rail with no awkward side gap */
.rail { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 3vw, 48px); }
.section { padding-block: clamp(2.2rem, 5vw, 3.8rem); }

/* ============================================================
   SIGNATURE — saffron flag-staff section heading
   ============================================================ */
.flag-head {
  position: relative;
  padding-left: 22px;
  margin: 0 0 1.6rem;
}
.flag-head::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--bms-saffron), var(--bms-saffron-d));
}
.flag-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-util);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--bms-saffron-d);
  margin-bottom: .35rem;
}
.flag-head .eyebrow svg { width: 15px; height: 15px; }
.flag-head h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  margin: 0;
}
.flag-head.center { padding-left: 0; text-align: center; }
.flag-head.center::before {
  left: 50%; transform: translateX(-50%);
  top: auto; bottom: -12px; width: 54px; height: 4px;
}

/* Thin gold "wheat" rule */
.wheat-rule {
  height: 3px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--bms-wheat) 20%, var(--bms-saffron) 50%, var(--bms-wheat) 80%, transparent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-bms {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-util); font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  text-decoration: none; line-height: 1;
}
.btn-bms.primary { background: var(--bms-saffron); color: #fff; box-shadow: 0 6px 16px rgba(247,148,29,.32); }
.btn-bms.primary:hover { background: var(--bms-saffron-d); transform: translateY(-2px); color:#fff; }
.btn-bms.indigo { background: var(--bms-indigo); color: #fff; }
.btn-bms.indigo:hover { background: var(--bms-indigo-d); transform: translateY(-2px); color:#fff; }
.btn-bms.ghost { background: transparent; color: var(--bms-indigo); border: 1.5px solid var(--line); }
.btn-bms.ghost:hover { border-color: var(--bms-saffron); color: var(--bms-saffron-d); }

/* ============================================================
   CARDS
   ============================================================ */
.card-bms {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-bms:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* utility grid */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .g-4 { grid-template-columns: repeat(2,1fr);} .g-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .g-4,.g-3,.g-2 { grid-template-columns: 1fr; } }

/* ============================================================
   HEADER  (tricolor band + logo)
   ============================================================ */
.bms-topstrip {
  background: var(--bms-indigo-d);
  color: #E9E8FA;
  font-family: var(--ff-util);
  font-size: .82rem;
}
.bms-topstrip .rail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.bms-topstrip a { color: #E9E8FA; }
.bms-topstrip .ts-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.bms-topstrip .ts-contact span { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.bms-topstrip .ts-social { display: flex; gap: 10px; }
.bms-topstrip .ts-social a {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.1);
  transition: background .18s ease;
}
.bms-topstrip .ts-social a:hover { background: var(--bms-saffron); }
.bms-topstrip .ts-social svg { width: 13px; height: 13px; fill: #fff; }

/* Full-bleed banner — bmslogo.jpg scales to full screen width, whole banner visible, no crop, no side gaps */
.bms-header { background: var(--bms-saffron); padding: 0; }
.bms-header .logo-band { display: block; width: 100%; line-height: 0; }
.bms-header .logo-band img {
  width: 100%; height: auto; display: block;
}
.bms-header .logo-band .m { display: none; }
.tricolor-rule { height: 5px; display: flex; }
.tricolor-rule i { flex: 1; }
.tricolor-rule i:nth-child(1){ background: var(--bms-saffron); }
.tricolor-rule i:nth-child(2){ background: #fff; }
.tricolor-rule i:nth-child(3){ background: var(--bms-green); }

@media (max-width: 767px){
  .bms-header .logo-band .d { display: none; }
  .bms-header .logo-band .m { display: block; }
  .bms-topstrip .ts-contact { display:none; }
  .bms-topstrip .wrap { justify-content:center; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.bms-nav { background: var(--bms-indigo); position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow-md); }
.bms-nav .rail { display: flex; align-items: center; gap: 0; }
.bms-nav .nav-home {
  font-family: var(--ff-util); font-weight: 800; color: #fff;
  padding: 14px 16px 14px 0; margin-right: 12px; display: inline-flex; align-items:center; gap:7px;
  white-space: nowrap; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.15);
}
.bms-nav .nav-home svg { width: 17px; height: 17px; fill:#fff; }
.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 0; cursor: pointer;
  padding: 10px; color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; fill: #fff; }

/* strictly single horizontal line; never wraps to a second row */
.bms-menu {
  list-style: none; display: flex; flex-wrap: nowrap; margin: 0; padding: 0;
  align-items: stretch; flex: 1; justify-content: flex-start;
}
.bms-menu > li { position: relative; flex-shrink: 0; }
.bms-menu > li > a {
  display: block; color: #EDECFB; font-family: var(--ff-body); font-weight: 500;
  font-size: .86rem; padding: 16px 11px; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: background .16s, color .16s, border-color .16s;
}
@media (min-width: 992px) and (max-width: 1180px){
  .bms-menu > li > a { font-size: .8rem; padding: 16px 8px; }
}
.bms-menu > li > a:hover,
.bms-menu > li.open > a { background: var(--bms-indigo-d); color: #fff; }
.bms-menu > li.active > a { color: #fff; border-bottom-color: var(--bms-saffron); background: rgba(0,0,0,.14); }
.bms-menu > li.has-drop > a::after {
  content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}

.drop {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 950; border-top: 3px solid var(--bms-saffron);
}
.bms-menu > li:hover .drop, .bms-menu > li.open .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop.scroll { max-height: 340px; overflow-y: auto; }
.drop a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink);
  font-size: .92rem; font-weight: 500;
}
.drop a:hover { background: var(--paper-2); color: var(--bms-indigo); padding-left: 18px; }

@media (max-width: 991px){
  .nav-toggle { display: block; }
  .bms-nav .rail { flex-wrap: wrap; }
  .bms-menu {
    flex-basis: 100%; flex-direction: column; display: none; flex-wrap: wrap;
    background: var(--bms-indigo-d); border-radius: 0 0 12px 12px; margin-bottom: 6px;
    justify-content: flex-start;
  }
  .bms-nav.open .bms-menu { display: flex; }
  .bms-menu > li > a { border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 18px; }
  .bms-menu > li.has-drop > a::after { float: right; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-radius: 0; background: rgba(0,0,0,.2);
    display: none; border-top: 0; padding: 4px 4px 4px 12px;
  }
  .bms-menu > li.open .drop { display: block; }
  .drop.scroll { max-height: 260px; }
  .drop a { color: #EDECFB; }
  .drop a:hover { background: rgba(255,255,255,.08); color:#fff; }
}

/* Notice ticker */
.notice-bar {
  background: var(--bms-saffron); color: #2a1600;
  display: flex; align-items: center; overflow: hidden; font-family: var(--ff-body);
}
.notice-bar .tag {
  background: var(--bms-maroon); color: #fff; font-weight: 700; font-family: var(--ff-util);
  font-size: .8rem; letter-spacing: .08em; padding: 9px 16px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
}
.notice-bar .tag svg { width: 15px; height: 15px; fill: #fff; }
.notice-track { overflow: hidden; flex: 1; }
.notice-track > div {
  display: inline-block; white-space: nowrap; padding-left: 100%;
  font-weight: 500; font-size: 1.02rem;
  animation: ticker 34s linear infinite;
}
.notice-bar:hover .notice-track > div { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* Carousel — full-bleed, large */
.bms-carousel { position: relative; background: var(--bms-indigo-d); }
.bms-carousel .slides { position: relative; aspect-ratio: 1200 / 440; max-height: 74vh; }
@media (max-width:767px){ .bms-carousel .slides { aspect-ratio: 16/10; max-height: none; } }
.bms-carousel .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
}
.bms-carousel .slide.active { opacity: 1; }
.bms-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.car-dots { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5; }
.car-dots button { width:10px; height:10px; border-radius:50%; border:0; background:rgba(255,255,255,.5); cursor:pointer; padding:0; }
.car-dots button.on { background: var(--bms-saffron); width: 26px; border-radius: 6px; }
.car-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background: rgba(0,0,0,.35); color:#fff; display:grid; place-items:center;
  backdrop-filter: blur(3px); transition: background .16s;
}
.car-arrow:hover { background: var(--bms-saffron); }
.car-arrow.prev { left: 14px; } .car-arrow.next { right: 14px; }
.car-arrow svg { width: 20px; height: 20px; fill:#fff; }
@media (max-width:560px){ .car-arrow { width:34px; height:34px; } }

/* ============================================================
   MOTTO STRIP — the union's slogan as a structural band
   (त्रिसूत्री: राष्ट्रहित · उद्योगहित · श्रमिकहित)
   ============================================================ */
.motto-strip {
  background:
    linear-gradient(90deg, rgba(45,44,136,.96), rgba(32,31,99,.96)),
    repeating-linear-gradient(135deg, rgba(247,148,29,.10) 0 2px, transparent 2px 22px);
  color:#fff; position: relative; overflow: hidden;
}
.motto-strip .rail { display:grid; grid-template-columns: repeat(3,1fr); }
.motto-strip .mi {
  padding: 30px 26px; text-align:center; position: relative;
}
.motto-strip .mi + .mi { border-left: 1px solid rgba(255,255,255,.14); }
.motto-strip .mi .k {
  font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 2rem); color:#fff; margin:0 0 3px;
}
.motto-strip .mi .e {
  font-family: var(--ff-util); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  color: var(--bms-wheat); font-weight:700;
}
@media (max-width:767px){
  .motto-strip .rail { grid-template-columns: 1fr; }
  .motto-strip .mi + .mi { border-left:0; border-top:1px solid rgba(255,255,255,.14); }
  .motto-strip .mi { padding: 20px; }
}

/* ============================================================
   CAMPAIGN — editorial, not identical cards
   One lead campaign (मेरा घर) + a stacked list of the rest
   ============================================================ */
.camp-grid { display:grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 860px){ .camp-grid { grid-template-columns: 1fr; } }

.camp-lead {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; display:flex; align-items:flex-end; color:#fff;
  box-shadow: var(--shadow-md);
}
.camp-lead img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:0; }
.camp-lead .veil { position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(45,44,136,.05) 30%, rgba(32,31,99,.92)); }
.camp-lead .in { position: relative; z-index:2; padding: 28px; }
.camp-lead .badge {
  display:inline-block; background: var(--bms-saffron); color:#fff; font-family:var(--ff-util);
  font-weight:800; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  padding:6px 12px; border-radius:6px; margin-bottom:12px;
}
.camp-lead h3 { color:#fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin:0 0 8px; }
.camp-lead p { color:#EDE9FF; margin:0 0 16px; max-width: 46ch; }

.camp-list { display:flex; flex-direction:column; gap: 14px; }
.camp-item {
  display:flex; align-items:center; gap:16px; padding: 18px 20px;
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s; flex:1;
}
.camp-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--bms-saffron); }
.camp-item .n {
  font-family: var(--ff-display); font-size: 1.4rem; color: var(--bms-saffron);
  width: 34px; flex-shrink:0; text-align:center; font-weight:600;
}
.camp-item .tx { flex:1; }
.camp-item .tx b { display:block; color: var(--bms-indigo); font-size:1.06rem; font-weight:700; font-family: var(--ff-body); }
.camp-item .tx span { color: var(--muted); font-size:.86rem; }
.camp-item .ar { color: var(--muted); transition: transform .18s, color .18s; }
.camp-item:hover .ar { color: var(--bms-saffron); transform: translateX(3px); }

/* ============================================================
   NEWS  (compact)
   ============================================================ */
.news-card { display: flex; gap: 0; }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); max-height: 190px; }
.news-card .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 12px 15px 15px; }
.news-card .date { font-family: var(--ff-util); font-size: .72rem; font-weight: 700; letter-spacing:.05em; color: var(--bms-saffron-d); text-transform: uppercase; }
.news-card h3 { font-size: 1rem; margin: 4px 0 5px; color: var(--ink); line-height:1.35; }
.news-card p { color: var(--muted); font-size: .85rem; margin: 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ============================================================
   पदाधिकारी रोस्टर — official union register
   Designed as a continuous ledger, not floating cards.
   Post is the organizing spine; name leads at display size;
   contact is set as data. Rank reads through the type scale.
   ============================================================ */
.roster {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.roster-head {
  display: grid; grid-template-columns: 220px 1fr 190px;
  background: var(--bms-indigo);
  color: #fff; font-family: var(--ff-util);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.roster-head > div { padding: 13px 22px; }
.roster-head > div + div { border-left: 1px solid rgba(255,255,255,.14); }

.roster-row {
  display: grid; grid-template-columns: 220px 1fr 190px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  transition: background .16s;
}
.roster-row:nth-child(even) { background: #FCFAF5; }
.roster-row:hover { background: #FFF6E9; }

/* left spine: the post (organizing device) */
.roster-row .post {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  position: relative;
}
.roster-row .post::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
  background: var(--bms-saffron); opacity: 0; transition: opacity .16s;
}
.roster-row:hover .post::before { opacity: 1; }
.roster-row .post .p {
  font-family: var(--ff-util); font-weight: 700; font-size: .92rem;
  color: var(--bms-saffron-d); line-height: 1.25;
}
.roster-row .post .rank {
  font-family: var(--ff-util); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* center: the name at masthead scale */
.roster-row .who {
  padding: 16px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.roster-row .who .name {
  font-family: var(--ff-display); color: var(--bms-indigo);
  font-size: 1.5rem; line-height: 1.1; font-weight: 500;
}
.roster-row .who .occ {
  font-family: var(--ff-body); color: var(--muted); font-size: .9rem;
  display: inline-flex; align-items: center; gap: 7px;
}
.roster-row .who .occ svg { width: 14px; height: 14px; fill: var(--bms-saffron-d); flex-shrink:0; }

/* right: contact as an action */
.roster-row .reach {
  padding: 16px 22px; display: flex; align-items: center;
  border-left: 1px solid var(--line);
}
.roster-row .reach a {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-util); font-weight: 700; font-size: 1.02rem;
  color: var(--bms-indigo); white-space: nowrap;
}
.roster-row .reach a svg { width: 17px; height: 17px; fill: var(--bms-saffron-d); }
.roster-row .reach a:hover { color: var(--bms-saffron-d); }
.roster-row .reach .none { color: var(--muted); font-size: .95rem; }

.roster-count {
  font-family: var(--ff-util); font-size: .82rem; color: var(--muted);
  margin: 0 0 14px; font-weight: 600;
}
.roster-count b { color: var(--bms-indigo); }

.roster-empty {
  padding: 60px 24px; text-align: center; color: var(--muted);
  font-family: var(--ff-body); font-size: 1.02rem;
}
.roster-empty .big { font-family: var(--ff-display); color: var(--bms-indigo); font-size: 1.4rem; margin-bottom: 8px; }

/* ============================================================
   VIBHAG PUBLIC VIEW — event photos + meta strip
   ============================================================ */
.vibhag-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width: 767px){ .vibhag-photos { grid-template-columns: 1fr; } }
.vibhag-photos .vp { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.vibhag-photos .vp img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.vibhag-photos .vp:hover img { transform: scale(1.05); }

.vibhag-meta {
  display:flex; align-items:center; flex-wrap:wrap; gap: 18px;
  background: var(--paper-2); border:1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px; font-family: var(--ff-util); color: var(--muted); font-size:.92rem;
}
.vibhag-meta span { display:inline-flex; align-items:center; gap:7px; }
.vibhag-meta span svg { fill: var(--bms-indigo); }
.vibhag-meta .badge {
  background: var(--bms-saffron); color:#fff; font-weight:800; font-size:.72rem;
  letter-spacing:.1em; text-transform:uppercase; padding:6px 12px; border-radius:6px;
}
.vib-loading { padding: 50px 20px; text-align:center; color: var(--muted); font-family: var(--ff-body); }
#vibView .av-banner:first-child { margin-top: 0; }

/* ============================================================
   ABHYAS VARG BANNER — recreated event header (dynamic)
   ============================================================ */
.av-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #FDF6D8 0%, #FBEFC0 55%, #FCE9A8 100%);
  border: 1px solid #E9D89A; box-shadow: var(--shadow-md);
  padding: 26px 30px 0; margin-bottom: 26px;
}
.av-top { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; gap: 18px; }
.av-top .por, .av-top .lg {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--bms-saffron); background:#fff; box-shadow: var(--shadow-sm);
}
.av-top .por img, .av-top .lg img { width:100%; height:100%; object-fit: cover; }
.av-top .lg { border-color: var(--bms-indigo); padding: 6px; }
.av-top .lg img { object-fit: contain; }
.av-head { text-align:center; }
.av-head .shram { font-family: var(--ff-display); color: var(--bms-maroon); font-size: .95rem; margin-bottom: 4px; }
.av-head .org1 { font-family: var(--ff-display); color: var(--bms-maroon); font-weight:600; font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height:1.2; }
.av-head .amp { color: var(--bms-indigo); font-size: .95rem; margin: 2px 0; }
.av-head .org2 { font-family: var(--ff-display); color: var(--bms-indigo); font-weight:600; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height:1.2; }
.av-head .sub { color: var(--bms-indigo); font-size: .9rem; margin-top: 4px; font-style: italic; }
.av-title {
  margin: 18px auto 16px; max-width: 92%;
  background: linear-gradient(180deg, var(--bms-indigo), var(--bms-indigo-d));
  color:#fff; border-radius: 999px; text-align:center;
  padding: 16px 32px; box-shadow: 0 8px 22px rgba(45,44,136,.3);
}
.av-title h2 { color:#fff; font-family: var(--ff-display); font-weight:600; font-size: clamp(1.5rem, 4.5vw, 2.6rem); margin:0; line-height:1.15; }
.av-datestrip {
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap: 8px 22px;
  padding: 6px 10px 22px; font-family: var(--ff-display); color: var(--bms-indigo);
  font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight:500; text-align:center;
}
.av-datestrip .dv { display:inline-flex; align-items:center; gap:8px; }
.av-datestrip svg { width:18px; height:18px; fill: var(--bms-saffron-d); }
.av-foot {
  margin: 0 -30px; background: var(--bms-saffron); color:#fff; text-align:center;
  padding: 12px; font-family: var(--ff-display); font-weight:600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}
@media (max-width: 640px){
  .av-banner { padding: 18px 18px 0; }
  .av-top { grid-template-columns: 56px 1fr 56px; gap: 10px; }
  .av-top .por, .av-top .lg { width:56px; height:56px; }
  .av-foot { margin: 0 -18px; }
}

/* mobile: the ledger folds into stacked records, post as a header band */
@media (max-width: 760px){
  .roster-head { display: none; }
  .roster-row { grid-template-columns: 1fr; }
  .roster-row .post {
    border-right: 0; border-bottom: 1px solid var(--line);
    flex-direction: row; align-items: baseline; gap: 8px;
    background: rgba(45,44,136,.04); padding: 12px 18px;
  }
  .roster-row .post::before { opacity: 1; width: 4px; }
  .roster-row .who { padding: 14px 18px 6px; }
  .roster-row .who .name { font-size: 1.35rem; }
  .roster-row .reach { border-left: 0; padding: 4px 18px 16px; }
}

/* ============================================================
   ARADHYA DAIVAT  (Vishwakarma page)
   ============================================================ */
.daivat-grid { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px){ .daivat-grid { grid-template-columns: 1fr; } }

.daivat-media { position: sticky; top: 90px; }
@media (max-width: 820px){ .daivat-media { position: static; } }
.daivat-frame {
  background: linear-gradient(160deg, var(--bms-indigo), var(--bms-indigo-d));
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.daivat-frame::after {
  content:""; position:absolute; right:-40px; top:-40px; width:140px; height:140px;
  background: radial-gradient(circle, rgba(247,148,29,.35), transparent 70%);
}
.daivat-frame img { width:100%; border-radius: 10px; position: relative; z-index:1; background:#fff; }
.daivat-tag {
  margin-top: 14px; background: var(--bms-saffron); color:#2a1600;
  border-radius: var(--radius-sm); padding: 12px 16px; text-align:center;
}
.daivat-tag .k { font-family: var(--ff-display); font-size:1.35rem; color:#fff; line-height:1; }
.daivat-tag .e { font-family: var(--ff-util); font-size:.74rem; font-weight:700; letter-spacing:.03em; margin-top:4px; }

.daivat-body { padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.daivat-body p { line-height: 1.95; font-size: 1.02rem; }
.daivat-body p:first-letter { }

/* ============================================================
   MAHASANGH — article / feature list (केंद्रीय / राज्यस्तरीय महासंघ)
   Alternating image+text features; text-only rows as clean blocks.
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 26px; }

.feature {
  display: grid; grid-template-columns: 420px 1fr; gap: 30px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.feature:hover { box-shadow: var(--shadow-md); }
.feature:nth-child(even) { grid-template-columns: 1fr 420px; }
.feature:nth-child(even) .feature-media { order: 2; }

.feature-media { position: relative; align-self: stretch; min-height: 240px; background: var(--paper-2); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media::after {
  content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background: linear-gradient(180deg, var(--bms-saffron), var(--bms-saffron-d));
}
.feature:nth-child(even) .feature-media::after { left:auto; right:0; }

.feature-body { padding: 28px 32px; }
.feature-body h3 {
  font-family: var(--ff-display); color: var(--bms-indigo);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 12px; line-height: 1.2;
  position: relative; padding-left: 18px;
}
.feature-body h3::before {
  content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px; border-radius:3px;
  background: var(--bms-saffron);
}
.feature-body .txt { color: #33333f; font-size: 1.02rem; line-height: 1.85; }
.feature-body .txt p { margin: 0 0 .9em; }
.feature-body .txt p:last-child { margin-bottom: 0; }
.feature-body .txt b { color: var(--bms-indigo); }

/* text-only entry (no image) */
.feature-text {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px 32px; position: relative;
  border-left: 5px solid var(--bms-saffron);
}
.feature-text h3 {
  font-family: var(--ff-display); color: var(--bms-indigo);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 10px;
}
.feature-text .txt { color: #33333f; font-size: 1.02rem; line-height: 1.85; }
.feature-text .txt p { margin: 0 0 .9em; }
.feature-text .txt p:last-child { margin-bottom: 0; }
.feature-text .txt b { color: var(--bms-indigo); }

@media (max-width: 820px){
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature-media { min-height: 220px; }
  .feature-body { padding: 22px 24px; }
}
.gstrip { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 767px){ .gstrip { grid-template-columns: repeat(2,1fr);} }
.gstrip a { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); position: relative; }
.gstrip img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.gstrip a:hover img { transform: scale(1.1); }
.gstrip a::after { content:""; position:absolute; inset:0; background: linear-gradient(transparent 55%, rgba(45,44,136,.5)); opacity:0; transition:opacity .3s; }
.gstrip a:hover::after { opacity:1; }

/* ============================================================
   GALLERY / MAHITIPATRA — category rail + image grid + lightbox
   ============================================================ */
.gal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px){ .gal-layout { grid-template-columns: 1fr; } }

/* left category rail */
.gal-cats {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 86px;
}
@media (max-width: 860px){ .gal-cats { position: static; } }
.gal-cats .cats-head {
  background: var(--bms-indigo); color:#fff; padding: 14px 18px;
  font-family: var(--ff-util); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  display:flex; align-items:center; gap:9px;
}
.gal-cats .cats-head svg { width: 16px; height: 16px; fill:#fff; }
.gal-cats ul { list-style: none; margin: 0; padding: 6px; }
.gal-cats li a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: 9px; color: var(--ink); font-weight: 500; font-size: .95rem;
  cursor: pointer; transition: background .16s, color .16s, padding .16s;
}
.gal-cats li a::before {
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--bms-saffron); flex-shrink:0; transition: transform .16s;
}
.gal-cats li a:hover, .gal-cats li a.on {
  background: var(--paper-2); color: var(--bms-indigo); padding-left: 18px;
}
.gal-cats li a.on { background: rgba(247,148,29,.12); font-weight: 700; }
.gal-cats li + li { border-top: 1px solid var(--line); }

/* right image grid */
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 1200px){ .gal-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 640px){ .gal-grid { grid-template-columns: repeat(2,1fr);} }

.gal-item {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--paper-2); border: 1px solid var(--line); display: block;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.09); }
.gal-item::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(transparent 55%, rgba(32,31,99,.55));
  opacity: 0; transition: opacity .3s;
}
.gal-item:hover::after { opacity: 1; }
.gal-item .zoom {
  position:absolute; right:10px; bottom:10px; z-index:2;
  width:34px; height:34px; border-radius:50%; background: var(--bms-saffron);
  display:grid; place-items:center; opacity:0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.gal-item:hover .zoom { opacity:1; transform: translateY(0); }
.gal-item .zoom svg { width:16px; height:16px; fill:#fff; }

/* photo caption overlay on tile */
.gal-item .gal-cap {
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  background: linear-gradient(transparent, rgba(32,31,99,.85));
  color:#fff; font-family: var(--ff-body); font-size:.8rem; line-height:1.35;
  padding: 22px 12px 10px; opacity:0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.gal-item:hover .gal-cap { opacity:1; transform: translateY(0); }

/* caption inside magnific lightbox */
.mfp-cap { font-family: "Mukta", system-ui, sans-serif; font-size:1rem; color:#fff; }

.gal-empty {
  grid-column: 1/-1; text-align:center; padding: 60px 20px; color: var(--muted);
  font-family: var(--ff-body); border:1px dashed var(--line); border-radius: var(--radius);
}

/* PDF card in gallery grid */
.gal-pdf {
  display:flex; flex-direction:column; border:1px solid var(--line); border-radius: var(--radius-sm);
  overflow:hidden; background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.gal-pdf:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color:#b02923; }
.gal-pdf .pdf-cover { aspect-ratio: 1; overflow:hidden; background:#f7f2ea; }
.gal-pdf .pdf-cover img { width:100%; height:100%; object-fit: cover; }
.gal-pdf .pdf-cover.pdf-blank { display:grid; place-items:center; background: linear-gradient(160deg,#fdecec,#f7dede); }
.gal-pdf .pdf-cover.pdf-blank svg { width:56px; height:56px; fill:#b02923; opacity:.75; }
.gal-pdf .pdf-foot {
  display:flex; align-items:center; gap:8px; padding:10px 12px; border-top:1px solid var(--line);
}
.gal-pdf .pdf-tag {
  display:inline-flex; align-items:center; gap:4px; background:#fdecec; color:#b02923;
  font-family: var(--ff-util); font-weight:800; font-size:.66rem; letter-spacing:.06em;
  padding:3px 8px; border-radius:6px; flex-shrink:0;
}
.gal-pdf .pdf-tag svg { width:11px; height:11px; fill:#b02923; }
.gal-pdf .pdf-name {
  flex:1; font-family: var(--ff-body); font-weight:600; color: var(--ink); font-size:.86rem;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.gal-pdf .pdf-dl { flex-shrink:0; }
.gal-pdf .pdf-dl svg { width:18px; height:18px; fill: var(--bms-indigo); transition: fill .16s; }
.gal-pdf:hover .pdf-dl svg { fill:#b02923; }

/* ============================================================
   VIDEO GALLERY — YouTube channel embeds
   ============================================================ */
.vid-intro {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  background: linear-gradient(135deg, var(--bms-indigo), var(--bms-indigo-d));
  color:#fff; border-radius: var(--radius); padding: 20px 26px; margin-bottom: 26px;
  flex-wrap: wrap;
}
.vid-intro .t { font-family: var(--ff-display); font-size: 1.35rem; color:#fff; margin:0; }
.vid-intro .s { font-family: var(--ff-util); font-size:.86rem; color:#CFCEEA; margin-top:3px; }
.vid-intro a.yt {
  display:inline-flex; align-items:center; gap:9px; background:#FF0000; color:#fff;
  font-family: var(--ff-util); font-weight:700; font-size:.92rem;
  padding: 11px 20px; border-radius: 999px; white-space:nowrap;
  transition: transform .16s, box-shadow .16s;
}
.vid-intro a.yt:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,0,0,.35); color:#fff; }
.vid-intro a.yt svg { width:20px; height:20px; fill:#fff; }

.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1100px){ .vid-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 680px){ .vid-grid { grid-template-columns: 1fr; } }

.vid-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.vid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--bms-saffron); }
.vid-frame { position: relative; aspect-ratio: 16/9; background:#000; }
.vid-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.vid-card .vfoot {
  display:flex; align-items:center; gap:10px; padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.vid-card .vfoot .dot { width:30px; height:30px; border-radius:8px; background: rgba(255,0,0,.1); display:grid; place-items:center; flex-shrink:0; }
.vid-card .vfoot .dot svg { width:16px; height:16px; fill:#FF0000; }
.vid-card .vfoot span { font-family: var(--ff-util); font-weight:600; font-size:.86rem; color: var(--muted); }

/* ============================================================
   REGISTRATION FORM  (सहभागिता नोंदणी)
   ============================================================ */
.reg-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 900px){ .reg-layout { grid-template-columns: 1fr; } }

/* left promo panel */
.reg-aside {
  background: linear-gradient(160deg, var(--bms-indigo), var(--bms-indigo-d));
  color:#fff; padding: 40px 34px; position: relative; overflow: hidden;
  display:flex; flex-direction:column; justify-content:center;
}
.reg-aside::after {
  content:""; position:absolute; right:-60px; bottom:-60px; width:200px; height:200px;
  background: radial-gradient(circle, rgba(247,148,29,.3), transparent 70%);
}
.reg-aside .badge {
  display:inline-block; background: var(--bms-saffron); color:#fff; font-family:var(--ff-util);
  font-weight:800; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase;
  padding:6px 12px; border-radius:6px; margin-bottom:18px; align-self:flex-start;
}
.reg-aside h2 { color:#fff; font-size: clamp(1.6rem,3vw,2.1rem); margin:0 0 14px; line-height:1.2; }
.reg-aside p { color:#D6D5F0; font-size:1rem; line-height:1.8; margin:0 0 22px; position:relative; z-index:1; }
.reg-aside ul { list-style:none; margin:0; padding:0; position:relative; z-index:1; }
.reg-aside li { display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; font-size:.96rem; color:#EDECFB; }
.reg-aside li svg { width:22px; height:22px; fill: var(--bms-saffron); flex-shrink:0; margin-top:1px; }

/* right form */
.reg-form { padding: clamp(1.8rem, 4vw, 2.8rem); }
.reg-form .field { margin-bottom: 18px; }
.reg-form .field.full { grid-column: 1 / -1; }
.reg-grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .reg-grid2 { grid-template-columns: 1fr; } }
.reg-form .hint { font-size:.78rem; color: var(--muted); margin-top:5px; font-family: var(--ff-util); }

/* file upload */
.file-drop {
  border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align:center;
  cursor: pointer; transition: border-color .16s, background .16s; background: var(--paper);
}
.file-drop:hover { border-color: var(--bms-saffron); background: #FFF9F0; }
.file-drop svg { width: 34px; height: 34px; fill: var(--bms-saffron-d); margin-bottom: 8px; }
.file-drop .ft { font-family: var(--ff-util); font-weight:600; color: var(--ink); font-size:.92rem; }
.file-drop .fs { font-size:.78rem; color: var(--muted); margin-top:3px; }
.file-drop input[type=file] { display:none; }
.file-drop.has-file { border-color: var(--bms-green); background: #F1FAF4; }
.file-drop .fname { color: var(--bms-green); font-weight:600; font-size:.88rem; margin-top:6px; word-break: break-all; }

.reg-form .btn-submit {
  width:100%; justify-content:center; margin-top:6px; font-size:1.05rem; padding:15px;
}
/* chosen override to match theme */
.chosen-container-single .chosen-single {
  height: auto !important; padding: 11px 14px !important; border:1.5px solid var(--line) !important;
  border-radius: 10px !important; box-shadow:none !important; background: #fff !important;
  font-family: var(--ff-body) !important; color: var(--ink) !important; line-height:1.4 !important;
}
.chosen-container-single .chosen-single div b { margin-top: 6px; }
.chosen-container-active.chosen-with-drop .chosen-single { border-color: var(--bms-saffron) !important; }
.chosen-container .chosen-results li.highlighted { background: var(--bms-saffron) !important; }
.chosen-container-single .chosen-search input[type=text] { border:1px solid var(--line) !important; border-radius:8px; }

/* ============================================================
   DISTRICT LOGIN  (standalone auth page)
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 56px); display: grid; place-items: center;
  padding: 30px 18px;
  background:
    linear-gradient(160deg, rgba(45,44,136,.94), rgba(32,31,99,.97)),
    repeating-linear-gradient(135deg, rgba(247,148,29,.08) 0 2px, transparent 2px 24px);
}
.auth-card {
  width: 100%; max-width: 720px;
  background: var(--card); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.auth-top {
  background: var(--bms-saffron); padding: 30px 40px 22px; text-align: center;
  position: relative;
}
.auth-top img { height: 82px; width:auto; margin: 0 auto 8px; }
.auth-top .rule { height:5px; display:flex; margin: 16px -40px -22px; }
.auth-top .rule i { flex:1; }
.auth-top .rule i:nth-child(1){ background: var(--bms-indigo); }
.auth-top .rule i:nth-child(2){ background:#fff; }
.auth-top .rule i:nth-child(3){ background: var(--bms-green); }

.auth-body { padding: 44px 64px 48px; }
.auth-body .tag {
  text-align:center; font-family: var(--ff-util); font-weight:700; font-size:.78rem;
  letter-spacing:.18em; text-transform:uppercase; color: var(--bms-saffron-d); margin-bottom:6px;
}
.auth-body h1 {
  text-align:center; font-family: var(--ff-display); color: var(--bms-indigo);
  font-size: 2rem; margin: 0 0 30px;
}
.auth-body .field { margin-bottom: 20px; }
.auth-body .field label { display:block; font-family: var(--ff-util); font-weight:600; font-size:.88rem; color: var(--ink); margin-bottom:7px; }
.auth-pass { position: relative; }
.auth-pass .pico {
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; fill: var(--muted); pointer-events:none;
}
.auth-pass input { padding-left: 44px !important; }
.auth-body .field input, .auth-body .field select { padding: 14px 16px; font-size: 1.02rem; }
.auth-body .btn-login {
  width:100%; justify-content:center; margin-top: 12px; font-size:1.12rem; padding:17px;
}
.auth-foot { text-align:center; margin-top: 18px; padding-top:16px; border-top:1px solid var(--line); }
.auth-foot a { font-family: var(--ff-util); font-size:.86rem; font-weight:600; color: var(--bms-indigo); }
.auth-foot a:hover { color: var(--bms-saffron-d); }
.auth-foot .sep { color: var(--line); margin: 0 12px; }
.auth-back {
  display:inline-flex; align-items:center; gap:6px; margin-top:18px;
  color:#D6D5F0; font-family:var(--ff-util); font-size:.85rem; font-weight:600;
}
.auth-back:hover { color:#fff; }
.auth-back svg { width:15px; height:15px; fill: currentColor; }
.auth-outer { text-align:center; }

/* ============================================================
   CONTENT / PROSE  (interior pages)
   ============================================================ */
.page-band { background: var(--bms-indigo); color:#fff; padding-block: 30px; position: relative; }
.page-band .wrap { max-width: 1660px; }
.page-band::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background: linear-gradient(90deg, var(--bms-saffron), var(--bms-wheat)); }
.page-band h1 { color:#fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin:0; }
.page-band .crumb { font-family: var(--ff-util); font-size:.82rem; opacity:.8; margin-top:6px; }
.page-band .crumb a { color: var(--bms-wheat); }

.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 4vw, 3rem); }
.prose > p { max-width: none; }
.prose p { margin: 0 0 1.05em; color: #2c2c3a; }
.prose p b, .prose b { color: var(--bms-indigo); font-weight: 700; }
.prose > div b { color: var(--bms-maroon); }

/* Form */
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (max-width:640px){ .form-grid { grid-template-columns: 1fr; } }
.field label { display:block; font-family: var(--ff-util); font-weight:600; font-size:.85rem; color: var(--ink); margin-bottom:6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--ff-body); font-size: .98rem; background: #fff; color: var(--ink);
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bms-saffron); box-shadow: 0 0 0 3px rgba(247,148,29,.15);
}
.contact-info .row-i { display:flex; gap:12px; align-items:flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info .row-i:last-child { border-bottom: 0; }
.contact-info .ic { width:40px; height:40px; flex-shrink:0; border-radius:10px; background: rgba(45,44,136,.08); display:grid; place-items:center; }
.contact-info .ic svg { width:20px; height:20px; fill: var(--bms-indigo); }
.contact-info .row-i b { color: var(--bms-indigo); display:block; font-family: var(--ff-util); font-size:.8rem; letter-spacing:.04em; text-transform:uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.bms-footer { background: var(--bms-indigo-d); color: #D6D5F0; margin-top: 40px; }
.bms-footer .tricolor-rule { height: 4px; }
.bms-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px){ .bms-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .bms-footer .cols { grid-template-columns: 1fr; } }
.bms-footer h4 { color: #fff; font-family: var(--ff-util); font-weight: 800; font-size: .95rem; letter-spacing:.05em; text-transform: uppercase; margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.bms-footer h4::after { content:""; position:absolute; left:0; bottom:0; width:36px; height:3px; background: var(--bms-saffron); border-radius:2px; }
.bms-footer p, .bms-footer a { color: #C9C8E8; font-size: .92rem; line-height: 1.9; }
.bms-footer a:hover { color: var(--bms-saffron); }
.bms-footer .motto b { color: var(--bms-wheat); }
.bms-footer .fsoc { display:flex; gap:10px; margin-top: 8px; }
.bms-footer .fsoc a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display:grid; place-items:center; }
.bms-footer .fsoc a:hover { background: var(--bms-saffron); }
.bms-footer .fsoc svg { width:17px; height:17px; fill:#fff; }
.bms-copy { border-top: 1px solid rgba(255,255,255,.1); text-align:center; padding: 16px; font-size: .84rem; color:#A9A8CE; font-family: var(--ff-util); }

/* ============================================================
   FLOATING SOCIAL
   ============================================================ */
.float-stack { position: fixed; right: 20px; bottom: 24px; z-index: 800; display:flex; flex-direction:column; gap: 12px; }
.float-stack a { width: 52px; height: 52px; border-radius: 50%; display:grid; place-items:center; box-shadow: var(--shadow-md); transition: transform .18s; }
.float-stack a:hover { transform: scale(1.1) translateY(-2px); }
.float-stack a svg { width: 26px; height: 26px; fill:#fff; }
.float-stack .wa { background:#25D366; } .float-stack .ig { background:#E1306C; } .float-stack .fb { background:#1877F2; }
@media (max-width:560px){ .float-stack a { width:46px; height:46px; } .float-stack a svg{ width:22px;height:22px;} }

/* Accessibility */
:focus-visible { outline: 3px solid var(--bms-saffron); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}