/* ═══════════════════════════════════════════════════
   daycare.css — 日間照顧頁面樣式
   ═══════════════════════════════════════════════════ */

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

body {
  font-family: 'Noto Sans TC', system-ui, sans-serif;
  color: #1a1a2e;
  background: #fffbf5;
  line-height: 1.7;
}
a { text-decoration: none; }

.dc-container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

.dc-section-hd { text-align: center; margin-bottom: 2.5rem; }
.dc-section-hd h2 { font-size: 1.75rem; font-weight: 800; color: #1a1a2e; margin-bottom: .5rem; }
.dc-section-hd p  { color: #555; font-size: 1rem; }

/* ── Buttons ── */
.dc-btn-primary {
  display: inline-block; padding: .7rem 1.6rem;
  background: #f59e0b; color: #fff; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.dc-btn-primary:hover { background: #d97706; transform: translateY(-1px); }

.dc-btn-ghost {
  display: inline-block; padding: .7rem 1.4rem;
  border: 2px solid rgba(255,255,255,.7); color: #fff;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: background .2s;
}
.dc-btn-ghost:hover { background: rgba(255,255,255,.15); }

.dc-btn-white {
  display: inline-block; padding: .7rem 1.6rem;
  background: #fff; color: #d97706; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.dc-btn-white:hover { background: #fffbeb; transform: translateY(-1px); }

.dc-btn-ghost-white {
  display: inline-block; padding: .7rem 1.4rem;
  border: 2px solid rgba(255,255,255,.7); color: #fff;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: background .2s;
}
.dc-btn-ghost-white:hover { background: rgba(255,255,255,.15); }

/* ══════════════════════════════════
   Hero
══════════════════════════════════ */
.dc-hero { position: relative; height: 540px; overflow: hidden; margin-top: 66px; }
.dc-hero-slides { position: absolute; inset: 0; }
.dc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-color: #7c3516; }
.dc-slide-active { opacity: 1; }

.dc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(120,53,15,.78) 0%, rgba(120,53,15,.32) 60%, transparent 100%);
  display: flex; align-items: center; padding: 0 4rem;
}
.dc-hero-text { max-width: 540px; color: #fff; }

.dc-hero-tag {
  display: inline-block; background: rgba(245,158,11,.92);
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: .25rem .9rem; border-radius: 999px;
  margin-bottom: 1rem; letter-spacing: .05em;
}
.dc-hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.dc-hero-text p {
  font-size: 1.05rem; opacity: .92; margin-bottom: 1.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.dc-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.dc-sl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: none; color: #fff; font-size: 2rem;
  width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 10;
}
.dc-sl-arrow:hover { background: rgba(255,255,255,.35); }
.dc-sl-prev { left: 1.2rem; }
.dc-sl-next { right: 1.2rem; }

.dc-sl-dots {
  position: absolute; bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; align-items: center; z-index: 10;
}
.dc-dot {
  appearance: none; -webkit-appearance: none; display: block;
  flex: 0 0 8px; width: 8px; height: 8px;
  min-width: 8px; min-height: 8px; max-width: 8px; max-height: 8px;
  border-radius: 50%; background: rgba(255,255,255,.45);
  border: none; padding: 0; cursor: pointer; align-self: center;
  transition: background .3s, transform .2s;
}
.dc-dot-a, .dc-dot:hover { background: #fff; transform: scale(1.3); }

/* ══════════════════════════════════
   Intro + Stats
══════════════════════════════════ */
.dc-intro { padding: 4rem 0; background: #fff; }

.dc-intro-inner { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.dc-intro-badge {
  display: inline-block; background: #fffbeb; color: #d97706;
  font-size: .82rem; font-weight: 700; padding: .3rem 1rem;
  border-radius: 999px; margin-bottom: 1rem;
}
.dc-intro-inner h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.dc-intro-inner p  { font-size: .97rem; color: #444; margin-bottom: .85rem; }
.dc-intro-inner strong { color: #d97706; }

.dc-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 820px; margin: 0 auto;
}
.dc-stat {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-radius: 14px; padding: 1.25rem; text-align: center;
  border: 1px solid #fde68a;
}
.dc-stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: #d97706; margin-bottom: .25rem; }
.dc-stat-label { font-size: .78rem; color: #555; font-weight: 500; }

/* ══════════════════════════════════
   適合對象
══════════════════════════════════ */
.dc-who { padding: 4rem 0; background: #fffbf5; }
.dc-who-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.dc-who-card {
  background: #fff; border-radius: 18px; padding: 1.5rem;
  border: 1px solid #fde68a; border-top: 4px solid #f59e0b;
  box-shadow: 0 3px 14px rgba(0,0,0,.05);
  transition: transform .2s;
}
.dc-who-card:hover { transform: translateY(-3px); }
.dc-who-icon { font-size: 2rem; margin-bottom: .65rem; }
.dc-who-card h4 { font-size: .97rem; font-weight: 700; color: #1a1a2e; margin-bottom: .4rem; }
.dc-who-card p  { font-size: .85rem; color: #555; line-height: 1.65; }

/* ══════════════════════════════════
   Daily Schedule
══════════════════════════════════ */
.dc-schedule { padding: 4rem 0; background: #fff; }
.dc-schedule-wrap { max-width: 760px; margin: 0 auto; position: relative; }

.dc-schedule-timeline { position: relative; padding-left: 120px; }
.dc-schedule-timeline::before {
  content: ''; position: absolute;
  left: 104px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(to bottom, #f59e0b, #fde68a);
}

.dc-sched-item {
  position: relative; display: flex;
  align-items: flex-start; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.dc-sched-item:last-child { margin-bottom: 0; }

.dc-sched-time {
  position: absolute; left: -120px;
  font-size: .85rem; font-weight: 700; color: #92400e;
  width: 100px; text-align: right; padding-top: .2rem;
}

.dc-sched-dot {
  flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: #f59e0b;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #f59e0b;
  margin-top: .3rem;
}
.dc-sched-item--transport .dc-sched-dot { background: #0f6eb4; box-shadow: 0 0 0 2px #0f6eb4; }
.dc-sched-item--meal .dc-sched-dot      { background: #059669; box-shadow: 0 0 0 2px #059669; }
.dc-sched-item--snack .dc-sched-dot     { background: #7c3aed; box-shadow: 0 0 0 2px #7c3aed; }

.dc-sched-content {
  background: #fffbf5; border-radius: 12px;
  padding: .85rem 1.1rem; flex: 1;
  border: 1px solid #fde68a;
}
.dc-sched-item--transport .dc-sched-content { background: #eff6ff; border-color: #bfdbfe; }
.dc-sched-item--meal .dc-sched-content      { background: #f0fdf4; border-color: #bbf7d0; }
.dc-sched-item--snack .dc-sched-content     { background: #faf5ff; border-color: #e9d5ff; }

.dc-sched-content h4 { font-size: .92rem; font-weight: 700; color: #1a1a2e; margin-bottom: .2rem; }
.dc-sched-content p  { font-size: .82rem; color: #555; line-height: 1.55; }

/* ══════════════════════════════════
   Features
══════════════════════════════════ */
.dc-features { padding: 4rem 0; background: #fffbf5; }
.dc-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.dc-feat-card {
  background: #fff; border-radius: 18px; padding: 1.5rem;
  border: 1px solid #fde68a;
  transition: transform .2s, box-shadow .2s;
}
.dc-feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(245,158,11,.12); }
.dc-feat-icon { font-size: 2rem; margin-bottom: .6rem; }
.dc-feat-card h4 { font-size: .95rem; font-weight: 700; color: #1a1a2e; margin-bottom: .45rem; }
.dc-feat-card p  { font-size: .84rem; color: #555; line-height: 1.6; }

/* ══════════════════════════════════
   Subsidy
══════════════════════════════════ */
.dc-subsidy {
  padding: 4rem 0;
  background: linear-gradient(135deg, #78350f, #b45309 60%, #d97706 100%);
}
.dc-subsidy-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: start;
}
.dc-subsidy-badge {
  display: inline-block; background: rgba(255,255,255,.2); color: #fff;
  font-size: .8rem; font-weight: 700; padding: .25rem .9rem;
  border-radius: 999px; margin-bottom: .75rem;
}
.dc-subsidy-left h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.dc-subsidy-left p  { color: rgba(255,255,255,.88); font-size: .97rem; margin-bottom: .85rem; }
.dc-subsidy-left strong { color: #fde68a; }

.dc-subsidy-table {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,.12); border-radius: 12px; overflow: hidden;
  color: #fff; margin-bottom: 1rem;
}
.dc-subsidy-table th, .dc-subsidy-table td { padding: .65rem 1rem; text-align: center; font-size: .87rem; }
.dc-subsidy-table thead th { background: rgba(255,255,255,.2); font-weight: 700; }
.dc-subsidy-table tbody tr:nth-child(even) { background: rgba(255,255,255,.06); }

.dc-subsidy-note-box {
  display: flex; flex-direction: column; gap: .6rem;
}
.dc-subsidy-note-row {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .82rem; color: rgba(255,255,255,.82);
}
.dc-subsidy-note-row span { flex-shrink: 0; font-size: .95rem; }

/* ══════════════════════════════════
   Flow
══════════════════════════════════ */
.dc-flow { padding: 4rem 0; background: #fff; }
.dc-flow-steps {
  display: flex; align-items: flex-start;
  justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-bottom: 1.5rem;
}
.dc-flow-step {
  background: #fffbf5; border-radius: 16px;
  padding: 1.5rem 1.25rem; text-align: center;
  width: 200px; border: 1px solid #fde68a;
  position: relative;
}
.dc-flow-num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 26px; background: #f59e0b; color: #fff;
  border-radius: 50%; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.dc-flow-icon { font-size: 2rem; margin-bottom: .5rem; margin-top: .25rem; }
.dc-flow-step h4 { font-size: .92rem; font-weight: 700; margin-bottom: .35rem; }
.dc-flow-step p  { font-size: .78rem; color: #666; line-height: 1.5; }
.dc-flow-arrow {
  font-size: 1.8rem; color: #f59e0b; font-weight: 800;
  padding: 0 .25rem; flex-shrink: 0; margin-top: 3rem;
}
.dc-flow-tip {
  display: flex; align-items: flex-start; gap: .75rem;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 12px; padding: 1rem 1.25rem;
  max-width: 820px; margin: 0 auto;
}
.dc-flow-tip span { font-size: 1.2rem; flex-shrink: 0; }
.dc-flow-tip p    { font-size: .87rem; color: #374151; line-height: 1.65; }
.dc-flow-tip strong { color: #d97706; }

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.dc-faq { padding: 4rem 0; background: #fffbf5; }
.dc-faq-list { max-width: 820px; margin: 0 auto; }
.dc-faq-item {
  background: #fff; border-bottom: 1px solid #fde68a;
  border-left: 1px solid #fde68a; border-right: 1px solid #fde68a;
}
.dc-faq-item:first-child { border-top: 1px solid #fde68a; border-radius: 12px 12px 0 0; }
.dc-faq-item:last-child  { border-radius: 0 0 12px 12px; }

.dc-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.25rem;
  font-family: inherit; font-size: .97rem; font-weight: 600;
  color: #1a1a2e; text-align: left; gap: 1rem;
}
.dc-faq-q:hover { color: #d97706; }
.dc-faq-arrow { font-size: 1.3rem; color: #f59e0b; flex-shrink: 0; transition: transform .3s; font-weight: 800; }
.dc-faq-item.dc-faq-open .dc-faq-arrow { transform: rotate(90deg); }

.dc-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.dc-faq-item.dc-faq-open .dc-faq-a { max-height: 320px; padding: 0 1.25rem 1.1rem; }
.dc-faq-a p { font-size: .9rem; color: #555; line-height: 1.75; }
.dc-faq-a strong { color: #d97706; }

/* ══════════════════════════════════
   Related
══════════════════════════════════ */
.dc-related { padding: 4rem 0; background: #fff; }
.dc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.dc-related-card {
  background: #fffbf5; border-radius: 16px; padding: 1.5rem;
  border: 1px solid #fde68a;
  transition: transform .2s, box-shadow .2s; color: inherit;
}
.dc-related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.09); border-color: #f59e0b; }
.dc-related-icon { font-size: 2rem; margin-bottom: .6rem; }
.dc-related-card h4 { font-size: .95rem; font-weight: 700; color: #1a1a2e; margin-bottom: .35rem; }
.dc-related-card p  { font-size: .83rem; color: #666; line-height: 1.5; }

/* ══════════════════════════════════
   CTA
══════════════════════════════════ */
.dc-cta { padding: 4rem 0; background: linear-gradient(135deg, #f59e0b, #78350f); }
.dc-cta-inner { text-align: center; color: #fff; }
.dc-cta-icon { font-size: 3rem; margin-bottom: .75rem; }
.dc-cta-inner h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .75rem; }
.dc-cta-inner p  { font-size: 1rem; opacity: .88; margin-bottom: 1.75rem; }
.dc-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════
   RWD
══════════════════════════════════ */
@media (max-width: 1000px) {
  .dc-feat-grid    { grid-template-columns: repeat(2, 1fr); }
  .dc-subsidy-inner { grid-template-columns: 1fr; }
  .dc-stats-row    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .dc-who-grid     { grid-template-columns: repeat(2, 1fr); }
  .dc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-schedule-timeline { padding-left: 90px; }
  .dc-sched-time { left: -90px; width: 75px; }
}

@media (max-width: 700px) {
  .dc-hero { height: 420px; }
  .dc-hero-overlay { padding: 0 1.5rem; }
  .dc-hero-text h1 { font-size: 1.75rem; }
  .dc-flow-steps { flex-direction: column; align-items: stretch; }
  .dc-flow-step  { width: 100%; }
  .dc-flow-arrow { transform: rotate(90deg); text-align: center; margin-top: 0; }
  .dc-schedule-timeline { padding-left: 0; padding-top: 1rem; }
  .dc-schedule-timeline::before { display: none; }
  .dc-sched-time { position: static; text-align: left; width: auto; margin-bottom: .2rem; }
  .dc-sched-item { flex-direction: column; gap: .4rem; }
  .dc-sched-dot  { display: none; }
}

@media (max-width: 540px) {
  .dc-who-grid     { grid-template-columns: 1fr; }
  .dc-feat-grid    { grid-template-columns: 1fr; }
  .dc-related-grid { grid-template-columns: 1fr; }
}

/* ── Page Footer ── */
.dc-page-footer {
  background: #78350f; color: rgba(255,255,255,.5);
  padding: .85rem 1.5rem; text-align: right; font-size: .78rem;
}
.dc-page-footer a { color: rgba(255,255,255,.55); text-decoration: underline; }
.dc-page-footer a:hover { color: #fff; }
