/* ===== HINO 獎學金頁面 v4 — 嚴格對齊 Layout_0416 PDF 版型 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700;900&family=Work+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(3px + env(safe-area-inset-top, 0px) + 8rem);
  width: 100%;
  overscroll-behavior-y: auto;
}

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

body {
  font-family: 'Work Sans', 'Noto Sans TC', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.75;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease, opacity 0.3s ease; }
ul, ol { list-style: none; }

/* Splash Intro */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-white);
  color: var(--color-black);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
.splash-overlay.is-exiting {
  opacity: 0;
  visibility: hidden;
}
.splash-overlay.is-hidden {
  display: none !important;
}
.splash-bg-glow {
  position: absolute;
  inset: auto;
  width: min(72vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,33,56,0.14), rgba(231,33,56,0) 68%);
  pointer-events: none;
}
.splash-sunburst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 42vw, 520px);
  aspect-ratio: 1;
  color: rgba(231,33,56,0.12);
  transform: translate(-50%, -50%) scale(0.75) rotate(-8deg);
  opacity: 0;
  pointer-events: none;
}
.splash-sunburst svg {
  width: 100%;
  height: 100%;
}
.splash-overlay.is-animating .splash-sunburst {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  transition: opacity 0.7s ease, transform 1.4s var(--ease-out-expo);
}
.splash-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  font-size: clamp(2.3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}
.splash-line {
  display: flex;
  justify-content: center;
}
.splash-char {
  display: inline-block;
  min-width: 0.62em;
  opacity: 0;
  transform: translateY(0.5em);
}
.splash-char[data-accent] {
  color: var(--color-primary);
}
.splash-overlay.is-animating .splash-char {
  opacity: 1;
  transform: none;
  transition: opacity 0.42s ease, transform 0.55s var(--ease-out-expo);
  transition-delay: calc(var(--ci) * 45ms);
}
.splash-divider {
  position: relative;
  z-index: 1;
  width: 0;
  height: 3px;
  margin: 1.3rem auto 0.9rem;
  background: var(--color-primary);
  border-radius: 999px;
}
.splash-overlay.is-animating .splash-divider {
  width: min(180px, 42vw);
  transition: width 0.65s var(--ease-out-expo) 0.65s;
}
.splash-sub {
  position: relative;
  z-index: 1;
  color: var(--color-gray-600);
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.splash-skip {
  position: absolute;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  padding: 0.7rem 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  z-index: 200; padding: 0.75rem 1.25rem; background: var(--color-primary); color: #fff;
  font-weight: 600; font-size: 0.95rem; border-radius: var(--radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: calc(0.5rem + env(safe-area-inset-top, 0px)); outline: none; }

#scholarship, #campus, #faq {
  scroll-margin-top: calc(3px + env(safe-area-inset-top, 0px) + 6.5rem);
}

/* --- CSS Variables (Design System V1.0) --- */
:root {
  /* --- 1.1 Color System --- */
  --color-primary:      #e72138;
  --color-primary-dark: #c81d30;
  --color-accent:       #f5a623;
  --color-black:        #111111;
  --color-gray-900:     #1f2937;
  --color-gray-600:     #6b7280;
  --color-gray-300:     #d1d5db;
  --color-gray-100:     #f3f4f6;
  --color-white:        #ffffff;
  --color-bg:           #ffffff;
  --color-bg-alt:       #f9fafb;

  /* --- 1.2 Typography Tokens --- */
  --fs-display: clamp(32px, 5vw, 48px);
  --fs-h1:      clamp(28px, 4vw, 40px);
  --fs-h2:      clamp(24px, 3vw, 32px);
  --fs-h3:      clamp(20px, 2.5vw, 24px);
  --fs-body:    clamp(16px, 1.8vw, 18px);
  --fs-small:   14px;
  --lh-tight:   1.2;
  --lh-normal:  1.7;
  --text-align: center;

  /* --- 1.3 Spacing Tokens (8pt System) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section-gap: clamp(48px, 8vw, 96px);
  --container-padding: clamp(16px, 4vw, 32px);

  /* --- 1.4 Radius / Shadow --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.1);

  /* Legacy Compat Helpers */
  --max-width: 780px;
  --sticky-ui-top: calc(3px + env(safe-area-inset-top, 0px));
  --accent-sky: #2fa8df;
  --border: #e5e7eb;
  --radius-xs: var(--radius-sm);
  --text-muted: var(--color-gray-600);
  --section-pad-y: var(--section-gap);
  --fs-sm: var(--fs-small);
}

/* ===== 全域 Typography Reset ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 800;
  line-height: var(--lh-tight);
  text-align: var(--text-align);
  color: var(--color-black);
}
p, li, td, th {
  margin: 0;
  line-height: var(--lh-normal);
  text-align: var(--text-align);
  font-size: var(--fs-body);
  color: var(--color-gray-900);
}

/* --- Semantic Role Classes --- */
.text-display    { font-size: var(--fs-display) !important; font-weight: 900; }
.text-h1         { font-size: var(--fs-h1) !important; font-weight: 800; }
.text-h2         { font-size: var(--fs-h2) !important; font-weight: 700; }
.text-h3         { font-size: var(--fs-h3) !important; font-weight: 600; }
.text-body       { font-size: var(--fs-body) !important; }
.text-small      { font-size: var(--fs-small) !important; }

/* ===== Semantic → Token 綁定 ===== */
h1, .text-display { font-size: var(--fs-display); }
h2, .section-title { font-size: var(--fs-h1); }
h3 { font-size: var(--fs-h2); }
h4 { font-size: var(--fs-h3); }

/* 
  [Design System Rules]
  - 一致性 > 創意。
  - 禁止使用非 Token 數值。
  - 所有尺寸、顏色、字級來自 Token。
*/

.info-table th,
.info-table td {
  font-size: var(--fs-body) !important;
  line-height: var(--lh-normal) !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* --- Grid System --- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* --- Button Base --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-size: var(--fs-body); cursor: pointer; transition: all var(--transition);
  text-decoration: none; border: none;
}

/* --- Card Base --- */
.card {
  padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--color-white); box-shadow: var(--shadow-sm);
}

