/* 住了么官网 v3.0 — 全局样式 */
/* 配色：纯黑白灰，Apple 式极简风格 */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray-bg: #F5F5F7;
  --dark: #1D1D1F;
  --mid: #86868B;
  --light: #D2D2D7;
  --subtle: #E8E8ED;
  --footer-line: #424245;
  --nav-height: 48px;
  --copy-width: 680px;
  --content-width: 1024px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--white);
  color: var(--dark);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.loaded { opacity: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

:focus-visible { outline: 2px solid var(--mid); outline-offset: 3px; }

.copy { max-width: var(--copy-width); margin: 0 auto; padding: 0 24px; text-align: center; }
.wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }

/* 标签与标题 */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.title-xl { font-size: clamp(48px, 8vw, 80px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.title-lg { font-size: clamp(36px, 5vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.title-md { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.sub-lg { font-size: clamp(18px, 2.4vw, 24px); font-weight: 400; line-height: 1.4; margin-top: 16px; }
.sub-md { font-size: 21px; font-weight: 400; line-height: 1.4; margin-top: 16px; color: var(--mid); }
.note-sm { font-size: 12px; color: var(--mid); line-height: 1.5; }

/* 区块 */
.section { padding: clamp(100px, 14vw, 200px) 0; }
.section-white { background: var(--white); color: var(--dark); }
.section-gray { background: var(--gray-bg); color: var(--black); }
.section-black { background: var(--black); color: var(--white); }
.section-black .sub-md { color: rgba(255, 255, 255, 0.6); }
.section-black .sub-lg { color: rgba(255, 255, 255, 0.7); }
.section-black .eyebrow { color: var(--mid); }
.section .copy .eyebrow + h2 { margin-top: 12px; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333333; color: var(--white); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--subtle); color: var(--black); }
.btn-outline-dark { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn-disabled { cursor: default; opacity: 0.55; }

.link-text { color: var(--black); text-decoration: underline; text-underline-offset: 4px; transition: opacity 0.2s; }
.link-text:hover { opacity: 0.7; }

/* 导航栏 */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.95); border-bottom-color: rgba(255, 255, 255, 0.1); }
.nav.nav-light { background: rgba(255, 255, 255, 0.8); }
.nav.nav-light.scrolled { background: rgba(255, 255, 255, 0.95); border-bottom-color: rgba(0, 0, 0, 0.08); }

.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-light .nav-logo { color: var(--black); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--white);
}
.nav-light .nav-link { color: var(--black); }
.nav-light .nav-link.active::after { background: var(--black); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px; height: 24px;
  position: relative;
  z-index: 1101;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  margin: 4.5px auto;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}
.nav-light .nav-toggle span { background: var(--black); }
.nav-toggle.open span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
}
.mobile-menu a:hover { opacity: 0.7; }

/* Hero */
.hero {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
}
.hero-home {
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}
.hero-home > * { position: relative; z-index: 1; }
.hero-short { min-height: 80vh; }
.hero-mini { min-height: 60vh; }
.hero .eyebrow { margin-bottom: 20px; }
.hero .sub-lg { color: rgba(255, 255, 255, 0.7); }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.7;
}
.hero-scroll svg { animation: floatDown 1.8s ease-in-out infinite; display: block; }
@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* 图片 */
.visual { width: 100%; border-radius: 0; overflow: hidden; position: relative; }
.visual img, .visual-frame { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-frame { transition: transform 0.6s ease; }
.visual:hover .visual-frame { transform: scale(1.01); }
.feature-image { width: 100%; height: 100%; min-height: 320px; }
.asset-credit { margin-top: 24px; text-align: center; font-size: 12px; color: var(--mid); }

.gallery-img { position: relative; }
.gallery-img .visual-frame { aspect-ratio: 21 / 9; }
.gallery-caption { font-size: 14px; color: var(--white); opacity: 0.8; margin-top: 12px; text-align: left; }

/* 功能行 */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.feature-copy p { font-size: 21px; line-height: 1.5; color: var(--mid); margin-top: 16px; }
.section-black .feature-copy p { color: rgba(255, 255, 255, 0.6); }
.feature-copy .note-sm { margin-top: 20px; }
.feature-visual { aspect-ratio: 4 / 3; }
.feature-visual .visual-frame { aspect-ratio: 4 / 3; }

/* 工具列表 */
.tool-list { margin-top: 40px; }
.tool-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--subtle);
  line-height: 1.6;
}
.tool-item:first-child { border-top: 1px solid var(--subtle); }
.tool-item strong { font-size: 17px; font-weight: 600; }
.tool-item span { font-size: 17px; font-weight: 400; color: var(--mid); }
.tool-item span::before { content: " — "; color: var(--light); }

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin-top: 60px; }
.tool-grid .tool-item { border-color: #2c2c2e; }
.tool-grid .tool-item strong { color: var(--white); }
.tool-grid .tool-item span { color: rgba(255, 255, 255, 0.6); }
.tool-grid .tool-item span::before { color: #48484a; }

/* 承诺网格 */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; }
.promise-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.promise-item p { font-size: 17px; color: var(--mid); line-height: 1.8; }

.eco-list { margin-top: 80px; }
.eco-item {
  padding: 32px 0;
  border-bottom: 1px solid #2c2c2e;
  transition: color 0.3s;
}
.eco-item:first-child { border-top: 1px solid #2c2c2e; }
.eco-item h3 { font-size: 24px; font-weight: 600; color: rgba(255, 255, 255, 0.72); transition: color 0.3s; }
.eco-item p { font-size: 17px; color: var(--mid); margin-top: 8px; }
.eco-status { font-size: 12px; color: var(--mid); letter-spacing: 0.08em; margin-top: 10px; display: block; }
.eco-item:hover h3 { color: var(--white); }

/* 画廊 */
.gallery { margin-top: 80px; display: grid; gap: 24px; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 80px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 5px; left: 10%; right: 10%;
  height: 1px;
  background: var(--light);
}
.step { position: relative; }
.step::before {
  content: "";
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--black);
  margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 600; }
.step p { font-size: 15px; color: var(--mid); margin-top: 6px; }

.v-steps { max-width: var(--copy-width); margin: 80px auto 0; padding: 0 24px; }
.v-step {
  position: relative;
  padding: 0 0 48px 36px;
}
.v-step::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 0;
  width: 1px;
  background: var(--light);
}
.v-step:last-child::before { display: none; }
.v-step:last-child { padding-bottom: 0; }
.v-step::after {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--black);
}
.v-step .v-year { font-size: 15px; font-weight: 600; color: var(--black); }
.v-step h3 { font-size: 17px; font-weight: 600; margin-top: 4px; }
.v-step p { font-size: 15px; color: var(--mid); margin-top: 4px; }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; text-align: center; }
.avatar {
  width: 160px; height: 200px;
  border-radius: 0;
  object-fit: cover;
  margin: 0 auto 20px;
}
.team-item h3 { font-size: 20px; font-weight: 600; color: var(--white); }
.team-item .role { font-size: 14px; color: var(--mid); margin-top: 4px; }
.team-item p { font-size: 15px; color: rgba(255, 255, 255, 0.6); margin-top: 12px; line-height: 1.6; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.contact-item { padding: 24px 0; border-top: 1px solid var(--light); }
.contact-item h3 { font-size: 20px; font-weight: 600; }
.contact-item .contact-value { font-size: 17px; color: var(--black); margin-top: 10px; display: inline-block; }
.contact-item .contact-value:hover { opacity: 0.7; }
.contact-item p { font-size: 14px; color: var(--mid); margin-top: 6px; }
.map-placeholder {
  height: 400px;
  background: var(--subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 15px;
}

/* 二维码 */
.qr-row { display: flex; gap: 40px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.qr-box { text-align: center; }
.qr {
  width: 120px; height: 120px;
  border: 1px solid var(--light);
  border-radius: 4px;
  background: var(--white);
}
.qr-box .note-sm { margin-top: 12px; display: block; }
.store-links { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.store-links a { font-size: 14px; color: var(--mid); transition: color 0.2s; }
.store-links a:hover { color: var(--black); }
.section-black .store-links a:hover { color: var(--white); }

/* 404 */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  padding: 24px;
}
.page-404 .err-code { font-size: 120px; font-weight: 700; color: var(--gray-bg); line-height: 1; }
.page-404 h1 { font-size: 24px; font-weight: 600; color: var(--black); margin-top: 16px; }
.page-404 .link-text { margin-top: 24px; }

/* Footer */
.footer { background: var(--dark); color: var(--light); }
.footer-inner { max-width: var(--content-width); margin: 0 auto; padding: 40px 24px; }
.footer-rule { border: none; border-top: 1px solid var(--footer-line); margin-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .nav-logo { color: var(--white); font-size: 16px; }
.footer-brand .tagline { font-size: 12px; color: var(--mid); margin-top: 8px; }
.footer-brand .email { font-size: 12px; color: var(--mid); margin-top: 8px; display: inline-block; }
.footer-brand .email:hover { color: var(--white); }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--mid); margin-bottom: 12px; }
.footer-col ul li { line-height: 2.0; }
.footer-col a { font-size: 12px; color: var(--light); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--footer-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span, .footer-bottom a { font-size: 12px; color: var(--mid); }
.footer-bottom a:hover { color: var(--white); }

/* 备案信息组（ICP + 公安网安备案） */
.beian-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.gongan-beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gongan-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-bottom .beian-group a {
  font-size: 12px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom .beian-group a:hover {
  color: var(--white);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 900;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: #333333; }

/* 淡入动画 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.2s; }

/* 响应式 */
@media (max-width: 1023px) {
  .feature-row { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .tool-grid { grid-template-columns: 1fr; gap: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 100px 0; }
  .promise-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-col { border-bottom: 1px solid var(--footer-line); padding-bottom: 16px; margin-bottom: 16px; }
  .footer-brand { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--footer-line); }
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
  .qr-row { gap: 24px; }
}

/* v3.2 视觉精修：悬浮导航、沉浸影像与内容卡片 */
:root {
  --black: #08090a;
  --gray-bg: #f2f2f0;
  --dark: #171819;
  --mid: #707276;
  --subtle: #e5e5e2;
  --nav-height: 76px;
  --content-width: 1160px;
  --copy-width: 760px;
  --radius-lg: 32px;
  --radius-md: 22px;
}

body { line-height: 1.72; background: #f7f7f5; }
.wrap { padding-inline: 28px; }
.section { padding: clamp(92px, 10vw, 144px) 0; }
.section-white { background: #fafaf8; }
.section-gray { background: #efefec; }
.section-black { background: #090a0b; }
.title-xl { font-size: clamp(54px, 9vw, 104px); letter-spacing: -0.055em; }
.title-lg, .title-md { letter-spacing: -0.035em; }
.eyebrow { font-weight: 650; letter-spacing: .15em; }

.nav {
  top: 12px;
  left: 16px;
  right: 16px;
  height: 60px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}
.nav-inner {
  max-width: 1120px;
  padding: 0 14px 0 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(10,11,12,.64);
  box-shadow: 0 14px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.nav.scrolled, .nav.nav-light, .nav.nav-light.scrolled { background: transparent; border: 0; }
.nav.scrolled .nav-inner { background: rgba(10,11,12,.86); box-shadow: 0 12px 40px rgba(0,0,0,.26); }
.nav.nav-light .nav-inner {
  background: rgba(250,250,248,.78);
  border-color: rgba(8,9,10,.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.nav.nav-light.scrolled .nav-inner { background: rgba(250,250,248,.92); }
.nav-logo { font-size: 17px; letter-spacing: .08em; }
.nav-links { gap: 6px; }
.nav-link { padding: 8px 14px; border-radius: 12px; font-size: 13px; }
.nav-link:hover { background: rgba(255,255,255,.1); }
.nav-light .nav-link:hover { background: rgba(0,0,0,.06); }
.nav-link.active { background: rgba(255,255,255,.14); }
.nav-light .nav-link.active { background: rgba(0,0,0,.075); }
.nav-link.active::after { display: none; }
.nav-cta { border: 1px solid rgba(255,255,255,.2); }
.nav-light .nav-cta { border-color: rgba(0,0,0,.14); }
.nav.menu-open { z-index: 1200; }
.nav.menu-open .nav-inner { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.menu-open .nav-logo { opacity: 0; }

.hero { overflow: hidden; padding-top: calc(var(--nav-height) + 36px); }
.hero-home { background-position: center; isolation: isolate; }
.hero-home::before { background: rgba(6,7,8,.35); z-index: -1; }
.hero-home > .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(.7) contrast(1.05);
}
.hero-home > .hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.08) 40%, rgba(0,0,0,.62)), linear-gradient(90deg, rgba(0,0,0,.18), transparent 50%, rgba(0,0,0,.14));
}
.hero-home > * { z-index: auto; }
.hero-home > .hero-copy { position: relative; z-index: 1; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-copy .eyebrow { color: rgba(255,255,255,.76); margin-bottom: 18px; }
.hero-home .sub-lg { color: rgba(255,255,255,.84); max-width: 620px; margin-inline: auto; }
.hero-home > .hero-credit {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  font-size: 11px;
  color: rgba(255,255,255,.66);
  letter-spacing: .02em;
}
.hero-credit:hover { color: #fff; }
.hero-home > .hero-scroll { position: absolute; bottom: 26px; }

.btn { padding: 13px 25px; font-size: 15px; border-radius: 14px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-disabled:hover { transform: none; }
.feature-row { gap: clamp(54px, 8vw, 104px); }
.feature-visual { min-width: 0; }
.visual { border-radius: var(--radius-lg); background: #dededb; box-shadow: 0 18px 60px rgba(0,0,0,.08); }
.feature-visual .visual-frame { aspect-ratio: 4 / 3; }
.visual-frame { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.visual:hover .visual-frame { transform: scale(1.025); }
.section-black .visual { box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.feature-copy p { font-size: clamp(18px, 1.8vw, 21px); }
.link-text { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

.tool-list, .tool-grid { border-radius: var(--radius-md); overflow: hidden; }
.tool-list .tool-item { padding-inline: 18px; background: rgba(255,255,255,.65); }
.tool-list .tool-item + .tool-item { border-top: 0; }
.tool-list .tool-item:first-child { border-top: 0; }
.promise-grid { gap: 20px; margin-top: 64px; }
.promise-item { padding: 28px; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-md); background: rgba(255,255,255,.54); }
.section-black .promise-item { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.035); }

.gallery { grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.gallery-img { border-radius: 24px; }
.gallery-img .visual-frame { aspect-ratio: 4 / 5; }
.gallery-img:first-child .visual-frame { aspect-ratio: 1.08 / 1; height: 100%; }
.gallery-caption { position: absolute; left: 18px; bottom: 14px; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.46); backdrop-filter: blur(12px); }

.journey-section { border-top: 1px solid rgba(255,255,255,.08); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 68px; }
.journey-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
}
.journey-index { font-size: 12px; color: rgba(255,255,255,.48); letter-spacing: .12em; }
.journey-card .eyebrow { margin-top: auto; color: rgba(255,255,255,.5); }
.journey-card h3 { margin-top: 12px; font-size: 27px; line-height: 1.2; color: #fff; letter-spacing: -.025em; }
.journey-card p:last-child { margin-top: 14px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.62); }
.boundary-note { margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.62); font-size: 13px; text-align: center; }

.contact-grid { gap: 18px; }
.contact-item { padding: 28px; border: 1px solid rgba(0,0,0,.09); border-radius: var(--radius-md); background: rgba(255,255,255,.66); }
.contact-invite-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin: 16px 0 36px; }
.contact-invite-row p { color: var(--mid); }

.footer { background: #111214; }
.footer-inner { max-width: var(--content-width); padding: 56px 28px 32px; }
.back-top { border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 34px rgba(0,0,0,.2); }
.reveal { transform: translateY(28px); transition-duration: .7s; }

@media (max-width: 1023px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-img:first-child { grid-column: 1 / -1; }
  .gallery-img:first-child .visual-frame { aspect-ratio: 16 / 9; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 240px; }
  .contact-invite-row { gap: 36px; }
}

@media (max-width: 767px) {
  :root { --nav-height: 68px; }
  .wrap { padding-inline: 20px; }
  .section { padding: 84px 0; }
  .nav { top: 9px; left: 10px; right: 10px; height: 54px; }
  .nav-inner { padding: 0 17px; border-radius: 17px; }
  .nav-toggle { display: block; }
  .mobile-menu { gap: 26px; background: rgba(8,9,10,.97); backdrop-filter: blur(20px); }
  .mobile-menu a { font-size: 27px; }
  .hero { min-height: 92svh; padding-inline: 20px; }
  .hero-short { min-height: 72svh; }
  .hero-mini { min-height: 62svh; }
  .hero-home > .hero-credit { left: 18px; right: 56px; bottom: 18px; }
  .hero-home > .hero-scroll { right: 18px; left: auto; transform: none; bottom: 16px; }
  .feature-row { gap: 38px; }
  .visual { border-radius: 22px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-img:first-child { grid-column: auto; }
  .gallery-img:first-child .visual-frame, .gallery-img .visual-frame { aspect-ratio: 4 / 3; height: auto; }
  .promise-grid { margin-top: 44px; }
  .promise-item { padding: 24px; }
  .journey-grid { margin-top: 44px; }
  .journey-card { min-height: 220px; padding: 24px; }
  .contact-invite-row { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero-scroll svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .visual-frame, .btn { transition: none; }
}

/* v3.4 内页叙事与版式精修 */
.inner-hero {
  min-height: min(820px, 88vh);
  align-items: stretch;
  justify-content: flex-end;
  text-align: left;
  padding: 0;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.inner-hero-guest { background-image: url("../images/guest-listing.jpg"); }
.inner-hero-host { background-image: url("../images/host-property.jpg"); }
.inner-hero-about { background-image: url("../images/about-hangzhou.jpg"); background-position: center 58%; }
.inner-hero-contact { min-height: min(720px, 76vh); background-image: url("../images/brand-living-room.jpg"); background-position: center 55%; }
.inner-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(.68) contrast(1.04);
}
.inner-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(5,6,7,.15), rgba(5,6,7,.18) 35%, rgba(5,6,7,.82)), linear-gradient(90deg, rgba(5,6,7,.38), transparent 66%);
}
.inner-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 180px;
  padding-bottom: clamp(90px, 11vw, 140px);
  margin: 0 auto;
}
.inner-hero-content .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 18px; }
.inner-hero-content .title-xl { max-width: 980px; font-size: clamp(52px, 7vw, 92px); }
.inner-hero-content .sub-lg { max-width: 680px; color: rgba(255,255,255,.78); }
.media-credit {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 2;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,.6);
}
a.media-credit:hover { color: #fff; }

.section-intro { max-width: 820px; margin-bottom: 64px; }
.section-intro .title-lg { margin-top: 12px; }
.section-intro > p:last-child { margin-top: 22px; max-width: 680px; color: var(--mid); font-size: 19px; }
.section-intro-light { color: #fff; }
.section-intro-light > p:last-child { color: rgba(255,255,255,.58); }

.story-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(0,0,0,.1);
}
.story-rail article { min-height: 220px; padding: 28px; background: #fff; display: flex; flex-direction: column; }
.story-rail span, .operation-grid span, .principle-grid span, .contact-route-grid span { color: var(--mid); font-size: 12px; letter-spacing: .12em; }
.story-rail h3 { margin-top: auto; font-size: 24px; letter-spacing: -.02em; }
.story-rail p { margin-top: 8px; color: var(--mid); font-size: 15px; line-height: 1.65; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.editorial-card { min-height: 430px; border-radius: 28px; overflow: hidden; }
.editorial-card-copy, .editorial-card-dark { padding: clamp(30px, 5vw, 58px); display: flex; flex-direction: column; justify-content: flex-end; }
.editorial-card-copy { background: #fafaf8; border: 1px solid rgba(0,0,0,.08); }
.editorial-card-dark { background: #101112; color: #fff; }
.editorial-card h2 { margin-top: 14px; }
.editorial-card p:last-child { margin-top: 18px; color: var(--mid); font-size: 18px; }
.editorial-card-dark p:last-child { color: rgba(255,255,255,.62); }
.editorial-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.editorial-card-image:hover img { transform: scale(1.025); }

.after-booking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.after-booking-grid article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mini-icon { align-self: flex-start; margin-bottom: auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.6); font-size: 12px; }
.after-booking-grid h3 { color: #fff; font-size: 24px; }
.after-booking-grid p { margin-top: 12px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.7; }

.operation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.operation-grid article { min-height: 280px; padding: 30px; border: 1px solid rgba(0,0,0,.09); border-radius: 26px; display: flex; flex-direction: column; background: rgba(255,255,255,.66); }
.operation-grid h3 { margin-top: auto; font-size: 26px; }
.operation-grid p { margin-top: 10px; color: var(--mid); font-size: 15px; }

.dashboard-scene { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; min-height: 670px; }
.dashboard-main, .dashboard-stack figure, .dashboard-stack article { border-radius: 28px; overflow: hidden; }
.dashboard-main img, .dashboard-stack figure img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.dashboard-stack article { padding: 34px; background: #101112; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.dashboard-stack article h2 { margin-top: 14px; font-size: clamp(30px, 3vw, 42px); }
.dashboard-stack article > p:last-child { margin-top: 16px; color: rgba(255,255,255,.58); }

.helper-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.helper-card { grid-column: span 2; min-height: 280px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.035); display: flex; flex-direction: column; }
.helper-card-featured { grid-column: span 4; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); }
.helper-card:nth-child(4), .helper-card:nth-child(5) { grid-column: span 3; }
.helper-card > span { color: rgba(255,255,255,.48); font-size: 12px; letter-spacing: .1em; }
.helper-card h3 { margin-top: auto; color: #fff; font-size: 25px; line-height: 1.3; }
.helper-card p { margin-top: 12px; color: rgba(255,255,255,.58); font-size: 15px; }

.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 130px); }
.workflow-heading .title-lg { margin-top: 14px; }
.workflow-heading > p:last-child { margin-top: 22px; color: var(--mid); }
.workflow-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--subtle); }
.workflow-list article:last-child { border-bottom: 1px solid var(--subtle); }
.workflow-list span { color: var(--mid); font-size: 12px; }
.workflow-list h3 { font-size: 20px; }
.workflow-list p { margin-top: 5px; color: var(--mid); font-size: 15px; }

.about-manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(60px, 10vw, 130px); align-items: end; }
.about-manifesto h2 { margin-top: 14px; }
.about-manifesto-copy p { color: var(--mid); font-size: 19px; }
.about-manifesto-copy p + p { margin-top: 20px; }
.about-city { margin-top: 72px; border-radius: 30px; overflow: hidden; position: relative; }
.about-city img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.about-city figcaption { position: absolute; left: 22px; bottom: 20px; padding: 8px 13px; border-radius: 999px; background: rgba(0,0,0,.5); color: rgba(255,255,255,.78); font-size: 12px; backdrop-filter: blur(12px); }

.cinema-section { min-height: min(860px, 92vh); position: relative; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; background: #08090a url("../images/about-homestay.jpg") center/cover no-repeat; }
.cinema-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: saturate(.65) contrast(1.05); }
.cinema-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)); }
.cinema-copy { max-width: 980px; padding: 0 28px clamp(100px, 12vw, 150px); margin: 0 auto; width: 100%; color: #fff; }
.cinema-copy .eyebrow { color: rgba(255,255,255,.64); }
.cinema-copy h2 { max-width: 820px; margin-top: 18px; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -.04em; }
.cinema-copy > p:last-child { max-width: 580px; margin-top: 22px; color: rgba(255,255,255,.66); font-size: 18px; }

.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle-grid article { min-height: 290px; padding: 30px; border: 1px solid rgba(0,0,0,.09); border-radius: 26px; background: rgba(255,255,255,.58); display: flex; flex-direction: column; }
.principle-grid h3 { margin-top: auto; font-size: 28px; }
.principle-grid p { margin-top: 10px; color: var(--mid); }

.contact-lead { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 9vw, 120px); align-items: end; }
.contact-lead h2 { margin-top: 14px; overflow-wrap: anywhere; }
.contact-lead > div:last-child p { color: var(--mid); font-size: 18px; }
.contact-lead .btn { margin-top: 26px; }
.contact-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.contact-route-grid article { min-height: 300px; padding: 30px; border: 1px solid rgba(0,0,0,.09); border-radius: 26px; display: flex; flex-direction: column; }
.contact-route-grid h3 { margin-top: auto; font-size: 24px; }
.contact-route-grid p { margin-top: 10px; color: var(--mid); font-size: 15px; }

.mail-checklist { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 130px); }
.mail-checklist-title h2 { margin-top: 14px; }
.mail-checklist-list article { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(0,0,0,.1); }
.mail-checklist-list article:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }
.mail-checklist-list span { font-weight: 600; }
.mail-checklist-list p { color: var(--mid); }
.contact-safety .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 10vw, 130px); align-items: end; }
.contact-safety h2 { margin-top: 14px; color: #fff; }
.contact-safety .wrap > p { color: rgba(255,255,255,.58); }

@media (max-width: 1023px) {
  .story-rail { grid-template-columns: 1fr 1fr; }
  .after-booking-grid, .operation-grid, .contact-route-grid { grid-template-columns: 1fr; }
  .after-booking-grid article, .operation-grid article, .contact-route-grid article { min-height: 230px; }
  .dashboard-scene { grid-template-columns: 1fr; min-height: 0; }
  .dashboard-main { min-height: 520px; }
  .dashboard-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dashboard-stack article, .dashboard-stack figure { min-height: 300px; }
  .helper-card, .helper-card-featured, .helper-card:nth-child(4), .helper-card:nth-child(5) { grid-column: span 3; }
  .workflow-layout, .about-manifesto, .contact-lead, .mail-checklist, .contact-safety .wrap { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 767px) {
  .inner-hero { min-height: 82svh; }
  .inner-hero-contact { min-height: 70svh; }
  .inner-hero-content { padding: 150px 20px 82px; }
  .inner-hero-content .title-xl { font-size: clamp(46px, 14vw, 60px); }
  .media-credit { left: 18px; bottom: 16px; }
  .section-intro { margin-bottom: 42px; }
  .section-intro > p:last-child { font-size: 17px; }
  .story-rail { grid-template-columns: 1fr; }
  .story-rail article { min-height: 165px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card { min-height: 340px; border-radius: 22px; }
  .editorial-card-image { aspect-ratio: 4/3; min-height: 0; }
  .after-booking-grid article, .operation-grid article, .contact-route-grid article { min-height: 215px; padding: 24px; }
  .dashboard-main { min-height: 360px; }
  .dashboard-stack { grid-template-columns: 1fr; }
  .dashboard-stack article, .dashboard-stack figure { min-height: 280px; }
  .helper-bento { grid-template-columns: 1fr; }
  .helper-card, .helper-card-featured, .helper-card:nth-child(4), .helper-card:nth-child(5) { grid-column: auto; min-height: 230px; }
  .workflow-layout, .about-manifesto, .contact-lead, .mail-checklist, .contact-safety .wrap { gap: 34px; }
  .about-city { margin-top: 46px; border-radius: 22px; }
  .about-city img { aspect-ratio: 4/3; }
  .about-city figcaption { right: 14px; left: 14px; text-align: center; }
  .cinema-section { min-height: 78svh; }
  .cinema-copy { padding: 0 20px 82px; }
  .cinema-copy h2 { font-size: clamp(40px, 12vw, 56px); }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 220px; padding: 24px; }
  .contact-route-grid { margin-top: 48px; }
  .mail-checklist-list article { grid-template-columns: 1fr; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .inner-hero-video, .cinema-video { display: none; }
  .editorial-card-image img { transition: none; }
}

/* v3.5 视频首帧与卡片内容层次优化 */
.hero-home,
.inner-hero-guest,
.inner-hero-host,
.cinema-section {
  background-image: none;
  background-color: #08090a;
}

.hero-video,
.inner-hero-video,
.cinema-video {
  opacity: 0;
  transition: opacity .28s ease-out;
}

.hero-video.media-ready,
.inner-hero-video.media-ready,
.cinema-video.media-ready {
  opacity: 1;
}

.operation-grid article,
.story-rail article,
.after-booking-grid article,
.helper-card,
.principle-grid article,
.journey-card,
.contact-route-grid article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}

.operation-grid article:hover,
.story-rail article:hover,
.principle-grid article:hover,
.contact-route-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 22px 55px rgba(0,0,0,.07);
}

.after-booking-grid article:hover,
.helper-card:hover,
.journey-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.22);
}

.operation-grid article {
  min-height: 330px;
  background:
    radial-gradient(circle at 84% 8%, rgba(0,0,0,.055), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(249,249,247,.8));
}

.operation-grid article::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -54px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0,0,0,.055);
  border-radius: 50%;
  z-index: -1;
}

