/* ============================================================
   航翠珠宝 · 翡翠落地页样式
   移动优先；≥900px 切桌面布局。全站无外部字体/框架依赖。
   ============================================================ */

:root {
  --cream: #f8f4ea;
  --cream-2: #fdfbf6;
  --paper: #ffffff;
  --ink: #1b2a24;
  --ink-2: #40524a;
  --muted: #6d7b73;
  --jade-900: #08201a;
  --jade-800: #0e2b23;
  --jade-700: #164435;
  --jade-600: #1f5c46;
  --jade-500: #2c7a5c;
  --jade-100: #e7efe8;
  --gold: #c2a05c;
  --gold-2: #dfc48c;
  --line: rgba(27, 42, 36, 0.12);
  --line-2: rgba(27, 42, 36, 0.07);
  --shadow-1: 0 1px 2px rgba(8, 32, 26, 0.05), 0 8px 24px rgba(8, 32, 26, 0.06);
  --shadow-2: 0 18px 48px rgba(8, 32, 26, 0.13);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --container: 1100px;
  --pad: clamp(18px, 5vw, 32px);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", "Source Han Serif SC",
    STSong, SimSun, serif;
  --header-h: 60px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--jade-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--paper);
  border-radius: var(--r-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(56px, 9vw, 96px);
}

/* 顶部导航是 fixed 的，锚点跳转要留出高度，否则标题被挡住 */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--cream {
  background: linear-gradient(180deg, var(--cream) 0%, #f2ece0 100%);
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  position: relative;
  overflow: hidden;
  background: var(--jade-900);
  color: #efe8d8;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(44, 122, 92, 0.38),
    transparent 62%
  );
  pointer-events: none;
}

/* ---------- 标题组 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section--dark .eyebrow {
  color: var(--gold-2);
}

.sec-head {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(26px, 5.4vw, 40px);
  color: var(--ink);
}

.section--dark .sec-head h2 {
  color: #f4ecdb;
}

.sec-head .lede {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.section--dark .sec-head .lede {
  color: #b8c8bf;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--gold {
  background: linear-gradient(180deg, #e3ca93 0%, #c2a05c 100%);
  color: #241a06;
  box-shadow: 0 12px 28px rgba(194, 160, 92, 0.3);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(194, 160, 92, 0.36);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #f6f1e4;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--jade {
  background: var(--jade-700);
  color: #f3ecdc;
}

.btn--jade:hover {
  background: var(--jade-600);
  transform: translateY(-2px);
}

.btn--wide {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #f6f1e4;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
    color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-solid {
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-2), 0 8px 24px rgba(8, 32, 26, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 右侧一组：新客礼入口 + 语言切换 */
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--gold-2);
}

.site-header.is-solid .brand__mark {
  color: var(--jade-600);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.brand__text small {
  font-size: 9px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

.nav {
  display: none;
  gap: clamp(14px, 1.7vw, 26px);
  font-size: 13.5px;
}

.nav a {
  position: relative;
  padding: 4px 0;
  opacity: 0.86;
  transition: opacity 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  right: 0;
}

.lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.9;
  flex: none;
}

.lang__btn {
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0.72;
  transition: background-color 0.2s, opacity 0.2s, color 0.2s;
}

.lang__btn:hover {
  opacity: 1;
}

.lang__btn[aria-pressed="true"] {
  opacity: 1;
  background: var(--gold);
  color: #241a06;
  font-weight: 600;
}

.site-header.is-solid .lang__btn[aria-pressed="true"] {
  background: var(--jade-700);
  color: #f6f1e4;
}

/* 顶部固定的「新客礼」入口：滚到哪里都在 */
.header-gift {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(223, 196, 140, 0.55);
  background: rgba(194, 160, 92, 0.18);
  color: #f4e6c6;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-gift:hover {
  background: rgba(194, 160, 92, 0.32);
  border-color: rgba(223, 196, 140, 0.8);
}

.header-gift__label {
  display: none;
}

.site-header.is-solid .header-gift {
  color: #6b4f18;
  background: rgba(194, 160, 92, 0.2);
  border-color: rgba(194, 160, 92, 0.6);
}

@media (min-width: 900px) {
  .header-gift__label {
    display: inline;
  }
}

/* 超窄屏：把顶部这一行挤一挤，别让品牌名换行 */
@media (max-width: 379px) {
  .header__inner {
    gap: 10px;
  }
  .header__right {
    gap: 6px;
  }
  .lang__btn {
    min-width: 34px;
    padding: 0 6px;
  }
  .brand__text strong {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
  .header-gift {
    padding: 0 10px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }
  .nav {
    display: flex;
  }
  .brand__text strong {
    font-size: 19px;
  }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 92vh; /* 老浏览器兜底 */
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a1f19;
  color: #f6f1e4;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/poster-hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.hero__video.is-ready {
  opacity: 1;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 16, 0.8) 0%,
    rgba(6, 20, 16, 0.34) 34%,
    rgba(6, 20, 16, 0.5) 64%,
    rgba(6, 20, 16, 0.93) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header-h) + 48px);
  /* 手机端底部多留空间，避免悬浮客服按钮盖住首屏数据 */
  padding-bottom: 92px;
}

