/* ============================================================
   PULO 新屋裝潢指南 — 優化版樣式
   三種視覺主題透過 html[data-theme] 切換，全部以 CSS 變數驅動
   ============================================================ */

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

/* ---------- 主題 A：暖調編輯風 ---------- */
html[data-theme="a"] {
  --bg:            #F7F2EA;
  --surface:       #FFFFFF;
  --surface-2:     #F1E9DC;
  --text:          #211D16;
  --text-sub:      #6E6557;
  --text-mute:     #9C927F;
  --line:          #E6DCCB;
  --line-strong:   #D8CBB4;
  --primary:       #0E6E84;
  --primary-strong:#0A4F60;
  --primary-soft:  #E4F0F1;
  --accent:        #C26A45;
  --accent-soft:   #F6E7DD;
  --accent-text:   #FFFFFF;
  --hero-bg:       #F1E9DC;
  --hero-text:     #211D16;
  --hero-sub:      #6E6557;
  --hero-accent:   #C26A45;
  --hero-tagbg:    #FFFFFF;
  --hero-tagbd:    #E0D4C0;
  --font-head:     "Noto Serif TC", serif;
  --font-body:     "Noto Sans TC", sans-serif;
  --head-weight:   700;
  --radius:        7px;
  --radius-lg:     14px;
  --shadow:        0 2px 18px rgba(40,30,15,.06);
  --shadow-lg:     0 14px 44px rgba(40,30,15,.12);
}

