@charset "UTF-8";
/* ==========================================================================
   尚杰科技官網 2026 版首頁樣式  sj2026.css
   設計調性：深墨綠（品牌色）× 金銅（logo SJ 色）× 大量留白
   獨立檔案，不依賴 sj.css / sjfx.css
   ========================================================================== */

:root {
	--ink: #071b21;
	--ink-2: #0b2b33;
	--ink-3: #10404a;
	--teal: #14707c;
	--teal-l: #1f97a6;
	--gold: #c99a6e;
	--gold-l: #e6c39a;
	--amber: #d9a45f;
	--paper: #f5f7f8;
	--white: #ffffff;
	--text: #1d3038;
	--muted: #647a84;
	--line: rgba(7, 27, 33, 0.1);
	--line-dark: rgba(255, 255, 255, 0.14);
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 6px 18px -10px rgba(7, 27, 33, 0.28);
	--shadow: 0 24px 48px -24px rgba(7, 27, 33, 0.5);
	--maxw: 1200px;
	--header-h: 78px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei",
		"Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.01em;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.02em;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

:focus-visible {
	outline: 3px solid var(--teal);
	outline-offset: 3px;
	border-radius: 4px;
}

/* 深色底上改用亮色焦點框，確保看得出鍵盤位置 */
.hero :focus-visible,
.sj-header :focus-visible,
.ticker :focus-visible,
.section--dark :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible {
	outline-color: #ffd9a8;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 12px 20px;
	z-index: 2000;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

/* ---------- 通用按鈕 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 30px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.06em;
	border: 1.5px solid transparent;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease),
		color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--gold {
	background: linear-gradient(135deg, var(--gold-l), var(--amber));
	color: var(--ink);
	box-shadow: 0 14px 30px -16px rgba(217, 164, 95, 0.9);
}

.btn--gold:hover {
	background: linear-gradient(135deg, #f0d3ae, var(--amber));
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
	background: var(--ink-2);
	color: #fff;
}

.btn--dark:hover {
	background: var(--teal);
}

.btn--line {
	border-color: var(--line);
	color: var(--ink-2);
	background: #fff;
}

.btn--line:hover {
	border-color: var(--teal);
	color: var(--teal);
}

/* ==========================================================================
   頁首
   ========================================================================== */
.sj-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: transparent;
	transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
		height 0.35s var(--ease);
}

.sj-header.is-stuck {
	height: 66px;
	background: rgba(8, 30, 36, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
	border-bottom: 1px solid var(--line-dark);
}

.sj-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sj-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.sj-brand img {
	width: 46px;
	height: 46px;
	border-radius: 4px;
	transition: width 0.35s var(--ease), height 0.35s var(--ease);
}

.sj-header.is-stuck .sj-brand img {
	width: 40px;
	height: 40px;
}

.sj-brand__txt {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	color: #fff;
}

.sj-brand__txt b {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.sj-brand__txt i {
	font-style: normal;
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--gold-l);
	text-transform: uppercase;
}

.sj-nav {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.sj-nav a {
	position: relative;
	color: rgba(255, 255, 255, 0.88);
	padding: 10px 18px;
	font-weight: 500;
	font-size: 16px;
	border-radius: 8px;
	transition: color 0.25s var(--ease);
}

.sj-nav a::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 4px;
	height: 2px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.sj-nav a:hover {
	color: #fff;
}

.sj-nav a:hover::after {
	transform: scaleX(1);
}

.sj-header__tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: 14px;
	padding: 10px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--line-dark);
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.06em;
	white-space: nowrap;
	transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.sj-header__tel:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
}

.sj-header__tel svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.sj-burger {
	display: none;
	margin-left: auto;
	width: 46px;
	height: 46px;
	padding: 0;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--line-dark);
	border-radius: 10px;
	cursor: pointer;
	position: relative;
}

.sj-burger span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.sj-burger span:nth-child(1) {
	top: 15px;
}

.sj-burger span:nth-child(2) {
	top: 22px;
}

.sj-burger span:nth-child(3) {
	top: 29px;
}

.sj-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.sj-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.sj-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   主視覺
   ========================================================================== */
