*,
::after,
::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%
}

body {
	font-family: 'Noto Sans TC', Outfit, system-ui, -apple-system, sans-serif;
	background: #f9f9fb;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

img {
	max-width: 100%;
	height: auto;
	display: block
}

a {
	text-decoration: none;
	color: inherit;
	transition: color .25s ease
}

ul {
	list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Outfit, 'Noto Sans TC', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.3
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25rem
}

.top-bar {
	background: #282d6a;
	color: #fff;
	font-size: .8rem;
	padding: .5rem 0
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center
}

.top-bar-left {
	display: flex;
	align-items: center;
	gap: 1.5rem
}

.top-bar-left a {
	color: rgba(255, 255, 255);
	display: flex;
	align-items: center;
	gap: .4rem
}

.top-bar-left a:hover {
	color: #0e95d3
}

.top-bar-left svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0
}

.top-bar-right {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .75rem;
	opacity: .8
}

.top-bar-right span.sep {
	opacity: .4
}

.main-header {
	background: #fff;
	box-shadow: 0 2px 12px rgba(40, 45, 106, .08);
	position: sticky;
	top: 0;
	z-index: 100
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: .75rem;
	padding-bottom: .75rem
}

.logo-group {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-shrink: 0
}

.logo-group img {
	height: 52px;
	width: auto
}

.logo-text {
	display: flex;
	flex-direction: column
}

.logo-text .brand-en {
	font-family: Outfit, sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: #282d6a;
	letter-spacing: -.02em;
	line-height: 1.2
}

.main-nav {
	display: flex;
	align-items: center;
	gap: .25rem
}

.main-nav a {
	position: relative;
	padding: .5rem 1rem;
	font-size: .9rem;
	font-weight: 500;
	transition: color .25s
}

.main-nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2.5px;
	background: #0e95d3;
	border-radius: 2px;
	transition: width .3s ease
}

.main-nav a:hover {
	color: #282d6a
}

.main-nav a:hover::after {
	width: 70%
}

.mobile-toggle {
	display: none;
	background: 0 0;
	border: none;
	cursor: pointer;
	padding: .5rem;
	color: #282d6a
}

.mobile-toggle svg {
	width: 26px;
	height: 26px
}

.mobile-nav {
	display: none;
	background: #fff;
	border-top: 1px solid #eee
}

.mobile-nav a {
	display: block;
	padding: .85rem 1.5rem;
	font-size: .9rem;
	font-weight: 500;
	color: #333;
	border-bottom: 1px solid #f5f5f5;
	transition: background .2s, color .2s
}

.mobile-nav a:hover {
	background: rgba(40, 45, 106, .04);
	color: #282d6a
}

.hero {
	position: relative;
	width: 100%;
	height: 420px;
	overflow: hidden
}

.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%
}

.hero-overlay {
	position: absolute;
	inset: 0
}

.hero-content {
	position: absolute;
	bottom: 2.5rem;
	right: 2.5rem;
	text-align: right
}

.hero-badge {
	display: inline-block;
	background: linear-gradient(135deg, #e05f03, #e8780f);
	color: #fff;
	padding: .65rem 1.8rem;
	font-family: Outfit, sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: .04em;
	box-shadow: 0 4px 20px rgba(224, 95, 3, .35)
}

.section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 2rem
}

.section-title .bar {
	width: 4px;
	height: 28px;
	background: #e05f03;
	border-radius: 2px;
	flex-shrink: 0
}

.section-title h2 {
	font-size: 1.5rem;
	color: #282d6a
}

.services-section {
	padding: 3.5rem 0 3rem;
	background: #fff
}

.services-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2rem
}

.services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem
}

.service-card {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	cursor: pointer;
	aspect-ratio: 4/3
}

.service-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease
}

.service-card:hover img {
	transform: scale(1.06)
}

.service-card-overlay {
	position: absolute;
	inset: 0
}

.service-card-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #e05f03;
	color: #fff;
	padding: .55rem .85rem;
	font-size: .82rem;
	font-weight: 600;
	line-height: 1.3
}

.updates-panel {
	background: #fafafa;
	border-radius: 4px;
	border: 1px solid #eee;
	overflow: hidden
}

.updates-header {
	background: #282d6a;
	color: #fff;
	padding: .75rem 1.1rem;
	font-size: .95rem;
	font-weight: 600;
	font-family: Outfit, 'Noto Sans TC', sans-serif
}

.updates-list {
	padding: 0
}

