/* ============================================================
   澳洁源环保官网（新站）全局样式：PC + 移动自适应
   ============================================================ */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #eaf5ee;
  --text: #2c3e50;
  --muted: #7f8c8d;
  --bg: #f7faf8;
  --card-shadow: 0 2px 12px rgba(0,0,0,.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--text); background: #fff; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-block; padding: 10px 28px; border-radius: 4px; border: 1px solid var(--green); color: var(--green); background: #fff; cursor: pointer; transition: .2s; font-size: 15px; }
.btn:hover { background: var(--green-light); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; font-weight: bold; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }

/* ---------- 顶部导航 ---------- */
.site-header { background: var(--green); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.header-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo img { height: 42px; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
/* LOGO 右侧中英文公司名（老站导航同款双行文字）；文字加立体阴影 */
.logo-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lt-cn { font-size: 18px; font-weight: bold; white-space: nowrap; text-shadow: 0 1px 0 rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.35); }
.lt-en { font-size: 11px; opacity: .85; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.nav { display: flex; flex-wrap: nowrap; gap: 4px; margin-left: auto; min-width: 0; }
.nav > li, .nav-more { position: relative; }
.nav > li > a, .nav-more > .more-btn { display: block; color: #fff; padding: 8px 16px; border-radius: 4px; font-size: 15px; white-space: nowrap; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 55%, rgba(0,0,0,.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 4px rgba(0,0,0,.22); transition: transform .15s, box-shadow .15s, background .15s; }
.nav > li > a:hover, .nav-more > .more-btn:hover { background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.1) 55%, rgba(0,0,0,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 6px rgba(0,0,0,.3); transform: translateY(-1px); }
/* 「更多」下拉（溢出收纳，JS 把放不下的菜单项移入） */
.nav-more { display: none; }
.nav-more.active { display: block; }
.nav-more > .more-btn { cursor: pointer; }
.nav-more > .more-btn::after { content: '\25BE'; margin-left: 6px; font-size: 12px; opacity: .85; }
.more-drop { display: none; position: absolute; top: 100%; right: 0; min-width: 180px; max-height: 70vh; overflow: auto; background: #fff; box-shadow: var(--card-shadow); border-radius: 4px; z-index: 99; }
.nav-more:hover .more-drop, .nav-more.open-click .more-drop { display: block; }
.more-drop a, .more-drop .more-group { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.more-drop a:hover { background: var(--green-light); color: var(--green); }
.more-drop .more-group { font-size: 12px; color: #999; padding-bottom: 4px; border-bottom: none; }
/* 下拉子菜单：浅绿背景；必须重置 ul 默认 margin/padding（否则顶部空一行、整体右移） */
.nav-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; margin: 0; padding: 6px 0; background: var(--green-light); box-shadow: var(--card-shadow); border-radius: 4px; overflow: hidden; z-index: 99; }
.nav > li:hover .nav-drop { display: block; }
.nav-drop a { display: block; padding: 10px 16px; color: var(--text); font-size: 14px; border-bottom: 1px solid rgba(74, 125, 87, 0.12); }
.nav-drop a:hover { background: #fff; color: var(--green); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* ---------- 轮播 ---------- */
.hero-carousel { position: relative; overflow: hidden; height: 460px; background: #123; }
.hero-carousel .slides, .hero-carousel .slide { height: 100%; }
.hero-carousel .slide { display: none; position: relative; }
.hero-carousel .slide.active { display: block; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-txt { position: absolute; left: 8%; bottom: 18%; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); max-width: 60%; }
.slide-txt h2 { font-size: 34px; margin-bottom: 8px; }
.slide-txt p { font-size: 16px; opacity: .9; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); margin: 0 5px; cursor: pointer; }
.dot.active { background: #fff; }
.arr { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.25); color: #fff; border: none; font-size: 22px; padding: 14px 12px; cursor: pointer; }
.arr.prev { left: 0; } .arr.next { right: 0; }
.arr:hover { background: rgba(0,0,0,.45); }

/* ---------- 页头 ---------- */
.page-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; padding: 48px 0; }
.page-hero h1 { font-size: 30px; }
.page-hero p { opacity: .85; margin-top: 6px; }
.breadcrumb { padding: 16px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* ---------- 通用节头 ---------- */
.sec-head { text-align: center; padding: 44px 0 26px; }
.sec-head h2 { font-size: 28px; position: relative; display: inline-block; padding-bottom: 12px; }
.sec-head h2::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 40px; height: 3px; background: var(--green); border-radius: 2px; }
.sec-head p { color: var(--muted); margin-top: 8px; }
/* 区块底部「查看更多」按钮（首页服务与支持/企业简介，对齐老站首页按钮） */
.sec-more { text-align: center; padding-bottom: 40px; }
.card-grid + .sec-more { margin-top: -20px; }

/* ---------- 核心业务 ---------- */
.feature-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 30px; }
.feature-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 28px 20px; text-align: center; transition: .25s; }
.feature-card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); border-color: var(--green-light); }
.f-icon { font-size: 40px; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--muted); min-height: 60px; }
.feature-card .more { color: var(--green); font-size: 13px; }

/* ---------- 数据优势 ---------- */
.stats-band { background: var(--green); color: #fff; padding: 36px 0; }
.stats-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat .num { font-size: 38px; font-weight: bold; }
.stat .num span { font-size: 18px; }
.stat .lbl { opacity: .85; font-size: 14px; }

/* ---------- 卡片网格（产品/案例/支持） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 40px; }
.project-cases .card-grid, .support-cards .card-grid { grid-template-columns: repeat(3, 1fr); }
/* 产品/案例/服务列表区块与页头横幅保持 30px 间距（覆盖区块标题默认 44px 顶距） */
section.product-cards, section.project-cases, section.support-cards { padding-top: 0; }
section.product-cards .sec-head, section.project-cases .sec-head, section.support-cards .sec-head { padding-top: 30px; }
section.product-cards .card-grid:first-child, section.project-cases .card-grid:first-child, section.support-cards .card-grid:first-child { padding-top: 30px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: .25s; }
.card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); }
.card-img { height: 200px; overflow: hidden; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { font-size: 16px; padding: 14px 14px 4px; }
.card p { font-size: 13px; color: var(--muted); padding: 0 14px 14px; }

/* ---------- 资质荣誉 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 40px; }
.qual-card { text-align: center; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.qual-card img { height: 200px; width: 100%; object-fit: contain; }
.qual-card p { font-size: 13px; margin-top: 8px; }

/* ---------- 新闻列表 ---------- */
.news-ul { padding-bottom: 40px; }
.news-ul li { border-bottom: 1px dashed #e5e5e5; }
.news-ul a { display: flex; justify-content: space-between; padding: 16px 4px; }
.news-ul a:hover .n-title { color: var(--green); }
/* 标题前绿色 10px 圆点 */
.n-title { font-size: 15px; position: relative; padding-left: 20px; }
.n-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: var(--green); border-radius: 50%; }
.news-ul time { color: var(--muted); font-size: 13px; white-space: nowrap; margin-left: 20px; }
/* 新闻列表分页（对齐老站：上一页/页码下拉/下一页，居中） */
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 6px 0 40px; }
.news-pagination .page-btn { padding: 7px 18px; border: 1px solid #d5e3d9; border-radius: 4px; background: #fff; color: #2d4a36; font-size: 14px; text-decoration: none; cursor: pointer; transition: all .2s ease; }
.news-pagination .page-btn:hover { background: #eaf5ee; border-color: var(--green); color: var(--green); }
.news-pagination .page-btn.disabled { color: #bbb; border-color: #e5e5e5; background: #fafafa; cursor: not-allowed; pointer-events: none; }
.news-pagination .page-info { color: #666; font-size: 14px; }
.news-pagination .page-select { padding: 4px 6px; border: 1px solid #d5e3d9; border-radius: 4px; color: #2d4a36; font-size: 14px; }

/* ---------- CTA 横幅 ---------- */
/* 列表页分类筛选按钮行（产品/案例/服务）：距页头 20px，按钮带浅绿背景 */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0 26px; }
.cat-filter .cat-btn { padding: 8px 22px; border: 1px solid #d5e3d9; border-radius: 20px; background: #eaf5ee; color: #2d4a36; font-size: 14px; text-decoration: none; transition: all .2s ease; }
.cat-filter .cat-btn:hover { border-color: var(--green); color: var(--green); background: #d9eede; }
.cat-filter .cat-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

.cta-banner { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; padding: 44px 0; background-size: cover; background-position: center; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-txt h2 { font-size: 24px; }
.cta-txt p { opacity: .85; }

/* ---------- 留言表单 ---------- */
.message-form { background: var(--bg); padding-bottom: 50px; }
.form-wrap { max-width: 640px; }
.msg-form { background: #fff; border-radius: 8px; padding: 26px; box-shadow: var(--card-shadow); }
.f-row { margin-bottom: 16px; }
.f-row label { display: block; font-size: 14px; margin-bottom: 6px; }
.f-row label i { color: #e74c3c; font-style: normal; }
.f-row input, .f-row textarea { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font-size: 14px; font-family: inherit; }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--green); }
.form-tip { font-size: 13px; margin-top: 10px; color: var(--muted); }
.form-tip.ok { color: var(--green); }
.form-tip.err { color: #e74c3c; }

/* ---------- 联系方式 ---------- */
.contact-info { padding-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 22px; }
.c-item h3 { font-size: 15px; color: var(--green); margin-bottom: 8px; }
.c-item p { font-size: 14px; word-break: break-all; }

/* ---------- 悬浮咨询 ---------- */
.floating-contact { position: fixed; right: 18px; bottom: 80px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--card-shadow); position: relative; }
.float-btn:hover { background: var(--green-dark); }
.float-btn.wechat { background: #07c160; }
.wechat-pop { display: none; position: absolute; right: 60px; top: 0; width: 160px; border: 4px solid #fff; border-radius: 6px; box-shadow: var(--card-shadow); }
.wechat-pop.show { display: block; }

/* ---------- 页脚 ---------- */
.site-footer { background: #22352a; color: #cfd8d2; margin-top: 20px; }
.footer-in { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 30px; padding: 40px 16px 24px; min-width: 0; }
.footer-in > .f-col { min-width: 0; } /* 防止长链接内容把列撑出容器，导致快捷导航被挤出显示不全 */
.f-col .f-title { color: #fff; font-size: 16px; margin-bottom: 12px; }
.f-col p { font-size: 13px; margin-bottom: 6px; }
/* 友情链接/快捷导航：固定两列、每行 2 个、上下靠左对齐；超长链接名省略号截断 */
.f-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.f-links a { display: block; font-size: 13px; color: #cfd8d2; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-links a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 16px; font-size: 12px; text-align: center; }

/* ---------- 详情页 ---------- */
/* 详情页内容列：900px 阅读列整体居中，面包屑/标题/正文左边线对齐 */
.detail-wrap { max-width: 932px; margin: 0 auto; padding: 0 16px; }
.detail-wrap .breadcrumb { padding: 16px 0; }
.detail-main { min-height: 400px; }

.about-sec { padding: 20px 0; }
.about-sec h2 { font-size: 22px; margin-bottom: 12px; padding-left: 10px; border-left: 4px solid var(--green); }
.about-html { font-size: 15px; line-height: 1.9; }
.about-html img { max-width: 100%; }
/* 发展历程（老站 about.section2.timeline） */
.timeline { list-style: none; padding-left: 0; margin: 8px 0 0; }
.timeline li { position: relative; padding: 0 0 18px 20px; border-left: 2px solid var(--green-light); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.timeline .year { font-weight: bold; color: var(--green); }
.timeline li p { margin: 4px 0 0; font-size: 14px; color: #555; }
/* 企业文化 / 荣誉资质（老站 about.section3.culture / section4.certifications） */
.culture-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.culture-item { background: var(--bg); border-radius: 6px; padding: 14px 16px; }
.culture-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--green); }
.culture-item p { font-size: 14px; color: #555; }
/* 荣誉资质（老站 about.section4.certifications） */
/* 荣誉资质：每行固定 4 个（窄屏自动降列 3/2/1） */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-item { text-align: center; }
.cert-item img { width: 100%; border-radius: 6px; border: 1px solid #e5e5e5; }
.cert-item h3 { font-size: 14px; margin-top: 8px; font-weight: normal; color: #555; }

/* ---------- 编辑器模式 ---------- */
.blk-wrap { position: relative; }
.blk-toolbar { position: absolute; top: 6px; right: 6px; display: none; gap: 4px; background: rgba(33,33,33,.85); border-radius: 6px; padding: 4px 8px; z-index: 500; align-items: center; }
.blk-wrap:hover .blk-toolbar { display: flex; }
.blk-name { color: #ffd54f; font-size: 12px; margin-right: 6px; }
.blk-toolbar button { background: none; border: none; color: #fff; cursor: pointer; font-size: 14px; padding: 2px 4px; }
.blk-toolbar button:hover { color: #ffd54f; }
[data-e][contenteditable="true"] { outline: 2px dashed #1e88e5; outline-offset: 2px; cursor: text; }
[data-e-img] { cursor: pointer; }
.blk-wrap[data-hidden="1"] > *:not(.blk-toolbar) { opacity: .35; }

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  /* 展开菜单：高度不超屏（header 56px + 可滚动），菜单项多时底部不再被截断 */
  .nav { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--green); flex-direction: column; padding: 8px 16px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.2); max-height: calc(100vh - 56px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .lt-cn { font-size: 15px; }
  .lt-en { font-size: 10px; }
  .nav.open { display: flex; }
  .nav-drop { position: static; display: block; box-shadow: none; background: rgba(0,0,0,.15); margin: 4px 0 8px; }
  .nav-drop a { color: #dfeee4; border-bottom: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-in { height: 56px; }
  .hero-carousel { height: 240px; }
  .slide-txt h2 { font-size: 20px; }
  .slide-txt { max-width: 80%; }
  .feature-wrap, .card-grid, .qual-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-cases .card-grid, .support-cards .card-grid { grid-template-columns: 1fr; }
  .stats-wrap { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 22px; }
  .sec-head h2 { font-size: 22px; }
  .floating-contact { right: 10px; bottom: 60px; }

}

/* ============================================================
   详情页版式（对齐老站：product-detail / service-detail / news-detail）
   规则提取自老站 css/style-6.62.css，仅作用于详情页区域
   ============================================================ */
/* 详情区容器（老站 .container 的定宽规则，仅限定详情页 section 内，不影响全站） */
.page-header .container, .product-detail .container, .service-detail .container, .news-detail .container { width: 100%; max-width: min(100%, 1400px); margin: 0 auto; padding: 0 clamp(16px, 2vw, 100px); box-sizing: border-box; }
.detail-page-wrap { width: 100%; }

.product-card:hover img,
.project-card:hover img,
.service-card:hover img,
.news-image:hover img,
.product-images img:hover,
.product-detail-images img:hover,
.tab-content img:hover,
.carousel-item:hover img {
    filter: saturate(1) brightness(1) contrast(1);
}

.news-detail h2,
.news-detail .detail-content h1 {
    color: #2d4a36 !important;
}

.page-header {
    background-color: #4a7d57 !important;
    color: #fff;
    min-height: 200px !important;
    padding: 60px 0 !important;
    text-align: center;
    box-sizing: border-box;
}

.page-header .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(20px, 2.5vw, 36px);
    margin: 0 0 12px 0;
    text-align: center;
    width: 100%;
}

.page-header p {
    font-size: clamp(18px, 1.2vw, 22px);
    opacity: 0.95;
    margin: 0;
    text-align: center;
    text-indent: 0;
    width: 100%;
}

.news-detail .btn {
    min-height: 40px;
    height: 40px;
    padding: 0 28px;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.product-detail .btn {
    min-height: 40px;
    height: 40px;
    padding: 0 28px;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.news-detail {
    padding: 60px 0;
    background-color: #f5f9f6;
}

.news-detail .detail-content {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.news-detail h2,
.news-detail .detail-content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2d4a36 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    text-shadow: 0 0 5px rgba(74, 125, 87, 0.5) !important;
}

.news-detail .news-date {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.news-title-center {
    text-align: center !important;
}

.news-detail .detail-content h2.news-title-center {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.news-detail .news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2d4a36;
    margin-bottom: 30px;
}

.news-detail .news-content p {
    margin-bottom: 20px;
    text-align: left !important;
    text-indent: 2em !important;
}

.news-detail .news-image {
    margin: 30px 0;
    text-align: center;
    width: 100%;
}

.news-detail .news-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-detail .news-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 15px auto !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block !important;
}

.news-detail .news-content p:has(img) {
    text-indent: 0;
    text-align: center;
}

.news-detail .image-container {
    margin: 20px 0;
    text-align: center;
}

.news-detail .image-container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-detail .news-share {
    margin: 40px 0;
    padding: 20px;
    background-color: #eaf5ee;
    border-radius: 8px;
}

.news-detail .news-share h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2d4a36;
}

.news-detail .share-buttons {
    display: flex;
    gap: 15px;
}

.news-detail .share-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #2d4a36;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-detail .share-btn:hover {
    background-color: #e0e0e0;
    color: #2d4a36;
}

.news-detail .news-nav {
    text-align: center;
    margin-top: 30px;
}

/* ==================== 联系我们页（对齐老站布局） ==================== */
/* 公司位置地图：1.0 原比例（容器全宽 1200×450，移动端 256 高） */
section.contact-map { padding: 40px 0 10px; background: #f5f9f6; }
section.contact-map h2 { font-size: 24px; margin-bottom: 24px; color: #2d4a36; text-align: center; }
.map-container { width: 100%; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(45, 74, 54, 0.1); background: #fff; }
.map-container iframe, .map-container embed { width: 100% !important; height: 450px !important; max-width: 100% !important; border: 0; display: block; }

/* 企业简介（老站布局：Tab 分页按钮 + 面板切换） */
.about-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 20px 0 34px; }
.about-tabs .about-tab { padding: 9px 26px; border: 1px solid #d5e3d9; border-radius: 20px; background: #eaf5ee; color: #2d4a36; font-size: 15px; text-decoration: none; transition: all .2s ease; }
.about-tabs .about-tab:hover { border-color: var(--green, #4a7d57); background: #d9eede; color: #4a7d57; }
.about-tabs .about-tab.active { background: var(--green, #4a7d57); border-color: var(--green, #4a7d57); color: #fff; }
.about-panel { display: none; padding-bottom: 50px; }
.about-panel.active { display: block; }
.about-panel h2 { font-size: 24px; color: #2d4a36; margin-bottom: 24px; }
@media (max-width: 768px) { .map-container iframe, .map-container embed { height: 256px !important; } }

/* 联系信息区：整体上移（老站 padding-top 10px）+ 左信息右表单双栏 */
section.contact-section { padding: 10px 0 60px; background: #f5f9f6; }
.contact-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contact-info h2, .contact-form h2 { font-size: 24px; margin-bottom: 30px; color: #2d4a36; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info ul li { margin-bottom: 15px; display: flex; flex-direction: column; }
.contact-info ul li strong { color: #2d4a36; margin-bottom: 5px; font-weight: 600; }
.contact-form form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-group { display: flex; flex-direction: column; }
.contact-form .form-group label { margin-bottom: 5px; font-weight: 500; color: #2d4a36; font-size: 14px; }
.contact-form .form-group input, .contact-form .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #2d4a36; font-family: inherit; box-sizing: border-box; }
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus { outline: none; border-color: #4a7d57; box-shadow: 0 0 0 2px rgba(74, 125, 87, 0.1); }
.required-mark { color: #e74c3c; margin-left: 2px; }

.product-header {
    margin-bottom: 30px;
}

.product-header h1 {
    font-size: 32px;
    color: #2d4a36;
    margin-bottom: 10px;
    font-family: "KaiTi", "STKaiti", "楷体", serif;
}

.product-code {
    font-size: 16px;
    color: #2d4a36;
    margin-bottom: 20px;
}

.product-content {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.product-sidebar {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-width: 0;
}

.product-images {
    margin: 0;
}

.product-images img {
    border-radius: 8px 8px 0 0;
    width: 100%;
}

.product-description, .product-specs {
    padding: 20px;
}

@media (max-width: 992px) {
  .product-content {
        flex-direction: column;
    }
  .product-sidebar {
        width: 100%;
        order: 2;
    }
  .product-main {
        order: 1;
    }
}

@media (max-width: 768px) {
  .product-header h1 {
        font-size: 24px;
    }
}

.product-main {
    flex: 2;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 0;
}

.product-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.product-images {
    position: relative;
}

.product-images .main-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-images .thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.product-images .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-images .thumbnail:hover {
    border-color: #4a7d57;
    transform: scale(1.05);
}

.product-images .thumbnail.active {
    border-color: #4a7d57;
    box-shadow: 0 0 0 2px rgba(74, 125, 87, 0.3);
}

.tab-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-description,
.product-specs {
    margin-bottom: 25px;
}

.product-description h3,
.product-specs h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2d4a36;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.product-description p {
    font-size: 14px;
    line-height: 1.6;
    color: #2d4a36;
    text-indent: 2em;
}

.product-specs ul {
    list-style: none;
}

.product-specs ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #2d4a36;
}

.product-specs ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2d4a36;
    font-weight: bold;
}

.product-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.detail-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.detail-tabs {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #f5f9f6;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 20px 40px;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    color: #2d4a36;
}

.tab-btn:hover,
.tab-btn.active {
    color: #2d4a36;
    border-bottom-color: #4a7d57;
    background-color: #fff;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    overflow: hidden; 
}

.tab-pane.active::after {
    content: '';
    display: table;
    clear: both;
}

.product-detail .tab-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.product-detail .tab-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tab-pane h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d4a36;
}

.tab-pane p {
        margin-bottom: 15px;
        color: #2d4a36;
        text-indent: 0;
        white-space: normal;
    }

.tab-pane * {
        color: #2d4a36 !important;
    }

.news-detail {
    padding: 60px 0;
    background-color: #f5f9f6;
}

.detail-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2d4a36;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.news-content {
    margin-bottom: 30px;
}

.news-detail .news-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #2d4a36;
    text-indent: 2em !important;
    text-align: left !important;
}

.news-share {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.news-share h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2d4a36;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9f6 50%, #ecf4ee 100%);
    color: #2d4a36;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid #cfe0d4;
    box-shadow:
        0 3px 5px rgba(45, 74, 54, 0.12),
        0 1px 3px rgba(45, 74, 54, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.share-btn:hover {
    background: linear-gradient(180deg, #5c986b 0%, #4d825a 50%, #41704c 100%);
    color: #fff;
    border-color: #3f6c4a;
    transform: translateY(-3px);
    box-shadow:
        0 8px 14px rgba(45, 74, 54, 0.32),
        0 4px 8px rgba(45, 74, 54, 0.2),
        0 0 28px rgba(168, 216, 185, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.share-btn:active {
    background: linear-gradient(180deg, #3f6c4a 0%, #3a6544 50%, #355e3f 100%);
    color: #fff;
    transform: translateY(1px);
    box-shadow:
        0 2px 4px rgba(45, 74, 54, 0.25),
        0 1px 2px rgba(45, 74, 54, 0.18),
        inset 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: all 0.1s ease;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

@media (max-width: 768px) {
  .page-header h1 {
        font-size: 24px;
    }
  .page-header p {
        font-size: 20px;
    }
  .detail-content {
        gap: 30px;
    }
  .news-detail .detail-content {
        padding: 20px;
    }
  .news-detail h2 {
        font-size: 24px;
    }
  .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
  .tab-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
  .product-main {
        order: 2;
    }
}

@media (max-width: 480px) {
  .news-detail h2 {
        font-size: 20px;
    }
  .news-detail .detail-content {
        padding: 15px;
    }
  .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
  .tab-content {
        padding: 15px;
    }
  .product-content {
        flex-direction: column;
    }
  .product-sidebar {
        width: 100%;
        order: 2;
    }
  .product-main {
        order: 1;
    }
  .product-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.page-header {
    background: linear-gradient(135deg, #4a7d57, #3d6b4d);
}

.product-main {
    flex: 2;
    min-width: 0;
}

.product-main h3 {
    margin-bottom: 24px;
    color: #333333;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link {
    display: inline-block;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

.company-intro,
.product-showcase,
.news-section,
.about-section,
.contact-section,
.product-detail,
.news-detail {
    animation: fadeIn 0.8s ease-out;
}

.news-detail h2,
.news-detail .detail-content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2d4a36 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    text-shadow: 0 0 5px rgba(74, 125, 87, 0.5) !important;
}

.service-detail {
    padding: 60px 0;
}

.service-detail-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-detail h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2d4a36;
    font-weight: 600;
}

.detail-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.detail-image-side {
    flex: 0 0 50%;
    max-width: 50%;
}

.detail-image-side img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.detail-image-side.project-gallery img {
    cursor: zoom-in;
}

.detail-image-side.project-gallery img + img {
    margin-top: 16px;
}

.project-image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    box-sizing: border-box;
}

.project-image-viewer.visible {
    display: flex;
}

.project-image-viewer img {
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    cursor: default;
}

.detail-doc-side {
    flex: 1 1 auto;
    min-width: 0;
}

.detail-body > .detail-doc-side:only-child {
    flex: 1 1 100%;
}

@media (max-width: 768px) {
  .detail-body {
        flex-direction: column;
        gap: 20px;
    }
  .detail-image-side {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

.service-detail-section {
    margin-top: 40px;
}

.detail-doc-side > .service-detail-section:first-child {
    margin-top: 0;
}

.service-detail-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d4a36;
    border-bottom: 2px solid #4a7d57;
    padding-bottom: 10px;
    font-weight: 600;
}

.service-detail-section p,
.service-detail-section div {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #2d4a36;
    text-indent: 2em;
}

.pdf-document {
    margin-top: 20px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 8px;
}

.pdf-document h3 {
    margin-bottom: 15px;
    color: #2d4a36;
    font-size: 18px;
    font-weight: 600;
}

.pdf-link {
    display: inline-block;
    padding: 10px 20px;
    background: #4a7d57;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pdf-link:hover {
    background: #3d6b4d;
    box-shadow: 0 0 15px rgba(74, 125, 87, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 60px;
    padding: 14px 32px;
    background: transparent;
    color: #2d4a36;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #4a7d57;
    border-radius: 4px;
}

.back-link:hover {
    background: #4a7d57;
    color: #fff;
}

@media (min-width: 1920px) {
  .page-header h1 {
        font-size: clamp(36px, 2.5vw, 48px);
    }
}

@media (min-width: 2560px) {
  .page-header h1 {
        font-size: clamp(48px, 2vw, 64px);
    }
}
