/* ============================================================
   漳州日耀照明科技有限公司 - 企业官网样式
   ============================================================ */
:root {
  --primary: #0a5aa8;
  --primary-dark: #084a8c;
  --accent: #ff8a00;
  --text: #333;
  --text-light: #777;
  --bg-gray: #f5f7fa;
  --white: #fff;
  --shadow: 0 8px 24px rgba(10, 90, 168, .10);
  --radius: 10px;
  --transition: all .35s cubic-bezier(.25, .8, .25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar .hot { color: #ffd08a; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.topbar .hot:hover { color: #fff; }
.ico { width: 14px; height: 14px; fill: currentColor; }

/* ---------- 导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: var(--transition);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 62px; width: auto; display: block; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  color: var(--text);
  border-radius: 6px;
  position: relative;
}
.nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s;
}
.nav > ul > li > a:hover,
.nav > ul > li > a.active { color: var(--primary); }
.nav > ul > li > a:hover::after,
.nav > ul > li > a.active::after { transform: scaleX(1); }
.caret { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; }

.sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  min-width: 160px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}
.sub::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
}
.sub li a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: #555;
  text-align: center;
  white-space: nowrap;
}
.sub li a:hover { background: var(--bg-gray); color: var(--primary); }
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- 轮播 ---------- */
.hero { position: relative; height: 78vh; min-height: 480px; max-height: 820px; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide-mask {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 38, 74, .72) 20%, rgba(6, 38, 74, .25) 65%);
}
.slide-text {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  gap: 18px;
}
.slide-text h2 {
  font-size: clamp(28px, 4.2vw, 50px);
  letter-spacing: 3px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  animation: fadeUp .9s .15s both;
}
.slide-text p {
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .92);
  animation: fadeUp .9s .3s both;
}
.hero-dots {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.hero-dots span {
  width: 34px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots span.on { background: var(--accent); width: 48px; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: var(--transition);
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--accent); }
.hero-arrow svg { width: 26px; height: 26px; fill: #fff; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.gray { background: var(--bg-gray); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head.left { text-align: left; }
.sec-head h3 { font-size: 32px; color: var(--text); letter-spacing: 3px; }
.sec-sub { font-size: 13px; color: #b5bcc6; letter-spacing: 5px; text-transform: uppercase; margin-top: 4px; }
.sec-line { display: block; width: 56px; height: 3px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }
.sec-head.left .sec-line { margin-left: 0; }
.sec-more { text-align: center; margin-top: 44px; }

.btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 40px;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-light { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------- 产品中心 ---------- */
.grid { display: grid; gap: 26px; }
.products-grid { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.p-img {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  overflow: hidden;
}
.p-img img { max-height: 100%; object-fit: contain; transition: transform .5s; }
.p-card:hover .p-img img { transform: scale(1.07); }
.p-card h4 {
  text-align: center;
  font-size: 16px;
  padding: 14px 12px 2px;
  color: var(--text);
}
.p-card p {
  text-align: center;
  font-size: 12px;
  color: #aab2bd;
  padding: 2px 12px 18px;
  letter-spacing: 1px;
}

/* ---------- 公司简介 ---------- */
.about { background: url("") no-repeat; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute;
  right: -18px; bottom: -24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge strong { font-size: 40px; line-height: 1; }
.about-badge strong span { color: var(--accent); }
.about-badge em { display: block; font-style: normal; font-size: 13px; margin-top: 6px; letter-spacing: 2px; }
.about-name { font-size: 20px; color: var(--primary); letter-spacing: 2px; margin-bottom: 14px; }
.about-txt p { color: #5a626c; margin-bottom: 14px; text-align: justify; }
.about-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 30px;
}
.num { text-align: center; background: var(--bg-gray); border-radius: 8px; padding: 14px 6px; }
.num strong { display: block; font-size: 26px; color: var(--primary); }
.num span { font-size: 12px; color: var(--text-light); }

/* ---------- 产品优势 ---------- */
.adv-grid { grid-template-columns: repeat(4, 1fr); }
.adv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 26px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.adv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #e8eef6; }
.adv-ico {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f1fb, #d3e6f8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.adv-card:hover .adv-ico { background: linear-gradient(135deg, var(--primary), #1f7ad1); }
.adv-ico svg { width: 34px; height: 34px; fill: var(--primary); transition: var(--transition); }
.adv-card:hover .adv-ico svg { fill: #fff; }
.adv-card h4 { font-size: 18px; margin-bottom: 10px; letter-spacing: 2px; }
.adv-card p { font-size: 13.5px; color: var(--text-light); }

/* ---------- 特点展示 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 70px;
}
.feature:last-child { margin-bottom: 0; }
.f-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.f-img img { width: 100%; height: 340px; object-fit: cover; transition: transform .6s; }
.feature:hover .f-img img { transform: scale(1.04); }
.f-txt h4 { font-size: 24px; color: var(--text); margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-left: 16px; }
.f-txt h4::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.f-txt p { color: #5a626c; }
.f-txt ul li { color: #5a626c; padding: 6px 0 6px 4px; position: relative; }
.f-txt ul { margin-bottom: 22px; }
.feature.reverse .f-img { order: 2; }

/* ---------- 应用案例 ---------- */
.case-grid { grid-template-columns: repeat(4, 1fr); }
.c-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  display: block;
}
.c-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.c-card:hover img { transform: scale(1.08); }
.c-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(4, 30, 58, .85));
  color: #fff;
  transition: var(--transition);
}
.c-cap h4 { font-size: 16px; letter-spacing: 1px; }
.c-cap p { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.c-card:hover .c-cap { padding-bottom: 22px; }

/* ---------- 解决方案 ---------- */
.sol-grid { grid-template-columns: repeat(4, 1fr); }
.s-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eef1f5;
  transition: var(--transition);
}
.s-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.s-card > img { height: 190px; width: 100%; object-fit: cover; }
.s-body { padding: 20px 18px 22px; }
.s-body h4 { font-size: 17px; margin-bottom: 8px; }
.s-body p { font-size: 13.5px; color: var(--text-light); margin-bottom: 12px; }
.s-more { color: var(--primary); font-size: 14px; }
.s-more:hover { color: var(--accent); }

/* ---------- 新闻动态 ---------- */
.news-grid { grid-template-columns: repeat(3, 1fr); }
.n-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eef1f5;
  transition: var(--transition);
}
.n-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.n-img { height: 200px; overflow: hidden; }
.n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.n-card:hover .n-img img { transform: scale(1.06); }
.n-body { padding: 20px 20px 18px; position: relative; }
.n-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: #e8f1fb;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.n-body h4 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.n-card:hover .n-body h4 { color: var(--primary); }
.n-body p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.n-body time { display: block; margin-top: 12px; font-size: 12px; color: #b0b8c3; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg-gray) 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(10, 90, 168, .07);
  border: 1px solid rgba(10, 90, 168, .06);
  transition: var(--transition);
  display: flex;
  align-items: center;
  text-align: left;
  gap: 18px;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 90, 168, .18);
}
.ct-ico {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 90, 168, .2);
}
.ct-ico svg { width: 26px; height: 26px; fill: #fff; }
.ct-info { flex: 1; min-width: 0; }
.contact-card h4 { font-size: 16px; margin: 0 0 6px; letter-spacing: 1px; color: #1e293b; font-weight: 600; }
.contact-card p { color: #64748b; font-size: 14px; margin: 0; line-height: 1.5; word-break: break-all; }
.contact-card a { color: var(--primary); font-weight: 700; font-size: 18px; text-decoration: none; transition: var(--transition); }
.contact-card a:hover { color: var(--accent); }

.contact-banner {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  color: #fff;
  padding: 38px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(10, 90, 168, .2);
}
.contact-banner .cb-text { flex: 1; min-width: 0; }
.contact-banner h3 { font-size: 26px; letter-spacing: 2px; margin: 0 0 8px; color: #fff; }
.contact-banner p { color: rgba(255, 255, 255, .9); margin: 0; font-size: 15px; line-height: 1.6; }
.contact-banner .btn { flex-shrink: 0; padding: 13px 36px; white-space: nowrap; }

/* ---------- 页脚 ---------- */
.footer { background: #10243c; color: rgba(255, 255, 255, .75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 60px 0 44px;
}
.f-col h5 {
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.f-logo {
  display: inline-block;
  background: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.f-logo img { height: 54px; width: auto; display: block; }
.f-col h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}
.f-col p, .f-col li { font-size: 13.5px; line-height: 2; }
.f-col li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   栏目页 / 列表页 / 详情页（PbootCMS 模板新增）
   ============================================================ */
.page-banner {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 58px 0 50px;
  text-align: center;
}
.page-banner h2 { font-size: 30px; letter-spacing: 3px; margin-bottom: 8px; }
.page-banner p { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.page-banner p a { color: rgba(255, 255, 255, .8); }
.page-banner p a:hover { color: #fff; }

/* 列表卡片 */
.list-grid { grid-template-columns: repeat(4, 1fr); }
.l-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.l-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.l-img { height: 220px; display: flex; align-items: center; justify-content: center; padding: 16px; background: #fff; }
.l-img img { max-height: 100%; object-fit: contain; transition: transform .5s; }
.l-card:hover .l-img img { transform: scale(1.06); }
.l-body { padding: 16px 16px 20px; text-align: center; }
.l-body h4 { font-size: 16px; margin-bottom: 6px; }
.l-card:hover .l-body h4 { color: var(--primary); }
.l-body p {
  font-size: 13px; color: var(--text-light);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.l-body time { display: block; margin-top: 10px; font-size: 12px; color: #b0b8c3; }

/* 分页 */
.paging { text-align: center; margin-top: 44px; }
.paging a, .paging span {
  display: inline-block;
  min-width: 38px;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
  background: #fff;
  transition: var(--transition);
}
.paging a:hover, .paging span.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 单页内容 */
.page-single { max-width: 940px; margin: 0 auto; line-height: 2; color: #4a525c; }
.page-single img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 14px 0; }
.page-single h1, .page-single h2, .page-single h3 { color: var(--text); margin: 22px 0 10px; }
.page-single p { margin-bottom: 14px; }
.about-intro { margin-bottom: 8px; }

/* 详情页 */
.detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.detail { background: #fff; }
.detail-title { font-size: 26px; line-height: 1.5; margin-bottom: 14px; letter-spacing: 1px; }
.detail-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: #9aa3ae;
  padding-bottom: 16px; border-bottom: 1px solid #eef1f5; margin-bottom: 24px;
}
.detail-content { line-height: 2; color: #4a525c; }
.detail-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 14px 0; }
.detail-content p { margin-bottom: 14px; }
.detail-nav {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid #eef1f5;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: #7c848e;
}
.detail-nav a { color: #4a525c; }
.detail-nav a:hover { color: var(--primary); }

/* 侧边栏 */
.side-box { background: var(--bg-gray); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.side-box h4 {
  font-size: 17px; margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.side-contact li { font-size: 14px; line-height: 2.1; color: #5a626c; word-break: break-all; }
.side-contact a { color: var(--primary); font-weight: 700; }
.side-list li { border-bottom: 1px dashed #e3e8ee; padding: 10px 0; }
.side-list li:last-child { border-bottom: none; }
.side-list a { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #5a626c; }
.side-list a:hover { color: var(--primary); }
.side-list img { width: 58px; height: 58px; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }


/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid, .adv-grid, .sol-grid, .case-grid, .list-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact-card { padding: 20px 16px; gap: 14px; }
  .ct-ico { width: 50px; height: 50px; }
  .ct-ico svg { width: 22px; height: 22px; }
  .contact-banner { padding: 32px 30px; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 26px; }
  .feature.reverse .f-img { order: 0; }
  .detail-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    top: 114px;
    left: 0; right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    z-index: 98;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: stretch; padding: 16px 6%; gap: 0; }
  .nav > ul > li > a { padding: 14px 8px; border-bottom: 1px solid #f0f2f5; font-size: 16px; }
  .nav > ul > li > a::after { display: none; }
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 6px 18px;
    display: none;
  }
  .sub::before { display: none; }
  .sub li a { text-align: left; padding: 8px 0; color: #888; }
  .has-sub.open .sub { display: block; }
  .has-sub.open > a { color: var(--primary); }

  .hero { height: 62vh; min-height: 420px; }
  .section { padding: 58px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h3 { font-size: 26px; }
  .products-grid, .adv-grid, .sol-grid, .case-grid, .news-grid, .contact-grid, .list-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; }
  .about-nums { grid-template-columns: repeat(2, 1fr); }
  .f-img img { height: 240px; }
  .page-banner { padding: 40px 0 34px; }
  .page-banner h2 { font-size: 23px; }
  .detail-title { font-size: 20px; }
  .side-list img { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .header-inner { height: 66px; }
  .nav { top: 102px; }
  .logo-img { height: 46px; }
  .contact-grid { gap: 14px; margin-bottom: 34px; }
  .contact-card { padding: 18px 16px; gap: 14px; }
  .ct-ico { width: 48px; height: 48px; }
  .ct-ico svg { width: 22px; height: 22px; }
  .contact-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
    gap: 18px;
  }
  .contact-banner .btn { width: auto; min-width: 160px; }
}

@media (max-width: 480px) {
  .contact-card { padding: 16px 14px; gap: 12px; }
  .contact-card h4 { font-size: 15px; }
  .contact-card p, .contact-card a { font-size: 14px; }
  .contact-banner h3 { font-size: 22px; }
  .contact-banner p { font-size: 14px; }
}