.operation-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.operation-top > span:first-child {
  color: var(--mid);
  font-size: 12px;
  letter-spacing: .12em;
}

.operation-mark {
  width: 66px;
  height: 48px;
  padding: 9px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.7);
}

.operation-mark i {
  display: block;
  border-radius: 4px;
  background: #1d1d1f;
  opacity: .2;
}

.operation-mark i:nth-child(2) { opacity: .42; }
.operation-mark i:nth-child(3) { opacity: .72; }
.operation-mark-flow { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
.operation-mark-flow i { border-radius: 999px; }
.operation-mark-bars { align-items: end; }
.operation-mark-bars i:nth-child(1) { height: 38%; }
.operation-mark-bars i:nth-child(2) { height: 68%; }
.operation-mark-bars i:nth-child(3) { height: 100%; }

.operation-grid article h3 {
  margin-top: 34px;
}

.operation-grid article > p {
  max-width: 26em;
  line-height: 1.65;
}

.capability-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 28px;
}

.capability-chips span {
  padding: 5px 9px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #67676c;
  font-size: 11px;
  letter-spacing: 0;
}

.story-rail article::after,
.principle-grid article::after,
.contact-route-grid article::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(0,0,0,.018);
  z-index: -1;
}

.story-rail article:nth-child(even)::after,
.principle-grid article:nth-child(even)::after,
.contact-route-grid article:nth-child(even)::after {
  border-radius: 15px;
  transform: rotate(12deg);
}

