/* ============================================================
   UNITOP Machinery - 全站样式覆盖 (Target: awymachinery.com style)
   Primary: #FFAB0A (Orange) / Dark Nav / Clean Industrial
   ============================================================ */

/* ------------ 0. Global Reset & Font ------------ */
* { box-sizing: border-box; }
body {
  font-family: Arial, "Microsoft YaHei", Arial, sans-serif, PingFangSC-Light, Roboto, "Helvetica Neue", Helvetica !important;
  color: #313940 !important;
  background: #fff !important;
  line-height: 1.6 !important;
  font-size: 14px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: 700 !important;
  color: #313940 !important;
  line-height: 1.25 !important;
}
h1 { font-size: 36px !important; }
h2 { font-size: 32px !important; }
h3 { font-size: 24px !important; }
h4 { font-size: 18px !important; }

a {
  color: #333;
  text-decoration: none;
  transition: all .25s ease;
}
a:hover {
  color: #FFAB0A !important;
  text-decoration: none;
}

/* ------------ 1. Top Bar (above nav) ------------ */
/* 目标风格：顶部一条白色小条，放电话/邮箱/语言，然后黑色主导航 */
.main,
.s_tmpl,
.s_comp {
  background: #fff !important;
}

/* ------------ 2. Main Navigation - 目标风格深黑 ------------ */
.pc_nav,
.header1,
.L_nav {
  background: #1a1a1a !important;
  background-image: none !important;
  min-height: 72px !important;
  border: none !important;
}
.pc_nav .header1 {
  background: #1a1a1a !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* 导航容器 - 内容居中限制宽度 */
.pc_nav .header-left {
  max-width: 1280px !important;
  margin: 0 auto !important;
  float: none !important;
  padding: 0 20px !important;
}

/* Logo */
.pc_nav .header-left .fl {
  margin-top: 18px !important;
}
.pc_nav .header-left .fl img {
  max-height: 40px !important;
  vertical-align: middle;
}

/* Nav Menu */
.pc_nav nav {
  float: right !important;
}
.pc_nav nav ul {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 72px !important;
}
.pc_nav nav ul li {
  list-style: none !important;
  height: 72px !important;
  line-height: 72px !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}
.pc_nav nav ul li a.home-dec {
  display: block !important;
  padding: 0 22px !important;
  line-height: 72px !important;
  height: 72px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: Arial, sans-serif !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  background: transparent !important;
  border: none !important;
}
.pc_nav nav ul li a.home-dec::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #FFAB0A;
  transition: width .3s ease;
}
.pc_nav nav ul li a.home-dec:hover,
.pc_nav nav ul li:hover > a.home-dec {
  color: #FFAB0A !important;
  background: rgba(255,171,10,0.05) !important;
}
.pc_nav nav ul li a.home-dec:hover::after,
.pc_nav nav ul li:hover > a.home-dec::after {
  width: calc(100% - 44px);
}

/* 当前页高亮 - 目标橙 */
.pc_nav nav ul li.active a.home-dec,
.pc_nav nav ul li:first-child a.home-dec {
  color: #FFAB0A !important;
}

/* 子菜单 Dropdown */
.nav-sub {
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 10px 0 !important;
  border: none !important;
  border-top: 3px solid #FFAB0A !important;
  top: 72px !important;
}
.nav-sub a {
  color: #333 !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  display: block !important;
}
.nav-sub a:hover {
  background: #FFF8E7 !important;
  color: #FFAB0A !important;
  padding-left: 28px !important;
}

