/* ======================================================
   contact-modern.css
   联系我们页面样式
   —— 复用首页 (index-modern.css) 的设计系统与基础组件
   —— 在此基础上补充"内页头部 / 联系信息面板(暗色) / 表单"组件
   ====================================================== */

@import url("index-modern.css");

/* ============ 内页头部 Page Hero ============ */
.page-hero {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	display: flex;
	align-items: center;
	color: #fff;
	background: #071225;
}

.page-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 20%, rgba(10, 124, 255, .22), transparent 32%),
		radial-gradient(circle at 8% 85%, rgba(9, 194, 236, .14), transparent 30%),
		linear-gradient(126deg, #050e1e 0%, #08182e 55%, #041024 100%);
}

.page-hero-grid {
	position: absolute;
	inset: 0;
	opacity: .22;
	background-image:
		linear-gradient(rgba(105, 202, 255, .16) 1px, transparent 1px),
		linear-gradient(90deg, rgba(105, 202, 255, .16) 1px, transparent 1px);
	background-size: 52px 52px;
	transform: perspective(700px) rotateX(57deg) scale(1.7) translateY(15%);
	transform-origin: center bottom;
	mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 85%, transparent 100%);
}

.page-hero-content {
	position: relative;
	z-index: 1;
	max-width: 880px;
	padding-top: 84px;
}

.page-hero-content h1 {
	margin: 0;
	font-size: clamp(38px, 4.6vw, 58px);
	line-height: 1.16;
	letter-spacing: -2.5px;
	font-weight: 600;
}

.page-hero-desc {
	max-width: 600px;
	margin: 20px 0 26px;
	color: #b9c9e2;
	font-size: 15px;
	line-height: 1.95;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #7f96b4;
	font-size: 12px;
	letter-spacing: .5px;
}

.breadcrumb a {
	transition: color .2s;
}

.breadcrumb a:hover {
	color: var(--cyan);
}

.breadcrumb i {
	font-style: normal;
	opacity: .6;
}

.breadcrumb span {
	color: #cfe1f9;
}

/* ============ 联系区块：双栏布局 ============ */
.contact-section {
	background: var(--paper);
}

.contact-layout {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: 5%;
	align-items: stretch;
}

/* ---- 左侧：联系方式面板（暗色） ---- */
.contact-info-panel {
	position: relative;
	overflow: hidden;
	padding: 46px 40px;
	color: #fff;
	background: #071225;
}

.contact-info-panel:before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 73% 15%, rgba(0, 118, 255, .25), transparent 32%), linear-gradient(140deg, #050e1e 10%, #0b1d3c 65%, #061329);
}

.contact-info-panel>* {
	position: relative;
	z-index: 1;
}

.contact-info-panel .eyebrow {
	color: #68dfff;
}

.contact-info-panel h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -1px;
}

.contact-info-panel>p {
	margin: 0 0 40px;
	color: #a8bad1;
	font-size: 13px;
	line-height: 1.9;
}

.contact-info-list {
	display: grid;
	gap: 0;
}

.contact-info-item {
	padding: 20px 0;
	border-top: 1px solid rgba(130, 203, 249, .18);
}

.contact-info-item:last-child {
	border-bottom: 1px solid rgba(130, 203, 249, .18);
}

.contact-info-item small {
	display: block;
	margin-bottom: 8px;
	color: #69daf6;
	font: 10px Arial;
	letter-spacing: 1.2px;
}

.contact-info-item a,
.contact-info-item span {
	font-size: 15px;
	color: #eaf3ff;
	line-height: 1.6;
}

.contact-info-item a:hover {
	color: var(--cyan);
}

.point-map-img {
	width: 100%;
	margin-top: 20px;
	display: block;
	cursor: zoom-in;
}

.map-preview {
	position: fixed;
	inset: 0;
	z-index: 9999;

	display: flex;
	justify-content: center;
	align-items: center;

	/* 不阻挡鼠标事件 */
	pointer-events: none;

	opacity: 0;
	visibility: hidden;

	transition: opacity 0.3s ease;
}

.map-preview.show {
	opacity: 1;
	visibility: visible;
}

/* 放大的图片 */
.map-preview img {
	width: 80vw;
	height: 80vh;

	object-fit: contain;

	pointer-events: auto;

	cursor: zoom-out;

	border-radius: 8px;
	/* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); */

	transform: scale(0.85);
	transition: transform 0.3s ease;
}

.map-preview.show img {
	transform: scale(1);
}

body.map-preview-open {
	overflow: hidden;
}

/* ---- 右侧：表单面板 ---- */
.contact-form-panel {
	padding: 46px 44px;
	background: #fff;
	border: 1px solid #e2ebf6;
}

