/* RenoKaki — public site, platform direction
   Layout: photo-led hero with a floating advisor card, then rounded content
   cards on a warm ground; brand green carries actions, terracotta only for small highlights. */
:root {
  --bg: #F7F4EE;          /* page ground */
  --bg-2: #EFEAE1;        /* alternate band */
  --white: #FFFFFF;
  --ink: #1D2926;         /* headings / text, green-black */
  --ink-2: #4D5A56;       /* body secondary */
  --stone: #646F6A;       /* meta（对比度 ≥ 4.5） */
  --line: #E3DDD2;
  --green: #1F4A40;       /* brand */
  --green-2: #2C6457;
  --mint: #E2EEE8;        /* soft brand tint */
  --sand: #F1EADF;
  --blush: #F6E4DA;
  --clay: #B5512A;        /* highlight + main CTA（白字对比度 ≥ 4.5，符合 WCAG AA） */
  --wa: #137D3C;          /* WhatsApp 绿（加深，白字对比度 ≥ 4.5） */
  --danger: #B03A1A;
  --tint-green: var(--mint);
  --tint-stone: var(--sand);
  --tint-clay: var(--blush);
  --font: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  /* 标题（品牌方向 D）：英文 Bricolage Grotesque，中文思源黑体粗体 */
  --font-head: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(29,41,38,.05), 0 12px 32px -14px rgba(29,41,38,.22);
  --shadow-lg: 0 2px 4px rgba(29,41,38,.05), 0 28px 60px -24px rgba(29,41,38,.38);
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; }
img, svg { max-width: 100%; }
img { height: auto; }  /* 配合 HTML 的 width/height 属性：保持比例、避免版面跳动 */
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; letter-spacing: -.01em; }
h1, h2, .display, .page-title { font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; }
.muted { color: var(--stone); }
.small { font-size: .875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- type ---------- */
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.eyebrow-light { color: #CDE5DA; }
.display { font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.22; }
.display em { font-style: normal; color: #F2C3A6; }
.display-sm { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 38em; }
.caption { font-size: .8rem; color: var(--stone); margin-top: 8px; }
.fine { font-size: .82rem; color: var(--stone); margin-top: 14px; }
.text-link { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--green); }
.text-link:hover { text-decoration: underline; }
.page-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.25; margin-bottom: 12px; }
.section-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); text-align: center; margin-bottom: 32px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1.5px solid transparent; border-radius: 999px; padding: .8em 1.6em; font: inherit; font-weight: 800; font-size: .96rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55em 1.15em; font-size: .88rem; }
.btn-lg { padding: .95em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-dark, .btn-primary, .btn-accent { background: var(--green); color: var(--white); box-shadow: 0 8px 20px -10px rgba(31,74,64,.7); }
.btn-dark:hover, .btn-primary:hover, .btn-accent:hover { background: var(--green-2); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--mint); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 8px 20px -10px rgba(31,175,84,.8); }
.btn-wa:hover { background: #0F6A33; }
.btn.is-loading { opacity: .6; pointer-events: none; }
.link-btn { background: none; border: 0; color: var(--ink-2); font: inherit; cursor: pointer; padding: .5em 0; }
.link-btn:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; height: 36px; width: auto; flex: none; }
@media (max-width: 640px) { .brand-logo { height: 30px; } }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }
.brand-word b { color: var(--clay); font-weight: 800; }
.brand-tag { white-space: nowrap; font-size: .78rem; color: var(--stone); border-left: 1px solid var(--line); padding-left: 10px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > * { flex: none; }
/* 英文菜单比较长：宽度不足 1200px 时收起 slogan。800px 以下（手机、小平板）中英文一致：登入按钮只显示图示，并保留语言切换 */
@media (max-width: 1199px) { html[lang^="en"] .brand-tag { display: none; } }
@media (max-width: 800px) {
  .nav-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-login { padding: .45em .6em; }
  .nav-login svg { width: 17px; height: 17px; }
}
@media (max-width: 1180px) { .nav { gap: 16px; } }
.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav-link:hover { color: var(--green); }
.nav-login { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--ink); text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .38em .9em; background: var(--white); white-space: nowrap; }
.nav-login svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.nav-login:hover { border-color: var(--green); }
.btn-orange { background: var(--clay); color: var(--white); box-shadow: 0 8px 20px -10px rgba(200,100,59,.8); }
.btn-orange:hover { background: #B4552F; }
.nav-lang { white-space: nowrap; flex: none; font-size: .8rem; font-weight: 800; color: var(--green); text-decoration: none; background: var(--mint); border-radius: 999px; padding: .35em .85em; }

/* ---------- photo slots ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--sand); border-radius: var(--r); }
.ph::after { content: "效果图 · " attr(data-file); position: absolute; left: 12px; bottom: 10px; font-size: .72rem; color: var(--stone); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; display: block; }
.ph-fill { position: absolute; inset: 0; border-radius: 0; }

/* ---------- hero ---------- */
.p-hero { padding-block: clamp(16px, 2.5vw, 28px) clamp(36px, 5vw, 64px); }
.p-hero-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(20px, 3vw, 40px); align-items: center; border-radius: var(--r-lg); overflow: hidden; padding: clamp(28px, 5vw, 64px); min-height: 600px; isolation: isolate; }
.p-hero-photo { position: absolute; inset: 0; z-index: -1; }
.p-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(18,34,30,.82) 0%, rgba(18,34,30,.55) 45%, rgba(18,34,30,.12) 100%); }
.p-hero-copy { display: grid; gap: 18px; color: var(--white); min-width: 0; }
.p-hero-copy .lead { color: #E3ECE8; }
.p-hero-card { min-width: 0; }

/* quickstart / advisor card */
.quickstart { background: var(--white); border-radius: 22px; padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.guide { display: flex; align-items: center; gap: 14px; }
.guide-avatar { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--mint); }
.guide-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.guide-avatar i { position: absolute; right: 2px; bottom: 4px; width: 15px; height: 15px; border-radius: 50%; background: #2FB867; border: 2.5px solid var(--white); }
.guide-avatar-sm { width: 50px; height: 50px; padding: 2px; }
.guide-avatar-sm i { width: 12px; height: 12px; right: 0; bottom: 1px; border-width: 2px; }
.guide-bubble { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.guide-role { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--green); background: var(--mint); padding: 4px 12px; border-radius: 999px; }
.qs-q { font-weight: 800; font-size: 1.16rem; line-height: 1.45; }
.qs-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qs-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.3; transition: border-color .15s, background .15s, transform .15s; }
.qs-opt::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--green); border-top: 2px solid var(--green); transform: rotate(45deg); flex: none; margin-right: 4px; }
.qs-opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.qs-dot { display: none; }
.qs-opt:hover, .qs-opt:focus-visible { border-color: var(--green); background: var(--mint); transform: translateY(-1px); }
.qs-go { margin-top: 2px; }
.qs-foot { text-align: center; font-size: .8rem; color: var(--stone); }

