/* ============================================================
   赤大师 · 高级版样式（叠加在 style.css 之后）
   目标：现代留白 + 大图 + 精细排版，保留东方红金调性
   复用 style.css 的 CSS 变量（--green-900 等已被后台主题映射为红金）
   ============================================================ */

:root {
  --maxw: 1240px;
  --radius: 18px;
  --radius-lg: 26px;
  --ink: #2b2520;
  --ink-soft: #6b625a;
  --line: #ece5da;
  --cream: #fcfbf9;
  --cream-2: #f6f0e8;
  --shadow-sm: 0 12px 30px -20px rgba(70, 24, 24, .28);
  --shadow: 0 26px 60px -30px rgba(70, 24, 24, .34);
  --red-deep: #6f1411;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .2px;
}
.container { max-width: var(--maxw); padding: 0 28px; }

h1, h2, h3, h4 { letter-spacing: .5px; }

/* ===== 顶部公告条：纤细优雅 ===== */
.announce-bar {
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  color: #f6e3c2; font-size: 13px; letter-spacing: .6px; padding: 10px 40px;
}
.announce-bar a { color: #fff; }

/* ===== 导航：通透、精致、下划线指示 ===== */
.site-header {
  background: rgba(252, 251, 249, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.nav-inner { height: 86px; }
.brand-logo .mark {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #f3d9a3; font-size: 24px;
  box-shadow: 0 12px 26px -12px rgba(140, 27, 27, .5);
}
.brand-logo .txt b { font-size: 22px; letter-spacing: 4px; }
.brand-logo .txt span { font-size: 10.5px; letter-spacing: 5px; opacity: .9; }
.main-nav ul { gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 18px; font-size: 15.5px; font-weight: 500;
  background: transparent !important; border-radius: 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-900); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-search { border-radius: 999px !important; border-color: var(--line) !important; }

/* ===== 按钮：实心品牌红更显高级 ===== */
.btn { padding: 14px 34px; font-weight: 600; letter-spacing: .8px; border-radius: 999px; }
.btn-primary {
  background: var(--green-900); color: #fff;
  box-shadow: 0 16px 34px -14px rgba(140, 27, 27, .55);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 22px 42px -16px rgba(140, 27, 27, .6); }
.btn-outline { border-color: rgba(140, 27, 27, .35); color: var(--green-900); background: #fff; }
.btn-outline:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); }
.btn-sm { padding: 9px 20px; }

/* ===== Hero：大图、留白、优雅大标题 ===== */
.hero { height: 88vh; min-height: 620px; max-height: 840px; }
.hero-slide { background-position: center; }
/* 提权 .hero 前缀，确保覆盖 header.php 内联主题渐变 */
.hero .hero-slide::before {
  background:
    linear-gradient(90deg, rgba(40, 8, 8, .78) 0%, rgba(40, 8, 8, .42) 48%, rgba(40, 8, 8, .12) 100%),
    linear-gradient(0deg, rgba(20, 4, 4, .55) 0%, rgba(0, 0, 0, 0) 38%) !important;
}
.hero-content { padding: 0 28px; }
.hero-content .tag {
  padding: 8px 22px; border: 1px solid rgba(243, 217, 163, .8); color: #f3d9a3;
  letter-spacing: 4px; font-size: 12.5px; margin-bottom: 28px; backdrop-filter: blur(2px);
}
.hero-content h1 {
  font-size: clamp(42px, 5.6vw, 72px); line-height: 1.12; letter-spacing: 4px;
  font-weight: 900; margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero-content p { font-size: 18.5px; line-height: 1.9; max-width: 600px; color: rgba(255, 255, 255, .9); margin-bottom: 38px; }
.hero-content .btn { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.hero-dots button { width: 40px; height: 3px; }
.hero-dots button.active { background: var(--gold); }
.hero-arrow { width: 52px; height: 52px; border-color: rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .15); }

/* ===== 区块节奏：更大留白 ===== */
.section { padding: 106px 0; }
.section.alt { background: var(--cream-2); }
.section-head { margin-bottom: 60px; }
.section-head .eyebrow { letter-spacing: 6px; font-size: 12.5px; color: var(--gold-dark); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; letter-spacing: 1.5px; }
.section-head h2::after { width: 64px; height: 3px; margin-top: 20px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.section-head p { font-size: 16px; margin-top: 18px; max-width: 640px; }
.head-flex { margin-bottom: 44px; }
.head-flex h2 { font-size: clamp(26px, 3vw, 36px); }
.head-flex .eyebrow { letter-spacing: 6px; }

/* ===== 核心优势：通透卡片 ===== */
.home-feat { gap: 26px; }
.home-feat .feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 26px; box-shadow: var(--shadow-sm);
}
.home-feat .feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.home-feat .feat .ic {
  width: 62px; height: 62px; margin-bottom: 20px; border-radius: 18px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #f3d9a3;
}
.home-feat .feat b { font-size: 18px; }

/* ===== 品牌介绍：大图竖构图、更高级 ===== */
.brand-split { gap: 72px; }
.brand-figure { aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; }
.brand-figure::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(40, 8, 8, .22));
}
.brand-text h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 22px; }
.brand-text > p { font-size: 16.5px; color: var(--ink-soft); }
.brand-values { gap: 16px; margin: 32px 0; }
.value-card { border-radius: var(--radius); padding: 24px 18px; }
.value-card b { font-size: 16px; }

