/* =========================================================
   阿华制药 · 瑞生风格设计系统（零依赖）
   配色取自 ruishengyaofu.cn 的 Zing-Pro 主题 zing_color_f：
   主蓝 #2196f3 / 深蓝 #1d7dca / 强调红 #d00c1d / 藏青 #152545
   ========================================================= */
:root {
  --primary: #2196f3;
  --primary-dark: #1d7dca;
  --primary-deeper: #1976d2;
  --accent: #d00c1d;
  --navy: #152545;
  --ink: #333;
  --text: #666;
  --muted: #999;
  --light: #f4f9fe;
  --cream: #fcf8ec;
  --line: #e5e5e5;
  --footer-bg: #2296f3;
  --footer-deep: #1E88E5;
  --container: 1200px;
  --radius: 4px;
  --btn-radius: 30px;
  --shadow: 0 2px 14px rgba(21, 37, 69, .08);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; border: 0; display: block; }
a { color: var(--text); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1.4rem; outline: none; }

.container, .page-width { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* ============ 顶部信息头 header-v2 ============ */
.header-area { background: #fff; padding: 20px 0; }
.header-area .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { display: inline-block; }
.logo img { height: 58px; width: auto; }
.header-contact-info ul { display: flex; gap: 45px; margin: 5px 0; }
.header-contact-info ul li { display: flex; align-items: center; }
.iocn-holder { width: 48px; height: 48px; flex: none; }
.iocn-holder span {
  display: block; width: 48px; height: 48px; border: 2px solid #f3f3f3;
  border-radius: 50%; color: var(--primary); transition: all .5s ease;
  position: relative;
}
.iocn-holder span svg { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; }
.header-contact-info ul li:hover .iocn-holder span { border-color: var(--primary); }
.text-holder { padding-left: 15px; }
.text-holder h5 { color: #3d3d3d; font-size: 1.6rem; font-weight: 700; line-height: 2rem; margin: 0 0 5px; }
.text-holder h6 { color: var(--muted); font-size: 1.6rem; font-weight: 400; }
.text-holder h6 a { color: var(--muted); }
.text-holder h6 a:hover { color: var(--primary); }

/* ============ 主导航 mainmenu-area ============ */
.mainmenu-area { background: var(--primary); display: block; position: relative; z-index: 900; }
.mainmenu-area .row { display: flex; align-items: stretch; }
.main-menu { flex: 1; }
.main-menu .navigation { display: flex; }
.main-menu .navigation > li { position: relative; border-right: 1px solid rgba(244, 249, 254, .08); }
.main-menu .navigation > li:first-child { border-left: 1px solid rgba(244, 249, 254, .08); }
.main-menu .navigation > li > a {
  color: #fff; display: block; font-size: 1.4rem; font-weight: 700;
  padding: 22px 28px 21px; position: relative; transition: background .3s ease;
}
.main-menu .navigation > li.current-menu-item > a,
.main-menu .navigation > li:hover > a { background: var(--primary-dark); color: #fff; }
.main-menu .navigation > li > ul {
  position: absolute; left: 0; top: 140%; width: 270px; background: #fff;
  border-bottom: 5px solid var(--primary); box-shadow: 0 1px 2px #aaa;
  opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 999;
}
.main-menu .navigation > li:hover > ul { top: 100%; opacity: 1; visibility: visible; }
.main-menu .navigation > li > ul > li { border-top: 1px solid #f0f0f0; }
.main-menu .navigation > li > ul > li:first-child { border-top: none; }
.main-menu .navigation ul.sub-menu li a {
  background: #fff; color: #3b3f44; font-size: 1.4rem;
  display: block; padding: 15px 12px; position: relative; transition: all .3s ease;
}
.main-menu .navigation ul.sub-menu li a::before {
  content: "-"; color: var(--primary); font-size: 2.4rem; line-height: 9px;
  margin-right: 5px; opacity: 0; display: inline-block; vertical-align: middle;
  transform: translateX(-10px); transition: all .3s ease;
}
.main-menu .navigation ul.sub-menu li:hover a { padding-left: 20px; padding-right: 20px; color: var(--primary); }
.main-menu .navigation ul.sub-menu li:hover a::before { opacity: 1; transform: translateX(0); }

/* 搜索 */
.top-search-box { position: relative; display: flex; align-items: center; }
.top-search-box > button {
  background: var(--primary-dark); border: 2px solid var(--primary-dark);
  color: #fff; width: 60px; height: 60px; font-size: 1.5rem; transition: all .3s ease;
}
.top-search-box > button:hover { background: var(--navy); border-color: var(--navy); }
.top-search-box .search-box {
  position: absolute; right: 0; top: 140%; width: 300px; background: #fff;
  border: 2px solid #f5f5f5; box-shadow: 0 6px 24px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 999;
}
.top-search-box:hover .search-box, .top-search-box.open .search-box { top: 100%; opacity: 1; visibility: visible; }
.top-search-box .search-box form { position: relative; }
.top-search-box input {
  width: 100%; height: 45px; border: 1px solid #fff; padding: 0 60px 0 10px;
  font-weight: 300;
}
.top-search-box .search-box button {
  position: absolute; right: 0; top: 0; width: 45px; height: 45px;
  background: #fff; border: none; color: var(--navy); font-size: 1.3rem;
}

/* ============ 移动端导航 ============ */
.touch-top { display: none; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); position: relative; z-index: 950; }
.touch-top-wrapper { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.touch-logo img { height: 42px; }
.touch-toggle {
  background: none; border: none; width: 44px; height: 44px; position: relative;
}
.touch-toggle span, .touch-toggle span::before, .touch-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
  position: absolute; left: 11px; transition: all .3s ease;
}
.touch-toggle span { top: 21px; }
.touch-toggle span::before { top: -7px; left: 0; }
.touch-toggle span::after { top: 7px; left: 0; }
.touch-toggle.active span { background: transparent; }
.touch-toggle.active span::before { top: 0; transform: rotate(45deg); }
.touch-toggle.active span::after { top: 0; transform: rotate(-45deg); }
.touch-toggle-content {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.12); max-height: 70vh; overflow-y: auto;
}
.touch-toggle-content.open { display: block; }
.touch-menu > li { border-top: 1px solid #f0f0f0; }
.touch-menu > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 20px; font-size: 1.5rem; font-weight: 700; color: var(--ink);
}
.touch-menu .sub-menu { display: none; background: var(--light); }
.touch-menu .sub-menu li a { display: block; padding: 11px 30px; font-size: 1.35rem; color: var(--text); }
.touch-menu .caret { transition: transform .3s ease; color: var(--muted); }
.touch-menu li.open .caret { transform: rotate(180deg); }
.touch-menu li.open > .sub-menu { display: block; }

/* ============ 首页轮播 ============ */
.responsive-carousel { background: #ecedef; overflow: hidden; position: relative; }
.carousel-viewport { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s ease; }
.carousel-item { min-width: 100%; position: relative; }
.carousel-item img { width: 100%; height: auto; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 12%; text-align: center;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); pointer-events: none;
}
.carousel-caption h2 { color: #fff; font-size: 3.6rem; letter-spacing: .06em; margin-bottom: 10px; }
.carousel-caption p { font-size: 1.6rem; letter-spacing: .12em; opacity: .95; }
.carousel-direction a {
  display: block; width: 46px; height: 72px; line-height: 72px; text-align: center;
  position: absolute; top: 50%; margin-top: -36px; z-index: 100;
  background: rgba(21, 37, 69, .25); color: #fff; font-size: 2.6rem;
  opacity: 0; transition: all .3s ease; user-select: none;
}
.carousel-direction a:hover { background: var(--primary); }
.carousel-direction a.prev { left: 0; }
.carousel-direction a.next { right: 0; }
.responsive-carousel:hover .carousel-direction a { opacity: 1; }
.carousel-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 100; }
.carousel-dots button {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.5); margin: 0 5px; transition: all .3s ease;
}
.carousel-dots button.active { background: #fff; width: 26px; border-radius: 6px; }

/* ============ 通用模块 / 区块标题 ============ */
.module-full-screen { padding: 0 10px; }
.module-inner { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 {
  display: inline-block; vertical-align: middle; margin: 0 15px;
  font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: .04em;
}
.section-title .t-line {
  display: inline-block; vertical-align: middle; width: 80px; height: 1px;
  background: #d9d9d9; position: relative; top: -5px;
}
.section-title .sub {
  display: block; margin-top: 8px; color: var(--muted); font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .2em;
}
.section-title.on-light h2 { color: #fff; }
.section-title.on-light .t-line { background: rgba(255,255,255,.35); }
.section-title.on-light .sub { color: rgba(255,255,255,.75); }
.module-title-hl .section-title h2 { color: var(--accent); }

.more-btn {
  display: inline-block; line-height: 34px; padding: 0 35px;
  border: 1px solid #999; color: #666; font-size: 1.4rem; transition: all .5s ease;
}
.more-btn:hover, .more-btn:active { background: var(--navy); border-color: var(--navy); color: #fff; }
.more-center { clear: both; margin-top: 35px; text-align: center; }

/* ============ 关于区块 ============ */
.about-module .module-inner { background: var(--cream); }
.about-module .col { display: flex; gap: 3%; align-items: center; }
.about-module .col-img { width: 48.5%; }
.about-module .col-img img { width: 100%; box-shadow: var(--shadow); }
.about-module .col-txt { width: 48.5%; }
.about_describe .title { text-align: left; font-size: 2.4rem; color: var(--ink); margin-bottom: 6px; }
.about_describe .title-en {
  color: var(--primary); font-size: 1.3rem; letter-spacing: .25em;
  text-transform: uppercase; margin-bottom: 20px; display: block;
}
.about_describe p { margin-bottom: 15px; font-size: 1.5rem; line-height: 1.9; text-align: justify; }
.about_describe p.clamp-4 {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.about-module .more-btn { margin-top: 8px; }

/* ============ 产品区块 ============ */
.product-grid { display: flex; flex-wrap: wrap; margin: 0 -1%; }
.product-grid li { width: 23.5%; margin: 0 1% 20px; }
.product-card { display: block; text-align: center; }
.product-card .pimg { overflow: hidden; position: relative; background: #f7f7f7; }
.product-card .pimg img { width: 100%; transition: all .3s ease-out; }
.product-card:hover .pimg img { transform: scale(1.12); }
.product-card h2 {
  font-size: 1.6rem; font-weight: 400; margin: 15px 0 0; color: #4d4d4d;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s ease;
}
.product-card:hover h2 { color: var(--accent); }
.product-badge {
  position: absolute; left: 0; top: 12px; background: var(--primary); color: #fff;
  font-size: 1.2rem; padding: 3px 10px;
}

/* ============ CTA / 视频区块 ============ */
.cta-section {
  position: relative; padding: 110px 0; background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.cta-section::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: #000; opacity: .68;
}
.cta-section .container { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.cta-section .sec-title { margin-bottom: 0; max-width: 62%; }
.sec-title .kicker {
  position: relative; display: block; font-size: 1.5rem; line-height: 2.4rem;
  color: rgba(255,255,255,.85); padding-left: 40px; text-transform: uppercase;
  letter-spacing: .15em; margin-bottom: 15px;
}
.sec-title .kicker::before {
  content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 30px; background: #ed7902;
}
.sec-title h2 { color: #fff; font-size: 3.2rem; line-height: 1.4; }
.sec-title p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 1.5rem; }
.cta-link { position: relative; display: inline-flex; align-items: center; gap: 20px; }
.cta-link .icon {
  width: 80px; height: 80px; line-height: 78px; text-align: center;
  border: 2px solid #eee; border-radius: 50%; background: rgba(255,255,255,.28);
  color: #fff; transition: all .3s ease; flex: none;
}
.cta-link .icon svg { width: 26px; height: 26px; vertical-align: middle; }
.cta-link:hover .icon { background: var(--primary); border-color: var(--primary); transform: scale(1.05); }
.cta-link .txt { color: #fff; font-size: 1.6rem; letter-spacing: .1em; }

/* ============ 新闻时间块 ============ */
.news-cols { display: flex; flex-wrap: wrap; margin: 0 -2.5%; }
.news-cols > li { width: 45%; margin: 0 2.5% 0; }
.news-list .entry-item {
  position: relative; padding-left: 80px; min-height: 76px;
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dotted #ccc;
}
.news-list .time {
  position: absolute; left: 0; top: 4px; width: 60px; background: #f2f2f2;
  text-align: center; font-family: Arial, sans-serif; transition: background .3s ease;
}
.news-list .entry-item:hover .time { background: var(--primary); }
.news-list .entry-item:hover .time .time-day,
.news-list .entry-item:hover .time .time-date { color: #fff; }
.news-list .time .time-day {
  display: block; line-height: 40px; border-bottom: 1px solid #E1E1E1;
  color: #666; font-size: 2.6rem;
}
.news-list .time .time-date { display: block; color: #999; line-height: 2rem; font-size: 1.2rem; }
.news-list .entry-title { margin-bottom: 8px; }
.news-list .entry-title h2 {
  font-size: 1.8rem; line-height: 1.4; font-weight: 400; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s ease;
}
.news-list .entry-title a:hover h2 { color: var(--primary); }
.news-list .entry-summary {
  color: #808080; font-size: 1.3rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-cat {
  display: inline-block; font-size: 1.1rem; color: var(--primary);
  border: 1px solid currentColor; border-radius: 20px; padding: 1px 9px;
  margin-left: 8px; vertical-align: 2px; font-weight: 400;
}

/* ============ 统计数字 ============ */
.count-up-sec {
  position: relative; padding: 70px 0; background-size: cover;
  background-position: center; background-attachment: fixed;
}
.count-up-sec .overlay { position: absolute; inset: 0; background: #2365ac; opacity: .55; }
.count-up-sec .container { position: relative; display: flex; gap: 24px; }
.count-up-sec .inner { flex: 1; }
.counting_sl {
  text-align: center; background: rgba(0,0,0,.14); padding: 28px 0;
  position: relative; overflow: hidden;
}
.counting_sl::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0;
  background: rgba(0,0,0,.22); opacity: 0; transition: all .7s ease; z-index: -1;
}
.counting_sl:hover::before { height: 100%; opacity: 1; }
.counting_sl h2 { color: #fff; font-size: 3.4rem; font-weight: 700; margin-bottom: 2px; font-family: Arial, sans-serif; }
.counting_sl .dash { display: block; width: 50px; height: 1px; background: #fff; margin: 8px auto; opacity: .8; }
.counting_sl h4 { color: #fff; font-size: 1.6rem; font-weight: 400; letter-spacing: .08em; }

/* ============ 内页横幅 ============ */
.page-hero {
  position: relative; background-size: cover; background-position: center;
  padding: 86px 0; text-align: center; color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(21, 37, 69, .45); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 3rem; letter-spacing: .08em; }
.page-hero .crumb { margin-top: 12px; font-size: 1.3rem; color: rgba(255,255,255,.85); }
.page-hero .crumb a { color: rgba(255,255,255,.85); }
.page-hero .crumb a:hover { color: #fff; }

/* ============ 内页布局 ============ */
.page-content { padding: 55px 0 70px; }
.with-aside { display: flex; gap: 30px; align-items: flex-start; }
.page-main { flex: 1; min-width: 0; }
.page-aside { width: 260px; flex: none; }
.aside-box { border: 1px solid var(--line); margin-bottom: 25px; background: #fff; }
.aside-box .aside-title {
  background: var(--light); border-left: 3px solid var(--primary);
  padding: 13px 18px; font-size: 1.6rem; color: var(--ink);
}
.aside-box ul { padding: 10px 0; }
.aside-box ul li a {
  display: block; padding: 10px 18px; font-size: 1.4rem; color: var(--text);
  border-left: 3px solid transparent; transition: all .25s ease;
}
.aside-box ul li a:hover, .aside-box ul li a.active {
  color: var(--primary); border-left-color: var(--primary); background: var(--light);
}
.aside-contact { background: var(--navy); color: #cfd8e3; padding: 22px 20px; }
.aside-contact h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.aside-contact p { font-size: 1.35rem; line-height: 1.9; margin-bottom: 8px; }
.aside-contact a { color: #fff; }

/* 文章正文 */
.met-editor { font-size: 1.5rem; line-height: 2; color: #444; }
.met-editor p { margin-bottom: 16px; text-align: justify; }
.met-editor h2, .met-editor h3 { margin: 26px 0 14px; font-size: 2rem; }
.met-editor img { max-width: 100%; height: auto; margin: 14px auto; box-shadow: var(--shadow); }
.met-editor ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.met-editor table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 1.4rem; }
.met-editor table td, .met-editor table th {
  border: 1px solid var(--line); padding: 10px 12px; line-height: 1.7;
}
.met-editor table th { background: var(--light); color: var(--ink); text-align: left; }
.met-editor table tr:nth-child(even) td { background: #fafcfe; }

/* ============ 新闻列表页 ============ */
.filter-tabs { margin-bottom: 30px; }
.filter-tabs a {
  display: inline-block; font-size: 1.4rem; color: var(--ink); margin: 0 8px 8px 0;
  border-radius: 20px; padding: 6px 16px; background: #f9f9f9;
  border: 1px solid #e4e4e4; transition: all .3s ease;
}
.filter-tabs a.active, .filter-tabs a:hover {
  color: #fff; background: var(--primary); border-color: var(--primary);
}
.news-rows .entry-item {
  position: relative; padding-left: 90px; min-height: 88px;
  margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dotted #ccc;
}
.news-rows .time {
  position: absolute; left: 0; top: 4px; width: 68px; background: #f2f2f2;
  text-align: center; font-family: Arial, sans-serif; transition: background .3s ease;
}
.news-rows .entry-item:hover .time { background: var(--primary); }
.news-rows .time .time-day {
  display: block; line-height: 46px; border-bottom: 1px solid #E1E1E1; color: #666; font-size: 2.8rem;
}
.news-rows .time .time-date { display: block; color: #999; line-height: 2.2rem; font-size: 1.2rem; }
.news-rows .entry-item:hover .time .time-day, .news-rows .entry-item:hover .time .time-date { color: #fff; }
.news-rows .entry-title h2 {
  font-size: 1.8rem; font-weight: 400; color: var(--ink); line-height: 1.4; margin-bottom: 8px;
}
.news-rows .entry-title a:hover h2 { color: var(--primary); }
.news-rows .entry-summary {
  color: #808080; font-size: 1.35rem; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-thumb { float: right; width: 150px; margin-left: 20px; box-shadow: var(--shadow); }

/* ============ 产品列表 / 详情 ============ */
.cats-row { margin-bottom: 26px; }
.product-grid-3 li { width: 31.33%; }
.product-detail { display: flex; gap: 36px; align-items: flex-start; }
.product-detail .pd-img { width: 46%; flex: none; border: 1px solid var(--line); padding: 10px; }
.product-detail .pd-img img { width: 100%; }
.product-detail .pd-info h1 { font-size: 2.4rem; margin-bottom: 8px; }
.product-detail .pd-info .cat { color: var(--primary); font-size: 1.35rem; margin-bottom: 18px; }
.product-detail .pd-info .cat a { color: var(--primary); }
.pd-attrs { margin: 18px 0; }
.pd-attrs li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 1.4rem; display: flex; }
.pd-attrs li b { width: 92px; flex: none; color: var(--ink); font-weight: 700; }
.pd-btns { margin-top: 22px; display: flex; gap: 12px; }
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff; border: 1px solid var(--primary);
  border-radius: var(--btn-radius); font-size: 1.3rem; font-weight: 700;
  letter-spacing: 1px; padding: 12px 28px; line-height: 1; transition: all .3s ease;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--navy); border: 1px solid rgba(21,37,69,.35);
  border-radius: var(--btn-radius); font-size: 1.3rem; font-weight: 700;
  letter-spacing: 1px; padding: 12px 28px; line-height: 1; transition: all .3s ease;
}
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pd-spec { margin-top: 45px; }
.pd-spec h3 {
  font-size: 1.9rem; padding-bottom: 12px; margin-bottom: 22px;
  border-bottom: 2px solid var(--light); position: relative;
}
.pd-spec h3::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--primary);
}
.pd-recommend { margin-top: 45px; }
.pd-recommend h3 { font-size: 1.9rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--light); position: relative; }
.pd-recommend h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--primary); }

/* ============ 荣誉墙 ============ */
.honor-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.honor-grid li { width: calc(25% - 17px); }
.honor-grid a { display: block; border: 1px solid var(--line); padding: 10px; background: #fff; transition: all .3s ease; }
.honor-grid a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--primary); }
.honor-grid .himg { height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.honor-grid .himg img { max-height: 100%; object-fit: contain; }

/* ============ 发展历程 ============ */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 30px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
}
.timeline .year { font-family: Arial, sans-serif; font-size: 2.2rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.timeline .evt { font-size: 1.5rem; line-height: 1.9; color: #555; }
.timeline img { margin-top: 12px; max-width: 420px; box-shadow: var(--shadow); }

/* ============ 留言表单 ============ */
.msg-form { max-width: 760px; }
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; flex: 1; }
.form-group label { display: block; font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.form-group label i { color: var(--accent); font-style: normal; margin-left: 3px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid #ddd; padding: 11px 14px; font-size: 1.4rem;
  transition: border-color .3s ease; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-tip { font-size: 1.3rem; color: var(--muted); margin-top: 14px; }
.form-ok {
  display: none; margin-top: 16px; padding: 12px 16px; font-size: 1.4rem;
  background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32;
}
/* 蜜罐字段：对用户不可见，仅机器人会填写 */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }
/* 验证码 */
.cap-row { display: flex; align-items: center; gap: 14px; }
.cap-row input { flex: 1; }
.cap-img {
  width: 150px; height: 46px; border: 1px solid #ddd; background: #fff;
  cursor: pointer; flex: 0 0 auto; user-select: none;
}
.msg-form button[type=submit]:disabled { opacity: .6; cursor: not-allowed; }

/* ============ 空状态 ============ */
.empty-tip {
  text-align: center; padding: 46px 20px; color: var(--muted);
  background: var(--light); border: 1px dashed #cfe0f2; font-size: 1.45rem;
}

/* ============ 联系页 ============ */
.contact-grid { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 40px; }
.contact-grid li {
  width: calc(33.33% - 15px); background: var(--light); padding: 26px 24px;
  border-top: 3px solid var(--primary); transition: all .3s ease;
}
.contact-grid li:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-grid h3 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-grid p { font-size: 1.45rem; line-height: 1.9; color: var(--text); }
.contact-grid a { color: var(--primary); }
.map-box { border: 1px solid var(--line); }
.map-box img { width: 100%; }
.map-tip { font-size: 1.3rem; color: var(--muted); padding: 10px 14px; background: var(--light); }
.map-tip a { color: var(--primary); }

/* 联系方式页（文字版 + 销售区域表） */
.contact-plain { max-width: 960px; margin-bottom: 40px; }
.cp-name { font-size: 2.4rem; color: #333; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.cp-line { font-size: 1.5rem; color: #444; line-height: 2.1; }
.cp-line b { color: #333; }
.cp-line a { color: var(--primary); }
.cp-mail { text-decoration: underline; text-underline-offset: 3px; }
.cp-div { border: none; border-top: 1px solid #e3e6ea; margin: 28px 0; }
.contact-table { width: 100%; border-collapse: collapse; font-size: 1.45rem; }
.contact-table th, .contact-table td {
  border: 1px solid #e3e6ea; text-align: center; padding: 15px 12px; color: #444;
}
.contact-table th { background: #fafbfc; font-weight: 600; color: #333; }
.contact-table tbody tr:hover { background: #f4faff; }
.cp-note { margin-top: 14px; font-size: 1.3rem; color: #9aa3ab; }
@media (max-width: 640px) {
  .contact-table { font-size: 1.3rem; }
  .contact-table th, .contact-table td { padding: 10px 6px; }
  .cp-name { font-size: 2rem; }
}

/* ============ 页脚 ============ */
.footer-area { background: var(--footer-bg); padding: 60px 0; overflow: hidden; color: #c1c1c1; }
.footer-area .row { display: flex; gap: 30px; }
.footer-brand { width: 30%; }
.footer-widget { flex: 1; background: var(--footer-deep); padding: 40px 30px 30px; box-shadow: 1px 5px 8px rgba(16,90,150,.35); display: flex; gap: 30px; }
.footer-widget .col { flex: 1; }
.footer-logo img { background: #fff; padding: 8px 12px; height: 64px; width: auto; margin-bottom: 22px; }
.repairplus-info p { margin-bottom: 15px; color: rgba(255,255,255,.92); font-size: 1.4rem; line-height: 2.6rem; }
.single-footer-widget .title { padding-bottom: 25px; margin-top: -4px; }
.single-footer-widget .title h3 { color: #fff; font-size: 2rem; font-weight: 700; }
.services-list li { margin-bottom: 10px; padding-left: 15px; position: relative; }
.services-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  border-left: 5px solid rgba(255,255,255,.85); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.services-list li a { color: rgba(255,255,255,.92); font-size: 1.4rem; transition: all .7s ease; }
.services-list li a:hover { color: #fff; padding-left: 4px; }
.footer-contact-info li { position: relative; padding-left: 26px; margin-bottom: 13px; }
.footer-contact-info .icon-holder { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; color: rgba(255,255,255,.9); }
.footer-contact-info .icon-holder svg { width: 16px; height: 16px; }
.footer-contact-info h5 { color: rgba(255,255,255,.92); font-size: 1.4rem; font-weight: 400; line-height: 2.4rem; }
.footer-contact-info h5 b { font-weight: 500; color: #fff; }
.site-footer { background: #222; padding: 20px 0; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(187,187,188,.18); padding-top: 18px; }
.site-footer p { color: #9a9a9a; font-size: 1.3rem; line-height: 1.9; }
.site-footer a { color: #9a9a9a; }
.site-footer a:hover { color: #fff; }

/* ============ 悬浮咨询栏 ============ */
.float-bar {
  position: fixed; right: 12px; bottom: 15%; z-index: 800;
  display: flex; flex-direction: column; gap: 2px;
}
.float-bar a {
  width: 46px; height: 46px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .3s ease;
}
.float-bar a:hover { background: var(--primary-dark); color: #fff; }
.float-bar a svg { width: 20px; height: 20px; }
.float-bar .tip {
  position: absolute; right: 54px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: 1.25rem; padding: 6px 12px;
  white-space: nowrap; opacity: 0; visibility: hidden; transition: all .3s ease;
}
.float-bar a:hover .tip { opacity: 1; visibility: visible; }

/* ============ 灯箱 ============ */
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 16, 28, .88); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lightbox .lb-close {
  position: absolute; right: 26px; top: 20px; background: none; border: none;
  color: #fff; font-size: 3.4rem; line-height: 1; opacity: .8;
}
.lightbox .lb-close:hover { opacity: 1; }

/* 回到顶部 */
.back-top {
  position: fixed; right: 12px; bottom: 40px; width: 46px; height: 46px;
  background: var(--navy); color: #fff; border: none; font-size: 1.8rem;
  opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 790;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary); }

/* ============ 滚动出现动画 ============ */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1180px) {
  .header-contact-info ul { gap: 26px; }
  .main-menu .navigation > li > a { padding: 20px 17px; }
  .product-grid li, .product-grid-3 li { width: 31.33%; }
  .honor-grid li { width: calc(33.33% - 15px); }
}
@media (max-width: 992px) {
  .header-area, .mainmenu-area { display: none; }
  .touch-top { display: block; }
  .about-module .col { flex-direction: column; }
  .about-module .col-img, .about-module .col-txt { width: 100%; }
  .product-grid li, .product-grid-3 li { width: 48%; }
  .news-cols > li { width: 100%; }
  .count-up-sec .container { flex-wrap: wrap; }
  .count-up-sec .inner { flex: 0 0 48%; margin-bottom: 14px; }
  .count-up-sec { background-attachment: inherit; }
  .with-aside { flex-direction: column; }
  .page-aside { width: 100%; }
  .honor-grid li { width: calc(50% - 11px); }
  .contact-grid li { width: calc(50% - 11px); }
  .cta-section .sec-title { max-width: 100%; }
  .sec-title h2 { font-size: 2.4rem; }
  .footer-area .row { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
  .carousel-caption h2 { font-size: 2.4rem; }
  .carousel-caption p { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  .product-detail { flex-direction: column; }
  .product-detail .pd-img { width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
  .footer-widget { flex-wrap: wrap; }
  .footer-widget .col { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .product-grid li, .product-grid-3 li { width: 100%; }
  .honor-grid li { width: 100%; }
  .contact-grid li { width: 100%; }
  .count-up-sec .inner { flex: 0 0 100%; }
  .header-contact-info ul { gap: 12px; }
  .logo img { height: 44px; }
  .news-thumb { width: 104px; }
}