.hero {
	position: relative;
	min-height: min(92vh, 820px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ink);
	isolation: isolate;
}

.hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s var(--ease);
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
}

.hero__slide.is-active img {
	animation: heroZoom 9s var(--ease) forwards;
}

@keyframes heroZoom {
	from {
		transform: scale(1.03);
	}
	to {
		transform: scale(1.13);
	}
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(100deg,
			rgba(4, 17, 21, 0.55) 0%,
			rgba(5, 21, 26, 0.45) 40%,
			rgba(5, 21, 26, 0.28) 70%,
			rgba(4, 17, 21, 0.45) 100%);
}

.hero__inner {
	position: relative;
	z-index: 3;
	/* 只設上下內距，左右留給 .container，避免蓋掉 24px 側邊留白 */
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: 90px;
	width: 100%;
}

/* 文字區的霧面散景：讓車身上的字樣退到背景，不干擾閱讀 */
.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(100deg,
			rgba(4, 17, 21, 0.9) 0%,
			rgba(5, 21, 26, 0.82) 38%,
			rgba(5, 21, 26, 0.42) 60%,
			rgba(5, 21, 26, 0) 84%);
	backdrop-filter: blur(14px) saturate(0.85);
	-webkit-backdrop-filter: blur(14px) saturate(0.85);
	-webkit-mask-image: linear-gradient(100deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.5) 56%, transparent 84%);
	mask-image: linear-gradient(100deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.5) 56%, transparent 84%);
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gold-l);
	font-size: 14px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.hero__eyebrow::before {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--gold);
}

.hero h1 {
	color: #fff;
	font-size: clamp(30px, 5.4vw, 62px);
	font-weight: 900;
	line-height: 1.22;
	letter-spacing: 0.02em;
	max-width: 15em;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero h1 em {
	font-style: normal;
	background: linear-gradient(120deg, var(--gold-l), var(--amber));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__lead {
	margin-top: 24px;
	max-width: 34em;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 2;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 40px;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 3;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.hero__scroll i {
	display: block;
	width: 1px;
	height: 44px;
	background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
	animation: scrollHint 2.2s var(--ease) infinite;
}

@keyframes scrollHint {
	0% {
		transform: scaleY(0.2);
		transform-origin: top;
		opacity: 0;
	}

	40% {
		transform: scaleY(1);
		opacity: 1;
	}

	100% {
		transform: scaleY(1);
		transform-origin: bottom;
		opacity: 0;
	}
}

.hero__dots {
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hero__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.6);
	background: transparent;
	cursor: pointer;
	transition: background 0.3s var(--ease), transform 0.3s var(--ease),
		border-color 0.3s var(--ease);
}

.hero__dots button.is-active {
	background: var(--gold);
	border-color: var(--gold);
	transform: scale(1.35);
}

/* 輪播暫停／播放控制（WCAG 2.2.2） */
.hero__pause {
	position: absolute;
	right: 30px;
	bottom: 30px;
	z-index: 4;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero__pause:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: #fff;
}

.hero__pause svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.hero__pause .ico-play {
	display: none;
}

.hero__pause.is-paused .ico-pause {
	display: none;
}

.hero__pause.is-paused .ico-play {
	display: block;
}

/* ==========================================================================
   產品線快速條
   ========================================================================== */
.ticker {
	background: var(--ink-2);
	border-top: 1px solid var(--line-dark);
	border-bottom: 1px solid var(--line-dark);
	padding: 18px 0;
	overflow: hidden;
}

.ticker__track {
	display: flex;
	gap: 44px;
	align-items: center;
	white-space: nowrap;
	animation: tickerMove 38s linear infinite;
	width: max-content;
}

.ticker__track span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	letter-spacing: 0.16em;
	display: inline-flex;
	align-items: center;
	gap: 44px;
}

.ticker__track span::after {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
	display: inline-block;
}

/* 滑鼠移入時暫停跑馬燈（WCAG 2.2.2 暫停機制） */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
	animation-play-state: paused;
}

