/* 週末電商企業社 官網
   品牌色：#F5C518 黃 / #1F2937 深灰 / #FFFFFF 白底 */

:root {
  --brand-yellow: #F5C518;
  --brand-dark: #1F2937;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --text-dark: #1A1A1A;
  --text-mid: #666666;
  --border-soft: #F0F0F0;
  --max-width: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Noto Serif TC", Georgia, serif;
  line-height: 1.4;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--brand-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo svg {
  flex-shrink: 0;
  color: var(--brand-yellow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #E5E7EB;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav a.current {
  color: var(--brand-dark);
  background: var(--brand-yellow);
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--brand-dark);
  color: var(--white);
  padding: 72px 0 80px;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 0.5em;
}

.hero .lede {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: #D1D5DB;
  max-width: 44ch;
  margin-bottom: 1.8em;
}

.accent {
  color: var(--brand-yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.3);
}

/* ---------- Page head (內頁標題) ---------- */

.page-head {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-soft);
  padding: 52px 0;
}

.page-head h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 0.3em;
}

.page-head p {
  color: var(--text-mid);
  margin: 0;
}

/* ---------- Section ---------- */

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-light);
}

.section h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
}

.section-intro {
  color: var(--text-mid);
  max-width: 58ch;
  margin-bottom: 2.2em;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 28px 24px;
}

.section.alt .card {
  border-color: #E8EAED;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 197, 24, 0.16);
  color: #8A6D0B;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Prose (關於我們) ---------- */

.prose {
  max-width: 62ch;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

/* ---------- 資料表 ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 13px 4px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.info-table th {
  width: 8.5em;
  color: var(--text-mid);
  font-weight: 500;
  white-space: nowrap;
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- Contact ---------- */

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: #8A6D0B;
}

.contact-row .label {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin: 0 0 2px;
}

.contact-row .value {
  margin: 0;
  font-weight: 500;
  word-break: break-word;
}

/* ---------- Footer（Meta 商家驗證用，全站一致） ---------- */

.site-footer {
  background: var(--brand-dark);
  color: #D1D5DB;
  padding: 48px 0 36px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand svg {
  flex-shrink: 0;
  color: var(--brand-yellow);
}

.company-info {
  margin: 0 0 22px;
  max-width: 60ch;
}

.company-info div {
  word-break: break-word;
}

.company-info .k {
  color: #9CA3AF;
}

.site-footer a {
  color: #D1D5DB;
}

.site-footer a:hover {
  color: var(--brand-yellow);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9CA3AF;
  font-size: 0.85rem;
}

/* ---------- 手機 ---------- */

@media (max-width: 560px) {
  .site-header .wrap {
    justify-content: center;
  }

  .nav {
    justify-content: center;
    width: 100%;
  }

  .nav a {
    padding: 7px 11px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 52px 0 58px;
  }

  .section {
    padding: 48px 0;
  }

  .info-table th {
    width: 7em;
  }
}
