/* 锐康环境网站样式 —— 绿色环保主题 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: #2d3436; line-height: 1.7; background: #f7faf8; }
a { text-decoration: none; color: inherit; }

/* 顶栏 */
.nav { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; }
.logo { font-size: 20px; font-weight: 700; color: #0e7a4a; }
.logo span { color: #333; font-weight: 400; font-size: 14px; margin-left: 6px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: #0e7a4a; font-weight: 600; }

/* 首屏横幅 */
.hero { background: linear-gradient(135deg, #0e7a4a 0%, #16a05f 60%, #35b97e 100%); color: #fff; padding: 72px 20px; text-align: center; }
.hero h1 { font-size: 34px; margin-bottom: 14px; }
.hero p { font-size: 17px; opacity: .92; max-width: 640px; margin: 0 auto 28px; }
.btn { display: inline-block; background: #fff; color: #0e7a4a; padding: 11px 30px; border-radius: 6px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn:hover { opacity: .92; }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; margin-left: 12px; }

/* 通用容器 */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; }
.section-title { text-align: center; font-size: 26px; margin-bottom: 8px; }
.section-sub { text-align: center; color: #7a8a80; font-size: 14px; margin-bottom: 36px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 10px; padding: 26px 22px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.card h3 { font-size: 17px; margin-bottom: 10px; color: #0e7a4a; }
.card p { font-size: 14px; color: #5c6b62; }
.card .icon { font-size: 30px; margin-bottom: 12px; }

/* 资讯列表 */
.news-item { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px dashed #dbe5df; font-size: 17px; }
.news-item .date { color: #98a8a0; font-size: 14px; flex-shrink: 0; margin-left: 16px; }
.news-item a:hover { color: #0e7a4a; }

/* 信息页版块 */
.page-head { background: #0e7a4a; color: #fff; padding: 44px 20px; text-align: center; }
.page-head h1 { font-size: 30px; }
.page-head p { opacity: .9; font-size: 16px; margin-top: 6px; }

/* 表单 */
.form-box { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 1px 6px rgba(0,0,0,.05); max-width: 560px; margin: 0 auto; }
.form-box label { display: block; font-size: 14px; margin: 14px 0 6px; color: #444; }
.form-box input, .form-box textarea { width: 100%; border: 1px solid #d5e0da; border-radius: 6px; padding: 10px 12px; font-size: 14px; font-family: inherit; }
.form-box textarea { height: 110px; resize: vertical; }
.form-box .btn { width: 100%; margin-top: 20px; background: #0e7a4a; color: #fff; }
.form-tip { font-size: 15px; color: #8a9990; margin-top: 12px; text-align: center; }
.form-ok { display: none; text-align: center; color: #0e7a4a; padding: 30px 0; font-size: 17px; }

/* 页脚 */
.footer { background: #123528; color: #b9c8bf; padding: 36px 20px 28px; margin-top: 60px; font-size: 15px; line-height: 1.6; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .8fr 1.1fr; gap: 30px; align-items: start; }
.foot-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 10px; letter-spacing: 1px; }
.foot-brand p, .foot-col p { margin: 6px 0; }
.foot-col a:hover { color: #fff; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }
.footer a { color: #d9e5de; }
.footer .icp { text-align: center; margin-top: 24px; color: #7f948a; }

/* AI客服挂件 */
#chat-toggle { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #0e7a4a; color: #fff; border: none; font-size: 26px; cursor: pointer; box-shadow: 0 4px 14px rgba(14,122,74,.4); z-index: 200; }
#chat-box { position: fixed; right: 22px; bottom: 92px; width: 340px; max-width: calc(100vw - 44px); height: 460px; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); display: none; flex-direction: column; z-index: 200; overflow: hidden; }
#chat-box.open { display: flex; }
.chat-head { background: #0e7a4a; color: #fff; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; background: #f4f8f6; }
.chat-msg { margin-bottom: 12px; max-width: 85%; font-size: 14px; }
.chat-msg.user { margin-left: auto; background: #0e7a4a; color: #fff; padding: 8px 12px; border-radius: 10px 10px 2px 10px; }
.chat-msg.ai { background: #fff; padding: 8px 12px; border-radius: 10px 10px 10px 2px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.chat-input { display: flex; border-top: 1px solid #e3ece7; }
.chat-input input { flex: 1; border: none; padding: 12px; font-size: 14px; outline: none; }
.chat-input button { border: none; background: #0e7a4a; color: #fff; padding: 0 18px; cursor: pointer; font-size: 14px; }

/* 管理后台 */
.admin-wrap { max-width: 1080px; margin: 30px auto; padding: 0 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.stat .num { font-size: 26px; font-weight: 700; color: #0e7a4a; }
.stat .label { font-size: 13px; color: #7a8a80; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.05); font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef3f0; }
.admin-table th { background: #f0f6f2; color: #41564a; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.tag.red { background: #fdecea; color: #c0392b; }
.tag.green { background: #e6f6ee; color: #0e7a4a; }
.login-box { max-width: 360px; margin: 90px auto; background: #fff; padding: 34px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.login-box input { width: 100%; padding: 11px; border: 1px solid #d5e0da; border-radius: 6px; margin-bottom: 14px; }
.login-box button { width: 100%; padding: 11px; background: #0e7a4a; color: #fff; border: none; border-radius: 6px; cursor: pointer; }
h2.admin-h { font-size: 20px; margin: 30px 0 12px; color: #29513f; }

@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .nav-links { gap: 14px; font-size: 15px; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}

/* 常见问答 */
.qa-cat { font-size: 20px; color: #0e7a4a; margin: 34px 0 14px; padding-left: 10px; border-left: 4px solid #0e7a4a; }
.qa-cat:first-of-type { margin-top: 0; }
.qa { background: #fff; border-radius: 10px; margin-bottom: 12px; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.qa summary { cursor: pointer; padding: 16px 18px; font-size: 17px; font-weight: 600; color: #29513f; list-style: none; position: relative; padding-right: 40px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #0e7a4a; font-weight: 400; }
.qa[open] summary::after { content: '−'; }
.qa-a { padding: 0 18px 16px; font-size: 16px; color: #4a5a51; line-height: 1.8; border-top: 1px dashed #e3ece7; padding-top: 12px; margin: 0 0; }

/* 联系我们页排版 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto 46px; }
.contact-card { background: #fff; border-radius: 12px; padding: 30px 22px; box-shadow: 0 2px 10px rgba(0,0,0,.06); text-align: center; transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; align-items: center; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(14,122,74,.14); }
.contact-card .icon { font-size: 34px; margin-bottom: 10px; }
.contact-card h3 { font-size: 18px; color: #29513f; margin-bottom: 6px; }
.contact-card .tel { font-size: 20px; font-weight: 700; color: #0e7a4a; }
.contact-card .sub { font-size: 15px; color: #5c6b62; margin-bottom: 12px; }
.contact-card img { width: 170px; height: 170px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.contact-card .cap { font-size: 14px; color: #8a9990; margin-top: 10px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 960px; margin: 0 auto; align-items: start; }
.contact-side { background: linear-gradient(150deg, #0e7a4a 0%, #16a05f 100%); color: #fff; border-radius: 12px; padding: 34px 30px; }
.contact-side h3 { font-size: 20px; margin-bottom: 14px; }
.contact-side p { font-size: 15px; opacity: .94; margin-bottom: 12px; line-height: 1.8; }
.contact-side .hotline { font-size: 24px; font-weight: 700; letter-spacing: 1px; margin: 6px 0 16px; display: inline-block; }
.contact-side .divider { border-top: 1px solid rgba(255,255,255,.25); margin: 18px 0; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* 联系我们 - 上市公司风格 */
.corp-banner { background: #0b3d27; color: #fff; padding: 54px 20px; }
.corp-banner h1 { font-size: 32px; letter-spacing: 2px; }
.corp-banner p { font-size: 15px; opacity: .75; margin-top: 8px; letter-spacing: 1px; }
.corp-info { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e5ece8; background: #fff; border-radius: 4px; max-width: 1080px; margin: 0 auto; }
.corp-info .cell { padding: 30px 22px; border-right: 1px solid #e5ece8; }
.corp-info .cell:last-child { border-right: none; }
.corp-info .lab { font-size: 13px; color: #8a9990; letter-spacing: 2px; margin-bottom: 10px; }
.corp-info .val { font-size: 18px; font-weight: 700; color: #29513f; line-height: 1.6; }
.corp-info .val small { display: block; font-size: 14px; font-weight: 400; color: #5c6b62; }
.corp-qr { display: flex; justify-content: center; gap: 80px; padding: 10px 0 0; }
.corp-qr .qitem { text-align: center; }
.corp-qr img { width: 160px; height: 160px; border-radius: 4px; box-shadow: 0 1px 6px rgba(0,0,0,.1); }
.corp-qr .cap { font-size: 15px; font-weight: 600; color: #29513f; margin-top: 12px; }
.corp-qr .cap2 { font-size: 13px; color: #8a9990; margin-top: 4px; }
.corp-title { text-align: center; font-size: 24px; color: #29513f; letter-spacing: 3px; margin: 54px 0 6px; }
.corp-title-en { text-align: center; font-size: 12px; color: #a9b8b0; letter-spacing: 4px; margin-bottom: 34px; text-transform: uppercase; }
.corp-title::after { content: ''; display: block; width: 36px; height: 3px; background: #0e7a4a; margin: 14px auto 0; }
.corp-msg { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #e5ece8; border-radius: 4px; }
.corp-msg .msg-head { background: #f4f8f6; padding: 14px 26px; border-bottom: 1px solid #e5ece8; font-size: 16px; font-weight: 600; color: #29513f; }
.corp-msg form { padding: 26px; }
.corp-msg .btn { background: #0e7a4a; color: #fff; }
@media (max-width: 860px) { .corp-info { grid-template-columns: 1fr 1fr; } .corp-info .cell { border-bottom: 1px solid #e5ece8; } }
@media (max-width: 520px) { .corp-info { grid-template-columns: 1fr; } .corp-qr { gap: 36px; flex-wrap: wrap; } }

/* 政策资讯两栏 */
.news-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0 40px; align-items: start; }
.col-title { font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid #0e7a4a; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: baseline; }
.col-title span { font-size: 13px; color: #98a8a0; font-weight: 400; }
.news-item.ext a::after { content: " ↗"; font-size: 13px; color: #98a8a0; }
@media (max-width: 820px) { .news-cols { grid-template-columns: 1fr; } .news-col + .news-col { margin-top: 40px; } }

/* 业务卡片链接化 */
a.biz-link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.biz-link:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(14,122,74,.15); }
a.biz-link::after { content: "查看详情 →"; display: block; margin-top: 8px; font-size: 13px; color: #0e7a4a; font-weight: 600; }
