/* ==========================================================================
   Indian Gold Standards (IGS) — Core Stylesheet
   www.IndianGoldStandards.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — navy + gold, taken from the IGS seal */
  --ink:            #0b1c3d;   /* seal navy            */
  --ink-2:          #12274f;   /* navy raised          */
  --ink-3:          #1b3563;   /* navy light           */
  --gold:           #c9a227;   /* seal gold            */
  --gold-lt:        #e8c66a;   /* gold highlight       */
  --gold-dk:        #9d7c14;   /* gold shadow / text   */
  --gold-soft:      #f7f0da;   /* gold tint background */
  --ivory:          #faf7f0;
  --paper:          #ffffff;

  /* Neutrals */
  --n-900: #101828;
  --n-700: #344054;
  --n-600: #475467;
  --n-500: #667085;
  --n-400: #98a2b3;
  --n-300: #d0d5dd;
  --n-200: #e4e7ec;
  --n-100: #f2f4f7;
  --n-50:  #f9fafb;

  /* Status */
  --ok:     #12805c;
  --ok-bg:  #e7f6ef;
  --warn:   #b54708;
  --warn-bg:#fef3e6;
  --err:    #b42318;
  --err-bg: #fdeceb;
  --info:   #175cd3;
  --info-bg:#eaf1fd;

  /* Type */
  --f-head: "Playfair Display", "Georgia", "Times New Roman", serif;
  --f-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gut: 24px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --sh-2: 0 4px 8px -2px rgba(16,24,40,.08), 0 2px 4px -2px rgba(16,24,40,.06);
  --sh-3: 0 12px 24px -6px rgba(16,24,40,.10), 0 4px 8px -4px rgba(16,24,40,.06);
  --sh-4: 0 24px 48px -12px rgba(16,24,40,.18);

  --hdr-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--n-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
