/* 咨询页面样式 */

/* 页面基础样式 */
.inquiry-page {
	background-color: #ffffff;
}

/* 页面包装器 */
.page-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* 头部导航样式 */
.header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 55px;
	background: white;
	display: flex;
	align-items: center;
}

/* 头部底部边框 */
.header-with-border {
	border-bottom: 1px solid #e3e3e3;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	width: 1920px;
	/* 全屏宽度 */
	max-width: 100%;
	margin: 0 auto;
	padding: 0 46px 0 88px;
	/* 左边88px，右边46px */
}

.logo {
	width: 52px;
	height: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 60px;
	flex: 1;
	justify-content: center;
}

.nav-item {
	color: #333;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	transition: color 0.3s ease;
	position: relative;
}

.nav-item:hover {
	color: #0078ff;
}

.nav-item.active {
	color: #0078ff;
}

.nav-item.active::after {
	content: '';
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #0078ff;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 21px;
	/* 与language-switch的margin-left保持一致 */
}

.search-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.language-switch {
	position: relative;
	width: 31px;
	height: 31px;
	background-color: #0078ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0;
	transition: background-color 0.3s ease;
}

/* 悬停时语言切换按钮颜色变化 */
.header.dropdown-active .language-switch {
	background-color: #0056cc;
}

.language-switch:hover {
	background-color: #0056cc;
}

.lang-text {
	font-family: 'MiSans-Regular', sans-serif;
	font-size: 12px;
	color: #ffffff;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	padding: 0;
}

/* 语言下拉菜单 */
.language-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	width: 120px;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	margin-top: 8px;
}

.language-switch:hover .language-dropdown,
.language-switch.active .language-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	padding: 12px 16px;
	font-family: 'MiSans-Regular', sans-serif;
	font-size: 14px;
	color: #333333;
	cursor: pointer;
	transition: background-color 0.2s ease;
	display: block;
	text-decoration: none;
}

.dropdown-item:first-child {
	border-radius: 5px 5px 0 0;
}

.dropdown-item:last-child {
	border-radius: 0 0 5px 5px;
}

.dropdown-item:hover {
	background-color: #f5f5f5;
}

/* 底部样式 */

/* 第一行：LOGO和联系方式 */

/* 第二行：分割线 */

/* 第三行：版权信息 */

/* 页面包装器 */
.page-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	/* 防止水平滚动 */
}

/* 主要内容区域 */
.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow-x: hidden;
	/* 防止水平滚动 */
}

/* 横幅区域 */
.inquiry-banner {
	width: 100%;
	height: 300px;
	/* background-image: url('../images/zixun_banner.png'); */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* Mobile inquiry banner */
.inquiry-page .m-inquiry-banner {
	display: none;
	width: 100%;
	height: 56.2666vw;
	/* background-image: url('../images/m-inquiry-banner.jpg'); */
	background-repeat: no-repeat;
	
}
.m-inquiry-banner .banner-subtitle{
	color: #000;
	line-height: 1.5 !important;
	font-size: 3.7333vw !important;
}

.inquiry-page .m-banner-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.inquiry-page .m-banner-title {
	color: #000000;
	margin: 0 0 8px;
	text-align: center;
	font-weight:500
}

.inquiry-page .m-banner-subtitle {
	font-size: 16px;
	color: #333333;
	text-align: center;
}

.inquiry-page .m-banner-description {
	font-size: 14px;
	color: #666666;
	text-align: center;
}

@media (max-width: 768px) {
	.inquiry-page .inquiry-banner {
		display: none;
	}

	.inquiry-page .m-inquiry-banner {
		display: block;
	}
	.header{
		display: none !important;
	}
}

.banner-content {
	text-align: center;
	color: #000000;
}

.banner-title {
	font-size: 48px;
	font-weight: 600;
	margin-bottom: 16px;
	line-height: 1.2;
}

.banner-subtitle {
	font-size: 18px;
	margin-bottom: 8px;
	line-height: 1.4;
}

/* Mobile header styles removed - see global.css */


@media (max-width: 768px) {
	.footer-container {
		display: none !important;
	}

	.m-footer-container {
		display: block;
	}
}

.banner-description {
	font-size: 16px;
	opacity: 0.9;
	line-height: 1.4;
}

/* 咨询容器 */
.inquiry-container {
	width: 42%;
	max-width: 800px;
	/* 添加最大宽度限制 */
	margin: 0 auto;
	padding: 80px 20px;
	/* 添加左右内边距作为安全边距 */
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	/* 确保padding包含在宽度内 */
}

/* 表单区域 */
.inquiry-form-section {
	width: 100%;
	max-width: 800px;
	padding: 0;
	box-sizing: border-box;
	/* 确保padding包含在宽度内 */
}

/* 表单行 */
.form-row {
	display: flex;
	gap: 60px;
	margin-top: 57px;
}

.form-row:first-of-type {
	margin-top: 0;
}

/* 输入框组 */
.input-group {
	position: relative;
	flex: 1;
}

.form-input,
.form-select {
	width: 100%;
	height: 40px;
	border: none;
	outline: none;
	background: transparent;
	font-family: 'MiSans-Regular', sans-serif;
	font-size: 16px;
	color: #333333;
	padding: 0 0 8px 0;
}

.form-input::placeholder {
	color: #999999;
}

.form-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0px center;
	background-size: 20px;
	color: #333333;
}

