.page-iot {
	background: #fff;
	color: #222;
	font-family: "IBMPlexSansSC-Light", "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	font-weight: 300;
}

.iot-main {
	width: 100%;
	overflow-x: hidden;
	background: #fff;
}

.iot-container {
	width: 12rem;
	margin: 0 auto;
	position: relative;
}

.iot-section {
	padding: 1rem 0;
}

.iot-block-gray {
	background: #f6f7fa;
}

.iot-title {
	margin: 0 0 0.72rem;
	text-align: center;
	font-size: 0.44rem;
	line-height: 1.24;
	font-weight: 300;
	color: #333;
}

.iot-btn {
	margin-top: 0.56rem;
	height: 0.52rem;
	padding: 0 0.28rem;
	border: none;
	background: #fe0000;
	color: #fff;
	font-size: 0.17rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.12rem;
	min-width: 0;
	box-sizing: border-box;
}

.iot-btn img {
	width: 0.18rem;
	height: auto;
	margin-left: 0;
	flex-shrink: 0;
}

.iot-btn:hover {
	background: #dc0000;
}

.iot-btn--sm {
	height: 0.5rem;
	margin-top: 0.38rem;
}

/* Hero */
.iot-hero {
	min-height: 6.1rem;
	position: relative;
	overflow: visible;
	padding-bottom: 0.55rem;
}

.iot-hero-bg {
	position: absolute;
	inset: 0;
}

.iot-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iot-hero__layout {
	display: flex;
	align-items: center;
	min-height: 5.2rem;
	position: relative;
	z-index: 2;
}

.iot-hero__copy {
	width: 6.7rem;
	color: #fff;
	text-align: left;
	display: block;
}

.iot-hero__copy h1 {
	margin: 0;
	font-size: 0.5rem;
	line-height: 0.9rem;
	font-weight: 300;
}

.iot-hero__copy p {
	margin: 0.34rem 0 0;
	font-size: 0.22rem;
	line-height: 0.38rem;
	color: rgba(255, 255, 255, 0.92);
	max-width: none;
}

.iot-hero__partners {
	margin-top: 0;
	height: 1.1rem;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	align-items: center;
	background: #fff;
	box-shadow: 0 0.08rem 0.28rem rgba(0, 0, 0, 0.1);
	position: absolute;
	left: 50%;
	bottom: -0.55rem;
	transform: translateX(-50%);
	width: 12rem;
	z-index: 3;
	border: 0.01rem solid #ededed;
}

.iot-hero__partners img {
	max-width: 1.3rem;
	max-height: 0.6rem;
	margin: 0 auto;
	display: block;
}

/* 首屏悬浮品牌带后，第一模块增加上间距避免压住标题 */
.iot-main > .iot-section:nth-of-type(1) {
	padding-top: 1.65rem;
}

/* 4 cards */
.iot-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.iot-grid-4 article {
	height: 3.7rem;
	position: relative;
	padding: 0.5rem 0.3rem 0;
	overflow: hidden;
	color: #fff;
}

.iot-grid-4 article > img:nth-child(1) {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.iot-grid-4 article > img:nth-child(2) {
	width: 0.58rem;
	height: 0.58rem;
	position: relative;
	z-index: 2;
	display: block;
	margin: 0 auto 0.42rem;
}

.iot-grid-4 h3,
.iot-grid-4 p {
	position: relative;
	z-index: 2;
	text-align: center;
}

.iot-grid-4 h3 {
	margin: 0;
	font-size: 0.28rem;
	line-height: 0.4rem;
	font-weight: 300;
}

.iot-grid-4 p {
	margin: 0.24rem 0 0;
	font-size: 0.18rem;
	line-height: 0.3rem;
	color: rgba(255, 255, 255, 0.92);
}

/* 6 solution cards */
.iot-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.2rem;
}

.iot-grid-3 article {
	min-height: 2.82rem;
	padding: 0.35rem 0.42rem 0.3rem;
	background: #fff;
	text-align: center;
}

.iot-grid-3 article > img {
	width: 0.66rem;
	height: 0.66rem;
	display: block;
	margin: 0 auto 0.24rem;
}

.iot-grid-3 h3 {
	margin: 0;
	font-size: 0.24rem;
	font-weight: 300;
	color: #111;
}

.iot-grid-3 p {
	margin: 0.24rem 0 0;
	font-size: 0.16rem;
	line-height: 0.3rem;
	color: #666;
}

/* tabs common */
.iot-tabs {
	display: flex;
	justify-content: center;
	gap: 0.64rem;
	border-bottom: 0.01rem solid #e7e7e7;
}

.iot-tabs button {
	height: 0.62rem;
	border: none;
	background: transparent;
	color: #888;
	font-size: 0.28rem;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
}

.iot-tabs button.is-active {
	color: #222;
	border-bottom: 0.04rem solid #e51c17;
}

/* arch */
.iot-desc {
	margin: 0.6rem 0 0;
	text-align: center;
	font-size: 0.24rem;
	color: #333;
}