a { color: var(--gold-dk); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--n-200); margin: 32px 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  color: var(--n-900);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 2px; border-radius: 4px; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--n-100); }
::-webkit-scrollbar-thumb { background: var(--n-300); border-radius: 8px; border: 3px solid var(--n-100); }
::-webkit-scrollbar-thumb:hover { background: var(--n-400); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-sm { max-width: 880px; }
.wrap-xs { max-width: 660px; }

.section { padding: 84px 0; }
.section-sm { padding: 52px 0; }
.section-tight { padding: 40px 0; }
.bg-ivory { background: var(--ivory); }
.bg-n50 { background: var(--n-50); }
.bg-ink { background: #f7f0da; color: #344054; border-top: 1px solid var(--n-200); border-bottom: 1px solid var(--n-200); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #0b1c3d !important; }
.bg-ink p, .bg-ink span, .bg-ink li { color: #344054 !important; }
.bg-gold-soft { background: var(--gold-soft); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g-2-1 { grid-template-columns: 2fr 1fr; }
.g-1-2 { grid-template-columns: 1fr 2fr; }

.flex { display: flex; }
.fw { flex-wrap: wrap; }
.ai-c { align-items: center; }
.ai-s { align-items: flex-start; }
.jc-b { justify-content: space-between; }
.jc-c { justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

.tc { text-align: center; }
.tr { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }  .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.w-100 { width: 100%; }
.hide { display: none !important; }
.muted { color: var(--n-500); }
.small { font-size: .875rem; }
.xs { font-size: .8rem; }
.strong { font-weight: 650; color: var(--n-900); }
.mono { font-family: "SFMono-Regular", "Consolas", "Roboto Mono", monospace; font-size: .9em; letter-spacing: .02em; }
.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   4. Section headers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block;
}
.bg-ink .eyebrow { color: var(--gold-lt); }

.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { font-size: 1.06rem; color: var(--n-600); margin-bottom: 0; }
.bg-ink .sec-head p { color: rgba(255,255,255,.7); }

.lead { font-size: 1.15rem; line-height: 1.7; color: var(--n-600); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r);
  font-size: .935rem; font-weight: 650; letter-spacing: .01em;
  border: 1.5px solid transparent; background: var(--ink); color: #fff;
  transition: all .2s var(--ease); white-space: nowrap; text-align: center;
}
.btn:hover { background: var(--ink-3); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-gold { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: #2b2100; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); color: #2b2100; box-shadow: 0 12px 24px -8px rgba(201,162,39,.55); }

.btn-outline { background: transparent; border-color: var(--n-300); color: var(--n-900); }
.btn-outline:hover { background: var(--n-50); border-color: var(--ink); color: var(--n-900); }

.btn-outline-gold { background: transparent; border-color: var(--gold); color: var(--gold-dk); }
.btn-outline-gold:hover { background: var(--gold); color: #2b2100; }

.btn-ghost-light { background: #ffffff; border-color: #0b1c3d; color: #0b1c3d; }
.btn-ghost-light:hover { background: #f2f4f7; border-color: #0b1c3d; color: #0b1c3d; }

.btn-sm { padding: 8px 16px; font-size: .84rem; border-radius: var(--r-sm); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 10px; width: 40px; height: 40px; }

.btn-group { display: inline-flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: .92rem; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / Navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.66);
  font-size: .8rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: var(--gold-lt); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar .tb-price { display: inline-flex; align-items: center; gap: 8px; }
.tb-price .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.tb-price b { color: var(--gold-lt); font-weight: 650; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--n-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.stuck { box-shadow: var(--sh-2); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; flex-shrink: 0; display: block; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; object-fit: contain; }
.brand-txt { line-height: 1.12; }
.brand-txt .bn {
  font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  display: block; letter-spacing: .01em;
}
.brand-txt .bn em { font-style: normal; color: var(--gold-dk); }
.brand-txt .bs { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: var(--n-500); font-weight: 700; }

/* Full lock-up (footer / login / certificate) */
.lockup { text-align: center; }
.lockup .lk-mark { width: 116px; height: 116px; margin: 0 auto 14px; }
.lockup .lk-n { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.lockup .lk-s { font-family: var(--f-head); font-size: .95rem; letter-spacing: .34em; color: var(--gold-dk); text-transform: uppercase; }
.lockup .lk-t { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--n-500); margin-top: 8px; }
.tagline { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); font-weight: 650; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: var(--r-sm);
  font-size: .89rem; font-weight: 600; color: var(--n-700);
}
.nav > li > a:hover, .nav > li.open > a { background: var(--n-100); color: var(--n-900); }
.nav > li.active > a { color: var(--gold-dk); }
.nav > li.active > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav .caret { width: 9px; height: 9px; opacity: .5; transition: transform .2s var(--ease); }
.nav > li.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg);
  box-shadow: var(--sh-4); padding: 8px; z-index: 950;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s var(--ease);
}
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav > li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 13px; border-radius: var(--r-sm);
  font-size: .875rem; color: var(--n-700); font-weight: 550;
}
.dropdown a:hover { background: var(--gold-soft); color: var(--n-900); }
.dropdown a small { display: block; font-size: .74rem; color: var(--n-500); font-weight: 400; margin-top: 1px; }
.dd-title {
  padding: 10px 13px 4px; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--n-400);
}

.hdr-actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--n-200);
  background: #fff; border-radius: var(--r-sm); position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--n-900);
  border-radius: 2px; transition: all .25s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.on span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile drawer */
.mnav {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 88vw); z-index: 980;
  background: #fff; transform: translateX(102%); transition: transform .32s var(--ease);
  overflow-y: auto; padding: 20px 20px 60px; box-shadow: var(--sh-4);
}
.mnav.open { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mnav-group { border-bottom: 1px solid var(--n-200); }
.mnav-group > a, .mnav-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; font-size: .96rem; font-weight: 650; color: var(--n-900);
  background: none; border: 0; text-align: left;
}
.mnav-toggle .caret { transition: transform .2s var(--ease); width: 11px; }
.mnav-group.open .mnav-toggle .caret { transform: rotate(180deg); }
.mnav-sub { display: none; padding: 0 4px 14px; }
.mnav-group.open .mnav-sub { display: block; }
.mnav-sub a { display: block; padding: 9px 12px; font-size: .875rem; color: var(--n-600); border-left: 2px solid var(--n-200); }
.mnav-sub a:hover { border-color: var(--gold); color: var(--gold-dk); }
.overlay {
  position: fixed; inset: 0; background: rgba(14,20,32,.55); z-index: 970;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease); backdrop-filter: blur(2px);
}
.overlay.on { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: #faf7f0; color: #101828; overflow: hidden;
  padding: 84px 0 96px; border-bottom: 1px solid var(--n-200);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 82% 8%, rgba(201,162,39,.18), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(231,194,75,.12), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image:
    linear-gradient(rgba(11,28,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,28,61,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #0b1c3d; margin-bottom: 20px; font-weight: 800; }
.hero h1 .accent {
  background: linear-gradient(120deg, #9d7c14, #c9a227);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: #344054; max-width: 620px; font-weight: 500; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 8px;
  background: #f7f0da; border: 1.5px solid #e8c66a;
  border-radius: 999px; font-size: .8rem; color: #0b1c3d; margin-bottom: 22px; font-weight: 700;
}
.hero-badge .chip {
  background: #0b1c3d; color: #ffffff; font-weight: 700; font-size: .68rem;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .05em;
}

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--n-300); }
.hero-stats .hs-n { font-family: var(--f-head); font-size: 2.05rem; font-weight: 800; color: #0b1c3d; line-height: 1; }
.hero-stats .hs-l { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #475467; margin-top: 7px; font-weight: 700; }

/* Hero verify card */
.hero-card {
  background: #ffffff; border: 1.5px solid var(--n-300);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--sh-3);
}
.hero-card h3 { color: #0b1c3d; font-size: 1.24rem; margin-bottom: 6px; font-weight: 700; }
.hero-card .hc-sub { font-size: .86rem; color: #344054; margin-bottom: 20px; font-weight: 650; }
.hero-card .field label { color: #101828; font-weight: 650; }
.hero-card .field input {
  background: #ffffff; border-color: var(--n-300); color: #101828;
}
.hero-card .field input::placeholder { color: #667085; }
.hero-card .field input:focus { border-color: var(--gold); background: #ffffff; }

/* Page hero (interior) */
.page-hero, .page-hd {
  background: #faf7f0; color: #101828; padding: 62px 0 58px; position: relative; overflow: hidden; border-bottom: 1px solid var(--n-200);
}
.page-hero::before, .page-hd::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 340px at 78% 0%, rgba(201,162,39,.18), transparent 62%);
}
.page-hero .wrap, .page-hd .wrap { position: relative; z-index: 2; }
.page-hero h1, .page-hd h1 { color: #0b1c3d; margin-bottom: 12px; font-weight: 800; }
.page-hero p, .page-hd p { color: #344054; max-width: 720px; margin-bottom: 0; font-size: 1.05rem; font-weight: 500; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; margin-bottom: 16px; color: #475467; }
.crumbs a { color: #344054; font-weight: 600; }
.crumbs a:hover { color: var(--gold-dk); }
.crumbs span.sep { opacity: .45; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg);
  padding: 26px; transition: all .24s var(--ease); position: relative;
}
.card-hover:hover { border-color: var(--gold); box-shadow: var(--sh-3); transform: translateY(-4px); }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--n-600); font-size: .935rem; margin-bottom: 0; }
.card-pad-sm { padding: 20px; }
.card-flush { padding: 0; overflow: hidden; }

.ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dk); margin-bottom: 18px; flex-shrink: 0;
}
.ico svg { width: 25px; height: 25px; }
.ico-sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0; }
.ico-sm svg { width: 19px; height: 19px; }
.ico-ink { background: var(--ink); color: var(--gold-lt); }
.ico-ok { background: var(--ok-bg); color: var(--ok); }
.ico-info { background: var(--info-bg); color: var(--info); }
.ico-warn { background: var(--warn-bg); color: var(--warn); }
.ico-err { background: var(--err-bg); color: var(--err); }

/* Action card (home quick links) */
.act-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px;
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg);
  transition: all .24s var(--ease); height: 100%;
}
.act-card:hover { border-color: var(--gold); box-shadow: var(--sh-3); transform: translateY(-4px); }
.act-card h4 { margin-bottom: 5px; color: var(--n-900); }
.act-card p { font-size: .875rem; color: var(--n-600); margin: 0; }

/* Category tile */
.cat-tile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--n-200); border-radius: var(--r); background: #fff;
  transition: all .2s var(--ease); height: 100%;
}
.cat-tile:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-3px); }
.cat-tile .ct-n { font-weight: 650; color: var(--n-900); font-size: .93rem; line-height: 1.3; }
.cat-tile .ct-c { font-size: .76rem; color: var(--n-500); }

