/* Branch landing pages (/ehtiyat-hisseleri-{branch}) */
.branch-banner {
  position: relative;
  background: var(--gray-600) url(../images/cta.webp) center / cover no-repeat;
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
  overflow: hidden;
}
.branch-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 34, 38, 0.82);
}
.branch-banner .container { position: relative; }
.branch-banner__eyebrow {
  display: inline-block;
  font-size: var(--fs-b2);
  font-weight: var(--fw-semi-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow-500);
  margin-bottom: 8px;
}
.branch-banner__name {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.branch-banner__name::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow-500);
  margin: 14px auto 0;
}
.branch-banner__title {
  font-size: var(--fs-b4);
  line-height: 1.4;
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 760px;
}
.section--branch { padding: 48px 0 40px; }
.branch-block-title {
  font-size: var(--fs-b6);
  line-height: 1.3;
  font-weight: var(--fw-semi-bold);
  text-align: center;
  margin: 0 0 24px;
}
.branch-depts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.branch-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 20px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--br-20);
  text-align: center;
  color: var(--gray-500);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.branch-dept:hover {
  border-color: var(--yellow-500);
  box-shadow: 0 10px 24px rgba(46, 52, 57, 0.08);
  transform: translateY(-2px);
}
.branch-dept__logos { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; }
.branch-dept__logos img { width: 44px; height: 44px; object-fit: contain; }
.branch-dept__label { font-size: var(--fs-b3); font-weight: var(--fw-semi-bold); }
.branch-dept__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--yellow-500);
  color: var(--gray-600);
  font-size: var(--fs-b3);
  font-weight: 700;
  white-space: nowrap;
}
.branch-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.branch-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  background: var(--gray-200);
  border-radius: var(--br-20);
  text-align: center;
}
.branch-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-600);
  color: var(--yellow-500);
  margin-bottom: 4px;
}
.branch-info__title { font-size: var(--fs-b2); font-weight: var(--fw-semi-bold); text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); }
.branch-info__text { font-size: var(--fs-b3); line-height: 1.5; color: var(--gray-500); text-decoration: none; }
.branch-info__link { font-weight: var(--fw-semi-bold); color: var(--gray-500); border-bottom: 2px solid var(--yellow-500); text-decoration: none; }
.branch-info__item .btn { margin-top: 4px; }
.branch-map { line-height: 0; background: var(--gray-200); }
.branch-map iframe { display: block; width: 100%; height: 440px; }
.section--branch-catalogue { padding: 48px 0 20px; }
.section--branch-catalogue .content h2 { margin: 28px 0 12px; }
.section--branch-catalogue .content h2:first-child { margin-top: 0; }
.branch-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.branch-links a {
  padding: 8px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 999px;
  font-size: var(--fs-b2);
  color: var(--gray-500);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.branch-links a:hover { border-color: var(--yellow-500); background: var(--gray-300); }
.section--branch-faq { padding-bottom: 60px; }
.footer-branches { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; font-size: var(--fs-b2); }
.footer-branches a { color: var(--white); text-decoration: none; opacity: 0.85; }
.footer-branches a:hover { color: var(--yellow-500); opacity: 1; }
.contact__info__body__list .branch-page-link { font-weight: var(--fw-medium); }
@media (max-width: 768px) {
  .branch-info { grid-template-columns: 1fr; }
  .branch-banner { padding: 40px 0 32px; }
  .branch-banner__name { font-size: 30px; }
  .branch-banner__title { font-size: var(--fs-b3); }
}
@media (max-width: 576px) {
  .branch-depts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .branch-dept { padding: 16px 8px 14px; gap: 8px; }
  .branch-dept__logos img { width: 32px; height: 32px; }
  .branch-dept__logos { gap: 6px; min-height: 34px; }
  .branch-dept__label { font-size: var(--fs-b2); }
  .branch-dept__phone { font-size: 13px; padding: 7px 10px; gap: 5px; }
  .branch-dept__phone svg { width: 14px; height: 14px; }
  .branch-map iframe { height: 340px; }
}
