/* 兆昇明能源 預覽站 v1 */
:root {
  --ink: #14211f;
  --ink-2: #44534f;
  --muted: #6b7a76;
  --line: #dbe3e0;
  --bg: #ffffff;
  --bg-soft: #f3f7f5;
  --brand: #0e7c66;
  --brand-dark: #0a2e2a;
  --brand-deep: #071f1c;
  --accent: #e8a33d;
  --accent-ink: #3a2706;
  --radius: 12px;
  --wrap: 1120px;
  --font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: .02em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 預覽提示列 */
.preview-bar {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
}

/* 頁首 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--brand-deep);
  color: #fff;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .04em; white-space: nowrap; }
.brand-sub { display: block; font-size: 11px; font-weight: 400; color: #9fc4bb; letter-spacing: .12em; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: #d6e7e2; text-decoration: none; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav a.nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-left: 6px; }
.nav a.nav-cta:hover { background: #f0b456; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer;
}

/* 主視覺 */
.hero {
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(14,124,102,.45), transparent 60%),
    linear-gradient(160deg, var(--brand-deep), var(--brand-dark) 60%, #0c3a33);
  color: #fff;
  padding: 88px 0 96px;
}
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .14em; font-size: 14px; margin-bottom: 14px; }
.hero p.lead { color: #cfe3dd; font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; font-size: 16px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f0b456; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

.page-hero {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand-dark));
  color: #fff; padding: 56px 0 60px;
}
.page-hero p { color: #cfe3dd; font-size: 17px; max-width: 720px; margin: 0; }
.crumb { font-size: 13px; color: #9fc4bb; margin-bottom: 10px; }
.crumb a { color: #9fc4bb; }

/* 區塊 */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); margin: 0; }
.kicker { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .1em; margin-bottom: 6px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card p { color: var(--ink-2); margin: 0; }
.card h3 { margin-bottom: 8px; }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 16px; color: var(--brand); font-weight: 700; font-size: 15px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: #e3f2ee; color: var(--brand);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card-icon svg { width: 24px; height: 24px; }
.num {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .06em;
}

/* 流程 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.steps li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px;
}
.steps .step-no {
  grid-row: span 3; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
.steps h3 { margin: 0; font-size: 17px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps .out { color: var(--brand); font-size: 14px; font-weight: 700; }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
caption { text-align: left; padding: 14px 18px 0; font-weight: 700; color: var(--ink); }
th, td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-soft); font-size: 14px; color: var(--ink-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
td.num-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }

.note {
  border-left: 4px solid var(--accent); background: #fdf6ea; color: #5a4520;
  padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 14px; margin: 20px 0 0;
}
.note p { margin: 0; }
.note p + p { margin-top: 6px; }

.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-2); }
.check li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

.split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }

/* 行動呼籲 */
.cta {
  background: linear-gradient(135deg, var(--brand), #0b5f4f);
  color: #fff; border-radius: 16px; padding: 40px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #d7efe8; }

/* 聯絡 */
.placeholder { color: var(--muted); font-style: normal; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 6px; padding: 1px 8px; }
dl.contact { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
dl.contact dt { font-weight: 700; color: var(--ink-2); }
dl.contact dd { margin: 0; }

/* 常見問題 */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 22px; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 16px; color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 8px; }

/* 實體宣告 */
.entity { font-size: 17px; color: var(--ink-2); max-width: 860px; }
.entity strong { color: var(--ink); }

/* 文章 */
.article { max-width: 820px; }
.article h2 { margin-top: 1.6em; }
.article p, .article li { color: var(--ink-2); }

/* 頁尾 */
.site-footer { background: var(--brand-deep); color: #9fb8b2; font-size: 14px; padding: 44px 0 28px; margin-top: 0; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.site-footer a { color: #cfe3dd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* 手機 */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--brand-deep);
    padding: 8px 16px 16px; border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.nav-cta { margin: 6px 0 0; text-align: center; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 52px 0; }
  .cta { padding: 28px 22px; }
  .card { padding: 20px; }
  .brand-sub { display: none; }
}