.update-item {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .85rem 1.1rem;
	border-bottom: 1px solid #eee;
	font-size: .82rem;
	line-height: 1.5;
	transition: background .2s
}

.update-item:last-child {
	border-bottom: none
}

.update-item:hover {
	background: rgba(14, 149, 211, .04)
}

.update-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 2px solid #282d6a;
	flex-shrink: 0;
	margin-top: .35rem
}

.update-item.is-new .update-dot {
	background: #e05f03;
	border-color: #e05f03
}

.update-new-tag {
	display: inline-block;
	background: #e05f03;
	color: #fff;
	font-size: .6rem;
	padding: .1rem .35rem;
	border-radius: 2px;
	font-weight: 700;
	margin-right: .3rem;
	vertical-align: middle;
	line-height: 1.4
}

.icons-strip {
	padding: 2.5rem 0;
	background: #fff;
	border-top: 1px solid #eee
}

.icons-strip .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2.5rem;
	flex-wrap: wrap
}

.icons-strip img {
	height: 72px;
	width: auto;
	opacity: .9;
	transition: opacity .3s, transform .3s
}

.icons-strip img:hover {
	opacity: 1;
	transform: translateY(-2px)
}

.about-section {
	padding: 3.5rem 0;
	background: #f5f6fa
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center
}

.about-text h3 {
	font-size: 1.3rem;
	color: #282d6a;
	margin-bottom: 1rem
}

.about-text p {
	font-size: .9rem;
	margin-bottom: .85rem
}

.about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-top: 1.5rem
}

.stat-box {
	background: #fff;
	padding: 1.25rem;
	border-radius: 6px;
	text-align: center;
	border-left: 3px solid #0e95d3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.stat-box .num {
	font-family: Outfit, sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: #282d6a;
	line-height: 1.2
}

.stat-box .label {
	font-size: .78rem;
	color: #777;
	margin-top: .25rem
}

.about-image {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(40, 45, 106, .12)
}

.about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 320px
}

.about-image-accent {
	position: absolute;
	top: -8px;
	left: -8px;
	width: 60px;
	height: 60px;
	border-top: 4px solid #e05f03;
	border-left: 4px solid #e05f03
}

.footer {
	background: #282d6a;
	color: #fff;
	padding: 3rem 0 0
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem
}

.footer-brand img {
	height: 48px;
	margin-bottom: 1rem;
	filter: brightness(10)
}

.footer-brand p {
	font-size: .82rem;
	line-height: 1.7
}

.footer h4 {
	color: #0e95d3;
	font-size: 1rem;
	margin-bottom: 1rem;
	font-weight: 600
}

.footer-services a {
	display: block;
	font-size: .82rem;
	padding: .3rem 0;
	transition: opacity .2s, padding-left .2s
}

.footer-services a:hover {
	opacity: 1;
	color: #0e95d3;
	padding-left: .4rem
}

.footer-contact table {
	font-size: .82rem;
	width: 100%
}

.footer-contact td {
	padding: .3rem 0;
	vertical-align: top
}

.footer-contact td:first-child {
	color: #0e95d3;
	white-space: nowrap;
	padding-right: .75rem;
	font-weight: 500;
	width: 70px
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	text-align: center;
	padding: 1rem 0;
	font-size: .75rem;
	opacity: .5
}

@media (max-width:1024px) {
	.main-nav {
		display: none
	}

	.mobile-toggle {
		display: block
	}

	.services-layout {
		grid-template-columns: 1fr
	}

	.about-content {
		grid-template-columns: 1fr
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem
	}
}

@media (max-width:768px) {
	.hero {
		height: 280px
	}

	.hero-content {
		bottom: 1.25rem;
		right: 1.25rem
	}

	.hero-badge {
		font-size: .85rem;
		padding: .5rem 1.2rem
	}

	.services-grid {
		grid-template-columns: 1fr
	}

	.service-card {
		aspect-ratio: 16/9
	}

	.about-stats {
		grid-template-columns: 1fr 1fr
	}

	.icons-strip .container {
		gap: 1.5rem
	}

	.icons-strip img {
		height: 56px
	}

	.logo-text {
		display: none
	}

	.top-bar-left span {
		display: none
	}
}

@media (max-width:480px) {
	.container {
		padding: 0 1rem
	}

	.section-title h2 {
		font-size: 1.2rem
	}

	.about-stats {
		grid-template-columns: 1fr
	}

	.icons-strip img {
		height: 48px
	}
}

.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 44px;
	height: 44px;
	background: #282d6a;
	color: #fff;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s, transform .3s;
	box-shadow: 0 4px 12px rgba(40, 45, 106, .25);
	z-index: 90
}

