/* ============ v1.03 字體系統（自託管子集化 woff2） ============ */
@font-face {
  font-family: "Noto Serif TC";
  src: url("../assets/fonts/NotoSerifTC-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("../assets/fonts/NotoSansTC-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("../assets/fonts/NotoSansTC-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/CormorantGaramond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --navy: #0C447C;
  --navy-dark: #072F58;
  --navy-light: #185FA5;
  --gold: #BA7517;
  --gold-light: #D99A3E;
  --bg: #FFFFFF;
  --bg-soft: #F5F4F0;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(12, 68, 124, 0.08);
  --shadow-lg: 0 10px 40px rgba(12, 68, 124, 0.14);
  /* 標題/展示字體：英文落 Cormorant，中文回退思源宋體，無需語言特判 */
  --font-display: "Cormorant Garamond", "Noto Serif TC", serif;
  --font-body: "Noto Sans TC", "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.lang-en { display: none; }
body.en .lang-en { display: revert; }
body.en .lang-tc { display: none; }
span.lang-en, body.en span.lang-en { display: none; }
body.en span.lang-en { display: inline; }
body.en span.lang-tc { display: none; }
span.lang-tc { display: inline; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name .cn { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.brand-name .en { font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.4px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--text);
  transition: all .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.main-nav a.active { color: var(--navy); font-weight: 700; }
.main-nav a.active::after {
  content: ""; display: block; height: 2px; margin-top: 2px;
  background: var(--gold); border-radius: 2px;
}

.lang-switch {
  margin-left: 12px;
  border: 1px solid var(--navy); border-radius: 20px;
  overflow: hidden; display: flex; cursor: pointer;
}
.lang-switch button {
  border: none; background: transparent; padding: 6px 14px;
  font-size: 13px; cursor: pointer; color: var(--navy);
  transition: all .2s; font-family: inherit;
}
.lang-switch button.on { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; border: none; background: none; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  margin: 5px auto; transition: all .3s; border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(217, 154, 62, 0.12);
}
.hero::after {
  content: ""; position: absolute; right: 80px; bottom: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero-inner { padding: 96px 0 104px; position: relative; z-index: 1; max-width: 720px; }

/* ---- Hero carousel ---- */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero.has-carousel .hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,36,66,0.92) 0%, rgba(12,68,124,0.82) 45%, rgba(12,68,124,0.45) 100%);
}
.hero.has-carousel::before, .hero.has-carousel::after { z-index: 1; pointer-events: none; }
.hero-slide-caption {
  position: absolute; right: 40px; bottom: 68px; z-index: 2;
  pointer-events: none;
}
.hero-slide-caption .cap {
  display: none; padding: 8px 18px; border-radius: 20px;
  background: rgba(6,36,66,0.55); border: 1px solid rgba(217,154,62,0.5);
  color: var(--gold-light); font-size: 13.5px; letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.hero-slide-caption .cap.is-active { display: inline-block; }
.hero-ctrl {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: all .3s;
}
.hero-dots button.on { background: var(--gold-light); width: 26px; border-radius: 6px; }
.hero-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 14px; line-height: 1;
  cursor: pointer; transition: all .25s; display: inline-flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(217,154,62,0.5); border-color: var(--gold-light); }
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(217,154,62,0.18); color: var(--gold-light);
  font-size: 13.5px; letter-spacing: 1px; margin-bottom: 22px;
  border: 1px solid rgba(217,154,62,0.35);
}
.hero h1 { font-family: var(--font-display); font-size: 46px; line-height: 1.25; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.sub { font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 30px; font-size: 15.5px;
  cursor: pointer; transition: all .25s; border: none; font-family: inherit;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(186,117,23,0.35); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(12,68,124,0.3); }

/* ============ Stats strip ============ */
.stats-strip { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 40px 0 44px; gap: 28px; text-align: center;
  align-items: start;
}
.stat-item { padding: 0 6px; }
.stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--navy); }
.stat-num em { font-style: normal; color: var(--gold); font-size: 26px; }
.stat-label { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 2px; }
.stat-desc { font-size: 13px; line-height: 1.7; color: var(--text-muted); margin-top: 8px; }

/* ============ Sections ============ */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-eyebrow {
  color: var(--gold); font-size: 14px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 10px;
}
.section-head h2 { font-family: var(--font-display); font-size: 34px; color: var(--navy-dark); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ============ Cards ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: all .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(12,68,124,0.25); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.card .icon svg { width: 28px; height: 28px; stroke: #fff; }
.card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--navy-dark); margin-bottom: 6px; }
.card .card-tag { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 1px; margin-bottom: 12px; }
.card .case-result { margin-top: 14px; padding: 10px 14px; background: rgba(186,117,23,0.08); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.card p { font-size: 14.5px; color: var(--text-muted); }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; color: var(--navy); font-size: 14.5px; font-weight: 600;
}
.card .card-link:hover { color: var(--gold); }

/* ============ Feature list (about) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: 0.02em; color: var(--navy-dark); margin-bottom: 18px; }
.split p { color: var(--text-muted); margin-bottom: 14px; font-size: 15.5px; }
.feature-list { margin-top: 8px; }
.feature-list li {
  display: flex; gap: 14px; padding: 13px 0;
  border-bottom: 1px dashed var(--border); font-size: 15px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .dot {
  flex: none; width: 22px; height: 22px; margin-top: 3px;
  border-radius: 50%; background: rgba(186,117,23,0.12);
  display: flex; align-items: center; justify-content: center;
}
.feature-list .dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.visual-panel {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.visual-panel .vp-inner { text-align: center; color: #fff; padding: 40px; position: relative; z-index: 1; }
.visual-panel .vp-inner .big { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--gold-light); }
.visual-panel .vp-inner .small { font-size: 15px; opacity: .85; margin-top: 6px; }
.visual-panel::before {
  content: ""; position: absolute; left: -60px; bottom: -60px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.06);
}

/* ============ Page hero (inner pages) ============ */
/* ============ Photo panels & banners ============ */
.photo-panel {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(12,68,124,0.18);
}
.photo-panel img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.photo-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(6,36,66,0.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(217,154,62,0.4);
  border-radius: 12px; padding: 16px 20px; color: #fff;
}
.photo-badge .big { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--gold-light); line-height: 1.2; }
.photo-badge .small { font-size: 13.5px; opacity: .9; margin-top: 4px; }
.photo-banner {
  margin: -36px 0 0; position: relative; z-index: 2;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(12,68,124,0.2);
}
.photo-banner img { display: block; width: 100%; max-height: 380px; object-fit: cover; }

