.baongoc-footer,
.baongoc-footer * {
  box-sizing: border-box;
}

.baongoc-footer {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background-color: #9a1c21;
  
  color: #fff;
  font-family: var(--font-base, inherit);
}

.baongoc-footer a {
  color: inherit;
  text-decoration: none;
}

.baongoc-footer__watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(40%, -50%);
  width: clamp(420px, 35vw, 560px);
  height: auto;
  object-fit: contain;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.baongoc-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 50px 0 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
}

.baongoc-footer__logo {
  width: 95px;
  height: 75px;
  display: block;
}

.baongoc-footer__logo img {
  width: 95px;
  height: 75px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.baongoc-footer__contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.baongoc-footer__contact strong {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}

.baongoc-footer__contact > a:not(.baongoc-footer__sub-phone),
.baongoc-footer__email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.baongoc-footer__sub-phone {
  display: block;
  padding-left: 26px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.baongoc-footer__contact a:hover {
  opacity: 0.85;
}

.baongoc-footer__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.baongoc-footer__emails {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.baongoc-footer__email-item {
  display: inline-block;
}

.baongoc-footer__email-sep {
  display: inline-block;
  opacity: 0.7;
}

.baongoc-footer__email-row a {
  display: inline;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.baongoc-footer__bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.baongoc-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.baongoc-footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #9a1c21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.baongoc-footer__socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.baongoc-footer__socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.baongoc-footer__certification {
  width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.baongoc-footer__navigation {
  padding-top: 100px;
}

.baongoc-footer__navigation-toggle {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.baongoc-footer__navigation-toggle span {
  display: none;
}

.baongoc-footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.baongoc-footer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.baongoc-footer__links a:hover {
  opacity: 0.85;
}

.baongoc-footer__links a span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .baongoc-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0;
  }

  .baongoc-footer__navigation {
    padding-top: 0;
  }

  .baongoc-footer__navigation-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
  }

  .baongoc-footer__navigation-toggle span {
    display: block;
    font-size: 20px;
    font-weight: 300;
  }

  .baongoc-footer__links {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .baongoc-footer__links.is-collapsed {
    max-height: 0;
  }

  .baongoc-footer__watermark {
    right: 0;
    top: 50%;
    transform: translate(40%, -50%);
    width: 320px;
    height: auto;
    opacity: 0.06;
  }
}

@media (max-width: 767px) {
  .baongoc-footer__email-row {
    align-items: flex-start;
  }

  .baongoc-footer__email-row .baongoc-footer__icon {
    margin-top: 3px;
  }

  .baongoc-footer__emails {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .baongoc-footer__email-sep {
    display: none;
  }
}