/* 首屏顶部的新客礼小横条 */
.hero__notice-wrap {
  position: absolute;
  top: calc(var(--header-h) + 14px);
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
}

.hero__notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #2a1e06;
  background: linear-gradient(180deg, #e8d29c 0%, #c2a05c 100%);
  border: 1px solid rgba(255, 240, 200, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__notice:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.hero__notice svg {
  flex: none;
  opacity: 0.85;
}

@media (max-width: 420px) {
  .hero__notice {
    font-size: 11.5px;
    padding: 6px 12px;
  }
}

/* 自动播放被拦时出现的小播放按钮（与顶部横条同一行，靠右） */
.hero__play {
  position: absolute;
  top: calc(var(--header-h) + 14px);
  right: max(var(--pad), calc((100% - 1100px) / 2 + var(--pad)));
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 228, 0.42);
  background: rgba(8, 32, 26, 0.55);
  color: #f6f1e4;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero__play:hover {
  background: rgba(8, 32, 26, 0.78);
}

.hero__content {
  max-width: 620px;
}

.hero__title {
  margin-top: 16px;
  font-size: clamp(32px, 9vw, 58px);
  line-height: 1.24;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero__title em {
  display: block;
  font-style: normal;
  color: var(--gold-2);
}

.hero__sub {
  margin-top: 20px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(246, 241, 228, 0.82);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.hero__actions .btn {
  width: 100%;
}

.hero__stats {
  display: flex;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 228, 0.18);
}

.hero__stats li {
  flex: 1;
  padding-inline: 10px;
  border-left: 1px solid rgba(246, 241, 228, 0.14);
}

.hero__stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stats b {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-2);
  letter-spacing: 0.02em;
}

.hero__stats span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 228, 0.66);
}

@media (min-width: 900px) {
  .hero {
    min-height: 94vh;
  }
  .hero::before {
    background-image: url("../img/poster-desktop.webp");
  }
  .hero__inner {
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 48px;
  }
  .hero__sub {
    font-size: 16.5px;
  }
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
  .hero__actions .btn {
    width: auto;
  }
  .hero__stats {
    max-width: 520px;
  }
  .hero__stats b {
    font-size: 24px;
  }
}

/* ---------- 卖点区 ---------- */
.benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.benefit {
  padding: 22px 18px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}

.benefit__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--jade-600);
  background: var(--jade-100);
  border: 1px solid rgba(31, 92, 70, 0.16);
  margin-bottom: 14px;
}

.benefit h3 {
  font-size: 16.5px;
  color: var(--ink);
}

.benefit p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

@media (min-width: 760px) {
  .benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .benefit {
    padding: 28px 22px;
  }
  .benefit h3 {
    font-size: 18px;
  }
  .benefit p {
    font-size: 13.5px;
  }
}

