/* === 成诚优服官网 · 风格系统 === */
/* 主色：深青色（与 Logo 一致） */

:root {
  --primary: #0e5b5b;
  --primary-dark: #0a4444;
  --primary-light: #1f8a8a;
  --accent: #d4a017;       /* 暖金 CTA */
  --bg: #fafaf7;           /* 米白底 */
  --bg-alt: #f0efe9;       /* 浅米色 */
  --text: #1a1a1a;
  --text-muted: #5b5b5b;
  --border: #e3e2dc;
  --max: 1200px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.cta-phone {
  background: var(--primary); color: #fff !important;
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
}
.cta-phone:hover { background: var(--primary-light); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f7f5ee 0%, #e8e4d7 100%);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,91,91,0.15), transparent 70%);
}
.hero-inner { position: relative; text-align: center; }
.hero-title {
  font-size: clamp(36px, 6vw, 56px); font-weight: 800;
  color: var(--primary-dark); margin-bottom: 16px; letter-spacing: -1px;
}
.hero-sub {
  font-size: clamp(16px, 2.4vw, 20px); color: var(--primary);
  font-weight: 600; margin-bottom: 20px;
}
.hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  list-style: none; color: var(--text); font-size: 14px;
}

.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 16px; cursor: pointer; transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: #1a1a1a; }
.btn-primary:hover { background: #b88a0e; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: var(--primary-dark); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 48px; }

/* ===== 卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.card-icon { font-size: 36px; margin-bottom: 16px; }
.card h3 { font-size: 20px; color: var(--primary); margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.why-item {
  background: #fff; padding: 28px; border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.why-item h3 { color: var(--primary-dark); margin-bottom: 10px; font-size: 18px; }
.why-item p { color: var(--text-muted); font-size: 15px; }

/* ===== 白皮书 ===== */
.wp-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #0e5b5b 0%, #1f8a8a 100%);
  color: #fff; padding: 48px; border-radius: var(--radius);
}
.wp-box .section-title { color: #fff; text-align: left; }
.wp-text p { color: rgba(255,255,255,0.9); margin-bottom: 12px; }
.wp-meta { font-size: 14px; opacity: 0.85; }
.wp-form { display: flex; flex-direction: column; gap: 12px; }
.wp-form .wp-input {
	width:100%;display:flex;
	align-items:center;
}
.wp-form input,.wp-form textarea {
  padding: 12px 16px; border-radius: 8px; border: none;
  font-size: 15px; background: rgba(255,255,255,0.95); color: var(--text);
  flex:1;
  overflow:hidden;
}
.wp-form .wp-input .n-msg {
	color:#fff;
}
.wp-form .btn { background: var(--accent); }
.wp-success { color: #ffd; font-size: 14px; }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { padding: 12px 0; border-bottom: 1px dashed var(--border); color: var(--text); }
.contact-list li strong { color: var(--primary); margin-right: 8px; }
.map-box { box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }

/* ===== 页脚 ===== */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 32px 0; text-align: center; }
.site-footer p { font-size: 14px; }
.footer-meta { font-size: 12px; opacity: 0.6; margin-top: 4px; }
.footer-meta a {
	color: rgb(255,255,255);
	margin:0 6px;
}
.moblie {
        display: none;
    }
/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0; }
  .wp-box, .contact-grid { grid-template-columns: 1fr; padding: 32px; }
  .section { padding: 56px 0; }
}

/* ===== 数字信任状 ===== */
.stats {
  background: #0e5b5b;
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats-grid strong {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.stats-grid strong small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
}
.stats-grid span {
  font-size: 14px;
  opacity: 0.85;
}
.newslist {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    margin-top: 5px;
}
.newslist .item {
    flex: 0 0 calc(25% - 10px);
    margin: 5px;
	width:0;
}
.newslist .item .pic {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}
.newslist .item .pic img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    min-height: 100%;
}
#pagination {
	display:none;
}
.newslist .item .span1 {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    background-size: 100% 100%;
    padding: 8px;
    height: 80px;
}
.newslist .item .span1 .tit {
    margin-bottom: 6px;
	font-size: 15px;
    font-weight: 500;
	line-height:18px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
	white-space: nowrap;
	display:block;
}
.newslist .item .span1 .tit a {
    color: #000;
}
.newslist .item .span1 .tit a:hover {
	color:var(--primary-dark);
	font-weight:550;
}

.newslist .item .span1 .info {
	 display: -webkit-box;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
	height:36px;
}
 
.newslist .item .span1 p {
    font-size: 12px;
    line-height: 18px;
    color: #696969;
}
.more {
	display:flex;
	align-items:center;
	justify-content:center;
	margin-top:20px;
}
#news {
	padding-bottom:0;
}
.more .btn {
    background:var(--accent);
}
.weizhi {
    background: url(../images/fenge-line.gif) repeat-x scroll left bottom;
    height: 51px;
    line-height: 30px;
    margin: 0 auto 20px;
    overflow: hidden;
    padding: 7px 0 8px;
}
.jxTitle1 {
    text-align: center;
}

