@charset "utf-8";
/* ============================================================
   固德环保 官网视觉层 v1.0
   作用：在 aoyun.css 之后加载，统一品牌色 / 排版节奏 / 卡片 / 内页
   只覆盖样式，不改变原有栏目结构与 PbootCMS 标签
   ============================================================ */

:root {
	--g-brand: #0E6F5C;          /* 主色：墨绿（环保/工业稳重） */
	--g-brand-dark: #0A5446;
	--g-brand-ink: #073B33;
	--g-accent: #D99036;         /* 强调色：暖金 */
	--g-text: #1B2A26;
	--g-muted: #6C7D78;
	--g-line: #E4EAE8;
	--g-surface: #F5F8F6;
	--g-radius: 14px;
	--g-shadow: 0 10px 30px rgba(15, 59, 51, .07);
	--g-shadow-hover: 0 18px 44px rgba(15, 59, 51, .15);
}

/* ---------- 基础排版 ---------- */
body {
	font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	color: var(--g-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a { color: var(--g-text); }
a:hover { color: var(--g-brand); }
.text-secondary, .text-secondary a { color: var(--g-muted) !important; }

/* ---------- 顶部导航 ---------- */
.navbar.navbar-light.bg-light.fixed-top {
	background: #fff !important;
	border-bottom: 1px solid var(--g-line);
	box-shadow: 0 2px 18px rgba(15, 59, 51, .06) !important;
}
.navbar-expand-lg .navbar-nav .nav-link {
	font-size: 15px;
	font-weight: 500;
	color: var(--g-text);
	position: relative;
	transition: color .2s ease;
}
.navbar-expand-lg .navbar-nav .nav-link:hover { color: var(--g-brand); }
.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 1.2rem;
	right: 1.2rem;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--g-brand);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s ease;
}
.navbar-nav .nav-link:hover::after,
.nav-item.active .nav-link::after { transform: scaleX(1); }
.nav-item.active .nav-link { color: var(--g-brand) !important; font-weight: 600; }
.navbar-text { font-size: 13px; }
.navbar-text a { color: #93A5A0 !important; }
.navbar-text a:hover { color: var(--g-brand) !important; }

/* ---------- 首页轮播（保留原 swiper 结构，只做视觉与蒙层） ---------- */
.swiper-container { height: clamp(300px, 40vw, 520px); }
.swiper-container .swiper-slide { overflow: hidden; position: relative; height: 100%; }
.swiper-container .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper-container .swiper-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 40, 35, .04) 0%, rgba(6, 40, 35, .10) 55%, rgba(6, 40, 35, .50) 100%);
	pointer-events: none;
}
.swiper-container .container { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.swiper-container .position-absolute {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	padding-bottom: 46px;
	max-width: 900px;
}
.swiper-container .swiper-slide h1 {
	font-size: clamp(22px, 2.6vw, 40px) !important;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: .5px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
	margin-bottom: .5rem;
}
.swiper-container .swiper-slide h4 {
	font-size: clamp(13px, 1.1vw, 17px) !important;
	font-weight: 400;
	opacity: .88;
	letter-spacing: .5px;
}
.swiper-button-prev, .swiper-button-next {
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	backdrop-filter: blur(6px);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px; color: #fff; }
.swiper-pagination-bullet { width: 9px; height: 9px; background: #fff; opacity: .55; }
.swiper-pagination-bullet-active { opacity: 1; background: #fff; }

/* ---------- 内页头部（g-hero，替代原 jumbotron） ---------- */
.g-hero {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}
.g-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7, 48, 41, .92) 0%, rgba(7, 48, 41, .66) 46%, rgba(7, 48, 41, .30) 100%);
}
.g-hero .container { position: relative; z-index: 2; color: #fff; }
.g-hero h1 {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 700;
	letter-spacing: 1px;
	margin: 0 0 .5rem;
	padding-left: 16px;
	border-left: 4px solid var(--g-accent);
	line-height: 1.3;
}
.g-hero p {
	margin: 0;
	padding-left: 20px;
	max-width: 660px;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, .84);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* 兼容旧 jumbotron（若某页面仍使用） */
.jumbotron { position: relative; min-height: 260px; display: flex; align-items: center; background-size: cover !important; background-position: center !important; }
.jumbotron::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 48, 41, .90), rgba(7, 48, 41, .35)); }
.jumbotron .container { position: relative; z-index: 2; color: #fff !important; }

/* ---------- 区块标题（覆盖首页原有 text-success/info/warning 混用） ---------- */
.container > .text-center.fs-26,
.container > .text-center.fs-26.fs-sm-28 {
	font-size: 26px !important;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--g-text) !important;
	position: relative;
	padding-bottom: 14px;
}
.container > .text-center.fs-26::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 46px;
	height: 3px;
	border-radius: 3px;
	background: var(--g-brand);
}
.container > .text-center.fs-14.fs-sm-16,
.container > .text-center.fs-14.fs-sm-16.mb-5 {
	font-size: 12px !important;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #93A5A0 !important;
	margin-top: .35rem;
}