.after-booking-grid article::after,
.helper-card::after,
.journey-card::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -44px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255,255,255,.018);
  z-index: -1;
}

.after-booking-grid article {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
}

.after-booking-grid .mini-icon {
  margin-bottom: 64px;
  background: rgba(255,255,255,.04);
}

.helper-card {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
}

.helper-card > span::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 17px;
  background: rgba(255,255,255,.24);
}

.principle-grid article > span,
.contact-route-grid article > span,
.story-rail article > span {
  position: relative;
  z-index: 1;
}

.journey-card .journey-index::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 18px;
  background: rgba(255,255,255,.2);
}

@media (max-width: 1023px) {
  .operation-grid article { min-height: 290px; }
}

@media (max-width: 767px) {
  .hero-home { background-image: url("../images/hero-bg.jpg"); }
  .inner-hero-guest { background-image: url("../images/guest-morning-room-cover.jpg"); }
  .inner-hero-host { background-image: url("../images/host-lake-house-cover.jpg"); }
  .cinema-section { background-image: url("../images/about-homestay.jpg"); }
  .operation-grid article { min-height: 280px; }
  .operation-mark { width: 60px; height: 44px; }
  .after-booking-grid .mini-icon { margin-bottom: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-home { background-image: url("../images/hero-bg.jpg"); }
  .inner-hero-guest { background-image: url("../images/guest-morning-room-cover.jpg"); }
  .inner-hero-host { background-image: url("../images/host-lake-house-cover.jpg"); }
  .cinema-section { background-image: url("../images/about-homestay.jpg"); }
  .operation-grid article,
  .story-rail article,
  .after-booking-grid article,
  .helper-card,
  .principle-grid article,
  .journey-card,
  .contact-route-grid article { transition: none; }
}

/* v3.6 全站视觉系统与首页重构 */
body {
  opacity: 1;
  transition: none;
}

main > .section:not(.section-black) {
  border-top: 1px solid rgba(0,0,0,.045);
}

.nav-inner {
  box-shadow: 0 14px 48px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.08);
}