/* trust strip */
.trust { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: var(--r); padding: 16px 18px; min-width: 0; }
.trust-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; flex: none; }
.trust-ico svg { width: 22px; height: 22px; }
.trust strong { display: block; font-size: .96rem; }
.trust li div > span { display: block; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- sections ---------- */
.m-section { padding-block: clamp(56px, 8vw, 96px); }
.m-head { display: grid; gap: 12px; margin-bottom: 36px; align-content: start; }
.m-head-center { text-align: center; justify-items: center; }
.m-head-center .lead { margin-inline: auto; }
.m-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.m-split .m-head { position: sticky; top: 96px; margin-bottom: 0; }
.m-split .m-head .btn { justify-self: start; margin-top: 8px; }

/* flow chart */
.m-how { background: var(--white); }
.flow { display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto; }
.flow-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; width: 100%; gap: 8px; }
.flow-in { display: grid; justify-items: center; text-align: center; gap: 4px; }
.flow-ico { display: grid; place-items: center; width: clamp(76px, 11vw, 104px); aspect-ratio: 1; border-radius: 50%; margin-bottom: 8px; }
.flow-ico svg { width: 40%; height: 40%; }
.ico-home { background: var(--mint); color: var(--green); }
.ico-money { background: var(--sand); color: var(--ink); }
.ico-sofa { background: var(--blush); color: var(--clay); }
.flow-in strong { font-size: 1.05rem; }
.flow-in small { color: var(--stone); font-size: .84rem; }
.flow-plus { font-size: 1.9rem; font-weight: 300; color: var(--stone); padding-top: clamp(22px, 3.6vw, 34px); }
.flow-arrow { color: var(--stone); width: 30px; height: 30px; display: block; }
.flow-mid, .flow-out { width: 100%; background: var(--mint); border-radius: 24px; text-align: center; padding: clamp(18px, 3vw, 28px); }
.flow-mid strong { font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 800; color: var(--green); display: block; }
.flow-mid p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
.flow-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.flow-tags span { background: var(--white); color: var(--green); font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.flow-out { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 40px); text-align: left; background: var(--green); color: var(--white); }
.flow-out-ico { width: clamp(54px, 8vw, 76px); flex: none; color: #CFE5DC; }
.flow-out-ico svg { width: 100%; height: auto; display: block; }
.flow-out strong { font-size: clamp(1.3rem, 2.8vw, 1.8rem); font-weight: 800; line-height: 1.3; display: block; }
.flow-out p { color: #C6D9D2; margin-top: 6px; }
.flow-cta { margin-top: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.steps-row li { display: grid; gap: 8px; align-content: start; background: var(--bg); border-radius: var(--r); padding: 20px; }
.step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: .95rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: 2px; }
.steps p { color: var(--ink-2); font-size: .93rem; }

/* styles gallery */
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.style-card { position: relative; display: block; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: var(--sand); isolation: isolate; box-shadow: var(--shadow); }
.style-card.is-wide { grid-column: span 2; }
.style-card .ph { position: absolute; inset: 0; border-radius: 0; height: auto; z-index: -1; }
.ph-style { height: auto; }
.style-card .ph img { transition: transform .6s ease; }
.style-card:hover .ph img { transform: scale(1.04); }
.style-card .ph::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(14,24,21,.78) 100%); }
.style-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 4px; color: var(--white); z-index: 3; }
.style-text h3 { font-size: 1.3rem; }
.style-text p { color: #E3E9E6; font-size: .9rem; max-width: 30em; }
.style-text .text-link { justify-self: start; margin-top: 8px; color: var(--green); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: .82rem; text-decoration: none; }
.style-card:hover .text-link { background: var(--mint); }

/* areas */
.m-section#areas { background: var(--white); }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.area-group { background: var(--bg); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.area-group h3 { font-size: 1.1rem; margin-bottom: 14px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips a { text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; transition: border-color .15s, background .15s; }
.area-chips a:hover { border-color: var(--green); background: var(--mint); color: var(--green); }

/* price table */
.price-table-wrap { overflow-x: auto; min-width: 0; background: var(--white); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th { text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); font-weight: 800; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line); }
.price-table td { padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 700; }
.price-table .num { white-space: nowrap; color: var(--green); font-weight: 700; }

