/* =============================================================================
   等见 · 红娘服务（深圳加热科技有限公司）—— 腾讯加白版
   源文件: figma.com/design/ahx3veqE4Igo8jZSeFZaf3（「新ui--Copy-」）node 205177:6383「等见-腾讯加白」
   画板: 1043 x 1713，底色 #ffe6e9；正文是一整张 1042x1563 位图（205427:6351）

   >=1062px   完全按 Figma 绝对坐标渲染
   768-1061px 整体等比缩放（zoom），版式不变
   <768px     单栏流式（移动端适配，非原稿版式）

   · 导航与 `dengjian`（社交版）同款同参，只是坐标不同；字号/行高校准常数沿用 dengjian 实测值。
   · 不引 Google Fonts（展示机在国内），一律走系统 CJK 栈。
   · 导航「首页」不照抄导出的 #d9d9d9（粉底上看不见），用 #151515（各站同一个坑）。
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body { margin: 0; background: #ffe6e9; overflow-x: hidden; }

h1, h2, p { margin: 0; font-weight: inherit; }

img { display: block; }

a { color: inherit; text-decoration: none; }

:root {
  --f-han: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB",
           "Microsoft YaHei", sans-serif;

  --c-bg:      #ffe6e9;   /* 画板底色 */
  --c-ink:     #000;
  --c-nav-cur: #151515;
  --c-nav-ink: #282626;
  --c-cta-bg:  #10100e;
  --c-cta-ink: #ece6fb;   /* 「下载」字色（原稿就是淡紫，不是纯白） */
}

.canvas { background: var(--c-bg); }

.stage { width: 1043px; margin: 0 auto; }

.page {
  position: relative;
  width: 1043px;
  height: 1713px;
}

.page section { position: static; }

/* ============================== 顶部导航 ============================== */
.nav {
  position: absolute;
  left: 0; top: 0;
  width: 1043px; height: 150px;
}

/* logo 原稿 122x125 圆角 31 + CROP 图片；裁切与圆角已烤进 assets/logo.png（2× = 244x250，带 alpha） */
.nav-mark {
  position: absolute;
  left: 23px; top: 25px;
  width: 122px; height: 125px;
}

/* 品牌字「等见」：原稿 Inter 64px 居中，节点框 205,54 128x77（与 dengjian 同节点框，top 同取 55.7） */
.nav-word {
  position: absolute;
  left: 205px; top: 55.7px;
  width: 128px;
  font-family: var(--f-han);
  font-size: 64px; font-weight: 400; line-height: 64px;
  text-align: center;
  color: var(--c-ink);
  white-space: nowrap;
}

/* 原稿 frame 405,42 h92；导航项 x = 405 / 510 / 660（gap 60，宽 45/90/90），y = 42 + 29.5 */
.nav-links {
  position: absolute;
  left: 405px; top: 71.5px;
  height: 33px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-links a {
  font-family: var(--f-han);
  font-size: 22px; font-weight: 700; line-height: 33px;
  letter-spacing: 0.66px;   /* 原稿 3% */
  color: var(--c-nav-ink);
  white-space: nowrap;
  transition: opacity .2s;
}

.nav-links a:nth-child(1) { width: 45px; }
.nav-links a:nth-child(2),
.nav-links a:nth-child(3) { width: 90px; }

.nav-links a.is-current { color: var(--c-nav-cur); }

.nav-links a:hover { opacity: .6; }

/* 下载键：frame 内 405,18 → 画板 810,60 */
.nav-cta {
  position: absolute;
  left: 810px; top: 60px;
  width: 120px; height: 56px;
  border-radius: 40px;
  background: var(--c-cta-bg);
  color: var(--c-cta-ink);
  font-family: var(--f-han);
  font-size: 20px; font-weight: 700; line-height: 56px;
  text-align: center;
  transition: opacity .2s;
}

.nav-cta:hover { opacity: .85; }

/* ============================ 红娘服务长图 ============================ */
/* 原稿 1,150 1042x1563；位图 1024x1536（≈0.98×，Figma 原图就这么大），宽高填显示框 */
.service {
  position: absolute;
  left: 1px; top: 150px;
  width: 1042px; height: 1563px;
  object-fit: cover;
}

/* ======================= 中屏：整体等比缩放 ======================= */
/* zoom 而非 transform:scale —— zoom 会带动布局高度，页面不会留白。
   阶梯按「该档最窄视口」算：(下界 + 1 − 滚动条 17px) ÷ 1043，向下取两位；第一档上界 = 1043 + 18。 */
@media (max-width: 1061px) { .stage { zoom: .90; } }             /* 最窄 961 → 945/1043 */
@media (max-width:  960px) { .stage { zoom: .81; } }             /* 最窄 861 → 845/1043 */
@media (max-width:  860px) { .stage { zoom: .72; } }             /* 最窄 769 → 753/1043 */

/* ========================= 窄屏：单栏流式 ========================= */
@media (max-width: 767px) {
  .stage { zoom: 1; width: 100%; }

  .page {
    width: 100%;
    height: auto;
    padding-top: 72px;
  }

  .nav { width: 100%; height: 72px; }

  .nav-mark { left: 14px; top: 12px; width: 47px; height: 48px; }

  .nav-word {
    left: 72px; top: 12px; width: auto;
    font-size: 26px; line-height: 48px;
  }

  .nav-links { display: none; }

  .nav-cta {
    left: auto; right: 14px; top: 17px;
    width: 88px; height: 38px;
    font-size: 15px; line-height: 38px;
  }

  .service { position: static; width: 100%; height: auto; }
}

/* ================================ 页脚 ================================ */
/* 与 dengjian / jiare-www / tielian 同主体同款；主体信息是**深圳加热科技**自己的，别抄兄弟站 */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, .72);
  font-family: var(--f-han);
  padding: 40px 24px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.9;
}

.site-footer__corp { color: #fff; font-size: 16px; font-weight: 700; }

.site-footer__addr,
.site-footer__contact { font-size: 13px; }

.site-footer__sep { margin: 0 10px; color: rgba(255, 255, 255, .35); }

.site-footer__icp { margin-top: 8px; font-size: 13px; }

.site-footer__icp a { color: rgba(255, 255, 255, .72); transition: color .2s; }

.site-footer__icp a:hover { color: #fff; }

@media (max-width: 767px) {
  .site-footer { padding: 28px 16px; }
  .site-footer__corp { font-size: 15px; }
  .site-footer__addr,
  .site-footer__contact,
  .site-footer__icp { font-size: 12px; }
  /* 隐藏竖线必须写成 `.site-footer__contact .site-footer__sep`，否则打不过上一行 span 的 display:block */
  .site-footer__contact span { display: block; }
  .site-footer__contact .site-footer__sep { display: none; }
}
