/* ============================================================
   英联陶瓷·岩板 官网模板 yinglian.css
   PC 端按设计稿还原，平板/手机自适应
   ============================================================ */
:root {
  --brand: #c7000b;
  --brand-dark: #9a0009;
  --brand-deep: #7d0007;
  --ink: #222;
  --gray: #777;
  --line: #e8e8e8;
  --bg-gray: #f5f5f5;
  --radius: 6px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 15px;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .25s, background .25s, border-color .25s; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
.container { max-width: 1200px; }

/* ============================================================
   1. 顶部导航
   ============================================================ */
.yl-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.yl-header .inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.yl-logo img { height: 52px; display: block; }
.yl-nav {
  display: flex; align-items: center; gap: 4px;
  margin: 0; padding: 0; list-style: none;
}
.yl-nav > li { position: relative; height: 84px; flex: none; }
.yl-nav > li > a {
  display: flex; align-items: center; height: 84px; padding: 0 22px; font-size: 16px; color: var(--ink);
  position: relative; white-space: nowrap;
}
.yl-nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--brand); border-radius: 2px; transition: width .25s;
}
.yl-nav > li:hover > a, .yl-nav > li.on > a { color: var(--brand); }
.yl-nav > li:hover > a::after, .yl-nav > li.on > a::after { width: 24px; }
.yl-nav .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; min-width: 170px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-top: 3px solid var(--brand); opacity: 0; visibility: hidden; transition: all .25s;
  padding: 6px 0; z-index: 99;
}
.yl-nav li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.yl-nav .sub a { display: block; padding: 10px 18px; font-size: 14px; color: #555; text-align: center; }
.yl-nav .sub a:hover { background: var(--bg-gray); color: var(--brand); }
.yl-tel { display: flex; align-items: center; gap: 10px; padding-left: 26px; }
.yl-tel .ico {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.yl-tel small { display: block; font-size: 12px; color: #999; line-height: 1.2; }
.yl-tel b { font-size: 18px; color: var(--brand); letter-spacing: .5px; }
.yl-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 8px; cursor: pointer; }
.yl-burger span { display: block; height: 2px; background: var(--brand); margin: 6px 0; border-radius: 2px; transition: .3s; }

/* ============================================================
   3. 首页 Banner
   ============================================================ */
.yl-banner { position: relative; overflow: hidden; }
.yl-banner .swiper-slide {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background-color: #c7000b;
  background-image: radial-gradient(120% 140% at 80% 20%, #e01220 0%, #c7000b 45%, #8e0009 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* PC 端 Banner：最大宽度 1920px 居中，图片按原始比例显示不放大 */
.yl-banner.bn-pc {
  max-width: 1920px;
  margin: 0 auto;
  background: #c7000b;
}
.yl-banner.bn-pc .swiper-slide {
  aspect-ratio: 1920 / 846;
  min-height: 560px;
  max-height: 88vh;
  background-size: 100% auto;
  background-position: center center;
}
/* 后台轮播图整图可点击链接 */
.yl-banner .slide-link { position: absolute; inset: 0; z-index: 3; }
/* PC/手机双 Banner 组：默认显示 PC 组，手机端切换（bn-m 为空时由 JS 回退显示 PC 组） */
.yl-banner.bn-m { display: none; }
.yl-banner.bn-pc.force-show { display: block; }
.yl-banner .deco-circle {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); pointer-events: none;
}
.yl-banner .deco-ring1 { width: 620px; height: 620px; right: -140px; top: -180px; border-width: 2px; }
.yl-banner .deco-ring2 { width: 380px; height: 380px; right: 40px; bottom: -160px; }
.yl-banner .deco-ring3 { width: 160px; height: 160px; left: 6%; bottom: 12%; }
.yl-banner .words {
  position: absolute; right: 2.5%; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; letter-spacing: 10px; color: rgba(255,255,255,.85);
  font-size: 15px; border-right: 1px solid rgba(255,255,255,.3); padding-right: 12px;
  z-index: 3;
}
.yl-banner .container { position: relative; z-index: 2; display: flex; align-items: center; }
.yl-banner .txt { flex: 1.1; color: #fff; padding: 40px 0; }
.yl-banner .txt .logo-en { font-size: 13px; letter-spacing: 6px; opacity: .8; margin-bottom: 14px; }
.yl-banner .txt h2 { font-size: 54px; letter-spacing: 4px; font-weight: 700; line-height: 1.15; margin: 0 0 6px; }
.yl-banner .txt .logo-sub { font-size: 22px; letter-spacing: 8px; opacity: .92; margin-bottom: 34px; }
.yl-banner .txt .slogan { font-size: 20px; letter-spacing: 3px; margin-bottom: 10px; }
.yl-banner .txt .slogan-en {
  font-size: 26px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; line-height: 1.35;
}
.yl-banner .txt .slogan-en em { font-style: normal; border-bottom: 3px solid #fff; padding-bottom: 4px; }
.yl-banner .fig { flex: .9; display: flex; justify-content: center; align-items: flex-end; }
.yl-banner .fig img { max-height: 480px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
.yl-banner .swiper-pagination-bullet { background: #fff; opacity: .5; }
.yl-banner .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }

/* ============================================================
   4. 通用板块标题
   ============================================================ */
.sec { padding: 70px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en { font-size: 30px; font-weight: 700; letter-spacing: 4px; color: var(--ink); text-transform: uppercase; }
.sec-head .cn {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 8px;
  font-size: 18px; color: var(--gray); letter-spacing: 4px;
}
.sec-head .cn::before, .sec-head .cn::after {
  content: ""; width: 46px; height: 1px; background: var(--brand); display: inline-block;
}
.sec-head.light .en { color: #fff; }
.sec-head.light .cn { color: rgba(255,255,255,.8); }

/* ============================================================
   5. 公司简介
   ============================================================ */
/* 公司简介：背景图居中、原始尺寸不拉伸、不平铺 */
.yl-about {
  position: relative;
  background-color: #f3f1ee;
  background-image: url(../images/about-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
}

.yl-about .about-title {
  font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 3px; margin-top:100px;
}
.yl-about .about-title::before {
  content: ""; display: inline-block; width: 5px; height: 18px;
  background: var(--brand); margin-right: 12px; border-radius: 2px;
}
.yl-about .row-about { display: flex; align-items: center; margin-top:20px;  }
.yl-about .about-txt { flex: 0 0 35%; max-width: 35%; background: transparent; padding: 0; box-shadow: none; }
.yl-about .about-txt .brand-line { font-size: 24px; font-weight: 700; color: var(--brand); letter-spacing: 2px; margin-bottom: 4px; }
.yl-about .about-txt .brand-en { font-size: 14px; letter-spacing: 4px; color: #999; margin-bottom: 20px; }
.yl-about .about-txt p { color: #555; line-height: 2.1; text-align: justify; margin-bottom: 0; }
.yl-about .about-txt .more-btn {
  display: inline-block; margin-top: 28px; background: var(--brand); color: #fff;
  padding: 10px 36px; border-radius: 999px; font-size: 14px; letter-spacing: 2px;
  transition: background .25s;
}
.yl-about .about-txt .more-btn:hover { background: var(--brand-dark); color: #fff; }

/* 数据统计：透明底、红色数字 */
.yl-stats { display: flex; margin-top:120px; background: transparent; }
.yl-stats .item { flex: 1; text-align: center; padding: 10px; }
.yl-stats .num { font-size: 42px; font-weight: 700; color: var(--brand); line-height: 1; }
.yl-stats .num sup { font-size: 18px; }
.yl-stats .num .unit { font-size: 16px; color: var(--ink); font-weight: 400; margin-left: 4px; }
.yl-stats .name { margin-top: 12px; color: var(--gray); font-size: 14px; letter-spacing: 2px; }

/* ============================================================
   6. 产品中心
   ============================================================ */
/* 产品中心：左标题 + 右按钮，分类卡无缝拼接，悬停文字底变红 */
.yl-prod .prod-wrap { max-width: 1780px; margin: 0 auto; padding: 0 50px; }
.yl-prod .prod-head {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px;
}
.yl-prod .prod-head .en { font-size: 32px; font-weight: 700; letter-spacing: 2px; color: var(--ink); text-transform: uppercase; }
.yl-prod .prod-head .cn {
  display: flex; align-items: center; gap: 16px; margin-top: 8px;
  font-size: 18px; letter-spacing: 4px; color: var(--gray);
}
.yl-prod .prod-head .cn i { width: 56px; height: 2px; background: var(--brand); }
.yl-prod .prod-more {
  flex: none; background: var(--brand); color: #fff; padding: 11px 32px;
  font-size: 14px; letter-spacing: 2px; transition: background .25s;
}
.yl-prod .prod-more:hover { background: var(--brand-dark); color: #fff; }
.yl-prod .grid { display: flex; }
.yl-prod .card-p { flex: 1; background: #fff; }
.yl-prod .card-p .cap {
  display: flex; flex-direction: column; justify-content: center;
  height: 96px; padding: 0 26px; background: #fff; color: var(--ink);
  transition: background .3s, color .3s;
}
.yl-prod .card-p .cap b { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.yl-prod .card-p .cap small { font-size: 11px; color: #9a9a9a; letter-spacing: .5px; margin-top: 5px; text-transform: uppercase; transition: color .3s; }
.yl-prod .card-p .pic { height: 400px; overflow: hidden; }
.yl-prod .card-p .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.yl-prod .card-p:hover .cap { background: var(--brand); color: #fff; }
.yl-prod .card-p:hover .cap small { color: rgba(255,255,255,.8); }
.yl-prod .card-p:hover .pic img { transform: scale(1.05); }
.yl-more { text-align: center; margin-top: 40px; }
.yl-more a {
  display: inline-block; background: var(--brand); color: #fff; padding: 12px 46px;
  border-radius: 3px; font-size: 15px; letter-spacing: 3px;
}
.yl-more a:hover { background: var(--brand-dark); color: #fff; }

/* ============================================================
   7. 工程案例
   ============================================================ */
/* 工程案例：通栏轮播，标题叠图，红色渐变从左到右变透明 */
.yl-case { background: #fff; }
.yl-case .case-head { max-width: 1780px; margin: 0 auto 38px; padding: 0 50px; }
.yl-case .case-head .en { font-size: 32px; font-weight: 700; letter-spacing: 2px; color: var(--ink); text-transform: uppercase; }
.yl-case .case-head .cn {
  display: flex; align-items: center; gap: 16px; margin-top: 8px;
  font-size: 18px; letter-spacing: 4px; color: var(--gray);
}
.yl-case .case-head .cn i { width: 56px; height: 2px; background: var(--brand); }
.yl-case .case-swiper { width: 100%; }
.yl-case .case-swiper .swiper-slide {
  position: relative; display: block; height: 640px;
  background-color: #2b3540; background-size: cover; background-position: center; background-repeat: no-repeat;
}
.yl-case .case-swiper .case-cap {
  position: absolute; left: 0; bottom: 13%; max-width: 64%;
  background: linear-gradient(90deg, #c7000b 0%, rgba(199,0,11,.72) 55%, rgba(199,0,11,0) 100%);
  padding: 24px 140px 24px 60px;
}
.yl-case .case-cap span { color: #fff; font-size: 20px; letter-spacing: 2px; }
.yl-case .case-cap i { font-style: normal; color: #fff; margin-left: 4px; }
.yl-case .swiper-pagination-bullet { background: #fff; opacity: .5; }
.yl-case .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }

/* ============================================================
   8. 新闻中心
   ============================================================ */
/* 新闻中心：左标题右按钮，左图右文整卡轮播 */
.yl-news .news-wrap { max-width: 1780px; margin: 0 auto; padding: 0 50px; }
.yl-news .news-head {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px;
}
.yl-news .news-head .en { font-size: 32px; font-weight: 700; letter-spacing: 2px; color: var(--ink); text-transform: uppercase; }
.yl-news .news-head .cn {
  display: flex; align-items: center; gap: 16px; margin-top: 8px;
  font-size: 18px; letter-spacing: 4px; color: var(--gray);
}
.yl-news .news-head .cn i { width: 56px; height: 2px; background: var(--brand); }
.yl-news .news-more {
  flex: none; background: #fff; border: 1px solid #ccc; color: #666;
  padding: 10px 34px; font-size: 14px; letter-spacing: 2px; transition: all .25s;
}
.yl-news .news-more:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.yl-news .news-swiper .swiper-slide { height: auto; }
.yl-news .news-card { display: flex; align-items: stretch; background: #fff; }
.yl-news .news-card .pic {
  position: relative; flex: 0 0 55%; max-width: 55%; overflow: hidden; min-height: 400px;
}
.yl-news .news-card .pic img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .5s;
}
.yl-news .news-card:hover .pic img { transform: scale(1.04); }
.yl-news .news-card .txt {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  background: #faf9f7; padding: 46px 64px;
}
.yl-news .news-card .date { font-size: 14px; color: #999; letter-spacing: 1px; }
.yl-news .news-card h3 {
  font-size: 22px; color: var(--ink); line-height: 1.5; margin: 14px 0 18px;
}
.yl-news .news-card p {
  margin: 0 0 28px; color: #888; font-size: 14px; line-height: 1.9; text-align: justify;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.yl-news .news-card .detail-btn {
  align-self: flex-start; background: var(--brand); color: #fff;
  padding: 9px 30px; border-radius: 999px; font-size: 13px; letter-spacing: 2px;
  transition: background .25s;
}
.yl-news .news-card:hover .detail-btn { background: var(--brand-dark); }
.yl-news .news-swiper .swiper-pagination { position: static; margin-top: 24px; text-align: center; }
.yl-news .news-swiper .swiper-pagination-bullet { background: #ccc; opacity: 1; }
.yl-news .news-swiper .swiper-pagination-bullet-active { background: var(--brand); width: 22px; border-radius: 4px; }

/* ============================================================
   9. 底部 CTA（设计图整图 yinglian_17，文字已含在图内）
   ============================================================ */
.yl-cta {
  aspect-ratio: 1920 / 323; min-height: 120px;
  background: #B81C2A url(../images/yinglian_17.jpg) center / cover no-repeat;
}

/* ============================================================
   10. 页脚（红底 #B81C2A，与 LOGO 图 yinglian_20 底色一致）
   ============================================================ */
.yl-footer { background: #B81C2A; color: #fff; padding: 48px 0 0; }
.yl-footer .cols { display: flex; gap: 34px; }
.yl-footer .brand-col { flex: 1.25; min-width: 0; }
.yl-footer .brand-col img { height: 50px; display: block; }
.yl-footer .social { display: flex; gap: 12px; margin-top: 26px; }
.yl-footer .social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .25s, color .25s;
}
.yl-footer .social a:hover { background: #fff; color: #B81C2A; }
.yl-footer .col { flex: 1; min-width: 0; }
.yl-footer .col h5 { font-size: 16px; color: #fff; margin-bottom: 20px; letter-spacing: 2px; font-weight: 700; }
.yl-footer .col ul { margin: 0; padding: 0; }
.yl-footer .col li { list-style: none; margin-bottom: 12px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.88); }
.yl-footer .col li a { color: rgba(255,255,255,.88); }
.yl-footer .col li a:hover { color: #fff; text-decoration: underline; }
.yl-copyright {
  border-top: 1px solid rgba(255,255,255,.22); margin-top: 42px;
  color: rgba(255,255,255,.88); text-align: center; padding: 18px 10px; font-size: 13px;
}
.yl-copyright a { color: rgba(255,255,255,.88); }
.yl-copyright a:hover { color: #fff; }

/* 内页页脚（白底独立样式） */
.yl-footer--light { background: #fff; border-top: 1px solid var(--line); padding-top: 50px; }
.yl-footer--light .col h5 { color: var(--ink); }
.yl-footer--light .col li { color: #888; }
.yl-footer--light .col li a { color: #888; }
.yl-footer--light .col li a:hover { color: var(--brand); text-decoration: none; }
.yl-footer--light .social a { background: #454545; border-color: #454545; }
.yl-footer--light .social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.yl-footer--light .yl-copyright { border-top: 1px solid var(--line); background: #fafafa; color: #999; margin-top: 44px; }
.yl-footer--light .yl-copyright a { color: #999; }
.yl-footer--light .yl-copyright a:hover { color: var(--brand); }

/* ============================================================
   11. 内页通用
   ============================================================ */
.yl-page-banner {
  height: 260px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(120% 160% at 70% 10%, #d4000e 0%, #a50009 55%, #7d0007 100%); color: #fff;
  position: relative; overflow: hidden;
}
.yl-page-banner h1 { font-size: 34px; letter-spacing: 5px; margin: 0 0 8px; }
.yl-page-banner .en { font-size: 13px; letter-spacing: 4px; opacity: .75; text-transform: uppercase; }
.yl-position {
  padding: 16px 0; color: #999; font-size: 13px; border-bottom: 1px solid var(--line);
}
.yl-position a { color: #999; }
.yl-position a:hover { color: var(--brand); }
.yl-page-body { padding: 50px 0 70px; }

/* 内页 Banner（图片版：栏目大图 + 右侧标题） */
.yl-page-banner--img {
  height: 440px;
  background-color: #4a4a4a; background-size: cover; background-position: center; background-repeat: no-repeat;
  justify-content: flex-end;
}
.yl-page-banner--img::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.38) 100%);
}
.yl-page-banner--img .banner-txt { position: relative; z-index: 1; text-align: left; margin-right: 10%; }
.yl-page-banner--img h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.yl-page-banner--img .en { color: rgba(255,255,255,.85); letter-spacing: 6px; text-transform: uppercase; }
.yl-page-banner--img .en::after {
  content: ""; display: inline-block; width: 8px; height: 8px; background: var(--brand); margin-left: 10px;
}

/* 分类选项卡（当前红色高亮，有子栏目时悬停下拉） */
.yl-cattabs { margin: 34px 0 30px; position: relative; z-index: 5; }
.yl-cattabs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.yl-cattabs li { position: relative; }
.yl-cattabs li > a {
  display: inline-block; background: #fff; border: 1px solid #ccc; color: #444;
  padding: 9px 30px; font-size: 14px; letter-spacing: 1px; border-radius: 999px;
  transition: all .25s;
}
.yl-cattabs li:hover > a, .yl-cattabs li.active > a {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.yl-cattabs .drop {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 150px; z-index: 20;
  background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 10px 24px rgba(0,0,0,.1);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s;
}
.yl-cattabs li:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.yl-cattabs .drop a {
  display: block; padding: 9px 20px; font-size: 13px; color: #555; white-space: nowrap;
}
.yl-cattabs .drop a:hover { background: #f7f6f4; color: var(--brand); }

/* 分类选项卡·文字型（新闻列表页：当前红色文字，无底色） */
.yl-cattabs--line { margin: 0; border-bottom: 1px solid var(--line); }
.yl-cattabs--line ul { justify-content: center; gap: 0; }
.yl-cattabs--line li > a {
  background: none; border: none; border-radius: 0; box-shadow: none;
  padding: 17px 36px; font-size: 15px; letter-spacing: 1px; color: #555;
}
.yl-cattabs--line li > a:hover { color: var(--brand); background: none; }
.yl-cattabs--line li.active > a, .yl-cattabs--line li:hover > a {
  background: none; border-color: transparent; color: var(--brand);
}

/* 新闻列表页（日期 + 缩略图 + 标题摘要 + MORE） */
.nl-title { text-align: center; font-size: 26px; font-weight: 700; letter-spacing: 3px; color: var(--ink); margin: 46px 0 8px; }
.nl-item { display: flex; align-items: center; gap: 28px; padding: 30px 0; }
.nl-date { flex: none; width: 96px; text-align: center; position: relative; }
.nl-date::after {
  content: ""; position: absolute; right: -16px; top: 50%; margin-top: -1px;
  width: 16px; height: 3px; background: var(--brand);
}
.nl-date b { display: block; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.nl-date span { display: block; font-size: 13px; color: #999; margin-top: 5px; }
.nl-pic { flex: none; display: block; width: 210px; height: 140px; overflow: hidden; }
.nl-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.nl-item:hover .nl-pic img { transform: scale(1.06); }
.nl-txt { flex: 1; min-width: 0; }
.nl-txt h4 { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.nl-txt h4 a { color: var(--ink); }
.nl-txt h4 a:hover { color: var(--brand); }
.nl-txt p {
  margin: 0; color: #999; font-size: 13px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nl-more {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-size: 13px; letter-spacing: 1px;
  padding: 10px 24px; border-radius: 999px; transition: background .25s;
}
.nl-more i { font-style: normal; transition: transform .25s; }
.nl-more:hover { background: #9e0009; color: #fff; }
.nl-more:hover i { transform: translateX(4px); }

/* 产品列表（一行4个，悬停红色边框） */
.yl-plist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yl-plist .card-p {
  width: auto; display: flex; flex-direction: column; background: #fff;
  border: 1px solid #ececec; border-radius: 0; overflow: hidden;
  outline: 1px solid transparent; outline-offset: -2px;
  transition: border-color .25s, outline-color .25s;
}
.yl-plist .card-p:hover {
  transform: none; box-shadow: none;
  border-color: var(--brand); outline-color: var(--brand);
}
.yl-plist .card-p .pic { height: auto; aspect-ratio: 6 / 5; overflow: hidden; }
.yl-plist .card-p .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.yl-plist .card-p:hover .pic img { transform: scale(1.05); }
.yl-plist .card-p .cap {
  background: #f7f6f4; color: #555; font-size: 14px; text-align: center;
  padding: 13px 10px; letter-spacing: 1px;
  transition: background .25s, color .25s;
}
.yl-plist .card-p:hover .cap { background: var(--brand); color: #fff; }

/* ============================================================
   12. 产品详情页
   ============================================================ */
.yl-pd { padding: 30px 0 70px; }
.pd-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.yl-position--sq { border-bottom: none; padding: 0; display: flex; align-items: center; }
.yl-position--sq::before { content: ""; width: 10px; height: 10px; background: #222; margin-right: 10px; flex: none; }
.pd-back {
  flex: none; background: var(--brand); color: #fff; font-size: 13px; letter-spacing: 1px;
  padding: 8px 24px; border-radius: 999px; transition: background .25s;
}
.pd-back:hover { background: #9e0009; color: #fff; }

.pd-main { display: flex; gap: 44px; margin-top: 34px; align-items: flex-start; }
.pd-gallery {
  flex: 0 0 46%; min-width: 0; border: 1px solid rgba(199,0,11,.45); padding: 34px 26px 24px; box-sizing: border-box;
}
.pd-mainpic { height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-mainpic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumbwrap { position: relative; margin-top: 26px; padding: 0 34px; }
.pd-thumbs { overflow: hidden; }
.pd-thumbs .swiper-slide { cursor: pointer; opacity: .65; border: 1px solid transparent; transition: opacity .25s, border-color .25s; box-sizing: border-box; }
.pd-thumbs .swiper-slide img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.pd-thumbs .swiper-slide:hover { opacity: 1; }
.pd-thumbs .swiper-slide.active { opacity: 1; border-color: var(--brand); }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 44px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: #bbb; font-size: 30px; line-height: 1; user-select: none; transition: color .2s;
}
.pd-nav:hover { color: var(--brand); }
.pd-prev { left: 0; }
.pd-next { right: 0; }
.pd-nav.swiper-button-disabled { opacity: .35; cursor: default; }

.pd-info { flex: 1; min-width: 0; }
.pd-info h1 { font-size: 26px; color: var(--brand); margin: 0 0 16px; letter-spacing: 1px; }
.pd-info::before { content: none; }
.pd-info { border-bottom: 2px solid var(--brand); padding-bottom: 22px; }
.pd-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.pd-row .lab {
  flex: none; background: var(--brand); color: #fff; font-size: 13px; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 3px;
}
.pd-row b { font-weight: 500; color: #444; font-size: 14px; }
.pd-tag {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  width: calc(33.33% - 8px); margin: 10px 8px 0 0; box-sizing: border-box;
  background: #ececec; color: #333; font-size: 14px; padding: 11px 14px;
}
.pd-tag svg { color: #222; flex: none; }
.pd-pano {
  display: inline-block; border: 1px solid var(--brand); color: var(--brand);
  font-size: 13px; padding: 7px 22px; border-radius: 3px; transition: all .25s;
}
.pd-pano:hover { background: var(--brand); color: #fff; }

.pd-detail { margin-top: 70px; }
.pd-dtitle { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--ink); }
.pd-dtitle span { font-size: 14px; font-weight: 400; color: #999; margin-left: 10px; letter-spacing: 1px; }
.pd-content { max-width: 900px; margin: 34px auto 0; color: #555; font-size: 14px; line-height: 2; }
.pd-content img { max-width: 100%; height: auto; }
.pd-content p { margin: 0 0 14px; }
.yl-pagenav { text-align: center; margin-top: 40px; }
.yl-pagenav a, .yl-pagenav span {
  display: inline-block; min-width: 38px; height: 38px; line-height: 36px; padding: 0 12px;
  border: 1px solid var(--line); margin: 0 4px; border-radius: 3px; color: #666; font-size: 14px;
}
.yl-pagenav span.cur, .yl-pagenav a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 文章详情 */
.yl-article h1 { font-size: 24px; text-align: center; margin: 10px 0; }
.yl-article .meta { text-align: center; color: #999; font-size: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.yl-article .content { line-height: 2.1; color: #444; }
.yl-article .content img { max-width: 100%; height: auto; }

/* 留言表单 */
.yl-form { max-width: 620px; margin: 0 auto; }
.yl-form .form-control { border-radius: 3px; border-color: var(--line); padding: 11px 14px; }
.yl-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(199,0,11,.12); }
.yl-form label { font-size: 14px; color: #555; }
.yl-form .btn-submit { background: var(--brand); border: 0; color: #fff; padding: 11px 42px; letter-spacing: 3px; border-radius: 3px; }
.yl-form .btn-submit:hover { background: var(--brand-dark); }

/* ============================================================
   12. 响应式
   ============================================================ */
@media (max-width: 1280px) {
  .yl-nav > li > a { padding: 0 14px; font-size: 15px; }
  .yl-tel { padding-left: 14px; }
  .yl-tel b { font-size: 16px; }
}
@media (max-width: 1100px) {
  .yl-tel { display: none; }
}
@media (max-width: 991px) {
  .yl-banner.bn-pc { display: none; }
  .yl-banner.bn-pc.force-show { display: block; }
  .yl-banner.bn-m { display: block; }
  .yl-burger { display: block; }
  .yl-header .inner { height: 64px; }
  .yl-logo img { height: 40px; }
  .yl-nav {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; gap: 0; max-height: 0; overflow: auto; transition: max-height .35s ease;
    box-shadow: 0 12px 20px rgba(0,0,0,.08); z-index: 999;
  }
  .yl-nav.open { max-height: 70vh; }
  .yl-nav > li { height: 50px; }
  .yl-nav > li > a { height: 50px; border-bottom: 1px solid var(--bg-gray); padding: 0 24px; }
  .yl-nav > li > a::after { display: none; }
  .yl-nav .sub {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border-top: 0; background: var(--bg-gray); padding: 0; display: none;
  }
  .yl-nav li.open .sub { display: block; }
  .yl-banner .swiper-slide { min-height: 430px; background-position: left center; }
  .yl-banner .txt h2 { font-size: 36px; }
  .yl-banner .txt .slogan-en { font-size: 19px; }
  .yl-banner .fig img { max-height: 300px; }
  .yl-banner .words { display: none; }

  .yl-about { background-position: center center; }
  .yl-about .row-about { min-height: 0; }
  .yl-about .about-txt {
    flex: 1 1 100%; max-width: 100%;
    background: rgba(255,255,255,.72); border-radius: var(--radius); padding: 26px 24px;
  }
  .yl-stats { flex-wrap: wrap; margin-top: 36px; }
  .yl-stats .item { flex: 0 0 50%; padding: 16px 10px; }

  .yl-prod .prod-wrap { padding: 0 16px; }
  .yl-prod .prod-head { align-items: flex-start; }
  .yl-prod .prod-head .en { font-size: 22px; }
  .yl-prod .prod-grid-fix, .yl-prod .grid { flex-wrap: wrap; }
  .yl-prod .grid .card-p { flex: 0 0 50%; }
  .yl-prod .card-p .cap { height: 74px; padding: 0 16px; }
  .yl-prod .card-p .cap b { font-size: 15px; }
  .yl-prod .card-p .pic { height: 210px; }
  .yl-news .news-wrap { padding: 0 16px; }
  .yl-news .news-head { align-items: flex-start; }
  .yl-news .news-head .en { font-size: 22px; }
  .yl-news .news-more { padding: 8px 22px; font-size: 13px; }
  .yl-news .news-card { flex-direction: column; }
  .yl-news .news-card .pic { flex: none; max-width: 100%; min-height: 0; height: 220px; }
  .yl-news .news-card .pic img { position: static; }
  .yl-news .news-card .txt { padding: 26px 22px 30px; }
  .yl-news .news-card h3 { font-size: 17px; }
  .yl-news .news-card p { font-size: 13px; margin-bottom: 20px; }
  .yl-case .case-head { padding: 0 16px; }
  .yl-case .case-head .en { font-size: 22px; }
  .yl-case .case-swiper .swiper-slide { height: 320px; }
  .yl-case .case-swiper .case-cap { bottom: 10%; padding: 14px 60px 14px 20px; max-width: 85%; }
  .yl-case .case-swiper .case-cap span { font-size: 15px; }

  .yl-footer { padding-top: 36px; }
  .yl-footer .cols { flex-wrap: wrap; gap: 26px; }
  .yl-footer .brand-col { flex: 0 0 100%; }
  .yl-footer .col { flex: 1 1 40%; }
  .yl-copyright { margin-top: 30px; }

  .yl-page-banner--img { height: 220px; }
  .yl-page-banner--img .banner-txt { margin-right: 6%; }
  .yl-page-banner--img h1 { font-size: 24px; }
  .yl-cattabs { margin: 24px 0 20px; }
  .yl-cattabs ul { gap: 10px; }
  .yl-cattabs li > a { padding: 7px 20px; font-size: 13px; }
  .yl-plist { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .yl-cattabs--line li > a { padding: 12px 18px; font-size: 13px; }
  .nl-title { font-size: 21px; margin: 32px 0 4px; }
  .nl-item { display: block; padding: 20px 0; }
  .nl-date { width: auto; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .nl-date::after { display: none; }
  .nl-date b { font-size: 20px; }
  .nl-date span { margin-top: 0; }
  .nl-pic { width: 100%; height: 180px; margin: 10px 0; }
  .nl-txt h4 { font-size: 15px; }
  .nl-more { display: none; }
  .pd-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pd-main { flex-direction: column; gap: 26px; }
  .pd-gallery { flex: none; width: 100%; padding: 20px 14px 16px; box-sizing: border-box; }
  .pd-mainpic { height: 300px; }
  .pd-info h1 { font-size: 21px; }
  .pd-tag { width: calc(50% - 8px); }
  .pd-content { padding: 0 4px; }
}
@media (max-width: 575px) {
  .sec { padding: 46px 0; }
  .sec-head .en { font-size: 22px; }
  .yl-banner .swiper-slide { min-height: 380px; background-position: left center; }
  .yl-banner .txt { padding: 30px 0; }
  .yl-banner .txt h2 { font-size: 27px; letter-spacing: 2px; }
  .yl-banner .txt .logo-sub { font-size: 14px; letter-spacing: 4px; margin-bottom: 18px; }
  .yl-banner .txt .slogan { font-size: 14px; }
  .yl-banner .txt .slogan-en { font-size: 15px; }
  .yl-banner .fig { display: none; }
  .yl-stats .num { font-size: 30px; }
  .yl-cta { aspect-ratio: auto; min-height: 130px; }
  .yl-footer .col { flex: 1 1 100%; }
  .yl-page-banner h1 { font-size: 24px; }
  .yl-plist { gap: 10px; }
  .yl-case .case-swiper .swiper-slide { height: 230px; }
  .yl-case .case-swiper .case-cap { padding: 10px 40px 10px 16px; }
  .yl-case .case-swiper .case-cap span { font-size: 13px; }
  .yl-news .news-card .pic { height: 180px; }
}
