/* 定制服务页 */

.site-page-customization {
	background: #fff;
}

.custom-fab {
	padding: 64px 0 80px;
}

.custom-fab__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
	box-sizing: border-box;
}

.custom-fab__title {
	margin: 0 0 40px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	color: #111;
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-fab__title.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-our .custom-fab__title {
	margin-bottom: 16px;
}

.custom-our__subtitle {
	margin: 0 auto 40px;
	max-width: 750px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	text-align: center;
	color: #555;
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.08s,
		transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.08s;
}

.custom-our__subtitle.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-fab__list {
	display: flex;
	flex-direction: column;
	gap: 70px;
}

.custom-fab__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.custom-fab__row--reverse .custom-fab__media {
	order: 2;
}

.custom-fab__row--reverse .custom-fab__content {
	order: 1;
}

.custom-fab__media {
	min-width: 0;
	overflow: hidden;
	background: #ececec;
	opacity: 0;
	transform: translateX(-40px);
	transition:
		opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-fab__row--reverse .custom-fab__media {
	transform: translateX(40px);
}

.custom-fab__row.is-visible .custom-fab__media {
	opacity: 1;
	transform: translateX(0);
}

.custom-fab__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-fab__row:hover .custom-fab__media img {
	transform: scale(1.03);
}

.custom-fab__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 0;
	padding: 48px 56px;
	background: #efefef;
	box-sizing: border-box;
	opacity: 0;
	transform: translateX(40px);
	transition:
		opacity 0.85s cubic-bezier(0.23, 1, 0.32, 1) 0.12s,
		transform 0.85s cubic-bezier(0.23, 1, 0.32, 1) 0.12s;
}

.custom-fab__row--reverse .custom-fab__content {
	transform: translateX(-40px);
}

.custom-fab__row.is-visible .custom-fab__content {
	opacity: 1;
	transform: translateX(0);
}

.custom-fab__icon {
	display: block;
	width: 80px;
	height: 80px;
	margin: 0 0 20px;
	object-fit: contain;
	opacity: 0;
	transform: translateY(16px) scale(0.92);
	transition:
		opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.22s,
		transform 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.22s;
}

.custom-fab__row.is-visible .custom-fab__icon {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.custom-fab__name {
	margin: 0 0 16px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.34s,
		transform 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.34s;
}

.custom-fab__row.is-visible .custom-fab__name {
	opacity: 1;
	transform: translateY(0);
}

.custom-fab__desc {
	margin: 0;
	max-width: 520px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: #333;
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.46s,
		transform 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.46s;
}

.custom-fab__row.is-visible .custom-fab__desc {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.custom-fab__title,
	.custom-our__subtitle,
	.custom-fab__media,
	.custom-fab__content,
	.custom-fab__icon,
	.custom-fab__name,
	.custom-fab__desc,
	.custom-fab__media img {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-fab {
		padding: 48px 0 64px;
	}

	.custom-fab__inner {
		padding: 0 28px;
	}

	.custom-fab__title {
		font-size: 32px;
		margin-bottom: 32px;
	}

	.custom-fab__content {
		padding: 36px 40px;
	}

	.custom-fab__name {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.custom-fab__row,
	.custom-fab__row--reverse {
		grid-template-columns: 1fr;
	}

	.custom-fab__row--reverse .custom-fab__media,
	.custom-fab__row--reverse .custom-fab__content {
		order: initial;
	}

	.custom-fab__media {
		min-height: 0;
	}

	.custom-fab__content {
		padding: 28px 24px 36px;
	}

	.custom-fab__title {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.custom-fab__icon {
		width: 64px;
		height: 64px;
		margin-bottom: 16px;
	}

	.custom-fab__name {
		font-size: 22px;
		margin-bottom: 12px;
	}

	.custom-fab__desc {
		font-size: 15px;
		max-width: none;
	}
}

@media (max-width: 640px) {
	.custom-fab {
		padding: 36px 0 48px;
	}

	.custom-fab__inner {
		padding: 0 20px;
	}

	.custom-fab__title {
		font-size: 24px;
	}
}

/* ── 包装类型展示 ── */

.custom-pack {
	padding: 56px 0 80px;
	background: #efefef;
}

.custom-pack__inner {
	display: flex;
	align-items: center;
	gap: 56px;
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
	box-sizing: border-box;
}

.custom-pack__media {
	flex: 700 1 0;
	min-width: 0;
	max-width: 700px;
	overflow: hidden;
	opacity: 0;
	transform: translateX(-36px);
	transition:
		opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-pack__inner.is-visible .custom-pack__media {
	opacity: 1;
	transform: translateX(0);
}

.custom-pack__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-pack__inner:hover .custom-pack__media img {
	transform: scale(1.03);
}

.custom-pack__copy {
	flex: 640 1 0;
	min-width: 0;
	max-width: 640px;
	opacity: 0;
	transform: translateX(32px);
	transition:
		opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
		transform 0.75s cubic-bezier(0.23, 1, 0.32, 1) 0.15s;
}

.custom-pack__inner.is-visible .custom-pack__copy {
	opacity: 1;
	transform: translateX(0);
}

.custom-pack__title {
	margin: 0 0 20px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}

.custom-pack__desc {
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: #333;
}

.custom-pack__desc p {
	margin: 0 0 1em;
}

.custom-pack__desc p:last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.custom-pack__media,
	.custom-pack__copy,
	.custom-pack__media img {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-pack {
		padding: 48px 0 64px;
	}

	.custom-pack__inner {
		gap: 36px;
		padding: 0 28px;
	}

	.custom-pack__title {
		font-size: 30px;
	}
}

@media (max-width: 900px) {
	.custom-pack__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.custom-pack__media,
	.custom-pack__copy {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.custom-pack__copy {
		transform: translateY(24px);
	}

	.custom-pack__inner.is-visible .custom-pack__copy {
		transform: translateY(0);
	}
}

@media (max-width: 640px) {
	.custom-pack {
		padding: 36px 0 48px;
	}

	.custom-pack__inner {
		padding: 0 20px;
		gap: 24px;
	}

	.custom-pack__title {
		font-size: 24px;
		margin-bottom: 14px;
	}

	.custom-pack__desc {
		font-size: 15px;
	}
}

/* ── 品牌展示 ── */

.custom-brand {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.custom-brand__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.28) 48%,
		rgba(0, 0, 0, 0.08) 100%
	);
	pointer-events: none;
}

.custom-brand__inner {
	position: relative;
	z-index: 2;
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 72px 40px;
	box-sizing: border-box;
}

.custom-brand__title {
	margin: 0 0 20px;
	max-width: 750px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-brand__inner.is-visible .custom-brand__title {
	opacity: 1;
	transform: translateY(0);
}

.custom-brand__desc {
	max-width: 960px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.92);
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
		transform 0.75s cubic-bezier(0.23, 1, 0.32, 1) 0.15s;
}

.custom-brand__inner.is-visible .custom-brand__desc {
	opacity: 1;
	transform: translateY(0);
}

.custom-brand__desc p {
	margin: 0 0 1em;
}

.custom-brand__desc p:last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.custom-brand__title,
	.custom-brand__desc {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-brand {
		min-height: 440px;
	}

	.custom-brand__inner {
		padding: 56px 28px;
	}

	.custom-brand__title {
		font-size: 30px;
	}

	.custom-brand__desc {
		font-size: 17px;
	}
}

@media (max-width: 640px) {
	.custom-brand {
		min-height: 380px;
	}

	.custom-brand__inner {
		padding: 44px 20px;
	}

	.custom-brand__title {
		font-size: 24px;
		margin-bottom: 14px;
		max-width: none;
	}

	.custom-brand__desc {
		font-size: 16px;
		max-width: none;
	}

	.custom-brand__overlay {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.55) 0%,
			rgba(0, 0, 0, 0.35) 100%
		);
	}
}

/* ── 定制品牌板块一 ── */

.custom-dz {
	padding: 64px 0 80px;
	background: #fff;
}

.custom-dz__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
	box-sizing: border-box;
}

.custom-dz__title {
	margin: 0 0 40px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: #111;
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-dz__title.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-dz__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.custom-dz__card {
	min-width: 0;
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s),
		transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s);
}

.custom-dz__card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-dz__media {
	overflow: hidden;
	background: #f0f0f0;
}

.custom-dz__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-dz__card:hover .custom-dz__media img {
	transform: scale(1.04);
}

.custom-dz__name {
	margin: 14px 0 0;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	color: #111;
}

@media (prefers-reduced-motion: reduce) {
	.custom-dz__title,
	.custom-dz__card,
	.custom-dz__media img {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-dz {
		padding: 48px 0 64px;
	}

	.custom-dz__inner {
		padding: 0 28px;
	}

	.custom-dz__title {
		font-size: 30px;
		margin-bottom: 32px;
	}

	.custom-dz__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 640px) {
	.custom-dz {
		padding: 36px 0 48px;
	}

	.custom-dz__inner {
		padding: 0 20px;
	}

	.custom-dz__title {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.custom-dz__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.custom-dz__name {
		margin-top: 10px;
		font-size: 14px;
	}
}

/* ── 定制品牌展示板块二 ── */

.custom-cus {
	padding: 24px 0 80px;
	background: #fff;
}

.custom-cus__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
	box-sizing: border-box;
}

.custom-cus__title {
	margin: 0 0 40px;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: #111;
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-cus__title.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-cus__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.custom-cus__card {
	min-width: 0;
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s),
		transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s);
}

.custom-cus__card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-cus__media {
	overflow: hidden;
	background: #f0f0f0;
}

.custom-cus__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-cus__card:hover .custom-cus__media img {
	transform: scale(1.04);
}

.custom-cus__name {
	margin: 14px 0 0;
	font-family: 'Inter', 'Segoe UI', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	color: #111;
}

@media (prefers-reduced-motion: reduce) {
	.custom-cus__title,
	.custom-cus__card,
	.custom-cus__media img {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-cus {
		padding-bottom: 64px;
	}

	.custom-cus__inner {
		padding: 0 28px;
	}

	.custom-cus__title {
		font-size: 30px;
		margin-bottom: 32px;
	}

	.custom-cus__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 768px) {
	.custom-cus__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (max-width: 640px) {
	.custom-cus {
		padding-bottom: 48px;
	}

	.custom-cus__inner {
		padding: 0 20px;
	}

	.custom-cus__title {
		font-size: 24px;
		margin-bottom: 24px;
	}

	.custom-cus__name {
		margin-top: 10px;
		font-size: 14px;
	}
}

/* ── 视频展示 ── */

.custom-video {
	padding: 24px 0 80px;
	background: #fff;
}

.custom-video__inner {
	max-width: 1470px;
	margin: 0 auto;
	width: 100%;
	padding: 0 40px;
	box-sizing: border-box;
}

.custom-video__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.custom-video__card {
	min-width: 0;
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s),
		transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) var(--reveal-delay, 0s);
}

.custom-video__card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.custom-video__player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #111;
}

