/* ═══════════════════════════════════════════════════
   禾園備用站（前衛東方版）— 站台專屬樣式
   沿用 variables.css / base.css / typography.css / components.css
   品味憲法：不要框框、深底亮字、icon 左文右、無膠囊徽章
   ═══════════════════════════════════════════════════ */

body { font-family: 'Noto Sans TC', sans-serif; }
h1, h2, h3, .site-title { font-family: 'Noto Serif TC', serif; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--sp-lg);
  background: rgba(247, 245, 241, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  letter-spacing: .1em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo .logo-sub { font-size: 11px; color: var(--accent); letter-spacing: .25em; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: nowrap;
}
.nav-menu a {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: .05em;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
.nav-hamburger { display: none; width: 28px; height: 22px; position: relative; }
.nav-hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  transition: var(--duration-fast);
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 10px; }
.nav-hamburger span:nth-child(3) { top: 20px; }

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: 78%; max-width: 320px;
    background: var(--dark); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: var(--sp-lg); padding: 90px var(--sp-lg) var(--sp-lg);
    transform: translateX(100%); transition: transform var(--duration-normal) var(--ease-out);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { color: #fff; font-size: 16px; opacity: .95; }
  .nav-menu a.tag-label { color: var(--accent-light); font-size: 12px; }
  .nav-hamburger { display: block; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(28,27,24,.5); z-index: 99;
    opacity: 0; pointer-events: none; transition: opacity var(--duration-fast);
  }
  .nav-overlay.open { opacity: 1; pointer-events: all; }
}

/* ── Page Hero ── */
.page-hero {
  background: var(--dark);
  color: var(--bg);
  padding: 100px var(--sp-lg) 70px;
  text-align: center;
}
.page-hero .tag { color: var(--accent-light); }
.page-hero h1 {
  font-size: 38px; font-weight: 500; letter-spacing: .1em; line-height: 1.5;
  color: #fff; margin: var(--sp-sm) 0 var(--sp-md);
}
.page-hero p { color: #d8d3c8; max-width: 640px; margin: 0 auto; line-height: 2; font-size: 14px; }
@media (max-width: 768px) {
  .page-hero { padding: 70px var(--sp-md) 50px; }
  .page-hero h1 { font-size: 26px; }
}

/* ── Section shell (no boxes) ── */
.sec { padding: var(--sp-3xl) 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: none; }
.sec--dark { background: var(--dark); color: var(--bg); border-top: none; }
.sec--dark .title-lg, .sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark p, .sec--dark li { color: #d8d3c8; }
.sec--warm { background: var(--surface-warm); border-top: none; }
.sec-head { max-width: 720px; margin: 0 auto var(--sp-2xl); text-align: center; }
@media (max-width: 768px) { .sec { padding: var(--sp-2xl) 0; } }

/* ── Two-column gold short-line list (特色列表：無膠囊) ── */
.fact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px var(--sp-xl);
  list-style: none;
  margin: var(--sp-lg) 0;
}
.fact-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
}
.sec--dark .fact-list li { color: #eee7d8; }
.fact-list li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 12px; height: 1px; background: var(--accent);
}
@media (max-width: 768px) { .fact-list { grid-template-columns: 1fr; } }

/* ── Process Steps — icon left(~72px) text right ── */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: flex; align-items: flex-start; gap: var(--sp-lg);
  padding: var(--sp-lg) 0; border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-icon {
  flex: 0 0 72px; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.step-icon svg { width: 44px; height: 44px; stroke: var(--accent); fill: none; stroke-width: 1.3; }
.step-body { flex: 1; }
.step-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: nowrap; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--accent); }
.step-title { font-size: 18px; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.step-desc { font-size: 14px; color: var(--mute); line-height: 1.9; margin-top: 6px; }
.step-time { color: var(--accent); font-size: 13px; margin-top: 4px; display: inline-block; }

/* ── Notice article layout ── */
.notice-block { margin-bottom: var(--sp-2xl); }
.notice-block h3 {
  font-size: 19px; letter-spacing: .06em; margin-bottom: var(--sp-sm);
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.notice-block p { font-size: 14px; color: var(--mute); line-height: 2; margin-bottom: 10px; }
.notice-block ul { margin: 10px 0; }
.notice-block ul li {
  position: relative; padding-left: 18px; font-size: 14px; color: var(--mute);
  line-height: 1.9; margin-bottom: 6px;
}
.notice-block ul li::before { content: '·'; position: absolute; left: 0; color: var(--accent); }
.notice-figure { margin: var(--sp-lg) 0; }
.notice-figure img { width: 100%; }
.notice-figure figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; text-align: center; }

/* ── Image fade-in wrapper ── */
.img-fade { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.img-fade.visible { opacity: 1; transform: translateY(0); }

/* ── Case gallery ── */
.case-series { margin-bottom: var(--sp-3xl); }
.case-series-head { margin-bottom: var(--sp-lg); }
.case-series-head .title-md { color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl) var(--sp-lg); }
.case-card { display: flex; flex-direction: column; }
.case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-card h4 { font-size: 16px; margin: var(--sp-sm) 0 6px; letter-spacing: .04em; }
.case-card p { font-size: 13px; color: var(--mute); line-height: 1.9; }
@media (max-width: 768px) { .case-grid { grid-template-columns: 1fr; } }

/* ── Contract summary blocks ── */
.contract-block { margin-bottom: var(--sp-xl); }
.contract-block h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent-dark); }
.sec--dark .contract-block h3 { color: var(--accent-light); }
.contract-block p, .contract-block li { font-size: 14px; line-height: 1.95; }
.warranty-badge {
  display: inline-block; margin-top: var(--sp-sm);
  font-family: 'Cormorant Garamond', serif; font-size: 15px; letter-spacing: .1em; color: var(--accent);
}

/* ── Home entries (四大入口) ── */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }
.entry-card { display: block; padding: var(--sp-lg) 0; border-top: 1px solid var(--line); transition: opacity var(--duration-fast); }
.entry-card:hover { opacity: .7; }
.entry-card .en { font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: .25em; color: var(--accent); display: block; margin-bottom: 6px; }
.entry-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.entry-card p { font-size: 13px; color: var(--mute); line-height: 1.8; }
@media (max-width: 768px) { .entry-grid { grid-template-columns: 1fr 1fr; } }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #d8d3c8; padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg); text-align: center; }
.site-footer .f-brand { font-family: 'Noto Serif TC', serif; font-size: 18px; color: #fff; letter-spacing: .15em; margin-bottom: 6px; }
.site-footer .f-sub { font-size: 12px; color: var(--accent-light); letter-spacing: .2em; margin-bottom: var(--sp-lg); }
.site-footer .f-note { font-size: 12px; color: #a8a296; max-width: 640px; margin: var(--sp-lg) auto 0; line-height: 1.9; }
.site-footer a { color: var(--accent-light); }
.site-footer .f-copy { font-size: 11px; color: #8a8580; margin-top: var(--sp-lg); }

/* ── Standalone bare notice on backup-site status ── */
.backup-notice {
  background: var(--surface-warm); text-align: center; padding: 14px var(--sp-md);
  font-size: 13px; color: var(--mute); letter-spacing: .04em;
}