/* ===== 产品卡片：更克制、更精致 ===== */
.product-grid { gap: 30px; }
.product-card { border: 1px solid rgba(0, 0, 0, .05); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-thumb { aspect-ratio: 4 / 3.4; }
.product-cat { background: rgba(255, 255, 255, .92); color: var(--green-900); font-weight: 600; backdrop-filter: blur(4px); }
.product-body { padding: 24px 24px 22px; }
.product-body h3 { font-size: 20px; letter-spacing: .5px; }
.product-body .desc { font-size: 13.5px; line-height: 1.7; }
.product-price .num { color: var(--green-900); font-size: 24px; }
.product-foot .btn { flex: 1; justify-content: center; }

/* ===== 数据实力：红底金字、留白 ===== */
.home-stats { padding: 76px 0; background: linear-gradient(120deg, var(--green-900), var(--red-deep)); position: relative; }
.home-stats::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: radial-gradient(60% 120% at 100% 0, var(--gold-light), transparent 60%);
}
.home-stats .row { position: relative; gap: 24px; }
.home-stats .num { font-size: 50px; color: #f3d9a3; }
.home-stats .lbl { letter-spacing: 2px; opacity: .9; }

/* ===== 工艺步骤 ===== */
.home-craft { gap: 24px; }
.home-craft .step { border-radius: var(--radius); padding: 34px 26px; }
.home-craft .step::before { font-size: 34px; color: var(--gold-dark); }

/* ===== 资讯：更清爽 ===== */
.news-cols { gap: 64px; }
.news-item { padding: 22px 0; }
.news-date .d { font-size: 30px; color: var(--green-900); }
.news-meta h4 { font-size: 16.5px; }

/* ===== CTA：红金渐变横幅 ===== */
.cta-band {
  background: linear-gradient(120deg, var(--green-900) 0%, var(--red-deep) 60%, #8a5a17 100%);
  padding: 92px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background: radial-gradient(50% 140% at 80% 0, var(--gold-light), transparent 55%);
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); position: relative; }
.cta-band p { position: relative; font-size: 16.5px; }
.cta-band .btn-ghost { position: relative; }

/* ===== 渠道墙 ===== */
.channel-wall { gap: 16px; }
.channel-wall .ch { border-radius: var(--radius); padding: 26px 16px; }
.channel-wall .ch b { color: var(--green-900); }

/* ===== 列表页 banner：更大气 ===== */
.page-banner { padding: 92px 0; background: linear-gradient(120deg, var(--green-900), var(--red-deep)); }
.page-banner h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: 2px; }
.filter-bar a { padding: 9px 22px; }
.filter-bar a.active, .filter-bar a:hover { background: var(--green-900); border-color: var(--green-900); }

/* ===== 产品详情：更大画廊、精致信息 ===== */
.product-detail { grid-template-columns: 520px 1fr; gap: 60px; }
.pd-gallery .main-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); }
.pd-price-box { background: linear-gradient(120deg, #fbf3e6, #f6ece0); border: 1px solid var(--line); border-radius: var(--radius); }
.pd-price-box .num { color: var(--green-900); }
.pd-section h2 { border-bottom-color: var(--gold); }

/* ===== 页脚：更沉稳 ===== */
.site-footer { background: linear-gradient(180deg, var(--green-900), #2c0a0a); padding-top: 72px; }
.footer-brand .mark { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.footer-grid { padding-bottom: 48px; }

/* ===== 浮动客服 / 回到顶部 ===== */
.float-service .fs-btn { box-shadow: 0 14px 30px -10px rgba(140, 27, 27, .5); }
.back-top { background: var(--green-900); }

/* ===== 滚动揭示动画（纯 CSS，渐入上移） ===== */
@media (prefers-reduced-motion: no-preference) {
  .section .product-card,
  .section .home-feat .feat,
  .section .home-craft .step,
  .section .value-card,
  .channel-wall .ch {
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
  }
  .product-grid .product-card:nth-child(2) { animation-delay: .06s; }
  .product-grid .product-card:nth-child(3) { animation-delay: .12s; }
  .product-grid .product-card:nth-child(4) { animation-delay: .18s; }
  .product-grid .product-card:nth-child(5) { animation-delay: .24s; }
  .product-grid .product-card:nth-child(6) { animation-delay: .30s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* ===== 响应式细化 ===== */
@media (max-width: 1080px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  .brand-split { gap: 40px; }
  .brand-figure { aspect-ratio: 16 / 11; }
  .section { padding: 72px 0; }
  .hero { height: 70vh; min-height: 480px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .nav-inner { height: 66px; }
  .section { padding: 54px 0; }
  .product-grid { gap: 16px; }
  .product-body { padding: 16px; }
  .home-stats .num { font-size: 38px; }
}
