/* ============================================================
   initial: /contact/ v0.1 · 聯繫我們
   依賴：main.css v2（五層 CI token · --brand-* / --scene-* / --signal-*）
   節奏：黑 → 白 → 棕 → 白 → 黑 → 白 → 黑（7 區塊）
   ============================================================ */


/* ============================================================
   § Hero · 黑底招牌感
   ============================================================ */
.contact-hero {
  position: relative;
  background: var(--brand-black, #0f0f0f);
  color: #fff;
  padding: 96px 0 120px;
  overflow: hidden;
}
.contact-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.contact-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 500;
  color: var(--signal-yellow, #ffd401);
  padding: 6px 18px;
  border: 1px solid var(--signal-yellow, #ffd401);
  border-radius: 2px;
  margin-bottom: 32px;
}
.contact-hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin: 0 0 28px;
}
.contact-hero-title em {
  font-style: normal;
  color: var(--signal-yellow, #ffd401);
  position: relative;
  padding: 0 4px;
}
.contact-hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--signal-yellow, #ffd401);
  opacity: 0.3;
}
.contact-hero-tagline {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto;
}
.contact-hero-tagline strong {
  color: #fff;
  font-weight: 700;
}
.contact-hero-tile-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  background:
    linear-gradient(to right,
      var(--signal-yellow, #ffd401) 0%,
      var(--signal-yellow, #ffd401) 33.33%,
      var(--brand-red, #d42121) 33.33%,
      var(--brand-red, #d42121) 66.66%,
      var(--brand-green, #2d6a4f) 66.66%,
      var(--brand-green, #2d6a4f) 100%
    );
}


/* ============================================================
   § 01 四張分流卡 · 磁磚白底
   ============================================================ */
.contact-channels {
  background: var(--scene-tile, #f5f1e8);
  padding: 96px 0;
  position: relative;
}
.contact-channels::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-green, #2d6a4f);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.channel-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 24px 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 4px 4px 0 0;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.channel-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
  font-family: "SF Mono", Menlo, monospace;
}
.channel-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.3;
}
.channel-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
  margin: 0 0 20px;
  min-height: 48px;
}
.channel-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  padding-top: 16px;
}
.channel-meta li {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
}
.channel-meta li:last-child {
  margin-bottom: 0;
}
.channel-meta .meta-k {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 700;
  margin-bottom: 3px;
}
.channel-meta .meta-v {
  color: rgba(0, 0, 0, 0.88);
  word-break: break-all;
}
.channel-meta .meta-v a {
  color: var(--brand-red, #d42121);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 33, 33, 0.3);
}
.channel-meta .meta-v a:hover {
  border-bottom-color: var(--brand-red, #d42121);
}

.channel-sub {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
  margin-top: auto;
  padding-top: 12px;
  font-style: italic;
}

.channel-cta {
  margin-top: auto;
  display: inline-block;
  padding: 12px 16px;
  background: var(--brand-black, #0f0f0f);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.channel-cta:hover {
  background: var(--brand-red, #d42121);
}
.channel-cta span {
  margin-left: 6px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.channel-cta:hover span {
  transform: translateX(4px);
}

/* 四卡頂色 */
.channel-franchise::before { background: var(--brand-red, #d42121); }
.channel-press::before     { background: var(--signal-blue, #2b6cb0); }
.channel-biz::before       { background: #d97706; /* 暖橘 · 呼應木作棕 */ }
.channel-feedback::before  { background: var(--brand-green, #2d6a4f); }


/* ============================================================
   § 02 想吃飯？請到店裡 · 木作棕
   ============================================================ */
.contact-visit {
  background: var(--scene-wood, #8b6f4e);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.03) 0,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 40px
    );
  color: #fff;
  padding: 96px 0;
}

.section-header-light {
  color: #fff;
}
.section-header-light .section-eyebrow {
  color: var(--signal-yellow, #ffd401);
}
.section-header-light p {
  color: rgba(255, 255, 255, 0.88);
}
.section-header-light p strong {
  color: var(--signal-yellow, #ffd401);
}

.visit-table {
  margin-top: 48px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  overflow: hidden;
}
.visit-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 20px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}
.visit-row:last-child {
  border-bottom: none;
}
.visit-row:hover {
  background: rgba(0, 0, 0, 0.15);
}
.visit-cell {
  font-size: 14px;
  line-height: 1.6;
}
.visit-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.visit-name strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.visit-loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.visit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 2px;
}
.visit-badge.direct {
  background: var(--brand-red, #d42121);
  color: #fff;
}
.visit-badge.franchise {
  background: var(--signal-yellow, #ffd401);
  color: #000;
}
.visit-tag {
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  font-size: 13px;
}
.visit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.visit-btn {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.visit-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.visit-btn-primary {
  background: var(--signal-yellow, #ffd401);
  color: #000;
  border-color: var(--signal-yellow, #ffd401);
}
.visit-btn-primary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.visit-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.visit-footnote a {
  color: var(--signal-yellow, #ffd401);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
  border-bottom: 1px solid rgba(255, 212, 1, 0.4);
}
.visit-footnote a:hover {
  border-bottom-color: var(--signal-yellow, #ffd401);
}


/* ============================================================
   § 03 社群三格 · 磁磚白
   ============================================================ */
.contact-social {
  background: var(--scene-tile, #f5f1e8);
  padding: 96px 0;
  position: relative;
}
.contact-social::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-green, #2d6a4f);
}

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

.social-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 40px 28px 32px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.social-card-static {
  cursor: default;
}
.social-card-static:hover {
  transform: none;
  box-shadow: none;
}

.social-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.social-ig .social-icon {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
.social-xhs .social-icon {
  background: #ff2442;
  font-family: "Noto Sans TC", sans-serif;
}
.social-xhs .xhs-mark {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.social-dy .social-icon {
  background: #000;
  position: relative;
}
.social-dy .social-icon::before,
.social-dy .social-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.social-dy .social-icon::before {
  background: radial-gradient(circle at 60% 40%, #25f4ee 0%, transparent 50%);
}
.social-dy .social-icon::after {
  background: radial-gradient(circle at 40% 60%, #fe2c55 0%, transparent 50%);
}
.social-dy .social-icon svg {
  position: relative;
  z-index: 1;
}

.social-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 6px;
}
.social-handle {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-red, #d42121);
  margin: 0 0 12px;
  font-family: "SF Mono", Menlo, monospace;
  letter-spacing: 0.5px;
}
.social-dy .social-handle {
  color: #000;
}
.social-note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.65);
  margin: 0 0 20px;
  min-height: 44px;
}
.social-go {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-black, #0f0f0f);
  border-top: 1px dashed rgba(0, 0, 0, 0.15);
  padding-top: 16px;
  width: 100%;
}
.social-go span {
  margin-left: 4px;
  transition: transform 0.2s ease;
  display: inline-block;
}
.social-card:hover .social-go span {
  transform: translateX(4px);
}
.social-go-static {
  color: rgba(0, 0, 0, 0.55);
  font-weight: 500;
  font-style: italic;
  font-size: 12px;
}


/* ============================================================
   § 04 公司資訊 · 黑底
   ============================================================ */
.contact-company {
  background: var(--brand-black, #0f0f0f);
  color: #fff;
  padding: 96px 0;
}

.section-header-dark {
  color: #fff;
}
.section-header-dark .section-eyebrow {
  color: var(--signal-yellow, #ffd401);
}
.section-header-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.company-info {
  max-width: 680px;
  margin: 48px auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: baseline;
}
.company-row:last-child {
  border-bottom: none;
}
.company-row dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
.company-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
}
.company-row dd small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.icp-pending {
  display: inline-block;
  padding: 4px 12px;
  border: 1px dashed var(--signal-yellow, #ffd401);
  color: var(--signal-yellow, #ffd401);
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
  letter-spacing: 0.5px;
}


/* ============================================================
   § 05 FAQ · 磁磚白 · 手風琴
   ============================================================ */
.contact-faq {
  background: var(--scene-tile, #f5f1e8);
  padding: 96px 0;
  position: relative;
}
.contact-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-green, #2d6a4f);
}

.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  font-weight: 700;
  position: relative;
  transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover {
  background: rgba(0, 0, 0, 0.02);
}
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  font-weight: 300;
  color: var(--brand-red, #d42121);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-red, #d42121);
  color: var(--signal-yellow, #ffd401);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.faq-q-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--brand-black, #0f0f0f);
}
.faq-a {
  padding: 0 28px 24px 80px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 15px;
  line-height: 1.9;
}
.faq-a p {
  margin: 0 0 12px;
}
.faq-a p:last-child {
  margin-bottom: 0;
}
.faq-a a {
  color: var(--brand-red, #d42121);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 33, 33, 0.3);
}
.faq-a a:hover {
  border-bottom-color: var(--brand-red, #d42121);
}


/* ============================================================
   § 06 結尾 CTA · 黑底 + 站牌帶
   ============================================================ */
.contact-cta {
  background: var(--brand-black, #0f0f0f);
  color: #fff;
  padding: 96px 0 120px;
  text-align: center;
}
.cta-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--signal-yellow, #ffd401);
  padding: 6px 18px;
  border: 1px solid var(--signal-yellow, #ffd401);
  border-radius: 2px;
  margin-bottom: 28px;
  font-weight: 500;
}
.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 48px;
}

.cta-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 56px;
}
.cta-contact-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cta-k {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}
.cta-v {
  font-size: 20px;
  font-weight: 900;
  color: var(--signal-yellow, #ffd401);
  text-decoration: none;
  letter-spacing: 0.5px;
}
a.cta-v:hover {
  color: #fff;
}
.cta-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.cta-stations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}
.cta-station {
  background: var(--signal-blue, #2b6cb0);
  color: #fff;
  padding: 18px 16px;
  border-radius: 4px;
  position: relative;
  border-top: 4px solid var(--signal-yellow, #ffd401);
}
.cta-station::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}
.station-line {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--signal-yellow, #ffd401);
  margin-bottom: 6px;
}
.station-name {
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}


/* ============================================================
   RWD · 平板（≤ 960px）
   ============================================================ */
@media (max-width: 960px) {
  .contact-hero { padding: 72px 0 96px; }
  .contact-channels,
  .contact-visit,
  .contact-social,
  .contact-company,
  .contact-faq,
  .contact-cta { padding: 72px 0; }

  .channel-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .social-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .visit-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  .visit-actions { justify-content: flex-start; }

  .cta-contacts { grid-template-columns: 1fr; }
  .cta-stations { grid-template-columns: 1fr; gap: 12px; }
  .cta-station::before { display: none; }
}


/* ============================================================
   RWD · 手機（≤ 600px）
   ============================================================ */
@media (max-width: 600px) {
  .contact-hero { padding: 56px 0 72px; }
  .contact-channels,
  .contact-visit,
  .contact-social,
  .contact-company,
  .contact-faq,
  .contact-cta { padding: 56px 0; }

  .contact-hero-eyebrow,
  .cta-eyebrow { font-size: 11px; letter-spacing: 3px; padding: 5px 14px; }

  .channel-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; gap: 14px; }

  .channel-card { padding: 28px 22px 24px; }
  .social-card { padding: 32px 22px 28px; }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 22px;
  }

  .faq-item summary { padding: 18px 20px; gap: 12px; }
  .faq-q-num { width: 30px; height: 30px; font-size: 12px; }
  .faq-q-text { font-size: 15px; }
  .faq-a { padding: 0 20px 20px 62px; font-size: 14px; }
}