.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%; background: rgba(217,154,62,0.14);
}
.page-hero h1 { font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: 0.02em; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.8); margin-top: 8px; font-size: 16px; position: relative; z-index: 1; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ============ Service detail blocks ============ */
.service-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding: 44px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 30px;
}
.service-block .sb-head .num {
  font-size: 46px; font-weight: 700; color: rgba(12,68,124,0.12); line-height: 1;
}
.service-block .sb-head h3 { font-size: 22px; color: var(--navy-dark); margin: 10px 0 6px; }
.service-block .sb-head .tag { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.service-block .sb-head p { color: var(--text-muted); font-size: 14.5px; margin-top: 14px; }
.sb-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-item {
  background: var(--bg-soft); border-radius: 10px; padding: 18px 20px;
}
.sb-item h4 { font-size: 15px; color: var(--navy); margin-bottom: 5px; }
.sb-item p { font-size: 13.5px; color: var(--text-muted); }

/* ============ Team ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: all .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.team-card:nth-child(2n) .team-avatar { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.team-card h3 { font-size: 17px; color: var(--navy-dark); }
.team-card .role { color: var(--gold); font-size: 13.5px; font-weight: 600; margin: 4px 0 10px; }
.team-card p { font-size: 13.5px; color: var(--text-muted); }

.job-list { display: grid; gap: 18px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 30px; transition: all .25s; flex-wrap: wrap;
}
.job-card:hover { border-color: var(--navy-light); box-shadow: var(--shadow); }
.job-card h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 600; color: var(--navy-dark); margin-bottom: 4px; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.job-meta span {
  font-size: 12.5px; padding: 4px 12px; border-radius: 14px;
  background: var(--bg-soft); color: var(--text-muted);
}
.job-card p { font-size: 14px; color: var(--text-muted); margin-top: 8px; max-width: 640px; }
.job-duties { list-style: none; margin: 12px 0 0; padding: 0; }
.job-duties li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.job-duties li:before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-info-card {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius); color: #fff; padding: 40px 36px;
  display: flex; flex-direction: column; gap: 4px;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 20px; }
.ci-row { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ci-row:last-of-type { border-bottom: none; }
.ci-row .ci-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
}
.ci-row .ci-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); }
.ci-row .ci-label { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.ci-row .ci-value { font-size: 14.5px; word-break: break-word; }
.placeholder-note {
  margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07); padding: 10px 14px; border-radius: 8px;
}

.contact-form {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px 36px; box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 21px; color: var(--navy-dark); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14.5px; font-family: inherit;
  transition: border-color .2s; background: #FBFBFA;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy-light); background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }

#map-container {
  width: 100%; height: 380px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); margin-top: 52px;
}

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  border-radius: 18px; color: #fff; text-align: center;
  padding: 60px 40px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: -70px; top: -70px;
  width: 240px; height: 240px; border-radius: 50%; background: rgba(217,154,62,0.15);
}
.cta-band h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 28px; position: relative; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); margin-top: 84px; }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px; padding: 60px 0 44px;
}
.footer-brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .addr { font-size: 13.5px; line-height: 1.8; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.social-row a:hover { background: var(--gold); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,0.5);
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4); transition: all .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform .3s;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .lang-switch { margin: 12px 14px 0; align-self: flex-start; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 30px; }
  .hero-inner { padding: 64px 0 72px; }
  .cards-3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .sb-items { grid-template-columns: 1fr; }
  .brand-name .en { display: none; }
  .page-hero h1 { font-size: 27px; }
  .hero-slide-caption { display: none; }
  .hero-inner { padding: 64px 0 88px; }
  .photo-banner { margin-top: -24px; }
  .photo-banner img { max-height: 240px; }
  .photo-panel img { min-height: 240px; }
  .photo-badge { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; }
  .photo-badge .big { font-size: 24px; }
}

/* ============================================================
   v1.01 設計升級 — 視覺層次 · 微互動 · AI 模型矩陣
   ============================================================ */
:root {
  --shadow-xs: 0 1px 3px rgba(12, 68, 124, .06);
  --shadow-md: 0 6px 24px rgba(12, 68, 124, .10);
  --shadow-xl: 0 22px 60px rgba(12, 68, 124, .18);
  --grad-navy: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  --grad-gold: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  --grad-ai: linear-gradient(120deg, #0C447C 0%, #185FA5 45%, #2E9BC4 100%);
  --ai-cyan: #1B7FA3;
  --ai-cyan-soft: rgba(46, 155, 196, .10);
  --ease-out: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Header: 滾動後加深陰影 ---------- */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(7, 47, 88, .12); }
.main-nav a { position: relative; }
.main-nav a.active::after {
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  margin-top: 0;
}
.lang-switch {
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s;
}
.lang-switch:hover { box-shadow: 0 2px 10px rgba(12, 68, 124, .18); }

/* ---------- Hero: 漸變標題 + 網格質感 ---------- */
.hero h1 em {
  background: linear-gradient(100deg, #F3CE8E 0%, var(--gold-light) 40%, #F8E3C4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero.has-carousel .hero-slides::after {
  background:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(100deg, rgba(6, 36, 66, .93) 0%, rgba(12, 68, 124, .84) 46%, rgba(12, 68, 124, .48) 100%);
}
.hero-eyebrow {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.hero p.sub { text-shadow: 0 1px 12px rgba(6, 36, 66, .35); }
.hero h1 { letter-spacing: -.5px; text-shadow: 0 2px 24px rgba(6, 36, 66, .3); }

/* ---------- 按鈕：光澤掃過 ---------- */
.btn { position: relative; overflow: hidden; letter-spacing: .3px; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); transition: left .55s var(--ease-out);
}
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(0); }

/* ---------- 卡片：頂部漸變描邊 + 光暈 ---------- */
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-navy); opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow-xl); }
.card .icon { box-shadow: 0 8px 20px rgba(12, 68, 124, .22); }
.card .icon svg { transition: transform .35s var(--ease-out); }
.card:hover .icon svg { transform: scale(1.12); }
.card .card-link svg, .card .card-link { transition: gap .25s; }