.contact-form-panel h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.5px;
	color: var(--ink);
}

.contact-form-panel>p {
	margin: 0 0 36px;
	color: #687991;
	font-size: 13px;
	line-height: 1.8;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.form-field {
	display: grid;
	gap: 8px;
	margin-bottom: 26px;
}

.form-field label {
	color: #5c6b81;
	font-size: 12px;
	letter-spacing: .5px;
}

.form-field input,
.form-field textarea {
	padding: 12px 2px;
	color: var(--ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid #d3e0f0;
	font: inherit;
	font-size: 14px;
	transition: border-color .25s;
}

.form-field textarea {
	min-height: 110px;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	outline: 0;
	border-bottom-color: var(--blue);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #a7b4c8;
}

.form-submit-row {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.form-submit-row .button {
	cursor: pointer;
	border: 0;
}

.form-status {
	font-size: 12px;
	color: #5c6b81;
}

.form-status.is-success {
	color: #1a9b6b;
}

.form-status.is-error {
	color: #e0546f;
}

```css
/* =========================================================
   联系我们 - 留言表单新版
   与 contact-modern.css / 首页科技感视觉统一
   ========================================================= */

#gform.contact-form-panel {
	position: relative;
	overflow: hidden;
	padding: 46px 44px;
	background: #ffffff;
	border: 1px solid #e1eaf5;
	box-shadow: 0 18px 55px rgba(15, 46, 82, 0.07);
}

/* 顶部装饰光 */
#gform.contact-form-panel::before {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -120px;
	top: -130px;
	border-radius: 50%;
	background: radial-gradient(circle,
			rgba(0, 139, 255, 0.12) 0%,
			rgba(0, 139, 255, 0.04) 38%,
			transparent 72%);
	pointer-events: none;
}

/* 左上角细线 */
#gform.contact-form-panel::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 72px;
	height: 3px;
	background: linear-gradient(90deg,
			var(--blue),
			var(--cyan),
			transparent);
}

/* =========================================================
   表单头部
   ========================================================= */

#gform .gform-header {
	position: relative;
	z-index: 1;
	margin-bottom: 34px;
}

#gform .gform-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 50px;
	color: var(--blue);
	font-size: 10px;
	font-family: Arial, sans-serif;
	font-weight: 600;
	letter-spacing: 2px;
}

#gform .gform-eyebrow span {
	display: inline-block;
	width: 24px;
	height: 1px;
	background: linear-gradient(90deg,
			var(--blue),
			var(--cyan));
}

#gform .gform-header h2 {
	margin: 0 0 9px;
	color: var(--ink);
	font-size: 28px;
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: -1px;
}

#gform .gform-desc {
	margin: 0;
	color: #718198;
	font-size: 13px;
	line-height: 1.8;
}

/* =========================================================
   表单布局
   ========================================================= */

#gform .gform-form {
	position: relative;
	z-index: 1;
}

#gform .gform-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 25px;
}

#gform .gform-field {
	min-width: 0;
}

#gform .gform-field-full {
	grid-column: 1 / -1;
}

/* =========================================================
   Label
   ========================================================= */

#gform .gform-field label {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 9px;
	color: #53647b;
	font-size: 12px;
	line-height: 1;
	letter-spacing: .3px;
}

#gform .gform-field label span {
	color: #91a2b8;
	font-family: Arial, sans-serif;
	font-size: 9px;
	letter-spacing: 1px;
}

/* =========================================================
   输入框外层
   ========================================================= */

#gform .gform-input-wrap {
	position: relative;
}

/* 输入框底部动态线 */
#gform .gform-input-wrap::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg,
			var(--blue),
			var(--cyan));
	transition: width .3s ease;
}

/* =========================================================
   Input / Textarea
   ========================================================= */

#gform .gfInput,
#gform .gf_message {
	display: block;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #dce6f1;
	border-radius: 2px;
	outline: none;

	color: var(--ink);
	background: #f8fbfe;

	font-family: inherit;
	font-size: 14px;

	transition:
		border-color .25s ease,
		background-color .25s ease,
		box-shadow .25s ease;
}

/* 普通 input */
#gform .gfInput {
	height: 48px;
	padding: 0 15px;
}

/* textarea */
#gform .gf_message {
	min-height: 125px;
	padding: 14px 15px;
	line-height: 1.8;
	resize: vertical;
}

/* placeholder */
#gform .gfInput::placeholder,
#gform .gf_message::placeholder {
	color: #a6b3c4;
	transition: color .2s ease;
}

/* hover */
#gform .gfInput:hover,
#gform .gf_message:hover {
	border-color: #c4d5e8;
	background: #fbfdff;
}

/* focus */
#gform .gfInput:focus,
#gform .gf_message:focus {
	border-color: #8abfe9;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(28, 133, 221, 0.06);
}

/* focus 时底部线 */
#gform .gform-input-wrap:focus-within::after {
	width: 100%;
}

#gform .gfInput:focus::placeholder,
#gform .gf_message:focus::placeholder {
	color: #c2ccd8;
}

/* =========================================================
   留言框
   ========================================================= */

#gform .gform-message-field {
	margin-top: 1px;
}

#gform .gform-message-field .gform-input-wrap {
	position: relative;
}

/* =========================================================
   提交区域
   ========================================================= */

#gform .gform-submit {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 30px;
	padding-top: 27px;
	border-top: 1px solid #e7eef6;
}

/* 提交按钮 */
#gform #GBbt {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 145px;
	height: 48px;
	padding: 0 48px 0 22px;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	color: #ffffff;
	background: linear-gradient(100deg,
			#0875d1 0%,
			#078fdc 55%,
			#09b4e5 100%);
	box-shadow: 0 10px 24px rgba(0, 115, 205, 0.18);
	font-family: inherit;
	font-size: 13px;
	letter-spacing: .5px;

	transition:
		transform .25s ease,
		box-shadow .25s ease,
		filter .25s ease;
}

/* 按钮右侧箭头 */
#gform .gform-submit-arrow {
	position: absolute;
	left: 80px;
	top: 27px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: rgba(255, 255, 255, .95);
	font-size: 18px;
	pointer-events: none;
	transition: transform .25s ease;
}

/* hover */
#gform #GBbt:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow: 0 14px 30px rgba(0, 115, 205, 0.25);
}

#gform #GBbt:hover+.gform-submit-arrow {
	transform: translate(3px, -3px);
}

/* active */
#gform #GBbt:active {
	transform: translateY(0);
	box-shadow: 0 7px 16px rgba(0, 115, 205, 0.18);
}

/* =========================================================
   提示文字
   ========================================================= */

#gform .gform-submit-tip {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 20px;

	color: #91a0b3;
	font-size: 12px;
	line-height: 1.5;
}

#gform .gform-submit-tip span {
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	border-radius: 50%;
	background: #35c3df;
	box-shadow: 0 0 8px rgba(53, 195, 223, .5);
}

/* =========================================================
   验证错误状态
   兼容原来的 CheckForm
   ========================================================= */

#gform .gfInput.input-error,
#gform .gf_message.input-error {
	border-color: #e56b7d;
	background: #fffafb;
}

#gform .gfInput.input-error:focus,
#gform .gf_message.input-error:focus {
	box-shadow: 0 0 0 3px rgba(229, 107, 125, .08);
}

/* =========================================================
   兼容旧建站平台可能添加的状态
   ========================================================= */

#gform .gformList,
#gform .formboxSet,
#gform .gformS {
	width: 100%;
}

#gform input[type="hidden"] {
	display: none;
}

/* =========================================================
   平板
   ========================================================= */

@media (max-width: 900px) {

	#gform.contact-form-panel {
		padding: 38px 32px;
	}

}

/* =========================================================
   手机
   ========================================================= */

@media (max-width: 620px) {

	#gform.contact-form-panel {
		padding: 32px 24px;
	}

	#gform .gform-header {
		margin-bottom: 27px;
	}

	#gform .gform-header h2 {
		font-size: 25px;
	}

	#gform .gform-desc {
		font-size: 12px;
	}

	#gform .gform-fields {
		grid-template-columns: 1fr;
		row-gap: 21px;
	}

	#gform .gform-field-full {
		grid-column: auto;
	}

	#gform .gfInput {
		height: 46px;
	}

	#gform .gf_message {
		min-height: 120px;
	}

	#gform .gform-submit {
		display: block;
		margin-top: 25px;
		padding-top: 24px;
	}

	#gform #GBbt {
		width: 145px;
	}

	#gform .gform-submit-arrow {
		top: 24px;
	}

	#gform .gform-submit-tip {
		margin: 14px 0 0;
	}
}

```

/* ============ 响应式 ============ */
@media (max-width:900px) {
	.page-hero {
		min-height: 360px;
	}

	.page-hero-content {
		padding-top: 120px;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.contact-info-panel,
	.contact-form-panel {
		padding: 38px 32px;
	}
}

@media (max-width:620px) {
	.page-hero-content h1 {
		font-size: 36px;
		letter-spacing: -1.5px;
	}

	.page-hero-desc {
		font-size: 13px;
	}

	.contact-info-panel,
	.contact-form-panel {
		padding: 32px 24px;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}