:root{
  --bg:#f3f5f8;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --blue:#0b4ea2;
  --soft:#cfeefe;
  --radius:22px;
  --shadow:0 14px 40px rgba(16,24,40,.12);
  --shadow2:0 10px 28px rgba(16,24,40,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

.site-header,
.site-footer{
  width:100%;
}

/* Page container */
.bb-page{
  width:min(1100px, 92vw);
  margin:0 auto;
  padding:18px 0 40px;
}

/* Reveal (fade in on scroll) */
.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Buttons */
.btn{
  display:inline-block;
  text-decoration:none;
  font-weight:600;
  border-radius:14px;
  padding:12px 18px;
  font-size:15px;
  transition:transform .12s ease, filter .12s ease;
}
.btn:active{transform:scale(.98)}
.btn-soft{
  background:var(--soft);
  color:#1664a6;
}

/* HERO */
.hero{margin-top:6px}
.hero-slider{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  background:#dbeafe;
  box-shadow:var(--shadow2);
}
.hero-track{
  display:flex;
  width:100%;
  transform:translateX(0);
  transition:transform .55s ease;
}
.hero-slide{
  min-width:100%;
  height:440px;
  background-size:cover;
  background-position:center;
  background-color:#dbeafe;
}
.hero-overlay-card{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  background:rgba(255,255,255,.96);
  border-radius:24px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}
.breadcrumb{
  font-size:14px;
  color:var(--muted);
  margin-bottom:6px;
}
.breadcrumb span{color:#1f6fb2;font-weight:600}
.hero-title{
  font-size:36px;
  margin:0 0 10px;
  letter-spacing:-.02em;
}
.hero-divider{
  height:2px;
  width:54px;
  background:#111827;
  opacity:.35;
  border-radius:999px;
  margin:0 0 12px;
}
.hero-subtitle{
  margin:0;
  color:#111827;
  opacity:.85;
  font-size:16px;
}

/* Dots */
.hero-dots{
  position:absolute;
  left:0;
  right:0;
  top:14px;
  display:flex;
  justify-content:center;
  gap:8px;
  pointer-events:auto;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.6);
  box-shadow:0 2px 10px rgba(0,0,0,.15);
  cursor:pointer;
}
.hero-dot.is-active{
  width:26px;
  background:rgba(255,255,255,.95);
}

/* SERVICES */
.services{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(1,1fr);
  gap:14px;
}
.service-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow2);
}
.service-icon{
  width:62px;height:62px;
  border-radius:999px;
  display:grid;place-items:center;
  margin-bottom:14px;
  background:#f1f5f9;
}
.service-icon svg{width:28px;height:28px;fill:#0b4ea2}
.service-icon--gold{
  background:radial-gradient(circle at 30% 30%, #ffe9a3, #f2c94c);
}
.service-card h3{
  margin:0 0 6px;
  font-size:26px;
}
.service-card p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.35;
}

/* BANNER */
.banner{
  margin-top:22px;
}
.banner-h{
  font-size:44px;
  margin:0 0 14px;
  letter-spacing:-.03em;
}
.banner-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.banner-card-inner{
  padding:18px;
}
.banner-card-inner h3{
  margin:0 0 12px;
  font-size:22px;
  line-height:1.25;
}
.banner-image{
  margin-top:14px;
  border-radius:18px;
  min-height:260px;
}

/* Two cards grid */
.grid-two{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.image-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.image-card-head{
  padding:16px 16px 0;
}
.image-card-head h3{
  margin:0 0 10px;
  font-size:22px;
}
.image-card-img{
  margin:14px 16px 16px;
  border-radius:18px;
  min-height:270px;
}

/* Bakong */
.bakong{
  margin-top:18px;
  background:transparent;
}
.bakong h2{
  margin:0 0 12px;
  font-size:30px;
  letter-spacing:-.02em;
}
.bakong-phone{
  margin-top:14px;
  border-radius:22px;
  min-height:310px;
  background:var(--card);
  box-shadow:var(--shadow2);
}

/* Benefits */
.benefits{margin-top:22px}
.benefits h2{
  font-size:44px;
  margin:0 0 14px;
  letter-spacing:-.03em;
}
.benefit-card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:16px;
}
.benefit-icon{
  width:52px;height:52px;
  border-radius:999px;
  background:#11182710;
  display:grid;place-items:center;
  margin-bottom:12px;
}
.benefit-icon svg{width:26px;height:26px;fill:#111827}
.benefit-card h3{
  margin:0 0 12px;
  font-size:26px;
  line-height:1.2;
}
.benefit-img{
  margin-top:14px;
  border-radius:22px;
  min-height:280px;
}

/* Grow */
.grow{
  margin-top:18px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.grow-img{
  min-height:280px;
}
.grow-text{
  padding:16px;
}
.grow-text h2{
  margin:0 0 8px;
  font-size:34px;
}
.grow-text p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.35;
}
.metrics{
  margin-top:14px;
  display:grid;
  gap:12px;
}
.metric-label{
  color:#1f6fb2;
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
}
.metric-value{
  font-weight:800;
  font-size:34px;
  letter-spacing:-.02em;
}

/* Support */
.support{margin-top:18px}
.support-card{
  background:linear-gradient(180deg, #e6f4ff 0%, #0b74c2 100%);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:16px;
  color:#0b1b2d;
}
.support-card h3{
  margin:0 0 8px;
  font-size:26px;
}
.support-card p{
  margin:0 0 12px;
  color:#0b1b2dcc;
}
.support-phone{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0 12px;
  font-weight:800;
}
.support-phone a{color:#0b4ea2;text-decoration:none}
.support-img{
  margin-top:14px;
  border-radius:22px;
  min-height:280px;
  background:rgba(255,255,255,.85);
}

/* Download */
.download{
  margin-top:18px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:16px;
}
.download h2{
  margin:0 0 6px;
  font-size:28px;
}
.download p{
  margin:0 0 14px;
  color:var(--muted);
}
.download-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.download-qr{
  width:160px;
  height:160px;
  border-radius:18px;
}
.download-badges{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:180px;
  padding:12px 14px;
  border-radius:14px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

/* Menu grid bottom */
.menu-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.menu-card{
  background:var(--card);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:16px;
  min-height:140px;
  position:relative;
}
.menu-ic{
  width:56px;height:56px;
  border-radius:999px;
  background:#0b4ea210;
  display:grid;place-items:center;
  font-size:22px;
  margin-bottom:10px;
}
.menu-title{
  font-size:22px;
  font-weight:900;
  line-height:1.05;
}
.menu-arrow{
  position:absolute;
  right:16px;
  bottom:16px;
  color:#0b4ea2;
  font-weight:900;
  font-size:22px;
}

/* Placeholder images */
.placeholder-image{
  background:
    linear-gradient(135deg, rgba(11,78,162,.10), rgba(207,238,254,.55));
  display:grid;
  place-items:center;
  position:relative;
  border:2px dashed rgba(11,78,162,.25);
}
.placeholder-name{
  font-weight:800;
  color:#0b4ea2;
  background:rgba(255,255,255,.75);
  padding:10px 12px;
  border-radius:14px;
}

/* Responsive */
@media (min-width: 900px){
  .services{grid-template-columns:repeat(3,1fr)}
  .grid-two{grid-template-columns:repeat(2,1fr)}
  .grow{
    display:grid;
    grid-template-columns:1.1fr .9fr;
  }
  .grow-img{min-height:100%}
}

/* =========================================================
   HEADER + FOOTER PATCH (to match Personal Banking structure)
   Add this to business-banking.css (keep files separate)
========================================================= */

/* Use same container pattern as personal page */
.page { min-height: 100vh; }
.main { padding: 18px 0 40px; }

/* If you already have .bb-page, keep it, but your new HTML uses .container */
.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header layout (matches your personal header HTML structure) */
.site-header{
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16,24,40,.08);
}
.site-header .bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand{
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 14px;
}
.brand small{
  font-weight: 700;
  opacity: .8;
}

/* Right side controls */
.header-right{
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang{
  display: inline-flex;
  gap: 6px;
  background: #1118270a;
  padding: 6px;
  border-radius: 999px;
}
.lang button{
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: #111827;
}
.lang button.is-active{
  background: #111827;
  color: #ffffff;
}
.menu-btn{
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #1118270a;
  font-size: 18px;
  cursor: pointer;
}

/* Footer (your personal footer uses .footer, not .site-footer) */
.footer{
  margin-top: 24px;
  background: var(--blue);
  color: #ffffff;
}
.footer .inner{
  padding: 22px 0 18px;
}
.footer-acc{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.acc-item{
  background: rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
}
.acc-btn{
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 900;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.acc-panel{
  padding: 0 14px 14px;
  opacity: .9;
  font-size: 14px;
}

.footer-info{
  display: grid;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.footer-h{
  font-weight: 900;
  margin-bottom: 8px;
}
.footer-p{
  opacity: .9;
  line-height: 1.45;
}
.social{
  display: flex;
  gap: 10px;
}
.social a{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.footer-brand{
  margin-top: 18px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .06em;
  opacity: .95;
}

/* Responsive footer columns */
@media (min-width: 900px){
  .footer-info{
    grid-template-columns: repeat(4, 1fr);
  }
}
