/* ============================================================
   科凡高定 · 深色空间电影版 — 共享设计系统
   主站：深黑/炭黑/低饱和灰褐底 · #af5554 强调 · 无衬线粗重体系
   ============================================================ */

:root {
  --bg: #0d0d0f;
  --bg-2: #121214;
  --surface: #17171a;
  --surface-2: #1e1e22;
  --fg: #ece7e1;
  --fg-strong: #ffffff;
  --muted: #9a928a;
  --muted-2: #8c847c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #af5554;
  --accent-hover: #c66a68;
  --accent-text: #cf7a78;
  --accent-dim: #8a4342;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Heiti SC", sans-serif;
  --font-latin: "Helvetica Neue", "Arial", "Segoe UI", sans-serif;

  --gutter: clamp(48px, 5vw, 96px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

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

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

/* ---------- 排版 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  color: var(--fg-strong);
}
.display--xl { font-size: clamp(80px, 6.4vw, 112px); }
.display--lg { font-size: clamp(56px, 4.5vw, 80px); }
.display--md { font-size: clamp(38px, 3.1vw, 56px); }

.title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.34;
  letter-spacing: 0;
  color: var(--fg-strong);
}

.lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

.label {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.caption {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.caption--mark {
  color: var(--accent-text);
}

/* ---------- 导航 ---------- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 var(--gutter);
}
.nav--fixed {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
}
.nav__logo { height: 26px; }
.nav__logo img { height: 100%; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: color 0.18s ease;
}
.nav__link:hover { color: var(--accent-hover); }
.nav__link.is-active { color: var(--accent); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__icon {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease;
}
.nav__icon:hover { color: var(--fg-strong); }
.nav__menu { display: none; }
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-block; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--fg-strong);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}
.btn--text {
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.btn--text:hover { color: var(--accent-hover); }
.btn--text .arr { margin-left: 4px; color: var(--accent-text); }

.btn:focus-visible,
.nav__link:focus-visible,
.nav__icon:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

/* ---------- 分节 ---------- */
.section { position: relative; padding: 0 var(--gutter); }
.section--pad { padding-top: clamp(110px, 10vw, 160px); padding-bottom: clamp(110px, 10vw, 160px); }
.section-head { margin-bottom: 72px; }
.section-head .display { margin-top: 20px; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section-head--row .lead { margin-top: 20px; }

/* ---------- 满幅图 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.22) 0%, rgba(13, 13, 15, 0.55) 100%);
  pointer-events: none;
}
.figure__tag {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 页脚 ---------- */
.footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 96px var(--gutter) 56px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .footer__logo { height: 28px; margin-bottom: 28px; }
.footer__brand .footer__logo img { height: 100%; width: auto; }
.footer__slogan {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer__cols {
  display: flex;
  gap: clamp(48px, 5vw, 88px);
}
.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg-strong);
  margin-bottom: 22px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  transition: color 0.18s ease;
}
.footer__col a:hover { color: var(--accent-hover); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 13px;
  color: var(--muted-2);
}
.footer__bottom .social {
  display: flex;
  gap: 24px;
}
.footer__bottom .social span {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 联系信息行 ---------- */
.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
}
.contact-line a { color: var(--fg); font-weight: 600; }
.contact-line a:hover { color: var(--accent-hover); }
.contact-line .sep { color: var(--border-strong); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 40px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg-strong);
  margin-bottom: 14px;
}
.card p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 10px;
}
.field label .req { color: var(--accent); margin-left: 4px; }
.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 16px;
  color: var(--fg-strong);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  transition: border-color 0.18s ease;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field input.is-error { border-color: #d46363; }
.field .hint {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #d46363;
}

/* ---------- 内页首屏 ---------- */
.page-hero {
  position: relative;
  height: clamp(560px, 44vw, 780px);
  overflow: hidden;
  background: var(--bg-2);
}
.page-hero__bg,
.page-hero__veil { position: absolute; inset: 0; }
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.9);
}
.page-hero__veil {
  background: linear-gradient(
    180deg,
    rgba(13, 13, 15, 0.88) 0%,
    rgba(13, 13, 15, 0.5) 42%,
    rgba(13, 13, 15, 0.92) 100%
  );
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 84px;
}
.page-hero__inner .display { margin-top: 22px; }
.page-hero__inner .lead { margin-top: 22px; }

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 4vw, 72px);
  line-height: 1.34;
  letter-spacing: 0;
  color: var(--fg-strong);
}

/* ---------- 锚点导航 ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  padding: 20px var(--gutter);
  background: rgba(13, 13, 15, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.anchor-nav a {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.18s ease;
}
.anchor-nav a:hover { color: var(--accent-hover); }
.anchor-nav a.is-active { color: var(--accent); }

/* ---------- 分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 5vw, 96px);
  align-items: center;
}
.split--media-left .split__media { order: -1; }
.split__media { overflow: hidden; }
/* 媒体满幅：贴齐视口边缘 */
.split__media:last-child { margin-right: calc(-1 * var(--gutter)); }
.split__media:first-child { margin-left: calc(-1 * var(--gutter)); }
.split__media img {
  width: 100%;
  height: auto;
  filter: brightness(0.86) saturate(0.94);
}
.split__media figcaption { margin-top: 14px; }

/* ---------- 编号条目列表 ---------- */
.rows { border-top: 1px solid var(--border); }
.row {
  display: grid;
  grid-template-columns: 88px 1fr 1.15fr;
  gap: 40px;
  padding: 42px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.row__idx {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent-text);
}
.row__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg-strong);
}
.row__desc { font-size: 16px; line-height: 1.85; color: var(--muted); max-width: 62ch; }

/* ---------- 满幅连续大图 ---------- */
.band {
  position: relative;
  height: clamp(540px, 38vw, 820px);
  overflow: hidden;
  background: var(--surface);
}
.band--tall { height: clamp(700px, 48vw, 940px); }
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74) saturate(0.92);
}
.band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.15) 0%, rgba(13, 13, 15, 0.78) 100%);
}
.band__body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) 56px;
}
.band__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.band__desc {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.76);
}

/* ---------- 图注 ---------- */
.mark {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
}
.mark--warn { color: #d8a96a; border-color: rgba(216, 169, 106, 0.4); }
.figcap {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

/* ---------- 表单补充（选择 / 文本域 / 单选） ---------- */
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field .hint--ok { color: #6fae86; }
.field textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--fg-strong);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--accent); }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }

.state-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 32px;
}
.state-panel__label {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.state-panel .field:last-child { margin-bottom: 0; }

/* ---------- 二维码 / 客服容器 ---------- */
.qr-slot {
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
  border: 1px dashed var(--border-strong);
  background: var(--bg-2);
}

/* ---------- 底部行动条 ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 72px var(--gutter);
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg-strong);
}
.cta-band__desc {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- 工具类 ---------- */
.u-accent { color: var(--accent); }
.u-muted { color: var(--muted); }
.u-row { display: flex; align-items: center; gap: 16px; }
.u-col { display: flex; flex-direction: column; }
.u-between { display: flex; align-items: center; justify-content: space-between; }
.u-mt-24 { margin-top: 24px; }
.u-mt-40 { margin-top: 40px; }
.u-mt-72 { margin-top: 72px; }
