/* ─────────────────────────────────────────────
   全站共用樣式 — 暖色調 / 信任感 / 居家照護品牌
   ───────────────────────────────────────────── */

:root {
  --brand: #E27D5A;          /* 主色：溫暖橘紅 */
  --brand-dark: #C5613E;
  --brand-soft: #FDF1EA;
  --accent: #3B8C8C;         /* 副色：穩重藍綠 */
  --accent-soft: #E6F2F2;
  --ink: #2A2A2A;
  --ink-soft: #5C5C5C;
  --line: #EAE2DA;
  --bg: #FBF7F2;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 頂部導覽 ───────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #F2A07A 100%);
  display: grid; place-items: center;
  color: white; font-weight: 900;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink); font-weight: 500;
}
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta {
  background: var(--brand);
  color: white !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column;
    padding: 20px; gap: 16px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── Hero ──────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span {
  color: var(--brand-dark);
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer; transition: all .2s;
}
.btn-primary {
  background: var(--brand); color: white;
}
.btn-primary:hover { background: var(--brand-dark); color: white; }
.btn-outline {
  background: white; color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #F8D9C7 0%, #C9E1E1 100%);
  display: grid; place-items: center;
  box-shadow: 0 30px 60px -20px rgba(226,125,90,.35);
}
.hero-visual .illu {
  width: 75%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.08));
}

.hero-trust {
  margin-top: 28px;
  display: flex; gap: 24px; flex-wrap: wrap;
  color: var(--ink-soft); font-size: 14px;
}
.hero-trust b { color: var(--ink); font-size: 20px; display: block; }

@media (max-width: 860px) {
  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
}

/* ── 區塊通用 ────────────────────────────── */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  color: var(--brand-dark);
  font-weight: 700; letter-spacing: 2px;
  font-size: 13px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -0.3px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ── 服務三大類卡片 ──────────────────────────── */
