/* =========================================================
   Nurse Care — 行銷官網設計系統
   美學定位：溫暖編輯感醫療品牌（米白 × 松綠 × 蜜桃）
   ========================================================= */

:root {
  /* 色票 */
  --cream: #f7f4ee;
  --cream-2: #ecefe9;
  --paper: #fffdfb;
  --ink: #1f2a28;
  --ink-2: #3d4b48;
  --muted: #647069;
  --pine: #1f7064;
  --pine-700: #165247;
  --pine-900: #0e3a31;
  --emerald: #2f9e8c;
  --peach: #ee8f7b;
  --peach-2: #fadfda;
  --gold: #e6a35a;
  --line: rgba(31, 112, 100, 0.16);
  --ring: rgba(31, 112, 100, 0.08);
  --line-green: #06c755;

  /* 字體 */
  --display: "Fraunces", "Noto Serif TC", Georgia, serif;
  --body: "Figtree", "Noto Sans TC", system-ui, -apple-system, sans-serif;

  /* 陰影 */
  --sh-sm: 0 2px 10px rgba(60, 45, 30, 0.07);
  --sh: 0 20px 44px -24px rgba(60, 45, 30, 0.22);
  --sh-lg: 0 36px 72px -38px rgba(40, 33, 24, 0.32);

  /* 形狀 */
  --r: 16px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  /* 暖色漸層網底，避免單一純色 */
  background-image:
    radial-gradient(60% 50% at 88% -5%, rgba(238, 143, 123, 0.1), transparent 60%),
    radial-gradient(55% 45% at 0% 8%, rgba(47, 158, 140, 0.08), transparent 60%);
  background-attachment: fixed;
}

/* 噪點質感層 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- 共用排版元件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--pine);
  background: rgba(31, 112, 100, 0.07);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: var(--pill);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(238, 143, 123, 0.18);
}

/* 螢光筆強調字 */
.mark {
  position: relative;
  white-space: nowrap;
  color: var(--pine-700);
}
.mark::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.42em;
  z-index: -1;
  background: linear-gradient(105deg, rgba(250, 223, 218, 0.95), rgba(238, 143, 123, 0.55));
  border-radius: 0.3em;
  transform: rotate(-1.2deg);
}

.section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 9vw, 120px) 0;
}
.section-head {
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head-left {
  margin-inline: 0;
  text-align: left;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 16px;
  font-optical-sizing: auto;
}
.section-lead {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- 按鈕 ---------- */
.btn {
  --b: var(--pine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-lg {
  padding: 17px 30px;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 11px 18px;
  font-size: 0.92rem;
}
.btn-primary {
  background: var(--pine);
  color: #fdfaf3;
  box-shadow: 0 14px 28px -14px rgba(31, 112, 100, 0.7);
}
.btn-primary:hover {
  background: var(--pine-700);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(31, 112, 100, 0.75);
}
.btn-ghost {
  background: transparent;
  color: var(--pine-700);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(31, 112, 100, 0.06);
  border-color: rgba(31, 112, 100, 0.3);
  transform: translateY(-2px);
}
.btn-cream {
  background: var(--cream);
  color: var(--pine-700);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
}
.btn-cream:hover {
  background: #fff;
  transform: translateY(-2px);
}
.btn-line-dot {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: var(--line-green);
  position: relative;
  flex: none;
}
.btn-line-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 55% 70%, 35% 100%, 38% 70%, 0 70%);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(31, 112, 100, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: linear-gradient(160deg, #eaf3ee, #d7ebdf);
  box-shadow: inset 0 0 0 1px rgba(31, 112, 100, 0.12);
}
.brand-text {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand-text small {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 0.96rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--peach);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--pine-700);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  margin-left: 4px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--pine);
  transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  padding: 13px 6px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ring);
}
.mobile-menu .btn {
  margin-top: 12px;
  border-bottom: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 7vw, 86px) 0 clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.hero-glow-a {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(238, 143, 123, 0.28), transparent 65%);
}
.hero-glow-b {
  width: 460px;
  height: 460px;
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(47, 158, 140, 0.22), transparent 65%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.2vw, 3.85rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 20px 0 0;
  font-optical-sizing: auto;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 56ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.cta-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}
