/* ==========================================================================
   慈安老人長期照顧中心 - Landing Page
   Aesthetic: 溫暖日式療癒 × 台灣在地溫度
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - 溫暖米白 × 柔和綠 × 暖木色 */
  --cream-50:  #FBF8F2;
  --cream-100: #F5EFE3;
  --cream-200: #ECE3CF;
  --cream-300: #E0D3B8;

  --warm-white: #FAF7F0;
  --paper:      #F7F2E7;

  --sage-50:   #EEF2EA;
  --sage-100:  #D9E1D0;
  --sage-200:  #B5C4A4;
  --sage-400:  #7B9266;
  --sage-500:  #5E7A48;
  --sage-600:  #4A6238;
  --sage-700:  #3A4D2C;

  --wood-300:  #C9A982;
  --wood-400:  #B08D5F;
  --wood-500:  #8A6B43;
  --wood-600:  #6B5132;

  --ink-900:   #2A2620;
  --ink-700:   #4A4239;
  --ink-500:   #756B5E;
  --ink-400:   #9A8F80;
  --ink-300:   #B8AFA2;

  --accent-gold: #C9A361;
  --accent-soft: #E8DCC4;

  /* Typography */
  --font-serif: "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --font-sans:  "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-deco:  "Cormorant Garamond", "Noto Serif TC", serif;

  /* Spacing */
  --section-py-desktop: 120px;
  --section-py-tablet:  80px;
  --section-py-mobile:  64px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(74, 98, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(74, 98, 56, 0.08);
  --shadow-lg: 0 20px 48px rgba(74, 98, 56, 0.10);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-med:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-700);
  background: var(--warm-white);
  overflow-x: hidden;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-py-desktop) 0;
  position: relative;
}

