/* 律所管理系统落地页：6-7 屏；无大图左右交替 */

.page-lawyer {
	font-family: "IBMPlexSansSC-Light", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
	font-weight: 300;
	background: #fff;
	color: #161616;
}

.page-lawyer .page-wrapper {
	overflow-x: hidden;
}

.page-lawyer .container-1200 {
	width: 12rem;
	margin: 0 auto;
}

.page-lawyer .header-phone {
	font-family: "IBMPlexSansSC-Light", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
	font-size: 0.22rem;
	font-weight: 700;
	font-synthesis: weight;
	color: #fe0000;
	line-height: normal;
}

.page-lawyer .hero-section {
	overflow: visible;
}

.page-lawyer .hero-inner {
	align-items: center;
	padding: 0.8rem 0 0.48rem;
	box-sizing: border-box;
	min-height: 6.1rem;
}

.page-lawyer .hero-copy h1 {
	font-size: 0.6rem;
	line-height: 0.9rem;
	font-weight: 300;
	font-synthesis: weight;
	max-width: 10.2rem;
	margin-bottom: 0.2rem;
}

.page-lawyer .hero-copy p {
	max-width: 9.6rem;
	font-size: 0.22rem;
	line-height: 0.36rem;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 300;
	margin-bottom: 0.2rem;
}

.page-lawyer a.btn-red {
	display: inline-flex;
	width: fit-content;
	min-width: 0;
	max-width: none;
	text-decoration: none;
	box-sizing: border-box;
	gap: 0.12rem;
	margin-top: 0.28rem;
	padding: 0 0.2rem;
	justify-content: flex-start;
}

.page-lawyer a.btn-red .btn-jiantou {
	margin-left: 0.12rem;
}

.law-hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem;
}

.law-hero-tags span {
	display: inline-flex;
	align-items: center;
	padding: 0.06rem 0.14rem;
	font-size: 0.15rem;
	line-height: 0.24rem;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.12);
}

.law-section {
	padding: 0.72rem 0;
}

.law-section-desc {
	text-align: center;
	max-width: 10rem;
	margin: -0.04rem auto 0.32rem;
	font-size: 0.24rem;
	line-height: 1.5;
	color: #333;
	font-weight: 300;
}

.page-lawyer .hero-section .btn-red,
.page-lawyer .hero-copy .btn-red {
	font-size: 0.21rem;
}

.page-lawyer .section-title {
	font-size: 0.64rem;
	line-height: 0.8rem;
	margin-bottom: 0.24rem;
	font-weight: 300;
	font-synthesis: weight;
	color: #000;
}

.page-lawyer .law-trust .stat-item strong {
	font-weight: 300;
	font-synthesis: weight;
	font-size: 0.32rem;
	line-height: 0.44rem;
}

.page-lawyer .law-trust .stat-item span {
	color: #333;
	font-size: 0.2rem;
	line-height: 1.5;
	margin-top: 0.04rem;
	font-weight: 300;
}

/* ---------- 痛点 ---------- */
.law-pain {
	background: #f5f6f8;
}

.law-pain-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.16rem;
}

.law-pain-card {
	padding: 0.24rem 0.22rem;
	background: #fff;
	border: 1px solid #cfcfcf;
	box-sizing: border-box;
	min-height: 2rem;
}

.law-pain-head {
	display: flex;
	align-items: center;
	gap: 0.12rem;
}

.law-pain-no {
	flex: 0 0 auto;
	font-size: 0.5rem;
	line-height: 1;
	color: #fe0000;
	font-weight: 500;
	font-synthesis: weight;
}

.law-pain-card h3 {
	margin: 0;
	font-size: 0.26rem;
	line-height: 1.3;
	font-weight: 300;
	font-synthesis: weight;
	color: #1a1a1a;
}

.law-pain-card p {
	margin: 0.08rem 0 0;
	font-size: 0.16rem;
	line-height: 2;
	font-weight: 300;
	font-synthesis: weight;
	color: #333;
}

/* ---------- 解决方案 ---------- */
.law-solution {
	background: #fff;
}

.law-solution-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.16rem;
}

.law-solution-card {
	padding: 0.28rem 0.24rem;
	border: 1px solid #cfcfcf;
	background: #fff;
	box-sizing: border-box;
}

.law-solution-card img {
	width: 0.48rem;
	height: 0.48rem;
	object-fit: contain;
	display: block;
}

