/* ==========================================================================
   EBC金融集团 · 品牌介绍页 样式
   命名前缀 .ebc3-  ·  衬线标题 + 企业叙事风  ·  独立于页面 1 / 2
   ========================================================================== */

/* ---------- 设计 Token ---------- */
.ebc3-root {
  --brand: #7b1e26;
  --brand-deep: #5d2333;
  --brand-darker: #3f1820;
  --brand-soft: rgba(123, 30, 38, 0.08);
  --brand-line: rgba(123, 30, 38, 0.16);
  --gold: #b08d57;
  --gold-soft: #f0e6d6;

  --ink: #2a2522;
  --ink-soft: #5a5350;
  --ink-muted: #8c847f;

  --paper: #fbf8f4;
  --paper-warm: #f5efe6;
  --paper-deep: #efe7da;
  --surface: #ffffff;

  --line: rgba(42, 37, 34, 0.1);
  --line-soft: rgba(42, 37, 34, 0.06);

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(42, 37, 34, 0.05);
  --shadow-md: 0 8px 28px rgba(42, 37, 34, 0.08);
  --shadow-brand: 0 10px 30px rgba(123, 30, 38, 0.18);

  --container: 1160px;
  --gutter: 28px;
  --header-h: 76px;
  --section-y: clamp(80px, 9vw, 132px);

  --font-serif: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* 强制 [hidden] 生效，防止 display 规则覆盖（修复表单字段切换 bug） */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }

.ebc3-container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.ebc3-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0;
}
.ebc3-skip:focus { left: 0; }

/* ---------- 按钮 ---------- */
.ebc3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.ebc3-btn--sm { padding: 11px 22px; font-size: 14px; }
.ebc3-btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.ebc3-btn--primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.ebc3-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.ebc3-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.ebc3-btn--block { width: 100%; padding-block: 16px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.ebc3-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* 未滚动时（在深色 Hero 上）：导航文字为白色 */
/* 未滚动时（深色 Hero 上）：汉堡按钮、ghost 按钮适配白色 */
.ebc3-header:not(.is-scrolled) .ebc3-header__toggle { border-color: rgba(255, 255, 255, 0.4); }
.ebc3-header:not(.is-scrolled) .ebc3-header__toggle span { background: #fff; }
.ebc3-header:not(.is-scrolled) .ebc3-btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
/* 滚动后：白色导航底 */
.ebc3-header.is-scrolled {
  background: rgba(251, 248, 244, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line-soft);
}
.ebc3-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.ebc3-header__brand img { height: 44px; width: auto; }
.ebc3-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ebc3-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
/* 语言切换 */
.ebc3-lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.ebc3-lang__opt {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s var(--ease);
  text-decoration: none;
}
.ebc3-lang__opt:hover { color: var(--gold-soft); }
.ebc3-lang__opt.is-current { color: var(--gold-soft); }
.ebc3-lang__sep { color: rgba(255, 255, 255, 0.4); }
/* 滚动后白底：语言切换恢复深色 */
.ebc3-header.is-scrolled .ebc3-lang__opt { color: var(--ink-muted); }
.ebc3-header.is-scrolled .ebc3-lang__opt:hover { color: var(--brand); }
.ebc3-header.is-scrolled .ebc3-lang__opt.is-current { color: var(--brand); }
.ebc3-header.is-scrolled .ebc3-lang__sep { color: var(--line); }
.ebc3-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ebc3-nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #ffffff;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
  position: relative;
}
.ebc3-nav-list a:hover { color: var(--brand); background: var(--brand-soft); }
.ebc3-nav-list a.is-active { color: var(--brand); font-weight: 600; }
/* 滚动后白底导航：文字恢复深色 */
.ebc3-header.is-scrolled .ebc3-nav-list a { color: var(--ink-soft); }
.ebc3-header.is-scrolled .ebc3-nav-list a:hover { color: var(--brand); background: var(--brand-soft); }
.ebc3-header.is-scrolled .ebc3-nav-list a.is-active { color: var(--brand); }

.ebc3-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.ebc3-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: all 0.25s var(--ease);
}
.ebc3-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ebc3-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ebc3-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用 Section ---------- */
.ebc3-section { padding-block: var(--section-y); }
.ebc3-section--tint { background: var(--paper-warm); }
.ebc3-section--dark { background: linear-gradient(160deg, var(--brand-darker), var(--brand-deep)); color: #f5ede4; }

.ebc3-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ebc3-section__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
}
.ebc3-section__kicker--light { color: var(--gold-soft); }
.ebc3-section__kicker--light::before { background: var(--gold); }