/* advisor block */
.advisor { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--white); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.advisor-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--mint); }
.advisor-photo .ph { border-radius: 0; }
.advisor-copy { display: grid; gap: 14px; justify-items: start; padding-block: 8px; min-width: 0; }
.advisor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* partner band */
.m-partner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--green); color: #EEF4F1; max-width: calc(1200px - 2 * var(--gutter)); margin: 0 auto clamp(56px, 8vw, 96px); border-radius: var(--r-lg); overflow: hidden; width: calc(100% - 2 * var(--gutter)); }
.m-partner-media .ph { border-radius: 0; height: 100%; min-height: 320px; }
.ph-partner { height: 100%; }
.m-partner-copy { padding: clamp(28px, 4vw, 52px) clamp(28px, 4.5vw, 60px); display: grid; gap: 14px; align-content: center; }
.m-partner .title { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 1.9rem); max-width: none; text-wrap: balance; }
.m-partner .lead { color: #C9DBD4; }
.ticks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4A40' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.m-partner .btn { justify-self: start; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r); padding: 0 22px; box-shadow: 0 1px 2px rgba(29,41,38,.04); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1rem; padding: 18px 34px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.6rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }

.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.18); z-index: 40; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- footer ---------- */
.site-footer { background: #17221F; color: #BFC9C5; padding-block: 56px 28px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(28px, 5vw, 64px); }
.site-footer .brand-word { color: var(--white); }
.site-footer .brand-word b { color: #E79A70; }
.footer-brand p { margin-top: 12px; color: #93A09B; font-size: .86rem; }
.footer-wa { display: inline-block; margin-top: 14px; color: #D6DEDA; font-weight: 700; text-decoration: none; border-bottom: 1px solid #3B4A45; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-col h3 { color: var(--white); font-size: .92rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #C9D3CF; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-col .is-soon { color: #93A09B; }
.soon { font-style: normal; font-size: .68rem; font-weight: 800; color: #17221F; background: #E7B48F; border-radius: 999px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.footer-base { border-top: 1px solid #2B3834; margin-top: 40px; padding-top: 18px; color: #9AA7A2; font-size: .8rem; display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.footer-base a { color: #C9D3CF; }

/* sticky CTA + back to top */
.sticky-cta { display: none; }
.to-top { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--green); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; z-index: 45; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--mint); }

/* ---------- forms ---------- */
.input { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: .8em .95em; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px var(--mint); }
.input-lg { font-size: 1.05rem; padding: .95em 1em; }
textarea.input { resize: vertical; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 .9em; background: var(--mint); color: var(--green); font-weight: 800; border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; }
.input-prefix .input { border-radius: 0 12px 12px 0; }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 800; margin-bottom: 6px; font-size: .92rem; padding: 0; }
.field small { color: var(--stone); font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin: 8px 0 4px; cursor: pointer; }
.consent input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green); }
.alert { border-radius: var(--r); padding: 14px 18px; margin-bottom: 22px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-error { background: #FBE6DE; color: #6E2610; }
.q-error { color: var(--danger); font-size: .88rem; margin: 6px 0 10px; font-weight: 700; }

/* ---------- questionnaire ---------- */
.match { padding-block: 32px 96px; }
.q-progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; display: none; }
.q-bar { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .35s ease; }
.q-count { color: var(--stone); font-size: .82rem; font-weight: 700; margin: 10px 0 22px; display: none; }
.js-steps .q-progress, .js-steps .q-count { display: block; }
.q-guide { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.q-step { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
.js-steps .q-step { display: none; margin: 0; }
.js-steps .q-step.is-active { display: block; animation: fadeUp .3s ease; }
.q-title { font-weight: 800; font-size: clamp(1.3rem, 2.8vw, 1.6rem); line-height: 1.4; margin-bottom: 20px; padding: 0; }
.page-match .q-title { display: block; width: 100%; background: var(--white); border-radius: 6px 22px 22px 22px; padding: 16px 20px; box-shadow: var(--shadow); }
.q-hint { color: var(--stone); font-size: .92rem; margin: -8px 0 16px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 15px 20px; font-weight: 700; font-size: 1rem; transition: border-color .15s, background .15s; }
.choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .15s; background: var(--white); }
.choice:hover span { border-color: var(--green-2); }
.choice input:checked + span { border-color: var(--green); background: var(--mint); }
.choice input:checked + span::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--green-2); outline-offset: 2px; }
.q-nav { margin-top: 22px; }
.q-back-wrap { margin-top: 14px; display: none; }
.js-steps .q-back-wrap { display: block; }
.q-secure { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--stone); font-size: .82rem; margin-top: 14px; }
.shake { animation: shake .35s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- result ---------- */
.result { padding-block: 40px 96px; }
.result-head { text-align: center; margin-bottom: 30px; display: grid; gap: 10px; justify-items: center; }
.result-check { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 1.5rem; font-weight: 800; }
.result-head h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; }
.case-code { font-family: ui-monospace, Menlo, monospace; font-size: .95em; background: var(--white); border: 1.5px dashed var(--green-2); border-radius: 8px; padding: 2px 8px; color: var(--green); }
.card { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); margin-bottom: 16px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.card h2 { font-size: 1.25rem; }
.card-verify { border: 2px solid var(--wa); background: #F3FBF6; }
.estimate { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--green); font-variant-numeric: tabular-nums; }
.estimate span { color: var(--stone); font-weight: 400; }
.fit { background: var(--mint); border-radius: 12px; padding: 10px 14px; font-size: .95rem; color: var(--green); }
.fit-low { background: var(--blush); color: #7A3412; }
.fit-unsure { background: var(--sand); color: var(--ink-2); }
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.summary div { border-top: 1px solid var(--line); padding: 10px 0; min-width: 0; }
.summary dt { color: var(--stone); font-size: .8rem; }
.summary dd { margin: 0; font-weight: 700; }
.next-list { margin: 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; }

/* ---------- partner page / legal ---------- */
.section { padding-block: clamp(44px, 7vw, 84px); }
.page-partner .lead { margin-bottom: 8px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4A40' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.checklist-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 22px 0 30px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field-full { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.check { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: .4em .9em; font-size: .86rem; cursor: pointer; font-weight: 600; }
.check input { accent-color: var(--green); }
.checks-strong .check { background: var(--mint); border-color: var(--green-2); color: var(--green); font-weight: 800; }
.checks-group { font-size: .8rem; color: var(--stone); font-weight: 800; margin: 14px 0 6px; }
.prose h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 700; margin-bottom: 1em; }
.prose h2 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose p { margin-bottom: 1em; color: var(--ink-2); }
.prose ul { padding-left: 1.3em; color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .p-hero-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 28px 20px 20px; }
  .p-hero-photo::after { background: linear-gradient(180deg, rgba(18,34,30,.35) 0%, rgba(18,34,30,.75) 45%, rgba(18,34,30,.9) 100%); }
  .p-hero-copy { padding-top: 120px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-split, .m-partner, .advisor { grid-template-columns: minmax(0, 1fr); }
  .m-split .m-head { position: static; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advisor-photo { max-width: 320px; }
  .m-partner-media .ph { min-height: 240px; }
  .nav-link { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }  /* 手机已有底部浮动配对按钮 */
  .nav .nav-lang { padding: .4em .75em; }
  .brand-word { font-size: 1.12rem; }
  .brand-mark { width: 30px; height: 30px; }
  .nav { gap: 6px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 46; align-items: center; justify-content: center; gap: 8px; background: var(--clay); color: var(--white); font-weight: 800; font-size: .98rem; text-decoration: none; border-radius: 999px; padding: 13px 20px; box-shadow: 0 14px 30px -10px rgba(140,60,20,.6); transform: translateY(140%); transition: transform .3s ease; }
  .sticky-cta.is-on { transform: none; }
  .to-top.has-sticky { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  body { font-size: 15.5px; }
  .brand-tag { display: none; }
  .p-hero { padding-top: 0; }
  .p-hero .wrap { padding-inline: 0; }
  .p-hero-stage { border-radius: 0 0 24px 24px; padding: 24px 16px 16px; }
  .p-hero-copy { padding-top: 8px; }
  .trust { padding-inline: 16px; grid-template-columns: minmax(0, 1fr); }
  .qs-options { grid-template-columns: minmax(0, 1fr); }
  .qs-opt:last-child:nth-child(odd) { grid-column: auto; }
  .styles, .areas { grid-template-columns: minmax(0, 1fr); }
  .style-card.is-wide { grid-column: auto; }
  .style-card { min-height: 240px; }
  .steps-row, .summary, .form-grid, .checklist-inline, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .flow-plus { font-size: 1.4rem; }
  .flow-in small { font-size: .76rem; }
  .nav { gap: 12px; }
  .header-inner { height: 62px; }
}

/* ---------- partner directory & profiles ---------- */
.m-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.m-partners-home { padding-top: 0; }
.crumb { display: inline-block; font-size: .86rem; font-weight: 700; color: var(--green); text-decoration: none; margin-bottom: 14px; }
.crumb-light { color: #E3ECE8; }
.p-logo { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--white); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.p-logo img { width: 100%; height: 100%; object-fit: cover; }
.p-logo-text { background: var(--green); color: var(--white); font-weight: 800; font-size: 1.4rem; box-shadow: none; }
.p-logo-xs { width: 34px; height: 34px; border-radius: 10px; font-size: .95rem; }
.p-logo-sm { width: 48px; height: 48px; border-radius: 14px; font-size: 1.2rem; }
.p-logo-lg { width: clamp(84px, 11vw, 120px); height: clamp(84px, 11vw, 120px); border-radius: 26px; font-size: 2.6rem; box-shadow: 0 0 0 4px var(--white), var(--shadow); }
.tag-demo { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 800; color: #8A4B10; background: #FCE9C8; border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.badge-partner { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--green); background: var(--mint); border-radius: 999px; padding: 3px 10px; }
.badge-partner::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2FB867; }

.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pc { display: grid; text-decoration: none; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pc-cover { display: block; aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pc:hover .pc-cover img { transform: scale(1.04); }
.pc-body { display: flex; gap: 12px; align-items: center; padding: 0 18px; margin-top: -24px; position: relative; }
.pc-body .p-logo { box-shadow: 0 0 0 3px var(--white); }
.pc-text { display: grid; gap: 2px; min-width: 0; padding-top: 26px; }
.pc-text strong { font-size: 1.05rem; line-height: 1.3; }
.pc-text small { color: var(--stone); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-text .tag-demo { justify-self: start; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 18px; }
.pc-tags span { font-size: .76rem; font-weight: 700; color: var(--green); background: var(--mint); border-radius: 999px; padding: 3px 10px; }

.dir-head { padding-block: clamp(32px, 5vw, 56px) 8px; }
.dir-head .lead { margin-top: 4px; }
.dir-filter { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: thin; }
.dir-filter a { flex: none; text-decoration: none; font-size: .86rem; font-weight: 700; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.dir-filter a:hover { border-color: var(--green); }
.dir-filter a.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.dir-list { padding-block: 18px clamp(56px, 8vw, 96px); }
.dir-count { color: var(--stone); font-size: .88rem; font-weight: 700; margin-bottom: 14px; }
.empty-card { background: var(--white); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; justify-items: start; box-shadow: var(--shadow); }
.dir-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--green); color: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); }
.dir-cta h2 { font-size: 1.4rem; }
.dir-cta p { color: #C9DBD4; }

.demo-bar { background: #FCE9C8; color: #6E3A08; font-size: .88rem; font-weight: 700; padding: 10px 0; text-align: center; }
.pf-hero { position: relative; color: var(--white); isolation: isolate; }
.pf-cover { position: absolute; inset: 0; z-index: -1; background: var(--green); overflow: hidden; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,34,30,.25) 0%, rgba(18,34,30,.82) 100%); }
.pf-hero-inner { padding-block: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px); min-height: clamp(300px, 36vw, 400px); display: flex; flex-direction: column; justify-content: space-between; }
.pf-id { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; }
.pf-name { display: grid; gap: 6px; min-width: 0; flex: 1 1 260px; }
.pf-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-name h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.15; }
.pf-legal { color: #DCE6E2; font-weight: 600; }
.pf-ssm { color: #B9C9C3; font-size: .82rem; }
.pf-actions { display: grid; gap: 10px; min-width: 240px; }
.btn-outline-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.18); }

.pf-body { padding-block: clamp(28px, 4vw, 44px) clamp(56px, 8vw, 96px); }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(20px, 3vw, 32px); align-items: start; }
.pf-main { display: grid; gap: 20px; min-width: 0; }
.pf-side { display: grid; gap: 16px; position: sticky; top: 92px; }
.pf-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--shadow); display: grid; gap: 12px; }
.pf-card h2 { font-size: 1.15rem; }
.pf-card .h-sm { font-size: .95rem; }
.pf-intro { color: var(--ink-2); font-size: 1.02rem; }
.pf-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-facts div { background: var(--white); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; }
.pf-facts span { font-size: .78rem; color: var(--stone); font-weight: 700; }
.pf-facts strong { font-size: .98rem; }
.pf-photos-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.pf-photos-head h2 { font-size: 1.3rem; }
.pf-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-photos figure { margin: 0; display: grid; gap: 6px; }
.pf-photos figure.is-wide { grid-column: 1 / -1; }
.pf-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); display: block; background: var(--sand); }
.pf-photos figure.is-wide img { aspect-ratio: 16 / 9; }
.pf-photos figcaption { font-size: .84rem; color: var(--ink-2); }
.area-chips-sm { gap: 6px; }
.area-chips-sm a, .area-chips-sm span { text-decoration: none; font-size: .8rem; font-weight: 700; color: var(--green); background: var(--mint); border-radius: 999px; padding: 4px 11px; border: 0; }
.area-chips-sm .chip-strong { background: var(--green); color: var(--white); }
.pf-more a { color: var(--green); font-weight: 700; }
.pf-card-cta { background: var(--mint); box-shadow: none; }
.pf-card-cta .guide { gap: 10px; }
.pf-card-cta p { color: var(--ink-2); font-size: .92rem; }
.pref-note { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--green-2); border-radius: var(--r); padding: 12px 14px; margin-bottom: 18px; font-size: .9rem; font-weight: 600; }