.law-solution-card h3 {
	margin: 0.14rem 0 0;
	font-size: 0.26rem;
	line-height: 1.5;
	font-weight: 300;
	font-synthesis: weight;
	color: #1a1a1a;
}

.law-solution-card p {
	margin: 0.08rem 0 0;
	font-size: 0.16rem;
	line-height: 1.5;
	font-weight: 300;
	font-synthesis: weight;
	color: #333;
}

/* ---------- 优势：2x2 紧凑卡片 ---------- */
.law-adv {
	background: #12151a;
	padding: 0.56rem 0;
}

.page-lawyer .law-adv .section-title {
	color: #fff;
	margin-bottom: 0.12rem;
}

.page-lawyer .law-adv .law-section-desc {
	color: rgba(255, 255, 255, 0.78);
	margin: 0 auto 0.24rem;
}

.law-adv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: #1a1e25;
}

.law-adv-grid article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0.24rem 0.24rem 0.28rem;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
}

.law-adv-grid article:nth-child(2n) {
	border-right: none;
}

.law-adv-grid article:nth-child(n + 3) {
	border-bottom: none;
}

.law-adv-grid img {
	width: 0.4rem;
	height: 0.4rem;
	object-fit: contain;
	display: block;
	filter: brightness(1.15);
}

.law-adv-tag {
	display: inline-block;
	margin: 0.1rem 0 0;
	padding: 0.02rem 0.1rem;
	font-size: 0.13rem;
	line-height: 1.5;
	color: #fe0000;
	border: 1px solid rgba(254, 0, 0, 0.45);
	background: rgba(254, 0, 0, 0.12);
}

.law-adv-grid h3 {
	margin: 0.1rem 0 0;
	font-size: 0.26rem;
	line-height: 1.5;
	font-weight: 300;
	font-synthesis: weight;
	color: #fff;
}

.law-adv-grid p {
	margin: 0.1rem 0 0;
	font-size: 0.16rem;
	line-height: 1.5;
	font-weight: 300;
	font-synthesis: weight;
	color: rgba(255, 255, 255, 0.88);
}

/* ---------- 功能模块 ---------- */
.law-modules {
	background: #fff;
}

.law-module-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.12rem;
}

.law-module-grid article {
	display: flex;
	align-items: center;
	gap: 0.1rem;
	padding: 0.16rem 0.14rem;
	border: 1px solid #cfcfcf;
	background: #fafafa;
	box-sizing: border-box;
	min-height: 0.76rem;
}

.law-module-grid img {
	width: 0.32rem;
	height: 0.32rem;
	object-fit: contain;
	flex: 0 0 0.32rem;
	display: block;
}

.law-module-grid h3 {
	margin: 0;
	font-size: 0.26rem;
	line-height: 1.5;
	font-weight: 300;
	font-synthesis: weight;
	color: #1a1a1a;
}

/* ---------- CTA ---------- */
.page-lawyer .cta-section {
	height: 2.72rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
}

.page-lawyer .cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 12rem;
	padding: 0.36rem 0 0;
	box-sizing: border-box;
}

.page-lawyer .cta-inner h2 {
	padding-top: 0;
	margin-bottom: 0.08rem;
	color: #1a1a1a;
	font-size: 0.36rem;
	font-weight: 300;
	font-synthesis: weight;
}

.page-lawyer .cta-inner p {
	margin-bottom: 0.14rem;
	color: #333;
	font-size: 0.24rem;
}

.page-lawyer .cta-inner .btn-red {
	margin: 0 auto !important;
}

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
	.page-lawyer .container-1200 {
		width: auto;
		padding: 0 0.32rem;
	}

	.page-lawyer .cta-inner {
		width: 100%;
		padding-left: 0.32rem;
		padding-right: 0.32rem;
	}

	.law-pain-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.law-solution-grid {
		grid-template-columns: 1fr;
	}

	.law-adv-grid {
		grid-template-columns: 1fr;
	}

	.law-adv-grid article {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.law-adv-grid article:last-child {
		border-bottom: none;
	}

	.law-module-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- 移动 ---------- */
@media (max-width: 767px) {
	.page-lawyer .hero-copy h1 {
		font-size: 0.36rem;
		line-height: 0.52rem;
	}

	.page-lawyer .hero-copy p {
		font-size: 0.16rem;
		line-height: 0.28rem;
	}

	.law-section {
		padding: 0.56rem 0;
	}

	.law-pain-grid,
	.law-solution-grid,
	.law-adv-grid,
	.law-module-grid {
		grid-template-columns: 1fr;
	}
}
