@charset "utf-8";
/* ==========================================================================
  东莞市科能防水补漏加固有限公司 —— 全站样式表
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
    --primary: #0E3A5F;          /* 主色：藏青蓝 */
    --primary-dark: #0A2B47;     /* 深色藏青 */
    --primary-light: #1A5276;    /* 浅色藏青 */
    --accent: #C1923F;           /* 点缀：古铜金 */
    --accent-dark: #A87B2E;
    --text: #3D4753;             /* 正文灰 */
    --text-dark: #222B36;        /* 标题深色 */
    --text-light: #7A8694;       /* 辅助灰 */
    --bg: #F4F6F9;               /* 浅灰背景 */
    --bg-white: #FFFFFF;
    --border: #E3E8EE;           /* 分隔线 */
    --shadow: 0 6px 24px rgba(14, 58, 95, .08);
    --shadow-hover: 0 12px 36px rgba(14, 58, 95, .16);
    --radius: 6px;
    --header-h: 80px;
    --container: 1200px;
    --transition: all .3s ease;
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--text-dark); font-weight: 700; line-height: 1.4; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }

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

/* ---------- 3. 通用按钮 / 标题 / 区块 ---------- */
.btn {
    display: inline-block;
    padding: 12px 34px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    letter-spacing: 1px;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-ghost { background: var(--primary); color: #fff; }
.btn-ghost:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }

.section { padding: 80px 0; }
.section-gray { background: var(--bg); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .en {
    display: block;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; position: relative; padding-bottom: 18px; }
.section-head h2::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 56px; height: 3px;
    background: var(--accent);
    transform: translateX(-50%);
}
.section-head p { margin-top: 18px; color: var(--text-light); font-size: 15px; }

.text-center { text-align: center; }

/* ---------- 4. 顶部信息条 ---------- */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 40px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a:hover { color: var(--accent); }
.topbar-info span { margin-right: 28px; white-space: nowrap; }
.topbar-social i { color: var(--accent); margin-right: 6px; }
.topbar-social a { margin-left: 18px; }

/* ---------- 5. 头部导航 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    height: var(--header-h);
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: var(--transition);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}
.logo-text .cn { font-size: 21px; font-weight: 700; color: var(--primary); letter-spacing: 2px; display: block;}
.logo-text .en { font-size: 10px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; display: block;}

.nav-list { display: flex; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 0 15px;
    line-height: var(--header-h);
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}
.nav-list > li > a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 18px;
    width: 0; height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-list > li > a:hover,
.nav-list > li.active > a { color: var(--primary); }
.nav-list > li.active > a::after,
.nav-list > li > a:hover::after { width: 24px; }

.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone .ico {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(193,146,63,.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.header-phone .num { font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.header-phone .lbl { font-size: 12px; color: var(--text-light); }

/* 汉堡按钮 */
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: none; border: none; cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. 首页轮播 Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slides { position: relative; height: 640px; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,43,71,.88) 0%, rgba(10,43,71,.55) 55%, rgba(10,43,71,.25) 100%);
}
.hero-inner { position: relative; color: #fff; max-width: 720px; }
.hero-inner .tag {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(193,146,63,.7);
    color: var(--accent);
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.hero-inner h1 { color: #fff; font-size: 48px; line-height: 1.35; margin-bottom: 22px; font-weight: 700; }
.hero-inner h1 em { color: var(--accent); font-style: normal; }
.hero-inner p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 38px; max-width: 560px; }
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-dots {
    position: absolute;
    left: 50%; bottom: 32px;
    transform: translateX(-50%);
    display: flex; gap: 12px;
    z-index: 5;
}
.hero-dots button {
    width: 36px; height: 4px;
    border: none; border-radius: 2px;
    background: rgba(255,255,255,.4);
    cursor: pointer; transition: var(--transition);
}
.hero-dots button.active { background: var(--accent); }
.hero-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: #fff; font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* ---------- 7. 服务优势条 ---------- */
.feature-bar { background: var(--primary); }
.feature-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.feature-item {
    padding: 34px 20px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.1);
}
.feature-item:last-child { border-right: none; }
.feature-item .ico {
    font-size: 34px;
    color: var(--accent);
    margin-bottom: 12px;
}
.feature-item h4 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.feature-item p { font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- 8. 关于简介（首页） ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs .img-main { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-imgs .img-badge {
    position: absolute;
    right: -20px; bottom: -28px;
    background: var(--accent);
    color: #fff;
    padding: 26px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.about-imgs .img-badge b { display: block; font-size: 40px; line-height: 1; }
.about-imgs .img-badge span { font-size: 13px; letter-spacing: 1px; }
.about-text .sub-title {
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.about-text h2 { font-size: 32px; margin-bottom: 22px; }
.about-text > p { color: var(--text-light); margin-bottom: 18px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 32px; }
.about-points li { position: relative; padding-left: 26px; color: var(--text-dark); font-weight: 500; }
.about-points li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px;
    background: var(--accent); color: #fff;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    line-height: 18px;
}

/* ---------- 9. 服务卡片 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-card .thumb { position: relative; overflow: hidden; height: 220px; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .thumb .num {
    position: absolute;
    left: 18px; top: 18px;
    background: rgba(14,58,95,.85);
    color: var(--accent);
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.service-card .body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card .body h3 { font-size: 19px; margin-bottom: 12px; }
.service-card .body p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; flex: 1; }
.service-card .more { color: var(--primary); font-weight: 600; font-size: 14px; }
.service-card .more::after { content: " →"; transition: var(--transition); }
.service-card .more:hover { color: var(--accent); }
.service-card .more:hover::after { padding-left: 6px; }

/* ---------- 10. 数据统计 ---------- */
.stats {
    background: linear-gradient(rgba(10,43,71,.92), rgba(14,58,95,.92)),
                url("https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=construction%20worker%20applying%20waterproof%20membrane%20on%20building%20rooftop%2C%20industrial%20site%2C%20blue%20tones&image_size=landscape_16_9") center/cover fixed;
    padding: 70px 0;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; color: #fff; }
.stat-item b {
    display: block;
    font-size: 46px;
    color: var(--accent);
    line-height: 1.2;
    font-weight: 700;
}
.stat-item span { font-size: 15px; color: rgba(255,255,255,.8); letter-spacing: 1px; }

/* ---------- 11. 新闻动态 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card .thumb { height: 200px; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.08); }
.news-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.news-card .meta i { color: var(--accent); margin-right: 4px; }
.news-card h3 {
    font-size: 17px; line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card h3 a:hover { color: var(--accent); }
.news-card p {
    font-size: 14px; color: var(--text-light); margin-bottom: 16px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 12. 案例展示 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow);
}
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-item:hover img { transform: scale(1.1); }
.case-item .mask {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,43,71,.95) 0%, rgba(10,43,71,.25) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.case-item .mask .cat {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 2px 12px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 10px;
}
.case-item .mask h3 { color: #fff; font-size: 18px; }
.case-item .mask p { font-size: 13px; color: rgba(255,255,255,.75); opacity: 0; transform: translateY(10px); transition: var(--transition); }
.case-item:hover .mask p { opacity: 1; transform: translateY(0); }

/* ---------- 13. 流程 / 承诺 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-item {
    text-align: center;
    background: #fff;
    padding: 38px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}
.process-item .step {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(14,58,95,.07);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}
.process-item:hover .step { background: var(--accent); color: #fff; }
.process-item b {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 34px;
    color: var(--border);
    font-weight: 800;
}
.process-item h4 { font-size: 17px; margin-bottom: 8px; }
.process-item p { font-size: 13px; color: var(--text-light); }

/* ---------- 14. CTA 横幅 ---------- */
.cta {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.75); }
.cta .phone-big { font-size: 34px; color: var(--accent); font-weight: 700; letter-spacing: 2px; }

/* ---------- 15. 内页头图 / 面包屑 ---------- */
.page-hero {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10,43,71,.8); }
.page-hero .inner { position: relative; color: #fff; }
.page-hero h1 { color: #fff; font-size: 38px; letter-spacing: 3px; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 15px; }
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-light);
    padding: 14px 0;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { margin: 0 10px; font-style: normal; color: #C4CCD6; }
.breadcrumb .cur { color: var(--primary); }

/* ---------- 16. 内页布局（主内容 + 侧栏） ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.content-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.content-box h2 { font-size: 24px; margin: 30px 0 16px; padding-left: 14px; border-left: 4px solid var(--accent); }
.content-box h2:first-child { margin-top: 0; }
.content-box h3 { font-size: 19px; margin: 24px 0 12px; color: var(--primary); }
.content-box p { margin-bottom: 14px; color: var(--text); }
.content-box ul.dot { margin: 0 0 14px 6px; }
.content-box ul.dot li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.content-box ul.dot li::before {
    content: "";
    position: absolute; left: 2px; top: 11px;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.content-img { border-radius: var(--radius); margin: 18px 0; box-shadow: var(--shadow); }

.side-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 24px;
    margin-bottom: 26px;
}
.side-box h4 {
    font-size: 17px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    position: relative;
}
.side-box h4::after {
    content: "";
    position: absolute; left: 0; bottom: -2px;
    width: 46px; height: 2px;
    background: var(--accent);
}
.side-nav li { border-bottom: 1px dashed var(--border); }
.side-nav li:last-child { border-bottom: none; }
.side-nav a {
    display: block;
    padding: 12px 4px 12px 18px;
    position: relative;
    color: var(--text);
    font-size: 15px;
}
.side-nav a::before {
    content: "▸";
    position: absolute; left: 0;
    color: var(--accent);
}
.side-nav a:hover, .side-nav li.active a { color: var(--accent); padding-left: 24px; }
.side-contact { background: var(--primary); color: #fff; text-align: center; }
.side-contact h4 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.side-contact h4::after { background: var(--accent); }
.side-contact .tel { font-size: 24px; color: var(--accent); font-weight: 700; margin: 10px 0 4px; }
.side-contact p { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }

/* ---------- 17. 新闻列表页 ---------- */
.news-list li {
    display: flex;
    gap: 26px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.news-list li:first-child { padding-top: 0; }
.news-list .date {
    flex-shrink: 0;
    width: 84px; height: 84px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    padding-top: 14px;
}
.news-list .date b { display: block; font-size: 30px; color: var(--primary); line-height: 1; }
.news-list .date span { font-size: 13px; color: var(--text-light); }
.news-list .info h3 { font-size: 19px; margin-bottom: 10px; }
.news-list .info h3 a:hover { color: var(--accent); }
.news-list .info p { color: var(--text-light); font-size: 14px; margin-bottom: 10px; }
.news-list .info .tag-line { font-size: 13px; color: var(--text-light); }
.news-list .info .tag-line i { color: var(--accent); margin-right: 4px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a {
    min-width: 42px; height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    background: #fff;
}
.pagination a:hover, .pagination a.cur { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 18. 服务项目（内页大块） ---------- */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.svc-block:last-child { margin-bottom: 0; }
.svc-block.reverse .svc-img { order: 2; }
.svc-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.svc-text .sub { color: var(--accent); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.svc-text h3 { font-size: 25px; margin: 10px 0 16px; }
.svc-text p { color: var(--text-light); margin-bottom: 16px; }

/* 服务场景标签 */
.scene-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.scene-tags span {
    padding: 6px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-dark);
}
.scene-tags span::before { content: "● "; color: var(--accent); font-size: 10px; }

/* 常见问题手风琴 */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
    width: 100%;
    text-align: left;
    background: none; border: none;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .arrow { color: var(--accent); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-light); font-size: 14px; }

/* ---------- 19. 团队 / 资质 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 18px;
    text-align: center;
    transition: var(--transition);
}
.cert-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-item .ico { font-size: 40px; color: var(--accent); margin-bottom: 12px; }
.cert-item h4 { font-size: 15px; margin-bottom: 6px; }
.cert-item p { font-size: 12px; color: var(--text-light); }

/* 时间线（发展历程） */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: "";
    position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px;
    background: var(--border);
}
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before {
    content: "";
    position: absolute; left: -30px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
}
.timeline li b { color: var(--primary); font-size: 17px; margin-right: 14px; }
.timeline li span { color: var(--text); }
.timeline li p { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* ---------- 20. 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 38px 28px;
    text-align: center;
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-card .ico {
    width: 66px; height: 66px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(193,146,63,.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.contact-card h4 { font-size: 18px; margin-bottom: 10px; }
.contact-card p { color: var(--text-light); font-size: 14px; }

.contact-form-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 42px;
}
.contact-form-box h3 { font-size: 22px; margin-bottom: 8px; }
.contact-form-box > p { color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); font-size: 14px; }
.form-group label em { color: #D9534F; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #FBFCFD;
    transition: var(--transition);
    color: var(--text-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14,58,95,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-tip { margin-top: 14px; font-size: 13px; color: var(--text-light); }
.form-msg { display: none; margin-top: 16px; padding: 12px 18px; border-radius: var(--radius); font-size: 14px; }
.form-msg.success { display: block; background: #EDF7EE; color: #2E7D32; border: 1px solid #BBDFBE; }
.form-msg.error { display: block; background: #FDF0EF; color: #C0392B; border: 1px solid #F3C2BC; }

.map-box {
    margin-top: 50px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 380px;
    background: var(--bg);
}
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 21. 页脚 ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.7); }
.footer-main { padding: 64px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h5 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer h5::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 34px; height: 2px;
    background: var(--accent);
}
.footer .foot-about p { font-size: 13.5px; line-height: 1.9; margin: 16px 0; }
.footer .foot-about .logo-text .cn { color: #fff; }
.footer-links li { margin-bottom: 11px; font-size: 14px; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14px; line-height: 1.7; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a:hover { color: var(--accent); }

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

/* ---------- 23. 滚动进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 23.5 案例筛选 / 联系页两栏 ---------- */
.case-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.case-filter button {
    padding: 9px 26px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}
.case-filter button:hover { color: var(--primary); border-color: var(--primary); }
.case-filter button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.contact-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.contact-info-list li {
    display: flex; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ico {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(193,146,63,.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
}
.contact-info-list h5 { font-size: 15px; margin-bottom: 2px; }
.contact-info-list p { font-size: 13.5px; color: var(--text-light); margin: 0; }

/* ==========================================================================
   24. 响应式 —— 平板（<=1024px）
   ========================================================================== */
@media (max-width: 1024px) {
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }
    .section-head h2, .about-text h2 { font-size: 27px; }

    /* 导航：右侧电话隐藏，菜单即将转移动端 */
    .header-phone { display: none; }
    .nav-list > li > a { padding: 0 14px; font-size: 15px; }

    .hero-slides { height: 520px; }
    .hero-inner h1 { font-size: 38px; }
    .hero-arrow { display: none; }

    .service-grid, .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-bar .container, .stats .container { grid-template-columns: repeat(2, 1fr); }
    .feature-item:nth-child(2) { border-right: none; }
    .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }

    .about-grid { gap: 40px; }
    .about-imgs .img-badge { right: 0; padding: 18px 24px; }
    .about-imgs .img-badge b { font-size: 30px; }
    .contact-cols { grid-template-columns: 1fr; }

    .layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .contact-grid { grid-template-columns: 1fr; }
    .svc-block { gap: 30px; margin-bottom: 44px; }
}

/* ==========================================================================
   25. 响应式 —— 手机（<=768px）
   ========================================================================== */
@media (max-width: 768px) {
    body { font-size: 14px; }
    .section { padding: 48px 0; }
    .container { padding: 0 16px; }
    .section-head h2 { font-size: 23px; }

    /* 顶部条简化 */
    .topbar { line-height: 34px; font-size: 12px; }
    .topbar-info span { margin-right: 14px; }
    .topbar-info span.hide-sm, .topbar-social { display: none; }

    /* 移动端抽屉菜单 */
    :root { --header-h: 64px; }
    .logo-mark { width: 40px; height: 40px; font-size: 20px; }
    .logo-text .cn { font-size: 17px; letter-spacing: 1px; }
    .nav-toggle { display: flex; }
    .nav {
        position: fixed;
        top: var(--header-h);
        right: -100%;
        width: 78%; max-width: 320px;
        height: calc(100vh - var(--header-h));
        background: #fff;
        box-shadow: -6px 0 24px rgba(0,0,0,.12);
        transition: right .35s ease;
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-list > li > a {
        line-height: 54px;
        padding: 0 24px;
        border-bottom: 1px solid var(--border);
    }
    .nav-list > li > a::after { display: none; }
    .nav-list > li.active > a { background: rgba(14,58,95,.05); }
    .nav-mask {
        position: fixed; inset: var(--header-h) 0 0 0;
        background: rgba(0,0,0,.4);
        z-index: 999;
        opacity: 0; visibility: hidden;
        transition: var(--transition);
    }
    .nav-mask.show { opacity: 1; visibility: visible; }

    /* Hero */
    .hero-slides { height: 460px; }
    .hero-inner h1 { font-size: 27px; }
    .hero-inner p { font-size: 15px; margin-bottom: 28px; }
    .hero-btns .btn { padding: 10px 24px; font-size: 14px; }
    .hero-dots { bottom: 20px; }

    /* 通用网格转单列 */
    .service-grid, .news-grid, .case-grid,
    .process-grid, .cert-grid, .contact-grid,
    .about-grid, .svc-block, .form-row,
    .feature-bar .container, .stats .container,
    .footer-grid { grid-template-columns: 1fr; }

    .feature-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
    .feature-item:last-child { border-bottom: none; }
    .stat-item b { font-size: 38px; }

    .about-imgs .img-badge { bottom: -18px; padding: 14px 20px; }
    .about-points { grid-template-columns: 1fr; }

    .svc-block.reverse .svc-img { order: 0; }
    .case-item { height: 240px; }

    /* iOS Safari 不支持 fixed 背景，改为 scroll 避免背景异常缩放 */
    .stats { background-attachment: scroll; }

    .cta .container { justify-content: center; text-align: center; }
    .cta h2 { font-size: 22px; }
    .cta .phone-big { font-size: 27px; }

    /* 内页 */
    .page-hero { height: 240px; }
    .page-hero h1 { font-size: 27px; letter-spacing: 2px; }
    .content-box { padding: 24px 18px; }
    .content-box h2 { font-size: 20px; }
    .contact-form-box { padding: 26px 20px; }

    /* 新闻列表 */
    .news-list li { flex-direction: column; gap: 12px; }
    .news-list .date { width: auto; height: auto; display: flex; align-items: baseline; gap: 10px; border: none; border-radius: 0; padding: 0; }
    .news-list .date b { font-size: 20px; }

    .footer-main { padding: 44px 0 30px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
    .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ---------- 26. 小屏手机（<=420px） ---------- */
@media (max-width: 420px) {
    .hero-inner h1 { font-size: 23px; }
    .hero-btns { gap: 12px; }
    .topbar-info .hide-xs { display: none; }
}
