/* ================================================================
   seo.css — SEO行銷服務頁專屬樣式
   設計語言對齊首頁（品牌色、字級、卡片、圓角、CTA）
================================================================ */

/* 白色 CTA 變體 */
.gc-btn--white { background: #fff; }
.gc-btn--white:hover { background: var(--gc-yellow); }

/* 共用窄容器 */
.gc-seo-narrow { max-width: 1000px; margin-inline: auto; }

/* ── ① Hero ────────────────────────────────────────── */
.gc-seo-hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #003a6b;
  padding: 64px 0;
}
.gc-seo-hero-box {
  max-width: 760px;
  background: rgba(0,69,128,.82);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}
.gc-seo-hero-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 14px;
}
.gc-seo-hero-sub {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
}
.gc-seo-hero-desc { margin-bottom: 28px; }
.gc-seo-hero-desc p { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.92); }
.gc-seo-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ② 關鍵字優化是什麼 ────────────────────────────── */
.gc-seo-intro { padding: 64px 0; }
.gc-seo-intro-h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--gc-blue);
  margin-bottom: 24px;
}
.gc-seo-intro-body {
  background: var(--gc-surface);
  border-radius: 20px;
  padding: 32px;
}
.gc-seo-intro-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--gc-text);
  text-align: justify;
}
.gc-seo-intro-body p + p { margin-top: 16px; }

/* ── ③ 對企業的價值 ───────────────────────────────── */
.gc-seo-value { padding: 32px 0 64px; }
.gc-seo-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gc-seo-value-card {
  background: #fff;
  border: 1px solid var(--gc-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  text-align: center;
  transition: transform var(--gc-ease), box-shadow var(--gc-ease);
}
.gc-seo-value-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.gc-seo-value-img img { width: 100%; aspect-ratio: 268/151; object-fit: cover; }
.gc-seo-value-title { font-size: 18px; font-weight: 600; color: var(--gc-blue); margin: 16px 16px 10px; }
.gc-seo-value-text { font-size: 14px; line-height: 1.8; color: var(--gc-text); margin: 0 16px 20px; }

/* ── ④ 成功案例 ───────────────────────────────────── */
.gc-seo-cases { padding: 32px 0 64px; }
.gc-seo-case {
  display: grid;
  grid-template-columns: 1.45fr 1fr;   /* 文字寬、右圖小一點 */
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 40px;
}
/* min-width:0 讓 grid 子項可縮小，避免徽章 nowrap 撐爆整頁 */
.gc-seo-case-body { min-width: 0; }
.gc-seo-case-img  { min-width: 0; }
.gc-seo-case--reverse .gc-seo-case-img  { order: 2; }
.gc-seo-case--reverse .gc-seo-case-body { order: 1; }
.gc-seo-case-img {
  min-height: 240px;
  max-height: 300px;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 30px 0 0 30px;
}
.gc-seo-case--reverse .gc-seo-case-img { border-radius: 0 30px 30px 0; }
.gc-seo-case-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--gc-blue);
  margin-bottom: 14px;
}
.gc-seo-case-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gc-text);
  text-align: justify;
  margin-bottom: 20px;
}
/* 數據徽章：每個徽章內容不折行 */
.gc-seo-case-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gc-seo-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gc-yellow);
  border-radius: 12px;
  padding: 10px 16px;
  flex-shrink: 0;
  white-space: nowrap;
}
.gc-seo-stat img { width: 36px; height: 36px; flex-shrink: 0; }
.gc-seo-stat-label { display: block; font-size: 12px; color: var(--gc-blue); white-space: nowrap; }
.gc-seo-stat-num { font-size: 18px; font-weight: 700; color: var(--gc-blue); white-space: nowrap; }

/* ── ⑤ 中段 CTA Banner ────────────────────────────── */
.gc-seo-cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--gc-navy);
  padding: 80px 0;
  text-align: center;
}
.gc-seo-cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
}
.gc-seo-cta-band .gc-container { position: relative; z-index: 1; }
.gc-seo-cta-text {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 28px;
}
.gc-seo-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── ⑥ 服務優勢 ───────────────────────────────────── */
.gc-seo-adv { padding: 64px 0; background: var(--gc-surface); }
.gc-seo-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gc-seo-adv-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.gc-seo-adv-icon { width: 80px; height: 80px; margin: 0 auto 16px; }
.gc-seo-adv-title { font-size: 20px; font-weight: 600; color: var(--gc-blue); margin-bottom: 12px; }
.gc-seo-adv-card p { font-size: 14px; line-height: 1.8; color: var(--gc-text); text-align: justify; }
.gc-seo-adv-list { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.gc-seo-adv-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gc-text);
}
.gc-seo-adv-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gc-yellow);
  font-weight: 700;
}

