/* ===========================================================
   友利通中文站 · 首页
   设计体系沿用英文站（www.unitone.com.cn），仅做中文字体与排版适配
   =========================================================== */

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN",
               "Noto Sans CJK SC", "Hiragino Sans GB", Arial, sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-public h1,
.site-public h2,
.site-public h3,
.site-public h4,
.site-public h5,
.ut-hero-title,
.ut-section-title h2,
.ut-news-card-title {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN",
               "Noto Sans CJK SC", "Hiragino Sans GB", Arial, sans-serif;
}

/* 导航 */
.ut-nav-link { letter-spacing: .5px; }
.site-public .ut-nav-item { padding: 0 28px; }

/* Hero 中文标题 */
.ut-hero-title {
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: 1px;
  font-weight: 700;
}
.ut-hero-subtitle {
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: .5px;
}

/* 区块标题 */
.ut-section-title h2 { letter-spacing: 2px; }
.ut-section-title .en-title { letter-spacing: 4px; }

/* 正文行高（中文需要更松） */
.ut-about-text p { line-height: 2; }
.ut-news-card-desc { line-height: 1.85; }
.ut-news-card-title { line-height: 1.55; }

/* 产品卡片中文名 */
.ut-product-card-name { letter-spacing: .5px; }

/* 移动端菜单按钮 */
.ut-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
}

@media (max-width: 768px) {
  .ut-mobile-menu-btn { display: inline-flex; }

  .ut-hero-title { font-size: 24px; line-height: 1.4; }
  .ut-hero-subtitle { font-size: 13px; line-height: 1.6; }

  .ut-news-card-title { font-size: 18px; }
  .ut-about-text p { font-size: 14px; line-height: 1.95; }
}

/* 移动端抽屉导航 */
.ut-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.ut-mobile-drawer.open { display: block; }