/* ---------- Typography Common ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--sage-500);
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--sage-400);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.5;
  color: var(--ink-900);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.section-title em {
  font-style: normal;
  color: var(--sage-600);
  position: relative;
  white-space: nowrap;
}
.section-title em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 8px;
  background: var(--accent-soft);
  opacity: 0.6;
  z-index: -1;
  border-radius: 4px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--wood-400);
  margin: 32px auto;
  position: relative;
}
.section-divider::before,
.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--wood-400);
  border-radius: 50%;
  transform: translateY(-50%);
}
.section-divider::before { left: -16px; }
.section-divider::after { right: -16px; }

.section-head.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  transition: all var(--t-med);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-600);
  color: var(--cream-50);
  box-shadow: 0 6px 20px rgba(74, 98, 56, 0.25);
}
.btn-primary:hover {
  background: var(--sage-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(74, 98, 56, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--sage-700);
  border: 1.5px solid var(--sage-600);
}
.btn-secondary:hover {
  background: var(--sage-600);
  color: var(--cream-50);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream-50);
  border: 1.5px solid var(--cream-100);
}
.btn-outline-light:hover {
  background: var(--cream-50);
  color: var(--sage-700);
  transform: translateY(-2px);
}

.btn.big {
  padding: 20px 40px;
  font-size: 17px;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-icon {
  display: inline-block;
  font-size: 18px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-med);
}
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.96);
  border-bottom-color: var(--cream-200);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--sage-600);
  color: var(--cream-50);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: 0.08em;
}
.brand-sub {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.2em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-menu a {
  font-size: 14px;
  color: var(--ink-700);
  letter-spacing: 0.1em;
  position: relative;
  padding: 8px 0;
  font-weight: 500;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--sage-600);
  transition: all var(--t-med);
  transform: translateX(-50%);
}
.nav-menu a:hover { color: var(--sage-600); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--sage-600);
  color: var(--cream-50);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}
.nav-cta:hover {
  background: var(--sage-700);
  transform: translateY(-1px);
}
.phone-icon {
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  transition: var(--t-med);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--warm-white);
  border-top: 1px solid var(--cream-200);
  padding: 16px 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med);
}
.mobile-menu.open {
  display: flex;
  max-height: 400px;
  padding: 16px 32px 24px;
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-200);
  color: var(--ink-700);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--cream-100);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-200);
}
.hero-slide.active { opacity: 1; }

/* placeholder (when no image set via JS) */
.slide-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(ellipse at 30% 40%, var(--sage-50) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, var(--cream-200) 0%, transparent 60%),
    linear-gradient(135deg, var(--cream-100) 0%, var(--paper) 50%, var(--cream-200) 100%);
  font-family: var(--font-sans);
  color: var(--ink-400);
  letter-spacing: 0.2em;
}
.slide-placeholder span,
.slide-placeholder small {
  opacity: 0;
  transition: opacity var(--t-med);
}
.hero:hover .slide-placeholder span,
.hero:hover .slide-placeholder small {
  opacity: 0.35;
}
.slide-placeholder span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  border: 1px dashed var(--ink-300);
  padding: 8px 20px;
  border-radius: 4px;
}
.slide-placeholder small {
  font-size: 12px;
  color: var(--ink-400);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg,
      rgba(250, 247, 240, 0.95) 0%,
      rgba(250, 247, 240, 0.85) 35%,
      rgba(250, 247, 240, 0.5) 65%,
      rgba(250, 247, 240, 0.3) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--sage-700);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sage-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.4;
  color: var(--ink-900);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero-title .line-1 {
  display: block;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-title .line-2 {
  display: block;
  animation: fadeUp 0.8s ease 0.5s both;
}
.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--sage-600);
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 12px;
  background: var(--accent-soft);
  opacity: 0.7;
  z-index: -1;
  border-radius: 6px;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
  color: var(--ink-700);
  margin-bottom: 36px;
  max-width: 580px;
  animation: fadeUp 0.8s ease 0.7s both;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s ease 0.9s both;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-700);
  letter-spacing: 0.1em;
  transition: all var(--t-fast);
}
.pill:hover {
  background: var(--sage-600);
  color: var(--cream-50);
  border-color: var(--sage-600);
  transform: translateY(-2px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s ease 1.1s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 80px;
  right: 40px;
  z-index: 3;
  display: flex;
  gap: 12px;
}
.slider-dot {
  width: 40px;
  height: 3px;
  background: rgba(74, 98, 56, 0.25);
  border-radius: 2px;
  transition: all var(--t-med);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--sage-600);
  width: 60px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hero-scroll-hint span:first-child {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-500);
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--ink-400), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--sage-600);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* ==========================================================================
   02 Empathy 家屬共感
   ========================================================================== */
.empathy {
  background: var(--warm-white);
  position: relative;
}
.empathy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--wood-400));
}

.empathy-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.empathy-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-700);
  margin-bottom: 24px;
}

.worry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0;
  padding: 32px 24px;
  background: var(--cream-100);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--sage-400);
  text-align: left;
  position: relative;
}
.worry-list::before {
  content: "❝";
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: var(--font-deco);
  font-size: 48px;
  color: var(--sage-200);
  line-height: 1;
}
.worry-list p {
  margin: 0;
  padding-left: 32px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink-700);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.empathy-close {
  font-family: var(--font-serif);
  font-size: 17px !important;
  color: var(--sage-700) !important;
  font-weight: 500;
  margin-top: 32px !important;
}

.empathy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.empathy-card {
  background: var(--cream-50);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  transition: all var(--t-med);
  border: 1px solid transparent;
}
.empathy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-100);
}

.card-num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-deco);
  font-size: 36px;
  font-weight: 300;
  color: var(--cream-300);
  line-height: 1;
}

.card-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--sage-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon {
  font-size: 28px;
  color: var(--sage-600);
}

.empathy-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.empathy-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-500);
}

/* ==========================================================================
   03 Philosophy 照護理念
   ========================================================================== */
.philosophy {
  background: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--sage-50);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.philosophy-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-700);
  margin-bottom: 20px;
}

.philosophy-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.mark-line {
  flex: 1;
  height: 1px;
  background: var(--wood-400);
}
.mark-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--wood-500);
  white-space: nowrap;
}

