:root {
	--yy-navy: #061a33;
	--yy-deep: #0a2d55;
	--yy-blue: #1677b8;
	--yy-sky: #dff3ff;
	--yy-gold: #c99a3b;
	--yy-ink: #182638;
	--yy-muted: #66758a;
	--yy-line: #dce6f1;
	--yy-bg: #f5f8fc;
	--yy-white: #ffffff;
	--yy-radius: 24px;
	--yy-shadow: 0 22px 60px rgba(6, 26, 51, .12);
	--yy-fast: 180ms ease;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.yiyue-site {
	margin: 0;
	color: var(--yy-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	background: var(--yy-bg);
	line-height: 1.75;
}

a {
	color: inherit;
	transition: color var(--yy-fast), background-color var(--yy-fast), border-color var(--yy-fast), transform var(--yy-fast);
}

a:hover,
a:focus {
	color: var(--yy-blue);
	text-decoration: none;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
	outline: 3px solid rgba(22, 119, 184, .72);
	outline-offset: 3px;
}

img {
	max-width: 100%;
}

.site-header {
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(220, 230, 241, .86);
	transition: box-shadow var(--yy-fast), background-color var(--yy-fast);
}

.site-header.is-scrolled {
	box-shadow: 0 12px 32px rgba(6, 26, 51, .10);
}

.site-header .navbar {
	padding: .85rem 0;
}

.site-header-spacer {
	height: 84px;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: .8rem;
}

.brand-logo {
	width: auto;
	height: 54px;
	object-fit: contain;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	letter-spacing: .04em;
}

.brand-text strong {
	color: var(--yy-navy);
	font-size: 1.08rem;
}

.brand-text em {
	color: var(--yy-gold);
	font-size: .78rem;
	font-style: normal;
	text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link {
	position: relative;
	color: var(--yy-ink);
	font-weight: 600;
	padding: .8rem .85rem;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link:hover {
	color: var(--yy-blue);
}

.navbar-light .navbar-nav .active > .nav-link::after,
.navbar-light .navbar-nav .nav-link:hover::after {
	position: absolute;
	right: .85rem;
	bottom: .35rem;
	left: .85rem;
	height: 2px;
	content: "";
	background: linear-gradient(90deg, var(--yy-blue), var(--yy-gold));
}

.btn-yiyue,
.btn-outline-yiyue {
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .03em;
	padding: .72rem 1.35rem;
}

.btn-yiyue {
	color: var(--yy-white);
	background: linear-gradient(135deg, var(--yy-blue), var(--yy-deep));
	border: 0;
	box-shadow: 0 12px 24px rgba(22, 119, 184, .24);
}

.btn-yiyue:hover,
.btn-yiyue:focus {
	color: var(--yy-white);
	transform: translateY(-1px);
	box-shadow: 0 16px 30px rgba(22, 119, 184, .32);
}

.btn-outline-yiyue {
	color: var(--yy-deep);
	background: transparent;
	border: 1px solid rgba(22, 119, 184, .35);
}

.btn-outline-yiyue:hover,
.btn-outline-yiyue:focus {
	color: var(--yy-white);
	background: var(--yy-deep);
	border-color: var(--yy-deep);
}

.hero-section {
	position: relative;
	overflow: hidden;
	min-height: 640px;
	background:
		linear-gradient(120deg, rgba(5, 18, 42, .96), rgba(10, 45, 85, .88)),
		radial-gradient(circle at 78% 24%, rgba(201, 154, 59, .28), transparent 28%),
		linear-gradient(135deg, var(--yy-navy), var(--yy-blue));
}

.hero-static {
	display: flex;
	align-items: center;
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(255,255,255,.06) 0 1px, transparent 1px 100%),
		radial-gradient(circle at 18% 82%, rgba(22, 119, 184, .32), transparent 30%);
	background-size: 72px 72px, auto;
}

.hero-overlay::after,
.brand-panel::after,
.cta-panel::after {
	position: absolute;
	width: 52vw;
	height: 52vw;
	max-width: 760px;
	max-height: 760px;
	content: "";
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 50%;
	transform: rotate(-18deg);
}

.hero-overlay::after {
	right: -14vw;
	bottom: -36vw;
}

.hero-content {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	color: var(--yy-white);
}

.hero-copy {
	max-width: 780px;
}

.hero-content h1 {
	max-width: 720px;
	font-size: clamp(2rem, 4vw, 3.6rem);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: 0;
}

.hero-subtitle {
	max-width: 680px;
	margin: 1.2rem 0 1.8rem;
	font-size: clamp(1.05rem, 2vw, 1.45rem);
	color: rgba(255, 255, 255, .86);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
}

.hero-service-card {
	position: relative;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: linear-gradient(145deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .07));
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 32px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
	backdrop-filter: blur(12px);
}

.hero-service-card span,
.hero-service-card p {
	color: rgba(255, 255, 255, .76);
}

.hero-service-card span {
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .16em;
}

.hero-service-card strong {
	display: block;
	margin: 1.4rem 0;
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	line-height: 1.2;
}

.hero-swiper .swiper-pagination-bullet {
	width: 28px;
	height: 4px;
	background: rgba(255, 255, 255, .72);
	border-radius: 999px;
	opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
	background: var(--yy-gold);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
	width: 54px;
	height: 54px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 50%;
}

.section,
.page-main {
	padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-kicker {
	margin-bottom: .75rem;
	color: var(--yy-gold);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.section-title,
.content-header h1,
.service-detail h1,
.contact-card h1 {
	color: var(--yy-navy);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.035em;
}

.section-lead {
	color: var(--yy-muted);
	font-size: 1.08rem;
}

.intro-card,
.content-shell,
.contact-card,
.message-card {
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--yy-white);
	border: 1px solid rgba(220, 230, 241, .9);
	border-radius: var(--yy-radius);
	box-shadow: var(--yy-shadow);
}

.intro-copy {
	color: var(--yy-muted);
	font-size: 1.03rem;
}

.fact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .8rem;
	margin: 1.5rem 0;
}

.fact-grid div {
	padding: 1rem;
	background: var(--yy-bg);
	border: 1px solid var(--yy-line);
	border-radius: 16px;
}

.fact-grid strong,
.fact-grid span {
	display: block;
}

.fact-grid strong {
	color: var(--yy-deep);
	font-size: 1.35rem;
	font-weight: 800;
}

.fact-grid span,
.brand-note,
.contact-note p {
	color: var(--yy-muted);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: var(--yy-blue);
	font-weight: 800;
}

.brand-section {
	padding-top: 0;
}

.brand-panel,
.cta-panel {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4rem);
	color: var(--yy-white);
	background:
		linear-gradient(135deg, rgba(6, 26, 51, .98), rgba(13, 75, 121, .92)),
		radial-gradient(circle at 80% 15%, rgba(201, 154, 59, .32), transparent 30%);
	border-radius: calc(var(--yy-radius) + 10px);
	box-shadow: var(--yy-shadow);
}

.brand-panel .section-title,
.brand-panel .section-lead,
.cta-panel h2,
.cta-panel p {
	color: var(--yy-white);
}

.brand-panel::after,
.cta-panel::after {
	right: -22%;
	bottom: -70%;
}

.journey-card {
	position: relative;
	z-index: 1;
	max-width: 420px;
	margin-left: auto;
	padding: 2rem;
	color: var(--yy-white);
	background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
	border: 1px solid rgba(255, 255, 255, .30);
	border-radius: 28px;
	box-shadow: 0 26px 70px rgba(0, 0, 0, .22);
}

.journey-card span,
.journey-card em {
	display: block;
	color: rgba(255, 255, 255, .72);
	font-style: normal;
	letter-spacing: .16em;
}

.journey-card strong {
	display: block;
	margin: 3rem 0 1rem;
	font-size: 2.2rem;
	letter-spacing: .08em;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.section-heading.text-center {
	display: block;
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

.service-card,
.case-card {
	height: 100%;
	overflow: hidden;
	background: var(--yy-white);
	border: 1px solid rgba(220, 230, 241, .92);
	border-radius: var(--yy-radius);
	box-shadow: 0 16px 42px rgba(6, 26, 51, .08);
	transition: transform var(--yy-fast), box-shadow var(--yy-fast), border-color var(--yy-fast);
}

.service-card:hover,
.service-card:focus-within,
.case-card:hover,
.case-card:focus-within {
	border-color: rgba(22, 119, 184, .35);
	transform: translateY(-4px);
	box-shadow: var(--yy-shadow);
}

.service-image,
.case-image,
.detail-image {
	display: block;
	background: linear-gradient(135deg, var(--yy-sky), #fff);
}

.service-image img,
.case-image img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.detail-image {
	overflow: hidden;
	border-radius: var(--yy-radius);
	box-shadow: var(--yy-shadow);
}

.detail-image img {
	width: 100%;
	min-height: 320px;
	object-fit: cover;
}

.service-body,
.case-body {
	padding: 1.35rem;
}

.service-body h2,
.service-body h3,
.case-body h2,
.news-item h3,
.article-row h2 {
	font-size: 1.16rem;
	font-weight: 800;
	line-height: 1.4;
}

.service-body p,
.case-body p,
.news-item p,
.article-row p,
.detail-summary {
	color: var(--yy-muted);
}

.advantage-section,
.service-overview,
.insight-overview {
	background: transparent;
}

.advantage-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.advantage-grid article {
	padding: 1.5rem;
	background: var(--yy-white);
	border: 1px solid rgba(220, 230, 241, .9);
	border-radius: var(--yy-radius);
	box-shadow: 0 16px 42px rgba(6, 26, 51, .08);
}

.advantage-grid span {
	display: inline-flex;
	margin-bottom: 1rem;
	color: var(--yy-gold);
	font-weight: 800;
	letter-spacing: .12em;
}

.advantage-grid h2,
.advantage-grid h3,
.contact-note h2 {
	color: var(--yy-navy);
	font-size: 1.16rem;
	font-weight: 800;
}

.advantage-grid p {
	color: var(--yy-muted);
}

.compact-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.5rem;
}

.news-section {
	background: var(--yy-white);
}

.news-list-home {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.news-item,
.article-row {
	padding: 1.5rem;
	background: var(--yy-bg);
	border: 1px solid rgba(220, 230, 241, .85);
	border-radius: 20px;
}

.news-item time,
.article-row time,
.content-meta {
	color: var(--yy-gold);
	font-size: .9rem;
	font-weight: 800;
}

.article-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 1.4rem;
	margin-bottom: 1rem;
	background: var(--yy-white);
}

.cta-section {
	padding-top: 0;
}

.cta-panel {
	text-align: center;
}

.page-hero {
	position: relative;
	padding: clamp(5rem, 9vw, 8rem) 0;
	color: var(--yy-white);
	background-color: var(--yy-navy);
	background-position: center;
	background-size: cover;
}

.page-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -.04em;
}

.page-hero-subtitle {
	max-width: 640px;
	color: rgba(255, 255, 255, .82);
	font-size: 1.12rem;
}

.breadcrumb-line {
	justify-content: flex-end;
	gap: .35rem;
	margin-bottom: 1.5rem;
	color: var(--yy-muted);
	font-size: .92rem;
}

.sort-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	margin-bottom: 2rem;
}

.sort-pill {
	display: inline-flex;
	gap: .35rem;
	align-items: center;
	padding: .55rem 1rem;
	color: var(--yy-deep);
	background: var(--yy-white);
	border: 1px solid rgba(22, 119, 184, .18);
	border-radius: 999px;
	font-weight: 700;
}

.sort-pill.active,
.sort-pill:hover {
	color: var(--yy-white);
	background: var(--yy-deep);
}

.rich-content {
	color: #334155;
	font-size: 1.02rem;
}

.rich-content img {
	height: auto;
	border-radius: 14px;
}

.content-header {
	max-width: 860px;
	margin: 0 auto 2rem;
}

.prev-next {
	margin-top: 2.2rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--yy-line);
	color: var(--yy-muted);
}

