@charset "utf-8";

/* ========== 荣誉资质 ========== */
.honor-section {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(28, 73, 142, .08);
	background: #fff;
}

/* Hero 横幅 */
.honor-hero {
	position: relative;
	min-height: 220px;
	padding: 48px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	background: linear-gradient(135deg, #1a5a9e 0%, #2d7bc4 50%, #4a9fd9 100%);
}
.honor-hero-bg {
	position: absolute;
	inset: 0;
	background: url('/static/index/img/1.jpg') center/cover no-repeat;
	opacity: .35;
	animation: honorHeroKen 18s ease-in-out infinite alternate;
}
@keyframes honorHeroKen {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}
.honor-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(10, 42, 94, .75) 0%, rgba(28, 73, 142, .45) 55%, rgba(28, 73, 142, .2) 100%);
}
.honor-hero-text {
	position: relative;
	z-index: 2;
}
.honor-title-en {
	font-size: 38px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
	text-stroke: 1.5px rgba(255, 255, 255, .85);
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0;
	transform: translateX(-30px);
	transition: all .9s cubic-bezier(.22, 1, .36, 1);
}
.honor-section.in-view .honor-title-en {
	opacity: 1;
	transform: translateX(0);
}
.honor-title-cn {
	font-size: 32px;
	color: #fff;
	font-weight: 700;
	margin: 10px 0 0;
	opacity: 0;
	transform: translateX(-24px);
	transition: all .9s cubic-bezier(.22, 1, .36, 1) .12s;
}
.honor-section.in-view .honor-title-cn {
	opacity: 1;
	transform: translateX(0);
}
.honor-title-bar {
	display: block;
	width: 0;
	height: 4px;
	background: var(--primary);
	margin-top: 14px;
	border-radius: 2px;
	transition: width .8s cubic-bezier(.22, 1, .36, 1) .3s;
}
.honor-section.in-view .honor-title-bar {
	width: 100px;
}

.honor-hero-deco {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	margin-left: 24px;
	opacity: 0;
	transform: translateX(40px) scale(.9);
	transition: all 1s cubic-bezier(.22, 1, .36, 1) .2s;
}
.honor-section.in-view .honor-hero-deco {
	opacity: 1;
	transform: translateX(0) scale(1);
}
.honor-trophy {
	width: 120px;
	height: 120px;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .25));
	animation: trophyFloat 4s ease-in-out infinite;
}
@keyframes trophyFloat {
	0%, 100% { transform: translateY(0) rotate(-3deg); }
	50% { transform: translateY(-10px) rotate(3deg); }
}
.honor-ribbon {
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid rgba(211, 38, 41, .4);
	top: -10px;
	right: -20px;
	animation: ribbonSpin 8s linear infinite;
}
.honor-ribbon::before {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	border: 2px dashed rgba(211, 38, 41, .6);
}
@keyframes ribbonSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
.honor-slogan {
	position: absolute;
	top: 20px;
	right: 24px;
	z-index: 3;
	font-size: 13px;
	color: rgba(255, 255, 255, .8);
	letter-spacing: 2px;
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0;
	transition: opacity .8s ease .5s;
}
.honor-section.in-view .honor-slogan {
	opacity: 1;
}
.honor-slogan i {
	display: block;
	width: 3px;
	height: 14px;
	background: var(--primary);
	border-radius: 2px;
}

/* 证书画廊 */
.honor-gallery {
	position: relative;
	padding: 48px 36px 36px;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	overflow: hidden;
}
.honor-gallery-waves {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .5;
	background:
		radial-gradient(ellipse 80% 50% at 20% 80%, rgba(28, 73, 142, .06), transparent),
		radial-gradient(ellipse 60% 40% at 80% 20%, rgba(28, 73, 142, .05), transparent);
}
.honor-gallery-waves::before,
.honor-gallery-waves::after {
	content: '';
	position: absolute;
	width: 200%;
	height: 120px;
	left: -50%;
	border-radius: 50%;
	border: 1px solid rgba(28, 73, 142, .06);
}
.honor-gallery-waves::before {
	top: 30%;
	animation: honorWave 12s ease-in-out infinite;
}
.honor-gallery-waves::after {
	top: 60%;
	animation: honorWave 15s ease-in-out infinite reverse;
}
@keyframes honorWave {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(30px); }
}