/* ---------- 數據條：數字漸變 + 分隔 ---------- */
.stats-inner { position: relative; }
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: -14px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.stat-num {
  background: var(--grad-navy);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px; letter-spacing: -.5px; line-height: 1.2;
}
.stat-num em { -webkit-text-fill-color: var(--gold); background: none; }

/* ---------- 視覺面板：網格 + 光暈 ---------- */
.visual-panel {
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 154, 62, .22), transparent 55%),
    linear-gradient(135deg, var(--navy-dark), var(--navy-light));
}
.visual-panel::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px;
  pointer-events: none;
}
.visual-panel .vp-inner .big { letter-spacing: -.5px; }

/* ---------- 內頁 hero：網格質感 ---------- */
.page-hero {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(120deg, var(--navy-dark), var(--navy));
}

/* ---------- CTA：光暈強化 ---------- */
.cta-band {
  background:
    radial-gradient(circle at 18% 120%, rgba(217, 154, 62, .28), transparent 55%),
    linear-gradient(120deg, var(--navy-dark), var(--navy));
  box-shadow: var(--shadow-xl);
}
.cta-band h2 { letter-spacing: 0.02em; }

/* ============================================================
   AI 前沿模型矩陣
   ============================================================ */
.model-section { position: relative; }
.model-section .container { position: relative; z-index: 1; }
.model-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.model-bg::before {
  content: ""; position: absolute; left: -160px; top: -80px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 155, 196, .16), transparent 65%);
}
.model-bg::after {
  content: ""; position: absolute; right: -140px; bottom: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 117, 23, .13), transparent 65%);
}