.pagination-wrap {
	margin: 2rem 0 0;
}

.pagination .page-link {
	margin: .25rem;
	color: var(--yy-deep);
	border-color: var(--yy-line);
	border-radius: 999px !important;
}

.pagination .page-link:hover {
	color: var(--yy-white);
	background: var(--yy-deep);
	border-color: var(--yy-deep);
}

.empty-state {
	padding: 3rem;
	text-align: center;
	color: var(--yy-muted);
	background: var(--yy-white);
	border: 1px dashed var(--yy-line);
	border-radius: var(--yy-radius);
}

.search-panel {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: var(--yy-white);
	border-radius: var(--yy-radius);
	box-shadow: 0 14px 36px rgba(6, 26, 51, .08);
}

.search-panel label {
	font-weight: 800;
}

.search-inline,
.code-row {
	display: flex;
	gap: .8rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 1.5rem;
}

.contact-list,
.footer-links,
.footer-contact {
	padding: 0;
	margin: 0;
	list-style: none;
}

.contact-list li,
.footer-contact li {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	margin-bottom: .8rem;
}

.contact-list i,
.footer-contact i {
	margin-top: .35rem;
	color: var(--yy-gold);
}

.code-refresh {
	padding: 0;
	background: transparent;
	border: 0;
}

.code-row img {
	height: 38px;
	border-radius: 8px;
	cursor: pointer;
}