.nav.nav-light .nav-inner {
  box-shadow: 0 14px 46px rgba(0,0,0,.065), inset 0 1px 0 rgba(255,255,255,.7);
}

.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.btn-outline-light,
.btn-outline-dark {
  box-shadow: none;
}

.btn:active:not(.btn-disabled) {
  transform: translateY(0) scale(.985);
}

.home-brand-row .feature-visual {
  position: relative;
}

.home-brand-row .feature-visual::after {
  content: "01";
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(10,11,12,.46);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .12em;
  backdrop-filter: blur(12px);
}

.home-section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(60px, 9vw, 120px);
  align-items: end;
  margin-bottom: 64px;
}

.home-section-heading .title-lg {
  max-width: 780px;
  margin-top: 14px;
}

.home-section-heading > p {
  max-width: 480px;
  color: var(--mid);
  font-size: 18px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-product-card {
  min-width: 0;
  min-height: 560px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 30px;
  background: #171819;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.1);
}

.home-product-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.home-product-card:hover > img {
  transform: scale(1.035);
  filter: saturate(.88);
}

.home-product-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,7,.08), rgba(5,6,7,.14) 38%, rgba(5,6,7,.9));
}

.home-product-index {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 30px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
}

.home-product-copy {
  position: relative;
  z-index: 2;
  padding: 38px 34px;
}