@keyframes tickerMove {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* ==========================================================================
   區塊共用
   ========================================================================== */
section {
	scroll-margin-top: 80px;
}

.section {
	padding: 96px 0;
}

.section--tight {
	padding: 72px 0;
}

.section--paper {
	background: var(--paper);
}

.section--dark {
	background: var(--ink);
	color: #fff;
}

.sec-head {
	max-width: 760px;
	margin-bottom: 52px;
}

.sec-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.sec-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--amber);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.sec-head__eyebrow::before {
	content: "";
	width: 30px;
	height: 2px;
	background: var(--gold);
}

.sec-head--center .sec-head__eyebrow::after {
	content: "";
	width: 30px;
	height: 2px;
	background: var(--gold);
}

.sec-head h2 {
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 900;
	color: var(--ink);
}

.sec-head p {
	margin-top: 16px;
	color: var(--muted);
	font-size: 16px;
	line-height: 2;
}

.section--dark .sec-head h2 {
	color: #fff;
}

.section--dark .sec-head p {
	color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   服務項目
   ========================================================================== */
.svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 22px;
}

.svc {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 34px 30px 32px;
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
		border-color 0.3s var(--ease);
}

.svc::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--gold), var(--teal-l));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}

.svc:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: transparent;
}

.svc:hover::before {
	transform: scaleX(1);
}

.svc__idx {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--gold);
}

.svc h3 {
	margin: 12px 0 12px;
	font-size: 21px;
	color: var(--ink);
}

.svc p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.95;
}

/* ==========================================================================
   產品卡片
   ========================================================================== */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.prod {
	position: relative;
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--ink);
	box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.prod:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.prod__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.prod__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

.prod:hover .prod__media img {
	transform: scale(1.08);
}

.prod__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 27, 33, 0) 38%, rgba(7, 27, 33, 0.9) 100%);
}

.prod__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: 22px 24px 24px;
	color: #fff;
	z-index: 2;
}

.prod__tag {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-l);
	margin-bottom: 6px;
}

.prod__body h3 {
	font-size: 22px;
	font-weight: 900;
}

.prod__body p {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.76);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease);
}

.prod:hover .prod__body p,
.prod:focus-visible .prod__body p {
	max-height: 8em;
	opacity: 1;
}

.prod__arrow {
	position: absolute;
	right: 22px;
	top: 22px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(7, 27, 33, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background 0.3s var(--ease), transform 0.3s var(--ease);
	z-index: 3;
}

.prod:hover .prod__arrow {
	background: var(--gold);
	color: var(--ink);
	transform: translateX(4px);
}

.prod__arrow svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ==========================================================================
   價值 / 實績
   ========================================================================== */
.duo {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 60px;
	align-items: center;
}

.duo__media {
	position: relative;
}

.duo__media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	width: 100%;
}

.duo__media::after {
	content: "";
	position: absolute;
	left: -18px;
	bottom: -18px;
	width: 120px;
	height: 120px;
	border-left: 3px solid var(--gold);
	border-bottom: 3px solid var(--gold);
	border-radius: 0 0 0 var(--radius-lg);
	z-index: -1;
}

.value-list {
	display: grid;
	gap: 22px;
}

.value-item {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.value-item__ico {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--gold-l), var(--amber));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	font-weight: 900;
	font-size: 15px;
}

.value-item h3 {
	font-size: 19px;
	color: var(--ink);
	margin-bottom: 4px;
}

.value-item p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.9;
}

/* ==========================================================================
   流程
   ========================================================================== */
.flow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
	counter-reset: flow;
}

.flow__item {
	position: relative;
	padding: 30px 24px 26px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.flow__item:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-4px);
}

.flow__num {
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--gold-l), var(--amber));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.flow__item h3 {
	margin: 14px 0 8px;
	font-size: 18px;
	color: #fff;
}

.flow__item p {
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   常見問題（原生 details，無需 JS）
   ========================================================================== */
.faq {
	display: grid;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
}

.faq details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq details[open] {
	border-color: rgba(20, 112, 124, 0.4);
	box-shadow: var(--shadow-sm);
}

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 22px 60px 22px 26px;
	font-weight: 700;
	font-size: 17px;
	color: var(--ink);
	position: relative;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	position: absolute;
	right: 26px;
	top: 50%;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--teal);
	border-bottom: 2px solid var(--teal);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

