/* ===========================
   IPCC 官網共用樣式
   紅色通訊感 × 現代專業風格
=========================== */

:root {
  --red:        #C8161D;
  --red-dark:   #8B0F13;
  --red-deep:   #5C080B;
  --red-light:  #E84048;
  --red-soft:   #FF6B70;
  --dark:       #111111;
  --dark-warm:  #1E0608;
  --charcoal:   #2A2A2A;
  --white:      #FFFFFF;
  --bg-warm:    #FFF8F8;
  --bg-section: #FFF2F2;
  --text-main:  #1A0808;
  --text-sub:   #5A4040;
  --text-muted: #9B7878;
  --border:     #EECECE;
  --border-lt:  #F5E0E0;
  --shadow-sm:  0 2px 12px rgba(200,22,29,0.07);
  --shadow-md:  0 8px 32px rgba(200,22,29,0.12);
  --shadow-lg:  0 20px 60px rgba(200,22,29,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section ── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-warm); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200,22,29,0.07);
  border: 1px solid rgba(200,22,29,0.2);
  border-radius: 100px;
  padding: 4px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 560px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── 按鈕 ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px rgba(200,22,29,0.35);
}
.btn-primary:hover {
  background: var(--red-light); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,22,29,0.45);
}

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover {
  background: var(--charcoal); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-navy { background: var(--dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--charcoal); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ━━━━━━━━━━━━━━━━━━━━━
   導航列
━━━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #FFFDE7;
  border-bottom: 1px solid var(--border-lt);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(200,22,29,0.1); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 96px;
}

/* LOGO 去背：mix-blend-mode:multiply 讓白底透明，留紅色 */
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  mix-blend-mode: multiply;
  height: 74px;
  width: auto;
  display: block;
  filter: contrast(1.05);
}
.nav-logo-right { margin-left: 14px; }
.nav-logo-group {
  font-size: 1.1rem; font-weight: 900;
  color: var(--text-main); letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-logo-companies { margin-top: 4px; }
.nav-logo-companies span {
  display: block;
  font-size: 0.75rem;        /* 放大公司名稱 */
  font-weight: 600;
  color: var(--red);         /* 紅字 */
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-sub); transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--red); background: var(--bg-section); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 20px; height: 2px;
  background: var(--red); border-radius: 2px;
}

.nav-cta {
  margin-left: 12px; padding: 10px 24px;
  background: var(--red); color: var(--white);
  border-radius: 100px; font-size: 0.88rem; font-weight: 700;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,22,29,0.35); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: var(--transition); }

/* ━━━━━━━━━━━━━━━━━━━━━
   Hero — 電話通訊動態背景
━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D0203 0%, #1E0608 45%, #2A0A0E 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 96px;
}

/* 細格線底紋 (電路感) */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,22,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,22,29,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* 放射狀暈光 */
.hero-glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,22,29,0.18) 0%, transparent 70%);
  width: 700px; height: 700px;
  top: 50%; right: -100px; transform: translateY(-50%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,22,29,0.08) 0%, transparent 70%);
  width: 400px; height: 400px;
  bottom: -100px; left: 5%;
  pointer-events: none;
}

/* ── 訊號波環動畫 ── */
.signal-origin {
  position: absolute;
  right: 12%; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(200,22,29,0.5);
  transform: translate(-50%, -50%);
  animation: signalExpand 5s ease-out infinite;
}
.signal-ring:nth-child(1) { width: 80px;  height: 80px;  animation-delay: 0s; }
.signal-ring:nth-child(2) { width: 80px;  height: 80px;  animation-delay: 1s; }
.signal-ring:nth-child(3) { width: 80px;  height: 80px;  animation-delay: 2s; }
.signal-ring:nth-child(4) { width: 80px;  height: 80px;  animation-delay: 3s; }
.signal-ring:nth-child(5) { width: 80px;  height: 80px;  animation-delay: 4s; }

@keyframes signalExpand {
  0%   { transform: translate(-50%,-50%) scale(1);    opacity: 0.7; border-color: rgba(200,22,29,0.7); }
  60%  { opacity: 0.3; border-color: rgba(200,22,29,0.3); }
  100% { transform: translate(-50%,-50%) scale(12);   opacity: 0; border-color: rgba(200,22,29,0); }
}

/* 中心電話圖示 */
.signal-center {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(200,22,29,0.15);
  border: 1.5px solid rgba(200,22,29,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  animation: centerPulse 2s ease-in-out infinite;
}
@keyframes centerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,22,29,0.3); }
  50%       { box-shadow: 0 0 0 16px rgba(200,22,29,0); }
}