.form-status {
	min-height: 1.6rem;
	margin-bottom: .75rem;
	font-weight: 700;
}

.form-status.is-success {
	color: #147a45;
}

.form-status.is-error {
	color: #b42318;
}

.site-footer {
	position: relative;
	padding: 4rem 0 1.5rem;
	color: rgba(255, 255, 255, .78);
	background: var(--yy-navy);
}

.footer-flightline {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--yy-blue), var(--yy-gold), var(--yy-sky));
}

.footer-brand {
	display: inline-flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.footer-brand span {
	color: var(--yy-white);
	font-size: 1.4rem;
	font-weight: 800;
}

.footer-brand em {
	color: var(--yy-gold);
	font-style: normal;
	letter-spacing: .16em;
}

.footer-title {
	margin-bottom: 1rem;
	color: var(--yy-white);
	font-size: 1rem;
	font-weight: 800;
}

.footer-links li {
	margin-bottom: .55rem;
}

.footer-code {
	display: inline-flex;
	gap: .8rem;
	align-items: center;
	margin-top: .8rem;
}

.footer-code img {
	width: 82px;
	height: 82px;
	padding: .35rem;
	background: var(--yy-white);
	border-radius: 12px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-top: 3rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.mobile-actions {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1031;
	background: var(--yy-deep);
	box-shadow: 0 -10px 30px rgba(6, 26, 51, .18);
}

.mobile-actions a {
	flex: 1;
	padding: .75rem .4rem;
	color: var(--yy-white);
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, .12);
}

.unavailable-page {
	min-height: 60vh;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: .001ms !important;
	}
}