/* ============================================================
   基礎
   ============================================================ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.25; letter-spacing: -.01em; }
a { color: inherit; }
svg.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }

section { padding: 84px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow svg.ico { width: 15px; height: 15px; stroke-width: 1.8; }
h2.sec-title { font-size: clamp(26px, 3.4vw, 36px); margin: 14px 0 0; }
h2.sec-title .accent { color: var(--primary); }
h2.sec-title .brand { font-family: var(--font-body); font-weight: 900; letter-spacing: -.03em; font-size: .82em; }
.sec-sub { color: var(--text-sub); font-size: 16.5px; margin-top: 14px; max-width: 640px; text-wrap: pretty; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 16px; padding: 0 28px; max-width: 1280px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; padding: 20px 0; flex-shrink: 0; }
.logo img { height: 30px; width: auto; display: block; }
.crumb { font-size: 13.5px; color: var(--text-mute); display: flex; align-items: center; gap: 7px; }
.crumb svg.ico { width: 13px; height: 13px; }
.crumb a { text-decoration: none; color: var(--text-sub); }
.nav-cta {
  flex-shrink: 0; margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-text);
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.nav-cta svg.ico { width: 16px; height: 16px; }

/* JUMP NAV */
.jump { display: flex; gap: 0; overflow-x: auto; flex: 1; scrollbar-width: none; }
@media (max-width: 768px) { .jump { display: none; } }
.jump::-webkit-scrollbar { display: none; }
.jump a {
  white-space: nowrap; padding: 20px 14px; font-size: 14px; color: var(--text-sub);
  text-decoration: none; transition: color .2s;
}
.jump a:hover, .jump a.active { color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden; }
/* 暖調主題：Hero 以室內作品照為底，覆上品牌湖綠藍漸層 */
html[data-theme="a"] .hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: url(https://photo.puloapp.com/public/uploads/big/fec6cdc480f2a9d4e88dd34fa12fce1c.jpg);
  background-size: cover; background-position: center right;
}
html[data-theme="a"] .hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(241,233,220,.985) 0%, rgba(241,233,220,.95) 32%, rgba(241,233,220,.62) 62%, rgba(243,237,226,.18) 100%);
}
@media (max-width: 880px) {
  html[data-theme="a"] .hero::after {
    background: linear-gradient(180deg, rgba(241,233,220,.97) 0%, rgba(241,233,220,.92) 55%, rgba(243,237,226,.80) 100%);
  }
}
/* 暖調 Hero：明亮米色版的元件對比覆寫 */
html[data-theme="a"] .btn-ghost { background: rgba(255,255,255,.55); color: var(--primary-strong); border: 1.5px solid var(--line-strong); }
html[data-theme="a"] .btn-ghost:hover { background: #fff; }
html[data-theme="a"] .hero-stats { background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); }
html[data-theme="a"] .hero-stats .num { color: var(--primary-strong); }
html[data-theme="a"] .hero-stats .r2 { border-top: 1px solid var(--line); }
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 86px 28px 76px; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--hero-tagbg); border: 1px solid var(--hero-tagbd);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600;
  font-family: var(--font-body); margin-bottom: 24px;
}
.hero .tag svg.ico { width: 15px; height: 15px; color: var(--hero-accent); }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.22; margin-bottom: 22px; }
.hero h1 .hl { color: var(--hero-accent); }
.hero .lead { font-size: 17.5px; color: var(--hero-sub); max-width: 520px; margin-bottom: 32px; text-wrap: pretty; }
.hero-btns { display: flex; gap: 13px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none; font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg.ico { width: 17px; height: 17px; }
.btn-accent { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-lg); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.10); color: var(--hero-text); border: 1.5px solid var(--hero-tagbd); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* hero stat panel */
.hero-stats {
  background: rgba(10,60,74,.30); border: 1px solid var(--hero-tagbd);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.hero-stats .item { padding: 14px 12px; }
.hero-stats .num { font-family: var(--font-head); font-size: 30px; font-weight: var(--head-weight); color: var(--hero-accent); line-height: 1.1; }
.hero-stats .lbl { font-size: 13px; color: var(--hero-sub); margin-top: 5px; font-family: var(--font-body); }
.hero-stats .item + .item { }
.hero-stats .r2 { border-top: 1px solid rgba(255,255,255,.14); }

/* ============================================================
   EXPERT STRIP
   ============================================================ */
.experts-band { background: var(--surface-2); }
.experts-band .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.experts-band .head-txt { max-width: 760px; }
.experts-band .head h2 { font-size: clamp(22px,2.8vw,30px); }
.experts-band .head p { color: var(--text-sub); margin-top: 10px; font-size: 15.5px; }
.exp-nav { display: flex; gap: 10px; flex-shrink: 0; }
.exp-arrow {
  width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  cursor: pointer; box-shadow: var(--shadow);
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.exp-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.exp-arrow svg.ico { width: 20px; height: 20px; }
.exp-arrow[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.exp-arrow[disabled]:hover { background: var(--surface); border-color: var(--line); color: var(--text); }

.expert-grid {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 4px 4px 14px;
  margin: 0 -4px; scrollbar-width: none;
}
.expert-grid::-webkit-scrollbar { display: none; }
.expert-grid > .ecard { flex: 0 0 calc((100% - 44px) / 3); }
@media (max-width: 980px) { .expert-grid > .ecard { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) { .experts-band .head { flex-direction: column; align-items: flex-start; } .expert-grid > .ecard { flex-basis: 86%; } }

.ecard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.ecard .cover { height: 170px; position: relative; overflow: hidden; }
.ecard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ecard .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,28,.05), rgba(10,20,28,.32)); }
.ecard .rating {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10,20,28,.74); color: #fff; backdrop-filter: blur(4px);
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
}
.ecard .rating svg.ico { width: 13px; height: 13px; color: #FFC857; fill: #FFC857; stroke: none; }
.ecard .avatar {
  position: absolute; left: 16px; top: 16px; width: 58px; height: 58px; z-index: 3;
  border-radius: 16px; border: 3px solid var(--surface); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 24px; font-weight: 800; color: #fff;
}
.ecard .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ecard .name { font-size: 17px; font-weight: 800; font-family: var(--font-body); }
.ecard .loc { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-mute); margin-top: 3px; }
.ecard .loc svg.ico { width: 13px; height: 13px; }
.ecard .blurb { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; margin: 13px 0 16px; flex: 1; }
.ecard .meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; text-align: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ecard .meta .v { font-weight: 800; font-size: 13.5px; font-family: var(--font-body); }
.ecard .meta .k { font-size: 10.5px; color: var(--text-mute); margin-top: 3px; }
.ecard .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.ecard .chip { background: var(--primary-soft); color: var(--primary-strong); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.ecard .price-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--accent); }
.ecard .price-chip svg.ico { width: 14px; height: 14px; }
.ecard .go {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--accent); color: var(--accent-text);
  padding: 12px; border-radius: var(--radius); font-size: 14px; font-weight: 700; text-decoration: none;
  transition: filter .2s ease;
}
.ecard .go:hover { filter: brightness(1.05); }
.ecard .go svg.ico { width: 15px; height: 15px; }
.ecard .go-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ecard .go-alt {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; color: var(--primary-strong);
  border: 1.5px solid var(--line-strong);
  padding: 11px; border-radius: var(--radius); font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ecard .go-alt:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-strong); }