.mid-cta {
  text-align: center;
  margin-top: clamp(36px, 5vw, 52px);
}
.trust-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 11px;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.99rem;
  color: var(--ink-2);
  font-weight: 500;
}
.tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(47, 158, 140, 0.14);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ----- Hero 視覺：媒合卡 ----- */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.hv-blob {
  position: absolute;
  width: min(110%, 440px);
  aspect-ratio: 1;
  background: radial-gradient(120% 120% at 32% 28%, #2f9e8c, #1f7064 72%);
  border-radius: 46% 54% 60% 40% / 45% 42% 58% 55%;
  filter: blur(4px);
  opacity: 0.9;
  box-shadow: var(--sh-lg);
  animation: morph 22s ease-in-out infinite;
  z-index: -1;
}
@keyframes morph {
  0%, 100% {
    border-radius: 46% 54% 60% 40% / 45% 42% 58% 55%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 54% 46% 44% 56% / 50% 54% 46% 50%;
    transform: rotate(3deg);
  }
}
.match-card {
  position: relative;
  width: min(90%, 332px);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-lg);
  transform: rotate(-2.2deg);
  animation: floatcard 7s ease-in-out infinite;
}
@keyframes floatcard {
  0%, 100% {
    transform: rotate(-2.2deg) translateY(0);
  }
  50% {
    transform: rotate(-2.2deg) translateY(-12px);
  }
}
.mc-ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: var(--peach);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 8px 0 8px 8px;
  box-shadow: 0 8px 16px -6px rgba(238, 143, 123, 0.7);
}
.mc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mc-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--emerald), var(--pine));
  padding: 5px 11px;
  border-radius: var(--pill);
}
.mc-school {
  font-size: 0.78rem;
  color: var(--muted);
}
.mc-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(150deg, #eaf3ee, #d2e8da);
  border: 2px solid rgba(47, 158, 140, 0.4);
}
.mc-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.mc-info strong {
  font-size: 1.02rem;
  color: var(--ink);
}
.mc-stars {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.mc-stars i {
  color: var(--ink-2);
  font-style: normal;
  font-weight: 600;
}
.mc-sub {
  font-size: 0.76rem;
  color: var(--muted);
}
.mc-price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--pine);
  align-self: flex-start;
}
.mc-price small {
  font-size: 0.66rem;
  color: var(--muted);
  font-family: var(--body);
}
.mc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.mc-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--pine-700);
  background: rgba(47, 158, 140, 0.1);
  padding: 5px 11px;
  border-radius: var(--pill);
}
.hv-bubble {
  position: absolute;
  top: 6px;
  left: 0;
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  padding: 11px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh);
  z-index: 3;
  animation: floatcard 6s ease-in-out infinite 0.5s;
}
.hv-bubble b {
  color: var(--emerald);
}
.hv-chip {
  position: absolute;
  background: #fff;
  border-radius: var(--pill);
  padding: 9px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--sh);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hv-chip-1 {
  top: 64px;
  right: 0;
  animation: floatcard 8s ease-in-out infinite 0.2s;
}
.hv-chip-2 {
  bottom: 36px;
  left: 8px;
  animation: floatcard 7.5s ease-in-out infinite 0.9s;
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(47, 158, 140, 0.16);
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  position: relative;
  z-index: 3;
  margin-top: -10px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--pine);
  color: #f1ede2;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-lg);
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(47, 158, 140, 0.5), transparent 60%);
}
.stat {
  text-align: center;
  padding: 6px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child {
  border-right: none;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: #fff;
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 28px;
  background: linear-gradient(155deg, #f1f7f3, #e3f0e8);
  box-shadow: inset 0 0 0 1px rgba(31, 112, 100, 0.08);
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.96rem;
  color: var(--muted);
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}
.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 27px;
  background: radial-gradient(circle at 30% 25%, #fdeee2, #f6d8c0);
  flex: none;
  grid-row: 1 / span 2;
  align-self: start;
}
.why-card h3,
.why-card p {
  grid-column: 2;
}
.why-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.24rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.why-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* =========================================================
   STEPS
   ========================================================= */
.steps-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.steps-rail::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(150deg, var(--emerald), var(--pine));
  box-shadow: 0 16px 30px -14px rgba(31, 112, 100, 0.6);
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 9px;
}
.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* =========================================================
   CAREGIVERS
   ========================================================= */
.caregivers {
  background: linear-gradient(180deg, #eef2e9, #e7efe4);
}
.caregivers-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.cg-points {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.cg-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.cg-tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 3px;
  flex: none;
}
.cg-points b {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.cg-points div {
  font-size: 0.95rem;
  color: var(--muted);
}
.cg-visual {
  display: grid;
  place-items: center;
}
.credential-card {
  width: min(100%, 380px);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  position: relative;
}
.credential-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1.5px;
  background: linear-gradient(140deg, rgba(47, 158, 140, 0.5), transparent 40%, rgba(238, 143, 123, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cc-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cc-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  background: linear-gradient(150deg, #eaf3ee, #d2e8da);
  border: 2px solid rgba(47, 158, 140, 0.4);
  flex: none;
}
.cc-head strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}
.cc-head span {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cc-check {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px -8px rgba(47, 158, 140, 0.8);
}
.cc-list {
  list-style: none;
  margin: 18px 0;
  display: grid;
  gap: 13px;
}
.cc-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.cc-list span {
  font-size: 1.05rem;
}
.cc-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pine-700);
  background: rgba(47, 158, 140, 0.08);
  padding: 11px 14px;
  border-radius: 12px;
}

/* =========================================================
   PRICING
   ========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}
.price-tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #b5551f;
  background: rgba(238, 143, 123, 0.14);
  padding: 5px 14px;
  border-radius: var(--pill);
  margin-bottom: 16px;
}
.price-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 9px;
}
.price-card p {
  font-size: 0.92rem;
  color: var(--muted);
}
.price-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.voices {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.voice-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.quote-mark {
  font-family: var(--display);
  font-size: 4rem;
  line-height: 0.4;
  color: var(--peach-2);
  height: 28px;
}
.voice-card blockquote {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.85;
  flex: 1;
}
.voice-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.v-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: linear-gradient(150deg, #f1f7f3, #e0efe6);
  flex: none;
}
.voice-card figcaption span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}
.voice-card figcaption b {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 700;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.faq-inner .section-head {
  margin: 0;
  position: sticky;
  top: 100px;
}
.faq-inner .section-head .btn {
  margin-top: 22px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 22px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item[open] {
  box-shadow: var(--sh);
  border-color: transparent;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-plus {
  margin-left: auto;
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 9px 2px;
  background: var(--pine);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-plus::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-plus::after {
  transform: rotate(0);
}
.faq-a {
  padding: 0 0 20px;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.8;
  animation: fadeIn 0.4s var(--ease);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(150deg, var(--pine), var(--pine-900));
  color: #f3ede1;
  padding: clamp(64px, 9vw, 116px) 0;
}
.fc-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -50%;
  right: -10%;
  background: radial-gradient(circle, rgba(238, 143, 123, 0.35), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}
.final-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}
.final-inner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.18;
  color: #fff;
  letter-spacing: -0.01em;
}
.final-inner p {
  margin: 22px auto 34px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}
.fc-alt {
  margin: 22px auto 0 !important;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.9;
}
.fc-alt a {
  color: #a7e8c9;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.fc-alt a:hover {
  color: #fff;
}
.footer-line-link {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-line-link:hover {
  color: var(--emerald);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 76px) 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: clamp(36px, 5vw, 70px);
}
.brand-foot .brand-mark {
  width: 34px;
  height: 34px;
}
.footer-blurb {
  margin: 18px 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42ch;
}
.footer-contact {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--pine-700);
}
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   懸浮 LINE 按鈕
   ========================================================= */
.float-line {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--pill);
  box-shadow: 0 16px 34px -10px rgba(6, 199, 85, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.float-line:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 40px -10px rgba(6, 199, 85, 0.7);
}
.float-line .btn-line-dot {
  background: #fff;
}
.float-line .btn-line-dot::after {
  background: var(--line-green);
}

/* =========================================================
   進場動畫
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   響應式
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 340px;
    margin-bottom: 10px;
  }
  .hero-sub {
    max-width: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .caregivers-inner {
    grid-template-columns: 1fr;
  }
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .faq-inner .section-head {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .services-grid,
  .price-grid,
  .voices-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-rail {
    grid-template-columns: 1fr 1fr;
  }
  .steps-rail::before {
    display: none;
  }
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .stat {
    border-right: none;
  }
  .stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding-inline: 18px;
  }
  .services-grid,
  .price-grid,
  .voices-grid,
  .steps-rail,
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 18px;
  }
  .stat:last-child {
    border-bottom: none;
  }
  .why-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-cta-row .btn,
  .final-cta .btn,
  .faq-inner .section-head .btn {
    width: 100%;
    max-width: 360px;
  }
  .mark {
    white-space: normal;
  }
  .fl-text {
    display: none;
  }
  .float-line {
    padding: 15px;
  }
  .match-card {
    width: min(100%, 300px);
  }
}

/* =========================================================
   無障礙與細節修正（審查後）
   ========================================================= */

/* 跳至主要內容 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--pine);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: var(--sh);
}

/* 全站鍵盤焦點樣式（用 focus-visible，避免滑鼠點擊殘留）*/
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
  border-radius: 8px;
}
.final-cta a:focus-visible,
.stats a:focus-visible,
.btn-primary:focus-visible,
.float-line:focus-visible {
  outline-color: #fdfaf3;
}

/* 螢幕報讀器專用文字 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 懸浮 LINE 鈕：含安全區，捲到頁尾時淡出避免遮擋底部 CTA */
.float-line {
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), box-shadow 0.25s var(--ease);
}
.float-line.is-hidden {
  opacity: 0;
  transform: translateY(140%);
  pointer-events: none;
}

/* =========================================================
   7 天預覽到期頁（html.expired 時顯示，蓋住整站）
   ========================================================= */
.expired-screen {
  display: none;
}
html.expired body > *:not(.expired-screen) {
  display: none !important;
}
html.expired .expired-screen {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse at 30% 20%, #eef2e9, var(--cream) 70%);
}
.es-card {
  max-width: 430px;
}
.es-mark {
  display: block;
  font-size: 56px;
  margin-bottom: 18px;
}
.expired-screen h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--pine);
  letter-spacing: -0.01em;
}
.expired-screen p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}
.es-brand {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* 尊重「減少動態」偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   品牌理念 / 服務價值鏈 / 招募夥伴（NurseCare 常護 改版新增）
   ============================================================ */

/* --- 使命 / 願景 --- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 6px; }
.mv-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 30px 32px 30px 36px;
}
.mv-card::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--pine), var(--emerald));
}
.mv-tag {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 1.12rem; color: var(--pine); margin-bottom: 10px;
}
.mv-card p { margin: 0; color: var(--ink-2); line-height: 1.85; }

/* --- 核心價值 --- */
.values-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 26px 0 0; }
.values-row li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--pill);
  padding: 10px 20px; font-weight: 600; color: var(--pine-700);
}
.val-ico { font-size: 1.12rem; }