/* Member / directory card */
.mem-card {
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg);
  padding: 22px; transition: all .22s var(--ease); display: flex; flex-direction: column; height: 100%;
}
.mem-card:hover { box-shadow: var(--sh-3); border-color: var(--gold); }
.mem-top { display: flex; gap: 14px; margin-bottom: 14px; }
.mem-logo {
  width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  color: var(--gold-lt); font-family: var(--f-head); font-weight: 700; font-size: 1.15rem;
}
.mem-name { font-weight: 700; color: var(--n-900); font-size: 1.02rem; line-height: 1.3; margin-bottom: 3px; }
.mem-meta { font-size: .8rem; color: var(--n-500); }
.mem-rows { display: grid; gap: 7px; margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--n-100); border-bottom: 1px solid var(--n-100); }
.mem-row { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; }
.mem-row span:first-child { color: var(--n-500); }
.mem-row span:last-child { color: var(--n-900); font-weight: 600; text-align: right; }
.mem-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }

/* News card */
.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg); overflow: hidden; transition: all .24s var(--ease); }
.news-card:hover { box-shadow: var(--sh-3); transform: translateY(-4px); border-color: var(--gold); }
.news-thumb { height: 176px; position: relative; background: linear-gradient(140deg, var(--ink-3), var(--ink)); display: grid; place-items: center; }
.news-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 70% 20%, rgba(201,162,39,.4), transparent 62%);
}
.news-thumb .nt-ico { position: relative; z-index: 2; color: rgba(231,194,75,.85); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-body h4 { font-size: 1.06rem; line-height: 1.35; margin-bottom: 9px; }
.news-body p { font-size: .875rem; color: var(--n-600); flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--n-500); margin-top: 14px; }

