/* ============================================================
   POLYC MACHINE — v4 Contrast & Consistency Patch
   加载在 flat-design-v3.css 之后。
   修复按钮/标签/文字对比度不达标问题。
   ============================================================ */

:root {
  --c-accent:      #1b5e20;   /* 深绿，白字对比度 ≥4.5:1 */
  --c-accent-2:    #144d18;   /* 更深绿 hover */
  --c-primary-2:   #0d3b7a;   /* eyebrow 标签文字加深 */
}

/* ---------- 1. 按钮：深绿底白字，对比度达标 ---------- */
.button, .header-cta, .form-submit,
a.button, button.button, [type="submit"] {
  background: #1b5e20 !important;
  border-color: #1b5e20 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}
.button:hover, .header-cta:hover, .form-submit:hover {
  background: #144d18 !important;
  border-color: #144d18 !important;
}

/* 导航里的 Request a Quote 按钮也用深绿 */
.header-cta, .nav-quote, a[class*="quote"] {
  background: #1b5e20 !important;
  color: #ffffff !important;
}

/* ---------- 2. Eyebrow 标签：文字加深，对比度达标 ---------- */
.eyebrow, [class*="eyebrow"], .contact-eyebrow {
  color: #0d3b7a !important;
  background: rgba(13,59,122,.10) !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
}
/* 深色区块上的 eyebrow（Hero、Contact、子页首屏） */
.module-hero .eyebrow,
.contact-section .eyebrow,
.product-hero .eyebrow,
.module-hero .contact-eyebrow,
.contact-section .contact-eyebrow {
  color: #ffffff !important;
  background: rgba(255,255,255,.18) !important;
}

/* ---------- 3. 浅灰区块上的正文颜色加深 ---------- */
section p, section li, section td {
  color: #3d4a5c !important;   /* 比 #5a6b7b 深，对比度更高 */
}
section h2, section h3 {
  color: #0d3b7a !important;   /* 标题用品牌深蓝，更醒目 */
}

/* ---------- 4. 联系卡片标签文字加深 ---------- */
.contact-card b, .contact-card label,
.contact-card [class*="label"] {
  color: #0d3b7a !important;
  font-weight: 700 !important;
}
.contact-card a {
  color: #0d3b7a !important;
  font-weight: 600 !important;
}

/* ---------- 5. 页脚文字对比度 ---------- */
.site-footer a, .site-footer span, .site-footer p {
  color: rgba(255,255,255,.9) !important;
}
.site-footer b {
  color: #ffffff !important;
}
.footer-bottom {
  color: rgba(255,255,255,.65) !important;
}

/* ---------- 6. 表格 body 文字加深 ---------- */
tbody td {
  color: #2d3a4e !important;
}
tbody tr:nth-child(even) td {
  background: #f4f6fa !important;
}

/* ---------- 7. 输入框 placeholder 颜色 ---------- */
input::placeholder, select::placeholder, textarea::placeholder {
  color: #8a96a6 !important;
}

/* ---------- 8. 链接颜色统一 ---------- */
a {
  color: #0d3b7a !important;
}
a:hover {
  color: #1a5fb4 !important;
}
