/* ============ 深色区块文字统一白色系（对比度修复 v5） ============
 * 背景：airegular.css 中"浅色内容块文字强制深色"规则未限定区块，
 *       导致 .case-summary/.news-body p/.team-years 等在深色区块内呈黑字。
 * 本文件最后加载，以高特异性覆盖为白色系，形成明显反差。
 */

/* —— 深蓝/深色板块：所有卡片标题 → 白 —— */
.section-blue .area-card h3,
.section-blue .why-card h3,
.section-blue .team-card h3,
.section-blue .case-card h3,
.section-blue .news-card h3,
.section-blue .group-card h3,
.section-blue .promise-card h3,
.section-dark .why-card h3,
.section-dark .promise-card h3 { color: #fff; }

/* —— 深蓝/深色板块：正文/摘要/辅助文字 → 白（次级用半透明白） —— */
.section-blue .area-card p,
.section-blue .why-card p,
.section-blue .team-card p,
.section-blue .team-years,
.section-blue .team-tags span,
.section-blue .case-card p,
.section-blue .case-summary,
.section-blue .case-amount,
.section-blue .case-date,
.section-blue .news-card p,
.section-blue .news-summary,
.section-blue .news-body p,
.section-blue .news-foot,
.section-blue .news-date,
.section-blue .news-date span,
.section-blue .news-more,
.section-blue .article-body,
.section-blue .empty,
.section-dark .why-card p,
.section-dark .promise-card p { color: rgba(255,255,255,.88); }

/* —— 次级弱化文字：半透明白（仍可读但分主次） —— */
.section-blue .area-card p,
.section-blue .case-summary,
.section-blue .news-summary,
.section-blue .team-years,
.section-blue .news-foot,
.section-blue .news-date span { color: rgba(255,255,255,.72); }

/* —— 金色/品牌点缀保留（强化反差层次） —— */
.section-blue .area-more,
.section-blue .news-more,
.section-blue .case-amount,
.section-blue .case-cat,
.section-blue .news-cat,
.section-blue .news-type,
.section-blue .team-title,
.section-blue .section-kicker,
.section-blue .case-result { color: var(--gold-light); }

/* —— 深色卡片统一玻璃深底（防白卡/浅卡残留造成黑字观感） —— */
.section-blue .area-card,
.section-blue .team-card,
.section-blue .case-card,
.section-blue .news-card,
.section-blue .group-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }

/* —— Hero 区：标题/副标题/数据 全白 —— */
.hero h1, .hero .hero-sub, .hero .hero-aside p,
.hero .hero-stat-num, .hero .hero-stat-label,
.hero .hero-stat-num span { color: #fff; }
.hero .hero-eyebrow { color: var(--gold-light); }

/* —— CTA 区 —— */
.cta h2, .cta p, .cta li, .cta span { color: #fff; }

/* —— 内页横幅 / 顶部条 / 页脚 白字兜底 —— */
.banner h1, .banner .crumb { color: #fff; }
.topbar span { color: rgba(255,255,255,.88); }
.topbar .topbar-phone { color: var(--gold-light); }
.footer span, .footer a, .footer p, .footer li { color: rgba(255,255,255,.75); }
.footer .footer-gov span { color: rgba(255,255,255,.55); }

/* —— 金色按钮上的深色文字不受影响（显式恢复） —— */
.section-blue .btn-outline,
.section-blue .btn-outline span,
.section-blue .btn-outline a,
.btn-gold, .btn-gold span, .btn-gold a,
.nav-cta { color: #050914; }
.section-blue .btn-outline { color: #fff; }

/* —— AI 浮窗：标题白、正文浅白 —— */
.chat-widget .chat-header strong { color: #fff; }
.chat-widget .chat-header em { color: rgba(255,255,255,.6); }

/* ============ 白/浅底容器内文字恢复深色（深色主题下防止白底白字） ============ */

/* 导航下拉菜单（白底卡片）：文字深色保证可读 */
.submenu { background: #fff; border-color: #E7EBF5; }
.submenu-link,
.submenu-title,
.sm-label { color: #2C3358; }
.sm-desc { color: #6A7286; }
.submenu-link:hover, .submenu-link.active,
.submenu-title:hover { color: #2D5BFF; background: rgba(45,91,255,.07); }
.submenu-title::after { color: #2D5BFF; }
.sm-thumb { background: #F5F7FC; }

/* AI 咨询：AI 回复气泡（白底）→ 深字 */
.chat-msg.ai .chat-bubble { background: #fff; border-color: #E7EBF5; color: #2C3358; }
.chat-body { background: #F4F6FC; }
.chat-quick button { background: #EFF2F9; border-color: #E7EBF5; color: #2C3358; }
.chat-quick button:hover { background: rgba(45,91,255,.08); color: #2D5BFF; }
.chat-inputbar { background: #fff; border-top: 1px solid #E7EBF5; }
.chat-inputbar input { background: #F4F6FC; border-color: #E7EBF5; color: #2C3358; }
.chat-inputbar input::placeholder { color: #9AA2B2; }

/* 移动端展开导航（白底）：菜单文字深色 */
.menu.open { background: #fff; border-bottom-color: #E7EBF5; }
.menu.open .menu-link { color: #2C3358; }
.menu.open .menu-link:hover, .menu.open .menu-link.active { color: #2D5BFF; background: rgba(45,91,255,.07); }
.menu.open .caret { color: #2C3358; }

/* 联系表单卡片（白底）：文字深色 */
.contact-form-card { background: #fff; border-color: #E7EBF5; }
.contact-form-card label, .contact-form-card h3 { color: #2C3358; }
.form-row input, .form-row textarea, .cta-form input, .cta-form textarea,
.aside-cta input { background: #fff; border-color: #E7EBF5; color: #2C3358; }
.form-row input::placeholder, .cta-form input::placeholder { color: #9AA2B2; }