/* Event row */
.ev-row {
  display: flex; gap: 20px; align-items: center; padding: 20px;
  border: 1px solid var(--n-200); border-radius: var(--r-lg); background: #fff;
  transition: all .2s var(--ease);
}
.ev-row:hover { border-color: var(--gold); box-shadow: var(--sh-2); }
.ev-date {
  width: 74px; flex-shrink: 0; text-align: center; border-radius: var(--r);
  background: var(--gold-soft); padding: 11px 4px; border: 1px solid rgba(201,162,39,.28);
}
.ev-date .d { font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; color: var(--n-900); line-height: 1; }
.ev-date .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dk); font-weight: 700; margin-top: 4px; }
.ev-body { flex: 1; min-width: 0; }
.ev-body h4 { margin-bottom: 5px; font-size: 1.04rem; }

/* Testimonial */
.quote {
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg);
  padding: 30px; position: relative; height: 100%;
}
.quote::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: var(--f-head); font-size: 5.5rem; color: var(--gold); opacity: .18; line-height: 1;
}
.quote p { font-size: .97rem; color: var(--n-700); font-style: italic; margin-bottom: 20px; }
.q-person { display: flex; align-items: center; gap: 13px; }
.q-av {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-lt);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.q-person .qn { font-weight: 650; color: var(--n-900); font-size: .92rem; }
.q-person .qr { font-size: .8rem; color: var(--n-500); }

/* Person card */
.person { text-align: center; }
.person .pav {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  color: var(--gold-lt); display: grid; place-items: center;
  font-family: var(--f-head); font-size: 2rem; font-weight: 700;
  border: 3px solid var(--gold-soft);
}
.person h4 { margin-bottom: 3px; font-size: 1.03rem; }
.person .prole { font-size: .84rem; color: var(--gold-dk); font-weight: 600; }
.person .pbio { font-size: .82rem; color: var(--n-500); margin-top: 8px; }

/* Stat card */
.stat {
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-lg); padding: 24px;
}
.stat .sv { font-family: var(--f-head); font-size: 2.3rem; font-weight: 700; color: var(--n-900); line-height: 1; }
.stat .sl { font-size: .82rem; color: var(--n-500); margin-top: 8px; }
.stat .sd { font-size: .76rem; font-weight: 650; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.stat .sd.up { color: var(--ok); }
.stat .sd.down { color: var(--err); }

/* Download / doc item */
.doc-item {
  display: flex; align-items: center; gap: 15px; padding: 16px 18px;
  border: 1px solid var(--n-200); border-radius: var(--r); background: #fff;
  transition: all .2s var(--ease);
}
.doc-item:hover { border-color: var(--gold); background: var(--n-50); }
.doc-ico {
  width: 42px; height: 42px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--err-bg); color: var(--err); font-size: .66rem; font-weight: 800; letter-spacing: .04em;
}
.doc-ico.xls { background: var(--ok-bg); color: var(--ok); }
.doc-ico.doc { background: var(--info-bg); color: var(--info); }
.doc-item .di-n { font-weight: 620; color: var(--n-900); font-size: .91rem; line-height: 1.35; }
.doc-item .di-m { font-size: .76rem; color: var(--n-500); margin-top: 2px; }

/* --------------------------------------------------------------------------
   9. Badges, pills, chips
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 999px; font-size: .74rem; font-weight: 650; letter-spacing: .01em;
  background: var(--n-100); color: var(--n-700); white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-ok   { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err  { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-gold { background: var(--gold-soft); color: var(--gold-dk); }
.badge-ink  { background: var(--ink); color: var(--gold-lt); }
.badge-lg { padding: 6px 13px; font-size: .82rem; }

.lvl {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.lvl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lvl-platinum { background: #eef1f6; color: #475467; }
.lvl-gold     { background: var(--gold-soft); color: var(--gold-dk); }
.lvl-silver   { background: #f2f4f7; color: #667085; }
.lvl-bronze   { background: #fdf0e6; color: #b54708; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--n-300);
  background: #fff; font-size: .84rem; font-weight: 600; color: var(--n-600);
  transition: all .18s var(--ease);
}
.chip-btn:hover { border-color: var(--gold); color: var(--gold-dk); }
.chip-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.stars .off { color: var(--n-300); }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .84rem; font-weight: 650; color: var(--n-700); margin-bottom: 7px;
}
.field label .req { color: var(--err); }
.field .hint { font-size: .78rem; color: var(--n-500); margin-top: 6px; }
.field .err-msg { font-size: .78rem; color: var(--err); margin-top: 6px; display: none; }
.field.has-error .err-msg { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }

.input, .field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field input[type=password], .field input[type=date],
.field input[type=search], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--n-300);
  border-radius: var(--r); background: #fff; font-size: .93rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.input-group { display: flex; }
.input-group .input { border-radius: var(--r) 0 0 var(--r); border-right: 0; }
.input-group .btn { border-radius: 0 var(--r) var(--r) 0; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--n-700); cursor: pointer; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--n-300); border-radius: 999px; transition: .22s; }
.switch .track::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .22s; }
.switch input:checked + .track { background: var(--gold); }
.switch input:checked + .track::before { transform: translateX(20px); }

.upload {
  border: 2px dashed var(--n-300); border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; background: var(--n-50); transition: all .2s var(--ease); cursor: pointer;
}
.upload:hover, .upload.drag { border-color: var(--gold); background: var(--gold-soft); }
.upload .up-i { color: var(--n-400); margin-bottom: 10px; }
.upload strong { color: var(--n-900); display: block; font-size: .93rem; }
.upload span { font-size: .8rem; color: var(--n-500); }

.file-list { margin-top: 14px; display: grid; gap: 8px; }
.file-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 13px;
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-sm); font-size: .86rem;
}
.file-row .fr-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--n-900); font-weight: 550; }
.file-row .fr-x { color: var(--n-400); background: none; border: 0; padding: 2px 6px; font-size: 1.1rem; line-height: 1; }
.file-row .fr-x:hover { color: var(--err); }

/* Search bar */
.searchbar { display: flex; gap: 10px; flex-wrap: wrap; }
.searchbar .sb-in { flex: 1; min-width: 220px; position: relative; }
.searchbar .sb-in svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--n-400); width: 18px; height: 18px; pointer-events: none; }
.searchbar .sb-in input { padding-left: 44px; }