.ebc3-section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.28;
  color: var(--ink);
}
.ebc3-section__title--light { color: #fff; }
.ebc3-section__sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 60ch;
}
.ebc3-section__head { margin-bottom: 60px; }
.ebc3-section__head--center { text-align: center; }
.ebc3-section__head--center .ebc3-section__kicker { justify-content: center; }
.ebc3-section__head--center .ebc3-section__sub { margin-inline: auto; }

.ebc3-prose { color: var(--ink-soft); font-size: 16px; line-height: 1.85; }
.ebc3-prose p + p { margin-top: 18px; }
.ebc3-prose strong { color: var(--brand); font-weight: 600; }

/* ==================== Hero ==================== */
.ebc3-hero {
  position: relative;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(72px, 10vw, 120px);
  background: radial-gradient(ellipse at top right, var(--brand-darker) 0%, var(--brand-deep) 40%, var(--brand-darker) 100%);
  overflow: hidden;
}
.ebc3-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ebc3-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 30% 40%, #000 0%, transparent 75%);
}
.ebc3-hero__glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(100px);
}
.ebc3-hero__glow--a { background: rgba(123, 30, 38, 0.6); top: -160px; right: -100px; }
.ebc3-hero__glow--b { background: rgba(176, 141, 87, 0.15); bottom: -200px; left: -140px; }

.ebc3-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

/* 左侧主内容 */
.ebc3-hero__main { min-width: 0; }
.ebc3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.ebc3-eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.2);
}

.ebc3-hero__title {
  font-weight: 800;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: 0.005em;
  margin-bottom: 24px;
}
.ebc3-hero__title-accent {
  color: var(--gold-soft);
  position: relative;
  display: inline-block;
}
.ebc3-hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 4px;
  opacity: 0.6;
}

.ebc3-hero__lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 52ch;
}
.ebc3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
/* Hero 内按钮在深色背景下的样式调整 */
.ebc3-hero__actions .ebc3-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ebc3-hero__actions .ebc3-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.ebc3-hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}
.ebc3-hero__pillars > div { padding-right: 20px; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.ebc3-hero__pillars > div:last-child { border-right: none; padding-right: 0; }
.ebc3-hero__pillars dt {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}
.ebc3-hero__pillars dd {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* 右侧：监管资质（垂直列表，深色背景上） */
.ebc3-hero__aside {
  position: relative;
}
.ebc3-hero__aside-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ebc3-hero__regs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.ebc3-hero__reg {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 0.25s var(--ease);
}
.ebc3-hero__reg:last-child { border-bottom: none; }
.ebc3-hero__reg:hover { padding-left: 8px; }
.ebc3-hero__reg-flag {
  flex-shrink: 0;
  width: 60px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.ebc3-hero__reg-flag img { width: 100%; height: 100%; object-fit: cover; }
.ebc3-hero__reg-info { min-width: 0; line-height: 1.4; }
.ebc3-hero__reg-info strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.ebc3-hero__reg-info strong span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 6px;
}
.ebc3-hero__reg-info em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ==================== 集团概况 ==================== */
.ebc3-overview__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.ebc3-overview__copy .ebc3-section__title { margin-bottom: 24px; }

.ebc3-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ebc3-stats__item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(42, 37, 34, 0.04);
  transition: all 0.35s var(--ease);
}
.ebc3-stats__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(123, 30, 38, 0.1);
  border-color: var(--brand-line);
}
.ebc3-stats__item strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 10px;
}
.ebc3-stats__item > span {
  font-size: 14px;
  color: var(--ink-muted);
}

