/*================================================================
   烟花爆竹行业页（/industries/fireworks/）；版心 1600（100rem）
================================================================*/
.section {
	width: 100rem !important;
	max-width: 100rem !important;
}

.fw-industry-page {
	--petro-brand: #35a0ff;
	--petro-brand-hover: #0040B0;
	--petro-text: #232b3b;
	--petro-muted: #5c6373;
	--fw-bg-gray: #f5f5f7;
	font-family: s-regular;
}

@media screen and (min-width: 61.3125rem) {
	.fw-industry-page .section {
		width: 100rem !important;
		max-width: 100rem !important;
	}
}

/* ----- Hero（与 mine-safety 首屏 petro-hero 一致） ----- */
.petro-hero {
	min-height: 37.5rem;
	overflow: hidden;
}

.petro-hero__picture {
	z-index: 0;
	margin: 0;
	padding: 0;
	inset: 0;
}

.petro-hero__picture img {
	display: block;
	width: 100%;
	height: 100%;
}

.petro-hero__img {
	object-fit: cover;
	object-position: center;
}

.petro-hero__inner {
	z-index: 1;
	min-height: 37.5rem;
	display: flex;
	box-sizing: border-box;
}

.petro-hero__panel {
	padding-top: 7.625rem;
}

.petro-hero__title {
	font-size: 3.5rem !important;
	line-height: 4.625rem !important;
	margin: 0 0 0.875rem !important;
	color: var(--petro-text) !important;
}

.petro-hero__subtitle {
	font-size: 1.625rem;
	color: #252b3a;
	line-height: 2.375rem;
	font-family: s-regular, sans-serif;
	opacity: 0.8;
}

.petro-hero__subtitle:last-of-type {
	margin-bottom: 0;
}

/* 烟花爆竹首屏（深色场景图 + 浅色字） */
.fw-industry-page .petro-hero--fw .petro-hero__title {
	color: #ffffff !important;
}

.fw-industry-page .petro-hero--fw .petro-hero__subtitle {
	max-width: 44.875rem; /* Figma 718px */
	color: rgba(255, 255, 255, 0.92) !important;
	opacity: 1;
}

/* ----- 通用区块 ----- */
.fw-section {
	padding: 5rem 0;
	box-sizing: border-box;
}

.fw-section__h2 {
	margin: 0 0 3.125rem !important;
	text-align: center;
	color: #1d1d1f !important;
}

.fw-section__h2--tight {
	margin-bottom: 3.125rem !important;
}