/* ---------- 产品卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0f231d;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: zoom-in;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  background: rgba(8, 32, 26, 0.62);
  border: 1px solid rgba(223, 196, 140, 0.42);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.card__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 32, 26, 0.55);
  color: #f4ecdb;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card__zoom,
.card__media:focus-visible .card__zoom {
  opacity: 1;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 12px 12px 14px;
}

.card__body h3 {
  font-size: 15px;
  color: var(--ink);
}

.card__tag {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.card__cta {
  margin-top: 10px;
  padding: 9px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--jade-700);
  border: 1px solid rgba(31, 92, 70, 0.4);
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.card__cta:hover {
  background: var(--jade-700);
  border-color: var(--jade-700);
  color: #f6f1e4;
}

.products__note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .card__body {
    padding: 14px 14px 16px;
  }
  .card__body h3 {
    font-size: 16px;
  }
  .card__tag {
    font-size: 12px;
  }
}

/* ---------- 视频区：多条实拍，横向滚动 ---------- */
.videos {
  display: flex;
  gap: 14px;
  /* 手机上让卡片能滑到屏幕边缘，视觉更开阔 */
  margin-inline: calc(var(--pad) * -1);
  padding: 4px var(--pad) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.videos::-webkit-scrollbar {
  display: none;
}

.videos:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.video-card {
  position: relative;
  flex: 0 0 auto;
  width: min(64vw, 240px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 196, 140, 0.28);
  background: #04120e;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  scroll-snap-align: center;
}

/* 封面和播放器都绝对定位叠在同一格里：否则 <video> 会被挤到图片下面，
   卡片 overflow:hidden 一裁，就变成「有声音、没画面」 */
.video-card img,
.video-card video,
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card video,
.video-card iframe {
  border: 0;
  background: #000;
}

.video-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #dfc48c;
  background: rgba(8, 32, 26, 0.6);
  border: 1px solid rgba(223, 196, 140, 0.4);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 18, 14, 0.08),
    rgba(4, 18, 14, 0.5)
  );
  cursor: pointer;
}

.video-card__play span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(246, 241, 228, 0.92);
  color: var(--jade-800);
  box-shadow: 0 0 0 7px rgba(246, 241, 228, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card__play:hover span {
  transform: scale(1.06);
  box-shadow: 0 0 0 11px rgba(246, 241, 228, 0.2);
}

.video-card.is-playing .video-card__play,
.video-card.is-playing .video-card__tag {
  display: none;
}

.videos__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}

.videos__btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(223, 196, 140, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #f4ecdb;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.videos__btn:hover:not(:disabled) {
  background: rgba(223, 196, 140, 0.18);
}

.videos__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.videos__hint {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8fa79c;
}

/* 一屏放得下（比如电脑上 4 条刚好排满）就藏掉箭头和提示 */
.videos__nav.is-fit {
  display: none;
}

.video-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8fa79c;
}

@media (min-width: 900px) {
  .videos {
    gap: 18px;
  }
  .video-card {
    width: 240px;
  }
}

/* ---------- 信任背书 ---------- */
.trust-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
    align-items: start;
  }
}

.panel {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}

.panel h3 {
  font-size: 18px;
  color: var(--ink);
}

.panel__media {
  position: relative;
  margin: 16px auto 0;
  max-width: 340px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line-2);
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
}

.panel__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.panel p {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}


.checks {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--jade-500);
  border-bottom: 2px solid var(--jade-500);
  transform: rotate(-45deg);
}

/* ---------- 实拍图册 ---------- */
.gallery__folders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) {
  .gallery__folders {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .gallery__folders {
    grid-template-columns: repeat(4, 1fr);
  }
}

.folder {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0f231d;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}

.folder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.folder:hover img {
  transform: scale(1.05);
}

.folder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 16, 0) 30%, rgba(6, 20, 16, 0.86) 100%);
  pointer-events: none;
}