/* 右侧搜索/语言/电话小图标 */
.pc_nav .hvr-left_last {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 72px;
  padding-left: 10px;
  margin-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.pc_nav .L_tel,
.pc_nav .L_text {
  height: 72px !important;
  line-height: 72px !important;
  display: flex !important;
  align-items: center !important;
}
.pc_nav .L_tel a,
.pc_nav .L_text a {
  color: #fff !important;
}
.pc_nav .L_tel a:hover svg path,
.pc_nav .L_text a:hover svg path {
  fill: #FFAB0A !important;
}
.pc_nav .icon {
  width: 20px !important;
  height: 20px !important;
}
.pc_nav .icon path {
  fill: rgba(255,255,255,0.8) !important;
  transition: fill .25s;
}

/* ------------ 3. Buttons - 工业橙 ------------ */
.s_button1,
.s_button2,
.s_button3,
.p_button,
.btn-primary {
  background: #FFAB0A !important;
  border: 2px solid #FFAB0A !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px !important;
  padding: 10px 26px !important;
  border-radius: 3px !important;
  transition: all .3s ease !important;
  display: inline-block !important;
  cursor: pointer;
}
.s_button1:hover,
.s_button2:hover,
.s_button3:hover,
.p_button:hover,
.btn-primary:hover {
  background: #E89A00 !important;
  border-color: #E89A00 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,171,10,0.3) !important;
}
.s_button1::before,
.s_button3::before { display: none !important; }

/* 次级按钮 - 透明边框橙 */
.s_button5,
.s_button6 {
  background: transparent !important;
  border: 2px solid #FFAB0A !important;
  color: #FFAB0A !important;
  border-radius: 3px !important;
  padding: 10px 26px !important;
  font-weight: 600 !important;
}
.s_button5:hover,
.s_button6:hover {
  background: #FFAB0A !important;
  color: #fff !important;
}

/* READ MORE / More info 小按钮风格 (目标网站) */
a.p_button {
  border-radius: 0 !important;
  background: #FFAB0A !important;
  border: none !important;
  padding: 8px 18px !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
a.p_button svg { display: none !important; }
a.p_button:hover {
  background: #313940 !important;
  color: #fff !important;
}

/* ------------ 4. Banner / Hero ------------ */
.homeLb,
.e_bannerA-2,
.e_bannerE-2 {
  background: #fff !important;
}
.e_bannerA-2 .p_entitle {
  color: #FFAB0A !important;
  font-size: 20px !important;
  letter-spacing: 2px;
  font-weight: 700 !important;
}
.e_bannerA-2 .p_btitle {
  color: #fff !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 8px 0 24px !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.e_bannerA-2 .p_summary {
  color: rgba(255,255,255,0.9) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}
.p_info_fivebox span.p_cspan {
  background: #FFAB0A !important;
  width: 60px !important;
  height: 4px !important;
  margin: 20px 0 !important;
  display: block;
}

/* Swiper 按钮 */
.p_btn_prev,
.p_btn_next {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  transition: all .3s !important;
}
.p_btn_prev:hover,
.p_btn_next:hover {
  background: #FFAB0A !important;
}
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #fff !important;
  opacity: 0.5 !important;
}
.swiper-pagination-bullet-active {
  background: #FFAB0A !important;
  opacity: 1 !important;
  width: 32px !important;
  border-radius: 6px !important;
}

/* ------------ 5. Section Titles ------------ */
.s_title,
.e_text-7,
.e_text-24,
.e_text-9,
.e_text-12,
.e_text-16,
.e_text-19 {
  color: #313940 !important;
}
.e_text-7,
.e_text-24,
.e_text-2 {
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 24px !important;
}
.e_text-7::after,
.e_text-24::after,
.e_text-2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background: #FFAB0A;
  border-radius: 2px;
}

/* 小副文字 */
.s_summary,
.e_text-4,
.e_text-17,
.e_text-18,
.e_text-25,
.e_text-24 + .e_text-25 {
  color: #666 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

/* ------------ 6. Product Cards (目标网格卡片) ------------ */
/* 产品列表 / 轮播卡片统一风格 */
.cbox-7,
.p_loopitem,
.cbox-20,
.cbox-6 {
  transition: all .35s cubic-bezier(.4,0,.2,1) !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  overflow: hidden !important;
  border-radius: 4px !important;
}
.cbox-7:hover,
.p_loopitem:hover,
.cbox-20:hover,
.cbox-6:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10) !important;
  border-color: #FFAB0A !important;
}
.cbox-7 img,
.p_loopitem img,
.cbox-20 img,
.cbox-6 img {
  transition: transform .5s ease !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.cbox-7:hover img,
.p_loopitem:hover img,
.cbox-20:hover img {
  transform: scale(1.06) !important;
}

/* 产品More info按钮 - 统一风格 */
.product-more-btn {
  display: inline-block;
  margin-top: 12px;
  color: #FFAB0A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
.product-more-btn:hover {
  color: #E89A00 !important;
  letter-spacing: 2px !important;
}

/* ------------ 7. Advantages / Data Section ------------ */
/* 数字滚动 */
.e_scrollNumber-8 .p_num,
.e_scrollNumber-13 .p_num,
.e_scrollNumber-15 .p_num,
.e_scrollNumber-18 .p_num {
  font-family: Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 48px !important;
  color: #FFAB0A !important;
  line-height: 1 !important;
}
.p_plus {
  font-family: Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 48px !important;
  color: #FFAB0A !important;
}

/* 数据背景区块 - 如果是灰底就保留 */
.e_container-15,
.e_container-1,
.e_container-2,
.e_container-3,
.e_container-5,
.e_container-6,
.e_container-9,
.e_container-10,
.e_container-14,
.e_container-16,
.e_container-17,
.e_container-21,
.e_container-23 {
  background: transparent !important;
}

/* 图标区块 */
.e_icon-26 svg {
  width: 52px !important;
  height: 52px !important;
  transition: all .3s !important;
}
.cbox-20:hover .e_icon-26 svg path {
  fill: #FFAB0A !important;
  transform: scale(1.08);
}
.cbox-20:hover .e_icon-26 svg {
  transform: rotate(-8deg);
}
.e_icon-26 svg path {
  fill: #666 !important;
  transition: all .3s;
}

/* ------------ 8. News Section ------------ */
.news-item-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: all .3s;
}
.news-item-card:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,0.09);
  transform: translateY(-4px);
  border-color: #FFAB0A;
}
.news-date {
  color: #FFAB0A !important;
  font-family: Arial !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}