@media (max-width: 980px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-side { position: static; }
}
@media (max-width: 640px) {
  .pc-grid, .pf-photos { grid-template-columns: minmax(0, 1fr); }
  .pf-facts { grid-template-columns: minmax(0, 1fr); }
  .pf-actions { min-width: 0; width: 100%; }
  .dir-cta .btn { width: 100%; }
}

/* ---------- content pages ---------- */
.pt-0 { padding-top: 0 !important; }
.mt { margin-top: 18px; }
.center { text-align: center; }
.muted-2 { color: var(--ink-2); }
.pg-hero { padding-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px); }
.pg-hero .wrap { display: grid; gap: 12px; justify-items: start; }
.pg-hero .page-title { margin-bottom: 0; max-width: 22em; }
.notice { background: #FCE9C8; color: #6E3A08; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .9rem; }
.soon-lg { font-size: .8rem; vertical-align: middle; }

.value-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value { background: var(--white); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.value h3, .value h2 { font-size: 1.1rem; }
.value p { color: var(--ink-2); }

.founder-sec { background: var(--white); }
.founder { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); box-shadow: var(--shadow-lg); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-copy { display: grid; gap: 14px; min-width: 0; }
.founder-copy .title small { font-size: .55em; color: var(--stone); font-weight: 700; margin-left: 6px; }
.founder-copy > p:last-child { color: var(--ink-2); }
.cred { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cred li { position: relative; padding-left: 22px; }
.cred li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--clay); transform: rotate(45deg); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-card { align-content: start; justify-items: start; }
.contact-val { font-size: 1.15rem; font-weight: 800; color: var(--green); }
.contact-val a { color: inherit; }

.steps-col { gap: 12px; }
.steps-col li { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 16px 18px; }
.steps-col p { color: var(--ink); font-weight: 600; }

.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); border: 2px solid transparent; }
.price-card.is-pop { border-color: var(--clay); }
.pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--clay); color: var(--white); font-size: .74rem; font-weight: 800; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.pc-pts { font-size: 2rem; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.pc-pts small { font-size: .9rem; color: var(--stone); }
.pc-price { font-size: 1.2rem; font-weight: 800; margin-top: 4px; }
.pc-disc { color: var(--clay); font-weight: 700; font-size: .88rem; margin-top: 2px; }
.price-table-wrap.flat { box-shadow: none; padding: 0; }

.faq-group { margin-bottom: 28px; }
.faq-group-title { font-size: 1.15rem; margin-bottom: 12px; color: var(--green); }

.dir-filter-sub { padding-top: 6px; }
.dir-filter-sub a { font-size: .8rem; padding: 5px 12px; }
.insp-grid { columns: 3 280px; column-gap: 16px; }
.insp { break-inside: avoid; margin: 0 0 16px; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.insp img { width: 100%; display: block; transition: transform .5s; }
.insp a:hover img { transform: scale(1.03); }
.insp > a { display: block; overflow: hidden; }
.insp figcaption { padding: 12px 16px 16px; display: grid; gap: 6px; }
.insp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.insp-tags span { font-size: .74rem; font-weight: 800; color: var(--green); background: var(--mint); border-radius: 999px; padding: 2px 9px; }
.insp figcaption strong { font-size: .95rem; }
.insp-by { font-size: .85rem; font-weight: 700; color: var(--green); text-decoration: none; }

.owner-form { gap: 4px; }
.owner-form .btn { margin-top: 8px; }

.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.calc-form legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.calc-form output { color: var(--green); font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; gap: 2px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; background: var(--white); transition: all .15s; }
.seg-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-3 span { border-radius: 16px; padding: 12px 14px; height: 100%; }
.seg-3 small { font-weight: 500; color: var(--stone); font-size: .76rem; line-height: 1.4; }
.seg input:checked + span { border-color: var(--green); background: var(--mint); color: var(--green); }
.seg input:checked + span small { color: var(--ink-2); }
.seg input:focus-visible + span { outline: 2px solid var(--green-2); outline-offset: 2px; }
input[type=range] { width: 100%; accent-color: var(--green); }
.range-labels { display: flex; justify-content: space-between; font-size: .76rem; color: var(--stone); }
.calc-result { display: grid; gap: 16px; position: sticky; top: 92px; }
.calc-total { background: var(--green); color: var(--white); box-shadow: var(--shadow-lg); }
.calc-total .eyebrow { color: #CDE5DA; }
.calc-total .estimate { color: var(--white); }
.calc-total .estimate span { color: #A9C2BA; }
.calc-total .muted-2 { color: #C9DBD4; }
.bd { display: grid; gap: 10px; }
.bd-row { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) 8em; gap: 10px; align-items: center; font-size: .86rem; }
.bd-row i { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; display: block; }
.bd-row b { display: block; height: 100%; background: var(--green-2); border-radius: 99px; }
.bd-row em { text-align: right; font-style: normal; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .8rem; }

@media (max-width: 980px) {
  .value-grid, .contact-grid, .price-cards { grid-template-columns: minmax(0, 1fr); }
  .founder, .calc { grid-template-columns: minmax(0, 1fr); }
  .founder-photo { max-width: 360px; }
  .calc-result { position: static; }
}
@media (max-width: 640px) {
  .feature-grid, .contact-grid.two { grid-template-columns: minmax(0, 1fr); }
  .seg-3 { grid-template-columns: minmax(0, 1fr); }
  .bd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bd-row i { grid-column: 1 / -1; grid-row: 2; }
}

/* founding partner */
.mb { margin-bottom: 24px; }
.founding { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(20px, 3.4vw, 36px); display: grid; gap: 20px; border: 2px solid var(--clay); }
.founding .btn { justify-self: start; }
.founding-head { display: grid; gap: 6px; justify-items: start; }
.founding-tag { background: var(--clay); color: var(--white); font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.founding-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.founding-left { color: var(--ink-2); font-weight: 700; }
.founding-left b { color: var(--clay); font-size: 1.2em; }
.founding-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.perk-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--green); font-weight: 800; font-size: .9rem; }
.perks strong { display: block; }
.perks p { color: var(--ink-2); font-size: .92rem; }
.founding-badge { margin: 0; display: grid; gap: 8px; background: var(--bg); border-radius: var(--r); padding: 16px; text-align: center; }
.founding-badge img { width: 100%; height: auto; }
.founding-badge figcaption { font-size: .8rem; color: var(--stone); }
.founding-note { font-size: .84rem; color: var(--stone); border-top: 1px solid var(--line); padding-top: 14px; }
.badge-founding { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 800; color: var(--white); background: var(--clay); border-radius: 999px; padding: 3px 10px; }
.pf-verified img { width: 100%; height: auto; }
@media (max-width: 760px) { .founding-body { grid-template-columns: minmax(0, 1fr); } .founding-badge { max-width: 360px; } }

/* animated main CTA: light sweep + arrow nudge + soft pulse ring */
/* 呼吸光圈用伪元素做 transform + opacity 动画，只交给 GPU 合成，不会每帧重绘 */
.btn-anim:not(.sticky-cta) { position: relative; }
.btn-anim::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 3px rgba(194,85,32,.45); opacity: 0; pointer-events: none; animation: ctaPulse 2.6s ease-out infinite; will-change: transform, opacity; }
.btn-anim .arr { display: inline-block; animation: ctaArrow 1.3s ease-in-out infinite; }
.btn-anim:hover::before { animation-play-state: paused; }
.btn:not(.sticky-cta).btn-anim:hover { transform: translateY(-2px); }
.btn-anim:hover .arr { animation-duration: .6s; }
@keyframes ctaArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes ctaPulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08, 1.35); } }