.folder__name {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  max-width: calc(100% - 20px);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 20, 16, 0.66);
  border: 1px solid rgba(246, 241, 228, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f8f3e6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.folder__count {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: #241a06;
  background: rgba(246, 241, 228, 0.92);
}

.folder.is-loading {
  cursor: progress;
}

.folder.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(6, 20, 16, 0.45);
}

/* 九宫格浏览层 */
.gridview {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: none;
  flex-direction: column;
  background: #07130f;
  color: #e9e2d0;
}

.gridview.is-open {
  display: flex;
}

.gridview__top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
}

.gridview__folder {
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(194, 160, 92, 0.18);
  border: 1px solid rgba(223, 196, 140, 0.42);
}

.gridview__count {
  margin-left: auto;
  margin-right: 46px;
  font-size: 12px;
  color: #9fb0a6;
}

.gridview__close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 228, 0.28);
  background: rgba(8, 32, 26, 0.7);
  color: #f6f1e4;
  cursor: pointer;
}

.gridview__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gridview__grid {
  width: min(92vw, 520px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gcell {
  position: relative;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #0f231d;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.gcell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gcell:active {
  opacity: 0.82;
}

.gcell__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  font-size: 10.5px;
  color: #e9e2d0;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 16, 0.8));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gridview__pager {
  flex: none;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  overflow-x: auto;
  scrollbar-width: none;
}

.gridview__pager::-webkit-scrollbar {
  display: none;
}

.pbtn {
  flex: none;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid rgba(246, 241, 228, 0.22);
  background: transparent;
  color: #d7ded7;
  font-size: 13px;
  cursor: pointer;
}

.pbtn.on {
  background: #c2a05c;
  border-color: #c2a05c;
  color: #241a06;
  font-weight: 600;
}

.pbtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.pbtn.dots {
  border: 0;
  background: transparent;
  cursor: default;
  color: #7d8f86;
}

/* 全屏看图（点文件夹打开） */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  background: rgba(4, 12, 10, 0.97);
  backdrop-filter: blur(10px);
}

.viewer.is-open {
  display: grid;
  place-items: center;
}

.viewer__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #e9e2d0;
  z-index: 2;
}

.viewer__folder {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(194, 160, 92, 0.18);
  border: 1px solid rgba(223, 196, 140, 0.42);
}

.viewer__counter {
  margin-left: auto;
  margin-right: 50px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #9fb0a6;
}

.viewer__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 228, 0.28);
  background: rgba(8, 32, 26, 0.6);
  color: #f6f1e4;
  cursor: pointer;
}

.viewer__img {
  max-width: min(92vw, 1000px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.viewer__img.is-loaded {
  opacity: 1;
}

.viewer__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  padding: 0 64px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cfd8d1;
}

.viewer__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 228, 0.3);
  background: rgba(8, 32, 26, 0.62);
  color: #f6f1e4;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.viewer__btn--prev {
  left: 10px;
}

.viewer__btn--next {
  right: 10px;
}

.viewer__btn:hover {
  background: rgba(246, 241, 228, 0.14);
}

.viewer__btn[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .viewer__img {
    max-height: 70vh;
  }
  .viewer__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .viewer__cap {
    padding: 0 56px;
  }
}

/* ---------- 新客礼 ---------- */
.gift {
  display: grid;
  gap: 24px;
  padding: clamp(16px, 3.4vw, 34px);
  background: linear-gradient(160deg, #fdfbf6 0%, #f4eee1 100%);
  border: 1px solid rgba(194, 160, 92, 0.38);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}

.gift__media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0f231d;
  aspect-ratio: 4 / 5;
}

.gift__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #241a06;
  background: linear-gradient(180deg, #e3ca93, #c2a05c);
  border-radius: 2px;
}

.gift__body h2 {
  margin-top: 12px;
  font-size: clamp(23px, 4.6vw, 34px);
  color: var(--ink);
}

.gift__body .lede {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.gift__steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  counter-reset: giftStep;
}

.gift__steps li {
  position: relative;
  padding-left: 38px;
}

