/* ===========================
   YACHEN · Power Bank 官网
   浅色 / 优雅 / 大气
   =========================== */

/* ---------- 基础变量 ---------- */
:root {
  --bg: #fbf7ec;            /* 主背景：温润米白 */
  --bg-2: #f3ecdb;          /* 次背景 */
  --bg-3: #e9dfc4;          /* 深一点的米色 */
  --paper: #ffffff;         /* 卡片纸面 */
  --ink: #1f1a14;           /* 主文字 */
  --ink-2: #4a4239;         /* 次文字 */
  --ink-3: #7a6f5e;         /* 三级文字 */
  --line: #e3d6b8;          /* 描边线 */
  --line-2: #efe5cd;
  --gold: #c8a45c;          /* 主题金 */
  --gold-2: #9b7a35;        /* 主题金（深） */
  --gold-soft: #f1e5c5;     /* 浅金 */
  --accent: #c44545;        /* 点睛红（来自 logo） */
  --green: #3b8c5a;
  --shadow-sm: 0 1px 2px rgba(60, 45, 20, .05);
  --shadow: 0 8px 24px rgba(60, 45, 20, .08);
  --shadow-lg: 0 20px 60px rgba(60, 45, 20, .12);
  --radius: 14px;
  --radius-lg: 22px;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 通用 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow i {
  width: 24px; height: 1px; background: var(--gold);
  display: inline-block;
}
.eyebrow--light { color: #f4e0a8; }
.eyebrow--light i { background: #f4e0a8; }

.section { padding: 110px 0; position: relative; }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section__title em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
}
.section__desc {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 26, 20, .18);
}
.btn--primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(155, 122, 53, .32);
}
.btn--line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--line:hover {
  background: var(--ink);
  color: #fff;
}
.btn--ghost {
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { color: var(--gold-2); }
.btn--block { width: 100%; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--ink);
  color: #d8c9a3;
  font-size: 12.5px;
  letter-spacing: .08em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}
.topbar__links { display: flex; gap: 26px; }
.topbar__links a { transition: color .25s; }
.topbar__links a:hover { color: #fff; }
.topbar__links .lang {
  padding-left: 14px;
  border-left: 1px solid #4a4239;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 236, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}
.nav.is-stuck {
  background: rgba(251, 247, 236, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(155, 122, 53, .25));
}
.nav__logo--img { gap: 0; }
.footer__logo img { height: 60px; filter: drop-shadow(0 2px 6px rgba(200, 164, 92, .35)); }
.nav__logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--ink);
  line-height: 1.1;
}
.nav__logo-text span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .12em;
  margin-top: 2px;
}
.nav__menu {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color .25s;
  white-space: nowrap;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: all .3s var(--ease);
  transform: translateX(-50%);
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { width: 100%; }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: all .3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 80px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 12px 0 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
  display: block;
}
.hero__desc {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 36px;
}
.hero__actions {
  display: flex; gap: 14px;
  margin-bottom: 56px;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero__metrics li { display: flex; flex-direction: column; gap: 6px; }
.hero__metrics strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.hero__metrics strong sup { font-size: 14px; color: var(--gold-2); margin-left: 2px; }
.hero__metrics span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }

.hero__visual {
  position: relative;
  height: 540px;
}
.hero__halo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 520px; height: 520px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 164, 92, .22) 0%, transparent 60%);
  z-index: 0;
}
.hero__card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.hero__card img {
  width: 220px; height: 220px;
  object-fit: cover;
  border-radius: 16px;
}
.hero__card span {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .04em;
}
.hero__card--1 {
  top: 0; left: 0;
  transform: rotate(-6deg);
  z-index: 2;
}
.hero__card--2 {
  top: 90px; right: 0;
  transform: rotate(5deg);
  z-index: 3;
}
.hero__card--3 {
  bottom: 0; left: 30%;
  transform: rotate(-2deg);
  z-index: 1;
}
.hero__card:hover { transform: translateY(-8px) scale(1.02); }

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.about__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about__badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
}
.about__badge strong {
  font-family: var(--font-serif);
  color: var(--gold-2);
  font-size: 22px;
  letter-spacing: .04em;
}
.about__badge span { font-size: 12px; color: var(--ink-3); }

