/* phoebe 官網樣式
   企業色取自 Logo：墨綠 #01513c、咖啡 #723e27 */
:root {
  --green: #01513c;
  --green-deep: #013d2d;
  --green-mid: #2f6e58;
  --brown: #723e27;
  --sage: #edf3ef;
  --sage-line: #d3e1d8;
  --ink: #1d2a24;
  --muted: #5a6a62;
  --white: #fff;
  --line-green: #06c755;
  --round: "Huninn", "jf open 粉圓", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --sans: "Noto Sans TC", "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: var(--white);
  font: 17px/1.8 var(--sans); letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--round); font-weight: 400; line-height: 1.35; margin: 0 0 .5em; color: var(--green-deep); }
h1 { font-size: clamp(30px, 4.6vw, 50px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 36em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* 頁首 */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--sage-line); backdrop-filter: blur(6px); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: 16px; white-space: nowrap; }
.site-nav a:hover { color: var(--green); background: var(--sage); }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.site-nav a.fb { color: var(--muted); }
.site-nav a.cta { background: var(--green); color: var(--white); padding: 8px 18px; margin-left: 6px; }
.site-nav a.cta:hover { background: var(--green-deep); color: var(--white); }
.nav-toggle { display: none; font: inherit; font-size: 15px; background: none; border: 1px solid var(--green);
  color: var(--green); border-radius: 999px; padding: 4px 16px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 1px solid var(--sage-line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--sage); }
  .site-nav a.cta { margin: 12px 0 0; text-align: center; border-radius: 999px; border: 0; }
}

/* 按鈕 */
.btn { display: inline-block; text-decoration: none; font-weight: 500; padding: 12px 26px; border-radius: 999px;
  border: 2px solid transparent; line-height: 1.4; }
.btn-line { background: var(--line-green); color: var(--white); }
.btn-line:hover { background: #05a548; }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--sage); }
.btn-light { background: var(--white); color: var(--green-deep); }
.btn-light:hover { background: var(--sage); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 500; }

/* 首頁主視覺：健康餐盤 */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .6em; }
.hero-plate { margin: 0; text-align: center; }
.hero-plate figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plate { width: 100%; max-width: 440px; display: block; margin: 0 auto; }
.plate text { font-family: var(--round); font-size: 19px; fill: var(--white); pointer-events: none; }
.plate-part path { transition: opacity .2s; }
.plate-part:hover path, .plate-part:focus path { opacity: .82; }
.plate-part:focus { outline: none; }
.plate-part:focus-visible path { stroke: var(--brown); stroke-width: 4; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plate { max-width: 340px; margin: 0 auto; }
}

/* 區塊 */
.band { padding: clamp(48px, 6vw, 80px) 0; }
.band-sage { background: var(--sage); }
.page-head { background: var(--sage); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 4px solid var(--brown); }
.page-head .lead { margin-bottom: 0; }
.prose { max-width: 40em; }

/* 首頁服務列 */
.svc-rows { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.svc-rows li { padding: 24px 0; border-top: 1px solid var(--sage-line); }
.svc-rows h3 { margin-bottom: .3em; }
.svc-rows h3 a { text-decoration: none; color: var(--green-deep); }
.svc-rows h3 a:hover { color: var(--brown); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tags span { font-size: 14px; color: var(--green); background: var(--sage); border-radius: 999px; padding: 2px 12px; }
@media (max-width: 760px) { .svc-rows { grid-template-columns: 1fr; } }

/* 首頁實績 */
.case-mini { list-style: none; padding: 0; margin: 20px 0 24px; max-width: 46em; }
.case-mini li { padding: 14px 0 14px 20px; border-left: 3px solid var(--brown); margin-bottom: 12px; background: var(--white); padding-right: 20px; border-radius: 0 8px 8px 0; }
.case-mini strong { display: block; color: var(--brown); font-weight: 700; }

/* 步驟（真的有先後順序） */
.steps { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 60px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white); font-family: var(--round); font-size: 22px; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: var(--sage-line); }
.steps h3 { font-size: 19px; margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: 16px; }
.steps-long { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps li { padding: 0 0 12px 64px; min-height: 56px; }
  .steps li:not(:last-child)::after { top: 52px; left: 21px; right: auto; width: 2px; height: calc(100% - 52px); }
}

/* CTA 色帶 */
.cta-band { background: var(--green); color: var(--white); padding: 40px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-row p { font-family: var(--round); font-size: clamp(20px, 2.4vw, 26px); margin: 0; }

/* 關於 */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; margin: 24px 0 0; }
.principles div { border-top: 3px solid var(--green); padding-top: 14px; }
.principles dt { font-family: var(--round); font-size: 22px; color: var(--green-deep); }
.principles dd { margin: 4px 0 0; color: var(--muted); }
.area { font-family: var(--round); font-size: 22px; color: var(--green); }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } }

/* 團隊 */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 28px; }
.team li { text-align: center; }
.avatar { width: 160px; height: 160px; margin: 0 auto 16px; border-radius: 50%; background: var(--sage);
  border: 3px solid var(--brown); display: grid; place-items: center; overflow: hidden; }
.avatar span { color: var(--muted); font-size: 15px; }
.team h2 { font-size: 21px; margin-bottom: .2em; }
.team .role { color: var(--brown); margin-bottom: .3em; }
.team p { font-size: 15px; color: var(--muted); }

/* 服務內容 */
.svc-detail { display: grid; gap: 0; }
.svc { padding: 40px 0; border-top: 1px solid var(--sage-line); display: grid; grid-template-columns: 260px 1fr; column-gap: 48px; scroll-margin-top: 90px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h2 { grid-row: span 6; align-self: start; border-left: 5px solid var(--green); padding-left: 16px; }
.svc:nth-child(3) h2 { border-color: var(--brown); }
.svc h3 { font-size: 17px; color: var(--brown); margin: 12px 0 2px; font-family: var(--sans); font-weight: 700; }
.svc ul { margin: 0; padding-left: 1.2em; columns: 2; }
.svc > p { max-width: 38em; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc h2 { grid-row: auto; } .svc ul { columns: 1; } }

/* 實績 */
.cases { list-style: none; padding: 0; margin: 0 0 28px; max-width: 50em; }
.cases li { padding: 28px 0; border-bottom: 1px solid var(--sage-line); }
.cases li:first-child { padding-top: 0; }
.cases .case-tag { display: inline-block; font-size: 14px; color: var(--brown); background: #f3e9e3; border: 1px solid #e2cbbd; border-radius: 999px; padding: 1px 12px; margin-bottom: 10px; }
.cases h2 { font-size: 22px; }
.cases p { color: var(--ink); }

/* 預約 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-line { text-align: center; background: var(--sage); border-radius: 20px; padding: 36px 24px; }
.contact-line img { display: block; margin: 8px auto 12px; border-radius: 8px; }
.contact-info dl, .foot-contact dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0 0 24px; }
.contact-info dt { color: var(--brown); font-weight: 700; }
.contact-info dd { margin: 0; }
.contact-info h3 { margin-top: 12px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* 頁尾 */
.site-foot { background: var(--green-deep); color: #dce8e1; padding: 56px 0 24px; font-size: 15px; }
.site-foot a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: start; }
.foot-brand img { background: var(--white); border-radius: 16px; padding: 14px; }
.foot-contact h2 { color: var(--white); font-size: 22px; }
.foot-contact dt { color: #a9c7b7; }
.foot-contact dd { margin: 0; }
.foot-line { text-align: center; }
.foot-line img { background: var(--white); border-radius: 10px; }
.foot-line p { margin-top: 8px; }
.copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 16px; font-size: 13px; color: #a9c7b7; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand img { width: 160px; } .foot-line { text-align: left; } }
