* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; background: #f5f3f0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-bar { background: #2d3436; color: #aaa; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar .phone { color: #E8751A; font-weight: bold; font-size: 15px; }
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; height: 66px; }
.logo { font-size: 22px; font-weight: 800; color: #2d3436; }
.logo span { color: #E8751A; }
.nav { display: flex; align-items: center; margin-left: 36px; flex: 1; }
.nav a { padding: 0 14px; font-size: 14px; color: #333; line-height: 66px; transition: color .2s; }
.nav a:hover, .nav a.active { color: #E8751A; }
.nav a.active { font-weight: 600; }
.nav .quote-btn { background: #E8751A; color: #fff; padding: 8px 20px; line-height: 1.4; border-radius: 6px; margin-left: auto; }
.nav .quote-btn:hover { background: #d66914; color: #fff; }
.breadcrumb { padding: 14px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: #E8751A; }
.breadcrumb span { color: #bbb; margin: 0 6px; }
.breadcrumb .current { color: #666; }
.mobile-toggle { display: none; flex-direction: column; cursor: pointer; padding: 4px; margin-left: auto; background: none; border: none; }
.mobile-toggle span { width: 22px; height: 2px; background: #333; margin: 3px 0; border-radius: 2px; }
.page-header { padding: 30px 0 20px; }
.page-header h1 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.page-header p { font-size: 14px; color: #888; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 10px 0 50px; }
.pagination a { padding: 8px 16px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; color: #666; background: #fff; transition: all .2s; }
.pagination a:hover { border-color: #E8751A; color: #E8751A; }
.pagination a.active { background: #E8751A; color: #fff; border-color: #E8751A; }
.footer { background: #1a1e1f; color: #888; padding: 40px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #2d3436; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer p { font-size: 13px; line-height: 1.8; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer ul a { font-size: 13px; }
.footer ul a:hover { color: #E8751A; }
.footer .phone-large { font-size: 20px; color: #E8751A; font-weight: 700; margin: 8px 0; }
.footer-bottom { padding: 14px 0; text-align: center; font-size: 12px; color: #555; }
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: #E8751A; }
.form-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9999; align-items: center; justify-content: center; }
.form-overlay.active { display: flex; }
.form-modal { background: #fff; border-radius: 12px; padding: 30px; width: 90%; max-width: 440px; position: relative; max-height: 90vh; overflow-y: auto; }
.form-modal .close-btn { position: absolute; top: 12px; right: 16px; font-size: 24px; cursor: pointer; color: #999; background: none; border: none; line-height: 1; padding: 4px 8px; }
.form-modal .close-btn:hover { color: #333; }
.form-modal h3 { font-size: 18px; margin-bottom: 4px; }
.form-modal .sub { font-size: 13px; color: #888; margin-bottom: 18px; }
.form-modal input { width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; margin-bottom: 12px; outline: none; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.form-modal input:focus { border-color: #E8751A; box-shadow: 0 0 0 3px rgba(232,117,26,.1); }
.form-modal button:not(.close-btn):not(.gen-code-btn) { width: 100%; padding: 13px; background: #E8751A; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.form-modal button:not(.close-btn):not(.gen-code-btn):hover { background: #d66914; }
.code-row { display: flex; gap: 10px; margin-bottom: 12px; }
.code-row input { margin-bottom: 0 !important; flex: 1; min-width: 0; }
.code-row button { flex-shrink: 0; white-space: nowrap; }
.gen-code-btn { flex-shrink: 0; padding: 11px 16px; background: #E8751A; color: #fff; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s; }
.gen-code-btn:hover { background: #d66914; }
.gen-code-btn:disabled { background: #bbb; cursor: not-allowed; }
.code-input { text-align: center; letter-spacing: 4px; font-weight: 600; background: #faf8f6; }
.sidebar-sticky { position: sticky; top: 86px; }
@media (max-width: 992px) {
  .sidebar-sticky { position: static; }
}
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px; box-shadow: 0 4px 10px rgba(0,0,0,.1); margin-left: 0; z-index: 99; }
  .nav.open { display: flex; }
  .nav a { line-height: 40px; }
  .nav .quote-btn { margin: 8px 0; text-align: center; line-height: 1.4; }
  .page-header h1 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