.fw-section--monitor {
	background-color: var(--fw-bg-gray);
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.fw-section--functions {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-color: #ffffff;
}

.fw-section--arch {
	background-color: var(--fw-bg-gray);
	padding-top: 5rem;
	padding-bottom: 0rem;
}

.fw-section--matrix {
	background-color: var(--fw-bg-gray);
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.fw-section--matrix .section {
	align-items: stretch;
}

.fw-section--warehouse {
	background-color: var(--fw-bg-gray);
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.fw-section--cases {
	background-color: #ffffff;
	padding-top: 5rem;
}

/* 与稿面一致：栅格与标题同宽，避免子项在 flex 交叉轴上收缩导致叠层 */
.fw-section--cases .section {
	display: flex;
	justify-content: center;
	/* align-items: stretch; */
}

/* ----- 监测预警四卡 ----- */
.fw-base-grid {
	gap: 1.25rem;
	align-items: stretch;
}

.fw-base-card {
	cursor: default;
	background: #ffffff;
	border-radius: 1.125rem;
	padding: 3.125rem 2.1875rem;
	min-height: 20.8125rem;
	box-sizing: border-box;
	transition: all ease 0.6s;
}
.fw-base-card:hover {box-shadow: 0px 0px .625rem 0px rgba(23,38,68,0.16);}
.fw-base-card__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 3.375rem;
	height: 3.375rem;
	margin-bottom: 1.5rem;
	flex-shrink: 0;
}

/* 稿面图标视区约 54×54px → rem（勿在 <img> 上写 width/height 像素） */
.fw-base-card__icon {
	display: block;
	width: 3.375rem;
	height: 3.375rem;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.fw-base-card__title {
	margin: 0 0 0.5625rem;
	font-size: 1.75rem;
	color: #1d1d1f;
	line-height: 2.25rem;
	font-family: s-demibold, sans-serif;
}

.fw-base-card__desc {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.5rem;
	color: rgba(29, 29, 31, 0.6);
}

/* ----- 应用功能（petro-* 类名复用手风琴与进度条） ----- */
.fw-app-panels {
	display: block;
}

.fw-industry-page .petro-app-layout.fw-app-layout {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 5rem;
	width: 100%;
	box-sizing: border-box;
	min-height: 34.75rem;
	height: auto;
}

.fw-industry-page .petro-app-accordion {
	flex-shrink: 0;
	width: 31.9375rem;
	max-width: 100%;
}

.fw-industry-page .petro-app-item {
	padding-top: 1.5625rem;
	padding-bottom: 1.5625rem;
	border-bottom: 0.0625rem solid #d8d8d8;
}

.fw-industry-page .petro-app-item:first-of-type {
	border-top: 0.0625rem solid #d8d8d8;
}

.fw-industry-page .petro-app-item__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
}

.fw-industry-page .petro-app-item__title {
	margin: 0;
	font-family: s-demibold, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #1d1d1f;
	flex: 1;
	text-align: left;
}

.fw-industry-page .petro-app-item.is-open .petro-app-item__title {
	font-size: 1.5rem !important;
	line-height: 2rem !important;
}

.fw-industry-page .petro-app-item:not(.is-open) .petro-app-item__title {
	font-size: 1.5rem !important;
	line-height: 2rem !important;
}

.fw-industry-page .petro-app-item__toggle {
	width: 1rem;
	height: 1rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}

.fw-industry-page .petro-app-item__toggle::before,
.fw-industry-page .petro-app-item__toggle::after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 1rem;
	height: 0.1875rem;
	background: #1d1d1f;
	transform: translateY(-50%);
	border-radius: 0.125rem;
}

.fw-industry-page .petro-app-item__toggle::after {
	transform: translateY(-50%) rotate(90deg);
}

.fw-industry-page .petro-app-item.is-open .petro-app-item__toggle::after {
	display: none;
}

.fw-industry-page .petro-app-item__panel {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	padding-top: 0;
	transition: grid-template-rows 0.6s ease, padding-top 0.6s ease;
}

.fw-industry-page .petro-app-item.is-open .petro-app-item__panel {
	grid-template-rows: 1fr;
	padding-top: 0.625rem;
}

.fw-industry-page .petro-app-item__panel-inner {
	min-height: 0;
	overflow: hidden;
}

.fw-industry-page .petro-app-item__progress {
	position: absolute;
	top: calc(100% - 0.125rem);
	left: 0;
	right: 0;
	height: 0.1875rem;
	background: #1d1d1f;
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

.fw-industry-page .petro-app-item.is-playing .petro-app-item__progress {
	animation: petroAppFeatureProgress 6s linear forwards;
}

@keyframes petroAppFeatureProgress {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.fw-industry-page .petro-app-item__desc {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.5rem;
	color: rgba(29, 29, 31, 0.6);
	font-family: s-regular, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.fw-industry-page .petro-app-media {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 62.9375rem;
	border-radius: 1.125rem;
	overflow: hidden;
	background: #f3f6fb;
	aspect-ratio: 1007 / 556;
}

.fw-industry-page .petro-app-media__img {
	width: 100%;
	height: 100%;
	min-height: 21rem;
	object-fit: cover;
	object-position: center;
	display: block;
}

.fw-industry-page .petro-app-item {
	position: relative;
}

/* ----- 系统架构（整图） ----- */
.fw-arch-diagram__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1.125rem;
	box-sizing: border-box;
}

/* ----- 全栈定位产品矩阵（与 petrochemical 矩阵 DOM 一致；一行 4 列等分） ----- */
.fw-industry-page .petro-matrix {
	align-items: stretch;
}

.fw-industry-page .petro-matrix__col--photo {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	min-height: 40rem;
}

.fw-industry-page .petro-matrix__media--photo {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 40rem;
}

.fw-industry-page .petro-matrix__media--photo .petro-matrix__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fw-industry-page .petro-matrix__overlay {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 3.125rem;
	left: 0;
	right: 0;
	box-sizing: border-box;
}

.fw-industry-page .petro-matrix__overlay .petro-matrix__title {
	font-size: 1.625rem;
	line-height: 2.125rem;
	color: #ffffff;
	font-family: s-demibold, sans-serif;
	margin-bottom: 0.625rem;
}

.fw-industry-page .petro-matrix__overlay .petro-matrix__desc {
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.5rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 2.375rem;
}

.fw-industry-page .petro-matrix__title {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
	line-height: 1.875rem;
	font-family: s-demibold, sans-serif;
}

.fw-industry-page .petro-matrix__desc {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.5rem;
	font-family: s-regular !important;
}

.fw-industry-page .petro-matrix__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.125rem;
	padding: 0 1.25rem;
	border-radius: 1.125rem;
	border: 0.0625rem solid rgba(255, 255, 255, 0.95);
	font-size: 1rem;
	line-height: 1.25rem;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.6s ease, border-color 0.6s ease, color 0.6s ease;
}

.fw-industry-page .petro-matrix__col--variant-soft .petro-matrix__overlay .petro-matrix__title {
	color: #1d1d1f;
}

.fw-industry-page .petro-matrix__col--variant-soft .petro-matrix__overlay .petro-matrix__desc {
	color: rgba(29, 29, 31, 0.7);
}

.fw-industry-page .petro-matrix__col--variant-blue .petro-matrix__more,
.fw-industry-page .petro-matrix__col--variant-photo .petro-matrix__more {
	border-color: #ffffff;
	color: #ffffff;
	background: transparent;
}

.fw-industry-page .petro-matrix__col--variant-soft .petro-matrix__more {
	border-color: #1d1d1f;
	color: #1d1d1f;
	background: transparent;
}

.fw-industry-page .petro-matrix__col--variant-blue .petro-matrix__more:hover,
.fw-industry-page .petro-matrix__col--variant-photo .petro-matrix__more:hover,
.fw-industry-page .petro-matrix__col--variant-soft .petro-matrix__more:hover {
	background: var(--petro-brand);
	border-color: var(--petro-brand);
	color: #ffffff;
}

/* ----- 库区智能管控产品（一行 2 列） ----- */
.fw-warehouse-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
	box-sizing: border-box;
}

.fw-warehouse-card {
	background: #ffffff;
	border-radius: 0.875rem;
	overflow: hidden;
	min-width: 0;
	border: 0.0625rem solid #eef1f6;
	box-sizing: border-box;
	transition: all 0.6s ease;
}

.fw-warehouse-card:hover {
	box-shadow: 0 0 0.625rem 0 rgba(23, 38, 68, 0.2);
}

.fw-warehouse-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 385 / 280;
	height: 20rem;
	overflow: hidden;
	background: #f3f5fa;
}