/* --- Reading Progress Bar --- */
.scroll-progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0;
  height: 3px; z-index: 150; pointer-events: none; background: rgba(255,255,255,0.12);
}
.scroll-progress__fill {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%;
  transform: scaleX(var(--read-pct, 0));
  background: linear-gradient(90deg, #b8182c 0%, var(--color-primary) 38%, var(--accent-sky) 100%);
  box-shadow: 0 0 12px rgba(231,33,56,0.22); will-change: transform;
}

/* ===================================================================
   SITE HEADER（PDF：白底，HINO Logo 左 + 紅色「立即申請」右）
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}
/* 左上 Logo 置左、右上 CTA 置右（不受 container 寬度限制） */
.site-header__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.site-header__logo img {
  height: 64px;
  width: auto;
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(231,33,56,0.25);
  touch-action: manipulation;
}
.site-header__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(231,33,56,0.35);
}

/* ===================================================================
   S1: HERO
   =================================================================== */
.hero-fullscreen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: #f7f7f7;
}
/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .hero-fullscreen { height: 0; padding-top: 56.25%; }
}

.hero-fullscreen__bg {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
}
.hero-fullscreen__bg img {
  width: 100%; height: 100%; object-fit: contain;
  object-position: center;
  display: block;
  background: #f7f7f7;
}

.hero-fullscreen__overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.10) 35%, rgba(26,16,21,0.45) 100%);
}

.hero-fullscreen__particles {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
}
.hero-fullscreen__particles span {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}
.hero-fullscreen__particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-fullscreen__particles span:nth-child(2) { top: 60%; left: 80%; animation-delay: 1.5s; animation-duration: 9s; width: 4px; height: 4px; }
.hero-fullscreen__particles span:nth-child(3) { top: 40%; left: 55%; animation-delay: 3s; animation-duration: 6s; width: 8px; height: 8px; }
.hero-fullscreen__particles span:nth-child(4) { top: 75%; left: 25%; animation-delay: 4.5s; animation-duration: 10s; width: 5px; height: 5px; }
.hero-fullscreen__particles span:nth-child(5) { top: 15%; left: 70%; animation-delay: 2s; animation-duration: 8s; }

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  50% { transform: translate(30px, -40px) scale(1.5); opacity: 0.3; }
  80% { opacity: 0.5; }
}

.hero-fullscreen__content {
  position: relative; z-index: 10;
  text-align: center; color: #fff;
  padding: 2rem 1.5rem 3rem;
  max-width: 800px;
  width: 100%;
}

.hero-fullscreen__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(231,33,56,0.85);
  padding: 0.4rem 1rem; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: #fff;
}
.hero-badge-logo {
  height: 22px;
  width: auto;
  display: inline-block;
}

.hero-fullscreen__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.hero-fullscreen__title-glow {
  display: inline-block;
  background: linear-gradient(90deg, #fff 0%, #ffe0b2 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s ease-in-out infinite;
}

/* Hero 分隔線寬度調整為與其他區塊一致 */
.hero-fullscreen__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #fff 0%, #ffe0b2 100%);
  margin: 1.5rem auto 0;
  border-radius: 3px;
  opacity: 0.8;
}

@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-fullscreen__subtitle {
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  line-height: 1.6;
  white-space: nowrap;
}