/* ==================== 全球布局 ==================== */
.ebc3-locations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.ebc3-locations__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  box-shadow: 0 2px 12px rgba(42, 37, 34, 0.04);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}
.ebc3-locations__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.ebc3-locations__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ebc3-locations__card:hover::before { transform: scaleX(1); }
.ebc3-locations__pin {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
  transform: rotate(-45deg);
  position: relative;
}
.ebc3-locations__pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.ebc3-locations__card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.ebc3-locations__card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ebc3-locations__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ==================== 经营理念 ==================== */
.ebc3-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ebc3-values__card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 2px 12px rgba(42, 37, 34, 0.04);
  transition: all 0.35s var(--ease);
}
.ebc3-values__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(123, 30, 38, 0.1);
  border-color: var(--brand-line);
}
.ebc3-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}
.ebc3-values__card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.ebc3-values__card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ==================== 技术基础设施 / 交易环境 ==================== */
.ebc3-infra__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
  margin-bottom: 56px;
}
.ebc3-infra__copy .ebc3-section__title { margin-bottom: 20px; }
.ebc3-infra__copy .ebc3-prose { margin-bottom: 28px; }
.ebc3-infra__copy .ebc3-prose p + p { margin-top: 14px; }

/* 右侧拓扑面板 */
.ebc3-infra__viz { min-width: 0; }
.ebc3-infra__panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.ebc3-infra__panel::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 0 0 3px 3px;
}
.ebc3-infra__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.ebc3-infra__panel-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.ebc3-infra__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.ebc3-infra__live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.ebc3-infra__topo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
.ebc3-infra__nodes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ebc3-infra__nodes li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}
.ebc3-infra__nodes strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  min-width: 38px;
}
.ebc3-infra__nodes span {
  flex: 1;
  font-size: 13px;
  color: var(--ink-soft);
}
.ebc3-infra__nodes em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* 底部指标卡矩阵 */
.ebc3-infra__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ebc3-infra__metric {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.ebc3-infra__metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-line);
}
.ebc3-infra__metric strong {
  display: block;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 8px;
}
.ebc3-infra__metric span {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==================== 联系表单 ==================== */
.ebc3-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.ebc3-contact__intro .ebc3-section__title { margin-bottom: 18px; }
.ebc3-contact__lead {
  font-size: 16px;
  color: rgba(245, 237, 228, 0.82);
  margin-bottom: 24px;
  max-width: 50ch;
}
.ebc3-contact__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ebc3-contact__bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(245, 237, 228, 0.78);
}
.ebc3-contact__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.ebc3-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  color: var(--ink);
}
/* 联系方式类型：单选 */
.ebc3-form__radios {
  border: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.ebc3-form__legend {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0;
  padding: 0;
}
.ebc3-radio {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.ebc3-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ebc3-radio__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  position: relative;
  transition: all 0.2s var(--ease);
}
.ebc3-radio__box::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: var(--brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s var(--ease);
}
.ebc3-radio.is-checked,
.ebc3-radio:hover { color: var(--ink); }
.ebc3-radio.is-checked .ebc3-radio__box { border-color: var(--brand); }
.ebc3-radio.is-checked .ebc3-radio__box::after { width: 10px; height: 10px; }
.ebc3-radio input:focus-visible + .ebc3-radio__box {
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.ebc3-form__row { margin-bottom: 18px; }
.ebc3-field { display: flex; flex-direction: column; }
.ebc3-field > label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.ebc3-field input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: all 0.2s var(--ease);
  color: var(--ink);
}
.ebc3-field input::placeholder { color: var(--ink-muted); }
.ebc3-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.ebc3-field.has-error input { border-color: #d64545; background: #fdf3f3; }

.ebc3-field__prefix { display: flex; align-items: stretch; }
.ebc3-field__code {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--paper-deep);
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 15px;
}
.ebc3-field__prefix input { border-radius: 0 var(--radius) var(--radius) 0; }

.ebc3-captcha { display: flex; gap: 10px; }
.ebc3-captcha input { flex: 1; }
.ebc3-captcha__box {
  flex-shrink: 0;
  width: 110px;
  border: 1.5px dashed var(--brand-line);
  background: linear-gradient(135deg, var(--paper-warm), var(--paper));
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand);
  letter-spacing: 2px;
  transition: all 0.2s var(--ease);
  user-select: none;
}
.ebc3-captcha__box:hover { background: linear-gradient(135deg, var(--paper-deep), var(--paper-warm)); }

