/* Public bank website + internet-banking (customer) layout. Tokens come from styles.css. */
.serif { font-family: "Source Serif 4", Georgia, serif; }
.wrap-w { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--gold-600); }
.btn.outline-gold { background: transparent; border-color: var(--gold); color: var(--gold-600); }
.btn.outline-gold:hover { background: var(--gold-soft); }
.btn.white { background: #fff; color: var(--navy-900); }
.btn.white:hover { background: #eef2f8; }
.btn.ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost-white:hover { background: rgba(255,255,255,.1); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; font-size: 21px; white-space: nowrap; }
.logo .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--primary); display: grid; place-items: center; position: relative; overflow: hidden; }
.logo .mark::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); right: -7px; bottom: -7px; }
.logo .mark svg { color: #fff; width: 18px; height: 18px; position: relative; z-index: 1; }
.logo small { display: block; font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-top: -2px; }
.logo.light { color: #fff; }
.logo.light .mark { background: rgba(255,255,255,.14); }
.logo.light small { color: rgba(255,255,255,.65); }

/* ---------------- Public header ---------------- */
.bk-util { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: 13px; }
.bk-util .wrap-w { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.bk-util a { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.bk-util a:hover { color: #fff; }
.bk-util svg { width: 14px; height: 14px; }
.bk-util .segs { display: flex; height: 100%; }
.bk-util .segs a { padding: 0 14px; height: 100%; border-bottom: 2px solid transparent; }
.bk-util .segs a.on { color: #fff; border-color: var(--gold); background: rgba(255,255,255,.06); }
.bk-util .tools { display: flex; gap: 20px; }

.bk-head { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.bk-head .wrap-w { display: flex; align-items: center; gap: 28px; height: 74px; }
.bk-nav { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.bk-item { position: relative; display: flex; }
.bk-item > button, .bk-item > a { background: none; border: 0; font: inherit; font-weight: 600; color: var(--text); padding: 0 14px; cursor: pointer; display: flex; align-items: center; gap: 4px; border-bottom: 3px solid transparent; }
.bk-item > button svg { width: 14px; height: 14px; transition: transform .2s; }
.bk-item:hover > button, .bk-item.open > button { color: var(--primary); border-color: var(--gold); }
.bk-item:hover > button svg { transform: rotate(180deg); }
.bk-mega {
  position: absolute; top: 100%; left: -20px; width: 640px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  box-shadow: 0 24px 48px rgba(6, 24, 51, .16); border-radius: 0 0 12px 12px; padding: 22px; display: none; grid-template-columns: 1fr 1fr 220px; gap: 8px 20px;
}
.bk-item:hover .bk-mega, .bk-item.open .bk-mega { display: grid; }
.bk-mega a.m { display: flex; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text); }
.bk-mega a.m:hover { background: var(--surface-2); }
.bk-mega a.m .i { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.bk-mega a.m strong { display: block; font-size: 14px; }
.bk-mega a.m span { color: var(--muted); font-size: 12.5px; }
.bk-mega .promo { grid-row: span 3; background: var(--hero); color: #fff; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.bk-mega .promo h4 { font-family: "Source Serif 4", Georgia, serif; font-size: 19px; }
.bk-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.bk-burger { display: none; }

@media (max-width: 1100px) {
  .bk-util .tools .hide-md { display: none; }
  .bk-burger { display: grid; }
  .bk-nav { display: none; position: fixed; inset: 112px 0 0 0; background: var(--surface); flex-direction: column; height: auto; overflow-y: auto; padding: 8px 16px 40px; z-index: 60; }
  .bk-nav.open { display: flex; }
  .bk-item { flex-direction: column; }
  .bk-item > button, .bk-item > a { padding: 16px 4px; border-bottom: 1px solid var(--border); justify-content: space-between; width: 100%; }
  .bk-item:hover .bk-mega { display: none; }
  .bk-item.open .bk-mega { display: grid; position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 8px 0; }
  .bk-mega .promo { display: none; }
}
@media (max-width: 640px) {
  .bk-util .segs a:nth-child(n+3) { display: none; }
  .bk-actions .btn.outline-gold { display: none; }
  .bk-head .wrap-w { gap: 12px; }
  .wrap-w { padding: 0 16px; }
}

/* ---------------- Hero carousel ---------------- */
.bk-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.bk-slides { position: relative; min-height: 520px; }
.bk-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; display: flex; align-items: center; }
.bk-slide.on { opacity: 1; pointer-events: auto; position: relative; }
.bk-slide .bg { position: absolute; inset: 0; }
.bk-slide .bg::before, .bk-slide .bg::after { content: ""; position: absolute; border-radius: 50%; }
.bk-slide .bg::before { width: 720px; height: 720px; right: -160px; top: -240px; background: radial-gradient(circle, rgba(201,154,46,.28), transparent 65%); }
.bk-slide .bg::after { width: 520px; height: 520px; left: -200px; bottom: -300px; background: radial-gradient(circle, rgba(91,143,224,.25), transparent 65%); }
.bk-slide .inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; width: 100%; padding-top: 50px; padding-bottom: 150px; }
.bk-slide h1 { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; line-height: 1.08; margin: 14px 0 16px; }
.bk-slide h1 em { font-style: normal; color: var(--gold); }
.bk-slide p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 520px; margin: 0 0 28px; }
.bk-slide .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bk-slide .btns .btn { padding: 13px 22px; }
.bk-visual { position: relative; height: 380px; }
.bk-ctrl { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 3; }
.bk-ctrl .wrap-w { display: flex; align-items: center; gap: 14px; }
.bk-dots { display: flex; gap: 8px; }
.bk-dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: .3s; }
.bk-dots button.on { background: var(--gold); width: 46px; }
.bk-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.bk-arrow:hover { background: rgba(255,255,255,.1); }
@media (max-width: 900px) {
  .bk-slide .inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 120px; }
  .bk-visual { display: none; }
  .bk-slides { min-height: 460px; }
}

/* Illustrations built from CSS (no external images) */
.ill-card { position: absolute; width: 300px; aspect-ratio: 1.586; border-radius: 18px; padding: 20px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.ill-card.navy { background: linear-gradient(135deg, #0d3a80, #061833); border: 1px solid rgba(255,255,255,.12); }
.ill-card.gold { background: linear-gradient(135deg, #e3bd62, #a87b16); }
.ill-card .num { font-size: 17px; letter-spacing: .14em; font-weight: 600; }
.ill-phone { position: absolute; width: 230px; height: 440px; border-radius: 36px; background: #0b1424; border: 8px solid #1d2a40; box-shadow: 0 40px 80px rgba(0,0,0,.45); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.ill-phone .scr-top { background: var(--hero); border-radius: 16px; padding: 14px; }
.ill-phone .scr-top small { opacity: .7; font-size: 11px; }
.ill-phone .scr-top div { font-size: 22px; font-weight: 700; }
.ill-phone .scr-row { display: flex; align-items: center; gap: 10px; background: #13213a; border-radius: 12px; padding: 10px; font-size: 12px; }
.ill-phone .scr-row i { width: 28px; height: 28px; border-radius: 8px; background: rgba(201,154,46,.2); display: grid; place-items: center; color: var(--gold); }
.ill-phone .scr-row b { margin-left: auto; }
.ill-chip { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.25); font-size: 13px; }
.ill-chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.ill-house { position: absolute; inset: 20px 30px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; }
.ill-house svg { width: 150px; height: 150px; color: var(--gold); stroke-width: 1.2; }

/* Quick access tiles overlapping the hero */
.bk-quick { position: relative; z-index: 5; margin-top: -54px; }
.bk-quick .grid { background: var(--surface); border-radius: 14px; box-shadow: 0 20px 50px rgba(6,24,51,.14); display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid var(--border); }
.bk-quick a { display: flex; align-items: center; gap: 12px; padding: 22px 20px; color: var(--text); border-right: 1px solid var(--border); font-weight: 600; transition: background .15s; }
.bk-quick a:last-child { border-right: 0; }
.bk-quick a:hover { background: var(--surface-2); }
.bk-quick .qi { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-600); display: grid; place-items: center; flex-shrink: 0; }
.bk-quick small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
@media (max-width: 1000px) { .bk-quick .grid { grid-template-columns: repeat(2, 1fr); } .bk-quick a { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .bk-quick .grid { grid-template-columns: 1fr; } .bk-quick a { border-right: 0; } }

/* Sections */
.bk-sec { padding: 84px 0; }
.bk-sec.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bk-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.bk-sec-head h2 { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(28px, 3.2vw, 40px); margin-top: 8px; }
.bk-sec-head p { color: var(--muted); max-width: 520px; margin: 10px 0 0; }
.seg-tabs { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.seg-tabs button { border: 0; background: none; font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.seg-tabs button.on { background: var(--primary); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.prod { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.prod:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6,24,51,.12); }
.prod .art { height: 150px; position: relative; display: grid; place-items: center; overflow: hidden; }
.prod .art::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); right: -50px; top: -60px; }
.prod .art svg { width: 54px; height: 54px; color: #fff; stroke-width: 1.5; position: relative; z-index: 1; }
.art.a1 { background: linear-gradient(135deg, #0b3270, #1d5bb5); }
.art.a2 { background: linear-gradient(135deg, #a87b16, #e3bd62); }
.art.a3 { background: linear-gradient(135deg, #0b5f4b, #13a37a); }
.art.a4 { background: linear-gradient(135deg, #061833, #23406f); }
.prod .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod h3 { font-size: 18px; }
.prod p { color: var(--muted); margin: 0 0 6px; flex: 1; }
.prod .tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

.rates { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.rates .tbl td, .rates .tbl th { padding: 14px 18px; }
.rate-big { font-family: "Source Serif 4", Georgia, serif; font-size: 64px; font-weight: 700; color: var(--primary); line-height: 1; }
@media (max-width: 900px) { .rates { grid-template-columns: 1fr; } }

.bk-digital { background: var(--hero); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.bk-digital h2 { font-family: "Source Serif 4", Georgia, serif; font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 14px; }
.bk-digital ul { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-digital li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.88); }
.bk-digital li svg { color: var(--gold); }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 16px; }
.store small { display: block; font-size: 10px; opacity: .75; }
.store strong { font-size: 15px; }
@media (max-width: 900px) { .bk-digital { grid-template-columns: 1fr; padding: 32px 24px; } .bk-digital .bk-visual { display: none; } .bk-digital ul { grid-template-columns: 1fr; } }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.why > div { padding: 30px 26px; border-right: 1px solid var(--border); }
.why > div:last-child { border-right: 0; }
.why .n { font-family: "Source Serif 4", Georgia, serif; font-size: 40px; font-weight: 700; color: var(--primary); }
.why .ico { color: var(--gold); margin-bottom: 10px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } .why > div { border-bottom: 1px solid var(--border); } }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news article { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.news .art { height: 160px; display: grid; place-items: center; }
.news .art svg { width: 46px; height: 46px; color: rgba(255,255,255,.9); stroke-width: 1.5; }
.news .body { padding: 20px; }
.news h3 { font-size: 17px; margin: 8px 0 10px; line-height: 1.35; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }

.help-strip { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-radius: 14px; padding: 26px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.help-strip .c { display: flex; align-items: center; gap: 12px; }
.help-strip .c .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--gold-600); display: grid; place-items: center; }

.bk-foot { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: 64px; margin-top: 84px; }
.bk-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.bk-foot h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.bk-foot a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; font-size: 14px; }
.bk-foot a:hover { color: var(--gold); }
.bk-foot .social { display: flex; gap: 10px; margin-top: 18px; }
.bk-foot .social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; padding: 0; }
.bk-foot .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 22px 0 28px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bk-foot .legal p { margin: 0; max-width: 760px; }
@media (max-width: 900px) { .bk-foot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------------- Internet banking login ---------------- */
.ib-auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.ib-auth-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.ib-auth-head .wrap-w { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.ib-auth-main { flex: 1; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 48px; padding-bottom: 48px; }
.ib-auth-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 12px; padding: 32px; box-shadow: var(--shadow); }
.ib-auth-card h1 { font-family: "Source Serif 4", Georgia, serif; font-size: 28px; }
.ib-secure { background: var(--hero); color: #fff; border-radius: 14px; padding: 34px; position: relative; overflow: hidden; }
.ib-secure::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -120px; bottom: -140px; background: radial-gradient(circle, rgba(201,154,46,.3), transparent 65%); }
.ib-secure h2 { font-family: "Source Serif 4", Georgia, serif; font-size: 26px; margin: 8px 0 18px; }
.ib-secure ol { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.ib-secure li { display: flex; gap: 12px; color: rgba(255,255,255,.88); }
.ib-secure li svg { color: var(--gold); margin-top: 2px; }
.ib-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.ib-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ib-trust svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 900px) { .ib-auth-main { grid-template-columns: 1fr; padding-top: 24px; } }

/* ---------------- Internet banking (customer) shell ---------------- */
.ib-shell { min-height: 100vh; display: flex; flex-direction: column; }
.ib-top { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(6,24,51,.18); }
:root[data-theme="dark"] .ib-top { background: #0d1d36; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ib-top { background: #0d1d36; } }
.ib-top .wrap-w { display: flex; align-items: center; gap: 22px; height: 66px; }
.ib-nav { display: flex; height: 100%; }
.ib-nav > .ib-ni { position: relative; display: flex; }
.ib-nav > .ib-ni > a, .ib-nav > .ib-ni > button { color: rgba(255,255,255,.82); background: none; border: 0; font: inherit; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; padding: 0 14px; cursor: pointer; border-bottom: 3px solid transparent; }
.ib-nav > .ib-ni > * svg { width: 16px; height: 16px; }
.ib-nav > .ib-ni > a, .ib-nav > .ib-ni > button { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 1051px) { .ib-nav > .ib-ni > * > svg:first-child { display: none; } .ib-nav > .ib-ni > a, .ib-nav > .ib-ni > button { padding: 0 11px; } }
.ib-nav > .ib-ni:hover > *, .ib-nav > .ib-ni.active > * { color: #fff; border-color: var(--gold); }
.ib-drop { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px rgba(6,24,51,.18); padding: 8px; display: none; }
.ib-ni:hover .ib-drop, .ib-ni.open .ib-drop { display: block; }
.ib-drop a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 500; }
.ib-drop a:hover, .ib-drop a.active { background: var(--primary-soft); color: var(--primary); }
.ib-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.ib-tools .top-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.ib-tools .top-btn .dot { background: var(--gold); }
.ib-logout { color: #fff; border: 1px solid rgba(255,255,255,.3); background: transparent; }
.ib-logout:hover { background: rgba(255,255,255,.1); }
.ib-sub { background: var(--surface); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.ib-sub .wrap-w { display: flex; align-items: center; gap: 18px; height: 44px; flex-wrap: wrap; }
.ib-sub strong { color: var(--text); }
.ib-sub .sep { width: 1px; height: 16px; background: var(--border); }
.ib-sub svg { width: 14px; height: 14px; }
.ib-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 24px; }
.ib-menu-btn { display: none; }
@media (max-width: 1050px) {
  .ib-menu-btn { display: grid; }
  .ib-nav { display: none; position: fixed; inset: 66px 0 0 0; background: var(--surface); flex-direction: column; height: auto; padding: 10px 16px 40px; overflow-y: auto; }
  .ib-nav.open { display: flex; }
  .ib-nav > .ib-ni { flex-direction: column; }
  .ib-nav > .ib-ni > a, .ib-nav > .ib-ni > button { color: var(--text); padding: 15px 4px; border-bottom: 1px solid var(--border); width: 100%; }
  .ib-nav > .ib-ni:hover > *, .ib-nav > .ib-ni.active > * { color: var(--primary); border-color: var(--border); }
  .ib-ni:hover .ib-drop { display: none; }
  .ib-ni.open .ib-drop { display: block; position: static; box-shadow: none; border: 0; }
  .ib-sub .hide-sm2 { display: none; }
}
@media (max-width: 640px) { .ib-main { padding: 18px 16px; } .ib-top .wrap-w { gap: 10px; } .ib-tools .ib-logout span { display: none; } }

/* Customer dashboard */
.ib-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .ib-grid { grid-template-columns: 1fr; } }
.acct-hero { background: var(--hero); color: #fff; border-radius: 14px; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; position: relative; overflow: hidden; }
.acct-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(201,154,46,.3), transparent 65%); }
.acct-hero > * { position: relative; z-index: 1; }
.acct-hero .lbl { color: rgba(255,255,255,.7); font-size: 13px; }
.acct-hero .amt { font-size: 38px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 12px; }
.acct-hero .meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.82); }
.acct-hero .meta b { color: #fff; }
.acct-hero .side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; justify-content: space-between; }
@media (max-width: 640px) { .acct-hero { grid-template-columns: 1fr; padding: 22px; } .acct-hero .side { align-items: flex-start; flex-direction: row; } .acct-hero .amt { font-size: 30px; } }
.ib-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ib-tiles a { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 13px; text-align: center; transition: .15s; }
.ib-tiles a:hover { border-color: var(--gold); box-shadow: 0 8px 20px rgba(6,24,51,.08); transform: translateY(-2px); }
.ib-tiles .ti { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
@media (max-width: 760px) { .ib-tiles { grid-template-columns: repeat(3, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.panel-head h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.panel-head h3 svg { color: var(--gold); }
.promo-gold { background: linear-gradient(135deg, #a87b16, #e3bd62); color: #fff; border-radius: 12px; padding: 22px; position: relative; overflow: hidden; }
.promo-gold::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.14); right: -40px; bottom: -60px; }
.promo-gold h3 { font-family: "Source Serif 4", Georgia, serif; font-size: 20px; margin: 6px 0 8px; }
.steps { display: flex; gap: 0; margin-bottom: 18px; }
.steps span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--border); }
.steps span.on { color: var(--primary); border-color: var(--gold); }
.review-total { background: var(--primary-soft); border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; font-weight: 700; margin: 14px 0; }