/* --------------------------------------------------------------------------
   11. Tabs / Accordion
   -------------------------------------------------------------------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--n-200); margin-bottom: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { height: 0; }
.tab {
  padding: 12px 18px; border: 0; background: none; font-size: .9rem; font-weight: 620;
  color: var(--n-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; transition: all .18s var(--ease);
}
.tab:hover { color: var(--n-900); }
.tab.on { color: var(--gold-dk); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fadeUp .32s var(--ease); }

.tabs-pill { display: inline-flex; gap: 4px; padding: 4px; background: var(--n-100); border-radius: var(--r); border: 0; margin-bottom: 24px; }
.tabs-pill .tab { padding: 8px 16px; border-radius: var(--r-sm); border: 0; margin: 0; }
.tabs-pill .tab.on { background: #fff; color: var(--n-900); box-shadow: var(--sh-1); }

.acc { border: 1px solid var(--n-200); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 12px; }
.acc-h {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: 0; text-align: left;
  font-size: .99rem; font-weight: 650; color: var(--n-900); transition: background .18s var(--ease);
}
.acc-h:hover { background: var(--n-50); }
.acc.open .acc-h { background: var(--gold-soft); }
.acc-h .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--n-100); display: grid; place-items: center; flex-shrink: 0; transition: all .22s var(--ease); }
.acc.open .acc-h .pm { background: var(--gold); color: #fff; transform: rotate(180deg); }
.acc-b { display: none; padding: 4px 22px 22px; color: var(--n-600); font-size: .93rem; }
.acc-b p:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   12. Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--n-200); border-radius: var(--r-lg); background: #fff; }
table.tbl { min-width: 640px; }
table.tbl th {
  text-align: left; padding: 13px 18px; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--n-500);
  background: var(--n-50); border-bottom: 1px solid var(--n-200); white-space: nowrap;
}
table.tbl td { padding: 15px 18px; border-bottom: 1px solid var(--n-100); font-size: .9rem; vertical-align: middle; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--n-50); }
table.tbl td .strong { color: var(--n-900); font-weight: 650; }
table.tbl.compact td { padding: 10px 14px; font-size: .86rem; }

/* Fee table variant */
.fee-tbl th:not(:first-child), .fee-tbl td:not(:first-child) { text-align: center; }
.fee-tbl tr.hl { background: var(--gold-soft); }

/* --------------------------------------------------------------------------
   13. Process / timeline / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; position: relative; }
.step { display: flex; gap: 22px; padding-bottom: 34px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 0; width: 2px; background: var(--n-200);
}
.step:last-child::before { display: none; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-lt); font-weight: 700; font-size: .95rem; z-index: 2;
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--n-200);
}
.step.done .step-n { background: var(--ok); color: #fff; }
.step.active .step-n { background: var(--gold); color: #2b2100; box-shadow: 0 0 0 4px rgba(201,162,39,.22); }
.step-body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step-body p { font-size: .91rem; color: var(--n-600); margin-bottom: 0; }
.step-body .st-meta { font-size: .78rem; color: var(--n-500); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Horizontal wizard progress */
.wiz-bar { display: flex; align-items: flex-start; gap: 0; margin-bottom: 36px; overflow-x: auto; padding-bottom: 6px; }
.wiz-step { flex: 1; min-width: 108px; text-align: center; position: relative; }
.wiz-step::before {
  content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--n-200); z-index: 1;
}
.wiz-step:first-child::before { display: none; }
.wiz-step.done::before, .wiz-step.on::before { background: var(--gold); }
.wiz-dot {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 9px; position: relative; z-index: 2;
  background: #fff; border: 2px solid var(--n-300); color: var(--n-400);
  display: grid; place-items: center; font-size: .85rem; font-weight: 700; transition: all .25s var(--ease);
}
.wiz-step.on .wiz-dot { border-color: var(--gold); background: var(--gold); color: #2b2100; box-shadow: 0 0 0 5px rgba(201,162,39,.18); }
.wiz-step.done .wiz-dot { border-color: var(--ok); background: var(--ok); color: #fff; }
.wiz-step .wl { font-size: .77rem; font-weight: 600; color: var(--n-500); line-height: 1.3; padding: 0 4px; }
.wiz-step.on .wl { color: var(--n-900); }

.wiz-panel { display: none; }
.wiz-panel.on { display: block; animation: fadeUp .3s var(--ease); }

/* Timeline */
.tl { position: relative; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--n-200); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--n-300);
}
.tl-item.ok::before { border-color: var(--ok); }
.tl-item.warn::before { border-color: var(--warn); }
.tl-item.gold::before { border-color: var(--gold); }
.tl-item h5 { margin-bottom: 3px; font-family: var(--f-body); font-size: .93rem; font-weight: 650; }
.tl-item .tl-t { font-size: .78rem; color: var(--n-500); }
.tl-item p { font-size: .87rem; margin: 6px 0 0; color: var(--n-600); }

