/* ===========================================================
   首页咨询转化模块（S8）—— 表单 + 电话/资料卡片
   数据来源：后台「首页」→「首页咨询模块」
   2026-11-24：替换旧 home_cta，两列布局、轻微圆角（4px）
   =========================================================== */
.tlk-inq {
	position: relative;
	overflow: hidden;
	padding: 72px 0 76px;
	background: linear-gradient(115deg, #0C447C 0%, #0F5FA8 58%, #1E9BD7 100%);
}
/* 右上装饰圆环（设计稿同款，纯装饰不影响点击） */
.tlk-inq::after {
	content: "";
	position: absolute;
	right: -140px;
	top: -150px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	box-shadow: 0 0 0 90px rgba(255, 255, 255, .04), 0 0 0 180px rgba(255, 255, 255, .03);
	pointer-events: none;
}
.tlk-inq_inner {
	position: relative;
	z-index: 2;
	max-width: var(--tlk-container-max, 1320px);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}
.tlk-inq_head h2 {
	margin: 0 0 10px;
	font-family: var(--tlk-font);
	font-size: 32px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
}
/* 标题含顿号时按语义分句（后台文案自动切分），只在「、」后换行，
   避免窄屏被 balance 均分成「项目方 / 案」这种断在词中间的情况 */
.tlk-inq_head h2.is-seg .seg {
	display: inline-block;
	white-space: nowrap;
}
.tlk-inq_head .lead {
	margin: 0 0 30px;
	font-family: var(--tlk-font);
	font-size: 15px;
	line-height: 1.75;
	color: #CDE4F6;
}

/* 两列：表单 + 右侧电话/资料卡片（等高，按钮底对齐） */
/* 2026-11-24：列间距 20→44px，两卡各自收窄，中间留出明显间隔 */
.tlk-inq_grid {
	display: grid;
	grid-template-columns: 1.35fr .8fr;
	gap: 88px;
	align-items: stretch;
}
.tlk-inq_box {
	display: flex;
	flex-direction: column;
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, .20);
	border-radius: 4px;
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-sizing: border-box;
}
.tlk-inq_box h3 {
	margin: 0 0 5px;
	font-family: var(--tlk-font);
	font-size: 16px;
	line-height: 1.4;
	font-weight: 700;
	color: #fff;
}
.tlk-inq_box .hint {
	margin: 0 0 14px;
	font-family: var(--tlk-font);
	font-size: 12px;
	line-height: 1.6;
	color: #BBD8EF;
}

