/**
 * Demo222 页脚视觉增强（保留原有三栏结构）
 */
.web_footer {
  background: linear-gradient(180deg, #6d2c1c 0%, #5b2316 45%, #4a1c12 100%);
  position: relative;
}

.web_footer .foot_items {
  padding-top: 48px;
  padding-bottom: 12px;
}

.web_footer .foot_items .layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}

.web_footer .foot_item {
  width: 31%;
  flex: 0 0 31%;
  max-width: none;
  padding-top: 8px;
  padding-bottom: 28px;
}

.web_footer .foot_item .title {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  margin: 0;
  padding-bottom: 0;
}

.web_footer .foot_item .title:after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--xy-skin-primary, #602518), #eba200);
  border-radius: 2px;
}

.web_footer .foot_item .foot_item_bd {
  padding-top: 28px;
  font-size: 15px;
  line-height: 1.65;
}

/* INFORMATION */
.web_footer .foot_txt_list li {
  padding-bottom: 10px;
  font-size: 17px;
}

.web_footer .foot_txt_list li a {
  display: inline-block;
  height: auto;
  line-height: 1.55;
  overflow: visible;
  opacity: 0.92;
  padding: 3px 0;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.web_footer .foot_txt_list li a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* CONTACT US */
.web_footer .foot_item_contact address li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.65;
  opacity: 0.95;
}

/* 多行地址：图标与首行对齐 */
.web_footer .foot_item_contact address li.foot_addr {
  align-items: flex-start;
}

.web_footer .foot_item_contact address li i.fa {
  width: 18px;
  margin: 0;
  color: #eba200;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web_footer .foot_item_contact address li.foot_addr i.fa {
  margin-top: 0.2em;
}

.web_footer .foot_item_contact address li span {
  flex: 1;
  min-width: 0;
  line-height: 1.65;
}

.web_footer .foot_item_contact .foot_phone .tel_link {
  color: #fff;
  font-weight: 600;
  pointer-events: auto !important;
  cursor: pointer;
  text-decoration: none;
}

.web_footer .foot_item_contact .foot_phone .tel_link:hover {
  color: #eba200;
}

.web_footer .foot_item_contact .foot_email a {
  word-break: break-all;
}

.web_footer .foot_sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  margin-top: 6px;
  list-style: none;
}

.web_footer .foot_sns li {
  display: block;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.web_footer .foot_sns li + li:before {
  display: none !important;
  content: none !important;
}

.web_footer .foot_sns li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  line-height: 1 !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
  font-size: 16px !important;
  text-decoration: none;
  position: relative;
  overflow: visible !important;
  box-shadow: none !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  transform: none !important;
}

.web_footer .foot_sns li a:before {
  display: none !important;
  content: none !important;
}

.web_footer .foot_sns li a:hover,
.web_footer .foot_sns li a:focus {
  background: #fff !important;
  color: #4a1c12 !important;
  border-color: #fff !important;
  transform: translateY(-2px) !important;
  border-radius: 50% !important;
}

.web_footer .foot_sns li a .fa {
  line-height: 1;
  color: inherit;
}

.web_footer .foot_sns .foot_sns_svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

.web_footer .foot_sns li img {
  display: none !important;
}

/* FOLLOW US / INQUIRY */
.web_footer .company_subscribe .subscribe_tit {
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.92;
  padding-bottom: 28px;
  margin: 0;
}

.web_footer .company_subscribe .button.sys_btn {
  display: inline-block;
  background: var(--xy-skin-primary, #602518) !important;
  color: #fff !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.85em 1.6em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.web_footer .company_subscribe .button.sys_btn:hover {
  background: #e20016 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

/* copyright bar */
.web_footer .foot_bar .layout {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  padding-bottom: 24px;
}

.web_footer .foot_bar .copyright {
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.78;
}

@media only screen and (max-width: 950px) {
  .web_footer .foot_items .layout {
    display: block;
  }

  .web_footer .foot_item {
    width: 50%;
    float: left;
    flex: none;
    padding-bottom: 24px;
  }

  .web_footer .foot_item:nth-child(2n+1) {
    clear: left;
  }

  .web_footer .foot_item:last-child {
    width: 100%;
    float: none;
    clear: both;
  }
}

@media only screen and (max-width: 480px) {
  .web_footer .foot_items {
    padding-top: 32px;
  }

  .web_footer .foot_item {
    width: 100%;
    float: none;
    padding-top: 0;
    padding-bottom: 22px;
  }

  .web_footer .foot_item .title {
    font-size: 24px;
  }

  .web_footer .foot_txt_list li {
    font-size: 15px;
  }

  .web_footer .foot_sns li a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* 覆盖 home.css 旧 rbl-hardware 页脚规则，统一 Demo222 三栏页脚 */
footer.web_footer,
.web_footer.footer-bar,
footer.web_footer.footer-bar {
  background: linear-gradient(180deg, #6d2c1c 0%, #5b2316 45%, #4a1c12 100%) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.web_footer .foot_bar {
  display: block !important;
}

.web_footer a:hover {
  color: #eba200 !important;
}

.web_footer .foot_sns li a:hover,
.web_footer .foot_sns li a:focus {
  color: #4a1c12 !important;
}

.web_footer .company_subscribe .button.sys_btn:hover {
  color: #fff !important;
}

.web_footer .foot_item .title:after {
  display: block !important;
}

/* WOW 动画：页脚不参与滚动动画，避免手机端内容不可见 */
.web_footer .foot_item.wow,
.web_footer .wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

/* 手机端：版权栏仅留出 mfoot 高度 + 小间距（右侧避让由 foot_bar padding-right 负责） */
@media only screen and (max-width: 768px) {
  footer.web_footer,
  footer.web_footer.footer-bar,
  .web_footer.footer-bar {
    padding-bottom: calc(var(--xy-mfoot-height, 56px) + 6px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .web_footer .foot_items {
    padding-top: 24px !important;
    padding-bottom: 6px !important;
  }

  .web_footer .foot_items .layout {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .web_footer .foot_bar {
    position: relative;
    z-index: 1;
  }

  .web_footer .foot_bar .layout {
    padding-right: 76px !important;
    padding-left: 12px !important;
    padding-top: 12px !important;
    padding-bottom: 8px !important;
    box-sizing: border-box;
  }

  .web_footer .foot_bar .copyright {
    display: block;
    text-align: left;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
