.branch_page {
  --branch-primary: #0058b6;
  --branch-primary-soft: rgba(0, 88, 182, 0.08);
  --branch-border: #e5edf6;
  --branch-shadow: 0 20px 46px rgba(12, 39, 70, 0.1);
  margin: 1.5rem 0 8rem;
}

.branch_page__hero {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  padding: 2.75rem 2rem 2.35rem;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 166, 0, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(0, 88, 182, 0.08);
  box-shadow: var(--branch-shadow);
}

.branch_page__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--branch-primary-soft);
  color: var(--branch-primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.branch_page h1 {
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  color: #10253f;
}

.branch_page__hero p {
  margin: 0 auto;
  max-width: 760px;
  color: #5b7087;
  font-size: 1rem;
  line-height: 1.75;
}

.branch_page__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 166, 0, 0.12);
  color: #b66a00;
  font-weight: 700;
  font-size: 0.92rem;
}

.branch_page .box {
  margin-bottom: 2rem;
}

.branch_page .box > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.branch_page .branch_col {
  display: flex;
  margin-bottom: 1rem;
}

.branch_page .box .item {
  background: #fff;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--branch-border);
  box-shadow: var(--branch-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branch_page .box .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(12, 39, 70, 0.14);
}

.branch_page .box .item > .row {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.branch_page .box .item > .row > [class*="col-"] {
  display: flex;
}

.branch_page .box .item .box_img {
  background-position: center;
  background-size: cover;
  aspect-ratio: 16 / 9;
  min-height: 0;
  width: 100%;
}

.branch_page .box .item .info {
  padding: 1.4rem 1.35rem 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.branch_page .box .item .info .branch_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--branch-primary-soft);
  color: var(--branch-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  align-self: flex-start;
}

.branch_page .box .item .info .name {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
  color: #7d1f16;
  margin-bottom: 0.95rem;
}

.branch_page .box .item .info .addresd,
.branch_page .box .item .info .hotline {
  color: #394c60;
  font-size: 1rem;
  line-height: 1.6;
}

.branch_page .box .item .info .addresd {
  margin-bottom: 0.55rem;
}

.branch_page .box .item .info i {
  margin-right: 8px;
  color: #c2ccd8;
}

.branch_page .box .item .info .hotline a {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ef3b2d;
}

.branch_page .box .item .info .view_more {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-end;
  color: var(--branch-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.branch_page .box .item .info .view_more i {
  margin-right: 0;
  color: var(--branch-primary);
  transition: transform 0.25s ease;
}

.branch_page .box .item .info .view_more:hover i {
  transform: translateX(4px);
}

@media screen and (min-width: 992px) {
  .branch_page .box .item {
    min-height: 0;
  }
}

@media screen and (max-width: 768px) {
  .branch_page .branch_col {
    display: block;
    margin-bottom: 1.25rem;
  }

  .branch_page__hero {
    padding: 2.1rem 1.35rem 1.9rem;
    border-radius: 24px;
    margin-bottom: 1.6rem;
  }

  .branch_page .box .item {
    min-height: 0;
  }

  .branch_page .box .item .box_img {
    aspect-ratio: 16 / 9;
  }

  .branch_page .box .item .info {
    padding: 1.15rem 1rem 1.1rem;
  }

  .branch_page .box .item .info .name {
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 668px) {
  .branch_page {
    margin: 1rem 0 5rem;
  }

  .branch_page h1 {
    font-size: 1.75rem;
  }

  .branch_page__hero p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .branch_page__meta {
    font-size: 0.86rem;
  }

  .branch_page .box .item {
    border-radius: 22px;
  }

  .branch_page .branch_col {
    margin-bottom: 1rem;
  }

  .branch_page .box .item .box_img {
    aspect-ratio: 16 / 9;
  }

  .branch_page .box .item .info .name {
    font-size: 1.18rem;
  }

  .branch_page .box .item .info .addresd,
  .branch_page .box .item .info .hotline {
    font-size: 0.94rem;
  }

  .branch_page .box .item .info .hotline a {
    font-size: 1rem;
  }

  .branch_page .box .item .info .view_more {
    width: 100%;
    justify-content: flex-end;
    font-size: 0.94rem;
  }
}