/* ---------- 表单 ---------- */
.tlk-inq_form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	flex: 0 0 auto;
	margin-bottom: 14px;
}
.tlk-inq_form .full { grid-column: 1 / -1; }
.tlk-inq_form input,
.tlk-inq_form select,
.tlk-inq_form textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--tlk-font);
	font-size: 12.5px;
	color: #fff;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 4px;
	outline: none;
	transition: border-color .2s, background-color .2s;
}
.tlk-inq_form input,
.tlk-inq_form select {
	height: 40px;
	padding: 0 11px;
	line-height: 38px;
}
.tlk-inq_form textarea {
	height: 86px;
	padding: 9px 11px;
	line-height: 1.7;
	resize: vertical;
}
.tlk-inq_form input::placeholder,
.tlk-inq_form textarea::placeholder { color: #A8C8E2; }
.tlk-inq_form select { color: #A8C8E2; }
.tlk-inq_form select.is-picked { color: #fff; }
.tlk-inq_form select option { color: #1B2430; background: #fff; }
.tlk-inq_form input:focus,
.tlk-inq_form select:focus,
.tlk-inq_form textarea:focus {
	border-color: rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .14);
}
/* 必填项：左侧 3px 黄色标记 */
.tlk-inq_form .req {
	box-shadow: inset 3px 0 0 var(--tlk-yellow, #F2C230);
}
.tlk-inq_form .req::placeholder { color: #FFE6A0; }
.tlk-inq_form select.req { color: #FFE6A0; font-weight: 600; }
.tlk-inq_form select.req.is-picked { color: #fff; }

/* 提交按钮：整行宽度、贴卡片底部，与右侧卡片按钮底边平齐 */
.tlk-inq_submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	margin-top: auto;
	padding: 0 18px;
	border: 0;
	border-radius: 4px;
	background: var(--tlk-yellow, #F2C230);
	color: #2A2100;
	font-family: var(--tlk-font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .2s, transform .2s, box-shadow .2s;
}
.tlk-inq_submit:hover { background: #FFD34D; transform: translateY(-1px); }
.tlk-inq_submit:disabled { opacity: .65; cursor: default; transform: none; }

/* 提交结果提示 */
.tlk-inq_msg {
	display: none;
	margin: 8px 0 0;
	font-family: var(--tlk-font);
	font-size: 12.5px;
	line-height: 1.7;
	color: #FFD34D;
}
.tlk-inq_msg.is-err { color: #FFC2C2; }
.tlk-inq_msg.is-on { display: block; }

/* ---------- 右侧：电话 + 资料 ---------- */
.tlk-inq_side {
	gap: 0;
}
/* 说明区与按钮区之间加一条淡虚线，填充中段空白、拉开层次 */
.tlk-inq_side .hint {
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px dashed rgba(255, 255, 255, .26);
}
.tlk-inq_side .side_body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 auto;
	margin-top: auto;
	margin-bottom: auto;   /* 按钮组在卡片内垂直居中（不再贴底） */
	align-items: center;   /* 两个按钮在卡片内水平居中，不顶满两侧 */
}
.tlk-inq_btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 342px;      /* 居中后两侧留白，避免按钮过长 */
	height: auto;
	min-height: 56px;
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, .30);
	border-radius: 8px;    /* 2026-11-24：4→8px，按钮圆角加大一点 */
	background: rgba(255, 255, 255, .10);
	color: #fff;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
	box-sizing: border-box;
}
.tlk-inq_btn:hover { background: rgba(255, 255, 255, .20); transform: translateY(-2px); }
.tlk-inq_btn .gi {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .16);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	flex: none;
}
.tlk-inq_btn .gt {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;   /* 电话按钮只剩单行标题时也能垂直居中 */
}
.tlk-inq_btn .gt b {
	display: block;
	font-family: var(--tlk-font);
	font-size: 14.5px;
	line-height: 1.45;
	font-weight: 600;
	white-space: nowrap;
}
.tlk-inq_btn .gt span {
	display: block;
	font-family: var(--tlk-font);
	font-size: 11.5px;
	line-height: 1.5;
	color: #CDE4F6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tlk-inq_btn .arw { flex: none; font-size: 15px; color: var(--tlk-yellow, #F2C230); }
.tlk-inq_tip {
	margin: 10px 0 0;
	font-family: var(--tlk-font);
	font-size: 11px;
	line-height: 1.7;
	color: #BBD8EF;
	text-align: center;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1024px) {
	.tlk-inq { padding: 56px 0 60px; }
	.tlk-inq_grid { grid-template-columns: 1fr; gap: 16px; }
	.tlk-inq_side .side_body { margin-top: 0; }
}
/* 平板单列时右卡按钮并排，避免整行按钮过于空旷 */
@media screen and (min-width: 761px) and (max-width: 1024px) {
	.tlk-inq_side .side_body { flex-direction: row; }
	.tlk-inq_side .side_body .tlk-inq_btn { flex: 1 1 0; }
}
@media screen and (max-width: 760px) {
	.tlk-inq { padding: 44px 0 48px; }
	.tlk-inq_inner { padding: 0 16px; }
	.tlk-inq_head h2 { font-size: 22px; margin-bottom: 8px; }
	.tlk-inq_head .lead { font-size: 13.5px; margin-bottom: 22px; }
	.tlk-inq_box { padding: 18px 16px; }
	.tlk-inq_form { grid-template-columns: 1fr; gap: 9px; }
	.tlk-inq_form textarea { height: 78px; }
	.tlk-inq_submit { height: 46px; }
	.tlk-inq_btn .gt b,
	.tlk-inq_btn .gt span { white-space: normal; }
}
