/* =========================================================
   毛嗨豆（武汉市）科技有限公司  ·  品牌样式表
   风格：简约 · 大气 · 温暖克制
   ========================================================= */

:root {
  /* 品牌色 */
  --brand:        #1F5C52;
  --brand-deep:   #14413A;
  --brand-mid:    #2C7A6D;
  --brand-tint:   #EAF2EF;
  --accent:       #C2703D;
  --accent-tint:  #FBEDE2;

  /* 中性色 */
  --bg:           #FBFAF7;
  --surface:      #FFFFFF;
  --surface-alt:  #F4F1EA;
  --ink:          #16211D;
  --ink-2:        #3C4B45;
  --ink-3:        #6B7A73;
  --ink-4:        #9AA6A0;
  --line:         #E7E2D9;
  --line-soft:    #F0ECE4;

  /* 尺寸 */
  --maxw:         1200px;
  --nav-h:        76px;
  --r-sm:         10px;
  --r-md:         16px;
  --r-lg:         24px;
  --r-xl:         32px;

  --shadow-sm:    0 1px 2px rgba(22, 33, 29, .04), 0 4px 12px rgba(22, 33, 29, .04);
  --shadow-md:    0 2px 6px rgba(22, 33, 29, .05), 0 18px 40px -12px rgba(22, 33, 29, .12);
  --shadow-lg:    0 4px 12px rgba(22, 33, 29, .06), 0 32px 64px -20px rgba(22, 33, 29, .18);

  --ease:         cubic-bezier(.22, .61, .36, 1);
  --font:         "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei",
                  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* ---------------- 布局工具 ---------------- */
.wrap   { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 860px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--surface-alt); }
.section--white { background: var(--surface); }

