/* 鳳山水電資訊站：務實、容易維護的在地資訊版型 */
:root {
  --paper: #f7f5ef;
  --surface: #fffefa;
  --ink: #25322e;
  --muted: #65716c;
  --line: #d9ded7;
  --green: #24574f;
  --green-dark: #193e39;
  --brick: #a25138;
  --soft: #eaece5;
  --width: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 system-ui, -apple-system, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
a { color: var(--green); text-underline-offset: 4px; }
a:hover { color: var(--brick); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brick); outline-offset: 4px;
}
button, input { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 40px), var(--width)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 12px; background: white; padding: 8px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
.notice { background: var(--green-dark); color: #f4f4ed; font-size: .8rem; padding: 7px 0; }
.notice .container { display: flex; gap: 8px; align-items: center; }
.notice strong { letter-spacing: .05em; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.3; flex: 0 0 auto; }
.brand-name { font-size: 1.19rem; font-weight: 800; letter-spacing: .04em; }
.brand-sub { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 27px); }
.nav a { color: var(--ink); font-size: .91rem; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; padding: 8px 12px; background: transparent; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); cursor: pointer; }
.eyebrow { color: var(--brick); font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.32; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5.3vw, 4.15rem); font-weight: 800; margin: 0 0 22px; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); margin: 0 0 15px; }
h3 { font-size: 1.12rem; margin: 0 0 10px; }
p { margin: 0 0 18px; }
.lead { font-size: 1.1rem; line-height: 1.9; color: #46524d; max-width: 600px; }
.hero { padding: 74px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(30px, 6vw, 88px); align-items: center; }
.hero h1 span { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.btn { background: var(--green); color: white; text-decoration: none; display: inline-block; padding: 12px 22px; font-weight: 750; border: 1px solid var(--green); }
.btn:hover { background: var(--green-dark); color: #fff; }
.link-plain { font-weight: 700; }
.paper-note { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brick); padding: 27px 30px; box-shadow: 7px 7px 0 #e7e7de; }
.paper-note .note-title { color: var(--green); font-size: .81rem; letter-spacing: .09em; font-weight: 800; margin-bottom: 8px; }
.paper-note ol { padding-left: 22px; margin: 15px 0 0; }
.paper-note li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.paper-note li:last-child { border-bottom: 0; }
.section { padding: 70px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { max-width: 750px; margin-bottom: 30px; }
.section-intro { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { background: var(--surface); border: 1px solid var(--line); padding: 27px; min-height: 210px; display: flex; flex-direction: column; }
.service-card .number { color: var(--brick); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { margin: 18px 0 10px; }
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-card a { font-weight: 800; text-decoration: none; }
.service-card a::after { content: " →"; }
.info-band { background: var(--soft); border-block: 1px solid var(--line); }
.info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.info-layout p { margin-bottom: 12px; }
.small-list { padding-left: 1.3rem; margin: 5px 0 0; }
.small-list li { margin-bottom: 9px; }
.article-head { padding: 55px 0 36px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.breadcrumb { font-size: .83rem; color: var(--muted); margin-bottom: 20px; }
.article { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 48px; padding-block: 54px 80px; }
.article-body h2 { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.6rem; }
.article-body h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.article-body ul { margin: 10px 0 25px; padding-left: 1.5rem; }
.article-body li { margin-bottom: 8px; }
.article-aside { align-self: start; position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--line); padding: 25px; font-size: .9rem; }
.article-aside h3 { margin-bottom: 11px; }
.article-aside a { display: block; padding: 6px 0; }
.callout { padding: 17px 22px; border-left: 4px solid var(--brick); background: #efece4; margin: 25px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 800; padding-block: 8px; }
.faq-item p { color: var(--muted); padding-top: 10px; }
.site-footer { background: var(--green-dark); color: #f1f3ee; padding: 55px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h2, .site-footer h3 { font-size: .98rem; margin: 0 0 13px; }
.site-footer p { color: #d7e3dc; font-size: .9rem; }
.site-footer a { display: block; color: #d7e3dc; font-size: .9rem; padding: 2px 0; }
.footer-bottom { border-top: 1px solid #52716a; color: #d7e3dc; font-size: .8rem; margin-top: 35px; padding-top: 20px; }
@media (max-width: 800px) {
  .container { width: min(calc(100% - 30px), var(--width)); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .menu-toggle { display: inline-block; }
  .nav { width: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 9px 3px; border-bottom: 1px solid var(--line); }
  .hero { padding-block: 46px 54px; }
  .hero-grid, .info-layout, .article, .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-aside { position: static; }
  .section { padding-block: 52px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand-name { font-size: 1.05rem; }
  .grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .paper-note { padding: 23px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .article { padding-block: 35px 54px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