.philosophy-visual {
  position: relative;
}
.visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.visual-deco {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 70%;
  height: 60%;
  background: var(--wood-300);
  border-radius: var(--radius-md);
  z-index: 1;
  opacity: 0.3;
}

/* ==========================================================================
   Image Placeholders
   ========================================================================== */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--cream-100) 0px,
      var(--cream-100) 12px,
      var(--cream-200) 12px,
      var(--cream-200) 24px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  color: var(--ink-500);
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: "◇";
  font-size: 32px;
  color: var(--sage-200);
  margin-bottom: 4px;
}
.img-placeholder span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  text-align: center;
}
.img-placeholder small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  text-align: center;
  padding: 0 16px;
}
.img-placeholder.large { min-height: 480px; }
.img-placeholder.small { min-height: 160px; }

/* ==========================================================================
   04 Services 服務內容
   ========================================================================== */
.services {
  background: var(--warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cream-50);
  padding: 36px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  transition: all var(--t-med);
  border: 1px solid var(--cream-200);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--sage-400), var(--wood-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: #FFFFFF;
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--wood-500);
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  font-weight: 500;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--sage-600);
  transition: all var(--t-med);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--sage-700);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.service-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-500);
}

/* ==========================================================================
   05 Location 環境與位置
   ========================================================================== */
.location {
  background: var(--cream-50);
  position: relative;
}

.location-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.location-intro {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-700);
  margin-top: 24px;
}
.location-intro strong {
  font-weight: 500;
  color: var(--sage-700);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 80px;
}

.location-info-card {
  background: #FFFFFF;
  padding: 48px 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-200);
  letter-spacing: 0.1em;
}

.info-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px dashed var(--cream-300);
}
.info-item:last-of-type { border-bottom: none; }

.info-label {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--wood-500);
  font-weight: 500;
  letter-spacing: 0.2em;
}

.info-value {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.8;
}

.phone-link {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--sage-700);
  letter-spacing: 0.05em;
  transition: color var(--t-fast);
}
.phone-link:hover { color: var(--sage-600); }

.map-link {
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--cream-300);
  padding-bottom: 2px;
  transition: all var(--t-fast);
}
.map-link:hover {
  color: var(--sage-600);
  border-bottom-color: var(--sage-400);
}
.map-icon { font-size: 12px; }

.location-btn {
  width: 100%;
  margin-top: 24px;
}

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
  background: var(--cream-100);
}
.location-map iframe { min-height: 480px; display: block; }

/* Gallery */
.environment-gallery { margin-top: 64px; }
.gallery-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.1em;
  position: relative;
}
.gallery-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--wood-400);
  margin: 12px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-med);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item .img-placeholder { min-height: 100%; }

/* ==========================================================================
   06 Daily Care Timeline 日常照護
   ========================================================================== */
.daily {
  background: var(--warm-white);
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--sage-200) 8%,
    var(--sage-200) 92%,
    transparent 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--sage-200);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med);
  grid-column: 2;
}
.timeline-item:hover .timeline-time {
  border-color: var(--sage-500);
  transform: scale(1.05);
}

.time-label {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--sage-700);
  letter-spacing: 0.15em;
}
.time-symbol {
  font-size: 18px;
  color: var(--wood-500);
  margin-top: 4px;
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  padding-right: 24px;
}
.timeline-item .timeline-content .timeline-img { order: 2; }
.timeline-item .timeline-content .timeline-text { order: 1; text-align: right; }

.timeline-item.reverse .timeline-content {
  grid-column: 3;
  grid-row: 1;
  padding-right: 0;
  padding-left: 24px;
}
.timeline-item.reverse .timeline-content .timeline-img { order: 1; }
.timeline-item.reverse .timeline-content .timeline-text { order: 2; text-align: left; }

.timeline-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.timeline-text h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.timeline-text p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-500);
}

/* ==========================================================================
   07 Activities 特色活動
   ========================================================================== */
