/* =========================================
   大哥榴槤 Durian Brother — 全站樣式
   色系參考 logo：奶油米 + 深綠 + 金黃 + 棕
   ========================================= */

:root {
  --cream: #F8EFD4;
  --cream-light: #FDF8E8;
  --cream-dark: #F0E2B0;
  --green-dark: #2D4A1F;
  --green: #4A6B3A;
  --green-olive: #6B7F3A;
  --green-light: #8FA868;
  --gold: #E5B23E;
  --gold-dark: #C9962A;
  --brown: #8B5A2B;
  --brown-dark: #5C3A1A;
  --ink: #1F2A12;
  --ink-soft: #4A5236;
  --shadow: 0 8px 30px rgba(45, 74, 31, 0.12);
  --shadow-soft: 0 4px 14px rgba(45, 74, 31, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-zh: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", "STHeiti", serif;
  --font-en: "Playfair Display", "Georgia", serif;
  --font-sans-zh: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-sans-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans-zh);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: var(--font-sans-en);
}

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

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-zh);
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-dark);
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 {
  font-family: var(--font-en);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 頂部導航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 239, 212, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 107, 58, 0.12);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-zh);
  font-weight: 700;
  font-size: 20px;
  color: var(--green-dark);
}
html[lang="en"] .brand { font-family: var(--font-en); }
.brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .zh { font-size: 18px; }
.brand-text .en { font-size: 11px; color: var(--brown); letter-spacing: 1px; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.lang-switch {
  display: flex;
  background: var(--green-dark);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}
.lang-switch button {
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.lang-switch button.active {
  background: var(--gold);
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--green-dark);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(74,107,58,0.12); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

/* ============ Hero 主視覺 ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 20% 30%, rgba(229, 178, 62, 0.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(74, 107, 58, 0.15), transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='%23E5B23E' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-text .eyebrow {
  display: inline-block;
  background: var(--green-dark);
  color: var(--cream);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.hero-text h1 .accent { color: var(--gold-dark); display: block; font-size: 0.7em; letter-spacing: 4px; }
.hero-text p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--cream);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: var(--font-en);
  display: block;
  line-height: 1;
}
.stat .lbl { font-size: 13px; color: var(--ink-soft); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .logo-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  background: var(--cream-light);
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(45, 74, 31, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 6px solid var(--cream-light);
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}
.hero-visual .logo-frame img { width: 90%; height: 90%; object-fit: contain; }
.hero-visual .badge {
  position: absolute;
  background: var(--cream-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge.top { top: 8%; right: -8%; }
.badge.bottom { bottom: 12%; left: -6%; }
.badge .dot { width: 8px; height: 8px; background: #58B368; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(88, 179, 104, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(88, 179, 104, 0); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .badge.top { right: 4%; }
  .badge.bottom { left: 4%; }
}

/* ============ 通用區段 ============ */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .eyebrow {
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ============ 特色卡片 ============ */
.features {
  background: var(--cream-light);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(74, 107, 58, 0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-olive));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; }

/* ============ 產品卡片 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(74, 107, 58, 0.1);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img svg { width: 60%; height: 60%; }
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green-dark);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.product-tag.hot { background: #C84A3A; color: var(--cream); }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 22px; margin-bottom: 6px; }
.product-body .origin { color: var(--brown); font-size: 13px; margin-bottom: 12px; font-style: italic; }
.product-body p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-meta-single { justify-content: center; }
.product-cta { width: 100%; justify-content: center; }
.product-price { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: var(--gold-dark); }
.product-price small { font-size: 12px; color: var(--ink-soft); font-weight: 400; }

/* ============ 流程 ============ */
.steps { background: var(--green-dark); color: var(--cream); }
.steps .section-head h2 { color: var(--cream); }
.steps .section-head p { color: rgba(248, 239, 212, 0.75); }
.steps .section-head .eyebrow { color: var(--gold); }
.steps .section-head h2::after { background: var(--gold); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step {
  text-align: center;
  position: relative;
  padding: 20px;
}
.step-num {
  width: 60px; height: 60px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 4px solid rgba(229, 178, 62, 0.2);
}
.step h3 { color: var(--cream) !important; margin-bottom: 8px; font-size: 20px; }
.step p { color: rgba(248, 239, 212, 0.75); font-size: 14px; }

/* ============ 客戶評價 ============ */
.testimonials { background: var(--cream-light); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi {
  background: var(--cream);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(74, 107, 58, 0.1);
  position: relative;
}
.testi::before {
  content: "❝";
  position: absolute;
  top: 0; right: 16px;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}
.testi p { color: var(--ink); font-size: 15px; margin-bottom: 16px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-olive);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-en);
}
.testi-name { font-weight: 600; color: var(--green-dark); }
.testi-loc { font-size: 12px; color: var(--ink-soft); }
.stars { color: var(--gold); margin-bottom: 8px; }

/* ============ FAQ ============ */
.faq { background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--cream-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid rgba(74, 107, 58, 0.1);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  font-size: 24px;
  color: var(--gold-dark);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 28px;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 28px 22px; }
.faq-a p { color: var(--ink-soft); }

/* ============ CTA ============ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(229, 178, 62, 0.2), transparent 60%);
}
.cta-section h2 { color: var(--cream); font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(248, 239, 212, 0.85); font-size: 17px; margin-bottom: 32px; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn { position: relative; }
.cta-section .btn-gold { font-size: 16px; padding: 16px 40px; }

/* ============ 表單 ============ */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream-light);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(74, 107, 58, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--green-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(74, 107, 58, 0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.form-success {
  display: none;
  background: #E8F5E9;
  border: 2px solid #58B368;
  color: #2E7D32;
  padding: 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ============ 頁腳 ============ */
.site-footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); }
.footer-brand .name { font-family: var(--font-zh); font-size: 20px; font-weight: 700; }
html[lang="en"] .footer-brand .name { font-family: var(--font-en); }
.footer-about { color: rgba(248, 239, 212, 0.7); font-size: 14px; line-height: 1.7; max-width: 360px; }
.footer-col h4 { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(248, 239, 212, 0.75); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { color: rgba(248, 239, 212, 0.75); font-size: 14px; }
.footer-contact div { margin-bottom: 8px; }
.footer-contact strong { color: var(--cream); display: block; font-size: 12px; letter-spacing: 1px; margin-bottom: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(248, 239, 212, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(248, 239, 212, 0.55);
}

/* ============ 頁面 Hero（內頁） ============ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--cream);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(229, 178, 62, 0.18), transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero .crumb { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.page-hero h1 { color: var(--cream); font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.page-hero p { color: rgba(248, 239, 212, 0.85); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ============ 資訊卡 (物流/售後) ============ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; gap: 20px; }
}
.info-card {
  background: var(--cream-light);
  border: 1px solid rgba(74, 107, 58, 0.12);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green-olive));
}
.info-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--green-dark);
}
.info-card .info-icon {
  width: 40px; height: 40px;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.info-card .info-intro {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(74, 107, 58, 0.15);
}
.info-list { list-style: none; padding: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 107, 58, 0.08);
  font-size: 14px;
  line-height: 1.6;
}
.info-list li:last-child { border-bottom: none; }
.info-list .lbl {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.info-list .desc { color: var(--ink-soft); }
@media (max-width: 500px) {
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .info-list .lbl { font-size: 12px; }
}

/* ============ 時間軸 ============ */
.timeline { max-width: 720px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 30px; top: 0; bottom: 0;
  width: 2px;
  background: var(--green-olive);
}
.timeline-item { position: relative; padding-left: 80px; margin-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px; top: 4px;
  width: 22px; height: 22px;
  background: var(--gold);
  border: 4px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--green-dark);
}
.timeline-year { font-family: var(--font-en); font-size: 14px; color: var(--gold-dark); font-weight: 700; letter-spacing: 1px; }
.timeline-item h3 { font-size: 20px; margin: 4px 0 8px; }
.timeline-item p { color: var(--ink-soft); }

/* ============ 關於區 ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-img {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-olive), var(--green-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.about-img img { width: 80%; height: 80%; object-fit: contain; position: relative; z-index: 1; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; font-size: 16px; }
.about-text .signature { font-family: var(--font-en); font-size: 22px; color: var(--gold-dark); font-style: italic; margin-top: 20px; }

/* ============ 動畫 ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* 防止 JS 失效 / 慢載入時元素永久隱藏 */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
/* 兜底：3 秒後未觀察到的元素強制顯示 */
.fade-in.fallback-show { opacity: 1; transform: none; }

/* ============ WhatsApp 浮動按鈕 ============ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: inherit;
}
.wa-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  position: relative;
  flex-shrink: 0;
}
.wa-float-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-float:hover .wa-float-btn {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  display: block;
}
.wa-float-label {
  background: #fff;
  color: #075E54;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
}
.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}
.wa-float-label::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}
@media (max-width: 600px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
  }
  .wa-float-label { display: none; }
  .wa-float-btn { width: 56px; height: 56px; }
  .wa-float svg { width: 28px; height: 28px; }
}
