/* ============================================================
   写春秋首页 v2 — 脱离旧模板，全宽响应式，品牌红色调
   覆盖旧 base.js 字号劫持；新增 Hero 全高/Logo/服务分类/页脚等
   ============================================================ */

/* ─── 0. 根基重置（必须第一条 —— 覆盖旧 base.js 动态 font-size）─── */
html {
  font-size: 16px !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif SC', 'Noto Sans SC', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

a {
  color: #c8102e;
}

/* English home — same layout as Chinese, Latin-friendly typography */
html[lang='en-US'] body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial,
    sans-serif;
  letter-spacing: -0.01em;
}

html[lang='en-US'] .geo-hero-title,
html[lang='en-US'] .geo-hero-accent,
html[lang='en-US'] .geo-home-section-hd h2,
html[lang='en-US'] .geo-cta-title {
  font-family: 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

html[lang='en-US'] .geo-hero-lead {
  max-width: 42ch;
}

html[lang='en-US'] .geo-case-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

html[lang='en-US'] .geo-events-item h3 {
  font-size: 1rem;
  line-height: 1.4;
}

html[lang='en-US'] .geo-hero-stat dd {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── 1. Hero 全高覆盖（unicorn-scenes.css 已有 .geo-hero-stage 但高度不够）─── */
.geo-hero-stage {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex;
  flex-direction: column;
}

.geo-hero-overlay {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex;
  flex-direction: column;
}

/* 移除大屏 max-width 限制 */
@media (min-width: 1600px) {
  .geo-hero-stage {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ─── 2. Hero 顶部栏 —— Logo + 联系方式，整行铺宽，不再孤立 ─── */
.geo-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 1.5rem clamp(1.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vh, 2.5rem);
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

.geo-hero-topbar-logo a {
  display: inline-block;
  text-decoration: none;
}

.geo-hero-topbar-logo img {
  height: clamp(72px, 9vw, 120px);
  width: auto;
  background: rgba(255, 255, 255, 0.93);
  padding: 10px 26px;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  display: block;
}

.geo-hero-topbar-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.geo-hero-topbar-tel a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.geo-hero-topbar-tel a:hover {
  color: #fff !important;
}

.geo-hero-topbar-tel .geo-tel-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.geo-hero-topbar-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.geo-hero-topbar-actions .geo-lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.geo-hero-topbar-actions .geo-lang-switch:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ─── 旧 logo bar 兼容 —— 如有残留也能渲染 ─── */
.geo-hero-logo-bar {
  flex-shrink: 0;
  padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
  pointer-events: auto;
  display: none; /* topbar 替代了它 */
}

.geo-hero-logo-bar a {
  display: inline-block;
  text-decoration: none;
}

.geo-hero-logo-bar img {
  height: clamp(72px, 9vw, 120px);
  width: auto;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 26px;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  display: block;
}

/* ─── 3. Hero 文案动画（浮现效果）─── */
@keyframes geoHeroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.geo-hero-copy {
  animation: geoHeroReveal 0.9s ease-out 0.25s both;
}

.geo-hero-stats {
  animation: geoHeroReveal 0.9s ease-out 0.6s both;
}

/* ─── 4. Hero QR 内联（actions 里的二维码区）─── */
.geo-hero-qr-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}

.geo-hero-qr-inline img {
  width: clamp(64px, 7vw, 88px);
  height: auto;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.geo-hero-qr-inline span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  line-height: 1.4;
}

/* ─── 5. 通用区块包装 ─── */
.geo-home-section {
  width: 100%;
}

.geo-home-section-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 3.5rem);
}

/* 区块标题组 */
.geo-home-section-hd {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.geo-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #c8102e;
  background: #fff0f0;
  border-radius: 100px;
  text-transform: uppercase;
}

.geo-home-section-hd h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.geo-home-section-hd h2 em {
  font-style: normal;
  color: #c8102e;
}

/* 标题底部红线 */
.geo-home-section-hd h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: #c8102e;
  border-radius: 2px;
}

.geo-home-section-hd p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #666;
  line-height: 1.7;
}

/* ─── 6. 咨询优势区（深红背景，4 大优势）─── */
.geo-home-advantages {
  background: linear-gradient(135deg, #5e0010 0%, #8b001a 35%, #b80025 65%, #7a000f 100%);
  position: relative;
  overflow: hidden;
}

/* 斜纹装饰层 */
.geo-home-advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 1px,
      transparent 36px
    );
  pointer-events: none;
}

.geo-home-advantages .geo-home-section-in {
  position: relative;
  z-index: 1;
}

.geo-home-advantages .geo-eyebrow {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
}

.geo-home-advantages .geo-home-section-hd h2 {
  color: #fff;
}

.geo-home-advantages .geo-home-section-hd h2::after {
  background: rgba(255,255,255,0.45);
}

.geo-home-advantages .geo-home-section-hd p {
  color: rgba(255,255,255,0.72);
}

.geo-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.geo-advantage-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.75rem;
  color: #fff;
  text-align: center;
  transition: background 0.22s, transform 0.22s;
}

.geo-advantage-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.geo-section-fx-wrap.is-fx-live .geo-advantage-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.geo-advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-size: 1.6rem;
  margin: 0 auto 1.1rem;
  color: #fff;
}