.activities {
  background: var(--cream-50);
  overflow: hidden;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.activities-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-700);
  margin-bottom: 20px;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  display: inline-flex;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-700);
  letter-spacing: 0.1em;
  transition: all var(--t-fast);
}
.tag:hover {
  background: var(--sage-100);
  border-color: var(--sage-400);
  color: var(--sage-700);
  transform: translateY(-2px);
}

.activities-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 16px;
}
.photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--t-med);
}
.photo-item:hover { transform: scale(1.03); }
.photo-item.p1 { transform: translateY(20px); }
.photo-item.p2 {}
.photo-item.p3 {}
.photo-item.p4 { transform: translateY(20px); }
.photo-item .img-placeholder { min-height: 100%; }

/* ==========================================================================
   08 Team 照護團隊
   ========================================================================== */
.team {
  background: var(--warm-white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.team-visual {
  position: relative;
}

.team-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-stat {
  position: absolute;
  bottom: 32px;
  right: -32px;
  background: var(--sage-600);
  color: var(--cream-50);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.stat-num {
  display: block;
  font-family: var(--font-deco);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-top: 8px;
  color: var(--cream-100);
}

.team-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-700);
  margin-bottom: 20px;
}

.team-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  list-style: none;
  margin-top: 36px;
  padding: 32px;
  background: var(--cream-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--sage-400);
}
.team-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-700);
  letter-spacing: 0.05em;
}
.team-list span {
  color: var(--sage-500);
  font-size: 8px;
}

/* ==========================================================================
   09 Trust 信任背書
   ========================================================================== */
.trust {
  background: var(--cream-50);
  position: relative;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  background: #FFFFFF;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--t-med);
  border: 1px solid var(--cream-200);
  position: relative;
}
.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-100);
}

.trust-icon {
  margin-bottom: 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stars {
  color: var(--accent-gold);
  font-size: 18px;
  letter-spacing: 4px;
}
.big-symbol {
  font-size: 32px;
  color: var(--sage-500);
}

.trust-number {
  font-family: var(--font-deco);
  font-size: 56px;
  font-weight: 400;
  color: var(--sage-700);
  line-height: 1;
  margin-bottom: 12px;
}

.trust-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.trust-card p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-500);
}

/* ==========================================================================
   10 Process 流程
   ========================================================================== */
.process {
  background: var(--warm-white);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.step {
  text-align: center;
  padding: 24px 12px;
}

.step-marker {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #FFFFFF;
  border: 2px solid var(--sage-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--t-med);
}
.step-marker.last {
  background: var(--sage-600);
  border-color: var(--sage-600);
}
.step-marker.last .step-num { color: var(--cream-50); }
.step:hover .step-marker {
  background: var(--sage-600);
  border-color: var(--sage-600);
  transform: scale(1.08);
}
.step:hover .step-num { color: var(--cream-50); }

.step-num {
  font-family: var(--font-deco);
  font-size: 22px;
  font-weight: 500;
  color: var(--sage-700);
  transition: color var(--t-fast);
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.step-content p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-500);
}

.step-connector {
  align-self: center;
  margin-top: 32px;
  color: var(--sage-300, var(--sage-200));
  font-size: 20px;
}

.process-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ==========================================================================
   11 FAQ
   ========================================================================== */
.faq {
  background: var(--cream-50);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--t-med);
  border: 1px solid var(--cream-200);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--sage-100);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--cream-50); }

.faq-q-label {
  font-family: var(--font-deco);
  font-size: 20px;
  font-weight: 500;
  color: var(--wood-500);
  letter-spacing: 0.1em;
}

.faq-q-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.faq-toggle {
  font-family: var(--font-deco);
  font-size: 28px;
  font-weight: 300;
  color: var(--sage-600);
  text-align: center;
  transition: transform var(--t-med);
  line-height: 1;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 32px 28px 108px;
  border-top: 1px dashed var(--cream-300);
}
.faq-answer p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-500);
  padding-top: 20px;
}
.faq-answer strong {
  color: var(--sage-700);
  font-weight: 500;
}

