/* Footer – HoaBinh Tourist */

#site-footer {
  background: #04245d;
  color: #fff;
  padding: 40px 0 0;
}

#site-footer a {
  color: #fff;
  transition: color 0.2s ease;
}

#site-footer a:hover {
  color: #fdd300;
}

/* Shared column gutter */
#site-footer .footer__top .row,
#site-footer .border-page-footer .row {
  margin-left: -20px;
  margin-right: -20px;
}

#site-footer .footer__top [class*="col-"],
#site-footer .office-box {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 30px;
}

/* Top section */
.footer__widget {
  height: 100%;
}

.footer__logo img {
  width: 200px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.footer__logo p {
  margin: 16px 0;
  line-height: 1.6;
  font-size: 14px;
}

.footer__logo p span {
  color: #fdd300;
  text-transform: uppercase;
  font-weight: 700;
}

.footer__title p,
.footer__title h3,
.footer__title h4 {
  font-family: "UTM Avo Bold", sans-serif;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer__menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__menu ul li {
  padding: 5px 0;
}

.footer__menu ul li a {
  font-size: 14px;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0 0;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: #fff;
}

.footer__social a:hover {
  color: #fdd300;
}

.footer__social .fa-tiktok,
.footer__social svg {
  width: 21px;
  height: 21px;
}

.footer__fb iframe {
  display: block;
  max-width: 100%;
  border: none;
}

/* Company info column */
.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
}

.footer__contact-list li + li {
  margin-top: 8px;
}

.footer__gov-badge {
  display: inline-block;
  margin-top: 16px;
}

.footer__gov-badge img {
  height: 80px;
  width: auto;
}

/* Tagline */
.quality-make-reputation {
  width: 100%;
  text-align: center;
  font-size: 28px;
  color: var(--yellow-color, #fdd300);
  font-weight: 700;
  padding: 24px 15px 8px;
  letter-spacing: 0.02em;
}

/* Offices */
.footer__middle {
  padding: 8px 0 32px;
}

.footer__middle hr {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  margin: 0 0 32px;
}

/* Giữ icon thành phố nằm gọn trong cột (override brand-custom 3.6vw / 70px) */
#site-footer .office-box {
  container-type: inline-size;
  min-width: 0;
  overflow: hidden;
}

#site-footer .office-box__heading {
  margin: 0 0 16px;
  line-height: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

#site-footer .office-box__heading .hbg.icon-hanoi,
#site-footer .office-box__heading .hbg.icon-danang,
#site-footer .office-box__heading .hbg.icon-hcm {
  display: block;
  max-width: 100%;
  font-size: clamp(2rem, 28cqi, 4.5rem);
  line-height: 1;
  overflow: hidden;
}

.office-box__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.office-box__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #fdd302;
}

.office-box__item a {
  color: #fdd302;
}

.office-box__item a:hover {
  color: #fff;
}

.three-phone a {
  font-size: 12px;
}

.three-phone-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}

.office-box--duns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.office-box--duns .duns-section {
  width: 130px;
  height: 120px;
}

.office-box--duns .duns-section iframe {
  border: none;
}

.office-box--duns .chat-social {
  margin: 0;
  color: #fdd302;
  font-size: 13px;
}

.footer__profile-link {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__profile-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fdd302;
  font-size: 14px;
}

.footer__profile-link a:hover {
  color: #fff;
}

/* Bottom bar */
.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer--copyright p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.footer--copyright .sitemap {
  color: #fff;
}

.footer--menu--two {
  text-align: right;
}

.footer__spacer {
  width: 100%;
  height: 80px;
  clear: both;
  background: #04245d;
}

#backToTop {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #efc40d;
  color: #04245d;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

#backToTop:hover {
  transform: translateY(-2px);
}

#backToTop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 991px) {
  .quality-make-reputation {
    font-size: 22px;
    padding-top: 16px;
  }

  .footer--menu--two {
    text-align: left;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  #site-footer {
    padding-top: 24px;
  }

  #site-footer .footer__top [class*="col-"],
  #site-footer .office-box {
    margin-bottom: 24px;
  }

  .footer__logo img {
    width: 180px;
  }

  .footer__gov-badge img {
    height: 70px;
  }

  .quality-make-reputation {
    font-size: 20px;
  }

  .office-box--duns {
    padding-top: 8px;
  }

  .footer__bottom--border {
    margin-bottom: 50px;
  }
}
