/* =========================================================
   鮮豐肉品 — 樣式表
   配色：暗紅(品牌) × 溫暖中性 × 奶油底
   要改主色，改下面 :root 的 --brand 即可全站套用。
   ========================================================= */

:root {
  --brand: #9e1b2f;         /* 👉 可修改：品牌主色（暗紅） */
  --brand-dark: #7a1523;
  --brand-soft: #f4e3e2;
  --ink: #241c1c;           /* 主要文字 */
  --ink-soft: #5c5150;      /* 次要文字 */
  --cream: #fbf7f2;         /* 頁面底色 */
  --paper: #ffffff;
  --line: #ece3da;
  --gold: #c99a4b;          /* 點綴金 */
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(60, 20, 20, .25);
  --container: 1120px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei",
          "Heiti TC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

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

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(158, 27, 47, .6);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(90, 60, 60, .25);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- 導覽列 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: .55em; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
}
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .5em .8em;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav .nav-cta {
  margin-left: 6px;
  background: var(--brand);
  color: #fff;
}
.nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 主視覺 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 82% 12%, rgba(201, 154, 75, .18), transparent 60%),
    radial-gradient(70% 90% at 8% 90%, rgba(158, 27, 47, .12), transparent 60%),
    linear-gradient(180deg, #fff, var(--cream));
  z-index: -1;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .82rem;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: .01em;
}
.lead {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 1em 0 1.8em;
}
.lead strong { color: var(--ink); font-weight: 700; }

/* 主視覺地址／地段亮點 */
.hero-location {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0 0;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  box-shadow: 0 8px 22px -14px rgba(60, 20, 20, .4);
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.hero-location:hover { border-color: var(--brand); transform: translateY(-2px); }
.hero-location .hl-pin { font-size: 1.1rem; flex-shrink: 0; }
.hero-location strong { color: var(--brand); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 42px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats strong {
  display: block;
  font-size: 1.7rem;
  color: var(--brand);
  font-weight: 800;
}
.hero-stats span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- 區塊通用 ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: 72px; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto clamp(34px, 5vw, 52px); text-align: center; }
.kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: .78rem;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.section-sub { color: var(--ink-soft); margin: .4em 0 0; }

/* ---------- 關於我們 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.about-text .kicker { text-align: left; }
.check-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mini-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .2s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-icon { font-size: 1.7rem; }
.mini-card h3 { font-size: 1.08rem; margin: .5em 0 .3em; }
.mini-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* ---------- 雙區冷凍倉儲 ---------- */
.storage-highlight {
  margin-top: clamp(38px, 6vw, 64px);
  background: linear-gradient(135deg, #3a2422, var(--ink));
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.storage-head { max-width: 660px; margin-bottom: clamp(22px, 3vw, 32px); }
.storage-head .kicker { text-align: left; color: var(--gold); }
.storage-head h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  margin: 0 0 .4em;
}
.storage-head p { color: #cdbfba; margin: 0; }
.storage-head strong { color: #fff; }
.storage-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.storage-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.storage-icon { font-size: 2rem; }
.storage-card h4 { color: #fff; font-size: 1.18rem; margin: .5em 0 .35em; }
.storage-card p { color: #cdbfba; margin: 0; font-size: .93rem; }
@media (max-width: 640px) {
  .storage-cards { grid-template-columns: 1fr; }
}

/* ---------- 產品品項 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-soft);
}
.product-thumb {
  font-size: 2.6rem;
  width: 78px; height: 78px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
}
.product-card h3 { font-size: 1.15rem; margin: 0 0 .35em; }
.product-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ---------- 批發優勢 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--brand);
}
.feature-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .05em;
}
.feature h3 { margin: .35em 0 .4em; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); }

.wholesale-cta {
  margin-top: 40px;
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 34px clamp(24px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wholesale-cta h3 { margin: 0 0 .3em; font-size: 1.5rem; }
.wholesale-cta p { margin: 0; opacity: .9; }
.wholesale-cta .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.wholesale-cta .btn-primary:hover { background: #fbeaea; }

/* ---------- 服務對象 ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.client-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.1rem;
}
.client-item span { font-size: 1.7rem; }

/* ---------- 周邊走走・看飛機 ---------- */
.spot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.spot-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.spot-icon { font-size: 2.2rem; }
.spot-card h3 {
  margin: .45em 0 .4em;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.spot-tag {
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
}
.spot-card > p { color: var(--ink-soft); margin: 0 0 16px; }
.spot-note {
  background: #fdf6e9;
  border: 1px solid #eeddba;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.65;
}
.spot-note strong { color: var(--brand); }
.spot-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.spot-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.spot-links a:hover { background: var(--brand); color: #fff; }
@media (max-width: 760px) {
  .spot-grid { grid-template-columns: 1fr; }
}

/* ---------- 聯絡 / 詢價 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}
.contact-info .kicker { text-align: left; }
.contact-list { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  font-size: 1.2rem;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border-radius: 12px;
  flex-shrink: 0;
}
.ci-label { display: block; font-size: .78rem; color: var(--ink-soft); letter-spacing: .05em; }
.contact-list a { font-weight: 700; color: var(--brand); }

/* 地址 + 地圖按鈕 */
.ci-addr { display: block; font-weight: 700; color: var(--ink); }
.contact-list a.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: .9rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px -8px rgba(158, 27, 47, .7);
  transition: background .2s, transform .15s;
}
.contact-list a.map-btn:hover { background: var(--brand-dark); }
.contact-list a.map-btn:active { transform: translateY(1px); }

/* 營業時間兩行顯示 */
.ci-hours { display: block; font-weight: 700; color: var(--ink); }
.ci-hours-sub { display: block; margin-top: 2px; font-size: .85rem; color: var(--ink-soft); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow);
  scroll-margin-top: 84px; /* 錨點捲動時避開固定導覽列 */
}
.contact-form h3 { font-size: 1.4rem; margin: 0 0 1em; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(158, 27, 47, .12);
  background: #fff;
}
.field textarea { resize: vertical; }
.field input.invalid,
.field textarea.invalid { border-color: #d84343; background: #fdf0f0; }
.form-hint { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.form-hint.success { color: #1f8a4c; font-weight: 700; }

/* 零售提示區塊 + LINE 按鈕 */
.form-notice {
  margin: 4px 0 16px;
  padding: 16px 18px;
  background: var(--brand-soft);
  border: 1px solid #e8c9c9;
  border-radius: 14px;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.65;
}
.form-notice .line-btn { margin-top: 12px; }
.line-btn { background: #06c755; box-shadow: 0 8px 20px -8px rgba(6, 199, 85, .6); }
.line-btn:hover { background: #05b34c; }

/* ---------- 頁尾 ---------- */
.site-footer {
  background: var(--ink);
  color: #e9dede;
  padding: 48px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px 40px;
  align-items: start;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: .5em 0 0; color: #b8a9a9; font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-nav a { color: #d8cccc; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #a89a9a;
  font-size: .85rem;
}

/* ---------- RWD ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    transform: translateY(-140%);
    transition: transform .28s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 10px; border-radius: 10px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .product-grid,
  .feature-grid,
  .client-grid,
  .about-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

/* 尊重使用者的動畫偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