/* 漂浮節點 */
.float-node {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.5;
  animation: floatNode 6s ease-in-out infinite;
}
.float-node:nth-child(1)  { top: 20%; left: 10%; animation-delay: 0s;   animation-duration: 7s; }
.float-node:nth-child(2)  { top: 60%; left: 25%; animation-delay: 1.5s; animation-duration: 8s; }
.float-node:nth-child(3)  { top: 35%; left: 60%; animation-delay: 0.8s; animation-duration: 6s; }
.float-node:nth-child(4)  { top: 75%; left: 70%; animation-delay: 2s;   animation-duration: 9s; }
.float-node:nth-child(5)  { top: 15%; left: 80%; animation-delay: 3s;   animation-duration: 7s; }
.float-node:nth-child(6)  { top: 50%; left: 5%;  animation-delay: 1s;   animation-duration: 8s; }
.float-node:nth-child(7)  { top: 85%; left: 40%; animation-delay: 4s;   animation-duration: 6s; }
.float-node:nth-child(8)  { top: 10%; left: 45%; animation-delay: 2.5s; animation-duration: 9s; }

@keyframes floatNode {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25%       { transform: translate(8px, -12px) scale(1.3); opacity: 0.7; }
  50%       { transform: translate(-6px, 10px) scale(0.8); opacity: 0.3; }
  75%       { transform: translate(12px, 4px) scale(1.1); opacity: 0.6; }
}

/* 流動連線 */
.flow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,22,29,0.4), transparent);
  animation: flowLine 4s ease-in-out infinite;
}
.flow-line:nth-child(1) { width: 200px; top: 30%; left: 5%; animation-delay: 0s; }
.flow-line:nth-child(2) { width: 150px; top: 55%; left: 55%; animation-delay: 1.5s; transform: rotate(-20deg); }
.flow-line:nth-child(3) { width: 180px; top: 70%; left: 20%; animation-delay: 3s; transform: rotate(15deg); }

@keyframes flowLine {
  0%, 100% { opacity: 0; transform-origin: left; scaleX(0); }
  20%       { opacity: 1; }
  80%       { opacity: 1; }
  100%      { opacity: 0; }
}

/* Hero 內容 */
.hero-content { position: relative; z-index: 1; max-width: 650px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,22,29,0.12); border: 1px solid rgba(200,22,29,0.3);
  border-radius: 100px; padding: 6px 16px 6px 8px; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px; background: var(--red-soft);
  border-radius: 50%; animation: pulse 2s infinite;
}
.hero-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.8); font-weight: 500; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900;
  color: var(--white); line-height: 1.1; margin-bottom: 10px;
}
.hero-title-accent {
  background: linear-gradient(90deg, #FF6B70, var(--red-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px; max-width: 520px; line-height: 1.85;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { border-left: 2px solid rgba(255,255,255,0.1); padding-left: 20px; }
.hero-stat:first-child { border: none; padding: 0; }
.hero-stat-num { font-size: 2rem; font-weight: 900; color: var(--white); display: block; line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   服務卡片
━━━━━━━━━━━━━━━━━━━━━ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }

.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
  transform: scaleX(0); transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-num { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase; }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

.service-title { font-size: 1.2rem; font-weight: 800; color: var(--text-main); }

.service-desc { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; flex: 1; }

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  font-size: 0.75rem; font-weight: 600; color: var(--red);
  background: var(--bg-section); padding: 4px 12px;
  border-radius: 100px; border: 1px solid var(--border);
}

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--red);
  margin-top: auto; transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   關於我們
━━━━━━━━━━━━━━━━━━━━━ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-card-main {
  background: linear-gradient(135deg, #1A0608, #2A0A0E);
  border-radius: var(--radius-lg); padding: 48px; color: white;
  position: relative; overflow: hidden;
}
.about-card-main::before {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,22,29,0.3), transparent);
  border-radius: 50%;
}
.about-card-main::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(200,22,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,22,29,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-year { font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.08); line-height: 1; }
.about-year-label { font-size: 0.8rem; color: var(--red-soft); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 24px; }
.about-card-main h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.about-card-main p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; position: relative; z-index: 1; }

.about-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }

.about-stat-card {
  background: var(--white); border-radius: var(--radius); padding: 24px 20px;
  text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.about-stat-num { font-size: 1.8rem; font-weight: 900; color: var(--text-main); display: block; }
.about-stat-unit { font-size: 0.9rem; color: var(--red); font-weight: 700; }
.about-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

.about-text p { color: var(--text-sub); line-height: 1.9; margin-bottom: 20px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-item { display: flex; align-items: flex-start; gap: 12px; }
.value-icon {
  width: 36px; height: 36px; background: rgba(200,22,29,0.07); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.value-title { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.value-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   最新消息
━━━━━━━━━━━━━━━━━━━━━ */
.news-tabs {
  display: flex; gap: 4px; background: var(--bg-section);
  padding: 4px; border-radius: 12px; margin-bottom: 40px; width: fit-content;
}
.news-tab {
  padding: 10px 24px; border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-sub); cursor: pointer; transition: var(--transition); border: none; background: none;
}
.news-tab.active { background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--red-light); }

.news-card-img {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--bg-section), var(--border));
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--red);
}
.news-card-body { padding: 24px; }
.news-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-card-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--red); background: rgba(200,22,29,0.08); padding: 3px 10px; border-radius: 100px;
}
.news-card-date { font-size: 0.75rem; color: var(--text-muted); }
.news-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); line-height: 1.4; }

/* ━━━━━━━━━━━━━━━━━━━━━
   CTA 區塊
━━━━━━━━━━━━━━━━━━━━━ */
.cta-section {
  background: linear-gradient(135deg, #0D0203, #1E0608, #2A0A0E);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,22,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,22,29,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-section::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,22,29,0.12), transparent 70%);
  pointer-events: none;
}

.cta-section .section-title { color: var(--white); }
.cta-section .section-sub   { color: rgba(255,255,255,0.6); }

.cta-channels { display: flex; justify-content: center; gap: 20px; margin: 48px 0; flex-wrap: wrap; }

.cta-channel {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 20px 32px; transition: var(--transition); cursor: pointer;
}
.cta-channel:hover { background: rgba(200,22,29,0.15); transform: translateY(-4px); border-color: rgba(200,22,29,0.4); }
.cta-channel-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.cta-channel-icon.phone { background: rgba(200,22,29,0.2); }
.cta-channel-icon.line  { background: rgba(6,199,85,0.2); }
.cta-channel-info { text-align: left; }
.cta-channel-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.08em; }
.cta-channel-value { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-top: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   Footer
━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: #0D0203;
  padding: 64px 0 32px; color: rgba(255,255,255,0.55); font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand { max-width: 300px; }

/* Footer LOGO */
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);  /* 白色 LOGO 在深色底 */
  opacity: 0.85;
}
.footer-logo-name { font-size: 1rem; font-weight: 800; color: var(--white); }
.footer-logo-companies span {
  display: block; font-size: 0.58rem;
  color: rgba(255,255,255,0.35); line-height: 1.7;
}

.footer-brand p { line-height: 1.8; color: rgba(255,255,255,0.4); }

.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer; color: rgba(255,255,255,0.5);
}
.footer-social:hover { background: var(--red); color: white; }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); transition: var(--transition); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--red-soft); }

.footer-address { margin-bottom: 8px; line-height: 1.6; }
.footer-address span { display: inline-block; font-size: 0.7rem; font-weight: 700; color: var(--red-soft); letter-spacing: 0.1em; margin-bottom: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}

/* ━━━━━━━━━━━━━━━━━━━━━
   Page Hero (內頁 Banner)
━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  background: linear-gradient(135deg, #0D0203, #1E0608, #2A0A0E);
  padding: 140px 0 64px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,22,29,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,22,29,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* 內頁 banner 訊號動畫 */
.page-hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,22,29,0.2);
  top: 50%; right: 8%; transform: translateY(-50%);
  animation: pageRing 5s ease-out infinite;
}
.page-hero-ring:nth-child(2) { animation-delay: 1.5s; }
.page-hero-ring:nth-child(3) { animation-delay: 3s; }
.page-hero-ring:nth-child(2),
.page-hero-ring:nth-child(3) { width: 120px; height: 120px; }
.page-hero-ring:nth-child(1) { width: 120px; height: 120px; }

@keyframes pageRing {
  0%   { transform: translateY(-50%) scale(1);  opacity: 0.6; }
  100% { transform: translateY(-50%) scale(6);  opacity: 0; }
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 20px; position: relative; z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--red-soft); }

/* ━━━━━━━━━━━━━━━━━━━━━
   成功案例
━━━━━━━━━━━━━━━━━━━━━ */
.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-top: 56px; }

.case-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red-light); }

