/* 联系我们 —— 参考 sdjdlaw/contact 布局，品牌色 #1da193 */

.contact-page {
	background: var(--zly-bg, #f5f7f8);
	padding: 36px 0 64px;
}

.contact-layout {
	display: flex;
	gap: 28px;
	align-items: stretch;
}

.contact-sidebar,
.contact-form-panel {
	background: #fff;
	border-radius: var(--zly-radius, 6px);
	box-shadow: var(--zly-shadow, 0 8px 28px rgba(17, 34, 32, 0.08));
	padding: 32px 28px 36px;
}

.contact-sidebar {
	flex: 0 0 340px;
	max-width: 340px;
}

.contact-form-panel {
	flex: 1 1 auto;
	min-width: 0;
}

.cs-title,
.cfp-title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--zly-text, #222);
	letter-spacing: 0.04em;
}

.cs-en,
.cfp-en {
	margin-top: 6px;
	font-size: 12px;
	letter-spacing: 0.16em;
	color: var(--zly-muted, #888);
	text-transform: uppercase;
}

.cs-divider,
.cfp-divider {
	width: 42px;
	height: 3px;
	margin: 16px 0 28px;
	background: var(--zly-brand, #1da193);
	border-radius: 2px;
}

.cs-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.cs-icon {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--zly-brand-soft, rgba(29, 161, 147, 0.12));
	color: var(--zly-brand, #1da193);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.cs-label {
	font-size: 13px;
	color: var(--zly-muted, #888);
	margin-bottom: 4px;
}

.cs-value {
	font-size: 15px;
	color: var(--zly-text, #222);
	line-height: 1.55;
	word-break: break-all;
}

.cs-value a {
	color: var(--zly-text, #222);
	text-decoration: none;
}

.cs-value a:hover {
	color: var(--zly-brand, #1da193);
}

.cs-qr {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--zly-line, #ececec);
}

.cs-qr-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--zly-text, #222);
	margin-bottom: 16px;
}

.cs-qr-boxes {
	display: flex;
	gap: 14px;
}

.cs-qr-box {
	flex: 1;
	text-align: center;
	padding: 16px 10px;
	background: #f7faf9;
	border: 1px dashed rgba(29, 161, 147, 0.35);
	border-radius: var(--zly-radius, 6px);
}

.cs-qr-box .qr-img {
	width: 88px;
	height: 88px;
	margin: 0 auto 10px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #e8eeee;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--zly-brand, #1da193);
	font-size: 28px;
	overflow: hidden;
}

.cs-qr-box .qr-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-qr-box .qr-label {
	font-size: 12px;
	color: #666;
}

.cf-row {
	display: flex;
	gap: 16px;
}

.cf-group {
	flex: 1;
	margin-bottom: 18px;
	min-width: 0;
}

.cf-group label {
	display: block;
	font-size: 14px;
	color: #444;
	margin-bottom: 8px;
	font-weight: 500;
}

.cf-group .req {
	color: #e05a5a;
	margin-left: 2px;
}

.cf-group input,
.cf-group textarea {
	width: 100%;
	border: 1px solid #e2e6e5;
	border-radius: var(--zly-radius, 6px);
	padding: 11px 14px;
	font-size: 14px;
	color: var(--zly-text, #222);
	background: #fff;
	transition: border-color 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease);
	outline: none;
	box-sizing: border-box;
}

.cf-group textarea {
	min-height: 130px;
	resize: vertical;
	line-height: 1.6;
}

.cf-group input:focus,
.cf-group textarea:focus {
	border-color: var(--zly-brand, #1da193);
	box-shadow: 0 0 0 3px rgba(29, 161, 147, 0.12);
}

.cf-group input.is-invalid,
.cf-group textarea.is-invalid {
	border-color: #e05a5a;
}

.cf-error {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #e05a5a;
}

.cf-urgent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 4px 0 18px;
	cursor: pointer;
	font-weight: normal;
}

.cf-urgent input {
	margin-top: 3px;
	accent-color: var(--zly-brand, #1da193);
}

.cf-urgent .urgent-label {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
}

.cf-urgent .urgent-label strong {
	color: var(--zly-text, #222);
}

.cf-captcha-row {
	display: flex;
	gap: 12px;
	align-items: center;
}

.cf-captcha-row input {
	flex: 1;
	max-width: 180px;
}

.cf-captcha-img {
	height: 40px;
	border-radius: 4px;
	border: 1px solid #e2e6e5;
	cursor: pointer;
	background: #f5f7f8;
}

.cf-captcha-hint {
	margin-top: 6px;
	font-size: 12px;
	color: #999;
}

.cf-agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 8px 0 22px;
	font-size: 13px;
	color: #666;
	line-height: 1.55;
}

.cf-agree input {
	margin-top: 3px;
	accent-color: var(--zly-brand, #1da193);
}

.cf-agree a {
	color: var(--zly-brand, #1da193);
	text-decoration: none;
}

.cf-agree a:hover {
	text-decoration: underline;
}

.cf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--zly-radius, 6px);
	background: var(--zly-brand, #1da193);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.18em;
	cursor: pointer;
	transition: background 0.2s var(--zly-ease, ease), transform 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease);
	box-shadow: 0 8px 18px rgba(29, 161, 147, 0.28);
}

.cf-submit:hover {
	background: var(--zly-brand-dark, #178f83);
	transform: translateY(-1px);
}

.cf-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.contact-alert {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: var(--zly-radius, 6px);
	font-size: 14px;
	line-height: 1.5;
}

.contact-alert.success {
	background: rgba(29, 161, 147, 0.1);
	color: #0f7a70;
	border: 1px solid rgba(29, 161, 147, 0.25);
}

.contact-alert.error {
	background: rgba(224, 90, 90, 0.08);
	color: #c0392b;
	border: 1px solid rgba(224, 90, 90, 0.25);
}

.contact-banner .news-banner-inner p {
	max-width: 620px;
}

.contact-crumb {
	margin-top: 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

.contact-crumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.contact-crumb a:hover {
	color: #fff;
}

.contact-crumb span {
	margin: 0 8px;
	opacity: 0.6;
}

@media (max-width: 991px) {
	.contact-layout {
		flex-direction: column;
	}

	.contact-sidebar {
		flex: none;
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.contact-page {
		padding: 24px 0 48px;
	}

	.contact-sidebar,
	.contact-form-panel {
		padding: 24px 18px 28px;
	}

	.cf-row {
		flex-direction: column;
		gap: 0;
	}

	.cf-captcha-row {
		flex-wrap: wrap;
	}

	.cf-captcha-row input {
		max-width: none;
	}

	.cf-submit {
		width: 100%;
		letter-spacing: 0.12em;
	}

	.news-banner,
	.news-banner-inner {
		height: 220px;
	}

	.news-banner-inner h1 {
		font-size: 30px;
	}
}
