/* ===========================================================
   站點專屬樣式（教練個人品牌網站）
   疊加在 trainer-modern.css 之上的額外元件，不改動模板本身的檔案。
   ============================================================ */

/* ---------- Hero 標題：中文字級修正 ---------- */
.probootstrap-intro h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.2;
  text-transform: none;
}
.probootstrap-intro-inner h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.probootstrap-subtitle h2 { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }

/* ---------- SVG Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  color: currentColor;
  flex-shrink: 0;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.star-rating {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow-star {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.num-accent {
  font-family: "Barlow Condensed", "Noto Sans TC", sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ---------- Focus visibility (keyboard navigation) ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hero 統計數字列 ---------- */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-stat strong {
  display: block;
  font-size: 2.1rem;
  color: #fff;
  font-family: "Barlow Condensed", "Noto Sans TC", sans-serif;
  letter-spacing: .01em;
  line-height: 1;
}
.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

/* ---------- 比賽戰績表 ---------- */
.result-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.result-table th, .result-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: .92rem;
  border-bottom: 1px solid var(--line);
}
.result-table th {
  background: #fafafb;
  color: var(--text);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.result-table tr:last-child td { border-bottom: none; }
.badge-rank {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
}
.badge-rank--gold { background: rgba(232,52,28,.1); color: var(--accent); }
.badge-rank--silver { background: #f0f1f3; color: var(--muted); }
.badge-rank--bronze { background: #fdf0e6; color: #b5651d; }
.badge-rank svg.icon-badge {
  width: 13px;
  height: 13px;
  vertical-align: -1px;
  margin-right: 4px;
  fill: currentColor;
}

/* ---------- 圖示型卡片（訓練理念 / 證照 / 專長） ---------- */
.feature-icon-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-icon-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232,52,28,.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-icon-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-icon-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

/* ---------- 從業歷程時間軸 ---------- */
.probootstrap-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--line-strong);
}
.probootstrap-timeline .t-item {
  position: relative;
  padding-bottom: 36px;
}
.probootstrap-timeline .t-item:last-child { padding-bottom: 0; }
.probootstrap-timeline .t-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line-strong);
}
.probootstrap-timeline .t-year {
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
}
.probootstrap-timeline h4 { font-size: 1.05rem; margin-bottom: 6px; }
.probootstrap-timeline p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

/* ---------- 客戶見證 ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  height: 100%;
}
.testimonial-card .star-rating { color: var(--accent); margin-bottom: 14px; font-size: .95rem; }
.testimonial-card p.quote { font-size: .95rem; color: var(--text); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: .92rem; }
.testimonial-person span { font-size: .8rem; color: var(--muted); }

/* ---------- 服務／比賽／部落格 標籤列 ---------- */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 22px 0; }
.tag-pill {
  background: #f5f6f8;
  color: var(--muted);
  font-size: .76rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
}

/* ---------- FAQ（Bootstrap Accordion 微調） ---------- */
.accordion-button:not(.collapsed) {
  color: var(--accent);
  background: rgba(232,52,28,.06);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(232,52,28,.15); }
.accordion-item { border-color: var(--line-strong); }

/* ---------- 區塊分類標籤 (小節上方紅字 eyebrow) ---------- */
.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Programs 卡片內服務標籤（取代原本的 Sets/Reps 文字） ---------- */
.probootstrap-program .program-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 0 22px;
  margin: 0 0 8px;
  display: block;
}

@media (max-width: 575.98px) {
  .probootstrap-stats { gap: 26px; }
}