/* --- 定位對比（不是 / 是） --- */
.pos-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; margin-top: 28px; }
.pos-col { border-radius: var(--r-lg); padding: 28px 30px; }
.pos-not { background: var(--cream-2); border: 1px dashed rgba(31, 112, 100, 0.26); }
.pos-is { background: linear-gradient(160deg, var(--pine), var(--pine-900)); color: #fff; box-shadow: var(--sh); }
.pos-col h3 { font-family: var(--display); font-size: 1.18rem; margin: 0 0 16px; }
.pos-not h3 { color: var(--muted); }
.pos-is h3 { color: #fff; }
.pos-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.pos-not li { color: var(--muted); padding-left: 24px; position: relative; line-height: 1.6; }
.pos-not li::before { content: "✕"; position: absolute; left: 0; color: var(--peach); font-weight: 700; }
.pos-is li { color: rgba(255, 255, 255, 0.92); padding-left: 26px; position: relative; line-height: 1.6; }
.pos-is li::before { content: "✓"; position: absolute; left: 0; color: #7be0a8; font-weight: 700; }
.pos-is li b { color: #fff; }

/* --- 服務價值鏈 --- */
.chain-block {
  margin-top: 44px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm); padding: 36px 32px; text-align: center;
}
.chain-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 8px; color: var(--ink); }
.chain-lead { color: var(--muted); max-width: 660px; margin: 0 auto 26px; line-height: 1.8; }
.chain-rail { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 0; margin: 0; }
.chain-rail li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--pill);
  padding: 9px 16px 9px 9px; font-weight: 600; color: var(--pine-700);
}
.chain-rail li:not(:last-child)::after { content: "→"; margin-left: 4px; color: var(--peach); font-weight: 700; }
.chain-dot {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--pine); color: #fff; font-size: 0.72rem; font-weight: 700;
}

/* --- 招募照護夥伴 --- */
.partner-inner {
  background: linear-gradient(150deg, var(--cream-2), var(--cream));
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 46px 48px;
}
.partner-copy { max-width: 680px; }
.partner-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; padding: 0; margin: 22px 0 28px; }
.partner-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }

/* --- 手機版 --- */
@media (max-width: 760px) {
  .mv-grid, .pos-grid, .partner-points { grid-template-columns: 1fr; }
  .chain-rail li:not(:last-child)::after { content: ""; margin: 0; }
  .chain-block { padding: 28px 22px; }
  .partner-inner { padding: 32px 24px; }
}

/* --- 品牌 LOGO 圖片（取代原 SVG 愛心 icon） --- */
.brand-logo { width: 40px; height: 40px; object-fit: contain; display: block; flex-shrink: 0; }
.brand-foot .brand-logo { width: 36px; height: 36px; }