/* ==========================================================================
   12 Final CTA
   ========================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: var(--section-py-desktop) 0;
  color: var(--cream-50);
}

.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--sage-700) 0%, var(--wood-500) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
  gap: 8px;
}
.bg-placeholder span {
  font-size: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 4px;
}
.bg-placeholder small { font-size: 11px; }
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(58, 77, 44, 0.92) 0%,
    rgba(74, 98, 56, 0.85) 50%,
    rgba(107, 81, 50, 0.80) 100%);
}

.final-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.final-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.final-eyebrow .line {
  width: 60px;
  height: 1px;
  background: var(--accent-gold);
}
.final-eyebrow span:not(.line) {
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.final-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--cream-50);
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}
.final-title em {
  font-style: normal;
  color: var(--accent-gold);
}

.final-sub {
  font-size: 16px;
  line-height: 2;
  color: rgba(245, 239, 227, 0.92);
  margin-bottom: 48px;
}

.final-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.final-hours {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(245, 239, 227, 0.7);
}

/* ==========================================================================
   13 Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: var(--cream-200);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-brand .brand-mark {
  background: var(--sage-500);
  color: var(--cream-50);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream-50);
  letter-spacing: 0.08em;
}
.footer-tag {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 0.2em;
  margin-top: 4px;
}
.footer-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-300);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--cream-50);
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent-gold);
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li,
.footer-col p {
  font-size: 14px;
  line-height: 2.2;
  color: var(--ink-300);
}
.footer-col a {
  color: var(--ink-300);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--cream-50); }

.footer-bottom {
  border-top: 1px solid rgba(184, 175, 162, 0.15);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--ink-400);
  letter-spacing: 0.1em;
}
.footer-policy a {
  color: var(--ink-400);
  transition: color var(--t-fast);
}
.footer-policy a:hover { color: var(--cream-50); }
.footer-policy span { margin: 0 8px; color: var(--ink-500); }

/* ==========================================================================
   Mobile CTA Bar
   ========================================================================== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--cream-200);
}

.mobile-cta-phone,
.mobile-cta-visit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all var(--t-fast);
}

.mobile-cta-phone {
  background: #FFFFFF;
  color: var(--sage-700);
  border-right: 1px solid var(--cream-200);
}
.mobile-cta-phone:active {
  background: var(--cream-100);
}

.mobile-cta-visit {
  background: var(--sage-600);
  color: var(--cream-50);
}
.mobile-cta-visit:active {
  background: var(--sage-700);
}

.mcta-icon {
  font-size: 20px;
}
.mcta-label {
  font-size: 13px;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive - Tablet
   ========================================================================== */