/* 焦點框內縮，避免被 overflow:hidden 裁掉（且用高對比青色） */
.faq summary:focus-visible {
	outline: 3px solid var(--teal);
	outline-offset: -4px;
	border-radius: var(--radius);
}

.faq .faq__a {
	padding: 0 26px 24px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 2;
}

/* ==========================================================================
   媒體報導
   ========================================================================== */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.news {
	display: block;
	padding: 26px 28px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
		transform 0.3s var(--ease);
}

.news:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--gold);
	transform: translateY(-4px);
}

.news__src {
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--gold-l);
	text-transform: uppercase;
}

.news h3 {
	margin: 10px 0 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.7;
	color: #fff;
}

.award-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.award-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid rgba(201, 154, 110, 0.5);
	color: var(--gold-l);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.award-chip::before {
	content: "★";
	color: var(--amber);
}

/* ==========================================================================
   聯絡 CTA
   ========================================================================== */
.cta {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, var(--ink-2) 0%, var(--teal) 100%);
	color: #fff;
	padding: 78px 0;
}

.cta::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 154, 110, 0.35), transparent 70%);
}

.cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
}

.cta h2 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 900;
	max-width: 20em;
}

.cta p {
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.82);
	max-width: 34em;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   頁尾
   ========================================================================== */
.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	padding: 66px 0 0;
	font-size: 15px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 44px;
	padding-bottom: 46px;
}

.site-footer h3 {
	font-size: 15px;
	letter-spacing: 0.2em;
	color: var(--gold-l);
	margin-bottom: 18px;
	text-transform: uppercase;
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.site-footer__brand img {
	width: 130px;
}

.site-footer a:hover {
	color: var(--gold-l);
}

.site-footer ul li {
	margin-bottom: 10px;
}

.site-footer__bottom {
	border-top: 1px solid var(--line-dark);
	padding: 22px 0 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   行動裝置版
   ========================================================================== */
@media (max-width: 1024px) {
	.duo {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}
}

@media (max-width: 860px) {
	.section {
		padding: 70px 0;
	}

	.hero::before {
		background: linear-gradient(180deg,
				rgba(4, 17, 21, 0.55) 0%,
				rgba(5, 21, 26, 0.45) 45%,
				rgba(4, 17, 21, 0.7) 100%);
	}

	/* 手機版改成整片均勻霧面，避免左右對比太強 */
	.hero__scrim {
		background: linear-gradient(180deg, rgba(4, 17, 21, 0.72), rgba(5, 21, 26, 0.6));
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.6) 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.6) 100%);
	}

	.sj-header__tel {
		display: none;
	}

	.sj-burger {
		display: block;
	}

	.sj-nav {
		position: fixed;
		inset: 66px 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px 16px 22px;
		background: rgba(8, 30, 36, 0.98);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-bottom: 1px solid var(--line-dark);
		transform: translateY(-130%);
		visibility: hidden;
		transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
		margin-left: 0;
	}

	.sj-nav.is-open {
		transform: translateY(0);
		visibility: visible;
	}

	.sj-nav a {
		padding: 16px 10px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		font-size: 17px;
	}

	.sj-nav a::after {
		display: none;
	}

	/* 手機版把輪播指示點移到下方橫排，避免壓到文字 */
	.hero__dots {
		right: auto;
		left: 50%;
		top: auto;
		bottom: 30px;
		transform: translateX(-50%);
		flex-direction: row;
		gap: 10px;
	}

	.hero__dots button {
		width: 22px;
		height: 4px;
		border-radius: 3px;
	}

	.hero__dots button.is-active {
		transform: none;
		width: 34px;
	}

	.hero__pause {
		right: 18px;
		bottom: 20px;
		width: 42px;
		height: 42px;
	}

	.hero__inner {
		padding-bottom: 120px;
	}

	.hero__lead {
		font-size: 15px;
	}

	.hero__eyebrow {
		font-size: 12px;
		letter-spacing: 0.2em;
		margin-bottom: 16px;
	}

	.hero__eyebrow::before {
		width: 28px;
	}

	/* 小螢幕不會 hover，產品說明直接顯示 */
	.prod__body p {
		max-height: 8em;
		opacity: 1;
	}
}