.home-product-copy h3,
.home-helper-copy h3 {
  max-width: 540px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.home-product-copy p,
.home-helper-copy p {
  max-width: 520px;
  margin-top: 15px;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.65;
}

.home-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.home-product-link b {
  font-size: 15px;
  font-weight: 400;
  transition: transform .25s ease;
}

.home-product-card:hover .home-product-link b {
  transform: translate(3px,-3px);
}

.home-product-helper {
  grid-column: 1 / -1;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  padding: clamp(34px, 5vw, 62px);
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.095), transparent 28%),
    linear-gradient(145deg, #18191a, #090a0b);
}

.home-product-helper::before,
.home-product-helper::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -160px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.home-product-helper::after {
  right: 84px;
  top: 84px;
  width: 180px;
  height: 180px;
  box-shadow: inset 0 0 0 32px rgba(255,255,255,.018);
}

.home-product-helper .home-product-index {
  position: static;
  display: block;
  margin-bottom: 66px;
}

.home-helper-copy,
.home-tool-orbit {
  position: relative;
  z-index: 2;
}

.home-tool-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-end;
  gap: 9px;
  padding-left: 40px;
}

.home-tool-orbit span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.66);
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.home-helper-overview {
  background: #f7f7f5;
}

.home-helper-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 8vw, 100px);
  padding: clamp(42px, 7vw, 82px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,.08), transparent 28%),
    #101112;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.14);
}