.ecard .go-alt.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.ecard .go-row .go { padding: 11px; }

/* expert placeholder slots (no experts onboarded yet — reserved space) */
.expert-slot {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; padding: 28px 22px;
}
.expert-slot .es-ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--surface-2); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.expert-slot .es-ic svg.ico { width: 24px; height: 24px; }
.expert-slot .es-title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 16px; color: var(--text); }
.expert-slot .es-note { font-size: 12.5px; color: var(--text-mute); line-height: 1.6; }

/* ============================================================
   TYPE CARDS (定義)
   ============================================================ */
.type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 720px){ .type-grid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; position: relative; transition: border-color .2s, box-shadow .2s;
}
.tcard.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.tcard .ic { width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tcard .ic svg.ico { width: 24px; height: 24px; }
.tcard h3 { font-size: 18px; margin-bottom: 9px; }
.tcard p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }
.tcard .flag { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tcard .flag svg.ico { width: 13px; height: 13px; }

.callout {
  display: flex; gap: 16px; margin-top: 26px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--primary);
  border-radius: var(--radius); padding: 22px 26px; font-size: 14.5px; color: var(--text-sub); line-height: 1.75;
}
.callout svg.ico { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.callout strong { color: var(--text); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { margin-top: 44px; position: relative; }
.tl-item { position: relative; padding-left: 78px; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:''; position: absolute; left: 23px; top: 40px; bottom: -6px; width: 2px; background: var(--line-strong); }
.tl-item:last-child::before { display: none; }
.tl-node {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 16px;
  z-index: 2;
}
.tl-phase { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--primary); margin-bottom: 5px; }
.tl-item h3 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { font-size: 14.5px; color: var(--text-sub); max-width: 640px; }
.tl-dur { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; background: var(--primary-soft); color: var(--primary-strong); font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.tl-dur svg.ico { width: 13px; height: 13px; }

/* ============================================================
   COST + CALCULATOR
   ============================================================ */
.cost-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 720px){ .cost-grid { grid-template-columns: 1fr; } }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); position: relative; }
.ccard.feat { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft), var(--shadow-lg); }
.ccard .feat-tag { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.ccard .feat-tag svg.ico { width: 12px; height: 12px; }
.ccard .tier { font-size: 14px; font-weight: 700; color: var(--text-sub); }
.ccard .price { font-family: var(--font-head); font-size: 34px; font-weight: var(--head-weight); color: var(--primary); line-height: 1.1; margin-top: 8px; }
.ccard .price small { font-size: 15px; font-weight: 500; color: var(--text-sub); }
.ccard .cdesc { font-size: 13.5px; color: var(--text-sub); margin-top: 14px; line-height: 1.7; }
.ccard .area { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--primary-strong); }
.ccard .area svg.ico { width: 14px; height: 14px; }