/* ---------- 区块呼吸感 ---------- */
.bg-white.py-5, .bg-light.py-5 {
	padding-top: 4.4rem !important;
	padding-bottom: 4.4rem !important;
}
.bg-light { background: var(--g-surface) !important; }

/* ---------- 卡片 ---------- */
.card {
	border: 1px solid rgba(15, 59, 51, .06);
	border-radius: var(--g-radius);
	background: #fff;
	box-shadow: var(--g-shadow);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	margin: 15px 0;
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--g-shadow-hover);
	border-color: rgba(14, 111, 92, .22);
}
.card-img-150 { height: 172px; }
.card-img-200 { height: 200px; }
.card-img-180 { height: 180px; }
.card-img-120 { height: 140px; }
.card-img-100 { height: 120px; }
.card-img-150, .card-img-200, .card-img-180, .card-img-120, .card-img-100 { overflow: hidden; }
.card-img-150 img, .card-img-200 img, .card-img-180 img,
.card-img-120 img, .card-img-100 img,
.card .card-img-top {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s ease;
}
.card:hover .card-img-top { transform: scale(1.055); }
.card-body { padding: 16px 18px 18px; }
.card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card-title a { color: var(--g-text); }
.card-title a:hover { color: var(--g-brand); }
.card-text {
	font-size: 13px;
	line-height: 1.7;
	color: var(--g-muted);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.badge { font-weight: 500; border-radius: 6px; padding: .35em .6em; font-size: 12px; }
.badge-danger { background: #D9534F; }
.badge-warning { background: var(--g-accent); color: #fff; }
.badge-info { background: var(--g-brand); }

/* ---------- 案例列表（figure 版） ---------- */
.figure {
	border: 1px solid rgba(15, 59, 51, .06);
	border-radius: var(--g-radius);
	background: #fff;
	box-shadow: var(--g-shadow);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.figure:hover { transform: translateY(-6px); box-shadow: var(--g-shadow-hover); }
.figure .card-img-200 img { transition: transform .55s ease; }
.figure:hover .card-img-200 img { transform: scale(1.055); }
.figure-caption {
	padding: 14px 16px 16px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--g-text) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.figure-caption a { color: var(--g-text); }
.figure-caption a:hover { color: var(--g-brand); }

/* ---------- 新闻列表（纯文本 ul 卡片化） ---------- */
.pages ul { padding: 0; margin: 0; }
.pages ul li {
	list-style: none;
	border: 1px solid var(--g-line);
	border-radius: 12px;
	background: #fff;
	padding: 15px 20px;
	margin-bottom: 12px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pages ul li:hover {
	transform: translateX(4px);
	border-color: rgba(14, 111, 92, .30);
	box-shadow: var(--g-shadow);
}
.pages ul li .fa,
.pages ul li i.fa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 8px;
	border-radius: 50%;
	background: rgba(14, 111, 92, .08);
	color: var(--g-brand);
	font-size: 11px;
	vertical-align: middle;
}
.pages ul li a { display: block; font-size: 15px; color: var(--g-text); font-weight: 500; }
.pages ul li a:hover { color: var(--g-brand); }
.pages ul li .float-right { font-weight: 400; color: #93A5A0; font-size: 13px; }

/* ---------- 面包屑 / 分类筛选 ---------- */
.position, .position a { color: #93A5A0; font-size: 13px; }
.sonsort { margin-top: 1.5rem !important; }
.sonsort .btn { margin-right: 8px; }

/* ---------- 按钮 ---------- */
.btn { border-radius: 9px; font-weight: 500; transition: all .22s ease; }
.btn-info {
	background: var(--g-brand) !important;
	border-color: var(--g-brand) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(14, 111, 92, .22);
}
.btn-info:hover { background: var(--g-brand-dark) !important; border-color: var(--g-brand-dark) !important; }
.btn-light {
	background: var(--g-surface) !important;
	border: 1px solid var(--g-line) !important;
	color: var(--g-text) !important;
}
.btn-light:hover { background: #fff !important; border-color: rgba(14, 111, 92, .35) !important; color: var(--g-brand) !important; }

/* ---------- 分页 ---------- */
.pagination { margin-top: 1.5rem; }
.pagination .page-link, .page-num {
	border-radius: 8px !important;
	border: 1px solid var(--g-line) !important;
	margin: 0 4px;
	color: var(--g-text);
	background: #fff;
	padding: .48rem .82rem;
	font-size: 13px;
}
.pagination .page-link:hover, .page-num:hover { border-color: rgba(14, 111, 92, .35) !important; color: var(--g-brand); }
.page-num-current, .page-num-current:hover {
	background: var(--g-brand) !important;
	border-color: var(--g-brand) !important;
	color: #fff !important;
}

/* ---------- 详情页（案例 / 新闻 / 关于我们共用） ---------- */
.pages { padding-top: 1.6rem; }
.pages h2 {
	text-align: left !important;
	font-size: clamp(21px, 2.1vw, 29px) !important;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: .3px;
	color: var(--g-text);
	margin: 6px 0 10px;
}
.pages > div.text-center.border-bottom,
.pages div.text-center.border-bottom {
	text-align: left !important;
	border-bottom: 1px solid var(--g-line) !important;
	color: #93A5A0 !important;
	font-size: 13px;
	padding-bottom: 14px !important;
	margin-bottom: 22px !important;
}
.content {
	font-size: 16px;
	line-height: 1.95;
	color: #2E3F3A;
	letter-spacing: .2px;
}
.content p { margin-bottom: 1.05em; }
.content h2, .content h3 {
	text-align: left !important;
	font-size: 19px !important;
	font-weight: 700;
	line-height: 1.45;
	margin: 1.7em 0 .75em;
	padding-left: 12px;
	border-left: 3px solid var(--g-brand);
	color: var(--g-brand-ink);
}
.content img {
	border-radius: 12px;
	max-height: 520px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	box-shadow: 0 10px 28px rgba(15, 59, 51, .10);
}
.content iframe { border-radius: 12px; }
.content a { color: var(--g-brand); text-decoration: underline; text-underline-offset: 3px; }
.content strong { color: var(--g-brand-ink); }

/* 详情页上下篇 */
.pages .text-secondary.lh-2 {
	border-top: 1px solid var(--g-line);
	padding-top: 16px;
	margin-top: 28px;
	font-size: 14px;
}
.page-num { cursor: pointer; }
.tag-list { margin-top: .6rem; }

/* ---------- 表单 / 评论 ---------- */
.form-control, textarea {
	border: 1px solid var(--g-line);
	border-radius: 10px;
	padding: .6rem .85rem;
	font-size: 14px;
	color: var(--g-text);
	background: #fff;
}
.form-control:focus, textarea:focus {
	border-color: rgba(14, 111, 92, .5);
	box-shadow: 0 0 0 3px rgba(14, 111, 92, .10);
	outline: none;
}
.table td, .table th { border-color: var(--g-line); }

/* ---------- 页脚 ---------- */
.footer {
	background: linear-gradient(165deg, #0B4F44 0%, #072F28 100%) !important;
	color: #B9CFC9 !important;
	border-top: none !important;
	padding-top: 3.4rem !important;
	margin-top: 0 !important;
}
.footer h5 {
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .5px;
	padding-left: 12px;
	position: relative;
	margin-bottom: 16px;
}
.footer h5::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 3px;
	background: var(--g-accent);
}
.footer ul li {
	font-size: 13px;
	line-height: 2.2;
	color: #A9C3BC;
}
.footer a { color: #A9C3BC; }
.footer a:hover { color: #fff; }
.footer .code { display: block; margin: 0 0 12px; }
.footer .code img {
	display: block;
	margin: 0 auto;
	height: 104px;
	width: 104px;
	box-sizing: border-box;
	object-fit: contain;
	border-radius: 10px;
	background: #fff;
	padding: 6px;
}
.footer .small { display: block; color: #8CA69F !important; font-size: 12px; line-height: 1.6; margin-top: 0 !important; }
.footer .copyright {
	border-top: 1px solid rgba(255, 255, 255, .12) !important;
	color: #8FA9A2 !important;
	font-size: 13px;
	padding: 18px 0 !important;
	letter-spacing: .5px;
}
.footer .border-top { border-color: rgba(255, 255, 255, .12) !important; }

/* ---------- 在线客服 / 移动底部栏 ---------- */
.online dl {
	background: var(--g-brand) !important;
	border-radius: 12px 0 0 12px;
	box-shadow: -4px 6px 18px rgba(15, 59, 51, .18);
	transition: background .22s ease;
}
.online dl:hover { background: var(--g-brand-dark) !important; }
.online dl dt h3 { color: var(--g-brand-ink); }
.online dl dt button { background: var(--g-brand); border-radius: 9px; }
.container-fluid.bg-info {
	background: var(--g-brand) !important;
	box-shadow: 0 -4px 16px rgba(15, 59, 51, .16);
}
.container-fluid.bg-info a { font-size: 14px; }

/* ---------- "查看更多" 链接 ---------- */
.pages a.text-secondary.fs-14,
.text-center h4 a.text-secondary {
	font-size: 13px !important;
	letter-spacing: 1px;
	color: var(--g-brand) !important;
	border-bottom: 1px solid rgba(14, 111, 92, .3);
	padding-bottom: 3px;
}
.text-center h4 a.text-secondary:hover { border-bottom-color: var(--g-brand); }

.card { height: 100%; }
/* ---------- v1.1 修订：稳定渲染 + 列表信息层级 ---------- */
/* 1. 关闭 wow.js 入场动画：避免首屏元素长时间不可见、滚动时闪入 */
.wow { animation: none !important; visibility: visible !important; opacity: 1 !important; }
/* 2. 首页轮播图内已嵌公司名称，隐藏叠加文字，避免与图内文字重叠 */
.swiper-container .position-absolute { display: none !important; }
/* 3. 案例列表标题单行省略，卡片底部对齐 */
.figure-caption { display: block; min-height: 0; padding-top: 12px; }
.figure-caption a {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* 4. 详情页统一阅读列宽（标题/元信息/正文/上下篇同宽居中） */
.container.pages > h2,
.container.pages > .content,
.container.pages > div.text-center.border-bottom,
.container.pages > .text-secondary.lh-2 {
	max-width: 860px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.pages .shadow-sm.p-3.my-5.bg-white.rounded {
	max-width: 860px;
	margin-left: auto !important;
	margin-right: auto !important;
	border-radius: var(--g-radius) !important;
	border: 1px solid var(--g-line);
}
/* 5. 新闻列表：图标 + 标题 + 日期 单行排布 */
.pages ul li { display: flex; align-items: center; padding: 16px 22px; }
.pages ul li .fa,
.pages ul li i.fa {
	flex: 0 0 4px;
	width: 4px;
	height: 30px;
	margin-right: 16px;
	border-radius: 3px;
	background: rgba(14, 111, 92, .22);
	color: transparent;
	font-size: 0;
	overflow: hidden;
}
.pages ul li a { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.pages ul li .float-right {
	float: none !important;
	margin-left: auto;
	padding-left: 16px;
	color: #93A5A0;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
/* 6. 内页头部高度 */
.g-hero { min-height: 320px; }

/* ---------- 首页公司简介 / 新闻动态 可读性 ---------- */
div.row.text-secondary.mb-5 {
	color: #3F514C !important;
	font-size: 15px;
	line-height: 2.05;
}
.media h5 a {
	color: var(--g-ink) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	transition: color .25s;
}
.media h5 a:hover { color: var(--g-brand) !important; }
.media p a {
	color: #5F7169 !important;
	font-size: 14px;
	line-height: 1.95;
}
.media .media-body { padding-bottom: 4px; border-bottom: 1px dashed var(--g-line); }
.media:hover .media-body { border-bottom-color: rgba(14, 111, 92, .35); }

/* ---------- 响应式 ---------- */
@media only screen and (max-width: 991px) {
	.navbar-nav .nav-link::after { display: none; }
	.card-img-150 { height: 190px; }
}
@media only screen and (max-width: 576px) {
	.swiper-container { height: 250px; }
	.swiper-container .position-absolute { padding-bottom: 26px; }
	.swiper-container .swiper-slide h1 { font-size: 20px !important; margin-bottom: .3rem; }
	.swiper-container .swiper-slide h4 { font-size: 12px !important; }
	.g-hero { min-height: 190px; }
	.g-hero h1 { font-size: 21px; padding-left: 12px; border-left-width: 3px; }
	.g-hero p { font-size: 12px; letter-spacing: 1px; padding-left: 15px; }
	.bg-white.py-5, .bg-light.py-5 { padding-top: 2.6rem !important; padding-bottom: 2.6rem !important; }
	.container > .text-center.fs-26 { font-size: 21px !important; }
	.card-img-150 { height: 200px; }
	.pages h2 { font-size: 20px !important; }
	.content { font-size: 15px; line-height: 1.85; }
	.content h2, .content h3 { font-size: 17px !important; }
	.footer { padding-top: 2.4rem !important; }
	.footer ul li { line-height: 2; }
	.pages ul li { padding: 13px 15px; }
	.pages ul li a { font-size: 14px; }
}