.fw-warehouse-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.fw-warehouse-card__body {
	padding: 1.75rem 1.875rem 2.5rem;
	gap: 0;
	flex: 1 1 auto;
	box-sizing: border-box;
}

.fw-warehouse-card__title {
	margin: 0 0 0.625rem;
	font-size: 1.625rem;
	line-height: 2.125rem;
	font-family: s-demibold, sans-serif;
	color: #1d1d1f;
}

.fw-warehouse-card__desc {
	margin: 0 0 1.875rem;
	font-size: 1.125rem;
	line-height: 1.5rem;
	color: #616266;
	font-family: s-regular, sans-serif;
	flex: 1 1 auto;
}

.fw-warehouse-card .petro-product-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	height: 2.125rem;
	padding: 0 1.25rem;
	border-radius: 1.125rem;
	border: 0.0625rem solid #1d1d1f;
	font-size: 1rem;
	line-height: 1;
	color: #1d1d1f;
	text-decoration: none;
	background: transparent;
	transition: background-color 0.6s ease, border-color 0.6s ease, color 0.6s ease;
}

.fw-warehouse-card .petro-product-card__btn:hover,
.fw-warehouse-card:hover .petro-product-card__btn {
	background: var(--petro-brand);
	border-color: var(--petro-brand);
	color: #ffffff;
}

/* ----- 成功案例（Figma 1649-9520：三列 385×540、间距 20px） ----- */
.fw-section--cases .fw-cases-grid {
	/* align-self: stretch; */
	width: 100rem;
	height:33.75rem;
	max-width: 100%;
}

.fw-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 32.5rem);
	gap: 1.25rem;
	align-items: stretch;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

.fw-case-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 32.5rem;
	height: 33.75rem;
	min-width: 0;
	border-radius: 1.125rem;
	overflow: hidden;
	box-sizing: border-box;
	aspect-ratio: auto;
	isolation: isolate;
}

.fw-case-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}

.fw-case-card__bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.fw-case-card__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(10, 18, 35, 0.88) 0%, rgba(10, 18, 35, 0.25) 45%, transparent 72%);
	pointer-events: none;
}

.fw-case-card__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 0;
	box-sizing: border-box;
	padding: 0 2.5rem 2.5rem;
}

.fw-case-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
	line-height: 1.8125rem;
	font-family: s-demibold, sans-serif;
	color: #ffffff;
}

.fw-case-card__desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5rem;
	color: rgba(255, 255, 255, 0.82);
	font-family: s-regular, sans-serif;
}

/* ----- CTA（petrochemical-contact-cta） ----- */
.fw-industry-page .petro-cta {
	width: 100%;
	box-sizing: border-box;
	padding: 5rem 0 6.25rem;
	background-color: var(--fw-bg-gray);
}

.fw-industry-page .petro-cta__wrap {
	box-sizing: border-box;
}

.fw-industry-page .petro-cta__card {
	position: relative;
	overflow: hidden;
	border-radius: 1.25rem;
	min-height: 24rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.fw-industry-page .petro-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.fw-industry-page .petro-cta__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.fw-industry-page .petro-cta__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(10, 18, 35, 0.3);
}

.fw-industry-page .petro-cta__inner {
	position: relative;
	z-index: 2;
	gap: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 4.5rem 1rem;
}

.fw-industry-page .petro-cta .petro-cta__title {
	margin: 0 0 0.75rem !important;
	color: #ffffff !important;
}

.fw-industry-page .petro-cta__lead {
	margin: 0 0 2.3125rem;
	padding: 0;
	font-size: 1.375rem;
	line-height: 1.8125rem;
	color: rgba(255, 255, 255, 0.8);
	font-family: s-regular, sans-serif;
}

.fw-industry-page .petro-cta__sep {
	display: inline-block;
	padding: 0 1.875rem;
	box-sizing: border-box;
}

.fw-industry-page .petro-cta__btn--solid {
	font-size: 1.25rem;
	line-height: 1.25rem;
}
