@charset "UTF-8";

/* =========================================================
   新营地官网 · 全站共用样式（header + footer 共用同一文件）
   设计令牌 → 基础重置 → 布局 → 按钮 → 头部 → 页脚 → 移动端悬浮条
   首页内容区块样式见 home.css（仅首页加载）。
   ========================================================= */

:root {
  /* 品牌色 */
  --brand: #f26a1b;
  --brand-600: #d9530e;
  --brand-700: #b84408;
  --brand-50: #fff3ec;
  --brand-100: #ffe4d4;

  /* 中性色 */
  --ink: #0f1b33;
  --ink-2: #1e2e4d;
  --ink-3: #33456b;
  --muted: #5a6b85;
  --muted-2: #8494ab;
  --line: #e8ecf3;
  --line-2: #d8dfeb;
  --bg: #ffffff;
  --bg-soft: #fff9f5;
  --bg-soft-2: #f6f8fc;

  /* 辅助色 */
  --teal: #0e9f8e;
  --gold: #ffc24b;

  /* 尺寸 */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: 24px;

  /* 阴影 */
  --shadow-xs: 0 2px 8px rgba(15, 27, 51, .05);
  --shadow-sm: 0 6px 20px rgba(15, 27, 51, .06);
  --shadow-md: 0 12px 34px rgba(15, 27, 51, .09);
  --shadow-lg: 0 22px 55px rgba(15, 27, 51, .13);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;
}

/* ---------------- 基础重置 ---------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  text-decoration: none;
  transition: color .18s var(--ease);
}
a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { max-width: 100%; height: auto; display: block; }

button { font: inherit; color: inherit; cursor: pointer; }

strong { color: var(--ink); font-weight: 700; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 无障碍辅助 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------------- 布局 ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 区块标题 */
.section-head {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-600);
  background: var(--brand-50);
  border-radius: var(--radius-pill);
}

.section-head h1,
.section-head h2 {
  font-size: clamp(25px, 3.4vw, 38px);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8a3d 100%);
  box-shadow: 0 8px 22px rgba(242, 106, 27, .28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 106, 27, .36);
}

.btn-outline {
  color: var(--brand-600);
  border-color: var(--brand);
  background: transparent;
}
.btn-outline:hover { background: var(--brand-50); }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255,255,255,.6); }

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-600);
}
.text-link:hover { transform: translateX(2px); }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffd9c2;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

/* 清除 AeroCore 原主题滚动蒙版：main.min.js 滚动后会给 .site-header 添加
   site-header--scrolled 类，触发原主题深色背景 + ::before 毛玻璃蒙版层，
   该蒙版层 z-index 高于普通流内容，会盖住 logo 与导航。
   这里统一禁用蒙版层，并将滚动悬浮时的背景固定为与 header 相同的 #ffd9c2。 */
