/* ==========================================================================
   FOOTER  (port từ Next.js footer.model.css)
   ========================================================================== */

.footer {
  position: relative;
  padding: 3rem 9.38rem 0;
  background-color: #1d262d;
  color: white;
}

/* Background image lazy-load (thay cho inline background-image cũ) */
.footer > .footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Nội dung footer luôn nằm trên ảnh nền */
.footer > .footer-logo,
.footer > .footer-menu,
.footer > .footer-contact,
.footer > .footer-copyright {
  position: relative;
  z-index: 1;
}

.footer .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem;
  padding-bottom: 2.44rem;
}

.footer .footer-logo svg,
.footer .footer-logo img {
  width: 5.8395rem;
  height: 4.815rem;
  object-fit: contain;
}

.footer .footer-logo h4 {
  color: #fff;
  text-align: center;
  font-size: 1.60575rem;
  font-weight: 700;
  line-height: 1.61938rem;
  letter-spacing: 0.10775rem;
  text-transform: uppercase;
}

.footer .footer-menu {
  padding: 1.25rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-menu a {
  text-transform: uppercase;
  width: auto;
}

.footer a {
  color: #fff;
  width: auto;
}

.footer .footer-copyright {
  display: flex;
  padding: 1.25rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-copyright__content,
.footer .footer-copyright__content h1,
.footer .footer-copyright__content h2,
.footer .footer-copyright__content h3,
.footer .footer-copyright__content h4,
.footer .footer-copyright__content h5,
.footer .footer-copyright__content h6,
.footer .footer-copyright__content p {
  color: var(--Foundation-Text-White-0, #fff);
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.01rem;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.footer .footer-copyright__content--mobile {
  display: none;
}

.footer .footer-copyright__content p {
  display: inline !important;
}

.footer .footer-copyright__content p + p::before {
  content: " ";
}

.footer .footer-copyright__content strong,
.footer .footer-copyright__content b {
  color: var(--Foundation-Text-White-0, #fff);
  font-family: "Averta Std CY";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 150%;
  letter-spacing: -0.01rem;
  text-transform: uppercase;
}

.footer .footer-copyright__break {
  display: none;
}

.footer .footer-copyright__space {
  display: inline;
}

.footer .footer-contact {
  padding: 3.12rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9375rem;
}

.footer-contact__local {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

.footer-contact__local-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  min-width: 0;
}

.footer-contact__local-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.01rem;
  white-space: nowrap;
}

.footer-contact__local-item .footer-contact__local-item--title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact__local-item .footer-contact__local-item--title h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
}

.footer a.footer-contact__local-item--map,
.footer a.footer-contact__local-item--map:link,
.footer a.footer-contact__local-item--map:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: auto;
}

.footer a.footer-contact__local-item--map span {
  white-space: nowrap;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 1.225rem */
  letter-spacing: -0.00875rem;
  color: rgba(255, 255, 255, 0.80);
}

.footer-contact__local-item--map-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
   animation: pulse-sharp 1s ease-in-out infinite alternate;
}

@keyframes pulse-sharp {
  0% {
    box-shadow: 0 0 0 0.3rem rgba(150, 150, 150, 0.5);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(150, 150, 150, 0.2);
    transform: scale(1);
  }
}

.footer-contact__local-item--map-icon svg,
.footer-contact__local-item--map-icon img {
  color: #1d262d;
  width: 0.85rem;
  height: 0.85rem;
  object-fit: contain;
}

.footer-contact__email-hotline {
  display: flex;
  min-width: 30.9375rem;
  padding: 1.125rem 0rem 1.125rem 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.9375rem;
}

.footer-contact__email,
.footer-contact__phone {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 1.875rem;
}

.footer-contact__email span,
.footer-contact__phone span {
  text-transform: uppercase;
  opacity: 0.6;
  min-width: 4.375rem;
}

.footer-contact__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.footer-contact__content-social--network {
  display: flex;
  height: 2rem;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer-contact__content-connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

.footer-contact__content-connect span {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 120%;
}

.footer-contact__content-connect p {
  color: #fff;
  opacity: 0.6;
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
}

.footer-contact__email-hotline--pagination {
  height: 0.0625rem;
  width: 100%;
}

.footer-contact__content-connect--pagination {
  width: 0.0625rem;
  height: 2.49994rem;
}

.footer-contact__content-social--network--item {
  display: flex !important;
  width: 2.00756rem !important;
  height: 2.00756rem !important;
  justify-content: center;
  align-items: center;
  gap: 0.33463rem;
  border-radius: 8.36488rem;
  background: #f0f0f0;
  padding: 0.35rem;
}

.footer-contact__content-social--network--item svg,
.footer-contact__content-social--network--item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: #1d262d;
}

.footer-contact__content-social--network--item .social-letter {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1d262d;
  line-height: 1;
}

.footer-menu .footer-menu__icon {
  display: none;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  line-height: 0;
}

.footer-menu .footer-menu__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-contact__email-hotline--sub {
  display: flex;
  flex-direction: column;
  gap: 0.94rem;

}

/* ========================================================================
   MOBILE
   ======================================================================== */
@media (max-width: 640px) {
  .footer-menu .footer-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .footer {
    padding: 2.5rem 1rem;
  }
  .footer a.footer-contact__local-item--map span {
    font-size: 0.75rem;
  }
  .footer-contact__local-item--map-icon {
      width: 1.14113rem;
      height: 1.14113rem;
  }
  .footer .footer-menu {
    flex-direction: column;
    gap: 0.44rem;
    border: none;
  }
  .footer .footer-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.56rem 0.94rem;
    width: 100%;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2rem; /* 160% */
    text-transform: uppercase;
    border-radius: 0 0.75rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  .footer .footer-menu a svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 1px;
    stroke: var(--Foundation-Text-White-0, #fff);
    opacity: 0.7;
  }
  .footer-logo {
    padding-bottom: 0 !important;
  }
  .footer .footer-contact {
    padding: 0 !important;
    flex-direction: column;
  }
  .footer-contact__content {
    flex-direction: column;
    gap: 0.94rem;
    padding-bottom: 0.75rem;
  }
  .footer-contact__email-hotline {
    width: 100%;
    padding: 0;
    min-width: initial;
  }
   .footer-contact__local {
        gap: 0.75rem;
        position: relative;
        padding-bottom: 1.12rem;
    }
  .footer-contact__local::before {
        content: "";
        position: absolute;
        top: 0;
        left: 48%;
        width: 0.0625rem;
        height: 100%;
        opacity: 0.2;
        background: rgba(255, 255, 255, 0.20);
    }
    
  .footer-contact__email-hotline--sub {
    flex-direction: row;
    gap: 1.25rem;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.94rem 0;
  }
  .footer-contact__email-hotline--sub .footer-contact__email,
  .footer-contact__email-hotline--sub .footer-contact__phone {
    font-size: 0.75rem;
    gap: 0.62rem;
  }
  .footer-contact__content-connect--pagination,
  .footer-contact__email-hotline--pagination {
    display: none;
  }
  .footer-contact__content-connect span {
    text-align: center;
    display: block;
    width: 100%;
  }
  .footer .footer-copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.75rem;
    padding-bottom: 0;
    width: 100%;
  }
  .footer .footer-copyright__content--desktop {
    display: none;
  }
  .footer .footer-copyright__content--mobile {
    display: block;
  }
  .footer .footer-copyright__content,
  .footer .footer-copyright__content h1,
  .footer .footer-copyright__content h2,
  .footer .footer-copyright__content h3,
  .footer .footer-copyright__content h4,
  .footer .footer-copyright__content h5,
  .footer .footer-copyright__content h6,
  .footer .footer-copyright__content p {
    color: var(--Foundation-Text-White-0, rgba(255, 255, 255, 0.77));
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: -0.015rem;
    white-space: normal;
  }
  .footer .footer-copyright__content p {
    display: block !important;
  }
  .footer .footer-copyright__content p + p::before {
    content: none;
  }
  .footer .footer-copyright__content strong,
  .footer .footer-copyright__content b {
    font-size: 0.75rem;
    font-weight: 600 !important;
    letter-spacing: -0.015rem;
  }
  .footer .footer-copyright__break {
    display: inline;
  }
  .footer .footer-copyright__space {
    display: none;
  }
  .footer .footer-logo h4 {
    font-size: 1.10206rem;
  }
  .footer .footer-logo svg,
  .footer .footer-logo img {
    width: 4.97769rem;
    height: 4.10444rem;
  }
  .footer-logo {
    gap: 0 !important;
  }
  .footer-contact__local-item {
    gap: 0.56rem;
  }
  .footer-contact__local-item--title svg {
    width: 1.1875rem;
    height: 1.125rem;
  }
  .footer-contact__local-item--title h4 {
    font-size: 0.8125rem !important;
  }
  .footer-contact__local-item--map span,
  .footer-contact__local-item p {
    font-size: 0.75rem;
    white-space: initial;
  }
  .footer-contact__email span,
.footer-contact__phone span {

min-width: 0rem;
}
}