.jxTitle1 h2 {
    font-size: 18px;
    color: var(--primary-dark);
    letter-spacing: 3px;
    font-weight: 600;
    line-height: 2.5;
    position: relative;
}
.jxTitle1 h2:after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--primary-dark);
    position: absolute;
    bottom: 0;
    left: calc(50% - 28px);
}
.list_page ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 10px 0;
    justify-content: center;
}
.list_page ul li {
    margin: 3px;
    border: solid 1px #ddd;
    border-radius: 4px;
}
.list_page ul li a {
    line-height: 30px;
    color: #333;
    padding: 0 10px;
}
.list_page ul li.active {
    background: var(--primary-dark);
    border: solid 1px var(--primary-dark);
}
.list_page ul li.active a {
    color: #fff;
}
.newslist4 {
    margin-top: 20px;
}

.newslist4 li {
    border-bottom: 1px dashed #cecece;
    padding-top: 20px;
    padding-bottom: 20px;
}

.newslist4 li .pic {
    width: 120px;
    height: 90px;
    overflow: hidden;
    margin-right: 10px;
    float: left;
}

.newslist4 li .pic a {
    display: block;
    width: 120px;
    height: 90px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.newslist4 li .pic a img {
    display: block;
    width: 120px;
    height: 90px;
}


.newslist4 li .tit1 {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #212121;
    display: -webkit-box;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.newslist4 li .tit1 a {
    font-size: 15px;
    color: #171717;
    font-weight: 600;
}

.newslist4 li .tit1 a:hover {
    color: var(--primary-dark);
}

.newslist4 li .info {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 20px;
    height: 40px;
    margin-top: 4px;
    color: #9f9f9f;
}
.artshow {
    padding: 10px;
}
.artshow .title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    padding: 10px 0;
    text-align: center;
}
.artshow .info {
    background: #efefef;
width: calc(100% - 20px);
line-height: 24px;
padding: 6px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}
.artshow .content {
    margin-top: 10px;
    font-size: 12px;
    line-height: 24px;
    color: #666;
}
.artshow .content p {
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 6px;
    color: #666;
	
}
.artshow .content * {
	text-wrap-mode: wrap!important;
}
.artshow .content img {
    display: block;margin-left:auto;margin-right:auto;
}
.pre {
    margin-top: 20px;
    padding-left: 10px;
    line-height: 30px;
    font-size: 12px;
}

.next {
    padding-left: 10px;
    line-height: 30px;
    font-size: 12px;
}

.next a, .pre a {
    color: #696969;
    font-size: 12px;
}

.next a:hover, .pre a:hover {
    color: var(--primary-dark);
}
.flex {
    display: -webkit-flex; /* Safari */
    display: flex;
    align-items: center;
}
.flex .span1 {
    flex: 1;
    overflow: hidden;
}
.minbody {
	min-height: calc(100vh - 280px);
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .moblie {
    display: block;
    height: 57px;
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 99999999;
    max-width: 750px;
}
.moblie ul {
    display: -webkit-flex;
    display: flex;
    text-align: center;
    color: #fff;
}

.moblie ul li {
    padding-top: 8px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.moblie ul li a {
    color: #fff;
    display: block;
}

.moblie ul li a i {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
    margin: 0 auto;
}

.moblie ul li a i.i1 {
    background-image: url(../images/nav1.png);
}

.moblie ul li a i.i2 {
    background-image: url(../images/nav2.png);
}

.moblie ul li a i.i3 {
    background-image: url(../images/nav3.png);
}

.moblie ul li a i.i4 {
    background-image: url(../images/nav4.png);
}

.moblie ul li a p {
    line-height: 25px;
    margin: 0;
}

.moblie ul li:last-child {
    border-right: 0;
}
}

/* ===== 快速访问三栏 ===== */
.quick-nav { padding: 56px 0; background: #fff; }
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.quick-nav-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 28px; border-radius: 12px;
  border: 2px solid #e3e2dc; background: #fafaf7;
  text-decoration: none; color: #1a1a1a;
  transition: all .25s;
}
.quick-nav-card:hover {
  border-color: #0e5b5b; background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14,91,91,0.12);
}
.qn-icon { font-size: 28px; }
.quick-nav-card strong { color: #0a4444; font-size: 17px; }
.qn-desc { color: #5b5b5b; font-size: 14px; }
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 999;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0e5b5b;
  border-radius: 2px;
}

.nav-overlay {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: rgba(0,0,0,0.5);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
	body {
		padding-bottom:57px;
	}
	.mobile-toggle {
		display:flex;
	}
  .cta-phone {
    display: none;
  }
  .nav-links {
   display: none;
    position: fixed;
    top: 64px;
    right: -280px;
    width: 280px;
    height: auto;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 998;
    transition: right 0.3s ease;
    gap: 16px;
  }
  .nav-links.show {
    right: 0;
	display:flex;
  }
  .nav-links a {
    font-size: 16px;
    padding: 8px 0;
	text-align:center;
	border-bottom:1px solid #dfdfdf;
  }
  .newslist .item {
	  flex: 0 0 calc(50% - 10px);
  }
  #news .container {
	  padding:0 4px;
  }
  .wp-form {
	  width:100%;
	  overflow:hidden;
  }
}