.custom-video__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-video__card:hover .custom-video__cover {
	transform: scale(1.03);
}

.custom-video__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.18);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.custom-video__player {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.custom-video__player[hidden] {
	display: none !important;
}

.custom-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: background 0.2s ease, transform 0.2s ease;
}

.custom-video__play:hover,
.custom-video__play:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	transform: translate(-50%, -50%) scale(1.05);
}

.custom-video__play-icon {
	display: block;
	width: 0;
	height: 0;
	margin: 0 0 0 3px;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent #fff;
}

.custom-video__player-wrap.is-playing .custom-video__cover,
.custom-video__player-wrap.is-playing .custom-video__overlay,
.custom-video__player-wrap.is-playing .custom-video__play {
	opacity: 0;
	pointer-events: none;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.custom-video__card,
	.custom-video__cover {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.custom-video {
		padding-bottom: 64px;
	}

	.custom-video__inner {
		padding: 0 28px;
	}

	.custom-video__play {
		width: 64px;
		height: 64px;
	}

	.custom-video__play-icon {
		border-width: 10px 0 10px 17px;
	}
}

@media (max-width: 768px) {
	.custom-video__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.custom-video {
		padding: 16px 0 48px;
	}

	.custom-video__inner {
		padding: 0 20px;
	}

	.custom-video__play {
		width: 56px;
		height: 56px;
	}

	.custom-video__play-icon {
		border-width: 9px 0 9px 15px;
		margin-left: 2px;
	}
}
