/* 首頁「暖陽家居」風格（0004645）：僅作用於首頁 .hm-* 區塊 */
.hm {
  --hm-orange: #fb751b;
  --hm-orange-dark: #e0620f;
  --hm-cream: #fff8f1;
  --hm-peach: #fde7d3;
  --hm-sage: #dce8d8;
  --hm-sage-dark: #5d7a56;
  --hm-text: #4a3a30;
  --hm-muted: #7a685c;
  color: var(--hm-text);
  font-size: 17px;
  line-height: 1.8;
  background: var(--hm-cream);
  overflow: hidden;
}
.hm h1, .hm h2, .hm h3, .hm p { margin: 0; }
.hm a { text-decoration: none; }
.hm-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.hm-section { padding: 88px 0; position: relative; }
.hm-section--white { background: #fff; }

/* 按鈕 */
.hm-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hm-btn--primary {
  background: var(--hm-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(251, 117, 27, .32);
}
.hm-btn--primary:hover, .hm-btn--primary:focus {
  background: var(--hm-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(251, 117, 27, .38);
}
.hm-btn--light { background: #fff; color: var(--hm-orange-dark); box-shadow: 0 10px 24px rgba(74, 58, 48, .14); }
.hm-btn--light:hover, .hm-btn--light:focus { color: var(--hm-orange-dark); transform: translateY(-2px); }

/* Hero */
.hm-hero {
  background: linear-gradient(180deg, #fff3e6 0%, var(--hm-cream) 100%);
  padding: 72px 0 96px;
  position: relative;
}
.hm-hero::before, .hm-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hm-hero::before { width: 460px; height: 460px; background: var(--hm-peach); right: -120px; top: -140px; opacity: .8; }
.hm-hero::after { width: 280px; height: 280px; background: var(--hm-sage); left: -90px; bottom: -110px; opacity: .7; }
.hm-hero .hm-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 56px; }
.hm-hero-text { flex: 1 1 48%; }
.hm-hero-photo { flex: 1 1 52%; position: relative; }
.hm-eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--hm-orange-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(74, 58, 48, .08);
}
.hm-hero h1 { font-size: 42px; line-height: 1.4; font-weight: 800; letter-spacing: .02em; margin-bottom: 22px; }
.hm-hero h1 em { font-style: normal; color: var(--hm-orange); }
.hm-hero-lead { color: var(--hm-muted); font-size: 18px; margin-bottom: 32px; }
.hm-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hm-stores { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.hm-stores img { height: 44px; width: auto; }
.hm-stores-label { color: var(--hm-muted); font-size: 15px; margin-right: 4px; }
.hm-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 30% 50%;
  border-radius: 32px 32px 32px 120px;
  box-shadow: 0 24px 56px rgba(120, 70, 30, .22);
}
.hm-badge {
  position: absolute;
  left: -28px;
  bottom: 28px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 14px 32px rgba(74, 58, 48, .18);
  font-weight: 700;
  line-height: 1.5;
}
.hm-badge small { display: block; color: var(--hm-muted); font-weight: 400; font-size: 14px; }
.hm-badge b { color: var(--hm-orange); }

/* 區塊標題 */
.hm-title { text-align: center; margin-bottom: 52px; }
.hm-title h2 { font-size: 32px; font-weight: 800; line-height: 1.5; }
.hm-title p { color: var(--hm-muted); margin-top: 10px; }

/* 承諾卡片 */
.hm-cards { display: flex; gap: 28px; }
.hm-card {
  flex: 1;
  background: var(--hm-cream);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.hm-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(120, 70, 30, .12); }
.hm-card-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--hm-peach);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-card:nth-child(2) .hm-card-icon { background: var(--hm-sage); }
.hm-card-icon svg { width: 40px; height: 40px; stroke: var(--hm-orange-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-card:nth-child(2) .hm-card-icon svg { stroke: var(--hm-sage-dark); }
.hm-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.hm-card p { color: var(--hm-muted); font-size: 16px; }

/* 招募 */
.hm-join {
  background: var(--hm-peach);
  border-radius: 36px;
  padding: 56px;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.hm-join::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  right: -80px; top: -80px;
}
.hm-join-text { flex: 1 1 42%; position: relative; z-index: 1; }
.hm-join-text h2 { font-size: 32px; font-weight: 800; line-height: 1.5; margin-bottom: 14px; }
.hm-join-text p { color: var(--hm-muted); margin-bottom: 26px; }
.hm-join-list { flex: 1 1 58%; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.hm-join-list li {
  background: #fff;
  border-radius: 20px;
  padding: 16px 22px 16px 70px;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 6px 16px rgba(120, 70, 30, .08);
  font-weight: 600;
}
.hm-join-list li:last-child { margin-bottom: 0; }
.hm-join-list li::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 32px; height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--hm-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.hm-join-list li small { display: block; color: var(--hm-muted); font-weight: 400; font-size: 14px; line-height: 1.5; }

/* App 下載 */
.hm-app {
  background: linear-gradient(135deg, #ff9a4d 0%, var(--hm-orange) 55%, #ee6a12 100%);
  border-radius: 36px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(251, 117, 27, .3);
}
.hm-app::before, .hm-app::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.hm-app::before { width: 300px; height: 300px; left: -90px; top: -110px; }
.hm-app::after { width: 220px; height: 220px; right: -60px; bottom: -90px; }
.hm-app > * { position: relative; z-index: 1; }
.hm-app h2 { font-size: 32px; font-weight: 800; line-height: 1.5; margin-bottom: 12px; }
.hm-app p { opacity: .95; margin-bottom: 30px; }
.hm-app .hm-app-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hm-app .hm-app-btns img { height: 52px; width: auto; }

/* 平板與手機 */
@media (max-width: 991px) {
  .hm-section { padding: 64px 0; }
  .hm-hero { padding: 48px 0 72px; }
  .hm-hero .hm-inner { flex-direction: column; gap: 40px; }
  .hm-hero-text, .hm-hero-photo { flex: none; width: 100%; }
  .hm-hero h1 { font-size: 34px; }
  .hm-badge { left: 12px; bottom: 12px; }
  .hm-cards { flex-direction: column; }
  .hm-join { flex-direction: column; align-items: stretch; padding: 40px 28px; gap: 32px; }
}
@media (max-width: 575px) {
  .hm-inner { padding: 0 16px; }
  .hm-hero h1 { font-size: 28px; }
  .hm-title h2, .hm-join-text h2, .hm-app h2 { font-size: 25px; }
  .hm-hero-cta .hm-btn, .hm-join-text .hm-btn { display: block; text-align: center; width: 100%; }
  .hm-app { padding: 48px 20px; border-radius: 28px; }
  .hm-hero-photo img { border-radius: 24px 24px 24px 72px; }
}

/* ===== 內頁共用元件（0004645）===== */
.hm-narrow { max-width: 860px; }
.hm-center { text-align: center; }
.hm-card-icon i { font-size: 36px; line-height: 1; color: var(--hm-orange-dark); }
.hm-card:nth-child(2) .hm-card-icon i { color: var(--hm-sage-dark); }
.hm-cards--two .hm-card { padding: 40px 36px; }

/* 頁首標題帶 */
.hm-pagehead {
  background: linear-gradient(180deg, #fff3e6 0%, var(--hm-cream) 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hm-pagehead::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--hm-peach); opacity: .7; right: -90px; top: -150px; }
.hm-pagehead::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--hm-sage); opacity: .6; left: -70px; bottom: -90px; }
.hm-pagehead .hm-inner { position: relative; z-index: 1; }
.hm-pagehead h1 { font-size: 36px; font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.hm-pagehead p { color: var(--hm-muted); margin-top: 8px; font-size: 18px; }

/* 關於 */
.hm-hero--about .hm-hero-photo img { aspect-ratio: 16 / 10; object-position: center; }
.hm-prose p { margin-bottom: 20px; color: var(--hm-text); }
.hm-prose .hm-lead { font-size: 20px; font-weight: 700; line-height: 1.8; }
.hm-card--left { text-align: left; }
.hm-card-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--hm-orange); color: #fff;
  font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hm-closing {
  margin-top: 36px; text-align: center; font-size: 20px; font-weight: 700;
  background: var(--hm-peach); border-radius: 24px; padding: 24px 28px;
}

/* 註冊 */
.hm-banner-sec { padding: 32px 0 0; }
.hm-banner { width: 100%; height: auto; display: block; border-radius: 32px; box-shadow: 0 20px 48px rgba(120, 70, 30, .18); cursor: pointer; }
.hm-steps { display: flex; gap: 24px; }
.hm-step { flex: 1; background: var(--hm-cream); border-radius: 28px; padding: 20px; text-align: center; }
.hm-step img { margin: 0 auto; border-radius: 16px; }
.hm-formcard { background: #fff; border-radius: 32px; padding: 44px 48px; box-shadow: 0 20px 48px rgba(120, 70, 30, .12); }
.hm-formcard .form-group { margin-bottom: 22px; }
.hm-formcard label { font-weight: 700; padding-top: 12px; }
.hm-formcard .form-control {
  height: 50px; border-radius: 16px; border: 2px solid #f1e2d4; background: var(--hm-cream);
  font-size: 16px; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.hm-formcard .form-control:focus { border-color: var(--hm-orange); box-shadow: 0 0 0 4px rgba(251, 117, 27, .15); background: #fff; }
.hm .btn-green1, .hm .btn-green1:focus {
  background: var(--hm-orange); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 32px; font-weight: 700; box-shadow: 0 10px 24px rgba(251, 117, 27, .32);
}
.hm .btn-green1:hover { background: var(--hm-orange-dark); color: #fff; }
.hm-form-foot { margin-top: 18px; text-align: center; color: var(--hm-muted); }
.hm-form-foot a { color: var(--hm-orange-dark); font-weight: 700; text-decoration: underline; }
.hm-split { display: flex; align-items: center; gap: 48px; }
.hm-split-img { flex: 1 1 45%; text-align: center; }
.hm-split-img img { margin: 0 auto; }
.hm-split .hm-checklist { flex: 1 1 55%; }
.hm-checklist { list-style: none; margin: 0; padding: 0; }
.hm-checklist li {
  background: #fff; border-radius: 20px; padding: 16px 22px 16px 70px; margin-bottom: 14px;
  position: relative; box-shadow: 0 6px 16px rgba(120, 70, 30, .08); font-weight: 600;
}
.hm-section--white .hm-checklist li { background: var(--hm-cream); box-shadow: none; }
.hm-checklist li::before {
  content: ""; position: absolute; left: 22px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--hm-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.hm-note { color: var(--hm-muted); font-size: 14px; margin-top: 20px; text-align: center; line-height: 1.6; }
.hm-numlist { list-style: none; counter-reset: n; margin: 0; padding: 0; }
.hm-numlist li {
  counter-increment: n; position: relative; background: var(--hm-cream); border-radius: 20px;
  padding: 18px 22px 18px 76px; margin-bottom: 14px; font-weight: 700; font-size: 18px;
}
.hm-numlist li::before {
  content: counter(n); position: absolute; left: 20px; top: 50%; margin-top: -20px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--hm-orange); color: #fff; text-align: center; line-height: 40px; font-weight: 800;
}

/* 收費說明（沿用既有 partial，只調外觀） */
.hm-charge { background: var(--hm-cream); padding: 24px 0 24px; }
.hm-charge section { background: transparent !important; }
.hm-charge .service-choice-block {
  border: 0 !important; border-radius: 28px !important; overflow: hidden; background: #fff;
  box-shadow: 0 14px 36px rgba(120, 70, 30, .12);
}
.hm-charge .service-choice-header { background: var(--hm-orange) !important; color: #fff !important; padding: 18px; }
.hm-charge .service-choice-header h3 { margin: 0; color: #fff; }
.hm-charge h2 strong { border-bottom: 0 !important; font-weight: 800; }
.hm-charge .service-choice-card { margin-bottom: 24px; }

/* 部落格 */
.hm-blog-body { padding-top: 48px; padding-bottom: 72px; display: flex; gap: 40px; align-items: flex-start; }
.hm-blog .blog { flex: 1; display: flex; gap: 40px; align-items: flex-start; margin: 0; width: 100%; }
.hm-blog-body { display: block; }
.hm-blog .blog::before, .hm-blog .blog::after { display: none; }
.hm-blog .blog > .col-md-8 { flex: 1 1 66%; width: auto; float: none; padding: 0; min-width: 0; }
.hm-blog .blog > .col-md-4 { flex: 0 0 31%; width: auto; float: none; padding: 0; }
.hm-blog .blog-post { margin-bottom: 28px; }
.hm-blog .blog-post .panel {
  border: 0; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 12px 32px rgba(120, 70, 30, .1); transition: transform .25s, box-shadow .25s; margin: 0;
}
.hm-blog .blog-post .panel:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(120, 70, 30, .16); }
.hm-blog .blog-post .cover-image { width: 100%; height: auto; display: block; }
.hm-blog .blog-post .panel-body { padding: 28px 32px 30px; }
.hm-blog .blog-post-title { font-size: 24px; font-weight: 800; line-height: 1.5; margin: 12px 0; }
.hm-blog .blog-post-title a { color: var(--hm-text); }
.hm-blog .blog-post-title a:hover { color: var(--hm-orange-dark); }
.hm-blog .blog-post-date { color: var(--hm-muted); font-size: 14px; margin: 0; }
.hm-blog .label.blog-label-primary, .hm-blog .label-light {
  background: var(--hm-peach); color: var(--hm-orange-dark); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13px;
}
.hm-blog .blog-post-btn-detail { display: inline-block; margin-top: 12px; color: var(--hm-orange-dark); font-weight: 700; }
.hm-blog .blog-post-btn-detail::after { content: " →"; }
.hm-blog .btn-orange1 {
  background: var(--hm-orange); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px;
  box-shadow: 0 10px 24px rgba(251, 117, 27, .32);
}
.hm-blog .recommended-articles { background: #fff; border-radius: 28px; padding: 24px 26px; margin-top: 24px; box-shadow: 0 12px 32px rgba(120, 70, 30, .08); }
.hm-blog .recommended-articles ul { padding-left: 0; list-style: none; margin: 0; }
.hm-blog .recommended-articles li { padding: 10px 0; border-bottom: 1px dashed #f1e2d4; }
.hm-blog .recommended-articles li:last-child { border-bottom: 0; }
.hm-blog .recommended-articles a { color: var(--hm-text); }
.hm-blog .recommended-articles a:hover { color: var(--hm-orange-dark); }
.hm-blog .pagination > li > a, .hm-blog .pagination > li > span { border: 0; border-radius: 12px; margin: 0 3px; color: var(--hm-text); background: #fff; }
.hm-blog .pagination > .active > a, .hm-blog .pagination > .active > span { background: var(--hm-orange); color: #fff; }
.hm-blog .fanpage-container { max-width: 100%; overflow: hidden; border-radius: 20px; }

/* 幫助中心 */
.hm-help .section-help { background: transparent; padding: 48px 0 72px; }
.hm-help .help-center { background: transparent; }
.hm-help .help-sidebar { background: #fff; border-radius: 28px; box-shadow: 0 12px 32px rgba(120, 70, 30, .08); }
.hm-help .help-content { background: #fff; border-radius: 28px; padding: 32px 36px; box-shadow: 0 12px 32px rgba(120, 70, 30, .08); }
.hm-help .help-content a { color: var(--hm-text); }
.hm-help .help-content a:hover { color: var(--hm-orange-dark); }
.hm-help .help-title-icon { color: var(--hm-orange); margin-right: 10px; }
.hm-help .help-content-title { padding: 10px 0; border-bottom: 1px dashed #f1e2d4; }
.hm-help hr.hr-dark { border-color: #f1e2d4; }
.hm-help .btn-default { border-radius: 999px; }

@media (min-width: 993px) {
  .hm-help .help-center { display: flex; gap: 32px; align-items: flex-start; padding-top: 0; padding-bottom: 0; }
  .hm-help .help-sidebar { position: static; flex: 0 0 260px; width: 260px; height: auto; padding: 20px 12px; }
  .hm-help .help-content { flex: 1; width: auto; padding-left: 36px; min-width: 0; }
}
.hm-help .help-sidebar .sidebar-list { padding-left: 0; list-style: none; }
.hm-help .help-sidebar .sidebar-list > li > a { color: var(--hm-text); display: block; padding: 6px 0; }
.hm-help .help-sidebar .sidebar-list > li:hover, .hm-help .help-sidebar .sidebar-list > li.active { border-left-color: var(--hm-orange); }
@media (max-width: 992px) { .hm-help .help-sidebar { box-shadow: 8px 0 32px rgba(74, 58, 48, .2); border-radius: 0 28px 28px 0; } }

/* 頁尾（僅包 .hm-footer-wrap 的頁面） */
.hm-footer-wrap { background: #fff3e6; }
.hm-footer-wrap .footer { background: transparent; color: var(--hm-text); padding: 56px 0 32px; border: 0; }
.hm-footer-wrap .footer h3 { font-weight: 800; margin-bottom: 14px; }
.hm-footer-wrap .footer a.footer-mail-link { color: var(--hm-orange-dark); }
.hm-footer-wrap .footer p, .hm-footer-wrap .footer span { color: var(--hm-text); }

@media (max-width: 991px) {
  .hm-pagehead { padding: 40px 0 34px; }
  .hm-pagehead h1 { font-size: 28px; }
  .hm-steps { flex-direction: column; }
  .hm-split { flex-direction: column; gap: 28px; }
  .hm-formcard { padding: 32px 24px; }
  .hm-blog .blog { flex-direction: column; gap: 24px; }
  .hm-blog .blog > .col-md-8, .hm-blog .blog > .col-md-4 { flex: none; width: 100%; }
  .hm-help .help-content { padding: 24px 20px; }
}
@media (max-width: 575px) {
  .hm-pagehead h1 { font-size: 24px; }
  .hm-banner { border-radius: 20px; }
  .hm-formcard { border-radius: 24px; padding: 28px 18px; }
  .hm-formcard label { padding-top: 0; }
  .hm-blog .blog-post .panel-body { padding: 22px 20px 24px; }
  .hm-blog .blog-post-title { font-size: 20px; }
  .hm-checklist li, .hm-numlist li { padding-right: 16px; }
  .hm-closing { font-size: 17px; }
  .hm-prose .hm-lead { font-size: 18px; }
}

/* 收費卡片：標題換暖橘；手機取消固定高度避免文字重疊 */
.hm-charge .service-choice-content-block h4, .hm-charge .service-choice-content-block h4 strong { color: var(--hm-orange-dark) !important; }
.hm-charge .service-choice-content-block p { color: var(--hm-text); }
@media (max-width: 991px) {
  .hm-charge [class*="height-fixed"] { height: auto !important; min-height: 0 !important; }
  .hm-charge .service-choice-card { margin-left: 0; margin-right: 0; }
}

/* 登入頁 */
.hm-numlist li small { display: block; color: var(--hm-muted); font-weight: 400; font-size: 15px; line-height: 1.6; }
.hm .activity-info-block { margin-bottom: 24px; }