.model-group + .model-group { margin-top: 42px; }
.model-group-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap;
}
.model-group-head .gh-flag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 22px; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; color: #fff; background: var(--grad-ai);
  box-shadow: 0 4px 14px rgba(12, 68, 124, .22);
}
.model-group-head .gh-flag.cn { background: linear-gradient(120deg, #8A4B08 0%, var(--gold) 55%, var(--gold-light) 100%); }
.model-group-head .gh-note { font-size: 13px; color: var(--text-muted); }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 22px 20px; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.model-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-ai); opacity: .9;
}
.model-card.cn::before { background: var(--grad-gold); }
.model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(46, 155, 196, .38);
}
.model-card:hover.cn { border-color: rgba(186, 117, 23, .42); }
.mc-vendor {
  font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ai-cyan); font-weight: 700;
}
.model-card.cn .mc-vendor { color: var(--gold); }
.model-card h4 {
  font-size: 17px; color: var(--navy-dark); font-weight: 700;
  margin: 7px 0 5px; letter-spacing: -.2px;
}
.mc-spec { font-size: 12.5px; color: var(--text); font-weight: 600; margin-bottom: 9px; opacity: .78; }
.model-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.72; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.mc-tag {
  font-size: 11.5px; padding: 3px 10px; border-radius: 20px;
  background: var(--ai-cyan-soft); color: var(--ai-cyan); font-weight: 600;
}
.model-card.cn .mc-tag { background: rgba(186, 117, 23, .10); color: #8A4B08; }

/* ---------- 趨勢解讀 ---------- */
.trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.trend-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 22px 20px; transition: all .3s var(--ease-out);
}
.trend-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(12, 68, 124, .25); }
.trend-item .t-num {
  font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 8px;
}
.trend-item h4 { font-size: 15.5px; color: var(--navy-dark); margin-bottom: 7px; }
.trend-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ---------- 資料時效備註 ---------- */
.data-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 30px; padding: 14px 18px; border-radius: 10px;
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  font-size: 12.5px; color: var(--text-muted); line-height: 1.75;
}
.data-note strong { color: var(--text); }