/* --------------------------------------------------------------------------
   14. Modal / Toast / Loader
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(14,20,32,.6); backdrop-filter: blur(4px);
}
.modal.on { display: flex; animation: fadeIn .2s var(--ease); }
.modal-box {
  background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--sh-4); animation: popIn .28s var(--ease);
}
.modal-box.lg { max-width: 820px; }
.modal-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 0; }
.modal-hd h3 { margin-bottom: 4px; }
.modal-x { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--n-400); padding: 0 4px; }
.modal-x:hover { color: var(--n-900); }
.modal-bd { padding: 20px 26px; }
.modal-ft { padding: 0 26px 26px; display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 1100; display: grid; gap: 10px; max-width: 380px; }
.toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: #fff;
  border: 1px solid var(--n-200); border-left: 4px solid var(--gold); border-radius: var(--r);
  box-shadow: var(--sh-4); font-size: .88rem; animation: slideIn .3s var(--ease);
}
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--err); }
.toast.info { border-left-color: var(--info); }
.toast strong { display: block; color: var(--n-900); margin-bottom: 2px; }
.toast p { margin: 0; color: var(--n-600); font-size: .84rem; }

.spinner {
  width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite;
  display: inline-block;
}
.spinner-dark { border-color: var(--n-200); border-top-color: var(--gold); }
.spinner-lg { width: 42px; height: 42px; border-width: 4px; }

.skeleton { background: linear-gradient(90deg, var(--n-100) 25%, var(--n-200) 50%, var(--n-100) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. Misc components
   -------------------------------------------------------------------------- */
.alert {
  display: flex; gap: 13px; padding: 15px 18px; border-radius: var(--r);
  background: var(--info-bg); border: 1px solid rgba(23,92,211,.18); font-size: .89rem; color: var(--n-700);
}
.alert svg { flex-shrink: 0; color: var(--info); width: 20px; height: 20px; margin-top: 1px; }
.alert.ok { background: var(--ok-bg); border-color: rgba(18,128,92,.18); }
.alert.ok svg { color: var(--ok); }
.alert.warn { background: var(--warn-bg); border-color: rgba(181,71,8,.18); }
.alert.warn svg { color: var(--warn); }
.alert.err { background: var(--err-bg); border-color: rgba(180,35,24,.18); }
.alert.err svg { color: var(--err); }
.alert strong { color: var(--n-900); }

.prog { height: 8px; background: var(--n-200); border-radius: 999px; overflow: hidden; }
.prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lt), var(--gold)); border-radius: 999px; transition: width .6s var(--ease); }
.prog.ok span { background: linear-gradient(90deg, #34d399, var(--ok)); }
.prog.err span { background: linear-gradient(90deg, #f87171, var(--err)); }
.prog-sm { height: 5px; }

.kv { display: grid; gap: 0; }
.kv-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--n-100); font-size: .9rem; }
.kv-row:last-child { border-bottom: 0; }
.kv-row .k { color: var(--n-500); }
.kv-row .v { color: var(--n-900); font-weight: 620; text-align: right; }

.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--n-200);
  background: #fff; border-radius: var(--r-sm); font-size: .88rem; font-weight: 600; color: var(--n-600);
  transition: all .18s var(--ease);
}
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dk); }
.pager button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

.empty { text-align: center; padding: 64px 24px; }
.empty .e-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--n-100); color: var(--n-400); display: grid; place-items: center; margin: 0 auto 18px; }
.empty h4 { margin-bottom: 6px; }
.empty p { color: var(--n-500); font-size: .92rem; }

.divider-txt { display: flex; align-items: center; gap: 16px; color: var(--n-400); font-size: .82rem; margin: 24px 0; }
.divider-txt::before, .divider-txt::after { content: ""; flex: 1; height: 1px; background: var(--n-200); }

