/* ===== Bhumi Fincap — static site styles (no external fonts or libraries) ===== */
:root {
  --blue: #1b7fc4;
  --blue-dark: #135a8c;
  --navy: #12263f;
  --orange: #ee7d22;
  --purple: #5b2a86;
  --red: #b8322a;
  --ink: #1d2939;
  --muted: #5b6676;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(18, 38, 63, .08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
/* Grid/flex children may shrink below their content width (prevents sideways scrolling on phones). */
.hero-inner > *, .about-grid > *, .two-col > *, .enach-inner > *, .complaint-wrap > *, .contact-grid > *,
.card-grid > *, .product-grid > *, .board-grid > *, .reg-box > *, .footer-grid > *, .level > *, .form-row.two > * { min-width: 0; }
h1, h2, h3, h4, p, li, dd, a { overflow-wrap: anywhere; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.small { font-size: .88rem; color: var(--muted); }

/* ---- Top bar & header ---- */
.topbar { background: var(--navy); color: #cfd8e3; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 16px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.topbar a:first-child { margin-left: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand img { display: block; width: 180px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-alt); color: var(--blue); }
.site-nav .nav-cta { background: var(--blue); color: #fff; }
.site-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s; }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: background .15s, color .15s; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: #eaf3fb; color: var(--blue-dark); }

/* ---- Hero ---- */
.hero { background: linear-gradient(135deg, #0f3b66 0%, #1b7fc4 60%, #2a95d8 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(238,125,34,.35), transparent 65%); }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); }
.hero .lead { font-size: 1.15rem; color: #e3eef8; max-width: 620px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--orange); margin-bottom: .4em; }
.hero .eyebrow, .eyebrow.light { color: #ffd2a8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--blue-dark); }
.hero .btn-primary { background: var(--orange); }
.hero .btn-primary:hover { background: #d96b13; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 1.15rem; }
.quick-list { list-style: none; margin: 0; padding: 0; }
.quick-list li + li { border-top: 1px solid var(--line); }
.quick-list a { display: flex; justify-content: space-between; padding: 12px 2px; text-decoration: none; font-weight: 600; color: var(--navy); }
.quick-list a::after { content: "\2192"; color: var(--blue); }
.quick-list a:hover { color: var(--blue); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-intro { color: var(--muted); }
.sub-head { text-align: center; margin: 48px 0 24px; font-size: 1.4rem; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; font-size: 1.05rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 10px; text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--blue); }
.stat-label { font-size: .85rem; color: var(--muted); }

/* ---- Cards ---- */
.card-grid { display: grid; gap: 18px; }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h4 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.icon-blue { background: var(--blue); }
.icon-orange { background: var(--orange); }
.icon-purple { background: var(--purple); }
.icon-red { background: var(--red); }

/* ---- Products ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.p-icon { font-size: 1.6rem; width: 50px; height: 50px; border-radius: 12px; background: #eaf3fb; display: grid; place-items: center; flex-shrink: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #e3f4ea; color: #1a7f37; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }

/* ---- Board ---- */
.board-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.person { text-align: center; padding: 24px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.person h4 { font-size: 1rem; margin-top: 12px; }
.person p { color: var(--muted); margin: 0; font-size: .9rem; }
.avatar { width: 78px; height: 78px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; }
.a1 { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.a2 { background: linear-gradient(135deg, var(--orange), #c95f10); }
.a3 { background: linear-gradient(135deg, var(--purple), #3d1a5c); }
.a4 { background: linear-gradient(135deg, var(--red), #7f1e18); }

/* ---- eNACH ---- */
.section-brand { background: linear-gradient(135deg, var(--navy), #1b4f80); color: #e7eef6; }
.section-brand h2, .section-brand h3 { color: #fff; }
.enach-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.steps { padding-left: 20px; margin: 0 0 24px; }
.steps li { margin-bottom: 8px; }
.enach-note { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px; }
.enach-note a { color: #ffd2a8; }
.enach-note .small { color: #c7d3e0; }

/* ---- Complaints ---- */
.policy-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px; }
.policy-box h3 { font-size: 1.1rem; }
.policy-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 0; }
.policy-dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.policy-dl dd { margin: 0; font-weight: 600; }
.levels { list-style: none; padding: 0; margin: 0 0 48px; position: relative; }
.levels::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.level { display: grid; grid-template-columns: 44px 1fr; gap: 20px; margin-bottom: 22px; position: relative; }
.level > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.level h3 { font-size: 1.1rem; }
.level-no { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; }
.level-rbi .level-no { background: var(--orange); }
.level-rbi > div { border-color: #f6c79f; background: #fffaf5; }
.timeline { background: #eef6fd; border-radius: 8px; padding: 8px 12px; font-size: .93rem; margin: 0; }
.contact-line { margin-bottom: 12px; }
.inline-list { margin: 0 0 12px; padding-left: 20px; }
.rbi-list { padding-left: 20px; margin: 0 0 16px; }

.complaint-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; background: var(--bg-alt); border-radius: var(--radius); padding: 32px; }
.form .form-row { margin-bottom: 14px; }
.form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd6df; border-radius: 9px; font: inherit; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-error { background: #fdecea; color: #8a1c13; padding: 10px 12px; border-radius: 8px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-dl { margin: 0; }
.contact-dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); font-weight: 700; margin-top: 14px; }
.contact-dl dd { margin: 4px 0 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.esc-level { display: inline-block; background: #eaf3fb; color: var(--blue-dark); font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.esc-rbi { border-color: #f6c79f; background: #fffaf5; }
.esc-rbi .esc-level { background: #fde6d2; color: #a14c0b; }
.reg-box { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 32px; background: var(--navy); color: #fff; padding: 24px; border-radius: var(--radius); }
.reg-box span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb3c8; }
.reg-box strong { font-size: .95rem; word-break: break-word; }
.reg-box a { color: #fff; }
.careers { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; background: #fff; border: 1px dashed #b7c6d6; border-radius: var(--radius); padding: 24px 28px; }
.careers h3 { margin-bottom: .2em; }
.careers p { margin: 0; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: #0c1b2e; color: #b6c3d1; padding-top: 56px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dbe6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.disclaimer { border-top: 1px solid #22344b; margin-top: 40px; padding-top: 20px; padding-bottom: 28px; font-size: .8rem; color: #8597aa; }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .card-grid.five { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .reg-box { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero-inner, .about-grid, .two-col, .enach-inner, .complaint-wrap, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .policy-dl { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; }
  .card-grid.five, .board-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .reg-box { grid-template-columns: 1fr 1fr; }
  .form .form-row.two { grid-template-columns: 1fr; }
  .complaint-wrap { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .brand img { width: 150px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