/* ---------------- 排版 ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent);
}

.h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.24; font-weight: 700; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; font-weight: 650; letter-spacing: -.01em; }
.lead { font-size: clamp(1rem, 1.35vw, 1.15rem); color: var(--ink-2); line-height: 1.85; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease), border-color .25s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(31, 92, 82, .7); }
.btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(31, 92, 82, .75); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(194, 112, 61, .65); }
.btn--accent:hover { background: #A95C2E; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.34); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.4); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--brand);
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(251, 250, 247, .95); box-shadow: 0 6px 24px -18px rgba(22,33,29,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand__sub  { font-size: 11px; color: var(--ink-3); letter-spacing: .18em; text-transform: uppercase; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-tint); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 16px; height: 2px; border-radius: 2px; background: var(--accent);
}
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* 用户状态徽标 */
.user-chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 8px 0 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: 14px; font-weight: 600; border: 1px solid rgba(31,92,82,.14); }
.user-chip__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.user-chip button { border: 0; background: transparent; color: var(--ink-3); font-size: 13px; cursor: pointer; padding: 0 6px; }
.user-chip button:hover { color: var(--accent); }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer__brand .brand__name { color: #fff; font-size: 19px; }
.footer__brand .brand__sub { color: rgba(255,255,255,.5); }
.footer__brand p { margin-top: 20px; max-width: 340px; font-size: 14.5px; line-height: 1.85; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer li { margin-bottom: 12px; font-size: 15px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.55);
}
.footer__bottom a.beian { color: rgba(255,255,255,.78); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.footer__bottom a.beian:hover { color: #fff; border-bottom-color: rgba(255,255,255,.65); }
.footer__bottom .dot { font-style: normal; opacity: .5; margin: 0 8px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: calc(var(--nav-h) + 88px) 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.hero__badge b { background: var(--accent-tint); color: var(--accent); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: rgba(194,112,61,.22); border-radius: 4px; z-index: -1;
}
.hero__desc { max-width: 520px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__facts { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.fact__num { font-size: 30px; font-weight: 700; color: var(--brand); letter-spacing: -.02em; line-height: 1.2; }
.fact__num sup { font-size: .5em; font-weight: 600; color: var(--accent); }
.fact__label { font-size: 13.5px; color: var(--ink-3); }

.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, #DCE9E4 0%, #F1E7DA 100%);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.6;
  display: grid; place-items: center;
}
.hero__card svg { width: 100%; height: 100%; }
.hero__float {
  position: absolute; left: -24px; bottom: -28px;
  background: #fff; border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line-soft);
}
.hero__float .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); display: grid; place-items: center; color: var(--accent); flex: none; }
.hero__float b { display: block; font-size: 14.5px; }
.hero__float span { font-size: 13px; color: var(--ink-3); }

/* ---------------- 通用卡片 ---------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #D9D2C5; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); margin-bottom: 22px;
}
.icon-badge--accent { background: var(--accent-tint); color: var(--accent); }

/* ---------------- 倡导语 / 深色带 ---------------- */
.brand-band {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-mid) 100%);
  color: #fff; border-radius: var(--r-xl); padding: 72px 64px; position: relative; overflow: hidden;
}
.brand-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%);
}
.brand-band .eyebrow { color: #E9C39A; }
.brand-band .eyebrow::before { background: #E9C39A; }
.brand-band h2 { margin-block: 18px 20px; }
.brand-band p { color: rgba(255,255,255,.8); max-width: 620px; }
.brand-band__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------------- 数据条 ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats__item b { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats__item span { font-size: 14.5px; color: var(--ink-3); }

/* ---------------- 服务流程 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 28px 0 0; }
.step + .step::before {
  content: ""; position: absolute; left: -14px; top: 34px; width: 28px; height: 1px; background: var(--line);
}
.step__no {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 700; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-3); }

/* ---------------- 服务列表 ---------------- */
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card__media { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; }
.svc-card__media svg { width: 64%; height: auto; max-height: 78%; }
.svc-card__tag {
  position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92);
  color: var(--brand); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.svc-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.svc-card__body h3 { margin-bottom: 10px; }
.svc-card__body p { font-size: 14.5px; color: var(--ink-3); flex: 1; margin-bottom: 20px; }
.svc-card__meta { display: flex; gap: 18px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }
.svc-card__meta b { color: var(--ink); font-weight: 600; }

/* ---------------- 价格 ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; }
.price--feature { border-color: var(--brand); box-shadow: var(--shadow-md); }
.price__flag { position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price__name { font-size: 15px; font-weight: 600; color: var(--brand); letter-spacing: .04em; }
.price__amount { margin: 14px 0 6px; font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price__amount small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price__note { font-size: 13.5px; color: var(--ink-4); margin-bottom: 24px; }
.price ul { margin-bottom: 28px; }
.price li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.price li:last-child { border-bottom: 0; }

/* ---------------- 团队 ---------------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: left; }
.member__ph {
  aspect-ratio: 3 / 3.4; border-radius: var(--r-md); display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(165deg, #E3EDE9, #F5EDE2); margin-bottom: 18px;
  border: 1px solid var(--line-soft);
}
.member__ph svg { width: 62%; height: auto; }
.member b { display: block; font-size: 17px; }
.member span { font-size: 13.5px; color: var(--ink-3); }
.member p { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* ---------------- 价值 / 理念 ---------------- */
.value { display: flex; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.value__k { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.value h3 { margin: 4px 0 8px; }
.value p { font-size: 14.5px; color: var(--ink-3); }

/* ---------------- 时间轴 ---------------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--line)); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl-item__year { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.tl-item h3 { margin: 4px 0 6px; font-size: 17px; }
.tl-item p { font-size: 14.5px; color: var(--ink-3); max-width: 560px; }

/* ---------------- 评价 ---------------- */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; }
.quote__mark { font-size: 40px; line-height: .6; color: var(--accent); opacity: .5; font-family: Georgia, serif; }
.quote p { margin: 16px 0 24px; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.quote__who b { display: block; font-size: 14.5px; }
.quote__who span { font-size: 13px; color: var(--ink-3); }

/* ---------------- 联系 / 表单 ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .icon-badge { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 0; flex: none; }
.info-item b { display: block; font-size: 15px; }
.info-item span, .info-item a { display: block; font-size: 14.5px; color: var(--ink-3); }
.info-item span + span { margin-top: 2px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label em { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 15px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,92,82,.09);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.checkline input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.checkline a { color: var(--brand); text-decoration: underline; }

.alert { display: none; padding: 14px 18px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.alert.is-on { display: block; }
.alert--error { background: #FDECEC; color: #9E2B25; border: 1px solid #F7C9C6; }
.alert--ok    { background: var(--brand-tint); color: var(--brand-deep); border: 1px solid #C7DED7; }
.alert--info  { background: var(--accent-tint); color: #8C4F23; border: 1px solid #F0D6BB; }

/* ---------------- 登录 / 会员中心 ---------------- */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 64px;
  background: linear-gradient(155deg, var(--brand-deep) 0%, var(--brand) 55%, #357F70 100%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-aside::after { content: ""; position: absolute; left: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.13), transparent 68%); }
.auth-aside h2 { margin: 24px 0 18px; }
.auth-aside p { color: rgba(255,255,255,.78); max-width: 440px; }
.auth-aside ul { margin-top: 40px; position: relative; z-index: 1; }
.auth-aside li { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; color: rgba(255,255,255,.86); }
.auth-aside li svg { flex: none; margin-top: 3px; color: #E9C39A; }
.auth-aside__foot { position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,.5); }

.auth-main { display: grid; place-items: center; padding: calc(var(--nav-h) + 48px) 32px 72px; background: var(--bg); }
.auth-box { width: 100%; max-width: 448px; }
.auth-box__head { margin-bottom: 30px; }
.auth-box__head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }

.tabs { display: flex; gap: 4px; padding: 5px; background: var(--surface-alt); border-radius: 999px; margin-bottom: 28px; }
.tabs button { flex: 1; height: 40px; border: 0; background: transparent; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.tabs button.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.panel { display: none; }
.panel.is-active { display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.otp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.otp-row .btn { height: 50px; padding: 0 18px; font-size: 14px; }
.auth-foot { margin-top: 22px; font-size: 14px; color: var(--ink-3); text-align: center; }
.auth-foot button { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; }
.auth-foot button:hover { text-decoration: underline; }
.auth-switch { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); text-align: center; }
.auth-switch button { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; }

/* 会员中心 */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.dash__side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: sticky; top: calc(var(--nav-h) + 24px); }
.dash__user { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.dash__user .av { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.dash__user b { display: block; font-size: 15.5px; word-break: break-all; }
.dash__user span { font-size: 12.5px; color: var(--ink-3); }
.dash__nav button {
  display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 14px; border: 0; background: transparent;
  border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink-2); cursor: pointer; text-align: left;
  transition: background-color .2s, color .2s;
}
.dash__nav button:hover { background: var(--surface-alt); }
.dash__nav button.is-active { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.dash__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.dash__panel h2 { margin-bottom: 6px; }
.dash__panel > p.muted { margin-bottom: 28px; }

.rec { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 14px; }
.rec__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.rec__top b { font-size: 15.5px; }
.rec__meta { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.7; }
.tag-status { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tag-status--pending { background: var(--accent-tint); color: #92551F; }
.tag-status--done    { background: var(--brand-tint); color: var(--brand); }
.empty { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.empty svg { margin: 0 auto 14px; }

.uploader {
  border: 2px dashed var(--line); border-radius: var(--r-md); padding: 30px; text-align: center;
  transition: border-color .25s, background-color .25s; cursor: pointer; background: #fff;
}
.uploader:hover, .uploader.is-over { border-color: var(--brand); background: var(--brand-tint); }
.uploader input { display: none; }
.uploader b { display: block; font-size: 15px; margin-bottom: 4px; }
.uploader span { font-size: 13px; color: var(--ink-3); }
.filelist { margin-top: 18px; }
.filelist li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.filelist li:first-child { border-top: 0; }
.filelist a { color: var(--brand); font-weight: 600; word-break: break-all; }
.filelist .sz { margin-left: auto; color: var(--ink-4); font-size: 13px; white-space: nowrap; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 地图占位 ---------------- */
.map-ph {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9;
  background: #EFF3F1; position: relative;
}
.map-ph__pin { position: absolute; left: 50%; top: 52%; translate: -50% -100%; }
.map-ph__tip { position: absolute; left: 50%; top: calc(52% + 16px); translate: -50% 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px; box-shadow: var(--shadow-md); text-align: center; }
.map-ph__tip b { display: block; font-size: 14.5px; }
.map-ph__tip span { font-size: 13px; color: var(--ink-3); }

/* ---------------- 页头横幅 ---------------- */
.page-head { padding: calc(var(--nav-h) + 80px) 0 64px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 100% at 85% 0%, var(--brand-tint) 0%, transparent 62%);
}
.page-head .lead { max-width: 640px; margin-top: 18px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--brand); }

/* ---------------- 滚动动效 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4, .price-grid, .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .step + .step::before { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__float { left: 16px; bottom: -20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .dashboard-page .dash { grid-template-columns: 1fr; }
  .dash__side { position: static; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding-top: calc(var(--nav-h) + 32px); }
  .brand-band { padding: 48px 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  body.nav-open .nav__menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav__link.is-active::after { left: 8px; translate: 0 0; bottom: 6px; }
  .nav__menu .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4, .price-grid, .team, .stats { grid-template-columns: 1fr; }
  .wrap { padding-inline: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__facts { gap: 24px; }
  .card { padding: 26px; }
  .brand-band { padding: 40px 24px; border-radius: var(--r-lg); }
  .brand-band__cta .btn { width: 100%; }
}

/* ---------------- 公司实景图片 ---------------- */
.hero__card img.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm); background: var(--brand-tint);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(20, 65, 58, .78));
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.photo-duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.photo-duo .photo {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md); aspect-ratio: 3 / 3.2;
}
.photo-duo .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .photo-duo { grid-template-columns: 1fr; } }

.map-ph img.loc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
