/* === 裕益行 — 全站共用元件：滿版選單、相關服務清單 ===
   由 index.html 與 11 個子頁共同載入。選單標記由各頁 HTML 內含，樣式集中於此。 */

html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif; }

/* ── 滿版選單：三個群組（租賃買賣 / 維修保養 / 公司） ── */
.site-menu {
  box-sizing: border-box;
  min-height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7.5rem 2.5rem 3rem;
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 2rem 3rem;
  align-content: center;
  color: #111;
  text-align: left;
}
.site-menu-group { min-width: 0; }
.site-menu-head {
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #111;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
}
.site-menu a {
  display: block;
  padding: 0.45rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-menu a:hover { color: #fff; }
.site-menu a:focus-visible,
.site-menu-head:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 767px) {
  .site-menu {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 9.5rem 1.5rem 3rem; /* 固定 logo 區塊在手機約 110px 高，標題需從其下方開始 */
    align-content: start;
  }
  .site-menu-head { font-size: 2rem; }
  .site-menu a { font-size: 1.125rem; padding: 0.4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  #full-menu { transition: none !important; }
  .site-menu a { transition: none; }
}

/* ── 子頁：相關服務清單（取代原本的卡片陣列） ── */
.related-services { margin: 3.5rem 0 1rem; }
.related-services dl {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.9rem 2rem;
  margin: 1.5rem 0 0;
}
.related-services dt { margin: 0; }
.related-services dt a {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: #14213D;
  text-decoration: none;
  transition: color 0.2s ease;
}
.related-services dt a:hover { color: #FCA311; }
.related-services dt a:focus-visible { outline: 2px solid #FCA311; outline-offset: 3px; }
.related-services dd {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  align-self: center;
}
@media (max-width: 640px) {
  .related-services dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .related-services dd { margin-bottom: 1rem; }
}
