/* contact.css — 对齐静态页 ELSKY2/联系我们.html */

.site-page-contact {
	background: #f0f4f5;
}

.contact-page-header {
	text-align: center;
	padding: 40px 0 32px;
	background: #ffffff;
	border-bottom: 1px solid #e8eaf0;
}

.contact-page-header .container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 80px;
	box-sizing: border-box;
}

.contact-page-header .eyebrow {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #d4af37;
	margin-bottom: 6px;
}

.contact-page-header h1 {
	font-size: 38px;
	font-weight: 800;
	color: #0a0e27;
	line-height: 1.2;
	margin: 0;
}

.contact-page-header p {
	font-size: 17px;
	color: #8888aa;
	margin: 8px auto 0;
	max-width: 560px;
}

.contact-page {
	padding: 50px 0 80px;
	color: #1a1a2e;
	font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
	line-height: 1.6;
}

.contact-page a {
	text-decoration: none;
	color: inherit;
}

.contact-page .container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 80px;
	box-sizing: border-box;
}

.contact-page .contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

.contact-page .contact-info {
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid #e8eaf0;
	padding: 36px 40px 40px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.contact-page .contact-info .info-title {
	font-size: 20px;
	font-weight: 700;
	color: #0a0e27;
	margin-bottom: 6px;
}

.contact-page .contact-info .info-sub {
	font-size: 15px;
	color: #8888aa;
	margin-bottom: 28px;
}

.contact-page .contact-info .info-item {
	display: flex;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px solid #f0f2f6;
}

.contact-page .contact-info .info-item:last-of-type {
	border-bottom: none;
}

.contact-page .contact-info .info-item .icon-box {
	width: 48px;
	height: 48px;
	min-width: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-page .contact-info .info-item .icon-box img {
	width: 48px;
	height: 48px;
	display: block;
	object-fit: contain;
}

.contact-page .contact-info .info-item .info-text {
	flex: 1;
}

.contact-page .contact-info .info-item .info-text .label {
	font-size: 13px;
	color: #8888aa;
	font-weight: 500;
	display: block;
}

.contact-page .contact-info .info-item .info-text .value {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a2e;
}

.contact-page .contact-info .info-item .info-text .value a {
	color: #0a6e6e;
}

.contact-page .contact-info .info-item .info-text .value a:hover {
	text-decoration: underline;
}

.contact-page .contact-social {
	margin-top: 24px;
}

.contact-page .contact-social .social-label {
	font-size: 14px;
	color: #8888aa;
	margin-bottom: 12px;
}

.contact-page .contact-social .social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.contact-page .contact-social .social-icons a {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s;
}

.contact-page .contact-social .social-icons a img {
	width: 44px;
	height: 44px;
	display: block;
	object-fit: contain;
}

.contact-page .contact-social .social-icons a:hover {
	transform: translateY(-3px);
}

.contact-page .contact-form-wrap {
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid #e8eaf0;
	padding: 36px 40px 40px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.contact-page .contact-form-wrap .form-title {
	font-size: 20px;
	font-weight: 700;
	color: #0a0e27;
	margin-bottom: 6px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e4ea;
}

.contact-page .contact-form-wrap .form-sub {
	font-size: 15px;
	color: #8888aa;
	margin-bottom: 24px;
}

.contact-page .form-body .form-group {
	margin-bottom: 18px;
}

.contact-page .form-body .form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	margin-bottom: 4px;
}

.contact-page .form-body .form-group label .required {
	color: #e74c3c;
	margin-left: 2px;
}

.contact-page .form-body .form-group input,
.contact-page .form-body .form-group textarea,
.contact-page .form-body .form-group select {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #e0e4ea;
	border-radius: 12px;
	font-size: 15px;
	font-family: inherit;
	color: #1a1a2e;
	background: #fafbfc;
	transition: all 0.3s;
	outline: none;
	box-sizing: border-box;
}

.contact-page .form-body .form-group select {
	padding-right: 40px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666888' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
}

.contact-page .form-body .form-group input:focus,
.contact-page .form-body .form-group textarea:focus,
.contact-page .form-body .form-group select:focus {
	border-color: #0a6e6e;
	box-shadow: 0 0 0 4px rgba(10, 110, 110, 0.08);
	background-color: #fff;
}

.contact-page .form-body .form-group textarea {
	height: 120px;
	resize: vertical;
}

.contact-page .form-body .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.contact-page .form-body .submit-btn,
.contact-page .form-body .wpcf7 input.wpcf7-submit {
	width: 100%;
	padding: 14px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	border-radius: 12px;
	background: linear-gradient(135deg, #0a6e6e, #0a0e27);
	transition: all 0.3s;
	box-shadow: 0 4px 20px rgba(10, 110, 110, 0.25);
	margin-top: 6px;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.contact-page .form-body .submit-btn:hover,
.contact-page .form-body .wpcf7 input.wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(10, 110, 110, 0.35);
	filter: brightness(1.05);
}

.contact-page .form-body .form-group--submit {
	margin-bottom: 0;
}

.contact-page .contact-map {
	margin-top: 48px;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid #e8eaf0;
	background: #eef2f4;
	min-height: 280px;
	color: #8888aa;
	font-size: 15px;
}

.contact-page .contact-map > *:first-child {
	margin-top: 0;
}

.contact-page .contact-map > *:last-child {
	margin-bottom: 0;
}

.contact-page .contact-map iframe,
.contact-page .contact-map embed,
.contact-page .contact-map object,
.contact-page .contact-map video,
.contact-page .contact-map img {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.contact-page .contact-map iframe {
	height: 280px;
	min-height: 280px;
}

.contact-page .contact-map .wp-block-embed,
.contact-page .contact-map .wp-block-html,
.contact-page .contact-map .wp-block-image {
	margin: 0;
}

.contact-page .contact-map .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
}

@media (max-width: 1200px) {
	.contact-page-header .container,
	.contact-page .container {
		padding: 0 40px;
	}

	.contact-page .contact-layout {
		gap: 32px;
	}
}

@media (max-width: 992px) {
	.contact-page .contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-page .contact-info {
		order: 2;
	}

	.contact-page .contact-form-wrap {
		order: 1;
	}
}

@media (max-width: 768px) {
	.contact-page-header .container,
	.contact-page .container {
		padding: 0 20px;
	}

	.contact-page-header h1 {
		font-size: 28px;
	}

	.contact-page-header p {
		font-size: 15px;
	}

	.contact-page .contact-info,
	.contact-page .contact-form-wrap {
		padding: 24px 20px 28px;
	}

	.contact-page .form-body .form-group {
		margin-bottom: 10px;
	}

	.contact-page .form-body .form-row {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.contact-page .contact-info .info-item .icon-box {
		width: 40px;
		height: 40px;
		min-width: 40px;
	}

	.contact-page .contact-info .info-item .icon-box img {
		width: 40px;
		height: 40px;
	}

	.contact-page .contact-map {
		min-height: 200px;
	}

	.contact-page .contact-map iframe {
		min-height: 200px;
		height: 200px;
	}
}

@media (max-width: 480px) {
	.contact-page-header h1 {
		font-size: 24px;
	}
}

/* 供应商留言：相对 #primary 右下角，距底 20px，无动画 */
.site-page-contact#primary {
	position: relative;
}

.contact-float-supplier {
	position: absolute;
	right:75px;
	bottom: 20px;
	top: auto;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	background: #ffffff;
	border-radius: 999px;
	border: 1px solid #e8eaf0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	color: #035c4d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	animation: none;
	transform: none;
}

.contact-float-supplier img {
	width: 19px;
	height: 14px;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

.contact-float-supplier:hover {
	color: #035c4d;
	transform: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
	.contact-float-supplier {
		right: 16px;
		bottom: 20px;
	}
}

@media (max-width: 768px) {
	.contact-float-supplier {
		right: 12px;
		bottom: 20px;
		padding: 10px 18px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.contact-float-supplier {
		right: 12px;
		bottom: 20px;
	}
}

.contact-page .contact-form-wrap .form-body {
	margin-top: 24px;
}

/* 供应商弹窗复用 site-footer.css 中 .contact-form-modal 样式 */
body.contact-modal-open .contact-float-supplier {
	z-index: 1;
}