.ut-mobile-drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  animation: fadeIn .2s ease;
}
.ut-mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: #fff;
  padding: 24px 22px 40px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .16);
  animation: slideIn .25s ease;
}
.ut-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}
.ut-mobile-drawer-logo { width: 200px; height: auto; }
.ut-mobile-drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.ut-mobile-nav { list-style: none; margin: 0; padding: 0; }
.ut-mobile-nav > li { border-bottom: 1px solid #f2f2f2; }
.ut-mobile-nav a {
  display: block;
  padding: 15px 2px;
  color: #1a1a1a;
  font-size: 16px;
  text-decoration: none;
}
.ut-mobile-nav .sub a {
  padding: 10px 2px 10px 16px;
  font-size: 14px;
  color: #666;
}
.ut-mobile-nav a:hover { color: #007739; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* 页脚补充 */
.ut-footer-links {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}
.ut-footer-links a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.ut-footer-links a:hover { color: #fff; }

/* 中等屏（平板横屏）导航压缩，避免挤压 */
@media (min-width: 769px) and (max-width: 1180px) {
  .site-public .ut-logo { width: 220px; }
  .site-public .ut-nav-item { padding: 0 13px; }
  .site-public .ut-nav-link { font-size: 15px; }
}


/* 移动端二级菜单：去掉默认列表样式与多余底色 */
.ut-mobile-nav .sub {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  background: transparent;
}
.ut-mobile-nav .sub li {
  border: 0;
  background: transparent;
}
.ut-mobile-nav .sub a {
  background: transparent;
  color: #666;
  padding: 9px 2px 9px 18px;
  font-size: 14px;
}
.ut-mobile-nav .sub a:hover { color: #007739; background: #f7f7f7; }

/* 关于我们：设备展示左右箭头 */
.ut-equipment-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.ut-equipment-wrap .ut-equipment-slider {
  flex: 1;
  width: auto;
}
.ut-equipment-arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
}
.ut-equipment-arrow:hover {
  border-color: #007739;
  color: #007739;
  background: #f2fbf6;
}
.ut-equipment-arrow:disabled {
  opacity: .35;
  cursor: default;
}
@media (max-width: 768px) {
  .ut-equipment-arrow { display: none; }
  .ut-equipment-wrap .ut-equipment-slider { overflow-x: auto; }
}
/* 产品详情页补充 */
.ut-product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: #007739;
  font-size: 14px;
  text-decoration: none;
}
.ut-product-detail-back:hover { color: #115e87; }
.ut-product-detail-note {
  color: #555;
  line-height: 1.9;
  background: #f7f9f8;
  border-left: 3px solid #007739;
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.ut-product-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
  padding-top: 24px;
}
.ut-product-detail-nav a {
  color: #007739;
  font-size: 14px;
  text-decoration: none;
}
.ut-product-detail-nav a:hover { color: #115e87; }
.ut-product-detail-nav-next { margin-left: auto; text-align: right; }
@media (max-width: 768px) {
  .ut-product-detail-back { margin-bottom: 16px; }
  .ut-product-detail-nav { flex-direction: column; gap: 12px; }
}
/* 新闻列表：往期新闻 */
.ut-news-history {
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
  padding-top: 28px;
}
.ut-news-history-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.ut-news-history ul { list-style: none; margin: 0; padding: 0; }
.ut-news-history li { border-bottom: 1px solid #f1f1f1; }
.ut-news-history a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.6;
}
.ut-news-history .date { color: #999; width: 100px; flex-shrink: 0; }
.ut-news-history .title { flex: 1; }
.ut-news-history .arrow { color: #bbb; }
.ut-news-history a:hover { color: #007739; }

/* 新闻详情 */
.ut-news-detail-page { background: #fff; }
.ut-news-detail-inner { max-width: 900px; margin: 0 auto; padding: 56px 20px 80px; }
.ut-news-detail-crumb { font-size: 13px; color: #888; margin-bottom: 20px; line-height: 1.8; }
.ut-news-detail-crumb a { color: #888; text-decoration: none; }
.ut-news-detail-crumb a:hover { color: #007739; }
.ut-news-detail-title { font-size: 32px; line-height: 1.45; font-weight: 700; margin: 0 0 16px; color: #1a1a1a; }
.ut-news-detail-meta { display: flex; gap: 20px; color: #999; font-size: 13px; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 30px; }
.ut-news-detail-content img { display: block; max-width: 100%; height: auto; margin: 0 auto 10px; }
.ut-news-detail-empty {
  background: #f7f9f8;
  border-left: 3px solid #007739;
  padding: 18px 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}
.ut-news-detail-empty a { color: #007739; }
.ut-news-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #eee;
  margin-top: 44px;
  padding-top: 22px;
  font-size: 14px;
}
.ut-news-detail-nav a { color: #007739; text-decoration: none; }
.ut-news-detail-nav a:hover { color: #115e87; }
.ut-news-detail-nav .next { margin-left: auto; text-align: right; }
.ut-news-detail-back {
  display: inline-block;
  margin-top: 26px;
  color: #666;
  font-size: 14px;
  text-decoration: none;
}
.ut-news-detail-back:hover { color: #007739; }
@media (max-width: 768px) {
  .ut-news-detail-inner { padding: 36px 16px 60px; }
  .ut-news-detail-title { font-size: 22px; }
  .ut-news-detail-nav { flex-direction: column; gap: 12px; }
  .ut-news-history a { gap: 12px; font-size: 14px; }
  .ut-news-history .date { width: 82px; }
}
/* 合作伙伴页 */
.ut-partners-banner img { width: 100%; height: auto; display: block; }

/* 联系我们页 */
.ut-contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ut-form-item { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.ut-form-item label { font-size: 14px; color: #333; font-weight: 500; }
.ut-form-item input,
.ut-form-item textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ut-form-item input:focus,
.ut-form-item textarea:focus {
  border-color: #007739;
  box-shadow: 0 0 0 3px rgba(0,119,57,.1);
}
.ut-contact-submit {
  background: #007739;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.ut-contact-submit:hover { background: #005a2b; }
.ut-contact-form-note { color: #999; font-size: 12px; line-height: 1.8; margin-top: 12px; }
.ut-contact-qr-section { background: #f7f9f8; padding: 40px 0 60px; }
.ut-contact-qr-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 30px 40px;
}
.ut-contact-qr-block h3 { margin: 0 0 10px; font-size: 20px; color: #1a1a1a; }
.ut-contact-qr-block p { margin: 0; color: #666; font-size: 14px; line-height: 1.8; }
.ut-contact-qr-block img { width: 150px; height: 150px; object-fit: contain; }
@media (max-width: 768px) {
  .ut-contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .ut-contact-qr-block { flex-direction: column; text-align: center; padding: 24px; }
}
.ut-footer-sep { margin: 0 8px; opacity: .45; }