.home-helper-intro .eyebrow {
  color: rgba(255,255,255,.5);
}

.home-helper-intro .title-md {
  margin-top: 14px;
}

.home-helper-intro > p:not(.eyebrow) {
  margin-top: 20px;
  color: rgba(255,255,255,.6);
  font-size: 17px;
}

.home-helper-intro .btn {
  margin-top: 30px;
}

.home-helper-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.12);
  border-left: 1px solid rgba(255,255,255,.12);
}

.home-helper-matrix article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.018);
}

.home-helper-matrix article > span {
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .12em;
}

.home-helper-matrix h3 {
  margin-top: 48px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.home-helper-matrix p {
  margin-top: 8px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.55;
}

.promise-item {
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(246,246,243,.62));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}

.promise-item::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -36px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 50%;
  box-shadow: inset 0 0 0 16px rgba(0,0,0,.018);
}

.promise-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.07);
}

.promise-index {
  color: var(--mid);
  font-size: 11px;
  letter-spacing: .12em;
}

.promise-item h3 {
  margin-top: auto;
}

.home-final-cta {
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(255,255,255,.12), transparent 38%),
    #090a0b;
}

.home-final-cta::before,
.home-final-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.home-final-cta::after {
  width: 760px;
  height: 760px;
}

.home-final-cta .copy {
  position: relative;
  z-index: 1;
}