.case-card-header {
  padding: 32px; background: linear-gradient(135deg, var(--bg-section), var(--border));
  display: flex; align-items: center; gap: 16px;
}
.case-logo {
  width: 56px; height: 56px; background: var(--white); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-sm);
}
.case-category { font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.case-client { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin-top: 2px; }

.case-card-body { padding: 28px 32px; flex: 1; }
.case-challenge-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.case-card-body p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 20px; }

.case-results { display: flex; gap: 24px; flex-wrap: wrap; }
.case-result { text-align: center; padding: 12px 16px; background: var(--bg-warm); border-radius: 8px; flex: 1; }
.case-result-num { font-size: 1.3rem; font-weight: 900; color: var(--text-main); display: block; }
.case-result-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   專案服務頁
━━━━━━━━━━━━━━━━━━━━━ */
.services-page-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 56px; }
.services-page-tab {
  padding: 14px 28px; font-size: 0.95rem; font-weight: 700; color: var(--text-sub);
  cursor: pointer; border: none; background: none; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: var(--transition);
}
.services-page-tab.active { color: var(--red); border-bottom-color: var(--red); }

.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.challenge-box {
  background: #FFF5F5; border: 1px solid #F5C6C6; border-radius: var(--radius); padding: 24px 28px; margin-bottom: 32px;
}
.challenge-box h4 { font-size: 0.9rem; font-weight: 700; color: var(--red-dark); margin-bottom: 16px; }
.challenge-list { display: flex; flex-direction: column; gap: 10px; }
.challenge-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-sub); }
.challenge-item::before { content: '⚠'; font-size: 0.8rem; }

.module-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.module-card {
  background: var(--bg-warm); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); transition: var(--transition);
}
.module-card:hover { border-color: var(--red); background: var(--white); box-shadow: var(--shadow-sm); }
.module-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.module-icon {
  font-size: 1.3rem; width: 40px; height: 40px; background: var(--white);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.module-name { font-size: 0.95rem; font-weight: 800; color: var(--text-main); }
.module-items { display: flex; flex-wrap: wrap; gap: 8px; }
.module-item { font-size: 0.78rem; color: var(--text-sub); background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 3px 12px; }

.process-steps {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0;
  margin: 48px 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
}
.process-step { text-align: center; padding: 0 8px; position: relative; }
.step-num {
  width: 56px; height: 56px; background: var(--white); border: 2px solid var(--red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--red);
  margin: 0 auto 16px; position: relative; z-index: 1;
}
.process-step.highlight .step-num { background: var(--red); border-color: var(--red); color: white; }
.step-label { font-size: 0.78rem; font-weight: 600; color: var(--text-main); }

/* ━━━━━━━━━━━━━━━━━━━━━
   關於我們頁
━━━━━━━━━━━━━━━━━━━━━ */
.timeline { position: relative; max-width: 800px; margin: 56px auto 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); }

.timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; position: relative; }
.timeline-dot {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 14px; height: 14px; background: var(--red); border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 0 0 3px rgba(200,22,29,0.3); z-index: 1;
}
.timeline-content {
  padding: 24px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(even) .timeline-content:first-child { order: 2; }
.timeline-item:nth-child(even) .timeline-content:last-child  { order: 1; }
.timeline-year { font-size: 0.75rem; font-weight: 800; color: var(--red); letter-spacing: 0.1em; margin-bottom: 8px; }
.timeline-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.timeline-content p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.8; }

.core-values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 48px; }
.core-value-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: var(--transition);
}
.core-value-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.core-value-icon { font-size: 2rem; margin-bottom: 16px; }
.core-value-title { font-size: 1rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.core-value-desc { font-size: 0.88rem; color: var(--text-sub); line-height: 1.8; }

/* ━━━━━━━━━━━━━━━━━━━━━
   聯繫表單
━━━━━━━━━━━━━━━━━━━━━ */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.9rem; font-family: inherit; color: var(--text-main); background: var(--white);
  transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,22,29,0.08); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ━━━━━━━━━━━━━━━━━━━━━
   響應式
━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { gap: 48px; }
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: repeat(3,1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .core-values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .cta-channels { flex-direction: column; align-items: center; }
  .signal-origin { right: -20%; }

  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 96px; left: 0; right: 0;
    background: var(--white); padding: 16px 24px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 4px;
  }
  .nav-cta { display: none; }
  .services-page-tabs { flex-wrap: wrap; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 56px; }
  .timeline-dot { left: 24px; }
  .timeline-item:nth-child(even) .timeline-content:first-child { order: unset; }
  .timeline-item:nth-child(even) .timeline-content:last-child  { order: unset; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero-ring { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .about-stats-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ━━━━━━━━━━━━━━━━━━━━━
   Animations
━━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