.geo-advantage-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.geo-advantage-card p {
  margin: 0;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ─── 7. 管理咨询服务 — 暖色调背景，4 大类 ─── */
.geo-home-services {
  background: linear-gradient(180deg, #fdf2ee 0%, #fffaf8 55%, #fff 100%);
}

.geo-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.geo-category-card {
  background: #fff;
  border: 1px solid #e8e0dc;
  border-top: 4px solid #c8102e;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  transition: box-shadow 0.22s, transform 0.22s;
}

.geo-category-card:hover {
  box-shadow: 0 10px 32px rgba(200, 16, 46, 0.14);
  transform: translateY(-5px);
}

.geo-section-fx-wrap.is-fx-live .geo-category-card:hover {
  box-shadow:
    0 14px 38px rgba(200, 16, 46, 0.2),
    0 0 0 1px rgba(200, 16, 46, 0.08);
}

.geo-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff0ee 0%, #ffe4e0 100%);
  color: #c8102e;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.geo-category-card h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

.geo-category-card > p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #888;
  line-height: 1.55;
}

/* Sub-service tags */
.geo-category-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.geo-category-subs li {
  margin: 0;
}

.geo-category-subs a {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  background: #f5eeec;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.geo-category-subs a:hover {
  background: #fff0f0;
  color: #c8102e;
}

/* ─── 8. 经典案例 ─── */
.geo-home-cases {
  background: #fdf0ed;
}

/* 让 geo-modern.css 的 geo-case-grid 在这里无 max-width 限制 */
.geo-home-cases .geo-case-grid {
  max-width: 100%;
  padding: 0;
  gap: 1.25rem;
}

/* 案例卡片 — design-iterator v1 */
.geo-home-cases .geo-case-card {
  background: #fff;
  border: 1px solid #ebe3e0;
  border-left: none;
  border-top: 3px solid #c8102e;
  border-radius: 12px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 1px 4px rgba(26, 26, 26, 0.04);
  transition: box-shadow 0.22s, transform 0.22s;
}

.geo-home-cases .geo-case-card:hover {
  box-shadow: 0 10px 28px rgba(200, 16, 46, 0.1);
  transform: translateY(-3px);
}

.geo-section-fx-wrap.is-fx-live .geo-case-card:hover {
  box-shadow:
    0 12px 34px rgba(200, 16, 46, 0.18),
    0 0 0 1px rgba(200, 16, 46, 0.06);
}

.geo-home-cases .geo-case-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.geo-home-cases .geo-case-problem {
  margin-bottom: 0.55rem;
  color: #777;
  line-height: 1.6;
}

.geo-home-cases .geo-case-result {
  line-height: 1.55;
}

/* ─── 9. 管理智库 + 近期活动 ─── */
.geo-home-ie {
  background: #fff;
}

.geo-ie-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.geo-insights-col h2,
.geo-events-col h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #1a1a1a;
}

.geo-insights-col h2::after,
.geo-events-col h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: #c8102e;
  margin-top: 0.6rem;
  border-radius: 2px;
}

.geo-insights-col p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  font-size: 1.0625rem;
  line-height: 1.88;
  color: #4a4a4a;
}

.geo-insights-link {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #c8102e;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
}

.geo-insights-link:hover {
  background: #a50d25;
  transform: translateY(-1px);
}

/* Events list */
.geo-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.geo-events-item {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #ece7e7;
  border-left: none;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.04);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.geo-events-item:hover {
  background: #fff;
  border-color: #e8d8d8;
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.07);
}

.geo-events-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.55;
}

.geo-events-item h3 a {
  color: #1a1a1a;
  text-decoration: none;
}

.geo-events-item h3 a:hover {
  color: #c8102e;
}

.geo-events-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.62;
}

.geo-events-more {
  display: inline-block;
  margin-top: 1.25rem;
  color: #c8102e;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.geo-events-more:hover {
  text-decoration: underline;
}

/* ─── 10. 专家团队 ─── */
.geo-home-team {
  background: #fdf2ee;
}

/* ─── 11. CTA 水彩全宽（恢复全屏横幅）─── */
.geo-home-cta-wrap {
  /* wrapper removed — use geo-cta-stage directly */
}

/* 覆盖 unicorn-scenes.css 里的 max-width 限制，让 CTA 横贯全屏 */
.geo-cta-stage {
  max-width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* ─── 12. 首页 Footer ─── */
.geo-home-footer {
  background: #180507;
  color: rgba(255, 255, 255, 0.8);
}

.geo-home-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.geo-home-footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem 4rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.75rem;
}

.geo-home-footer-brand img {
  height: 48px;
  width: auto;
  background: rgba(255, 255, 255, 0.93);
  padding: 7px 16px;
  border-radius: 7px;
  margin-bottom: 0.85rem;
}

.geo-home-footer-brand p {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.geo-home-footer-brand a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.geo-home-footer-brand a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.geo-home-footer-qr {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
}

.geo-home-footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.geo-home-footer-qr-item img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.geo-home-footer-qr-item p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.4;
}

.geo-home-footer-bottom {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
}

.geo-home-footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.geo-home-footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Watercolor fixed bg layer */
.geo-watercolor-fixed {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  opacity: 0.04;
}

.geo-fx-fallback .geo-watercolor-fixed {
  display: none;
}

/* ─── 13. 响应式断点 ─── */
@media (max-width: 1100px) {
  .geo-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .geo-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .geo-ie-cols {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .geo-home-footer-top {
    grid-template-columns: 1fr;
  }
  .geo-home-footer-qr {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .geo-hero-topbar-logo img {
    height: clamp(52px, 13vw, 80px);
  }
  .geo-hero-topbar-tel {
    display: none;
  }
  .geo-hero-topbar-actions .geo-lang-switch {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }
}

@media (max-width: 600px) {
  .geo-category-grid {
    grid-template-columns: 1fr;
  }
  .geo-advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .geo-home-section-in {
    max-width: 1440px;
  }
  .geo-home-footer-inner {
    max-width: 1440px;
  }
}