/* Calculator */
.calc { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 800px){ .calc { grid-template-columns: 1fr; } }
.calc-form { padding: 36px 38px; }
.calc-form .ctitle { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 21px; font-weight: var(--head-weight); }
.calc-form .ctitle svg.ico { width: 24px; height: 24px; color: var(--primary); }
.calc-form .csub { font-size: 13.5px; color: var(--text-sub); margin: 8px 0 28px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.calc-label .val { font-family: var(--font-head); font-size: 20px; color: var(--primary); }
.calc-field { margin-bottom: 28px; }
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); outline: none; }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; }
input[type=range].slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); border: 3px solid var(--surface); cursor: pointer; }
.seg { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.seg button {
  font-family: var(--font-body); cursor: pointer; padding: 14px 8px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text-sub);
  font-size: 13.5px; font-weight: 700; transition: all .18s ease; text-align: center; line-height: 1.4;
}
.seg button small { display: block; font-weight: 500; font-size: 11px; color: var(--text-mute); margin-top: 3px; }
.seg button.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); }
.seg button.on small { color: var(--primary-strong); }
.calc-out { background: var(--primary-strong); color: #fff; padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.calc-out .o-lbl { font-size: 13px; opacity: .7; font-family: var(--font-body); }
.calc-out .o-range { font-family: var(--font-head); font-size: clamp(34px,4vw,46px); font-weight: var(--head-weight); line-height: 1.1; margin: 8px 0 4px; }
.calc-out .o-range small { font-size: 18px; font-weight: 500; opacity: .85; }
.calc-out .o-per { font-size: 13.5px; opacity: .8; }
.calc-out .o-divide { height: 1px; background: rgba(255,255,255,.16); margin: 26px 0; }
.calc-out .o-row { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.calc-out .o-row + .o-row { margin-top: 14px; }
.calc-out .o-row svg.ico { width: 18px; height: 18px; opacity: .8; }
.calc-out .o-row b { font-family: var(--font-head); }
.calc-out .o-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; background: var(--accent); color: var(--accent-text); padding: 13px; border-radius: var(--radius); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.calc-out .o-cta svg.ico { width: 16px; height: 16px; }
.calc-note { font-size: 12px; color: var(--text-mute); margin-top: 18px; text-align: center; }

/* hidden-cost list */
.hidden-cost { margin-top: 36px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 720px){ .hidden-cost { grid-template-columns: 1fr; } }
.hc-item { background: var(--accent-soft); border-radius: var(--radius-lg); padding: 22px 22px; }
.hc-item .hc-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; font-family: var(--font-body); color: var(--text); margin-bottom: 8px; }
.hc-item .hc-h svg.ico { width: 20px; height: 20px; color: var(--accent); }
.hc-item p { font-size: 13px; color: var(--text-sub); line-height: 1.65; }
.hc-item .hc-cost { font-weight: 700; color: var(--accent); }

/* ============================================================
   PLANNING (4 quadrants)
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
@media (max-width: 760px){ .plan-grid { grid-template-columns: 1fr; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pcard .ph { display: flex; align-items: center; gap: 10px; padding: 17px 22px; font-weight: 800; font-size: 15px; font-family: var(--font-body); }
.pcard .ph svg.ico { width: 19px; height: 19px; }
.ph.k-priority { background: var(--primary-soft); color: var(--primary-strong); }
.ph.k-storage  { background: var(--accent-soft); color: var(--accent); }
.ph.k-budget   { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.ph.k-regret   { background: color-mix(in srgb, #C0392B 12%, var(--surface)); color: #A5392B; }
.pcard ul { list-style: none; padding: 8px 22px 16px; }
.pcard li { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pcard li:last-child { border-bottom: none; }
.pcard li .li-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pcard li .li-ic svg.ico { width: 17px; height: 17px; }
.k-regret ~ ul li .li-ic, .pcard.regret li .li-ic { color: #A5392B; }
.pcard .li-name { font-weight: 700; font-size: 14.5px; display: block; }
.pcard .li-note { font-size: 12.5px; color: var(--text-sub); margin-top: 3px; line-height: 1.6; }

/* ============================================================
   STYLE SELECTOR (interactive)
   ============================================================ */
.style-tool { margin-top: 40px; display: grid; grid-template-columns: 320px 1fr; gap: 28px; }
@media (max-width: 820px){ .style-tool { grid-template-columns: 1fr; } }
.style-list { display: flex; flex-direction: column; gap: 9px; }
.style-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 13px 16px; transition: all .18s ease; font-family: var(--font-body);
}
.style-opt:hover { border-color: var(--line-strong); }
.style-opt.on { border-color: var(--primary); background: var(--primary-soft); }
.style-opt .sw { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.style-opt .so-name { font-weight: 800; font-size: 15px; }
.style-opt .so-tag { font-size: 12px; color: var(--text-sub); margin-top: 1px; }
.style-opt .so-chev { margin-left: auto; color: var(--text-mute); opacity: 0; transition: opacity .2s; }
.style-opt.on .so-chev { opacity: 1; color: var(--primary); }
.style-opt .so-chev svg.ico { width: 18px; height: 18px; }

.style-preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.style-preview .sp-banner { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 20px 26px; }
.style-preview .sp-banner h3 { color: #fff; font-size: 24px; text-shadow: 0 2px 14px rgba(0,0,0,.3); position: relative; z-index: 2; }
.style-preview .sp-body { padding: 26px; }
.style-preview .sp-desc { font-size: 15px; color: var(--text-sub); line-height: 1.75; }
.style-preview .sp-traits { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.style-preview .sp-traits span { background: var(--surface-2); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-sub); }
.style-preview .sp-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); }
.style-preview .sp-cost-l { font-size: 12.5px; color: var(--text-mute); }
.style-preview .sp-cost-v { font-family: var(--font-head); font-size: 24px; font-weight: var(--head-weight); color: var(--primary); }
.style-preview .sp-bar { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-sub); }
.style-preview .sp-dots { display: flex; gap: 4px; }
.style-preview .sp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.style-preview .sp-dots i.fill { background: var(--primary); }