.ticker { background: var(--ink-2); color: rgba(255,255,255,.8); padding: 10px 0; overflow: hidden; white-space: nowrap; font-size: .84rem; }
.ticker-track { display: inline-flex; gap: 42px; animation: marquee 34s linear infinite; padding-left: 100%; }
.ticker-track b { color: var(--gold-lt); }
@keyframes marquee { to { transform: translateX(-100%); } }

.logo-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.logo-box {
  padding: 18px 26px; border: 1px solid var(--n-200); border-radius: var(--r);
  background: #fff; font-weight: 650; color: var(--n-500); font-size: .9rem;
  transition: all .2s var(--ease); text-align: center; min-width: 150px;
}
.logo-box:hover { border-color: var(--gold); color: var(--n-900); transform: translateY(-3px); box-shadow: var(--sh-2); }

.qr-box {
  width: 148px; height: 148px; border-radius: var(--r); background: #fff; border: 1px solid var(--n-200);
  display: grid; place-items: center; padding: 10px; flex-shrink: 0;
}
.qr-box canvas, .qr-box svg { width: 100%; height: 100%; }

.seal {
  width: 128px; height: 128px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 32% 28%, var(--gold-lt), var(--gold-dk));
  display: grid; place-items: center; text-align: center; color: #2b2100;
  font-family: var(--f-head); font-weight: 800; line-height: 1.1;
  box-shadow: 0 12px 28px -10px rgba(201,162,39,.7), inset 0 0 0 4px rgba(255,255,255,.35);
}
.seal .s1 { font-size: 1.5rem; letter-spacing: .02em; }
.seal .s2 { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--f-body); font-weight: 700; }