@media (max-width: 1024px) {
  .section {
    padding: var(--section-py-tablet) 0;
  }

  .container { padding: 0 24px; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .empathy-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .empathy-card { padding: 32px 20px; }

  .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-visual { max-width: 520px; margin: 0 auto; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 360px; }
  .location-map iframe { min-height: 360px; }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }

  .activities-grid { grid-template-columns: 1fr; gap: 48px; }

  .team-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-visual { max-width: 480px; margin: 0 auto; }

  .trust-cards { grid-template-columns: repeat(2, 1fr); }

  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .step-connector { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   Responsive - Mobile
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 15px; }

  .section { padding: var(--section-py-mobile) 0; }
  .container { padding: 0 20px; }

  html { scroll-padding-top: 70px; }

  /* Header */
  .nav-wrap { padding: 12px 20px; }
  .brand-mark { width: 38px; height: 38px; font-size: 19px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 10px; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 100px 0 80px;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }
  .trust-pills { gap: 8px; }
  .pill { font-size: 11px; padding: 6px 12px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; padding: 14px 20px; font-size: 14px; }
  .slider-controls {
    bottom: 100px;
    right: 50%;
    transform: translateX(50%);
  }
  .slider-dot { width: 28px; }
  .slider-dot.active { width: 42px; }
  .hero-scroll-hint { display: none; }

  /* Typography */
  .section-title { font-size: 26px; margin-bottom: 24px; }
  .section-head.center { margin-bottom: 48px; }
  .eyebrow {
    font-size: 11px;
    padding-left: 28px;
  }
  .eyebrow::before { width: 18px; }

  /* Empathy */
  .empathy-cards {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .worry-list {
    padding: 24px 20px;
  }
  .worry-list p {
    font-size: 15px;
    padding-left: 20px;
  }
  .worry-list::before { font-size: 36px; left: 12px; }

  /* Philosophy */
  .philosophy::before { display: none; }
  .philosophy-mark { gap: 12px; }
  .mark-text {
    font-size: 14px;
    letter-spacing: 0.3em;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card { padding: 28px 20px; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 16px; }

  /* Location */
  .location-info-card { padding: 32px 24px; }
  .info-item {
    grid-template-columns: 50px 1fr;
    gap: 12px;
  }
  .info-label { font-size: 12px; }
  .phone-link { font-size: 20px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 160px 160px 160px;
    gap: 12px;
  }
  .location-map { min-height: 280px; }
  .location-map iframe { min-height: 280px; }

  /* Daily Timeline */
  .timeline-line { left: 32px; }
  .timeline-item,
  .timeline-item.reverse {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }
  .timeline-time {
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .time-label { font-size: 12px; letter-spacing: 0.1em; }
  .time-symbol { font-size: 14px; }

  .timeline-content,
  .timeline-item.reverse .timeline-content {
    grid-column: 2;
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 12px;
  }
  .timeline-img { aspect-ratio: 3/2; }

  /* Activities */
  .activities-photos {
    grid-template-rows: 140px 140px;
    gap: 10px;
  }
  .photo-item.p1, .photo-item.p4 { transform: none; }

  /* Team */
  .team-stat {
    bottom: 16px;
    right: 16px;
    padding: 20px 18px;
  }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 11px; }
  .team-list {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  /* Trust */
  .trust-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-number { font-size: 44px; }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    text-align: left;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--cream-300);
  }
  .step:last-child { border-bottom: none; }
  .step-marker { margin: 0; width: 56px; height: 56px; }
  .step-content { padding-top: 4px; }
  .process-cta { flex-direction: column; }
  .process-cta .btn { width: 100%; }

  /* FAQ */
  .faq-item summary {
    grid-template-columns: 40px 1fr 32px;
    gap: 12px;
    padding: 18px 20px;
  }
  .faq-q-label { font-size: 16px; }
  .faq-q-text { font-size: 15px; }
  .faq-toggle { font-size: 24px; }
  .faq-answer { padding: 0 20px 20px 72px; }
  .faq-answer p { font-size: 14px; padding-top: 16px; }

  /* Final CTA */
  .final-cta { padding: 80px 0; }
  .final-title { font-size: 26px; }
  .final-sub { font-size: 15px; }
  .final-buttons { flex-direction: column; width: 100%; }
  .final-buttons .btn { width: 100%; }

  /* Footer */
  .site-footer { padding: 60px 0 0; padding-bottom: 80px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 48px;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile CTA */
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* Extra small screens */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .section-title { font-size: 23px; }
  .container { padding: 0 16px; }
  .nav-wrap { padding: 12px 16px; }
}


/*========正式圖片讀取設定========*/
.content-image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gallery-item,
.timeline-img,
.photo-item,
.team-img-frame,
.visual-frame{
  background:var(--cream-100);
}

.final-bg-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}



/* 2026-05 慈安修正：中西醫看診區與 CTA 背景 */
.medical-care{
  background:
    radial-gradient(circle at 14% 16%, rgba(217,225,208,.68) 0%, transparent 34%),
    linear-gradient(135deg,var(--cream-50) 0%,var(--warm-white) 100%);
}
.medical-care .support-card{
  border-left:4px solid rgba(94,122,72,.22);
}
.medical-care .support-card h3{
  color:var(--sage-700);
}
.medical-care .support-card p{
  color:var(--ink-600, var(--ink-500));
}

/* 聯繫慈安：移除覆蓋在圖片上的漸層遮罩，避免壓暗背景圖 */
.final-cta{
  background:var(--sage-700);
}
.final-cta .bg-overlay{
  display:none;
}
.final-bg-image{
  opacity:1;
  filter:none;
}
.final-content{
  text-shadow:0 2px 16px rgba(42,38,32,.42);
}
.final-title,
.final-sub,
.final-hours,
.final-eyebrow span:not(.line){
  text-shadow:0 2px 16px rgba(42,38,32,.46);
}
.final-cta .btn-primary{
  background:rgba(74,98,56,.95);
}
.final-cta .btn-outline-light{
  background:rgba(42,38,32,.18);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

/* 電話連結：保持可點擊視覺提示 */
a[href^="tel:"]{
  cursor:pointer;
}


/* ==========================================================================
   2026 Fix Pack - FB Links / Spacing / WebP Layout
   ========================================================================== */

/* 環境一覽右下：前往 FB 瀏覽更多照片 */
.gallery-more{
  background:linear-gradient(135deg, rgba(255,255,255,.86) 0%, var(--cream-100) 100%);
  border:1px solid var(--cream-300);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:var(--sage-700);
  text-align:center;
  min-height:100%;
  box-shadow:var(--shadow-sm);
}
.gallery-more:hover{
  transform:scale(1.02);
  border-color:var(--sage-200);
  box-shadow:var(--shadow-md);
}
.gallery-more-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--sage-600);
  color:var(--cream-50);
  font-size:24px;
  line-height:1;
}
.gallery-more-text{
  font-size:15px;
  font-weight:500;
  letter-spacing:.08em;
}

