/* Footer v1～v10：大版面結構差異 + 配色呼應 header vN */
.ftr {
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}
/* ── 共用元件 ── */
.ftr-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  color: #111111;
}
.ftr-brand__img {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}
.ftr-brand__tagline {
  font-size: 12px;
  font-weight: 500;
  color: #5c5c5c;
}
.ftr-brand--tone-light {
  color: #fff;
}
.ftr-brand--tone-light .ftr-brand__tagline {
  color: rgba(255, 255, 255, 0.65);
}
.ftr-nav--stack .ftr-nav__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5c5c;
}
.ftr-nav--stack .ftr-nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ftr-nav--stack .ftr-nav__link {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ftr-nav--tiles .ftr-nav__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ftr-nav--tiles .ftr-nav__tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f6f6f8;
  border: 1px solid #e8e8ec;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ftr-nav--tiles .ftr-nav__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.ftr-nav--tiles .ftr-nav__tile.is-active {
  border-color: #ee2d2e;
  background: rgba(238, 45, 46, 0.08);
  color: #ee2d2e;
}
.ftr-nav--tiles .ftr-nav__tile-k {
  font-size: 11px;
  font-weight: 800;
  color: #5c5c5c;
  letter-spacing: 0.08em;
}
.ftr-nav:not(.ftr-nav--stack):not(.ftr-nav--tiles) .ftr-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ftr-nav:not(.ftr-nav--stack):not(.ftr-nav--tiles) .ftr-nav__link {
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.ftr-nav:not(.ftr-nav--stack):not(.ftr-nav--tiles) .ftr-nav__link:hover,
.ftr-nav:not(.ftr-nav--stack):not(.ftr-nav--tiles) .ftr-nav__link.is-active {
  color: #ee2d2e;
}
.ftr-line-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.ftr-line-panel--stack {
  flex-direction: column;
  align-items: stretch;
}
.ftr-line-panel--wide .ftr-line-panel__cta .hdr-line {
  width: 100%;
  max-width: none;
}
.ftr-line-panel--compact {
  gap: 12px;
}
.ftr-line-panel--compact .ftr-line-panel__qr img {
  width: 88px;
  height: 88px;
}
.ftr-line-panel--cta-only .ftr-line-panel__cta {
  width: 100%;
}
.ftr-line-panel__qr {
  margin: 0;
  text-align: center;
}
.ftr-line-panel__qr img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 4px solid #ffcb00;
  background: #fff;
}
.ftr-line-panel__qr figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #5c5c5c;
}
.ftr-line-panel__cta .hdr-line {
  max-width: 100%;
}
.ftr-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5c5c5c;
}
/* 預覽條 */
.theme-preview-stack .footer-preview-bar,
.footer-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 12px;
  background: #1e3a5f;
  color: #bfdbfe;
  font-size: 13px;
  border-bottom: 2px solid #60a5fa;
}
.footer-preview-bar__title {
  margin: 0;
  font-weight: 700;
  color: #fff;
}
.footer-preview-bar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-preview-bar__link {
  padding: 4px 10px;
  border-radius: 6px;
  background: #2d4a6f;
  color: #e0f2fe;
  text-decoration: none;
  font-weight: 600;
}
.footer-preview-bar__link.is-active {
  background: #60a5fa;
  color: #0f172a;
}
/* ═══ v1 企業三欄網站地圖 ═══ */
.ftr--v1 {
  background: #ffffff;
  border-top: 1px solid #e8e8ec;
}
.ftr--v1 .ftr-v1__sheet {
  display: grid;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px) 32px;
}
@media screen and (min-width: 1025px) {
  .ftr--v1 .ftr-v1__sheet {
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    align-items: start;
  }
}
.ftr--v1 .ftr-v1__pitch {
  margin: 16px 0 0;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  color: #111111;
}
.ftr--v1 .ftr-v1__contact-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ee2d2e;
}
.ftr--v1 .ftr-v1__legal {
  padding: 14px clamp(16px, 4vw, 40px);
  text-align: center;
  background: #f6f6f8;
  border-top: 1px solid #e8e8ec;
}