@media (max-width: 560px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 88vh;
	}

	.hero__scroll {
		display: none;
	}

	.btn {
		width: 100%;
	}
}

/* 觸控裝置沒有 hover → 產品說明直接顯示 */
@media (hover: none) {
	.prod__body p {
		max-height: 8em;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ==========================================================================
   內頁（產品頁）元件 — 與首頁同一套設計語彙
   ========================================================================== */

.page-hero {
	position: relative;
	background:
		radial-gradient(900px 420px at 88% -10%, rgba(201, 154, 110, 0.16), transparent 70%),
		linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 58%, var(--ink-3) 100%);
	color: #fff;
	padding: calc(var(--header-h) + 46px) 0 70px;
	overflow: hidden;
}

.page-hero__grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 54px;
	align-items: center;
}

.page-hero h1 {
	font-size: clamp(30px, 4.4vw, 52px);
	color: #fff;
	font-weight: 900;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-hero__note {
	margin-top: 14px;
	color: var(--gold-l);
	font-size: clamp(15px, 1.6vw, 18px);
	letter-spacing: 0.05em;
	line-height: 1.9;
}

.page-hero__lead {
	margin-top: 20px;
	color: rgba(255, 255, 255, 0.82);
	line-height: 2;
	max-width: 34em;
}

.page-hero__media img,
.page-hero__media picture {
	width: 100%;
	display: block;
}

.page-hero__media img {
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
	font-size: 13.5px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.62);
}

.crumbs a:hover {
	color: var(--gold-l);
}

.crumbs i {
	font-style: normal;
	color: rgba(255, 255, 255, 0.35);
}

.crumbs [aria-current="page"] {
	color: var(--gold-l);
}

.detail-lead {
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 2.1;
	color: var(--text);
	max-width: 54em;
}

.detail-list {
	display: grid;
	gap: 12px;
	max-width: 62em;
}

.detail-list p {
	position: relative;
	padding-left: 22px;
	color: var(--text);
	line-height: 2;
	font-size: 16px;
}

.detail-list p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-l), var(--amber));
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
	gap: 20px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.section--paper .card {
	border-color: rgba(7, 27, 33, 0.08);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-sm);
}

.card h3 {
	font-size: 19px;
	color: var(--ink);
	margin-bottom: 10px;
}

.card p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.95;
}

.card ul {
	margin-top: 12px;
	display: grid;
	gap: 8px;
}

.card li {
	position: relative;
	padding-left: 18px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.85;
}

.card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--amber);
}

.tick-list {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}

.tick-list li {
	position: relative;
	padding-left: 26px;
	color: var(--muted);
	line-height: 1.9;
}

.tick-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--teal);
	font-weight: 700;
}

/* 規格表 */
.spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 54px;
	margin: 0;
	border-top: 1px solid var(--line);
}

.spec-row {
	display: grid;
	grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
	gap: 12px;
	padding: 15px 2px;
	border-bottom: 1px solid var(--line);
}

.spec-row dt {
	color: var(--muted);
	font-size: 15px;
	margin: 0;
}

.spec-row dd {
	margin: 0;
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.85;
}

/* 相簿 */
.gallery + .gallery {
	margin-top: 40px;
}

.gallery__label {
	display: inline-block;
	margin-bottom: 16px;
	padding: 7px 18px;
	border-radius: 999px;
	background: var(--ink-2);
	color: var(--gold-l);
	font-size: 14px;
	letter-spacing: 0.14em;
	font-weight: 700;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px;
}

.gallery__item {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink);
	cursor: zoom-in;
}

.gallery__item picture,
.gallery__item img {
	display: block;
	width: 100%;
}

.gallery__item img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.55s var(--ease), opacity 0.3s var(--ease);
}

.gallery__item:hover img {
	transform: scale(1.06);
	opacity: 0.92;
}

/* 放大檢視 */
.lb {
	/* 原生 <dialog> + showModal()：自帶焦點鎖定，且位於 top layer */
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 74px 20px 40px;
	border: 0;
	background: transparent;
	display: none;
	align-items: flex-start;
	justify-content: center;
	overflow: auto;
}