/* ---------- 模型能力說明（服務頁） ---------- */
.cap-block {
  grid-column: 1 / -1;
  margin-top: 30px; padding: 28px 30px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(12, 68, 124, .04), rgba(46, 155, 196, .07));
  border: 1px solid rgba(46, 155, 196, .18);
}
.cap-block h4 {
  font-size: 16px; color: var(--navy-dark); margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.cap-block h4::before {
  content: ""; width: 5px; height: 17px; border-radius: 3px; background: var(--grad-ai);
}
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.cap-list li {
  position: relative; padding-left: 18px; font-size: 13.5px;
  color: var(--text-muted); line-height: 1.75;
}
.cap-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ai-cyan);
}

/* ============================================================
   滾動入場動畫
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s ease, transform .75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   v1.02 界面增強 — 動效系統 · 全局元件 · 案例篩選 · 流程/FAQ
   ============================================================ */

/* ---------- 關鍵幀（全站唯一一組） ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes gs-drift {
  from { transform: translate(-16px, 10px); }
  to { transform: translate(16px, -10px); }
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes lang-fade {
  0% { opacity: 1; }
  40% { opacity: .55; }
  100% { opacity: 1; }
}

/* ---------- 入場動效：內頁 hero 三段交錯、首頁 caption 隨輪播重播 ---------- */
.page-hero .container > * { animation: rise-in .55s var(--ease-out) both; }
.page-hero .container > *:nth-child(2) { animation-delay: .1s; }
.page-hero .container > *:nth-child(3) { animation-delay: .2s; }
.hero-slide-caption .cap.is-active { animation: rise-in .6s var(--ease-out) both; }

/* ---------- 首頁 hero 裝飾光斑緩浮（複用既有偽元素） ---------- */
.hero.has-carousel::after { animation: gs-drift 16s ease-in-out infinite alternate; }

/* ---------- 無障礙焦點與小幅 hover 增強 ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.team-card:hover .team-avatar { transform: scale(1.06); }

/* ---------- WhatsApp 脈衝提示環 ---------- */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: wa-pulse 3s ease-out 2s infinite;
}

/* ---------- 頂部滾動進度條 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1100; pointer-events: none;
  background: var(--grad-gold);
  transform-origin: left; transform: scaleX(0);
}

/* ---------- 返回頂部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer; font-family: inherit;
  background: var(--grad-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease-out), visibility .3s, box-shadow .3s;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top.is-show:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.back-top svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 語言切換輕過渡（可整段移除回退） ---------- */
body.lang-fading { animation: lang-fade .28s ease; }