.about__text p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.about__text p em {
  color: var(--gold-2);
  font-weight: 600;
  font-style: normal;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.about__stats > div {
  display: flex; flex-direction: column; gap: 4px;
}
.about__stats strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.about__stats span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Strengths ---------- */
.strengths { background: var(--bg-2); }
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength {
  background: var(--paper);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.strength::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.strength:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.strength:hover::before { opacity: 1; }
.strength__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-2);
  margin-bottom: 22px;
}
.strength__icon svg { width: 28px; height: 28px; }
.strength h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.strength p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ---------- Products ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 56px;
  padding: 6px;
  background: var(--paper);
  border-radius: 999px;
  border: 1px solid var(--line-2);
  width: fit-content;
  margin-left: auto; margin-right: auto;
}
.tab {
  background: transparent;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: all .3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--ink);
  color: #fff;
}

.tab-panel { display: none; }
.tab-panel.is-active {
  display: block;
  animation: fade .5s var(--ease);
}
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: all .4s var(--ease);
  display: flex; flex-direction: column;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product__media {
  position: relative;
  background: linear-gradient(135deg, #f8f3e5 0%, #ede2c4 100%);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product__media img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.06) rotate(-2deg); }

.product__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.product__tag--gold {
  background: var(--gold);
  color: #fff;
}
.tag--purple { color: #7e63bf; }
.tag--pink { color: #d97a92; }
.tag--blue { color: #4a87c4; }
.tag--green { color: #5a9b6a; }
.tag--black { color: #2a2a2d; }
.tag--white { color: var(--ink-2); }

.product__info { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.product__info h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 8px;
}
.product__info h3 small {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.product__spec { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.product__spec li {
  display: flex; gap: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 6px;
}
.product__spec li:last-child { border: none; padding-bottom: 0; }
.product__spec li span { color: var(--ink-3); width: 38px; flex-shrink: 0; }
.product__spec li em { font-style: normal; color: var(--ink); font-weight: 500; }

.product__colors { display: flex; gap: 8px; margin-top: auto; }
.product__colors i {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 1px var(--line-2);
  cursor: pointer;
  transition: transform .2s;
}
.product__colors i:hover { transform: scale(1.18); }

.products__more {
  margin-top: 60px;
  text-align: center;
}

/* ---------- OEM ---------- */
.oem {
  background: var(--bg-2);
}
.oem__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: start;
}
.oem__text > p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
  margin: 18px 0 36px;
}
.oem__steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
.oem__steps li {
  display: flex; gap: 18px;
  padding: 20px 24px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  transition: all .3s;
}
.oem__steps li:hover { border-color: var(--gold); }
.oem__steps li span {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}
.oem__steps h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.oem__steps p { font-size: 13.5px; color: var(--ink-2); }

.oem__panel { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.oem__card {
  background: var(--ink);
  color: #f4e0a8;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.oem__card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
}
.oem__card ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.oem__card li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: #e6d5a3;
}
.oem__card li i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.oem__card .btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}
.oem__card .btn--primary:hover { background: #fff; }

.oem__quote {
  background: var(--paper);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  text-align: center;
}
.oem__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 12px;
}
.oem__quote span { font-size: 13px; color: var(--ink-3); }

/* ---------- Certs ---------- */
.certs__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cert {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all .3s;
}
.cert:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.cert__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.cert h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cert span { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ---------- News ---------- */
.news__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
}
.news__card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: all .4s;
}
.news__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news__date {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold-2);
  letter-spacing: .08em;
}
.news__card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}
.news__card p { font-size: 14px; color: var(--ink-2); }
.news__card--feature {
  grid-row: span 2;
  padding: 0;
}
.news__cover {
  position: relative;
  aspect-ratio: 16/10;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
}
.news__cover-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}
.news__cover-title em {
  display: block;
  font-style: italic;
  color: var(--gold-2);
  font-size: 18px;
  margin-top: 4px;
}
.news__cover .news__date {
  position: absolute;
  top: 20px; left: 24px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
}
.news__card--feature .news__body { padding: 26px 30px 30px; }
.news__card--feature h3 { font-size: 24px; margin-bottom: 8px; }
.link-more {
  margin-top: auto;
  font-size: 13px;
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: .04em;
  align-self: flex-start;
  transition: gap .3s;
  display: inline-flex; gap: 4px;
}
.link-more:hover { color: var(--ink); }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(135deg, #1f1a14 0%, #2b2218 100%);
  color: #f4e0a8;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 164, 92, .18) 0%, transparent 60%);
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200, 164, 92, .12) 0%, transparent 60%);
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.cta__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  margin: 14px 0 20px;
}
.cta__text h2 em { font-style: italic; color: #f4e0a8; font-weight: 500; }
.cta__text p { color: #d8c9a3; font-size: 15.5px; line-height: 1.85; margin-bottom: 36px; }
.cta__list { display: flex; flex-direction: column; gap: 16px; }
.cta__list li {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 224, 168, .18);
}
.cta__list strong {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #f4e0a8;
  width: 56px;
  flex-shrink: 0;
}
.cta__list span { color: #d8c9a3; font-size: 14.5px; }

.cta__form {
  background: var(--paper);
  color: var(--ink);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.cta__form h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cta__form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.cta__form input,
.cta__form textarea {
  font: inherit;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s;
  resize: vertical;
  font-family: inherit;
}
.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.cta__hint {
  font-size: 13px;
  color: var(--green);
  text-align: center;
  margin-top: 4px;
  opacity: 0;
  transition: opacity .3s;
}
.cta__hint.is-on { opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  background: #181410;
  color: #a89576;
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer__brand p { font-size: 14px; line-height: 1.8; margin: 18px 0 24px; max-width: 360px; }
.footer__brand .nav__logo { color: #f4e0a8; }
.footer__brand .nav__logo-text strong { color: #f4e0a8; }
.footer__brand .nav__logo-text span { color: #a89576; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(244, 224, 168, .1);
  display: flex; align-items: center; justify-content: center;
  color: #f4e0a8;
  font-size: 13px;
  transition: all .3s;
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.footer__col h5 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #f4e0a8;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.footer__col a {
  display: block;
  font-size: 13.5px;
  margin-bottom: 12px;
  transition: color .25s;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(244, 224, 168, .12);
  padding: 24px 0;
  font-size: 12.5px;
  color: #7a6a52;
}
.footer__bottom a {
  color: #7a6a52;
  text-decoration: none;
  transition: color .25s;
}
.footer__bottom a:hover { color: var(--gold-2); }
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 30px; bottom: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 60;
  box-shadow: var(--shadow);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-2); color: #fff; }

/* ---------- 后台入口 ---------- */
.admin-link {
  position: fixed;
  left: 30px; bottom: 30px;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  z-index: 60;
}
.admin-link:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Reveal 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-on {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner,
  .about__inner,
  .oem__inner,
  .cta__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 460px; max-width: 540px; margin: 0 auto; width: 100%; }
  .oem__panel { position: static; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__card--feature { grid-row: auto; grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .certs__row { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .nav__inner { height: 64px; }
  .nav__menu {
    position: fixed;
    top: 64px; right: 0;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 64px);
    background: var(--paper);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open { transform: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-stuck { background: rgba(251, 247, 236, .98); }
  .hero { padding: 40px 0 60px; }
  .hero__metrics { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero__visual { height: 360px; }
  .hero__card img { width: 140px; height: 140px; }
  .hero__card--2 { top: 50px; }
  .hero__card--3 { left: 20%; }
  .hero__halo { width: 360px; height: 360px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 36px; }
  .product-grid,
  .strengths__grid { grid-template-columns: 1fr; }
  .certs__row { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: 1fr; }
  .news__card--feature { grid-column: auto; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
  .cta__form { padding: 28px; }
  .oem__card { padding: 28px; }
  .to-top { right: 18px; bottom: 18px; }
}