.ebc3-field__error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #d64545;
}
.ebc3-field.has-error .ebc3-field__error { display: block; }

.ebc3-submit__loading { display: none; }
.ebc3-form.is-submitting .ebc3-submit__text { display: none; }
.ebc3-form.is-submitting .ebc3-submit__loading { display: inline; }
.ebc3-form.is-submitting #ebc3-submit { pointer-events: none; opacity: 0.75; }

.ebc3-form__feedback {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.25s var(--ease);
}
.ebc3-form__feedback.is-success {
  color: #1a7a4c;
  background: #e8f5ee;
  padding: 12px;
}
.ebc3-form__feedback.is-error {
  color: #b33232;
  background: #fdecea;
  padding: 12px;
}

/* ==================== 底部 ==================== */
.ebc3-footer {
  background: var(--ink);
  color: rgba(245, 237, 228, 0.7);
  padding-block: clamp(40px, 5vw, 64px);
}
.ebc3-footer__inner {
  display: grid;
  gap: 28px;
}
.ebc3-footer__brand img { height: 48px; width: auto; }
.ebc3-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ebc3-footer__nav a {
  font-size: 14.5px;
  color: rgba(245, 237, 228, 0.7);
  transition: color 0.2s var(--ease);
}
.ebc3-footer__nav a:hover { color: var(--gold-soft); }
.ebc3-footer__disclaimer {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(245, 237, 228, 0.55);
  border-top: 1px solid rgba(245, 237, 228, 0.12);
  padding-top: 24px;
}
.ebc3-footer__disclaimer strong { color: rgba(245, 237, 228, 0.8); }
.ebc3-footer__copy {
  font-size: 13px;
  color: rgba(245, 237, 228, 0.45);
}

/* ==================== 滚动揭示动画 ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .ebc3-overview__grid,
  .ebc3-contact__inner,
  .ebc3-infra__layout { grid-template-columns: 1fr; }

  .ebc3-locations { grid-template-columns: repeat(3, 1fr); }
  .ebc3-values__grid { grid-template-columns: repeat(2, 1fr); }
  .ebc3-infra__metrics { grid-template-columns: repeat(2, 1fr); }
  .ebc3-infra__viz { order: 2; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .ebc3-header__toggle { display: flex; }
  .ebc3-header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .ebc3-header__nav.is-open { transform: none; }
  .ebc3-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .ebc3-nav-list a { padding: 12px 14px; border-radius: var(--radius); }
  .ebc3-header__nav .ebc3-btn { margin-top: 12px; }
  .ebc3-header__actions { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 12px; }

  .ebc3-hero__pillars { grid-template-columns: 1fr; gap: 16px; }
  .ebc3-hero__pillars > div { border-right: none; border-bottom: 1px solid var(--line-soft); padding-right: 0; padding-bottom: 16px; }
  .ebc3-hero__pillars > div:last-child { border-bottom: none; padding-bottom: 0; }

  /* hero 双栏改单栏：监管卡片移到文字下方 */
  .ebc3-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .ebc3-hero__aside { order: 2; }

  .ebc3-stats { grid-template-columns: 1fr 1fr; }
  .ebc3-locations { grid-template-columns: repeat(2, 1fr); }
  .ebc3-values__grid { grid-template-columns: 1fr; }
  .ebc3-infra__metrics { grid-template-columns: repeat(2, 1fr); }
  .ebc3-hero__actions { flex-direction: column; align-items: stretch; }
  .ebc3-hero__actions .ebc3-btn { width: 100%; }
}

@media (max-width: 480px) {
  .ebc3-locations { grid-template-columns: 1fr; }
  .ebc3-stats { grid-template-columns: 1fr; }
  .ebc3-captcha__box { width: 92px; font-size: 16px; }
  .ebc3-form { padding: 24px 20px; }
  .ebc3-form__radios { gap: 16px; }
}
