/* ============================================================
   BESTBRIGHT 弘熙 — 全局设计系统
   参考风格：深红品牌色 / 金色点缀 / 白底灰字 / 固定导航 / 居中标题层级
   ============================================================ */

:root {
  --brand:        #bc221a;
  --brand-dark:   #961a14;
  --brand-soft:   #df584f;
  --gold:         #ab8448;
  --gold-soft:    #c8a667;
  --ink:          #1b1a19;
  --text:         #4a4a4a;
  --muted:        #8b8b8b;
  --line:         #e9e5e0;
  --bg:           #ffffff;
  --bg-soft:      #f8f6f3;
  --shadow:       0 12px 40px rgba(40, 28, 20, .08);
  --shadow-hover: 0 22px 52px rgba(40, 28, 20, .15);
  --radius:       4px;
  --container:    1200px;
  --header-h:     88px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--brand); color: #fff; }

/* ---------- 通用工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section.soft { background: var(--bg-soft); }
.text-center { text-align: center; }
/* 无 JS 时内容默认可见；仅当 JS 启用时加入隐藏态，由滚动动画揭示 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; }
.js .reveal.d2 { transition-delay: .2s; }
.js .reveal.d3 { transition-delay: .3s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  transition: all .3s var(--ease); white-space: nowrap;
}
.btn .arrow { font-style: normal; font-size: 18px; line-height: 1; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(188, 34, 26, .3); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--brand); }

/* ---------- 分区标题（中文红字 + 金色英文层级） ---------- */
.section-heading { text-align: center; margin-bottom: 58px; }
.heading-en {
  display: block; color: var(--gold); font-size: 13px; font-weight: 700;
  letter-spacing: 6px; text-transform: uppercase; margin-bottom: 12px;
}
.heading-cn {
  display: inline-block; color: var(--ink); font-size: 34px; font-weight: 700;
  letter-spacing: 3px; line-height: 1.3;
}
.heading-deco {
  display: block; width: 48px; height: 3px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 2px;
}

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  background: #fff; transition: height .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled { height: 70px; box-shadow: 0 6px 30px rgba(0, 0, 0, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 44px; }
.nav-desktop { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 40px; }
.nav-list > li { position: relative; }
.nav-list a {
  position: relative; display: block; padding: 10px 0; color: #2a2a2a;
  font-size: 15px; font-weight: 600; letter-spacing: 1px; transition: color .3s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a.active { color: var(--brand); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.header-side { display: flex; align-items: center; gap: 24px; margin-left: 44px; }
.header-slogan {
  font-size: 12px; color: var(--gold); letter-spacing: 2px; white-space: nowrap;
  padding-left: 24px; border-left: 1px solid var(--line);
}
/* 语言切换 */
.lang-switch { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.lang-btn {
  font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 7px;
  border-radius: 2px; transition: color .25s, background .25s;
}
.lang-btn:hover { color: var(--brand); }
.lang-btn.is-active { color: #fff; background: var(--brand); }
.lang-sep { color: var(--line); font-size: 12px; }
.mobile-lang { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.mobile-lang .lang-btn { font-size: 15px; padding: 8px 18px; border: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.8); }
.mobile-lang .lang-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 8px; width: 24px; height: 2px; background: var(--ink); transition: all .3s; }
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(20, 18, 17, .96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { text-align: center; }
.mobile-menu a {
  display: block; color: #fff; font-size: 26px; font-weight: 600; letter-spacing: 3px;
  padding: 14px 40px; transition: color .3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold-soft); }
.mobile-menu .m-en { display: block; font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,.4); margin-top: -8px; margin-bottom: 12px; }

/* ============================================================
   首页首屏 Banner
   ============================================================ */
.hero { position: relative; height: min(760px, 88vh); min-height: 580px; margin-top: var(--header-h); overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity .9s var(--ease); visibility: hidden; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 12% 90%, rgba(0,0,0,.25) 0, transparent 50%);
  pointer-events: none;
}
.slide-1 { background: linear-gradient(120deg, #8f1812 0%, #bc221a 55%, #d0402f 100%); }
.slide-2 { background: linear-gradient(120deg, #232c36 0%, #364453 55%, #4a5c6c 100%); }
.slide-3 { background: linear-gradient(120deg, #6b4c22 0%, #a37a3e 55%, #c39a58 100%); }
.hero-inner {
  position: relative; z-index: 2; height: 100%; display: grid;
  grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; color: #fff;
}
.hero-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 6px; color: var(--gold-soft);
  text-transform: uppercase; margin-bottom: 22px;
}
.slide-2 .hero-kicker, .slide-3 .hero-kicker { color: #f0d8a6; }
.hero-copy h1 {
  font-size: clamp(40px, 5vw, 66px); font-weight: 700; line-height: 1.22;
  letter-spacing: 2px; margin-bottom: 24px; text-shadow: 0 6px 30px rgba(0,0,0,.15);
}
.hero-desc { font-size: 16px; line-height: 2; max-width: 520px; color: rgba(255,255,255,.86); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1;
  padding: 12%;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,0,0,.24);
}
/* 正圆形白色背景中的产品图：等比缩放，完整显示不拉伸 */
.hero-visual img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-nav {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  color: #fff; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.hero-nav:hover { background: rgba(255,255,255,.18); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; }
.hero-dots button { width: 30px; height: 3px; background: rgba(255,255,255,.45); border-radius: 2px; transition: all .3s; }
.hero-dots button.is-active { width: 52px; background: #fff; }
.hero-scroll {
  position: absolute; right: 28px; bottom: 34px; z-index: 5; color: rgba(255,255,255,.7);
  font-size: 10px; letter-spacing: 3px; writing-mode: vertical-rl; text-transform: uppercase;
}

/* ============================================================
   数字统计条
   ============================================================ */
.stats-band { background: linear-gradient(90deg, var(--brand-dark), var(--brand) 50%, var(--brand-dark)); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 6px 10px; border-right: 1px solid rgba(255,255,255,.2); }
.stat-item:last-child { border-right: 0; }
.stat-num { color: #fff; font-size: 48px; font-weight: 700; line-height: 1.15; letter-spacing: 1px; }
.stat-num em { font-size: 20px; font-style: normal; color: var(--gold-soft); margin-left: 3px; }
.stat-item p { color: rgba(255,255,255,.8); font-size: 14px; letter-spacing: 3px; margin-top: 8px; }

/* ============================================================
   关于我们（左文右图）
   ============================================================ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.about-copy h3 { font-size: 28px; color: var(--ink); font-weight: 700; line-height: 1.5; margin-bottom: 22px; }
.about-copy p { font-size: 15px; line-height: 2.1; margin-bottom: 18px; }
.about-copy p:last-of-type { margin-bottom: 30px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 34px; }
.feature-list li { position: relative; padding-left: 28px; font-size: 14px; color: var(--ink); font-weight: 600; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.about-visual { position: relative; }
.about-visual > img { width: 100%; border-radius: var(--radius); }
.about-badge {
  position: absolute; left: -26px; bottom: -26px; background: #fff; padding: 22px 30px;
  box-shadow: var(--shadow); border-left: 4px solid var(--brand); text-align: center;
}
.about-badge strong { display: block; font-size: 42px; color: var(--brand); font-weight: 700; line-height: 1; }
.about-badge span { display: block; font-size: 12px; color: var(--muted); letter-spacing: 2px; margin-top: 8px; }

/* ============================================================
   产品卡片网格
   ============================================================ */
.product-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.tab-btn {
  padding: 9px 24px; border: 1px solid var(--line); border-radius: 2px; background: #fff;
  color: var(--text); font-size: 14px; font-weight: 600; transition: all .3s var(--ease);
}
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .35s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.product-media { position: relative; aspect-ratio: 1 / 1; background: #f6f3ef; padding: 26px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
/* 仅产品中心页：卡片获得焦点或悬停时显示“查看详情”浮层 */
.product-page-grid .product-overlay {
  position: absolute; inset: 0; background: rgba(188, 34, 26, .92); display: flex;
  align-items: center; justify-content: center; opacity: 0; transition: opacity .35s;
}
.product-page-grid .product-card:hover .product-overlay,
.product-page-grid .product-card:focus .product-overlay,
.product-page-grid .product-card:focus-within .product-overlay { opacity: 1; }
.product-page-grid .product-overlay a {
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.7);
}
.product-info { padding: 20px 18px 24px; text-align: center; }
.product-info h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.product-info p { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.section-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #1c1b1a; color: rgba(255,255,255,.62); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding: 76px 0 60px; }
.footer-brand img { height: 46px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer-brand p { font-size: 13px; line-height: 2; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 22px; letter-spacing: 1px; }
.footer-col li { margin-bottom: 12px; font-size: 13px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 13px; line-height: 1.7; }
.footer-contact .ico { flex: 0 0 18px; margin-top: 3px; }
.footer-contact .ico svg { width: 16px; height: 16px; fill: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 500;
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
  box-shadow: 0 8px 24px rgba(188,34,26,.35);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-dark); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .nav-list { gap: 26px; }
  .header-slogan { display: none; }
  .header-side { margin-left: 26px; }
  .hero-inner { gap: 10px; }
  .about-layout { gap: 46px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .lang-switch { display: none; }
  .hero { height: 660px; min-height: 560px; }
  .hero-inner { grid-template-columns: 1fr; align-content: center; }
  .hero-visual { position: absolute; right: -8%; bottom: 4%; width: 58%; max-width: none; aspect-ratio: 1 / 1; padding: 12%; background: #fff; border: 0; border-radius: 50%; overflow: hidden; box-shadow: none; opacity: .32; }
  .hero-visual img { width: 100%; height: 100%; object-fit: contain; }
  .hero-copy { position: relative; z-index: 3; }
  .hero-desc { max-width: 460px; }
  .about-layout { grid-template-columns: 1fr; gap: 42px; }
  .about-visual { max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .section { padding: 68px 0; }
  .container { padding: 0 18px; }
  .heading-cn { font-size: 27px; }
  .section-heading { margin-bottom: 42px; }
  .hero { height: 600px; min-height: 520px; }
  .hero-copy h1 { font-size: 36px; letter-spacing: 1px; }
  .hero-desc { font-size: 14px; line-height: 1.9; max-width: 100%; }
  .hero-kicker { font-size: 11px; letter-spacing: 4px; margin-bottom: 16px; }
  .hero-actions .btn { min-height: 44px; padding: 0 20px; }
  .hero-visual { width: 78%; right: -18%; bottom: 8%; opacity: .22; }
  .hero-nav { display: none; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-num { font-size: 38px; }
  .stat-item p { font-size: 12px; letter-spacing: 1px; }
  .about-copy h3 { font-size: 23px; }
  .feature-list { grid-template-columns: 1fr; }
  .about-badge { left: 12px; bottom: -20px; padding: 16px 22px; }
  .about-badge strong { font-size: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-media { padding: 16px; }
  .product-info { padding: 14px 10px 18px; }
  .product-info h3 { font-size: 14px; }
  .product-info p { font-size: 10px; letter-spacing: 1px; }
  .tab-btn { padding: 7px 15px; font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
