/* ============================================================
   誠寶居家服務 care365.com.tw — 完整樣式表
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --pink: #e8276e;
  --pink-hover: #d01f60;
  --pink-light: rgba(232,39,110,0.07);
  --pink-ring: rgba(232,39,110,0.18);
  --green: #06C755;
  --green-hover: #05b34c;
  --dark: #1a1a1a;
  --body: #444;
  --sub: #666;
  --muted: #999;
  --bg: #fff;
  --bg-warm: #F7F7F5;
  --border: #E8E8E8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --max-w: 1100px;
  --font: "Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink-hover); }

/* ---- Typography ---- */
h1,.h1 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 16px; }
h2,.h2 { font-size: clamp(1.35rem,3vw,1.75rem); font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 12px; }
h3,.h3 { font-size: clamp(1.1rem,2.5vw,1.35rem); font-weight: 600; color: var(--dark); line-height: 1.45; margin-bottom: 8px; }
p { margin-bottom: 14px; font-size: 16px; }
@media(max-width:768px){ p { font-size: 15px; } }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media(max-width:768px){ .container { padding: 0 16px; } }
.section { padding: 80px 20px; max-width: var(--max-w); margin: 0 auto; }
.section.section--warm { max-width: 100%; padding-left: 0; padding-right: 0; }
.section.section--warm > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.section.section--warm > .grid-2,
.section.section--warm > .grid-3,
.section.section--warm > .grid-4 { padding-left: 20px; padding-right: 20px; }
@media(max-width:768px){ .section { padding: 48px 16px; } .section.section--warm > * { padding-left: 16px; padding-right: 16px; } }
.section--warm { background: var(--bg-warm); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header p { color: var(--sub); font-size: 1.05rem; }

/* ---- Grid ---- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:768px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }
@media(min-width:769px) and (max-width:1024px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.topbar a { color: #fff; font-size: 13px; }
.topbar a:hover { color: var(--pink); }

.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--pink); }

/* Nav */
.nav { display: flex; gap: 4px; align-items: center; }
.nav a, .nav-dropdown > span {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.nav a:hover, .nav-dropdown:hover > span {
  background: var(--pink-light);
  color: var(--pink);
}
.nav a.active { color: var(--pink); font-weight: 600; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--pink-light); }

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger svg { width: 24px; height: 24px; }

@media(max-width:900px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); gap: 0; }
  .nav.open { display: flex; }
  .nav a, .nav-dropdown > span { padding: 12px 16px; width: 100%; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 20px; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hamburger { display: block; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--pink); color: #fff; padding: 14px 28px; }
.btn-primary:hover { background: var(--pink-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--pink); border-color: var(--pink); padding: 12px 24px; }
.btn-outline:hover { background: var(--pink); color: #fff; }
.btn-secondary { background: transparent; color: var(--pink); border: 2px solid var(--pink); padding: 12px 26px; }
.btn-secondary:hover { background: var(--pink); color: #fff; }
.btn-line { background: var(--green); color: #fff; padding: 14px 28px; }
.btn-line:hover { background: var(--green-hover); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-white { background: #fff; color: var(--dark); padding: 14px 28px; }
.btn-white:hover { background: var(--bg-warm); }
@media(max-width:480px){ .btn-full-m { width: 100%; text-align: center; } }
.btn:focus-visible { outline: 3px solid var(--pink-ring); outline-offset: 2px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
a.card { text-decoration: none; color: inherit; display: block; border: 2px solid transparent; }
a.card:hover { border-color: var(--pink); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.card-desc { font-size: .95rem; color: var(--sub); line-height: 1.6; margin-bottom: 14px; }
.card-link { font-size: .95rem; font-weight: 600; color: var(--pink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf2f7 0%, var(--bg-warm) 100%);
  padding: 60px 20px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}
.hero h1 { margin-bottom: 12px; }
.hero-sub { font-size: 1.05rem; color: var(--sub); margin-bottom: 40px; line-height: 1.6; }

.hero-dual {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 300px;
  text-decoration: none;
  color: var(--dark);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all .2s;
}
.hero-card:hover { border-color: var(--pink); box-shadow: 0 4px 24px rgba(232,39,110,.12); transform: translateY(-2px); }
.hero-card .card-icon { font-size: 2rem; margin-bottom: 12px; }
.hero-card .card-title { font-size: 1.25rem; }
.hero-card .card-desc { font-size: .95rem; color: var(--sub); margin-bottom: 16px; line-height: 1.55; }
.hero-card .card-link { margin-top: auto; }

@media(max-width:640px){
  .hero { min-height: 420px; padding: 40px 16px; }
  .hero-sub { margin-bottom: 28px; }
  .hero-card { width: 100%; max-width: 340px; }
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--muted);
}
.trust-badges span::before { content: "✓ "; color: var(--pink); font-weight: 700; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #fdf2f7 0%, var(--bg-warm) 100%);
  padding: 60px 20px 48px;
  text-align: center;
  position: relative;
}
.page-hero[style*="background-image"] {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.72) 100%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--sub); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ============================================================
   FEATURES / USP
   ============================================================ */
.feature-card {
  text-align: center;
  padding: 32px 20px;
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.faq summary:hover { background: var(--bg-warm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { background: var(--bg-warm); }
.faq .faq-a { padding: 0 20px 16px; color: var(--body); font-size: 15px; line-height: 1.7; }
.faq .faq-a a { color: var(--pink); font-weight: 500; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.step-num::before { content: counter(step); }
.step-body h3 { margin-bottom: 4px; }
.step-body p { margin-bottom: 0; color: var(--sub); font-size: 15px; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-warm); font-weight: 600; color: var(--dark); font-size: 14px; }
tr:hover { background: rgba(232,39,110,.02); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px; left: 20px;
  font-size: 4rem;
  color: var(--pink-light);
  font-family: serif;
  line-height: 1;
}
.testimonial p { font-size: 15px; font-style: italic; color: var(--sub); margin-bottom: 12px; padding-top: 24px; }
.testimonial cite { font-size: 14px; font-style: normal; color: var(--muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 20px;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section { padding: 80px 0; }
@media(max-width:768px){ .cta-section { padding: 48px 0; } .cta-banner { margin: 0 16px; padding: 40px 20px; } }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-left: 3px solid var(--pink-light);
  padding-left: 20px;
  margin-left: 8px;
}
.timeline-time {
  min-width: 60px;
  font-weight: 700;
  color: var(--pink);
  font-size: 14px;
}
.timeline-desc { color: var(--sub); font-size: 15px; }

/* ============================================================
   SPACE ROOM CARD
   ============================================================ */
.room-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.room-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--bg-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.room-card-body { padding: 24px; }
.room-card-body h3 { margin-bottom: 4px; }
.room-meta { font-size: 14px; color: var(--pink); font-weight: 600; margin-bottom: 12px; }
.room-card-body p { font-size: 15px; color: var(--sub); margin-bottom: 12px; }
.room-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.room-features span {
  background: var(--bg-warm);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--sub);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-icon { width: 40px; height: 40px; background: var(--pink-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; min-width: 40px; }
.contact-info-item strong { display: block; color: var(--dark); font-size: 14px; margin-bottom: 2px; }
.contact-info-item span { color: var(--sub); font-size: 15px; }

/* Form */
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 15px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-row .req { color: var(--pink); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; font-size: 15px;
  border: 1px solid #ddd; border-radius: var(--radius-sm);
  background: #fff; color: #333;
  transition: border-color .2s;
  font-family: var(--font);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-ring);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media(max-width:768px){ .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p { margin-bottom: 8px; font-size: 14px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.float-btn:active { transform: scale(.95); }
.float-phone { background: var(--pink); }
.float-line { background: var(--green); }
@media(min-width:768px){ .float-cta { bottom: 32px; right: 24px; } .float-btn { width: 60px; height: 60px; } }
@media print { .float-cta { display: none; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-pink { color: var(--pink); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.list-check { list-style: none; padding: 0; }
.list-check li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
.tag { display: inline-block; background: var(--bg-warm); color: var(--sub); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ============================================================
   BEM COMPAT — Agent 產生的 class 對應
   ============================================================ */

/* Hero dual cards (BEM variant) */
.hero-dual__card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px;
  width: 300px; text-decoration: none; color: var(--dark);
  box-shadow: var(--shadow-md); border: 2px solid transparent;
  transition: all .2s;
}
.hero-dual__card:hover { border-color: var(--pink); box-shadow: 0 4px 24px rgba(232,39,110,.12); transform: translateY(-2px); }
.hero-dual__icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.hero-dual__text { font-size: 1.25rem; font-weight: 700; color: var(--dark); display: block; }
.hero-dual__desc { font-size: .95rem; color: var(--sub); margin-top: 6px; display: block; }
@media(max-width:640px){ .hero-dual__card { width: 100%; max-width: 340px; } }

/* Card BEM variant */
.card__icon, [class*="card__icon"] { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.card__title, [class*="card__title"] { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; display: block; }
.card__desc, [class*="card__desc"] { font-size: .95rem; color: var(--sub); line-height: 1.6; margin-bottom: 10px; display: block; }
.card__link, [class*="card__link"] { font-size: .95rem; font-weight: 600; color: var(--pink); display: block; }

/* Feature card BEM variant */
.feature-card__icon, [class*="feature-card__icon"] { font-size: 2rem; margin-bottom: 12px; }
.feature-card__title, [class*="feature-card__title"] { margin-bottom: 6px; }
.feature-card__desc, [class*="feature-card__desc"] { font-size: .95rem; color: var(--sub); line-height: 1.6; }

/* Testimonial BEM variant */
.testimonial__text { font-size: 15px; font-style: italic; color: var(--sub); margin-bottom: 12px; padding-top: 24px; }
.testimonial__author { font-size: 14px; font-style: normal; color: var(--muted); }

/* Grid: make grid-N work without parent .grid class */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }

/* CTA buttons container */
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* btn-outline white variant for dark BG */
.btn-outline--white { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline--white:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* Ensure hero inner is centered */
.hero .container { position: relative; z-index: 2; text-align: center; }
.hero-inner { position: relative; z-index: 2; max-width: 920px; text-align: center; margin: 0 auto; }

/* Section header centering */
.section > .container > h2:first-child { text-align: center; }
.section > .container > h2:first-child + p { text-align: center; margin-bottom: 32px; }

/* Step BEM variants */
.step__title { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.step__desc { color: var(--sub); font-size: 15px; margin-bottom: 0; }
.step__note { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Benefits list grid */
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
@media(max-width:640px){ .benefits-grid { grid-template-columns: 1fr; } }

/* Room card BEM variants */
.room-card__img { height: 200px; background: linear-gradient(135deg, var(--pink-light) 0%, var(--bg-warm) 100%); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.room-card__body { padding: 24px; }
.room-card__body h3 { margin-bottom: 4px; }
.room-card__meta { font-size: 14px; color: var(--pink); font-weight: 600; margin-bottom: 12px; }
.room-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.room-card__features span { background: var(--bg-warm); padding: 4px 12px; border-radius: 20px; font-size: 13px; color: var(--sub); }

/* Info box */
.info-box {
  background: var(--pink-light); border-radius: var(--radius-md);
  padding: 24px; margin: 20px 0;
}
.info-box h3 { color: var(--pink); margin-bottom: 8px; }

/* Highlight number */
.highlight-number { font-size: 2rem; font-weight: 700; color: var(--pink); }

/* Map placeholder */
.map-placeholder {
  background: var(--bg-warm); border: 2px dashed var(--border);
  border-radius: var(--radius-md); height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px;
}

/* Google Maps embed */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}
.map-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* ============================================================
   ENHANCED — 視覺優化 2026-03-26
   ============================================================ */

/* Hero 背景圖疊加暗色遮罩提升文字可讀性 */
.hero[style*="background-image"] {
  position: relative;
}
.hero[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 40, 35, 0.72) 0%,
    rgba(20, 40, 35, 0.55) 50%,
    rgba(20, 40, 35, 0.65) 100%
  );
  z-index: 1;
}
.hero[style*="background-image"] .container {
  position: relative;
  z-index: 2;
}
.hero[style*="background-image"] h1,
.hero[style*="background-image"] .hero-inner h1 {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}
.hero[style*="background-image"] .hero-sub,
.hero[style*="background-image"] .hero-inner .hero-sub {
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* Hero 按鈕群組 */
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* 信任徽章強化 */
.hero[style*="background-image"] .trust-badges {
  color: rgba(255,255,255,.85);
}
.hero[style*="background-image"] .trust-badges span::before {
  color: var(--green);
}

/* 情境入口卡片強化 */
.scenario-card {
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.scenario-card .card-link {
  margin-top: auto;
  padding-top: 8px;
}

/* ---- Scroll Reveal 動畫 ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 區塊分隔線 ---- */
.section + .section:not(.section--warm) {
  border-top: 1px solid var(--border);
}
.section--warm + .section {
  border-top: none;
}

/* ---- 頁面 Hero 漸層強化 ---- */
.page-hero {
  background: linear-gradient(135deg, #fdf2f7 0%, #f0ece8 50%, var(--bg-warm) 100%);
  border-bottom: 3px solid var(--pink-light);
}

/* 有背景圖的子頁 Hero */
.page-hero[style*="background-image"] {
  background-size: cover;
  background-position: center;
  border-bottom: none;
}

/* ---- 服務卡片連結箭頭 ---- */
.card .btn-sm {
  margin-top: auto;
}

/* ---- 特色區圖標背景 ---- */
.feature-card .card__icon,
.feature-card .feature-card__icon,
.feature-card .card-icon,
.feature-card > div:first-child {
  width: 56px;
  height: 56px;
  background: var(--pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
/* 情境卡片 icon 不要背景圓 */
.scenario-card .card__icon {
  width: auto; height: auto;
  background: none; border-radius: 0;
  margin: 0 0 12px 0;
  font-size: 2rem;
  display: block;
}

/* ---- CTA Banner 強化 ---- */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* ---- Footer 外部連結 Tag 樣式 ---- */
.footer .tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
  transition: all .2s;
}
.footer .tag:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ---- 表格強化 ---- */
table {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
th {
  background: var(--pink-light);
  color: var(--dark);
}

/* ---- 招募頁背景圖 Hero ---- */
.page-hero.recruitment-hero {
  background-size: cover;
  background-position: center;
}

/* ---- 空間卡片 placeholder 圖 ---- */
.room-card-img,
.room-card__img {
  position: relative;
  overflow: hidden;
}
.room-card-img .missing-photo,
.room-card__img .missing-photo {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(232,39,110,.8);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ---- 手機版優化 ---- */
@media(max-width:480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-sub { font-size: .95rem; }
  .hero-buttons .btn { font-size: 15px; padding: 12px 20px; }
  .hero-dual__card { padding: 20px; }
  .hero-dual__text { font-size: 1.1rem; }
  .cta-banner h2 { font-size: 1.3rem; }
  .cta-buttons .btn { font-size: 14px; padding: 12px 20px; }
  .testimonial { padding: 20px; }
  .testimonial p { font-size: 14px; }
  .grid-3 { gap: 12px; }
}

/* ---- 平板優化 ---- */
@media(min-width:481px) and (max-width:768px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .hero-dual { flex-direction: column; align-items: center; }
}
/* 手機版情境卡片 2 欄 */
@media(max-width:480px) {
  .scenario-card .card__desc { font-size: .85rem; }
  .scenario-card .card-link { font-size: .85rem; }
}

/* ---- 打印隱藏 ---- */
@media print {
  .topbar, .float-cta, .cta-banner { display: none; }
  .header { position: static; }
}

/* ---- focus 無障礙 ---- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--pink-ring);
  outline-offset: 2px;
}

/* ---- Skip to content ---- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--pink);
  color: #fff;
  padding: 8px 16px;
  z-index: 100000;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