/* Vanessa 打字效果 */
.typing-dots { display: inline-flex; gap: 5px; align-items: center; height: 1.45em; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); opacity: .35; animation: typingDot 1s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-3px); } }
.type-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.12em; background: var(--clay); animation: caretBlink .8s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

/* 本周作品集 */
.weekly { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 210px); gap: 14px; }
.wk-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; background: var(--mint); }
.wk-card.is-big { grid-column: span 2; grid-row: span 2; }
.wk-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.wk-card:hover img { transform: scale(1.04); }
.wk-meta { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; display: grid; gap: 2px; color: #fff; background: linear-gradient(to top, rgba(14,30,25,.82), rgba(14,30,25,0)); font-size: .82rem; }
.wk-meta em { font-style: normal; justify-self: start; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }
.wk-meta strong { font-size: .95rem; font-weight: 700; }
.wk-card.is-big .wk-meta strong { font-size: 1.15rem; }
.wk-meta span, .wk-meta strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-meta span { opacity: .85; }
@media (max-width: 760px) {
  .weekly { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  .wk-card.is-big { grid-row: span 1; }
  .wk-meta strong { font-size: .85rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 手机版首页瘦身：横向滑动卡片、地区单行滑动、区块间距收紧 ---------- */
@media (max-width: 640px) {
  .page-home .m-section { padding-block: 36px; }
  .page-home .m-head { margin-bottom: 22px; }
  .page-home .steps-row { margin-top: 32px; }
  .hscroll, .page-home .styles, .page-home .m-partners-home .pc-grid, .page-home .steps-row {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .page-home .styles::-webkit-scrollbar, .page-home .pc-grid::-webkit-scrollbar, .page-home .steps-row::-webkit-scrollbar, .page-home .area-chips::-webkit-scrollbar { display: none; }
  .page-home .styles > *, .page-home .m-partners-home .pc-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .page-home .steps-row > li { flex: 0 0 72%; scroll-snap-align: start; }
  .page-home .style-card { min-height: 300px; }
  /* 地区：每个州一行，可左右滑动（全部链接仍在页面上，SEO 不受影响） */
  .page-home .areas { gap: 12px; }
  .page-home .area-group { padding: 16px 0 14px; }
  .page-home .area-group h3 { padding-inline: 16px; margin-bottom: 10px; }
  .page-home .area-chips { flex-wrap: nowrap; overflow-x: auto; padding: 2px 16px 4px; scrollbar-width: none; }
  .page-home .area-chips a { flex: none; }
  /* 信任条：2 × 2 */
  .page-home .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 640px) {
  .page-home .trust li { flex-direction: column; gap: 8px; padding: 14px; }
}
/* 问卷等「专注页面」：只留一行简洁页脚，内容区至少占满一屏 */
.is-focus main { min-height: calc(100vh - 140px); min-height: calc(100dvh - 140px); }
.footer-mini { border-top: 1px solid var(--line); padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)); font-size: .8rem; color: var(--stone); }
.footer-mini .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.footer-mini a { color: var(--stone); }
@media (max-width: 640px) {
  .page-home .advisor-photo { aspect-ratio: auto; height: 240px; max-width: none; }
  .page-home .advisor-photo .ph { min-height: 0; height: 100%; }
  .page-home .advisor-photo img { object-position: center 20%; }
  .page-home .m-partner-media .ph { min-height: 0; height: 170px; }
  .page-home .m-partner-copy { padding: 26px 20px 28px; }
}
@media (max-width: 640px) {
  .page-home .advisor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .page-home .advisor-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- 版面细修（全站检查后） ---------- */
/* 标题换行平均分配，避免最后一行只剩一个字（例如「公 / 司」） */
h1, h2, .display, .title, .page-title { text-wrap: balance; }
/* 筛选按钮：电脑版自动换行，手机版保持左右滑动 */
@media (min-width: 761px) { .dir-filter { flex-wrap: wrap; overflow: visible; } }
/* 空间灵感：直式照片限高，避免单张照片占满一整屏 */
.insp img { max-height: 520px; object-fit: cover; }
@media (max-width: 640px) {
  .insp-grid { columns: 2; column-gap: 10px; }
  .insp { margin-bottom: 10px; border-radius: var(--r); }
  .insp img { max-height: 300px; }
  .insp figcaption { padding: 10px 10px 12px; gap: 4px; }
  .insp figcaption strong { font-size: .85rem; }
  .insp-tags span { font-size: .68rem; padding: 1px 7px; }
  /* 参考价表：手机只显示「屋况」与「每平方尺」两栏，不用左右滑 */
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
  .price-table td[colspan] { display: table-cell; }
}
/* 首页大标题：第二行「合适的装修设计公司」不要断成「公 / 司」 */
.p-hero .display { font-size: clamp(1.9rem, 3.3vw, 2.85rem); }
@media (min-width: 1100px) { .p-hero .display em { white-space: nowrap; } }

/* 标题字体规则：大标题与重点句用标题字体（--font-head）；卡片里的小标题、步骤、地区、作品说明、条款小节、问卷题目用黑体 */
.flow-mid strong, .flow-out strong, .style-text h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; }
.card h2, .pf-card h2, .value h2, .faq-group-title, .prose h2, .pf-photos-head h2 { font-family: var(--font); font-weight: 800; letter-spacing: -.01em; }

/* 中文标题不用负字距（只让英文 Bricolage 收紧） */
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] .display, html[lang^="zh"] .page-title, html[lang^="zh"] .title, html[lang^="zh"] .section-title { letter-spacing: 0; }

/* ===== 品牌方向 D：首页 hero（左文案，右照片 + 浮动的 Vanessa 问卷卡） ===== */
.d-hero { padding-block: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 64px); }
.d-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.d-hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.d-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--green); font-weight: 700; font-size: .84rem; padding: 7px 14px; border-radius: 999px; }
.d-hero .display { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; color: var(--ink); }
.d-hero .display em { font-style: normal; color: var(--clay); }
html[lang^="zh"] .d-hero .display { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.18; }
.d-hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-2); max-width: 34rem; margin: 0; }
.d-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.d-wa { font-weight: 800; color: var(--green); text-underline-offset: 5px; }
.d-wa:hover { color: var(--clay); }
.d-hero-visual { position: relative; min-width: 0; min-height: 560px; }
.d-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; border-radius: 26px; overflow: hidden; background: var(--sand); }
.d-hero-photo .ph, .d-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-hero-card { position: relative; z-index: 2; width: min(400px, 62%); margin-top: 28px; }
.d-hero-card .quickstart { box-shadow: 0 30px 60px -24px rgba(29,41,38,.42); }
.d-hero .trust { padding-top: clamp(24px, 3vw, 36px); }
@media (max-width: 1000px) {
  .d-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .d-hero-visual { min-height: 0; display: grid; }
  .d-hero-photo { position: relative; width: 100%; height: clamp(240px, 52vw, 420px); }
  .d-hero-card { width: auto; margin: -72px 16px 0; }
}
@media (max-width: 640px) {
  .d-hero { padding-top: 18px; }
  .d-hero-copy { gap: 16px; }
  .d-hero-cta .btn { width: 100%; }
  .d-hero-photo { border-radius: 20px; }
  .d-hero-card { margin: -56px 8px 0; }
}
.d-hero .display { font-size: clamp(2.4rem, 4.3vw, 3.9rem); }
.d-hero-card .qs-options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.d-hero-card .qs-opt { padding-block: 11px; }
@media (max-width: 1440px) { html[lang^="en"] .brand-tag { display: none; } }