.iot-arch-cards {
	margin-top: 0.35rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.2rem;
}

.iot-arch-cards span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 2rem;
	background: #f7f7f7;
	border-radius: 0.1rem;
}

.iot-arch-cards .iot-arch-card-icon {
	width: 0.5rem;
	height: 0.5rem;
	display: block;
	margin-bottom: 0.28rem;
}

.iot-arch-cards .iot-arch-card em {
	font-style: normal;
	font-size: 0.24rem;
	color: #222;
}

/* industry — 对齐 app.html UED 模块（.ued-section / .ued-layout） */
.iot-section.iot-block-gray:has(.iot-industry) {
	background: #f5f5f5;
	padding-top: 1.3rem;
}

.iot-section.iot-block-gray:has(.iot-industry) .iot-title {
	margin-bottom: 1rem;
}

.iot-industry {
	display: grid;
	grid-template-columns: 2.2rem 5.7rem 4.1rem;
	min-height: 4.6rem;
	background: #fff;
	border-radius: 0.2rem;
	position: relative;
}

.iot-tabs--v {
	flex-direction: column;
	gap: 0;
	align-items: stretch;
	justify-content: flex-start;
	border-bottom: none;
	background: #f9f9f9;
	border-radius: 0.2rem 0 0 0.2rem;
	overflow: hidden;
}

.iot-tabs--v button {
	height: 0.8rem;
	text-align: left;
	padding: 0 0.2rem;
	font-size: 0.18rem;
	border: none;
	border-bottom: none;
	background: transparent;
	color: #222;
	cursor: pointer;
}

.iot-tabs--v button.is-active {
	background: #fe0000;
	color: #fff;
	border-bottom: none;
}

.iot-industry__panel {
	padding: 0.46rem;
}

.iot-industry__panel h3 {
	margin: 0 0 0.2rem;
	font-size: 0.3rem;
	font-weight: 300;
	color: #222;
}

.iot-industry__panel p {
	margin: 0;
	font-size: 0.16rem;
	line-height: 0.28rem;
	color: #666;
	min-height: 0.84rem;
}

.iot-tags {
	margin: 0.28rem 0 0.46rem;
	display: flex;
	gap: 0.1rem;
	flex-wrap: wrap;
}

.iot-tags .iot-tag-img {
	height: 0.4rem;
	padding: 0;
	border-radius: 0.04rem;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	overflow: hidden;
}

.iot-tags .iot-tag-img img {
	width: 100%;
	height: 100%;
	display: block;
}

.iot-industry__phone {
	width: 3.5rem;
	height: 7.2rem;
	position: absolute;
	right: 0;
	bottom: 0;
	background: transparent center/100% 100% no-repeat;
	font-size: 0;
}

.iot-industry .iot-btn--sm {
	height: 0.46rem;
	margin-top: 0.59rem;
	font-size: 0.16rem;
}

/* case */
#caseTabs {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
	border-bottom: 0.01rem solid #e5e5e5;
	margin-bottom: 0.38rem;
	width: 100%;
}

#caseTabs button {
	border: none;
	border-bottom: 0.02rem solid transparent;
	background: transparent;
	width: auto;
	height: auto;
	padding: 0.1rem 0;
	margin-bottom: -0.01rem;
	font-size: 0.16rem;
	line-height: 0.22rem;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.06rem;
	justify-self: center;
	color: #666;
	cursor: pointer;
	letter-spacing: 0;
}

#caseTabs button img {
	width: 0.34rem;
	height: 0.34rem;
}

#caseTabs button img:nth-child(1) { display: inline-block; }
#caseTabs button img:nth-child(2) { display: none; }
#caseTabs button.is-active img:nth-child(1) { display: none; }
#caseTabs button.is-active img:nth-child(2) { display: inline-block; }
#caseTabs button.is-active {
	color: #fe0000;
	border-bottom: 0.02rem solid #fe0000;
}

.iot-case {
	background: #fff;
	border-radius: 0.16rem;
	border: 0.01rem solid #f0f0f0;
	display: grid;
	grid-template-columns: 3.2rem 1fr;
	gap: 0.5rem;
	padding: 0.34rem 0.4rem;
	background: #fff;
}

.iot-case__visual {
	width: 3.2rem;
	height: 3.2rem;
	display: block;
	background: #f3f3f3;
	font-size: 0;
}

.iot-case__copy h3 {
	margin: 0 0 0.26rem;
	font-size: 0.42rem;
	line-height: 0.56rem;
	font-weight: 300;
	letter-spacing: 0;
}

.iot-case__copy p {
	margin: 0 0 0.16rem;
	font-size: 0.14rem;
	line-height: 0.32rem;
	color: #666;
}

.iot-case__copy .iot-btn {
	width: 1.7rem;
	height: 0.44rem;
	font-size: 0.15rem;
	padding: 0 0.18rem;
	min-width: 0;
	margin-top: 0.1rem;
}

/* honor */
.iot-honor {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.2rem;
}