.back-to-top:hover {
	background: #0e95d3;
	transform: translateY(-3px)
}

.back-to-top svg {
	width: 20px;
	height: 20px
}

@media print {

	.back-to-top,
	.main-header,
	.mobile-nav,
	.mobile-toggle,
	.top-bar {
		display: none !important
	}

	body {
		color: #000;
		background: #fff
	}

	.hero {
		height: auto
	}

	.service-card {
		break-inside: avoid
	}
}

.faq-section {
	padding: 80px 0;
	background-color: #f8f9ff
}

.faq-accordion {
	max-width: 900px;
	margin: 0 auto
}

.accordion-item {
	margin-bottom: 16px;
	border: 1px solid #e0e0ff;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: all .3s ease
}

.accordion-item:hover {
	box-shadow: 0 4px 20px rgba(40, 45, 106, .1)
}

.accordion-header {
	padding: 20px 24px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f0f2ff;
	transition: background .3s ease
}

.accordion-header h3 {
	margin: 0;
	font-size: 1.25rem;
	color: #282d6a;
	font-weight: 600
}

.accordion-icon {
	font-size: 1.8rem;
	font-weight: 700;
	color: #0e95d3;
	transition: transform .3s ease
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	padding: 0 24px;
	background: #fff;
	transition: all .4s ease
}

.accordion-content p {
	margin: 0;
	line-height: 1.7;
	color: #444
}

.brand-en,
.brand-zh {
	display: block
}

.logo-text .brand-en {
	font-family: Outfit, sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: #282d6a;
	letter-spacing: -.02em;
	line-height: 1.2
}

.logo-text .brand-zh {
	font-size: 1.2rem;
	color: #0e95d3;
	font-weight: 500
}

@media only screen and (max-width:768px) {
	.logo-text {
		display: flex !important;
		flex-direction: column;
		justify-content: center;
		margin-left: .5rem;
		text-align: left;
		max-width: none;
		white-space: nowrap;
		overflow: hidden
	}

	.brand-en {
		display: none !important
	}

	.brand-zh {
		display: block !important;
		font-size: 1rem;
		line-height: 1.2;
		color: #282d6a;
		font-weight: 700;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis
	}

	.logo-group {
		display: flex !important;
		align-items: center;
		justify-content: flex-start;
		flex-grow: 1;
		gap: .6rem;
		overflow: hidden
	}

	.logo-group img {
		width: 42px !important;
		height: 42px !important
	}
}

@media only screen and (max-width:576px) {
	.brand-zh {
		font-size: .95rem
	}

	.logo-group img {
		width: 38px !important;
		height: 38px !important
	}
}

.marquee-wrapper {
	overflow: hidden;
	width: 100%;
	margin: 1rem 0
}

.marquee-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 3rem;
	animation: marquee 35s linear infinite;
	width: max-content;
	will-change: transform
}

.marquee-item {
	flex: 0 0 auto;
	text-decoration: none;
	transition: transform .3s ease
}

.marquee-item:hover {
	transform: scale(1.12)
}

.yt-thumb {
	position: relative;
	width: 180px;
	height: 180px;
	box-sizing: border-box
}

.yt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 6px
}

.yt-play-overlay {
	position: absolute;
	bottom: 6px;
	right: 6px;
	width: 32px;
	height: 32px;
	background: rgba(0, 0, 0, .55);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	transition: all .2s ease
}

.yt-play-overlay svg {
	width: 20px;
	height: 20px
}

.marquee-item:hover .yt-play-overlay {
	background: rgba(200, 0, 0, .85);
	transform: scale(1.15)
}

@keyframes marquee {
	0% {
		transform: translateX(0)
	}

	100% {
		transform: translateX(-50%)
	}
}

.marquee-wrapper:hover .marquee-track {
	animation-play-state: paused
}

@media (max-width:768px) {
	.marquee-track {
		gap: 2rem;
		animation-duration: 45s
	}

	.yt-thumb {
		width: 80px;
		height: 80px
	}

	.yt-play-overlay {
		width: 28px;
		height: 28px
	}

	.yt-play-overlay svg {
		width: 18px;
		height: 18px
	}
}


/* 手機選單展開時的樣式 */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #282d6a;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: rgba(14, 149, 211, 0.08);
  color: #0e95d3;
}

/* 當展開時，讓它有點高度限制 + 可捲動（如果項目很多） */
@media (max-width: 1024px) {
  .mobile-nav {
    max-height: 70vh;
    overflow-y: auto;
  }
}