/* 联系我们页面样式 */

/* 页面基础样式 */
.contact-page {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	color: #333;
	background: #fff;
}

/* 确保导航栏正确显示 - 覆盖媒体查询限制 */



/* 确保在所有屏幕尺寸下都显示导航栏 */
@media (max-width: 959px) {
	.contact-page .header-inner .nav {
		display: flex !important;
	}
}


/* Hero区域样式 */
.contact-hero {
	position: relative;
	min-height: 60vh;
	background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 50%, rgba(49, 130, 206, 0.8) 100%), url('./contbg1.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	overflow: visible; /* 允许下方悬浮卡片溢出显示 */
}

.contact-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 20%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 60%, rgba(0, 100, 255, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.contact-hero h1 {
	font-size: clamp(36px, 6vw, 40px);
	font-weight: 700;
	color: #fff;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2;
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.contact-hero .hero-content {
	position: relative;
	z-index: 15;
	text-align: center;
	margin-bottom: 120px;
}

/* 确保页面内容不被置顶导航栏遮挡 */
.contact-hero {
	padding-top: 120px;
}

/* 面包屑导航 */
.breadcrumb-section {
	background: #f8f9fa;
	padding: 20px 0;
	border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #6c757d;
}

.breadcrumb a {
	color: #007bff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: #0056b3;
}

.breadcrumb .separator {
	color: #6c757d;
}

.breadcrumb .current {
	color: #333;
	font-weight: 500;
}

/* 服务网点区域 */
.service-network-section {
	padding: 80px 0;
	/* background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 0.72) 41.56%, rgba(204, 204, 204, 0) 100%), url('./contbg2.png'); */
	background: url('./contbg2.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	padding-top: 160px; /* 为空中悬浮联系方式留出空间 */
}

.service-network-section .container {
	position: relative;
	z-index: 2;
}

.service-network-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 10% 20%, rgba(0, 100, 200, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 90% 80%, rgba(0, 150, 255, 0.02) 0%, transparent 50%);
	pointer-events: none;
	z-index: 1;
}

.section-header {
	text-align: center;
	position: relative;
	margin-bottom: 40px;
}

.section-bg-text {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: clamp(60px, 12vw, 120px);
	font-weight: 900;
	color: rgba(0, 100, 200, 0.1);
	z-index: 1;
	white-space: nowrap;
}

.section-title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	color: #1a365d;
	margin: 0;
	position: relative;
	z-index: 2;
}

.section-description {
	font-size: clamp(16px, 2.5vw, 20px);
	color: #666;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.8;
}

/* 联系信息网格样式已合并到service-network-section中 */

.contact-info-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	max-width: 1200px;
	 
}

.contact-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 30px;
	background: #fff;
	border-radius: 0;
	box-shadow: none;
	transition: all 0.3s ease;
	/* border: 1px solid #f0f0f0; */
	flex: 1;
	border-right: none;
}



.contact-info-grid:hover .contact-item {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-grid:hover .contact-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	z-index: 1;
	position: relative;
}



.contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
 
	border-radius: 12px;
	color: #fff;
	flex-shrink: 0;
}

.contact-icon svg {
	width: 24px;
	height: 24px;
}