/* ---------- Cases：行業標籤篩選 ---------- */
.case-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px; border-radius: 999px; cursor: pointer; font-family: inherit;
  border: 1px solid var(--border); background: #fff; color: var(--text-muted);
  font-size: 14px; transition: all .25s var(--ease-out);
}
.filter-btn:hover { border-color: var(--gold-light); color: var(--gold); transform: translateY(-1px); }
.filter-btn.on { background: var(--grad-gold); border-color: transparent; color: #fff; box-shadow: var(--shadow); }
.is-hidden { display: none !important; }
.case-empty { text-align: center; color: var(--text-muted); padding: 40px 0 8px; font-size: 15px; }

/* ---------- Services：服務流程時間線 ---------- */
.process-line {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.process-step {
  position: relative; background: var(--bg-soft); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.process-step::after {
  content: ""; position: absolute; top: 50%; right: -18px;
  width: 9px; height: 9px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--grad-navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ---------- Services：FAQ 折疊（原生 details，零 JS） ---------- */
.faq-list { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 22px; font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px; font-weight: 400; color: var(--gold);
  transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn::after { display: none; }
  html { scroll-behavior: auto; }
  .page-hero .container > *,
  .hero-slide-caption .cap.is-active,
  .hero.has-carousel::after,
  body.lang-fading { animation: none; }
  .wa-float::before { animation: none; display: none; }
}

/* ============================================================
   響應式適配（新增元件）
   ============================================================ */
@media (max-width: 960px) {
  .model-grid { grid-template-columns: 1fr 1fr; }
  .trend-grid { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item::before { display: none; }
  .cap-list { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
}

@media (max-width: 760px) {
  .model-grid { grid-template-columns: 1fr; }
  .trend-grid { grid-template-columns: 1fr; }
  .model-group-head .gh-note { width: 100%; }
  .cap-block { padding: 22px 20px; }
  .process-line { grid-template-columns: 1fr; }
  .case-filters { margin-bottom: 26px; }
  .wa-float { right: 18px; bottom: 18px; }
  .back-top { right: 18px; bottom: 90px; width: 42px; height: 42px; }
}

/* ============================================================
   v1.04 質感升級 — 編輯感排版 · 氛圍層次 · 組件精修 · 節奏留白
   ============================================================ */

/* ---------- 節奏：更舒展的垂直留白 ---------- */
.section { padding: 100px 0; }
.section-head { margin-bottom: 60px; }
.site-footer { margin-top: 100px; border-top: 1px solid rgba(217, 154, 62, .45); }

/* ---------- 氛圍：淺色區紙感漸層 + 金線眉題 ---------- */
.section.alt {
  background:
    radial-gradient(circle at 10% -4%, rgba(186, 117, 23, .05), transparent 42%),
    radial-gradient(circle at 92% 104%, rgba(12, 68, 124, .06), transparent 46%),
    var(--bg-soft);
}
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.section-eyebrow::before,
.section-eyebrow::after { content: ""; width: 30px; height: 1px; }
.section-eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.section-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- 字型：更強的編輯對比 ---------- */
.hero h1 { font-size: 50px; }
.page-hero h1 { font-size: 40px; }
.section-head h2 { font-size: 38px; }
.section-head p { font-size: 16.5px; }
.split h2 { font-size: 32px; }
.split p { font-size: 16px; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; line-height: 1.75; }
.cap-list li { font-size: 14px; }
.btn { font-weight: 600; }
::selection { background: rgba(186, 117, 23, .22); }

/* ---------- 服務區塊：襯線幽靈數字 + 髮絲線分欄 + 桌面黏性標頭 ---------- */
.service-block .sb-head { border-right: 1px solid var(--border); padding-right: 36px; }
.service-block .sb-head .num {
  font-family: var(--font-display); font-size: 60px; font-weight: 600;
  color: rgba(12, 68, 124, .16); letter-spacing: -.02em;
}
.service-block .sb-head h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: .01em;
}

/* ---------- 組件：白卡取代灰塊、金線 hover ---------- */
.sb-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 22px; position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.sb-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-gold); opacity: 0; transition: opacity .25s;
}
.sb-item:hover { border-color: rgba(186, 117, 23, .35); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sb-item:hover::before { opacity: 1; }
.sb-item h4 { font-size: 15.5px; }

.card { border-color: rgba(12, 68, 124, .10); box-shadow: var(--shadow-xs); }
.card::before { opacity: .3; }

.process-step { background: #fff; border: 1px solid var(--border); }

.team-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.team-avatar {
  transition: transform .3s var(--ease-out), box-shadow .3s;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(186, 117, 23, .30);
}

.cap-block h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

.job-card { box-shadow: var(--shadow-xs); }
.faq-item summary { font-size: 16px; }

/* ---------- 響應式：守住小屏尺度 ---------- */
@media (max-width: 960px) {
  .service-block .sb-head { border-right: none; padding-right: 0; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .section-head h2 { font-size: 27px; }
  .split h2 { font-size: 26px; }
}