.news-title {
  color: #313940 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  display: block;
  margin: 8px 0 12px;
}
.news-title:hover {
  color: #FFAB0A !important;
}

/* READ MORE 链接 */
a[href*="news"]:not([class*="btn"]):not([class*="p_button"]),
.READ-MORE,
.read-more {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #FFAB0A !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-right: 24px;
}
a[href*="news"]:not([class*="btn"]):not([class*="p_button"])::after {
  content: "→";
  position: absolute;
  right: 0;
  transition: all .3s;
}
a[href*="news"]:not([class*="btn"]):not([class*="p_button"]):hover::after {
  right: -6px;
}

/* ------------ 9. WE SPEAK WITH DATA 区域模仿 ------------ */
.data-banner-section {
  background: linear-gradient(135deg, #313940 0%, #1a1f25 100%) !important;
  color: #fff !important;
  padding: 80px 20px !important;
  text-align: center !important;
}
.data-banner-section h2 {
  color: #fff !important;
  font-weight: 300 !important;
  font-size: 36px !important;
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.data-banner-section h2 strong {
  color: #FFAB0A !important;
  font-weight: 700;
}
.data-banner-section .p_num,
.data-banner-section .p_plus {
  color: #fff !important;
}
.data-banner-section .e_text-9,
.data-banner-section .e_text-12,
.data-banner-section .e_text-16,
.data-banner-section .e_text-19 {
  color: rgba(255,255,255,0.8) !important;
  font-size: 14px !important;
  letter-spacing: 1px;
}

/* ------------ 10. Contact Form ------------ */
.s_form_layout1,
.s_form_layout2,
.s_form_layout3 {
  background: #fff !important;
}
.s_form_layout1 .s_input,
.s_form_layout2 .s_input,
.s_form_layout3 .s_input {
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  background: #fafafa !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
}
.s_form_layout1 .s_input:focus,
.s_form_layout2 .s_input:focus,
.s_form_layout3 .s_input:focus {
  border-color: #FFAB0A !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(255,171,10,0.12) !important;
}
.e_formBtn,
.form-submit-btn {
  background: #FFAB0A !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 12px 32px !important;
  letter-spacing: 1px;
  border-radius: 3px !important;
  transition: all .3s !important;
}
.e_formBtn:hover,
.form-submit-btn:hover {
  background: #E89A00 !important;
  box-shadow: 0 4px 12px rgba(255,171,10,0.3) !important;
}

/* ------------ 11. Partners Logo ------------ */
.cbox-7.p_loopitem {
  background: #fafafa !important;
  padding: 16px !important;
  border: 1px solid #eee !important;
  text-align: center !important;
}
.cbox-7.p_loopitem:hover {
  background: #fff !important;
  border-color: #FFAB0A !important;
}

/* ------------ 12. Footer ------------ */
/* 目标风格：深色背景 (工业黑/深蓝灰) */
footer,
.footer,
[class*="footer"],
.s_tmpl_footer {
  background: #222a35 !important;
  color: rgba(255,255,255,0.75) !important;
  padding: 0 !important;
  border: none !important;
}
footer *,
.footer *,
.s_tmpl_footer * {
  color: inherit !important;
}

/* footer 标题 */
footer h3,
.footer h3,
footer h4,
.footer h4,
footer .s_title,
.footer .s_title,
footer p:first-child,
.footer p:first-child {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
  margin-bottom: 18px !important;
}

/* footer 链接 */
footer a,
.footer a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px !important;
  display: block;
  padding: 4px 0;
  line-height: 1.8;
}
footer a:hover,
.footer a:hover {
  color: #FFAB0A !important;
  padding-left: 6px;
}

/* footer 联系方式图标列表 */
footer .contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

/* footer 版权条 */
.copyright-bar,
footer > .copyright,
.footer > .copyright {
  background: #1a1f25 !important;
  color: rgba(255,255,255,0.5) !important;
  text-align: center !important;
  padding: 18px 20px !important;
  font-size: 13px !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ------------ 13. Mobile ------------ */
@media (max-width: 992px) {
  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 20px !important; }

  .e_bannerA-2 .p_btitle {
    font-size: 30px !important;
  }

  .pc_nav { display: none !important; }
}

/* ------------ 14. Utilities ------------ */
.hr-line,
hr.s_line,
hr {
  border: none !important;
  border-top: 4px solid #FFAB0A !important;
  width: 50px !important;
  margin: 16px 0 !important;
  display: inline-block !important;
}

/* Page container max-width */
.cbox-15-0,
.p_gridbox,
.s_list {
  max-width: 1280px !important;
  margin: 0 auto !important;
}