.site-header::before,
.site-header--scrolled::before {
  display: none;
}
.site-header--scrolled {
  background: #ffd9c2;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo--footer .logo-img { height: 30px; }
.logo-mark {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; color: var(--ink); letter-spacing: .02em; }
.logo-text em {
  font-size: 11px;
  font-style: normal;
  color: var(--muted-2);
  letter-spacing: .22em;
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: var(--radius-sm);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--brand-600); background: var(--brand-50); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* header-actions 右对齐：有导航时 .nav 的 margin-left:auto 已把内容推至右端；
   未配置导航菜单时兜底，让 actions 始终贴右边缘 */
.logo + .header-actions { margin-left: auto; }

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tel-link:hover { color: var(--brand-600); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- 页脚 ---------------- */
.site-footer {
  padding: 60px 0 0;
  color: rgba(255, 255, 255, .68);
  background: var(--ink);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 44px;
}
.logo--footer { margin-bottom: 18px; }
.logo--footer .logo-text strong { color: #fff; }
.logo--footer .logo-text em { color: rgba(255, 255, 255, .45); }
.logo--footer .logo-mark { background: rgba(255, 255, 255, .1); }
.footer-brand p { font-size: 14px; margin-bottom: 6px; }
.footer-slogan { color: rgba(255, 255, 255, .5); }

/* ---------------- 页脚微信二维码 ---------------- */
.footer-wechat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px;
  max-width: 320px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
}
.footer-wechat-qr {
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}
.footer-wechat-info { min-width: 0; }
.footer-wechat-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.footer-wechat-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

.footer-title {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.footer-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
.footer-nav a { font-size: 14px; color: rgba(255, 255, 255, .66); }
.footer-nav a:hover { color: #ff8a3d; }
.footer-contact li { margin-bottom: 18px; font-size: 14px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom p { margin: 0; }

/* 友情链接 */
.friend-links { padding-bottom: 26px; }
.friend-links-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}
.friend-links-list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.friend-links-list a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-pill);
  transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease);
}
.friend-links-list a:hover {
  color: #ff8a3d;
  background: rgba(255, 255, 255, .14);
  border-color: #ff8a3d;
}

/* ---------------- 移动端悬浮条 ---------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(15, 27, 51, .08);
}
.mobile-bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.mobile-bar-btn--tel {
  color: var(--ink);
  background: var(--bg-soft-2);
  border: 1px solid var(--line-2);
}
.mobile-bar-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8a3d 100%);
  box-shadow: 0 6px 18px rgba(242, 106, 27, .3);
}
.mobile-bar-btn--primary:hover { color: #fff; }

/* ---------------- 滚动进入动画 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1080px) {
  .loop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sell-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  :root { --header-h: 62px; }
  .section { padding: 64px 0; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 12px; font-size: 16px; color: var(--ink-3); border-radius: var(--radius-sm); }
  .nav a:hover { color: var(--brand-600); background: var(--brand-50); }

  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .logo + .header-actions { margin-left: 0; }
  .tel-link span { display: none; }
  .tel-link { padding: 9px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }

  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-lead { font-size: 16px; }
  .hero h1 { font-size: clamp(27px, 7vw, 38px); }
  .hero-cta .btn { flex: 1 1 auto; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }

  .cta-box { grid-template-columns: 1fr; }
  .cta-contact { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .cta-copy, .cta-contact { padding: 36px 28px; }

  .founder-card { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; text-align: left; }
  .founder-avatar { width: 88px; height: 88px; font-size: 34px; border-radius: 20px; }

  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 34px; text-align: left; }
  .section-head h1,
  .section-head h2 { font-size: 24px; }
  .section-lead { font-size: 15.5px; }

  .hero { padding: 44px 0 54px; }
  .eyebrow { font-size: 12.5px; padding: 6px 13px; }
  .hero-trust { gap: 8px 18px; font-size: 13px; }
  .hero-card { padding: 24px 20px; }
  .stats { gap: 20px 14px; }

  .loop-list { grid-template-columns: 1fr; gap: 14px; }
  .loop-card { padding: 22px 20px; }
  .answer-box { padding: 22px 20px; }

  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 20px; }

  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-grid { grid-template-columns: 1fr; }

  .tablist {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: var(--radius);
    -webkit-overflow-scrolling: touch;
  }
  .tab { flex: 0 0 auto; padding: 10px 18px; font-size: 14px; }

  .qa-item summary { padding: 16px 18px; }
  .qa-item summary h3 { font-size: 15.5px; }
  .qa-body { padding: 16px 18px 20px; }
  .qa-body p { font-size: 14.5px; }

  .case-card { padding: 22px 20px; }
  .case-data > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .case-data dd { text-align: left; }

  .insight-link { padding: 22px 20px; }
  .insight-card h3 { font-size: 17px; }
  .insight-excerpt { font-size: 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav ul { grid-template-columns: repeat(2, 1fr); }
  .friend-links-list { gap: 7px 8px; }
  .friend-links-list a { padding: 6px 12px; font-size: 12.5px; }
  .footer-bottom { flex-direction: column; }

  .kpi-band { padding: 24px 20px; }
  .kpi-band li { padding: 9px 18px; font-size: 14.5px; }
}

/* 超窄屏（iPhone SE 等 320px）：header 挤不下，隐藏顶部 CTA，保留底部悬浮条 */
@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .header-actions .btn-primary { display: none; }
}

/* ---------------- 动效偏好 & 打印 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .hero-bg { position: static; box-shadow: none; }
  .hero { background: #fff; color: #000; }
  .qa-body { display: block !important; }
}