/* ============================================================
   福建特广环境科技有限公司 · 官网样式
   设计：科技蓝 + 环境绿，现代、专业、响应式、GEO 友好
   ============================================================ */

:root {
  --c-blue: #0a6cff;
  --c-blue-dk: #0a4fd6;
  --c-green: #10b981;
  --c-green-dk: #0e9b6e;
  --c-ink: #0f1f3d;
  --c-text: #25324a;
  --c-muted: #6b7a93;
  --c-line: #e3e9f2;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8fc;
  --c-bg-deep: #0c1730;
  --shadow-sm: 0 2px 10px rgba(15, 31, 61, .06);
  --shadow-md: 0 10px 30px rgba(15, 31, 61, .10);
  --shadow-lg: 0 20px 50px rgba(10, 108, 255, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --grad: linear-gradient(120deg, #0a6cff 0%, #10b981 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #e9fbf4 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: .2s; }
a:hover { color: var(--c-blue-dk); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: .25s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn-outline { background: #fff; color: var(--c-blue); border: 1.5px solid var(--c-blue); }
.btn-outline:hover { background: var(--c-blue); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--c-ink); font-size: 18px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 8px; color: var(--c-text); font-weight: 500; font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { background: var(--c-bg-soft); color: var(--c-blue); }
.nav-phone { font-weight: 700; color: var(--c-blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--c-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,.18), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(10,108,255,.18), transparent 55%),
              var(--c-bg-deep);
  color: #fff; padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 18px; color: #cdd9ee; margin: 22px 0 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .s b { font-size: 30px; display: block; font-weight: 800; }
.hero-stats .s span { font-size: 13px; color: #a9b8d4; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 28px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 18px; margin-bottom: 16px; }
.hero-card .badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-badge { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 600; }

/* ---------- 通用区块 ---------- */
section { padding: 76px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--c-green-dk); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--c-ink); margin: 12px 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--c-muted); font-size: 17px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ff; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--c-ink); margin-bottom: 10px; }
.card p { color: var(--c-muted); font-size: 15px; }

/* ---------- 产品卡 ---------- */
.product {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product .thumb {
  height: 170px; display: grid; place-items: center; font-size: 46px; font-weight: 800;
  color: #fff; position: relative;
}
.product .thumb.daikin { background: linear-gradient(135deg, #003f87, #0096d6); }
.product .thumb.midea { background: linear-gradient(135deg, #0a6cff, #2bd4ff); }
.product .thumb .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); color: var(--c-ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.product .thumb .thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.case .top img.case-img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 18px; color: var(--c-ink); }
.product-body .desc { color: var(--c-muted); font-size: 14px; flex: 1; }
.spec-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--c-text); border-top: 1px dashed var(--c-line); padding-top: 10px; margin-top: 4px; }
.spec-row b { color: var(--c-ink); }
.product .foot { padding: 0 22px 22px; }

/* ---------- 优势条 ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
}
.feature .num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.feature h4 { font-size: 16px; color: var(--c-ink); margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--c-muted); }

/* ---------- 案例 ---------- */
.case {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
  background: #fff; box-shadow: var(--shadow-sm); transition: .25s;
}
.case:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case .top { height: 150px; background: var(--grad-soft); display: grid; place-items: center; font-size: 40px; }
.case .body { padding: 20px; }
.case .body h3 { font-size: 17px; color: var(--c-ink); margin-bottom: 6px; }
.case .body .meta { font-size: 13px; color: var(--c-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.case .body .meta b { color: var(--c-green-dk); }

/* ---------- 数据指标带 ---------- */
.metrics { background: var(--c-bg-deep); color: #fff; border-radius: 24px; padding: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metrics .m b { display: block; font-size: 40px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metrics .m span { color: #a9b8d4; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--c-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .plus { color: var(--c-blue); font-size: 22px; transition: .2s; flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 22px 20px; color: var(--c-muted); font-size: 15px; }

/* ---------- 联系表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--c-text); background: #fff; transition: .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(10,108,255,.12); }
.form-field textarea { resize: vertical; min-height: 110px; }
.contact-info { background: var(--c-bg-deep); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info .row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-info .row .k { font-size: 24px; }
.contact-info .row .v b { display: block; font-size: 15px; }
.contact-info .row .v span { font-size: 14px; color: #a9b8d4; }
.form-note { font-size: 13px; color: var(--c-muted); margin-top: 10px; }
.form-ok { display: none; background: #e9fbf4; color: var(--c-green-dk); border: 1px solid #b6ecd6; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 14px; color: var(--c-muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb span { margin: 0 8px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--c-bg-deep); color: #cdd9ee; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #cdd9ee; display: block; margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand .logo { color: #fff; margin-bottom: 14px; }
.footer .brand p { font-size: 14px; color: #a9b8d4; max-width: 320px; }
.footer .social a { display: inline-block; margin-right: 10px; font-size: 22px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8b9bc0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { display: inline; color: #8b9bc0; margin-bottom: 0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 文章/知识库 ---------- */
.article-list { display: grid; gap: 18px; }
.article-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; transition: .25s; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card .cover { border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; font-size: 36px; }
.article-card h3 { font-size: 18px; color: var(--c-ink); margin-bottom: 6px; }
.article-card p { font-size: 14px; color: var(--c-muted); }
.article-card .tag { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--c-green-dk); background: #e9fbf4; padding: 3px 10px; border-radius: 999px; }

/* ---------- CTA 条 ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 48px; text-align: center; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.9); margin-bottom: 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 20px 24px; gap: 4px; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16px; }
  .section-head h2 { font-size: 27px; }
  .grid-2, .grid-3, .grid-4, .feature-list { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card .cover { height: 90px; }

  /* 手机端企业微信预留入口 */
  .mobile-wecom-btn {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f7a5a, #1e5c40);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    font-size: 11px;
    text-decoration: none;
    line-height: 1.2;
    transition: transform .2s;
  }
  .mobile-wecom-btn span:first-child { font-size: 22px; margin-bottom: 2px; }
  .mobile-wecom-btn:hover { transform: scale(1.05); }
  .mobile-wecom-tip {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0,0,0,.78);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
  }
  .mobile-wecom-tip.show { display: block; }
}

/* ============================================================
   增强：可点击卡片 / 品牌徽标 / 弹窗图文详情
   ============================================================ */

/* 产品卡更高清、可点击 */
.product { cursor: pointer; }
.product .thumb { height: 200px; font-size: 54px; }
.brand-badge-mini { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); padding: 3px 11px; border-radius: 999px; }
.product .brand-badge-mini { margin-bottom: 8px; }
.product .foot .detail-link { width: 100%; justify-content: center; cursor: pointer; }

/* 文章卡封面图（支持背景图） */
.article-card .cover { background-size: cover; background-position: center; min-height: 120px; }
.article-card { cursor: pointer; }

/* 案例卡可点击 */
.case { cursor: pointer; }

/* ---------- 弹窗 ---------- */
.site-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.site-modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 35, .62); backdrop-filter: blur(3px); }
.modal-box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(880px, 92vw); max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 34px 36px;
}
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px;
  border: none; border-radius: 50%; background: #f1f5f9; font-size: 22px; line-height: 1;
  cursor: pointer; color: var(--c-ink); z-index: 2;
}
.modal-close:hover { background: #e2e8f0; }
.modal-head { margin-bottom: 18px; }
.modal-head h2 { font-size: 28px; color: var(--c-ink); line-height: 1.3; }
.modal-sub { color: var(--c-muted); margin-top: 8px; font-size: 15px; }
.modal-sub .tag { margin-right: 8px; }
.modal-hero-wrap { border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--c-bg-soft); }
.modal-hero-img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.modal-hero { height: 300px; display: grid; place-items: center; font-size: 96px; color: #fff; }
.modal-hero-daikin { background: linear-gradient(135deg, #003f87, #0096d6); }
.modal-hero-midea { background: linear-gradient(135deg, #0a6cff, #2bd4ff); }
.modal-hero-case { background: var(--grad); }
.modal-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 22px; }
.modal-gallery img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: .2s; }
.modal-gallery img:hover { border-color: var(--c-blue); }
.modal-spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--c-bg-soft); border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.modal-spec div { display: flex; flex-direction: column; gap: 4px; }
.modal-spec span { font-size: 12px; color: var(--c-muted); }
.modal-spec b { font-size: 15px; color: var(--c-ink); }
.prose { font-size: 16px; line-height: 1.9; color: var(--c-text); }
.prose p { margin-bottom: 14px; }
.modal-cta { margin-top: 24px; }

@media (max-width: 768px) {
  .modal-box { padding: 24px 20px; }
  .modal-spec { grid-template-columns: repeat(2, 1fr); }
  .modal-head h2 { font-size: 23px; }
}