@media (max-width: 1199.98px) {
	.hero-section {
		min-height: auto;
	}

	.hero-static {
		padding: 4.5rem 0;
	}

	.hero-content {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-copy {
		max-width: 860px;
	}

	.hero-service-card {
		max-width: 620px;
	}
}

@media (max-width: 991.98px) {
	.site-header-spacer {
		height: 76px;
	}

	.brand-logo {
		height: 42px;
	}

	.navbar-light .navbar-nav .nav-link::after {
		display: none;
	}

	.hero-swiper,
	.hero-slide {
		height: 620px;
		min-height: 620px;
	}

	.hero-content h1 {
		font-size: clamp(1.9rem, 6vw, 3rem);
	}

	.section-heading,
	.contact-grid,
	.news-list-home,
	.advantage-grid,
	.compact-grid,
	.fact-grid,
	.hero-content {
		display: block;
	}

	.hero-service-card {
		margin-top: 2rem;
	}

	.advantage-grid article,
	.fact-grid div,
	.news-item {
		margin-bottom: 1rem;
	}

	.message-card {
		margin-top: 1.5rem;
	}

	.journey-card {
		margin: 2rem 0 0;
	}

	.article-row {
		grid-template-columns: 1fr;
		gap: .6rem;
	}
}

@media (max-width: 575.98px) {
	body.yiyue-site {
		padding-bottom: 50px;
	}

	.brand-text em {
		display: none;
	}

	.hero-content h1 {
		font-size: 1.85rem;
		line-height: 1.22;
		letter-spacing: 0;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.hero-static {
		padding: 3.5rem 0;
	}

	.hero-swiper,
	.hero-slide {
		height: 560px;
		min-height: 560px;
	}

	.section,
	.page-main {
		padding: 3.5rem 0;
	}

	.search-inline,
	.code-row {
		flex-direction: column;
	}

	.footer-bottom {
		display: block;
	}
}

/* Defensive homepage hero reset: prevents stale carousel/absolute hero styles from covering following sections. */
main > .hero-section.hero-static {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	padding: clamp(4rem, 8vw, 7rem) 0 !important;
	clear: both;
}

main > .hero-section.hero-static .hero-content {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

main > .hero-section.hero-static + .section {
	position: relative;
	z-index: 1;
	clear: both;
}

@media (max-width: 1199.98px) {
	main > .hero-section.hero-static .hero-content {
		display: block !important;
	}

	main > .hero-section.hero-static .hero-service-card {
		margin-top: 2rem;
	}
}