/* ============================================================
   CASES
   ============================================================ */
.case-list { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 300px 1fr;
  transition: transform .18s ease, box-shadow .25s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@media (max-width: 720px){ .case { grid-template-columns: 1fr; } }
.case .c-img { position: relative; min-height: 220px; background: var(--surface-2); overflow: hidden; }
.case .c-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.case .c-img .c-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-mute); }
.case .c-img .c-ph svg.ico { width: 46px; height: 46px; }
.case .c-img .c-budget { position: absolute; bottom: 14px; left: 14px; z-index: 2; background: rgba(10,20,28,.78); backdrop-filter: blur(4px); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px; padding: 8px 15px; border-radius: var(--radius); }
.case .c-img .c-budget small { font-size: 11px; font-weight: 500; opacity: .85; display: block; font-family: var(--font-body); }
.case .c-body { padding: 26px 28px; }
.case .c-body h3 { font-size: 19px; margin-bottom: 14px; }
.case .c-params { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.case .c-params .pt { background: var(--primary-soft); color: var(--primary-strong); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.case .c-desc { font-size: 14.5px; color: var(--text-sub); line-height: 1.75; }
.case .c-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--accent); text-decoration: none; transition: gap .18s ease; }
.case .c-link:hover { gap: 10px; }
.case .c-link svg.ico { width: 15px; height: 15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 40px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq.open { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; gap: 16px; font-family: var(--font-body); }
.faq-q .qn { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.faq-q .qt { font-size: 16.5px; font-weight: 700; color: var(--text); flex: 1; }
.faq-q .chev { color: var(--text-mute); transition: transform .3s ease; }
.faq-q .chev svg.ico { width: 20px; height: 20px; }
.faq.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .faq-a-in { padding: 0 24px 24px 70px; font-size: 14.5px; color: var(--text-sub); line-height: 1.85; }
.faq-a .faq-a-in strong { color: var(--text); }

/* ============================================================
   CTA
   ============================================================ */
.cta-final { background: var(--hero-bg); color: var(--hero-text); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-final h2 { font-size: clamp(24px,3vw,34px); margin-bottom: 14px; }
.cta-final p { color: var(--hero-sub); max-width: 520px; margin: 0 auto 30px; font-size: 16px; }
.cta-final .hero-btns { justify-content: center; }
.cta-final .expert-grid { text-align: left; margin-top: 8px; }
.cta-final .exp-arrow { color: var(--hero-text); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--hero-tagbd); }
.trust-row .ti { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hero-sub); }
.trust-row .ti svg.ico { width: 17px; height: 17px; color: var(--hero-accent); }

/* footer */
.foot { text-align: center; padding: 40px 24px; font-size: 13px; color: var(--text-mute); border-top: 1px solid var(--line); }
.foot a { color: var(--primary); text-decoration: none; }
.foot p + p { margin-top: 7px; }

.note { background: var(--primary-soft); border-radius: var(--radius); padding: 16px 20px; font-size: 13px; color: var(--text-sub); margin-top: 22px; display: flex; gap: 12px; line-height: 1.65; }
.note svg.ico { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.note strong { color: var(--primary-strong); }

/* sub heading inside section */
.sub-head { font-size: clamp(20px,2.4vw,26px); margin-top: 64px; }

/* standalone helpers */
body.embed .nav { position: static; }