/* 特色活動右側圖片組與 FB 按鈕 */
.activities-media{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.activity-fb-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  padding:14px 24px;
  border-radius:var(--radius-pill);
  background:#FFFFFF;
  border:1px solid var(--cream-300);
  color:var(--sage-700);
  font-size:15px;
  font-weight:500;
  letter-spacing:.1em;
  box-shadow:var(--shadow-sm);
  transition:all var(--t-med);
}
.activity-fb-btn:hover{
  background:var(--sage-600);
  border-color:var(--sage-600);
  color:var(--cream-50);
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}

/* 中西醫看診關懷卡片：讓文字與左側序號／邊線有呼吸空間 */
.family-support-cards .support-card{
  padding-left:20px;
}
.family-support-cards .support-num{
  left:36px;
}

.footer-col a[href*="facebook.com"]{
  display:inline-block;
  margin-top:8px;
  color:var(--accent-gold);
}
.footer-col a[href*="facebook.com"]:hover{
  color:var(--cream-50);
}

@media (max-width:640px){
  .gallery-more{
    min-height:160px;
  }
  .gallery-more-icon{
    width:36px;
    height:36px;
    font-size:20px;
  }
  .gallery-more-text{
    font-size:13px;
    line-height:1.6;
  }
  .activity-fb-btn{
    min-height:50px;
    font-size:14px;
  }
  .family-support-cards .support-card{
    padding-left:20px;
  }
  .family-support-cards .support-num{
    left:28px;
  }
}


/* ==========================================================================
   正式 LOGO 圖片設定
   ========================================================================== */
.brand-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  flex-shrink:0;
  border-radius:12px;
  background:rgba(255,255,255,.72);
  box-shadow:0 4px 12px rgba(42,38,32,.06);
}

.footer-logo-img{
  width:72px;
  height:72px;
  object-fit:contain;
  flex-shrink:0;
  border-radius:14px;
  background:rgba(255,255,255,.06);
}

@media (max-width:1024px){
  .brand-logo{
    width:52px;
    height:52px;
  }
}

@media (max-width:640px){
  .brand-logo{
    width:44px;
    height:44px;
    border-radius:10px;
  }
  .footer-logo-img{
    width:60px;
    height:60px;
  }
}