.lb[open] {
	display: flex;
}

.lb::backdrop {
	background: rgba(4, 15, 19, 0.93);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.lb__scroll {
	/* 由對話框本體負責捲動，圖片才能在任何螢幕寬度捲到指定區段 */
	max-width: min(1100px, 100%);
	border-radius: 14px;
	background: #08202a;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.lb__scroll img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.lb__close {
	position: fixed;
	top: 18px;
	right: 20px;
	z-index: 2;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s var(--ease);
}

.lb__close:hover {
	background: rgba(255, 255, 255, 0.28);
}

/* 其他產品用的精簡卡片 */
.prod-grid--slim {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.prod--slim .prod__media {
	aspect-ratio: 16 / 10;
}

.prod--slim .prod__body {
	padding: 16px 18px 18px;
}

.prod--slim .prod__body h3 {
	font-size: 17px;
}

.prod--slim .prod__media::after {
	background: linear-gradient(180deg, rgba(7, 27, 33, 0) 55%, rgba(7, 27, 33, 0.86) 100%);
}

/* 導覽列目前頁面 */
.sj-nav a[aria-current="page"] {
	color: #fff;
}

.sj-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

/* 內頁響應式 */
@media (max-width: 1024px) {
	.spec-table {
		grid-template-columns: 1fr;
	}

	.page-hero__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.page-hero__media {
		order: -1;
	}
}

@media (max-width: 860px) {
	.page-hero {
		padding-top: calc(var(--header-h) + 26px);
		padding-bottom: 52px;
	}

	.page-hero__grid {
		gap: 26px;
	}

	.spec-row {
		grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	}

	.gallery__grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 10px;
	}

	.lb {
		padding: 66px 12px 24px;
	}
}

@media (max-width: 560px) {
	.spec-row {
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 13px 2px;
	}

	.spec-row dt {
		font-size: 14px;
	}

	.gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 車體樣式卡片（products_b 用） */
.style-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
	gap: 20px;
}

.style-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.style-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-sm);
}

.style-card__media {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	cursor: zoom-in;
}

.style-card__media picture,
.style-card__media img {
	display: block;
	width: 100%;
}

.style-card__media img {
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 12px;
}

.style-card__text {
	padding: 20px 22px 24px;
}

.style-card__text h3 {
	font-size: 18px;
	color: var(--ink);
	margin-bottom: 8px;
}

.style-card__text p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.9;
}

/* 頁尾標語（沿用舊站文案） */
.site-footer__slogan {
	margin-bottom: 34px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--line-dark);
	font-size: clamp(20px, 2.6vw, 30px);
	font-weight: 900;
	letter-spacing: 0.18em;
	color: #fff;
}

/* ==========================================================================
   關於我們 / 聯絡我們
   ========================================================================== */
.hero-strip {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}

.photo-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.photo-duo figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
}

.photo-duo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.award-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}

.award-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 22px;
}

.award-card__media {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.award-card__media img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.award-card h3 {
	padding: 18px 22px 0;
	font-size: 18px;
	color: var(--ink);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 26px;
	align-items: start;
}

.contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 28px;
}

.contact-card h3 {
	font-size: 20px;
	color: var(--ink);
	margin-bottom: 18px;
}

.contact-list {
	display: grid;
	gap: 15px;
}

.contact-list li {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 10px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.8;
}

.contact-list span {
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.06em;
}

.contact-list a:hover {
	color: var(--teal);
}

.contact-map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	min-height: 360px;
}

.contact-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
}

.mail-form {
	max-width: 920px;
}

.field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.field {
	display: block;
	margin-bottom: 18px;
}

.field > span {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

.field em {
	font-style: normal;
	color: #c0392b;
	margin-left: 3px;
}

.field input,
.field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(20, 112, 124, 0.15);
	outline: none;
}

.field textarea {
	resize: vertical;
	min-height: 170px;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px;
}

@media (max-width: 860px) {
	.contact-grid,
	.photo-duo,
	.field-grid {
		grid-template-columns: 1fr;
	}

	.award-card__media img {
		height: 240px;
	}
}