.wechat-icon {
	width: 24px;
	height: 24px;
}
.contact-details{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.contact-details h3 {
	font-size: 16px;
	font-weight: 600;
	color: #1a365d;
	margin: 0 0 10px 0;
	display: flex;
	align-items: center;
}

.contact-details img {
	border-radius: 0 !important;
}

.contact-details p {
	font-size: 12px;
	color: #666;
	margin: 0;
	line-height: 1.6;
}

.qr-placeholder {
	margin-top: 10px;
	height: 55px;
	text-align: center;
}

.qr-placeholder img {
	width: 60px;
	height: 60px;
	/* border-radius: 8px; */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.qr-placeholder img:hover {
	transform: scale(1.05);
}

.qr-code {
	width: 80px;
	height: 80px;
	background: #f8f9fa;
	border: 2px dashed #dee2e6;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #6c757d;
}

/* 区域联系信息 */
.regional-contact-section {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -60px; /* 悬浮在banner底部外 60px */
	background: transparent; /* 外层透明，让内部卡片有投影 */
	z-index: 10;
}

.regional-contact-section .container {
	max-width: 1200px;
	margin: 0 auto;
}

/* 悬浮卡片外观 */
.regional-contact-section .contact-info-grid {
	background: #fff;
	border-radius: 12px;
	/* box-shadow: 0 8px 30px rgba(0,0,0,0.12); */
	/* padding: 20px 10px; */
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

/* 让四列均分且保持卡片风格 */
.regional-contact-section .contact-item {
	padding:  20px;
	/* border-right: 1px solid #f0f0f0; */
}
.regional-contact-section .contact-item:last-child { border-right: none; }

.regional-contact-container {
	display: flex;
	align-items: center;
	gap: 40px;
	max-width: 1200px;
	margin: 50px auto 0;
	background: #fff;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.regional-image {
	flex: 0 0 40%;
	max-width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.regional-image img {
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

.regional-info-list {
	flex: 1 1 64%;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 48px;
	column-gap: 20px;
	align-items: center;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
	cursor: pointer;
}

.contact-item:last-child {
	border-bottom: 1px solid #f0f0f0;
}

.contact-item.active {
	color: rgba(185, 140, 47, 1);
	border-bottom-color: rgba(185, 140, 47, 1);
}

.contact-item.active .contact-bullet {
	background: rgba(185, 140, 47, 1);
}

.contact-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #666;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.contact-content {
	flex: 1;
}

.contact-name {
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 15px;
	transition: color 0.3s ease;
}

.contact-phone {
	font-size: 11px;
	color: #666;
	transition: color 0.3s ease;
}

.contact-item.active .contact-name,
.contact-item.active .contact-phone {
	color: rgba(185, 140, 47, 1);
}

.navigation-arrows {
	position: static;
	right: auto;
	top: auto;
	transform: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-self: end;
}

.arrow-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: rgba(227, 227, 227, 1);
	color: #333;
}

.arrow-up {
	background: rgba(227, 227, 227, 1);
	color: #333;
}

.arrow-down {
	background: rgba(227, 227, 227, 1);
	color: #333;
}

.arrow-btn:hover {
	transform: scale(1.1);
	background: linear-gradient(90deg, rgba(16, 65, 142, 1) 0%, rgba(32, 133, 200, 1) 100%);
	color: #fff;
}



/* 联系表单区域 */
.contact-form-section {
	padding: 80px 0;
	/* background: #fff; */
	position: relative;
}

.contact-form-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('./aboutbg2.png');
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.1;
	z-index: 1;
}

.form-header {
	text-align: left;
	margin-bottom: 60px;
	position: relative;
	z-index: 2;
}

.form-header h2 {
	font-size: clamp(24px, 4vw, 32px);
	font-weight: 600;
	color: #000;
	margin: 0 0 20px 0;
}

.form-header h3 {
	font-size: clamp(20px, 3vw, 24px);
	font-weight: 500;
	color: #000;
	margin: 0 0 10px 0;
}

.required-note {
	font-size: 13px;
	color: rgba(148, 55, 55, 1);
	margin: 0;
}

.contact-form {
	max-width: 100%;
	margin: 0 auto;
	/* background: #fff; */
	/* padding: 40px; */
	border-radius: 16px;
	/* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
	/* border: 1px solid #f0f0f0; */
	position: relative;
	z-index: 2;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.form-group {
	display: flex;
	/* flex-direction: column; */
	background-color:rgba(245, 245, 245, 1);
	border: 1px solid rgba(229, 229, 229, 1);
	border-radius: 10px;
	padding: 10px 0px 10px 20px;
	
}
.form-groups{
	display: flex;
	background-color:rgba(245, 245, 245, 1);
	border: 1px solid rgba(229, 229, 229, 1);
	border-radius: 10px;
	/* padding: 20px 0px 20px 20px; */
}
.form-group.full-width {
	grid-column: 1 / -1;
}

.form-group label {
	font-size: 15px;
	/* margin-bottom: 8px; */
	width: 26%;
	display: flex;
	align-items: center;
	color: rgba(128, 128, 128, 1);
}
.form-groups label {
	font-size: 15px;
	color: rgba(128, 128, 128, 1);
	/* margin-bottom: 8px; */
	padding: 20px;
	width: 14%;
}
.form-groups textarea{
	border: 2px solid transparent;
	padding: 20px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: transparent;
	width: 87%;
	min-height: 200px;
}
.form-group input,
.form-group select {
	padding: 12px 16px;
	border: 2px solid transparent;
	/* border-radius: 8px; */
	font-size: 16px;
	transition: all 0.3s ease;
	background: transparent;
	width: 74%;
}

/* 输入框占位符颜色 */
.form-group input::placeholder {
	color: rgba(166, 166, 166, 1);
	opacity: 1;
	font-size: 12px;
}
.form-group input::-webkit-input-placeholder {
	color: rgba(166, 166, 166, 1);
}
.form-group input:-ms-input-placeholder {
	color: rgba(166, 166, 166, 1);
}
.form-group input::-ms-input-placeholder {
	color: rgba(166, 166, 166, 1);
}

/* textarea 占位符颜色 */
.form-groups textarea::placeholder {
	color: rgba(166, 166, 166, 1);
	opacity: 1;
	font-size: 12px;
}
.form-groups textarea::-webkit-input-placeholder {
	color: rgba(166, 166, 166, 1);
}
.form-groups textarea:-ms-input-placeholder {
	color: rgba(166, 166, 166, 1);
}
.form-groups textarea::-ms-input-placeholder {
	color: rgba(166, 166, 166, 1);
}

/* select 占位符与选项样式 */
.form-group select:required:invalid {
	color: rgba(166, 166, 166, 1);
	font-size: 12px;
}
.form-group select option[value=""] {
	color: rgba(166, 166, 166, 1);
	font-size: 12px;
}
.form-group select option:not([value=""]) {
	color: #333;
	font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	/* border-color: #3182ce; */
	box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-submit {
	text-align: center;
	margin-top: 40px;
}

.submit-btn {
	background: linear-gradient(90deg, rgba(245, 232, 156, 1) 0%, rgba(179, 131, 36, 1) 100%), linear-gradient(90deg, rgba(233, 207, 160, 1) 0%, rgba(184, 120, 57, 1) 100%);
	color: #fff;
	border: none;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 2;
}

.submit-btn:hover {
	background: linear-gradient(90deg, #d4c070 0%, #c1ae58 50%, #ae9c40 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(231, 210, 40, 0.3);
}

.submit-btn svg {
	transition: transform 0.3s ease;
}

.submit-btn:hover svg {
	transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.contact-hero {
		min-height: 60vh;
		padding: 100px 0 60px 0;
	}

	/* 移动端将悬浮条改为普通块，避免溢出 */
	.regional-contact-section {
		position: static;
		background: #f8f9fa;
		margin-top: 0;
	}
	.regional-contact-section .contact-info-grid {
		display: grid;
		grid-template-columns: 1fr;
		border-radius: 12px;
		box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	}
	
	.contact-hero h1 {
		font-size: clamp(32px, 8vw, 48px);
	}
	
	.section-title {
		font-size: clamp(24px, 6vw, 32px);
	}
	
	.contact-info-grid {
		flex-direction: column;
		gap: 0;
	}
	
	.contact-item {
		padding: 20px;
		border-radius: 12px;
		border-right: 1px solid #f0f0f0;
		margin-bottom: 20px;
	}
	
	.contact-item:first-child {
		border-radius: 12px;
	}
	
	.contact-item:last-child {
		border-radius: 12px;
		margin-bottom: 0;
	}
	
	.regional-contact-container {
		flex-direction: column;
		gap: 40px;
		padding: 30px 20px;
	}
	
	.regional-image {
		order: 2;
	}
	
	.regional-info-list {
		order: 1;
	}
	
	.navigation-arrows {
		position: static;
		transform: none;
		flex-direction: row;
		justify-content: center;
		margin-top: 20px;
	}
	
	.form-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.contact-form {
		/* padding: 20px; */
		margin: 0 20px;
	}
	
	.submit-btn {
		padding: 12px 20px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	/* 修复header-inner在手机端的宽度问题 */
	.header-inner.fixed-top {
		padding: 0.9rem 15px !important;
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100vw !important;
		overflow: hidden;
	}
	
	.contact-hero {
		min-height: 50vh;
		padding-top: 80px;
	}
	
	.section-bg-text {
		font-size: clamp(40px, 15vw, 80px);
	}
	
	.contact-item {
		flex-direction: column;
		text-align: center;
		gap: 15px;
	}
	
	.contact-icon {
		align-self: center;
	}
}
