/* === Footer — B1 style (IGNIREE orange system) === */
:root{
  --ft-bg:#0f1217;            /* 深色底 */
  --ft-text:#cbd5e1;          /* 正文 */
  --ft-dim:#94a3b8;           /* 次要文字 */
  --ft-line:rgba(255,255,255,.08);
  --ft-card:rgba(255,255,255,.02);
  --ft-pill-bg:rgba(255,255,255,.06);
  --brand-600:#ff6a00;        /* 与全站保持一致 */
  --brand-700:#d95500;
}

.site-footer{
  background: var(--ft-bg);
  color: var(--ft-text);
  border-top: 1px solid var(--ft-line);
  margin-top: 24px;
}
.site-footer a{ color: #fff; text-decoration: none; }
.site-footer a:hover{ color: var(--brand-600); }

.footer-wrap{ padding: 28px 0; }
.ft-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width:768px){
  .ft-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (min-width:1100px){
  .ft-grid{ grid-template-columns: repeat(4,1fr); }
}

.footer-card{
  background: var(--ft-card);
  border: 1px solid var(--ft-line);
  border-radius: 16px;
  padding: 16px;
}
.ft-title{
  font-weight: 900; color: #fff; font-size: 16px; margin: 0 0 10px;
}
.ft-nav{ list-style: none; margin: 0; padding: 0; }
.ft-nav li{ margin: 8px 0; }
.ft-nav a{
  display: inline-block; padding: 6px 0; border-bottom: 1px dashed transparent;
}
.ft-nav a:hover{ border-bottom-color: var(--brand-600); }

.payments{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay{
  display: inline-block; padding: 6px 10px; border-radius: 999px;
  background: var(--ft-pill-bg); color: #fff; border: 1px solid var(--ft-line);
  font-weight: 800; font-size: 12px; letter-spacing: .04em;
}

.news-wrap{ display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 10px 0 6px; }
.news-wrap .input{
  height: 40px; border-radius: 10px; border: 1px solid var(--ft-line);
  background: rgba(255,255,255,.06); padding: 0 12px; color: #fff;
}
.news-wrap .btn{
  height: 40px; border-radius: 10px; border: 1px solid var(--brand-600);
  background: var(--brand-600); color: #fff; padding: 0 14px; font-weight: 800;
}
.news-wrap .btn:hover{ background: var(--brand-700); border-color: var(--brand-700); }
.note{ color: var(--ft-dim); display: block; margin-top: 4px; }

.brand-box{ display: flex; gap: 12px; align-items: center; }
.logo-badge{
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--ft-line); font-size: 20px;
}
.brand-meta b{ display:block; color:#fff; }
.brand-meta small{ display:block; color:var(--ft-dim); line-height: 1.3; }

.contact-list{ list-style:none; margin:10px 0; padding:0; }
.contact-list li{ margin: 6px 0; }

.meta-row{
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.social{ display:flex; gap:8px; }
.sbtn{
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; border:1px solid var(--ft-line);
  background: rgba(255,255,255,.04); color:#fff; font-weight:800;
}
.sbtn:hover{ background: var(--brand-600); border-color: var(--brand-600); }

.bottom-bar{
  border-top: 1px solid var(--ft-line);
  background: rgba(255,255,255,.03);
}
.bottom-inner{
  max-width: var(--cw-xl, 1360px); margin: 0 auto; padding: 12px 16px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  color: var(--ft-dim);
}
.bottom-inner a{ color: #fff; }
.bottom-inner a:hover{ color: var(--brand-600); }

.footer-card .mt{ margin-top: 14px; }
.visually-hidden{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
/* ===== IGNIREE Footer · Light Theme (Scoped) ===== */
.site-footer{
  background:#fafafa;
  color:#475569;
  padding-top:32px;
  border-top:1px solid #e2e8f0;
  font-size:14px;
}

.site-footer .footer-wrap .top-row{
  display:grid;
  gap:28px;
  grid-template-columns:1fr;
}
@media(min-width:992px){
  .site-footer .footer-wrap .top-row{
    grid-template-columns:1.1fr 1.1fr 1.1fr 1.4fr;
  }
}

/* 清爽留白风格，不再使用深色卡片 */
.site-footer .footer-card{
  background:none;
  border:none;
  padding:0;
}

/* 标题层级提高 */
.site-footer .footer-card h4{
  margin:0 0 10px;
  font-weight:700;
  color:#0f172a;
}

/* 分隔线 */
.site-footer .footer-card .divider{
  height:1px;
  background:#e2e8f0;
  margin:10px 0 16px;
}

/* 列表 */
.site-footer .ft-nav{ list-style:none; margin:0; padding:0; }
.site-footer .ft-nav li{ margin:8px 0; }
.site-footer .ft-nav a{
  color:#475569;
  text-decoration:none;
}
.site-footer .ft-nav a:hover{
  color:#ff6a00;
}

/* 支付 / 认证徽章 */
.site-footer .pay{
  padding:4px 10px;
  border-radius:12px;
  background:#f1f5f9;
  color:#334155;
  border:1px solid #e2e8f0;
  font-weight:600;
}

/* Newsletter */
.site-footer .news-wrap .input{
  height:40px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:0 12px;
  background:#fff;
}
.site-footer .news-wrap .btn{
  height:40px; border-radius:8px; border:1px solid #ff6a00;
  background:#ff6a00; color:#fff; font-weight:700;
}
.site-footer .news-wrap .btn:hover{
  background:#e65a00; border-color:#e65a00;
}

/* Brand 区域（保持你原本火苗图标） */
.site-footer .logo-badge{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:8px;
  font-size:20px;
}
.site-footer .brand-meta b{ font-size:16px; color:#0f172a; }
.site-footer .brand-meta small{ color:#64748b; }

/* 底部版权条 */
.site-footer .bottom-bar{
  border-top:1px solid #e2e8f0;
  background:#ffffff;
  margin-top:40px;
}
.site-footer .bottom-inner{
  padding:14px 0;
  display:flex; justify-content:space-between; align-items:center;
  color:#64748b;
}
.site-footer .bottom-inner a{ color:#475569; }
.site-footer .bottom-inner a:hover{ color:#ff6a00; }
/* ===== IGNIREE Footer – Light theme (scoped) ===== */
.site-footer{
  --brand-600:#ff6a00;
  --ink:#0f172a;
  --muted:#475569;
  --paper:#ffffff;            /* 浅色底 */
  --paper-soft:#fffaf5;       /* 轻暖底 */
  --line:#efe6db;

  background:var(--paper);
  color:var(--muted);
  border-top:1px solid var(--line);
}

/* 容器 & 栅格 */
.site-footer .footer-wrap{ 
  max-width:1360px; margin:0 auto; padding:20px;
}
.site-footer .top-row{
  display:grid; gap:18px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .site-footer .top-row{ grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* 卡片列 */
.site-footer .footer-card{
  background:#fff; 
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
}
.site-footer .footer-card.brand{ background:var(--paper-soft); }

/* 标题与分隔线 */
.site-footer h4{
  font-weight:900; color:var(--ink); margin:0 0 8px;
}
.site-footer .divider{
  height:1px; background:var(--line); margin:10px 0;
}

/* 列表导航 */
.site-footer .ft-nav{ list-style:none; margin:0; padding:0; }
.site-footer .ft-nav li{ margin:10px 0 0; }
.site-footer .ft-nav a{
  color:var(--ink); text-decoration:none;
}
.site-footer .ft-nav a:hover{
  color:var(--brand-600); text-decoration:underline;
}

/* 支付/认证胶囊 */
.site-footer .payments .pay,
.site-footer .meta-row .pay{
  display:inline-block; font-weight:800; font-size:12px;
  background:#fff; border:1px solid var(--line); color:var(--ink);
  border-radius:999px; padding:6px 10px; margin-right:8px; margin-top:8px;
}
.site-footer .payments .pay:hover{ border-color:#ffd6ad; }

/* 社交按钮 */
.site-footer .social .sbtn{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px;height:36px;border-radius:10px; 
  border:1px solid var(--line); color:var(--ink); background:#fff;
  text-decoration:none; margin-right:8px;
}
.site-footer .social .sbtn:hover{ 
  border-color:#ffd6ad; color:var(--brand-600);
}

/* Newsletter */
.site-footer .news-wrap{ display:flex; gap:8px; }
.site-footer .news-wrap .input{
  flex:1 1 auto; height:40px; padding:0 12px; border-radius:10px;
  border:1px solid var(--line); background:#fff; color:var(--ink);
}
.site-footer .news-wrap .btn{
  height:40px; border-radius:10px; padding:0 14px;
  background:var(--brand-600); color:#fff; border:1px solid var(--brand-600);
}
.site-footer .note{ display:block; margin-top:8px; color:#6b7280; }

/* 品牌小块 */
.site-footer .brand-box{ display:flex; gap:12px; align-items:center; }
.site-footer .logo-badge{
  width:36px;height:36px;border-radius:10px; 
  display:flex;align-items:center;justify-content:center;
  background:#fff; border:1px solid var(--line);
}

/* 底栏 */
.site-footer .bottom-bar{
  border-top:1px solid var(--line); background:#fff;
}
.site-footer .bottom-inner{
  max-width:1360px; margin:0 auto; padding:14px 20px;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; 
  color:#6b7280;
}
.site-footer .bottom-inner a{ color:var(--brand-600); text-decoration:none; }
.site-footer .bottom-inner a:hover{ text-decoration:underline; }

/* 只作用页脚：防止外部全局样式污染 */
body .site-footer *{ box-sizing:border-box; }
/* 可选：深色外观，仅当 .footer--dark 存在时生效 */
.site-footer.footer--dark{
  --paper:#0f1220; 
  --paper-soft:#0c101c;
  --ink:#e5e7eb;
  --muted:#cbd5e1;
  --line:#1f2535;
  background:var(--paper);
  color:var(--muted);
}
.site-footer.footer--dark .footer-card{ background:#101528; border-color:var(--line); }
.site-footer.footer--dark .bottom-bar{ background:#0c101c; }
.site-footer.footer--dark .ft-nav a{ color:#e5e7eb; }
.site-footer.footer--dark .social .sbtn,
.site-footer.footer--dark .payments .pay{ background:#0f1220; border-color:var(--line); color:#e5e7eb; }
.site-footer.footer--dark .news-wrap .input{ background:#0f1220; border-color:var(--line); color:#e5e7eb; }
/* === Footer 4-column layout (scoped) === */
.site-footer{ 
  background:#fffaf5;               /* 浅米色背景，和 S2 风格一致 */
  border-top:1px solid #efe6db;
  color:#0f172a;
}

.site-footer .footer-wrap{ padding:22px 0; }

/* 关键：四列平均 */
.site-footer .top-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr)); /* 桌面四列 */
  gap:24px;
  align-items:start;
}

/* 卡片样式尽量轻，不改变全站样式 */
.site-footer .footer-card{
  background:#fff;
  border:1px solid #efe6db;
  border-radius:14px;
  padding:16px 16px 14px;
}
.site-footer .footer-card h4{
  margin:0 0 8px;
  font-weight:900;
  font-size:16px;
  color:#0f172a;
}
.site-footer .footer-card .divider{
  height:1px; background:#efe6db; margin:8px 0 10px;
}

/* 列表与链接 */
.site-footer .ft-nav{ list-style:none; margin:0; padding:0; }
.site-footer .ft-nav li{ margin:8px 0; }
.site-footer .ft-nav a{
  color:#334155; text-decoration:none;
}
.site-footer .ft-nav a:hover{ color:#ff6a00; }

/* 徽章/支付/社媒 */
.site-footer .payments .pay{
  display:inline-block; font-weight:800; font-size:12px; 
  color:#a16207; padding:6px 10px; border-radius:999px;
  background:linear-gradient(180deg,#fff7ee,#ffe9cc);
  border:1px solid #f3ddc8; margin:6px 8px 0 0;
}
.site-footer .social .sbtn{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:10px; margin-left:8px;
  border:1px solid #f0e7dd; color:#ff6a00; text-decoration:none;
}
.site-footer .social .sbtn:hover{ background:#fff3e0; }

/* Newsletter */
.site-footer .news-wrap{ display:flex; gap:8px; margin:8px 0; }
.site-footer .news-wrap .input{
  flex:1 1 auto; height:40px; border:1px solid #efe6db; border-radius:10px; padding:0 12px;
}
.site-footer .news-wrap .btn{
  height:40px; border-radius:10px; padding:0 14px; 
  border:1px solid #ff6a00; background:#ff6a00; color:#fff; font-weight:800;
}
.site-footer small.note{ color:#64748b; }

/* Brand 信息区（右上两列内容中的品牌卡） */
.site-footer .brand-box{ display:flex; gap:10px; align-items:center; }
.site-footer .logo-badge{
  width:34px; height:34px; border-radius:10px; 
  display:inline-flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid #f0e7dd;
}

/* 底部版权条 */
.site-footer .bottom-bar{ border-top:1px solid #efe6db; background:#fff; }
.site-footer .bottom-inner{
  max-width:1360px; margin:0 auto; padding:12px 16px;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  color:#475569;
}
.site-footer .bottom-inner a{ color:#ff6a00; text-decoration:none; }

/* 响应式断点：平板两列、手机一列 */
@media (max-width: 1024px){
  .site-footer .top-row{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .site-footer .top-row{ grid-template-columns:1fr; }
  .site-footer .footer-card{ padding:14px; }
  .site-footer .bottom-inner{ flex-direction:column; align-items:flex-start; gap:6px; }
}