/* Certificate result */
.cert-result { border: 1px solid var(--n-200); border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh-3); }
.cert-band { padding: 22px 28px; display: flex; align-items: center; gap: 16px; color: #fff; }
.cert-band.valid { background: linear-gradient(120deg, #12805c, #0d6b4d); }
.cert-band.invalid { background: linear-gradient(120deg, #b42318, #98180f); }
.cert-band.expired { background: linear-gradient(120deg, #b54708, #93380a); }
.cert-band h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.cert-band p { color: rgba(255,255,255,.85); margin: 2px 0 0; font-size: .88rem; }
.cert-body { padding: 28px; }

/* --------------------------------------------------------------------------
   16. Dashboard shell (portal / admin / inspector)
   -------------------------------------------------------------------------- */
.dash { display: grid; grid-template-columns: 264px 1fr; min-height: calc(100vh - var(--hdr-h)); background: var(--n-50); }
.dash-side { background: var(--ink); padding: 24px 16px; position: sticky; top: var(--hdr-h); height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: rgba(255,255,255,.06); margin-bottom: 22px; }
.dash-user .du-av { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(140deg, var(--gold-lt), var(--gold-dk)); display: grid; place-items: center; color: #241b00; font-weight: 700; flex-shrink: 0; }
.dash-user .du-n { color: #fff; font-weight: 650; font-size: .9rem; line-height: 1.25; }
.dash-user .du-r { color: rgba(255,255,255,.5); font-size: .74rem; }

.dash-nav { display: grid; gap: 2px; }
.dash-nav .dn-title { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); padding: 16px 12px 6px; font-weight: 700; }
.dash-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-sm);
  color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 550;
}
.dash-nav a svg { width: 17px; height: 17px; opacity: .8; flex-shrink: 0; }
.dash-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.dash-nav a.on { background: rgba(201,162,39,.16); color: var(--gold-lt); }
.dash-nav a .n-badge { margin-left: auto; background: var(--gold); color: #241b00; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }

.dash-main { padding: 30px 32px 60px; min-width: 0; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h2 { margin-bottom: 4px; font-size: 1.7rem; }
.dash-head p { color: var(--n-500); font-size: .92rem; margin: 0; }

.dash-panel { display: none; }
.dash-panel.on { display: block; animation: fadeUp .3s var(--ease); }

.dash-toggle { display: none; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #faf7f0; color: #344054; padding: 64px 0 0; font-size: .89rem; border-top: 1.5px solid var(--n-300); }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.site-footer h5 { color: #0b1c3d; font-family: var(--f-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer a { color: #344054; font-weight: 550; }
.site-footer a:hover { color: var(--gold-dk); }
.ft-links { display: grid; gap: 9px; }
.ft-brand .brand-txt .bn { color: #0b1c3d; }
.ft-brand .brand-txt .bs { color: #667085; }
.ft-brand p { margin: 18px 0 0; font-size: .87rem; line-height: 1.7; max-width: 330px; color: #344054; }
.ft-social { display: flex; gap: 9px; margin-top: 20px; }
.ft-social a {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--n-300);
  display: grid; place-items: center; color: #0b1c3d; transition: all .2s var(--ease); background: #ffffff;
}
.ft-social a:hover { background: var(--gold-soft); border-color: var(--gold); color: #0b1c3d; }
.ft-contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; font-size: .87rem; color: #344054; }
.ft-contact li span, .ft-contact li a { color: #344054; }
.ft-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-dk); width: 16px; height: 16px; }
.ft-newsletter { margin-top: 18px; display: flex; }
.ft-newsletter input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--n-300); border-right: 0;
  border-radius: var(--r) 0 0 var(--r); background: #ffffff; color: #101828; font-size: .86rem;
}
.ft-newsletter input::placeholder { color: #667085; }
.ft-newsletter input:focus { outline: none; border-color: var(--gold); }
.ft-newsletter button { border-radius: 0 var(--r) var(--r) 0; padding: 11px 18px; }
.ft-bar {
  border-top: 1px solid var(--n-200); padding: 22px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: #475467;
}
.ft-bar a { color: #475467; }
.ft-bar-links { display: flex; gap: 22px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--gold-lt); border: 0; display: grid; place-items: center;
  box-shadow: var(--sh-3); z-index: 800; opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .28s var(--ease);
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #241b00; }

/* Floating helper (AI assistant + WhatsApp) */
.fab-stack { position: fixed; left: 22px; bottom: 22px; z-index: 800; display: grid; gap: 10px; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  box-shadow: var(--sh-3); transition: all .22s var(--ease); color: #fff;
}
.fab:hover { transform: scale(1.08); }
.fab-ai { background: linear-gradient(140deg, var(--gold-lt), var(--gold-dk)); color: #241b00; }
.fab-wa { background: #25d366; }

.chatbox {
  position: fixed; left: 22px; bottom: 88px; width: min(376px, calc(100vw - 44px)); z-index: 850;
  background: #fff; border: 1px solid var(--n-200); border-radius: var(--r-xl);
  box-shadow: var(--sh-4); overflow: hidden; display: none;
}
.chatbox.on { display: block; animation: popIn .26s var(--ease); }
.chat-hd { background: var(--ink); color: #fff; padding: 15px 18px; display: flex; align-items: center; gap: 11px; }
.chat-hd .ch-av { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(140deg, var(--gold-lt), var(--gold-dk)); display: grid; place-items: center; color: #241b00; font-weight: 700; font-size: .8rem; }
.chat-hd .ch-n { font-weight: 650; font-size: .9rem; }
.chat-hd .ch-s { font-size: .72rem; color: rgba(255,255,255,.55); }
.chat-hd button { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 1.3rem; line-height: 1; }
.chat-body { height: 320px; overflow-y: auto; padding: 18px; background: var(--n-50); display: grid; gap: 12px; align-content: start; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .86rem; line-height: 1.55; }
.msg.bot { background: #fff; border: 1px solid var(--n-200); border-bottom-left-radius: 4px; justify-self: start; }
.msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; background: var(--n-50); }
.chat-sugg button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--n-300); background: #fff; font-size: .76rem; color: var(--n-600); }
.chat-sugg button:hover { border-color: var(--gold); color: var(--gold-dk); }
.chat-in { display: flex; border-top: 1px solid var(--n-200); }
.chat-in input { flex: 1; border: 0; padding: 14px 16px; font-size: .88rem; }
.chat-in input:focus { outline: none; }
.chat-in button { border: 0; background: var(--gold); color: #241b00; padding: 0 18px; font-weight: 650; }

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .topbar, .to-top, .fab-stack, .chatbox, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
  .card, .cert-result { box-shadow: none; border: 1px solid #ccc; }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .ft-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .ft-top > div:nth-child(4) { display: none; }
}

@media (max-width: 1080px) {
  .nav, .hdr-actions .btn { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g-2-1, .g-1-2 { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side {
    position: fixed; top: 0; left: 0; bottom: 0; width: 272px; height: 100vh; z-index: 990;
    transform: translateX(-102%); transition: transform .3s var(--ease);
  }
  .dash-side.open { transform: none; }
  .dash-toggle { display: inline-flex; }
  .dash-main { padding: 24px 20px 60px; }
}

@media (max-width: 860px) {
  :root { --gut: 18px; }
  .section { padding: 60px 0; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 76px; }
  .hero-stats { gap: 26px; }
  .hero-stats .hs-n { font-size: 1.7rem; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ft-top > div:nth-child(4) { display: block; }
  .topbar-links a:not(.keep) { display: none; }
}

@media (max-width: 620px) {
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  h1 { font-size: 2rem; }
  .ft-top { grid-template-columns: 1fr; }
  .ev-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1; }
  .modal-box { border-radius: var(--r-lg); }
  .fab-stack { left: 14px; bottom: 14px; }
  .to-top { right: 14px; bottom: 14px; }
  .chatbox { left: 14px; bottom: 76px; }
  .hero-stats { gap: 20px 30px; }
  .card { padding: 20px; }
  .dash-main { padding: 20px 16px 50px; }
}
