/* ================================================================
   天地光養中心 Light Nourish Center
   視覺系統：暖光療癒（溫潤米白 × 琥珀金 × 晨光橘）
   ================================================================ */

:root {
  /* 色彩 */
  --cream:      #FAF6EF;   /* 主背景：溫潤米白 */
  --cream-2:    #F3EBDD;   /* 次背景 */
  --paper:      #FFFDF9;   /* 卡片底 */
  --gold:       #C9962E;   /* 主色：琥珀金 */
  --gold-deep:  #A9791C;   /* 深金（hover） */
  --dawn:       #E8A24C;   /* 晨光橘 */
  --brown:      #6E5A3E;   /* 暖棕（次文字） */
  --ink:        #3A3128;   /* 主文字：暖墨 */
  --ink-soft:   #6B5F51;   /* 輔助文字 */
  --line:       #E7DCC9;   /* 分隔線 */
  --glow:       rgba(232,162,76,.28);

  /* 字型 */
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans:  "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* 尺度 */
  --maxw: 1120px;
  --radius: 18px;
  --shadow: 0 18px 50px -22px rgba(110,90,62,.45);
  --shadow-sm: 0 8px 24px -14px rgba(110,90,62,.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; }

p { margin: 0 0 1.1em; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- 通用區塊 ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }

.eyebrow {
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-bottom: 1em;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: var(--ink); }
.section-head { margin-bottom: clamp(40px, 6vw, 68px); }
.section-desc { color: var(--ink-soft); max-width: 620px; margin: 1em auto 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.lead strong { color: var(--gold-deep); font-weight: 500; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .98rem;
  letter-spacing: .04em; cursor: pointer; transition: all .25s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--dawn));
  color: #fff; box-shadow: 0 10px 26px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px var(--glow); filter: brightness(1.03); }
.btn-ghost { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost:hover { background: var(--gold); color: #fff; }

/* ================= 導覽列 ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,239,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(110,90,62,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--dawn), var(--gold));
  box-shadow: 0 0 0 4px rgba(201,150,46,.14);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-zh { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: .04em; }
.brand-en { font-size: .64rem; letter-spacing: .22em; color: var(--gold-deep); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: .95rem; color: var(--ink-soft); font-weight: 400; transition: color .2s; }
.main-nav a:hover { color: var(--gold-deep); }
.nav-cta {
  padding: 9px 22px; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 500;
}
.nav-cta:hover { background: var(--gold-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -22%; left: 50%; transform: translateX(-50%);
  width: min(920px, 120%); height: 820px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(232,162,76,.30), transparent 70%),
    radial-gradient(closest-side, rgba(201,150,46,.18), transparent 72%);
  filter: blur(6px);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-kicker {
  display: inline-block; font-size: .82rem; letter-spacing: .2em;
  color: var(--gold-deep); font-weight: 500;
  padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,253,249,.6); margin-bottom: 28px;
}
.hero-title { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.hero-sub { max-width: 640px; margin: 28px auto 38px; font-size: 1.12rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-pillars {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 56px 0 0;
}
.hero-pillars li {
  font-family: var(--serif); font-size: 1.05rem; color: var(--gold-deep);
  padding: 10px 26px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* ================= 品牌理念 ================= */
.belief { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.belief .section-title { margin-bottom: 32px; }
.values { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.values h3 { font-size: 1.3rem; color: var(--gold-deep); margin-bottom: 10px; }
.values p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ================= 四大核心 ================= */
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.core-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 26px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.core-icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 50%; font-size: 1.6rem; color: var(--gold-deep);
  background: radial-gradient(circle at 35% 30%, rgba(232,162,76,.22), rgba(201,150,46,.10));
  border: 1px solid var(--line);
}
.core-card h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.core-tag { font-size: .8rem; letter-spacing: .04em; color: var(--gold-deep); margin-bottom: 14px; }
.core-card > p:last-child { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ================= 服務 ================= */
.services { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.service-item {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 30px; transition: border-color .3s, transform .3s;
}
.service-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-no { font-family: var(--serif); font-size: 1.6rem; color: var(--dawn); font-weight: 600; line-height: 1; flex-shrink: 0; }
.service-item h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; }
.service-item p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ================= 設備 ================= */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.equip-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  border-top: 3px solid var(--gold); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.equip-card h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: 6px; }
.equip-role { font-size: .82rem; letter-spacing: .06em; color: var(--gold-deep); font-weight: 500; margin-bottom: 14px; }
.equip-card p { color: var(--ink-soft); font-size: .95rem; }
.equip-meta { margin-top: 14px !important; font-size: .85rem !important; color: var(--dawn) !important; font-weight: 500; }

/* ================= 體驗流程 ================= */
.flow { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.flow-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  counter-reset: none;
}
.flow-steps li {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 24px 12px 12px; box-shadow: var(--shadow-sm);
}
.flow-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
  color: #fff; background: linear-gradient(135deg, var(--gold), var(--dawn)); font-size: .95rem;
}
.flow-steps li p { margin: 0; font-size: .98rem; color: var(--ink); }

/* ================= 適合對象 ================= */
.tag-cloud { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tag-cloud li {
  padding: 11px 22px; border-radius: 999px; font-size: .98rem; color: var(--brown);
  background: var(--paper); border: 1px solid var(--line);
}

/* ================= 定位釐清 ================= */
.stance { background: var(--ink); color: var(--cream); }
.stance-line { letter-spacing: .16em; color: rgba(250,246,239,.55); font-size: .9rem; margin-bottom: 18px; }
.stance-title { font-size: clamp(1.8rem, 4.5vw, 3rem); color: var(--cream); }
.stance-title span {
  color: var(--dawn);
  background: linear-gradient(120deg, var(--dawn), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ================= 聯絡 ================= */
.contact { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.contact-actions { margin: 34px 0 20px; }
.contact-note { font-size: .86rem; color: var(--ink-soft); opacity: .8; }

/* ================= 頁尾 ================= */
.site-footer { background: var(--ink); color: rgba(250,246,239,.72); padding: 60px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(250,246,239,.12); }
.footer-brand .brand-zh { color: var(--cream); font-size: 1.35rem; display: block; }
.footer-brand .brand-en { color: var(--dawn); letter-spacing: .2em; font-size: .7rem; }
.footer-tag { margin-top: 12px; color: rgba(250,246,239,.6); font-size: .92rem; letter-spacing: .1em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-size: .95rem; color: rgba(250,246,239,.72); transition: color .2s; }
.footer-nav a:hover { color: var(--dawn); }
.footer-copy { margin-top: 24px; font-size: .84rem; color: rgba(250,246,239,.45); }
.footer-copy p { margin: 0; }

/* ================= 動畫 ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= 響應式 ================= */
@media (max-width: 900px) {
  .core-grid { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250,246,239,.98); backdrop-filter: blur(14px);
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }
}
@media (max-width: 520px) {
  .core-grid, .equip-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 132px; }
  .brand-en { display: none; }
}