/* Hero 進場動畫 */
.js-hero-stagger {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.js-hero-stagger.is-visible { opacity: 1; transform: none; }

/* 向下箭頭 */
.hero-fullscreen__scroll-hint {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center;
  gap: 0.25rem; color: rgba(255,255,255,0.5);
}
.scroll-hint__text {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-fullscreen__scroll-hint svg {
  animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===================================================================
   STICKY 導覽列（PDF：紅底白字）
   =================================================================== */
.anchor-rail-anchor { position: relative; z-index: 120; width: 100%; }

.anchor-rail {
  position: sticky;
  top: 84px; /* header 高度下方 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  background: var(--color-primary);
  transition: box-shadow 0.35s var(--ease-out-expo);
  flex-wrap: nowrap;
}
.anchor-rail.is-pinned {
  box-shadow: 0 4px 16px rgba(231,33,56,0.3);
}
.anchor-rail__link {
  display: flex; align-items: center; justify-content: center; text-align: center;
  white-space: nowrap;
  font-size: clamp(0.95rem, 3.3vw, 1.15rem); font-weight: 700;
  letter-spacing: 0.12em; color: #fff;
  padding: 0.85rem clamp(0.75rem, 3vw, 2.25rem); min-height: 48px; position: relative;
  transition: background-color var(--transition), opacity var(--transition);
}
.anchor-rail__link:hover { background: rgba(255,255,255,0.12); }
.anchor-rail__link:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 4px; }
.anchor-rail__link.is-active { background: rgba(0,0,0,0.18); }

.anchor-rail__divider {
  color: transparent;
  font-size: 0;
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.5);
  padding: 0;
  user-select: none;
  flex: 0 0 auto;
}

/* ===================================================================
   通用區塊
   =================================================================== */
main#main-content { width: 100%; max-width: 100%; overflow-x: clip; }
.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-title {
  font-size: var(--fs-h1); font-weight: 800;
  color: var(--color-black); letter-spacing: 0.05em; line-height: var(--lh-tight);
  text-wrap: balance;
  margin-bottom: var(--space-3);
}
.section-title--red { color: var(--color-primary); }
.section-title--light { color: #fff; }
.section-divider {
  width: 48px; height: 3px;
  background: var(--color-primary);
  margin: 1rem auto 0; border-radius: 3px;
  transform: scaleX(0.15); opacity: 0.4;
  transition: transform 0.9s var(--ease-out-expo), opacity 0.65s ease;
}
.section-head.is-in-view .section-divider { transform: scaleX(1); opacity: 1; }

/* Scroll Reveal */
.js-reveal {
  opacity: 0.02; transform: translateY(1.5rem); filter: blur(3px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo),
    filter 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal.is-in-view { opacity: 1; transform: none; filter: none; }

.js-reveal[data-reveal="from-left"]  { transform: translateX(-2.5rem); }
.js-reveal[data-reveal="from-right"] { transform: translateX(2.5rem);  }
.js-reveal[data-reveal="scale"]      { transform: scale(0.9) translateY(0.5rem); }
.js-reveal.is-in-view[data-reveal="scale"] { transform: none; }

@media (max-width: 768px) {
  .js-reveal[data-reveal="from-left"],
  .js-reveal[data-reveal="from-right"] { transform: translateY(1.5rem); }
}

.js-stagger > * {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
  transition-delay: var(--stagger-delay, 0ms);
}
.js-stagger.is-in-view > * { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .js-reveal { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none !important; }
  .js-reveal, .js-hero-stagger { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .js-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .section-head .section-divider { transform: scaleX(1) !important; opacity: 1 !important; }
  .hero-fullscreen__title-glow { animation: none !important; -webkit-text-fill-color: #fff; }
  .hero-fullscreen__particles { display: none !important; }
  .hero-fullscreen__scroll-hint svg { animation: none !important; }
}

/* ===================================================================
   S2: 提早佈局（PDF：白底，中間紅色短分隔線，標題置中）
   =================================================================== */
.section-intro {
  background: var(--color-white);
  text-align: center;
}
.intro-block {
  max-width: 640px;
  margin: 0 auto;
}
.intro-block__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-wrap: balance;
}
.intro-block__title--red {
  color: var(--color-primary);
}
.intro-block__gradient-line {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 50%, var(--accent-sky) 100%);
  margin: 0 auto 1.75rem;
  border-radius: 2px;
}
.intro-block__desc {
  margin-bottom: var(--space-5);
}

/* ===================================================================
   S3: 福利清單（PDF：白底，⭐圖標 + 列表式）
   =================================================================== */
.section-benefits {
  background: var(--color-primary);
  color: #fff;
  padding-top: var(--section-pad-y);
}
.section-benefits .section-title { color: #fff; }

.benefits-icon-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.benefits-star {
  font-size: 1.6rem;
  line-height: 1;
  color: #ffd766;
}
.benefits-sub {
  color: #fff; /* 紅底區使用白字 */
  margin: 0.35rem auto var(--space-5);
}

.benefit-list-v2 {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.benefit-item-v2 {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: var(--space-5);
  background: #fff;
  color: var(--color-black);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.benefit-item-v2__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 900;
  background: #fff1f3;
  color: var(--color-primary);
}
.benefit-item-v2__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
}

.benefit-item-v2__body {
  flex: 1;
  min-width: 0;
}
.benefit-item-v2__body h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-align: left;
}
.benefit-item-v2__body ul {
  list-style: none;
  padding: 0;
}
.benefit-item-v2__body li {
}

/* 客戶意見 01：紅底區內的「立即申請獎學金」為黃色按鈕 */
.section-benefits .btn-primary--gold {
  background: #f5c842;
  color: #2a2a2a;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.section-benefits .btn-primary--gold:hover {
  background: #e8b933;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* CTA */
.section-cta {
  margin-top: var(--space-6);
  text-align: center;
}

/* ===================================================================
   S4: HINO商用車與你雙向的承諾（PDF：白底，紅色標題，紅色表頭）
   =================================================================== */
.section-commitment {
  background: #edf0f4;
  border-top: 1px solid var(--border);
}
.section-commitment .section-title--red {
  color: var(--color-black);
}
.commitment-desc {
  color: var(--color-black);
  margin-bottom: var(--space-5);
}
.commitment-notes {
  background: #fff;
  border-radius: var(--radius-xs);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #2a3a5c;
  margin-bottom: var(--space-6);
}
.commitment-notes p {
  margin-bottom: 0.5rem;
}
.commitment-notes p:last-child { margin-bottom: 0; }
.commitment-notes strong { color: #2a3a5c; }
.commitment-notes a {
  word-break: break-all;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.commitment-notes a:hover { color: var(--color-primary-dark); }

/* 客戶意見 02：標題 banner + 表格為同一卡片（單一陰影、同寬、圓角包住） */
.commitment-card {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  margin-bottom: var(--space-5);
}
.commitment-card__head {
  text-align: center;
}

.table-subtitle {
  font-size: var(--fs-h3);
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin: 0;
  padding: 0 0.75rem 0.75rem;
  background: #2a3a5c;
  font-weight: 500;
}

.td-highlight {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

.table-section-title {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0.9rem 0.75rem 0.3rem;
  background: #2a3a5c;
  border-radius: 0;
  letter-spacing: 0.05em;
}

/* 客戶意見 02：第二張表格（大專院校）標題紅色底 */
.table-section-title--red { background: var(--color-primary); }
.table-subtitle--red { background: var(--color-primary); }

.table-scroll {
  display: block; width: 100%; overflow-x: auto;
  margin: 0;
  overscroll-behavior-x: contain;
  touch-action: auto;
}
.table-hint--visible {
  display: block !important;
  font-size: 0.8rem; color: var(--text-muted);
  text-align: center; margin-bottom: 0.75rem;
}

/* 表格：淡粉底表頭 + 最後一列淡粉底（色號 #fdf5f5 對齊 .campus-info-item-v2） */
.info-table {
  width: 100%; border-collapse: collapse; margin-top: var(--space-4);
  background: #fff; border-radius: 8px; overflow: hidden;
}
.info-table--commitment th,
.info-table--commitment td {
  padding: var(--space-3) var(--space-4); text-align: center; vertical-align: middle;
}
.info-table--commitment thead th {
  background: #fdf5f5; color: var(--color-gray-600);
  padding: 0.85rem 0.5rem;
  border-bottom: none;
}
.info-table--commitment tbody tr {
  background: #fff;
  transition: background 0.3s ease;
}
.info-table--commitment tbody tr:hover td { background: inherit; }
.info-table--commitment tbody td {
  border-bottom: 1px solid #f3ecec;
  color: var(--color-black);
}
/* 最後一列淡粉底，對應客戶意見 */
.info-table--commitment tbody tr:last-child td {
  background: #fdf5f5;
  border-bottom: none;
}
.info-table--commitment tbody tr:last-child:hover td { background: #fdf5f5; }
.table-scroll { min-width: 100%; overflow: visible; }

.js-table-row {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  transition-delay: var(--row-delay, 0ms);
}
.js-table-row.is-in-view { opacity: 1; transform: none; }

.commitment-timeline-note {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  text-align: center;
  margin-bottom: 1rem;
}

.table-note {
  font-size: var(--fs-sm); color: var(--text-muted);
  text-align: center; line-height: 1.6;
}

/* ===================================================================
   S5: 校園贊助（PDF：白底）
   =================================================================== */
.section-campus {
  background: var(--color-white);
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}

.campus-intro-desc {
  color: var(--color-black);
  margin-bottom: var(--space-5);
  text-align: left;
}

/* =========================================================
   Final Typography Lock
   說明文字統一規格：字型、大小、樣式、行距完全一致
   ========================================================= */
:root {
  --desc-font-family: 'Noto Sans TC', 'Work Sans', sans-serif;
  --desc-font-size: 22px;
  --desc-line-height: 1.7;
  --desc-font-weight: 400;
  --desc-letter-spacing: 0.04em;
  --desc-max-width: 760px;
}

.intro-block__desc,
.section-benefits .benefits-sub,
.commitment-desc,
.campus-intro-desc,
.faq-answer-inner,
.final-cta__contact,
.commitment-notes p {
  font-family: var(--desc-font-family) !important;
  font-size: var(--desc-font-size) !important;
  line-height: var(--desc-line-height) !important;
  font-weight: var(--desc-font-weight) !important;
  letter-spacing: var(--desc-letter-spacing) !important;
  text-align: center !important;
  max-width: var(--desc-max-width) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-transform: none !important;
}

.section-benefits .benefits-sub,
.final-cta__contact {
  color: #fff !important;
}

.intro-block__desc,
.commitment-desc,
.campus-intro-desc,
.faq-answer-inner,
.commitment-notes p {
  color: var(--color-black) !important;
}

.faq-answer-inner strong {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .intro-block__desc,
  .section-benefits .benefits-sub,
  .commitment-desc,
  .campus-intro-desc,
  .faq-answer-inner,
  .final-cta__contact,
  .commitment-notes p {
    font-size: var(--desc-font-size) !important;
    line-height: var(--desc-line-height) !important;
    max-width: 100% !important;
  }
}

/* Email：單行不斷字、clamp 縮放（避免手機破版） */
.final-cta__email {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0.65rem auto;
  text-align: center;
  overflow: hidden;
}
.final-cta__email a {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: clamp(9px, 2.85vw, 18px);
  letter-spacing: -0.08em;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 承諾區塊內的 Email 繼承說明文字規格，必要時換行避免手機溢出 */
.commitment-notes a[href^="mailto:"],
.commitment-notes a.email-link {
  display: inline !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  font-family: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

@media (max-width: 768px) {
  .faq-answer-inner {
    padding: var(--space-4) var(--space-5) !important;
  }
}

/* ===================================================================
   S6: FAQ
   =================================================================== */
.section-faq {
  background: #eceef1;
  border-top: 1px solid var(--border);
  color: var(--color-black);
}
.section-faq .section-title {
  color: #1a1a1a;
}
.section-faq .section-divider {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  opacity: 1;
  margin: 0.85rem auto 0;
  border-radius: 2px;
}

.faq-tabs { display: none; }
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: none;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); }

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.85rem 1.25rem;
  min-height: 0;
  cursor: default;
  background: #3a4656;
  border-bottom: none;
  margin-bottom: 0;
  user-select: text;
  touch-action: auto;
  pointer-events: none;
}
.faq-question:focus-visible { outline: none; }
.faq-question:hover { background: #3a4656; }
.faq-question h4 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #fff;
  flex: 1;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-align: left !important;
}
.faq-question h4::before { content: ""; }
.faq-icon { display: none; }

.faq-answer {
  max-height: none !important;
  overflow: visible !important;
  transition: none !important;
  background: #fff;
  text-align: left !important;
}
.faq-answer-inner {
  padding: 0.95rem 1.25rem 1.05rem;
  color: #333;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}
.faq-answer-inner strong {
  color: #1a1a1a;
  font-weight: 800;
  margin-right: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* ===================================================================
   S7: 最終 CTA
   =================================================================== */
.section-final-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}
.final-cta__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  text-wrap: balance;
}
.final-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}
.btn-final-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 3rem;
  min-height: 52px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color var(--transition), transform var(--transition);
  touch-action: manipulation;
}
.btn-final-primary:hover { background: #f5f5f5; transform: translateY(-2px); }
.btn-final-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition);
  touch-action: manipulation;
}
.btn-final-secondary:hover { background: rgba(255,255,255,0.25); border-color: #fff; }
.btn-final-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.btn-final-link:hover { color: var(--color-primary); }
.final-cta__contact {
  color: rgba(255,255,255,0.8);
  margin-top: 1.5rem;
}

/* ===================================================================
   CTA 通用按鈕
   =================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  min-height: 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  touch-action: manipulation;
}
.btn-primary__icon {
  width: 1.5em;
  height: 1.5em;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(231,33,56,0.3);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent-sky);
  outline-offset: 3px;
}
.btn-primary--gold {
  background: #f0c14b;
  color: #333;
  box-shadow: none;
  font-weight: 800;
}
.btn-primary--gold:hover { background: #e0b43a; }
.btn-primary--dark {
  background: #3a3a3a;
  color: #fff;
  box-shadow: none;
}
.btn-primary--dark:hover { background: #555; }
.btn-primary--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}
.btn-primary--outline:hover { background: var(--color-primary); color: #fff; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--color-white);
  border-top: 5px solid var(--color-primary);
}
.footer .footer-quick {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}
.footer .footer-quick > a.quick-link {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: var(--color-black);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
  touch-action: manipulation;
}
.quick-link__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 2.25rem 1rem;
  box-sizing: border-box;
  height: 100%;
  transition: background-color 0.25s ease;
}
.quick-link--store .quick-link__inner {
  background: var(--color-white);
  border-right: 1px solid var(--border);
}
.quick-link--contact .quick-link__inner { background: #f9fafb; }
.quick-link:hover .quick-link__inner { background: #ebe8e3; }
.quick-link--store:hover .quick-link__inner { background: #f2f0ec; }
.quick-link__label {
  min-width: 0;
  text-align: center;
  line-height: 1.3;
}
.quick-link:focus-visible .quick-link__inner {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}
.quick-link__inner svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}
.footer-links {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: 100%;
  padding: 0 0.25rem;
}
.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  touch-action: manipulation;
}
.partner-logos a:hover { opacity: 1; }
.partner-logos img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-copyright {
  background: #2e2e2e;
  color: #fff;
  padding: 1.25rem 0 1.5rem;
  border-bottom: 5px solid var(--color-primary);
}
.footer-copyright p,
.footer-copyright span,
.footer-copyright a {
  color: #fff;
}
.footer-copyright-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copyright-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.copyright-logo {
  height: 24px;
  width: auto;
  opacity: 0.9;
}
.footer-copyright-left p {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.5;
}
.footer-copyright-right {
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-copyright-right a {
  color: #fff;
  text-decoration: none;
}
.footer-copyright-right a:hover { text-decoration: underline; }
.footer-copyright-right .divider { margin: 0 0.25rem; opacity: 0.5; }

/* ===================================================================
   SCROLL TO TOP & RESPONSIVE
   =================================================================== */
.scroll-top {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(231,33,56,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 50;
  touch-action: manipulation;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(231,33,56,0.28);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

@media (max-width: 768px) {
  .site-header__inner { height: 72px; }
  .site-header__logo img { height: 56px; }
  .site-header__cta {
    font-size: 0.85rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    min-height: 40px;
  }
  .anchor-rail {
    top: 72px;
    justify-content: center;
  }
  .anchor-rail__link {
    padding: 0.8rem 0.5rem;
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    letter-spacing: 0.08em;
    min-height: 46px;
  }
  .anchor-rail__divider { height: 16px; }
  .hero-fullscreen__title { font-size: clamp(1.5rem, 6vw, 2.5rem); }
  .hero-fullscreen__content { padding: 1.5rem 1rem 3rem; }
  .section { padding: var(--space-7) var(--container-padding); }
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .container { overflow-x: hidden; }
  .faq-list { max-width: 100%; }
  .footer .footer-quick > a.quick-link {
    font-size: clamp(0.78rem, 3.4vw, 1rem);
    letter-spacing: 0.06em;
  }
  .quick-link__inner {
    padding: 1.35rem 0.25rem;
    gap: 0.35rem;
    min-height: 52px;
  }
  .quick-link__inner svg {
    width: 28px;
    height: 28px;
  }
  .partner-logos { gap: 0.75rem 0.6rem; }
  .partner-logos img { height: 22px; }
  .footer-copyright-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-copyright-left {
    flex-direction: column;
    text-align: center;
  }
  .footer-copyright-right { font-size: 0.8rem; }
  .hero-fullscreen__particles { display: none; }
  .hero-fullscreen__title-glow {
    animation: none;
    background-position: 0% 50%;
  }
  .hero-fullscreen__scroll-hint svg {
    animation: none;
    opacity: 0.7;
  }
  .anchor-rail {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero-fullscreen__badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
  }
  .hero-fullscreen__title { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .benefit-item-v2 { padding: 1rem 0; }
  .campus-info-item-v2 {
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-question { padding: 0.85rem 1rem; }
  .faq-answer-inner { padding: 0.85rem 1rem 1rem; }
  .faq-tabs { gap: 0.35rem; }
  .faq-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer-copyright { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .scroll-top { bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ===================================================================
   SPLASH 開場動畫
   =================================================================== */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e72138 0%, #c41b2f 40%, #8a1523 100%);
  opacity: 1;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 0.8s ease-in-out;
}
.splash-overlay.is-exiting {
  opacity: 0;
  pointer-events: none;
}
.splash-overlay.is-hidden {
  display: none !important;
}
.splash-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.3) 100%);
}
.splash-sunburst {
  position: absolute;
  pointer-events: none;
  color: rgba(255,200,100,0.18);
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  transition: opacity 1.2s ease-out, transform 2.5s ease-out;
}
.splash-sunburst svg {
  width: 16rem;
  height: 16rem;
}
.splash-overlay.is-animating .splash-sunburst {
  opacity: 1;
  transform: scale(1) rotate(180deg);
}
.splash-text {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1.5rem;
}
.splash-line {
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-char {
  display: inline-block;
  font-family: 'Work Sans', 'Noto Sans TC', sans-serif;
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  line-height: 1.15;
  color: #fff;
  opacity: 0;
  transform: translateY(40px) perspective(400px) rotateX(-60deg);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(0.15s + var(--ci, 0) * 0.04s);
}
.splash-char[data-bold] { font-weight: 800; }
.splash-char[data-accent] { color: #ffd54f; }
.splash-space { width: 0.75rem; }
.splash-overlay.is-animating .splash-char {
  opacity: 1;
  transform: translateY(0) perspective(400px) rotateX(0deg);
}
.splash-divider {
  position: relative;
  z-index: 10;
  width: 7rem;
  height: 2px;
  background: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease-out;
  transition-delay: 1.2s;
}
.splash-overlay.is-animating .splash-divider { transform: scaleX(1); }
.splash-sub {
  position: relative;
  z-index: 10;
  font-family: 'Work Sans', 'Noto Sans TC', sans-serif;
  font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffd54f;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: 1.5s;
}
.splash-overlay.is-animating .splash-sub {
  opacity: 1;
  transform: translateY(0);
}
.splash-skip {
  position: absolute;
  bottom: 2.5rem;
  z-index: 20;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  min-height: 44px;
  transition: color 0.3s ease;
  opacity: 0;
  animation: splash-skip-fadein 0.5s ease-out 1.8s forwards;
  touch-action: manipulation;
}
.splash-skip:hover { color: rgba(255,255,255,0.85); }

@keyframes splash-skip-fadein {
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .splash-sunburst svg {
    width: 12rem;
    height: 12rem;
  }
  .splash-skip {
    bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-overlay { display: none !important; }
}

/* =========================================================
   Section Title Lock
   全區主標統一比照「HINO商用車／與你雙向的承諾」
   ========================================================= */
:root {
  --section-title-font-size: clamp(42px, 5.2vw, 64px);
  --section-title-line-height: 1.12;
  --section-title-letter-spacing: 0.04em;
}

.section-title,
.intro-block__title,
.final-cta__title {
  font-family: 'Noto Sans TC', 'Work Sans', sans-serif !important;
  font-size: var(--section-title-font-size) !important;
  line-height: var(--section-title-line-height) !important;
  font-weight: 900 !important;
  letter-spacing: var(--section-title-letter-spacing) !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1rem !important;
  text-wrap: balance;
}

.section-title--split,
.intro-block__title,
.final-cta__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
}

.intro-block__title,
.section-title,
.section-commitment .section-title,
.section-campus .section-title,
.section-faq .section-title {
  color: var(--color-black) !important;
}

.intro-block__title--red,
.section-title--accent-second span:nth-child(2) {
  color: var(--color-primary) !important;
}

.section-title--on-red,
.section-final-cta .final-cta__title {
  color: #fff !important;
}
.section-title--on-red span:nth-child(2),
.section-final-cta .final-cta__title span:nth-child(2) {
  color: #ffd54f !important;
}

.benefits-icon-title {
  display: block !important;
  margin-bottom: 0.5rem;
}
.benefits-star {
  display: none !important;
}

.section-divider,
.intro-block__gradient-line {
  width: 72px !important;
  height: 4px !important;
  margin: 1.35rem auto 0 !important;
  border-radius: 999px !important;
  opacity: 1 !important;
  background: var(--color-primary) !important;
}
.section-intro .intro-block__gradient-line {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 50%, var(--accent-sky) 100%) !important;
}
.section-benefits .section-divider,
.section-final-cta .section-divider {
  background: #fff !important;
}

@media (max-width: 768px) {
  :root {
    --section-title-font-size: clamp(34px, 9vw, 46px);
  }
}

/* =========================================================
   急救補丁：卡片格式靠左對齊 & 開場動畫強制重置
   ========================================================= */

/* 1. 福利三張卡：內容置左 */
.benefit-item-v2 { align-items: flex-start !important; text-align: left !important; }
.benefit-item-v2__body,
.benefit-item-v2__body h3,
.benefit-item-v2__body ul,
.benefit-item-v2__body li { text-align: left !important; }

/* 2. 詳細權利義務卡片：內文置左 */
.commitment-notes,
.commitment-notes p,
.commitment-notes strong,
.commitment-notes a { text-align: left !important; }

/* 3. 校園活動贊助兩張卡：內容置左 */
.campus-info-item-v2 { align-items: flex-start !important; text-align: left !important; }
.campus-info-item-v2,
.campus-info-item-v2 p,
.campus-info-item-v2 strong,
.campus-info-item-v2__tag { text-align: left !important; }

/* 4. FAQ 常見問題：問題與回答全部置左 */
.faq-question,
.faq-question h4,
.faq-answer,
.faq-answer-inner { text-align: left !important; }

/* =========================================================
   開場動畫 (Splash Animation) 滿血復活
   ========================================================= */
.splash-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e72138 0%, #c41b2f 40%, #8a1523 100%) !important;
  opacity: 1;
  pointer-events: auto;
  touch-action: none;
  transition: opacity 0.8s ease-in-out !important;
}
.splash-overlay.is-exiting { opacity: 0 !important; pointer-events: none !important; }
.splash-overlay.is-hidden { display: none !important; }

.splash-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.3) 100%);
}

.splash-sunburst {
  position: absolute;
  pointer-events: none;
  color: rgba(255,200,100,0.18);
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  transition: opacity 1.2s ease-out, transform 2.5s ease-out;
}
.splash-sunburst svg { width: 16rem !important; height: 16rem !important; }
.splash-overlay.is-animating .splash-sunburst { opacity: 1; transform: scale(1) rotate(180deg); }

.splash-text {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1.5rem;
}
.splash-line { display: flex; align-items: center; justify-content: center; }
.splash-char {
  display: inline-block;
  font-family: 'Work Sans', 'Noto Sans TC', sans-serif;
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  line-height: 1.15;
  color: #fff;
  opacity: 0;
  transform: translateY(40px) perspective(400px) rotateX(-60deg);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.splash-char[data-bold] { font-weight: 800; }
.splash-char[data-accent] { color: #ffd54f; }
.splash-space { width: 0.75rem; }

.splash-overlay.is-animating .splash-char {
  opacity: 1;
  transform: translateY(0) perspective(400px) rotateX(0deg);
}

.splash-divider {
  position: relative;
  z-index: 10;
  width: 7rem;
  height: 2px;
  background: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease-out;
}
.splash-overlay.is-animating .splash-divider { transform: scaleX(1); }

.splash-sub {
  position: relative;
  z-index: 10;
  font-family: 'Work Sans', 'Noto Sans TC', sans-serif;
  font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffd54f;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.splash-overlay.is-animating .splash-sub { opacity: 1; transform: translateY(0); }

.splash-skip {
  position: absolute;
  bottom: 2.5rem;
  z-index: 20;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  min-height: 44px;
  transition: color 0.3s ease;
  opacity: 0;
  animation: splash-skip-fadein 0.5s ease-out 1.8s forwards;
}
.splash-skip:hover { color: rgba(255,255,255,0.85); }
@keyframes splash-skip-fadein { to { opacity: 1; } }

@media (max-width: 768px) {
  .splash-sunburst svg { width: 12rem !important; height: 12rem !important; }
  .splash-skip { bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1rem); }
}

/* =========================================================
   最終排版強制覆蓋：卡片格式靠左對齊 (請確保這段在任何 @media 之外)
   ========================================================= */

/* 1. 福利三張卡：內容置左 */
.benefit-item-v2 { align-items: flex-start !important; text-align: left !important; }
.benefit-item-v2__body,
.benefit-item-v2__body h3,
.benefit-item-v2__body ul,
.benefit-item-v2__body li { text-align: left !important; }

/* 2. 詳細權利義務卡片：內文置左 */
.commitment-notes,
.commitment-notes p,
.commitment-notes strong,
.commitment-notes a { text-align: left !important; }

/* 3. 校園活動贊助兩張卡：內容置左 */
.campus-info-item-v2 { align-items: flex-start !important; text-align: left !important; }
.campus-info-item-v2,
.campus-info-item-v2 p,
.campus-info-item-v2 strong,
.campus-info-item-v2__tag { text-align: left !important; }

/* 4. FAQ 常見問題：問題與回答全部置左 */
.faq-question,
.faq-question h4,
.faq-answer,
.faq-answer-inner { text-align: left !important; }

/* =========================================================
   修復：開場動畫強制覆蓋 (太陽旋轉與退場文字殘影)
   ========================================================= */
.splash-sunburst {
  top: 50% !important;
  left: 50% !important;
  width: clamp(220px, 42vw, 520px) !important;
  aspect-ratio: 1 !important;
  opacity: 0 !important;
  /* 拿掉 transform 的 !important，否則動畫無法轉動 */
  transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
}

.splash-sunburst svg {
  width: 100% !important;
  height: 100% !important;
}

.splash-overlay.is-animating:not(.is-exiting) .splash-sunburst {
  opacity: 1 !important;
  animation: splash-sunburst-spin 2.8s cubic-bezier(0.22,1,0.36,1) both !important;
}

.splash-overlay:not(.is-animating) .splash-char,
.splash-overlay.is-exiting .splash-char {
  opacity: 0 !important;
  transform: translateY(40px) perspective(400px) rotateX(-60deg) !important;
  /* 修正殘影：退場時取消漸變效果，瞬間乾淨消失 */
  transition: none !important;
}

.splash-overlay.is-exiting .splash-sunburst,
.splash-overlay.is-exiting .splash-divider,
.splash-overlay.is-exiting .splash-sub,
.splash-overlay.is-exiting .splash-skip {
  opacity: 0 !important;
}

@keyframes splash-sunburst-spin {
  0% { transform: translate(-50%, -50%) scale(0.5) rotate(0deg); }
  45% { transform: translate(-50%, -50%) scale(1.05) rotate(135deg); }
  100% { transform: translate(-50%, -50%) scale(1) rotate(240deg); }
}

/* =========================================================
   修復：卡片排版強制覆蓋與遺失的樣式補回
   ========================================================= */
.benefit-item-v2 {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.benefit-item-v2__body {
  flex: 1 1 auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

.benefit-item-v2__body h3,
.benefit-item-v2__body ul,
.benefit-item-v2__body li {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.commitment-notes {
  text-align: left !important;
}

.commitment-notes p,
.commitment-notes strong,
.commitment-notes a {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* 補回校園贊助卡片遺失的背景、圓角與紅邊 */
.campus-info-list-v2 {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  max-width: 760px !important;
  margin: 2rem auto var(--space-6) !important;
}

.campus-info-item-v2 {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.25rem !important;
  padding: 1.5rem !important;
  background: #fdf5f5 !important;
  border-radius: 8px !important;
  border-left: 4px solid var(--color-primary) !important;
  text-align: left !important;
}

.campus-info-item-v2__tag {
  display: inline-block !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.75rem !important;
  border-radius: 999px !important;
  flex-shrink: 0 !important;
  margin-top: 0.15rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.campus-info-item-v2 p,
.campus-info-item-v2 strong {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.faq-question,
.faq-question h4,
.faq-answer,
.faq-answer-inner {
  text-align: left !important;
}

.faq-answer-inner {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  .campus-info-item-v2 {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
}

/* =========================================================
   細節微調：統一橫線下方間距 & 合約備註下方間距
   ========================================================= */

/* 1. 統一所有「橫線」與下方內容的間距（比照雙向的承諾標準） */
.section-divider,
.intro-block__gradient-line {
  margin-bottom: 2rem !important;
}

/* 2. 歸零父層的底部推擠，確保間距完全由橫線控制，避免部分區塊距離變兩倍 */
.section-head {
  margin-bottom: 0 !important;
}

/* 3. 拉開「*詳細權利義務...」與下方白色權益卡片的距離 */
.table-note {
  margin-bottom: 1.5rem !important;
  display: block !important;
}

/* =========================================================
   細節微調 2：表格與贊助內容字級統一、底部 Email 顏色
   ========================================================= */

/* 1. 表格內的文字 (th, td) 比照說明文字大小 */
.info-table th,
.info-table td {
  font-size: var(--desc-font-size) !important;
  line-height: var(--desc-line-height) !important;
}

/* 2. 贊助內容、贊助義務的標籤與內文，比照說明文字大小 */
.campus-info-item-v2 p,
.campus-info-item-v2 strong,
.campus-info-item-v2__tag {
  font-size: var(--desc-font-size) !important;
  line-height: var(--desc-line-height) !important;
}

/* 3. 最下方的 EMAIL 文字顏色改為白色 */
.final-cta__email a {
  color: #ffffff !important;
}

/* 4. 確保手機版時，表格與贊助文字也會同步跟著變數縮小 */
@media (max-width: 768px) {
  .info-table th,
  .info-table td,
  .campus-info-item-v2 p,
  .campus-info-item-v2 strong,
  .campus-info-item-v2__tag {
    font-size: var(--desc-font-size) !important;
  }
}

/* =========================================================
   細節微調 3：說明文字置左、橫幅下方留白、底部白線長度統一
   ========================================================= */

/* 1. 標題下方的說明文字，全面改為置左排列 */
.intro-block__desc,
.section-benefits .benefits-sub,
.commitment-desc,
.campus-intro-desc,
.final-cta__contact {
  text-align: left !important;
}

/* 2. HINO挺你！上方的圖片留出足夠的空間，避免標題太擠 */
.campus-banner {
  margin-bottom: 3.5rem !important; 
}

/* 3. 讓你的價值發光 下方分隔線，比照其他區塊的長度與粗細 */
.section-final-cta .section-divider {
  width: 72px !important;
  height: 4px !important;
  background: #ffffff !important;
  margin: 1.35rem auto 2rem !important; /* 確保置中且距離下方按鈕有足夠間距 */
  display: block !important;
  border-radius: 999px !important;
}

/* =========================================================
   最後救援：解除底線縮小封印 & 聯絡文字改回置中
   ========================================================= */

/* 1. 解除動畫縮小封印，強制恢復 100% 寬度與不透明度 */
.section-final-cta .section-divider {
  width: 72px !important;
  height: 4px !important;
  background: #ffffff !important;
  margin: 1.35rem auto 2rem !important;
  display: block !important;
  border-radius: 999px !important;
  transform: none !important; /* <--- 關鍵：解除 15% 縮小的動畫封印 */
  opacity: 1 !important;      /* <--- 關鍵：解除半透明封印 */
}

/* 2. 覆蓋前一個補丁的置左，將「如有任何疑問...」強制改回置中 */
.final-cta__contact {
  text-align: center !important;
}

/* =========================================================
   頁尾文字顏色強制覆蓋 (統一為白色)
   ========================================================= */
.footer-copyright,
.footer-copyright p,
.footer-copyright span,
.footer-copyright a,
.footer-copyright-left div {
  color: #ffffff !important;
}

/* =========================================================
   iPad 直式與平板尺寸：頁尾內容強制置中 (範圍至 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  /* 1. 頁尾版權宣告區塊：改為垂直排列並置中 */
  .footer-copyright-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  /* 2. 標誌與公司名稱：垂直排列並置中 */
  .footer-copyright-left {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    gap: 1rem !important;
  }

  /* 3. 右側連結區（契約下載等）：確保寬度 100% 且文字置中 */
  .footer-copyright-right {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  /* 4. 移除分隔線的間距補償（如果有），確保視覺正中 */
  .footer-copyright-right .divider {
    margin: 0 0.5rem !important;
  }
}

/* =========================================================
   手機版細節微調：頁尾最後一排連結強制單行不斷行
   ========================================================= */
@media (max-width: 768px) {
  /* 1. 強制單排不換行、動態縮小字級與間距 */
  .footer-copyright-right {
    flex-wrap: nowrap !important;
    gap: 0.15rem !important;
    font-size: clamp(10px, 2.9vw, 13px) !important;
    white-space: nowrap !important;
  }

  /* 2. 確保裡面的文字與連結絕對不會斷字折行 */
  .footer-copyright-right a,
  .footer-copyright-right span {
    white-space: nowrap !important;
  }

  /* 3. 縮減分隔線的佔位空間，並稍微縮小分隔線本身 */
  .footer-copyright-right .divider {
    margin: 0 !important;
    transform: scale(0.8) !important;
  }

  /* 4. 版權宣告文字：強制單行不斷行、動態縮小字級 */
  .footer-copyright-left p {
    white-space: normal !important;
    font-size: clamp(10px, 3.1vw, 0.8rem) !important;
  }

  .footer-mobile-br {
    display: block !important;
  }
}

.footer-mobile-br {
  display: none;
}