/* ── ⑦ 服務流程 ───────────────────────────────────── */
.gc-seo-flow { padding: 64px 0; }
.gc-seo-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gc-seo-flow-step {
  position: relative;
  text-align: center;
  padding: 32px 20px;
  border: 2px solid var(--gc-surface);
  border-radius: 20px;
}
.gc-seo-flow-num {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gc-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-seo-flow-icon { width: 72px; height: 72px; margin: 8px auto 16px; }
.gc-seo-flow-title { font-size: 20px; font-weight: 600; color: var(--gc-blue); margin-bottom: 10px; }
.gc-seo-flow-step p { font-size: 14px; line-height: 1.7; color: var(--gc-text); }

/* ── ⑧ 優化方案 ───────────────────────────────────── */
.gc-seo-pricing { padding: 64px 0; background: var(--gc-surface); }
.gc-seo-pricing-intro {
  text-align: center;
  font-size: 16px;
  color: var(--gc-text);
  margin-bottom: 40px;
}
.gc-seo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 40px;
}
.gc-seo-tier {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.gc-seo-tier-head { padding: 24px; text-align: center; color: #fff; }
.gc-seo-tier-name { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.gc-seo-tier-price { font-size: 36px; font-weight: 800; color: #fff; }
.gc-seo-tier-list {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gc-seo-tier-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gc-text);
}
.gc-seo-tier-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--gc-blue);
  font-weight: 700;
}
.gc-seo-tier-btn { margin: 0 24px 24px; justify-content: center; }

/* 所有方案皆含 */
.gc-seo-included {
  max-width: 760px;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
}
.gc-seo-included-head { font-size: 16px; font-weight: 600; color: var(--gc-blue); margin-bottom: 16px; }
.gc-seo-included-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.gc-seo-included-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gc-text);
}
.gc-seo-included-list li::before {
  content: '・';
  position: absolute; left: 4px;
  color: var(--gc-yellow);
  font-weight: 700;
}
.gc-seo-disclaimer {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #FF003D 0%, #C10230 100%);
  border-radius: 20px;
  padding: 14px 24px;
}

/* ── ⑨ 資訊橫幅 ───────────────────────────────────── */
.gc-seo-banners { padding: 48px 0; }
.gc-seo-banners .gc-container { display: flex; flex-direction: column; gap: 24px; }
.gc-seo-banners img { width: 100%; height: auto; border-radius: 12px; }

/* ── ⑩ 客製方案 ───────────────────────────────────── */
.gc-seo-custom { padding: 32px 0; text-align: center; }
.gc-seo-custom-sub { font-size: 18px; color: var(--gc-text); margin-top: 8px; }

/* ── ⑪ 聯絡 + 表單 ────────────────────────────────── */
.gc-seo-contact {
  padding: 64px 0;
  background: var(--gc-surface);
  scroll-margin-top: 80px;
}
.gc-seo-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1100px;
  margin-inline: auto;
  align-items: start;
}
.gc-seo-contact-company { font-size: 22px; font-weight: 600; color: var(--gc-text); margin-bottom: 8px; }
.gc-seo-contact-line a { font-size: 18px; color: #00C300; font-weight: 600; }
.gc-seo-contact-note { font-size: 15px; line-height: 1.8; color: var(--gc-text); margin: 16px 0 20px; }
.gc-seo-contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.gc-seo-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--gc-text); }
.gc-seo-contact-list svg { flex-shrink: 0; margin-top: 2px; fill: var(--gc-blue); }
.gc-seo-contact-list a { color: var(--gc-text); }
.gc-seo-contact-list a:hover { color: var(--gc-blue); }
.gc-seo-contact-regions { font-size: 14px; color: var(--gc-gray-dark); margin-bottom: 20px; }
.gc-seo-contact-qr { width: 180px; height: 180px; border-radius: 12px; }

.gc-seo-contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

/* ── RWD ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gc-seo-value-grid { grid-template-columns: 1fr 1fr; }
  .gc-seo-adv-grid   { grid-template-columns: 1fr 1fr; }
  .gc-seo-flow-grid  { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 767px) {
  .gc-seo-hero { padding: 40px 0; }
  .gc-seo-hero-box { padding: 28px 20px; }
  .gc-seo-intro,
  .gc-seo-value,
  .gc-seo-cases,
  .gc-seo-adv,
  .gc-seo-flow,
  .gc-seo-pricing,
  .gc-seo-contact { padding: 40px 0; }

  .gc-seo-value-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .gc-seo-adv-grid   { grid-template-columns: 1fr; }
  .gc-seo-flow-grid  { grid-template-columns: 1fr; }
  .gc-seo-pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .gc-seo-included-list { grid-template-columns: 1fr; }

  /* 案例：單欄，圖在上 */
  .gc-seo-case,
  .gc-seo-case--reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gc-seo-case--reverse .gc-seo-case-img,
  .gc-seo-case--reverse .gc-seo-case-body,
  .gc-seo-case-img,
  .gc-seo-case-body { order: initial; }
  .gc-seo-case-img {
    order: -1;
    min-height: 200px;
    max-height: 220px;
    border-radius: 16px !important;
  }
  /* 手機版徽章超出寬度時可左右滑動 */
  .gc-seo-case-stats {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  /* 聯絡：單欄 */
  .gc-seo-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .gc-seo-contact-form { padding: 24px 20px; }
}
