/* ════════════════════════════
   BRANCHES PAGE
   ════════════════════════════ */

/* ── HERO ── */
.br-hero {
  position: relative;
  margin-top: 64px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0 24px;
}
.br-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,29,58,0.82) 0%, rgba(26,46,90,0.72) 100%),
    url('../bg_homepage.png') center/cover no-repeat;
  z-index: 0;
}
.br-hero-content {
  position: relative;
  z-index: 1;
}
.br-hero-pill {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}
.br-hero-content h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.br-hero-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ── BRANCH LIST ── */
.br-list-section {
  background: #f8faff;
  padding: 72px 0 88px;
}
.br-list-head {
  text-align: center;
  margin-bottom: 48px;
}
.br-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 800px;
  align-items: stretch;
  margin: 0 auto;
}
.br-card {
  background: #fff;
  border: 1.5px solid #eaecf5;
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(26,46,90,0.05), 0 1px 3px rgba(26,46,90,0.04);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.br-card:hover {
  box-shadow: 0 10px 32px rgba(26,46,90,0.12);
  transform: translateY(-4px);
  border-color: #c8d4f0;
}
.br-card-top {
  background: linear-gradient(135deg, #1a2e5a, #253f7a);
  padding: 24px 28px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.br-card-badge {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.br-card h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.br-card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.br-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.br-card-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.br-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 20px;
  text-align: center;
}
.br-card-detail span,
.br-card-detail a {
  font-size: 13.5px;
  color: #4a5a7a;
  text-decoration: none;
  line-height: 1.5;
}
.br-card-detail a:hover { color: #1a2e5a; }
.br-card-footer {
  padding: 16px 28px;
  border-top: 1px solid #f0f2f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #1a2e5a;
}
.br-card-footer svg {
  width: 16px; height: 16px;
  color: #1a2e5a;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .br-hero-content h1 { font-size: 2rem; }
  .br-grid { grid-template-columns: 1fr; }
}
