/* Footer Component - BEM */
.footer {
  background: #1e242d;
  width: 100%;
  position: relative;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
}

.footer__main {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 81px 77px 99px;
  position: relative;
}

/* Left Column */
.footer__brand {
  /* flex: 0 0 246px; */
  display: flex;
  flex-direction: column;
}

.footer__logo-img {
  width: 246px;
  height: 78px;
  object-fit: contain;
}

.footer__tagline {
  margin-top: 26px;
  font-size: 12px;
  line-height: 17px;
  color: #c3c4c5;
}

/* Divider */
.footer__divider {
  width: 1px;
  height: 119px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 0 48px;
  align-self: center;
}

/* Middle Columns */
.footer__nav-group {
  display: flex;
  gap: 48px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__nav-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer__nav-link {
  font-size: 14px;
  line-height: 20px;
  color: #c3c4c5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: #ffffff;
}

/* Right Column */
.footer__contact {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  max-width: 283px;
}

.footer__contact-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #ffffff;
  margin-bottom: 13px;
}

.footer__phone-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer__phone-icon-bg {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__phone-icon {
  width: 20px;
  height: 20px;
}

.footer__phone-number {
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  color: #ffffff;
  font-family: Inter, sans-serif;
}

.footer__address {
  font-size: 14px;
  line-height: 22px;
  color: #c3c4c5;
  margin: 0;
}

/* 3D Character Illustration */
.footer__character {
  position: absolute;
  top: -44px;
  right: 389px; /* 1440 - 893 - 158 = 389 approx from figma left:893 */
  width: 158px;
  height: 322px;
  pointer-events: none;
  z-index: 10;
}

/* Bottom Bar */
.footer__bottom {
  background: #181d24;
  width: 100%;
  padding: 35px 0;
  text-align: center;
}

.footer__copyright {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #989898;
  margin: 0;
  font-family: Inter, sans-serif;
}

/* Responsive */
@media (max-width: 1200px) {
  .footer__character {
    display: none;
  }
  .footer__main {
    padding: 60px 40px;
  }
  .footer__contact {
    margin-left: 48px;
  }
}

@media (max-width: 992px) {
  .footer__main {
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer__divider {
    display: none;
  }
  .footer__contact {
    margin-left: 0;
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .footer__main {
    padding: 40px 20px;
  }
  .footer__nav-group {
    flex-wrap: wrap;
    gap: 30px;
  }
}