.iot-honor img {
	width: 100%;
	height: auto;
	display: block;
}

.iot-honor img:nth-child(n + 5) {
	grid-column: span 1;
}

/* 荣誉区与底部 CTA 之间：默认 .iot-section 下内边距 1rem 偏大，收紧最后一屏衔接 */
.iot-section.iot-block-gray:has(.iot-honor) {
	padding: 1rem 0 0.36rem;
}

/* CTA：不用 min-height，避免「内容没撑满」时在按钮下出现大块留白；背景图随内容区高度铺满 */
.iot-cta {
	position: relative;
	padding: 0;
	margin: 0;
}

.iot-cta .iot-container {
	width: 100%;
}

.iot-cta__inner {
	position: relative;
	/*
	 * 与 mini-program .cta-inner 一致的竖向节奏：上留白 + 标题/副标题/按钮间距；
	 * 列 flex + 子项 margin控制间距；按钮保持块级 flex，避免行内幽灵行高。
	 */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 0.2rem 0.5rem;
	box-sizing: border-box;
	gap: 0;
}

.iot-cta__inner > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.iot-cta__inner h2,
.iot-cta__inner p,
.iot-cta__inner .iot-btn {
	position: relative;
	z-index: 1;
}

.iot-cta h2 {
	margin: 0;
	padding: 0.5rem 0 0;
	width: 100%;
	max-width: 12rem;
	font-size: 0.36rem;
	line-height: 1.15;
	font-weight: 300;
	color: #222;
	margin-bottom: 0.14rem;
}

.iot-cta p {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 12rem;
	font-size: 0.18rem;
	line-height: 1.25;
	color: #555;
	margin-bottom: 0.24rem;
}

/*
 * 底部 CTA：与 mini-program .btn-red.btn-small + .cta-section .btn-red 一致（块级 flex，避免行内幽灵空白）
 */
.iot-cta__inner .iot-btn.iot-btn--sm.iot-cta__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0 0.2rem;
	width: 2.59rem;
	height: 0.46rem;
	min-width: 0;
	max-width: none;
	font-size: 0.16rem;
	line-height: 1;
	box-sizing: border-box;
	flex-shrink: 0;
	border: none;
	background: #fe0000;
	color: #fff;
	transition: background 0.25s ease;
}

.iot-cta__inner .iot-btn.iot-btn--sm.iot-cta__btn:hover {
	background: #db0000;
}

.iot-cta__inner .iot-btn.iot-btn--sm.iot-cta__btn img {
	width: 0.18rem;
	height: auto;
	margin: 0;
	flex-shrink: 0;
}

/* modal */
.iot-modal {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 2000;
}

.iot-modal.is-open {
	display: block;
}

.iot-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.iot-modal__dialog {
	position: relative;
	width: 5.2rem;
	margin: 12vh auto 0;
	background: #fff;
	padding: 0.36rem;
}

.iot-modal__close {
	position: absolute;
	right: 0.16rem;
	top: 0.1rem;
	border: none;
	background: transparent;
	font-size: 0.34rem;
	cursor: pointer;
}

.iot-modal__dialog h3 {
	margin: 0;
	font-size: 0.3rem;
	font-weight: 300;
}

#consultForm {
	margin-top: 0.24rem;
	display: grid;
	gap: 0.14rem;
}

#consultForm input,
#consultForm textarea {
	width: 100%;
	border: 0.01rem solid #ddd;
	padding: 0.14rem 0.16rem;
	font-size: 0.16rem;
	font-family: inherit;
}

#consultForm textarea {
	min-height: 1.2rem;
	resize: vertical;
}

#consultHint {
	margin: 0.03rem 0 0;
	font-size: 0.14rem;
	color: #666;
}

/* PC 端不因 1200px 切换栅格列数；布局与 2K/1080 一致，仅随 rem 缩放 */

@media (max-width: 768px) {
	.iot-hero {
		overflow: hidden;
		padding-bottom: 0;
	}
	.iot-hero__layout {
		min-height: auto;
		padding-bottom: 0.36rem;
	}
	.iot-hero__partners {
		position: relative;
		left: auto;
		bottom: auto;
		transform: none;
		width: 100%;
		margin-top: 0.2rem;
		border: none;
	}
	.iot-main > .iot-section:nth-of-type(1) {
		padding-top: 1rem;
	}
	.iot-grid-4,
	.iot-grid-3,
	.iot-arch-cards,
	.iot-honor { grid-template-columns: 1fr; }
	.iot-tabs { gap: 0.24rem; overflow-x: auto; justify-content: flex-start; }
	.iot-tabs button { white-space: nowrap; }
	.iot-industry { grid-template-columns: 1fr; }
	.iot-tabs--v {
		width: 100%;
		border-right: none;
		border-bottom: 0.01rem solid #ececec;
	}
	#caseTabs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 0.08rem;
	}
	.iot-modal__dialog { width: calc(100% - 0.48rem); margin-top: 8vh; }
}