.honor-list {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.honor-item {
	width: calc(33.333% - 16px);
	text-align: center;
	opacity: 0;
	transform: translateY(32px) scale(.95);
	transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
}
.honor-section.in-view .honor-item {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.honor-section.in-view .honor-item:nth-child(1) { transition-delay: 0s; }
.honor-section.in-view .honor-item:nth-child(2) { transition-delay: .06s; }
.honor-section.in-view .honor-item:nth-child(3) { transition-delay: .12s; }
.honor-section.in-view .honor-item:nth-child(4) { transition-delay: .18s; }
.honor-section.in-view .honor-item:nth-child(5) { transition-delay: .24s; }
.honor-section.in-view .honor-item:nth-child(6) { transition-delay: .3s; }
.honor-section.in-view .honor-item:nth-child(7) { transition-delay: .36s; }
.honor-section.in-view .honor-item:nth-child(8) { transition-delay: .42s; }
.honor-section.in-view .honor-item:nth-child(9) { transition-delay: .48s; }
.honor-section.in-view .honor-item:nth-child(n+10) { transition-delay: .54s; }

.honor-card-frame {
	display: block;
	position: relative;
	margin: 0 auto 14px;
	padding: 8px;
	background: linear-gradient(145deg, #f0f0f0, #fff);
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(255, 255, 255, .8);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
	cursor: pointer;
	text-decoration: none;
}
.honor-item:hover .honor-card-frame {
	transform: translateY(-8px) scale(1.03);
	box-shadow: 0 16px 40px rgba(28, 73, 142, .18);
}
.honor-card-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 2px;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #fff;
	-webkit-box-reflect: below 3px linear-gradient(transparent 55%, rgba(0, 0, 0, .08));
}
.honor-card-label {
	font-size: 14px;
	color: var(--text);
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
	padding: 0 4px;
	transition: color .3s ease;
}
.honor-item:hover .honor-card-label {
	color: var(--primary);
}

/* 分页 */
.honor-pager {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	padding: 28px 36px 32px;
	border-top: 1px solid rgba(28, 73, 142, .06);
	background: #fff;
}
.honor-pager-btn {
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: #fff;
	color: var(--secondary);
	font-size: 14px;
	line-height: 36px;
	text-align: center;
	text-decoration: none;
	transition: all .35s cubic-bezier(.22, 1, .36, 1);
}
.honor-pager-btn:hover:not(.is-disabled) {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff !important;
	transform: scale(1.08);
	box-shadow: 0 4px 16px rgba(211, 38, 41, .3);
}
.honor-pager-btn.is-disabled,
.honor-pager-btn[aria-disabled="true"] {
	opacity: .35;
	cursor: not-allowed;
	pointer-events: none;
}
.honor-pager-info {
	font-size: 15px;
	color: var(--text);
	font-weight: 600;
	font-family: Arial, sans-serif;
	min-width: 72px;
	text-align: center;
}
.honor-pager-info em {
	color: var(--primary);
	font-style: normal;
}

/* 全屏预览 */
.honor-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility .35s ease;
}
.honor-lightbox.show {
	opacity: 1;
	visibility: visible;
}
.honor-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .82);
	backdrop-filter: blur(6px);
}
.honor-lightbox-close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	transition: background .3s ease;
}
.honor-lightbox-close:hover {
	background: var(--primary);
}
.honor-lightbox-img {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
	transform: scale(.9);
	transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.honor-lightbox.show .honor-lightbox-img {
	transform: scale(1);
}
body.honor-lightbox-open {
	overflow: hidden;
}
.honor-lightbox-caption {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: #fff;
	font-size: 16px;
	text-align: center;
	padding: 8px 24px;
	background: rgba(0, 0, 0, .5);
	border-radius: 20px;
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
	.honor-hero {
		padding: 36px 28px;
		min-height: 180px;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	.honor-hero-deco {
		margin-left: 0;
		align-self: flex-end;
	}
	.honor-trophy {
		width: 80px;
		height: 80px;
	}
	.honor-title-en { font-size: 28px; }
	.honor-title-cn { font-size: 26px; }
	.honor-item {
		width: calc(50% - 12px);
	}
	.honor-gallery {
		padding: 32px 20px 24px;
	}
	.honor-pager {
		padding: 20px;
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.honor-hero {
		padding: 28px 20px;
	}
	.honor-slogan {
		position: static;
		margin-bottom: 12px;
		order: -1;
		align-self: flex-end;
	}
	.honor-item {
		width: 100%;
	}
}