.home-final-cta .eyebrow {
  color: rgba(255,255,255,.5);
}

.home-final-cta .title-lg {
  margin-top: 16px;
}

.home-final-cta .sub-md {
  max-width: 640px;
  margin-inline: auto;
  font-size: 17px;
}

.footer-rule {
  opacity: .72;
}

.footer-brand .tagline {
  max-width: 180px;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .home-section-heading,
  .home-helper-panel {
    grid-template-columns: 1fr;
  }
  .home-section-heading { gap: 24px; }
  .home-product-card { min-height: 500px; }
  .home-product-helper { grid-template-columns: 1fr; }
  .home-tool-orbit { padding: 46px 0 0; justify-content: flex-start; }
}

@media (max-width: 767px) {
  .home-section-heading { margin-bottom: 42px; }
  .home-section-heading > p { font-size: 16px; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-card,
  .home-product-helper { grid-column: auto; min-height: 430px; border-radius: 23px; }
  .home-product-copy { padding: 30px 24px; }
  .home-product-index { top: 22px; left: 24px; }
  .home-product-copy h3,
  .home-helper-copy h3 { font-size: 34px; }
  .home-product-helper { min-height: 520px; padding: 30px 24px; }
  .home-product-helper .home-product-index { margin-bottom: 54px; }
  .home-tool-orbit { padding-top: 42px; }
  .home-helper-panel { padding: 34px 24px; border-radius: 24px; }
  .home-helper-matrix { grid-template-columns: 1fr; }
  .home-helper-matrix article { min-height: 150px; }
  .home-helper-matrix h3 { margin-top: 34px; }
  .promise-item { min-height: 230px; }
  .home-final-cta { min-height: 620px; }
  .home-final-cta::before { width: 380px; height: 380px; }
  .home-final-cta::after { width: 540px; height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-product-card > img,
  .home-product-link b,
  .promise-item { transition: none; }
}

/* v3.7 影像分工与真实产品界面 */
.product-proof {
  display: grid;
  grid-template-columns: 1.12fr .72fr .72fr;
  gap: 18px;
  align-items: stretch;
}

.product-proof-copy,
.product-phone {
  min-height: 690px;
  border-radius: 28px;
  overflow: hidden;
}

.product-proof-copy {
  padding: clamp(34px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #101112;
  color: #fff;
}

.product-proof-copy .eyebrow { color: rgba(255,255,255,.5); }
.product-proof-copy h2 { max-width: 9em; margin-top: 14px; }
.product-proof-copy > p:last-of-type {
  max-width: 31em;
  margin-top: 20px;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  line-height: 1.8;
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.proof-points span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
}

.product-phone {
  position: relative;
  padding: 62px 24px 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.72);
}

.product-phone-label {
  position: absolute;
  top: 24px;
  left: 26px;
  color: var(--mid);
  font-size: 11px;
  letter-spacing: .1em;
}

.product-phone figure {
  width: min(100%, 270px);
  max-height: 570px;
  aspect-ratio: 942 / 2048;
  overflow: hidden;
  border: 8px solid #171819;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.15);
}

.product-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-phone-secondary {
  background: rgba(244,244,241,.86);
}

.home-product-guest > img { object-position: center 58%; }
.home-product-host > img { object-position: center 48%; }

@media (max-width: 1023px) {
  .product-proof { grid-template-columns: 1fr 1fr; }
  .product-proof-copy { grid-column: 1 / -1; min-height: 430px; }
  .product-phone { min-height: 650px; }
}

@media (max-width: 767px) {
  .product-proof { grid-template-columns: 1fr; }
  .product-proof-copy,
  .product-phone { min-height: 0; border-radius: 22px; }
  .product-proof-copy { padding: 34px 24px; }
  .product-phone { padding: 58px 22px 26px; }
  .product-phone figure { width: min(100%, 260px); max-height: none; }
}