.services {
  background: white;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc-card {
  position: relative;
  padding: 36px 30px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all .25s;
  display: flex; flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.12);
  border-color: var(--brand);
}
.svc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 30px;
  margin-bottom: 20px;
  background: var(--brand-soft);
}
.svc-card.accent .svc-icon { background: var(--accent-soft); }
.svc-card h3 {
  font-size: 22px; margin: 0 0 12px; font-weight: 800;
}
.svc-card p { color: var(--ink-soft); margin: 0 0 20px; flex-grow: 1; }
.svc-card .price {
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 16px;
}
.svc-card .price b { color: var(--brand-dark); font-size: 22px; font-weight: 800; }
.svc-card .svc-link {
  font-weight: 700; color: var(--brand-dark);
  display: inline-flex; align-items: center; gap: 4px;
}
.svc-card .svc-link:hover { gap: 8px; }
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── 服務流程 ────────────────────────────── */
.process {
  background: var(--brand-soft);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: white;
  padding: 32px 24px;
  border-radius: 18px;
  position: relative;
  text-align: center;
}
.step-num {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background: var(--brand); color: white;
  border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 16px -4px rgba(226,125,90,.5);
}
.process-step h4 { margin: 14px 0 10px; font-size: 18px; font-weight: 800; }
.process-step p { color: var(--ink-soft); font-size: 14px; margin: 0; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── 為什麼選擇我們 ──────────────────────────── */
.why {
  background: white;
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 0; }
.why-list .ico {
  flex: 0 0 44px; height: 44px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
}
.why-list h4 { margin: 0 0 4px; font-size: 17px; }
.why-list p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.why-visual {
  border-radius: 24px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #C9E1E1 0%, #E6F2F2 100%);
  display: grid; place-items: center;
  font-size: 80px;
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── 見證 ──────────────────────────── */
.testi { background: var(--bg); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: white;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.testi-stars { color: #F4B940; margin-bottom: 14px; }
.testi-text {
  color: var(--ink); font-size: 15px; margin: 0 0 22px;
  line-height: 1.75;
}
.testi-meta {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-soft); display: grid; place-items: center;
  font-weight: 800; color: var(--brand-dark);
}
.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { color: var(--ink-soft); font-size: 13px; }
@media (max-width: 860px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ─────────────────────────────── */
.faq { background: white; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 22px 0;
  font-size: 17px; font-weight: 700;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q .icon { color: var(--brand); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA Banner ──────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, #D86A48 100%);
  color: white;
  border-radius: 28px;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  margin: 0 0 -80px;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px -30px rgba(226,125,90,.55);
}
.cta-banner h2 { font-size: 30px; margin: 0 0 12px; }
.cta-banner p { margin: 0; opacity: .95; font-size: 17px; }
.cta-banner .btn-primary {
  background: white; color: var(--brand-dark);
}
.cta-banner .btn-primary:hover { background: #fff8f3; color: var(--brand-dark); }
.cta-actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 860px) {
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-actions { justify-content: center; }
}

/* ── Footer ──────────────────────────── */
.site-footer {
  background: #2B2724;
  color: #C9C2BB;
  padding: 140px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #3F3936;
}
.footer-grid h5 {
  color: white; font-size: 15px; margin: 0 0 18px; font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #C9C2BB; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-about p { font-size: 14px; line-height: 1.8; margin: 0 0 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #3F3936; display: grid; place-items: center;
  color: white;
}
.footer-bottom {
  padding-top: 26px;
  font-size: 13px; color: #8E8881;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 子頁 hero ────────────────────────── */
.page-hero {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--brand-soft) 0%, transparent 100%);
}
.page-hero .breadcrumb {
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--ink-soft); }
.page-hero h1 { font-size: 38px; margin: 0 0 14px; font-weight: 800; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 720px; margin: 0; }

/* ── 子頁內容 ───────────────────────── */
.content-grid {
  display: grid; grid-template-columns: 1.8fr 1fr;
  gap: 50px;
}
.content-main h2 { font-size: 26px; margin: 40px 0 16px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 20px; margin: 28px 0 12px; }
.content-main p, .content-main li { color: var(--ink-soft); line-height: 1.9; }

.feature-card {
  background: white; border: 1px solid var(--line);
  padding: 24px; border-radius: 16px;
  margin: 16px 0;
}
.feature-card h4 { margin: 0 0 8px; color: var(--ink); }
.feature-card p { margin: 0; }

.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: sticky; top: 90px;
}
.sidebar-card h3 { margin: 0 0 16px; font-size: 19px; }
.sidebar-card .price-row {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.sidebar-card .price-row:last-of-type { border: 0; }
.sidebar-card .price-row b { color: var(--brand-dark); }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

/* ── Booking form (contact page) ──────────── */
.form-card {
  background: white; border: 1px solid var(--line);
  border-radius: 20px; padding: 36px;
  max-width: 720px; margin: 0 auto;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit; font-size: 15px;
  background: var(--bg);
  transition: border-color .2s, background .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
}
.form-row .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; justify-content: center; }

/* ── Utilities ───────────────────────── */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }

/* simple SVG illustrations colored */
.svc-card.postpartum .svc-icon { background: #FCE4E4; }
.svc-card.baby .svc-icon { background: #E5F0FD; }
.svc-card.elder .svc-icon { background: #ECEEFB; }

/* ── 篩選 chip bar (caregivers) ──────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: white; padding: 18px 22px;
  border-radius: 16px; border: 1px solid var(--line);
  margin-bottom: 28px;
}
.filter-label {
  font-size: 13px; color: var(--ink-soft); font-weight: 700;
  margin-right: 8px; letter-spacing: 1px;
}
.chip {
  background: var(--bg); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-family: inherit; cursor: pointer;
  color: var(--ink); transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--brand); color: white; border-color: var(--brand); }

/* ── 照護員卡片 ─────────────────────── */
.caregiver-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .caregiver-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .caregiver-grid { grid-template-columns: 1fr; } }

.caregiver-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.caregiver-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.12);
  border-color: var(--brand);
}
.cg-photo {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  font-size: 64px; font-weight: 900; color: white;
  letter-spacing: -2px;
}
.cg-photo-1 { background: linear-gradient(135deg, #F2A07A, #E27D5A); }
.cg-photo-2 { background: linear-gradient(135deg, #7BB7B7, #3B8C8C); }
.cg-photo-3 { background: linear-gradient(135deg, #F4B940, #E69A1A); }
.cg-photo-4 { background: linear-gradient(135deg, #9788C7, #6E5BB3); }
.cg-photo-5 { background: linear-gradient(135deg, #5FA582, #3E7E5E); }
.cg-photo-6 { background: linear-gradient(135deg, #D58FAE, #B86A8C); }
.cg-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.cg-name-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.cg-name-row h3 { margin: 0; font-size: 19px; font-weight: 800; }
.cg-rating { font-size: 14px; color: var(--ink); font-weight: 700; }
.cg-rating span { color: var(--ink-soft); font-weight: 400; font-size: 12px; }
.cg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.tag-pink  { background: #FCE4E4; color: #B53C5C; }
.tag-blue  { background: #E5F0FD; color: #2A6FBF; }
.tag-green { background: #E6F2EC; color: #2F7A55; }
.cg-meta { list-style: none; padding: 0; margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); }
.cg-meta li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.cg-meta li:last-child { border: 0; }
.cg-meta b { color: var(--ink); font-weight: 700; }
.cg-quote {
  font-size: 14px; color: var(--ink); font-style: italic;
  background: var(--brand-soft); padding: 12px 14px; border-radius: 10px;
  margin: 0 0 16px; line-height: 1.7;
}
.cg-btn { width: 100%; justify-content: center; margin-top: auto; }

/* 審核流程 section background */
.vetting { background: var(--brand-soft); }

/* ── 行程分類選單 ──────────────── */
.tour-cats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.tour-cat {
  background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 16px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--ink); transition: all .2s;
}
.tour-cat:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.12);
  color: var(--brand-dark);
}
.tour-cat-icon { font-size: 28px; }
.tour-cat-name { font-weight: 800; font-size: 15px; }
.tour-cat-sub { font-size: 12px; color: var(--ink-soft); }
@media (max-width: 860px) { .tour-cats { grid-template-columns: repeat(2, 1fr); } }

/* ── 行程卡片 ──────────────── */
.tour-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tour-grid { grid-template-columns: 1fr; } }

.tour-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .25s;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.15);
  border-color: var(--brand);
}
.tour-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--brand); color: white;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  z-index: 2;
}
.tour-img {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  font-size: 72px;
}
.tour-img-1  { background: linear-gradient(135deg, #FDF1EA, #F8D9C7); }
.tour-img-2  { background: linear-gradient(135deg, #E6F2F2, #C9E1E1); }
.tour-img-3  { background: linear-gradient(135deg, #FCE4E4, #F4C9C9); }
.tour-img-4  { background: linear-gradient(135deg, #E6F2EC, #C7E1D4); }
.tour-img-5  { background: linear-gradient(135deg, #ECEEFB, #D1D6F2); }
.tour-img-6  { background: linear-gradient(135deg, #FFF1D6, #FBDC9C); }
.tour-img-7  { background: linear-gradient(135deg, #FCE4E4, #F4B0C5); }
.tour-img-8  { background: linear-gradient(135deg, #F8D9C7, #E8B59B); }
.tour-img-9  { background: linear-gradient(135deg, #E6F2EC, #B0D8C2); }
.tour-img-10 { background: linear-gradient(135deg, #FDF1EA, #F2A07A); }
.tour-img-11 { background: linear-gradient(135deg, #E6F2F2, #7BB7B7); }
.tour-img-12 { background: linear-gradient(135deg, #FFF1D6, #F4B940); }
.tour-img-13 { background: linear-gradient(135deg, #FCE4E4, #E69688); }
.tour-img-14 { background: linear-gradient(135deg, #ECEEFB, #9788C7); }
.tour-img-15 { background: linear-gradient(135deg, #FFF1D6, #E8B59B); }
.tour-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.tour-body h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.tour-route { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.tour-feature { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--ink-soft); }
.tour-feature li {
  position: relative; padding: 4px 0 4px 18px;
}
.tour-feature li::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  color: var(--accent); font-weight: 800;
}
.tour-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto;
}
.tour-price { font-size: 13px; color: var(--ink-soft); }
.tour-price b { color: var(--brand-dark); font-size: 22px; font-weight: 900; }
.tour-foot .btn { padding: 10px 18px; font-size: 14px; }

/* ── 文章專欄列表 ────────────────────── */
.article-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 40px;
}
.filter-chip {
  padding: 8px 18px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  color: var(--ink-soft); font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.filter-chip.active {
  background: var(--brand); color: white !important;
  border-color: var(--brand);
}
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: white; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--ink); transition: all .25s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.12);
  border-color: var(--brand);
  color: var(--ink);
}
.article-thumb {
  aspect-ratio: 16/10; display: grid; place-items: center;
  font-size: 56px;
}
.article-body { padding: 22px 24px 26px; flex-grow: 1; display: flex; flex-direction: column; }
.article-meta {
  font-size: 13px; color: var(--ink-soft); margin-bottom: 10px;
}
.article-meta .tag {
  display: inline-block; background: var(--brand-soft);
  color: var(--brand-dark); padding: 3px 10px; border-radius: 999px;
  font-weight: 700; font-size: 12px; margin-right: 6px;
}
.article-card h3 {
  font-size: 18px; margin: 0 0 10px; line-height: 1.5; font-weight: 800;
}
.article-card p {
  color: var(--ink-soft); font-size: 14px; line-height: 1.7;
  margin: 0 0 16px; flex-grow: 1;
}
.article-author {
  font-size: 13px; color: var(--ink-soft);
  padding-top: 14px; border-top: 1px solid var(--line);
}
@media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

/* ── 文章內頁 ────────────────────── */
.content-main ul li { margin-bottom: 8px; }
.content-main a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content-main a:hover { color: var(--brand); }

/* ── 服務對照表 ─────────────────── */
.compare { padding: 80px 0; background: var(--white); }
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(60, 30, 10, 0.04);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 15px;
}
.compare-table thead {
  background: linear-gradient(135deg, var(--brand-soft), #FFF8F2);
}
.compare-table th {
  text-align: left;
  padding: 18px 16px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--brand);
}
.compare-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg); }
.compare-table td b { color: var(--ink); }
.compare-table td:nth-child(5) b { color: var(--brand-dark); font-size: 17px; }
.ct-icon {
  display: inline-block;
  width: 32px; height: 32px;
  background: var(--brand-soft);
  border-radius: 8px;
  text-align: center; line-height: 32px;
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}
.compare-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ── 嚴選照護員 teaser ─────────── */
.caregivers-teaser { padding: 80px 0; background: var(--bg); }
.cg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cg-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.cg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(60, 30, 10, 0.08);
  border-color: var(--brand);
}
.cg-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 28px;
  margin-bottom: 16px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.cg-avatar-a { background: linear-gradient(135deg, #F2A07A, var(--brand)); }
.cg-avatar-b { background: linear-gradient(135deg, #6FB6B6, var(--accent)); }
.cg-avatar-c { background: linear-gradient(135deg, #D4A574, #B8864A); }
.cg-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.cg-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 4px;
}
.cg-stars {
  color: #F4B400;
  font-size: 14px;
  margin-bottom: 14px;
}
.cg-rating {
  color: var(--ink);
  font-weight: 700;
  margin-left: 4px;
}
.cg-stars .cg-rating + * { color: var(--ink-soft); }
.cg-cred {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.cg-cred li { margin-bottom: 4px; }
.cg-quote {
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--brand);
  margin: 0;
  font-style: italic;
  line-height: 1.6;
}
.text-center { text-align: center; }

@media (max-width: 900px) {
  .cg-grid { grid-template-columns: 1fr; }
  .compare { padding: 60px 0; }
  .caregivers-teaser { padding: 60px 0; }
}

/* ── 就醫陪同 6 步驟動線 ─────────── */
.medical-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto auto auto auto auto;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 28px 0 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--accent-soft), #F2F9F9);
  border-radius: 18px;
  border: 1px solid var(--accent);
}
.mf-step {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mf-step-end {
  background: linear-gradient(135deg, var(--brand-soft), #FFF8F2);
  border-color: var(--brand);
}
.mf-num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  margin: 0 auto 8px;
}
.mf-step-end .mf-num { background: var(--brand); }
.mf-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.mf-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.mf-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
}
@media (max-width: 900px) {
  .medical-flow {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .mf-arrow { display: none; }
}

/* ─────────────────────────────────────────────
   v2 新增 — 線上估價 / 媒體報導 / 本週檔期 / 浮動 FAB
   ───────────────────────────────────────────── */

/* 線上估價 */
.estimator {
  background: linear-gradient(180deg, #FBF7F2 0%, #FDF1EA 100%);
  padding: 80px 0;
}
.est-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 18px 48px rgba(226,125,90,.08);
  max-width: 1000px;
  margin: 0 auto;
}
.est-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.est-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.est-field span {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.est-field select {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23C5613E' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 16px center;
  cursor: pointer;
  transition: border-color .2s;
}
.est-field select:focus {
  outline: none;
  border-color: var(--brand);
}
.est-submit { margin-top: 8px; }
.est-result {
  background: var(--brand-soft);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.est-result-eyebrow {
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 10px;
  font-size: 13px;
}
.est-result-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 0 0 12px;
  letter-spacing: -.5px;
}
.est-result-price b { font-size: 38px; }
.est-result-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 800px) {
  .est-wrap {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* 媒體報導 logo 列 */
.press {
  padding: 56px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-title {
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 28px;
  letter-spacing: 1px;
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.press-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.press-logo:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.press-logo span {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.press-logo small {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .press-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 本週可預約檔期 */
.avail {
  padding: 80px 0;
  background: var(--accent-soft);
}
.avail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.avail-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.avail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(59,140,140,.12);
}
.avail-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}
.avail-tag-pp { background: #E27D5A; }
.avail-tag-bb { background: #C49A6C; }
.avail-tag-el { background: #3B8C8C; }
.avail-tag-tr { background: #6B6FA8; }
.avail-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avail-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.avail-avatar-a { background: linear-gradient(135deg, #E27D5A, #C5613E); }
.avail-avatar-b { background: linear-gradient(135deg, #D4A574, #B08654); }
.avail-avatar-c { background: linear-gradient(135deg, #3B8C8C, #2A6A6A); }
.avail-avatar-d { background: linear-gradient(135deg, #6B6FA8, #4A4E80); }
.avail-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.avail-stars {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  margin-left: 4px;
}
.avail-meta {
  font-size: 12px;
  color: var(--ink-soft);
}
.avail-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.slot {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 6px;
}
.slot-night {
  background: #2A2A2A;
  color: #FDF1EA;
}
.btn.btn-sm {
  font-size: 14px;
  padding: 8px 14px;
  margin-top: auto;
  text-align: center;
}
.avail-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 1000px) {
  .avail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .avail-grid { grid-template-columns: 1fr; }
}

/* 浮動 FAB */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}
.fab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  color: #fff;
}
.fab-line { background: #06C755; }
.fab-tel  { background: var(--brand); }
.fab-book { background: var(--accent); }
.fab-ic {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 640px) {
  .fab-stack {
    right: 12px;
    bottom: 14px;
    gap: 8px;
  }
  .fab {
    padding: 10px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .fab-tx { display: none; }
}