.gift__steps li::before {
  counter-increment: giftStep;
  content: counter(giftStep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--jade-100);
  border: 1px solid rgba(31, 92, 70, 0.18);
  color: var(--jade-700);
  font-size: 12px;
  font-weight: 700;
}

.gift__steps b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.gift__steps span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.gift__body .btn {
  width: 100%;
  margin-top: 24px;
}

.gift__rules {
  max-width: 760px;
  margin: 26px auto 0;
}

.gift__rules h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--jade-700);
}

.gift__rules ul {
  margin-top: 12px;
}

.gift__note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #9aa7a0;
}

@media (min-width: 640px) {
  .gift__body .btn {
    width: auto;
    min-width: 220px;
  }
}

@media (min-width: 900px) {
  .gift {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--jade-600);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq__icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 2px 22px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 尾部 CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #123c2e 0%, #0a241c 62%, #08201a 100%);
  color: #f6f1e4;
  text-align: center;
  padding-block: clamp(56px, 9vw, 96px);
}

.final::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(223, 196, 140, 0.24);
  border-radius: var(--r-sm);
  pointer-events: none;
}

@media (min-width: 700px) {
  .final::before {
    inset: 18px;
  }
}

.final__inner {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}

.final h2 {
  font-size: clamp(26px, 5.6vw, 40px);
  color: #f7f0de;
}

.final p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(246, 241, 228, 0.76);
}

.final .btn {
  margin-top: 28px;
  min-width: 240px;
}

.final__hours {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(246, 241, 228, 0.5);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #061a15;
  color: rgba(240, 236, 226, 0.72);
  padding-block: 44px 28px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: #f0ecdf;
}

.footer-brand .en {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.footer-brand p {
  margin-top: 12px;
  line-height: 1.8;
  max-width: 34em;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #f6f1e4;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(240, 236, 226, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(240, 236, 226, 0.5);
}

.footer-disclaimer {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(240, 236, 226, 0.42);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- 悬浮客服按钮 ---------- */
.fab {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f5c46 0%, #0e2b23 100%);
  border: 1px solid rgba(223, 196, 140, 0.45);
  color: #f4ecdb;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(8, 32, 26, 0.36);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fab:hover {
  box-shadow: 0 18px 42px rgba(8, 32, 26, 0.44);
}

.fab__dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #6fd8a3;
}

.fab__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(111, 216, 163, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (min-width: 900px) {
  .fab {
    left: auto;
    right: 30px;
    transform: none;
    height: 58px;
    padding: 0 26px;
  }
}

/* 有悬浮按钮时，给页脚留出安全距离 */
@media (max-width: 899px) {
  .site-footer {
    padding-bottom: 88px;
  }
}

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: rgba(4, 14, 11, 0.94);
  backdrop-filter: blur(6px);
  padding: 20px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox__img {
  max-width: min(92vw, 760px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(223, 196, 140, 0.28);
  background: #0b1f19;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 228, 0.28);
  background: rgba(8, 32, 26, 0.6);
  color: #f6f1e4;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(246, 241, 228, 0.14);
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__nav--prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-size: 12.5px;
  color: rgba(246, 241, 228, 0.66);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .lightbox__nav {
    display: none;
  }
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 滚动出现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 政策页 ---------- */
.page {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}

.page__head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page__head h1 {
  margin-top: 14px;
  font-size: clamp(26px, 5.6vw, 38px);
  color: var(--ink);
}

.page__head p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.prose {
  max-width: 760px;
  margin: 34px auto 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

.prose h2 {
  margin: 34px 0 10px;
  font-size: 19px;
  color: var(--ink);
  font-family: var(--font-serif);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p {
  margin-top: 10px;
}

.prose ul {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.prose li {
  position: relative;
  padding-left: 18px;
}

.prose li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}

.prose .note {
  margin-top: 26px;
  padding: 14px 16px;
  font-size: 13px;
  background: var(--jade-100);
  border-left: 2px solid var(--jade-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--jade-700);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 13.5px;
  color: var(--jade-700);
  border-bottom: 1px solid rgba(31, 92, 70, 0.3);
  padding-bottom: 2px;
}