/* 输入框底线 */
.input-line {
	width: 100%;
	height: 1px;
	background-color: #dddddd;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: background-color 0.3s ease;
}

.form-input:focus+.input-line,
.form-select:focus+.input-line {
	background-color: #0078ff;
}

/* 带标签的表单行 */
.form-row-with-labels {
	display: flex;
	gap: 60px;
	margin-top: 40px;
}

.form-row-with-labels .input-group {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.form-row-with-labels .form-label {
	font-family: 'MiSans-Regular', sans-serif;
	font-size: 16px;
	color: #0078ff;
	margin-bottom: 4px;
	align-self: flex-start;
}

/* 提交按钮容器 */
.submit-button-container {
	display: flex;
	justify-content: center;
	margin-top: 70px;
}

/* 提交按钮 */
.submit-button {
	width: 150px;
	height: 45px;
	border-radius: 5px;
	border: solid 1px #000000;
	background-color: transparent;
	color: #000000;
	font-family: 'MiSans-Regular', sans-serif;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.submit-button:hover {
	background-color: #0078ff;
	color: #ffffff;
	border-color: #0078ff;
}

.submit-button:hover svg path {
	fill: #ffffff;
}

/* 响应式设计 */
@media (max-width: 768px) {

	/* 横幅响应式 */
	.inquiry-banner {
		height: 200px;
	}

	.banner-title {
		font-size: 36px;
		margin-bottom: 12px;
	}

	.banner-subtitle {
		font-size: 16px;
		margin-bottom: 6px;
	}

	.banner-description {
		font-size: 14px;
	}

	/* 表单响应式 */
	.inquiry-container {
		width: 80%;
		padding: 40px 0;
	}

	.form-row {
		flex-direction: column;
		gap: 30px;
		margin-top: 40px;
	}

	.form-row-with-labels {
		flex-direction: column;
		gap: 30px;
		margin-top: 30px;
	}

	.submit-button-container {
		margin-top: 50px;
	}

	.submit-button {
		width: 120px;
		height: 40px;
		font-size: 12px;
	}

	/* 头部响应式 */
	.nav-container {
		padding: 0 20px;
	}

	.nav-menu {
		gap: 30px;
	}

	.nav-item {
		font-size: 14px;
	}

	/* 语言切换响应式 */
	.language-switch {
		width: 28px;
		height: 28px;
	}

	.lang-text {
		font-size: 11px;
	}

	/* 底部响应式 */
	.footer-row-one {
		padding-left: 20px;
		padding-right: 20px;
		flex-direction: column;
		gap: 20px;
	}

	.footer-divider {
		width: calc(100% - 40px);
		margin: 20px auto 0;
	}

	.footer-row-three {
		margin-left: 20px;
		margin-top: 15px;
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}

	.separator {
		display: none;
	}
}

@media (max-width: 480px) {

	/* 横幅响应式 */
	.inquiry-banner {
		height: 160px;
	}

	.banner-title {
		font-size: 28px;
		margin-bottom: 8px;
	}

	.banner-subtitle {
		font-size: 14px;
		margin-bottom: 4px;
	}

	.banner-description {
		font-size: 12px;
	}

	/* 表单响应式 */
	.inquiry-container {
		width: 95%;
		padding: 24px 0;
	}

	.form-row {
		margin-top: 30px;
		gap: 20px;
	}

	.form-row-with-labels {
		margin-top: 20px;
		gap: 20px;
	}

	.form-input,
	.form-select {
		font-size: 14px;
		height: 36px;
	}

	.form-row-with-labels .form-label {
		font-size: 14px;
	}

	.submit-button-container {
		margin-top: 40px;
	}

	.submit-button {
		width: 100px;
		height: 36px;
		font-size: 11px;
	}

	/* 头部响应式 */
	.nav-container {
		padding: 0 12px;
	}

	.nav-menu {
		gap: 20px;
	}

	.nav-item {
		font-size: 12px;
	}

	.header-right {
		gap: 15px;
	}

	/* 语言切换响应式 */
	.language-switch {
		width: 24px;
		height: 24px;
	}

	.lang-text {
		font-size: 10px;
	}

	.language-dropdown {
		width: 100px;
		left: -38px;
		/* 调整位置使其居中 */
	}

	/* 底部响应式 */
	.footer-container {
		height: auto;
		padding: 20px 0;
	}

	.footer-row-one {
		padding: 0 12px;
	}

	.footer-logo img {
		width: 120px;
		height: 24px;
	}

	.social-icons {
		gap: 20px;
	}

	.social-icon {
		width: 20px;
		height: 16px;
	}

	.phone-number {
		font-size: 14px;
		margin-left: 20px;
	}

	.footer-divider {
		width: calc(100% - 24px);
		margin: 15px auto 0;
	}

	.footer-row-three {
		margin-left: 12px;
		margin-top: 10px;
	}

	.copyright,
	.footer-link {
		font-size: 12px;
	}
}