/* =====================================================================
   允鑽 / 允鼎 電子名片 — 樣式
   風格：象牙暖底 ‧ 襯線 ‧ 金線細節 ‧ Logo 徽章同底色＋灰色陰影框
   ===================================================================== */

:root {
  --ink:    #2c2821;   /* 主要文字 */
  --dim:    #6f6657;   /* 次要文字 */
  --gold:   #b2924f;   /* 金線細節 */
  --ivory:  #f5efe3;   /* 卡片象牙底 */
  --cream:  #fbf7ef;   /* 區塊底（略亮） */
  --edge:   #e6dcc6;   /* 細邊框 */
  --line:   #06985a;   /* LINE 綠 */
  --line-d: #057a48;

  --fs-base: 1.12rem;
  --fs-lg:   1.3rem;

  --radius: 16px;
  --maxw:   430px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Noto Serif SC", "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  color: var(--ink);
  font-size: var(--fs-base);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: clamp(16px, 4vw, 36px);
  background: radial-gradient(1000px 500px at 50% 0, #fbf7ef, #efe7d6);
  -webkit-font-smoothing: antialiased;
}

/* ── 卡片 ─────────────────────────────────────────────── */
.card {
  width: 100%;
  max-width: var(--maxw);
  background: var(--ivory);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(80, 66, 40, .18);
}

/* ── 頁首：品牌組合 ───────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(28px, 6vw, 38px) 22px clamp(18px, 4vw, 24px);
}
.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brands {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Logo 區（無外框，直接呈現） */
.brand__logo {
  width: 72px;
  height: 58px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__logo img { height: 100%; width: auto; max-width: 100%; }
.brand__mark {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(135deg, #8a8f96, #eef1f4 45%, #9aa0a8 70%, #c8ccd2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink);
}
.suffix {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.35;
  color: var(--ink);
}

.hero__tagline {
  margin-top: 18px;
  font-size: var(--fs-lg);
  color: var(--dim);
  letter-spacing: .14em;
}
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.rule::before, .rule::after { content: ""; height: 1px; width: 64px; }
.rule::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.rule::after  { background: linear-gradient(90deg, var(--gold), transparent); }
.rule span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* ── 共用資訊 ─────────────────────────────────────────── */
.shared {
  padding: 0 clamp(18px, 4vw, 22px) clamp(20px, 5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 聯絡大按鈕（電話 / 地址）—— 字級一致 */
.contact {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 15px 18px;
  background: var(--cream);
  border: 1px solid var(--edge);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.contact:hover { background: #f4ecdd; }
.contact:active { transform: scale(.985); }
.contact__icon {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #efe7d6;
  color: var(--gold);
  border: 1px solid #e3d7bd;
}
.contact__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact__label { font-size: .9rem; color: var(--dim); }
.contact__value { font-weight: 700; font-size: var(--fs-lg); letter-spacing: .03em; line-height: 1.3; }

/* 服務項目 */
.services {
  background: var(--cream);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.services__title { font-size: 1.18rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 16px; }
.services__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.services__list li {
  font-size: 1.02rem;
  padding: 6px 0;
  border-bottom: 1px solid #ece2cd;
}

/* LINE 按鈕 */
.line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  background: var(--line);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  letter-spacing: .1em;
  box-shadow: 0 10px 24px rgba(6, 152, 90, .25);
  transition: background .15s, transform .1s;
}
.line-btn:hover { background: var(--line-d); }
.line-btn:active { transform: scale(.985); }
.line-btn--disabled {
  background: var(--cream);
  color: var(--dim);
  border: 1px solid var(--edge);
  box-shadow: none;
  cursor: default;
}

/* ── 底部：統一編號 + 版權 ────────────────────────────── */
.foot {
  text-align: center;
  padding: 18px 16px;
  border-top: 1px solid var(--edge);
}
.foot__tax {
  font-size: .95rem;
  color: var(--dim);
  letter-spacing: .03em;
}
.foot__tax b { color: var(--ink); font-weight: 700; }
.foot__copy {
  margin-top: 6px;
  font-size: .82rem;
  color: #9a8f7a;
  letter-spacing: .05em;
}

/* ── 響應式：手機 ─────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --fs-base: 1.18rem; --fs-lg: 1.36rem; }
  .lockup { flex-direction: column; gap: 10px; }
  .brands { align-items: flex-start; }
  .services__list { grid-template-columns: 1fr; }
  .foot__tax { font-size: 1rem; }
}
