/* 鼎启起重 CMS 统一门户主题 */
html { scroll-behavior: smooth; }
body.cms-page { margin: 0; background: #f4f6f8; color: #17202a; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; }
body.cms-page *, body.cms-page *::before, body.cms-page *::after { box-sizing: border-box; }
body.cms-page img { max-width: 100%; }
body.cms-page a { color: inherit; text-decoration: none; }

.cms-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(242,106,33,.28), transparent 34%),
    linear-gradient(135deg, #111820 0%, #1c2732 55%, #10161c 100%);
}
.cms-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.cms-hero .container { position: relative; z-index: 1; }
.cms-kicker { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #ffb17c; font-size: 13px; letter-spacing: .08em; }
.cms-hero h1 { max-width: 820px; margin: 18px 0 18px; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; }
.cms-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.85; }
.cms-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cms-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 8px; background: #f26a21; color: #fff !important; font-weight: 700; transition: .2s ease; }
.cms-btn:hover { transform: translateY(-2px); background: #dd5b17; }
.cms-btn.secondary { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.cms-btn.secondary:hover { background: rgba(255,255,255,.08); }

.cms-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.cms-stat { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.cms-stat strong { display: block; color: #fff; font-size: 25px; }
.cms-stat span { color: rgba(255,255,255,.62); font-size: 13px; }

.cms-section { padding: 76px 0; }
.cms-section.alt { background: #fff; }
.cms-section.dark { color: #fff; background: #151d25; }
.cms-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.cms-section-head h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.cms-section-head p { max-width: 620px; margin: 0; color: #66727e; line-height: 1.8; }
.cms-section.dark .cms-section-head p { color: rgba(255,255,255,.62); }
.cms-pill { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: #fff0e8; color: #d95715; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.cms-category-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cms-category-row a { padding: 10px 15px; border: 1px solid #dce2e7; border-radius: 8px; background: #fff; color: #4d5965; font-weight: 600; }
.cms-category-row a:hover, .cms-category-row a.active { border-color: #f26a21; color: #d95715; box-shadow: 0 8px 24px rgba(24,33,42,.08); }

.cms-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.cms-product-card { overflow: hidden; border: 1px solid #e0e5e9; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px rgba(22,31,40,.06); transition: .22s ease; }
.cms-product-card:hover { transform: translateY(-5px); border-color: rgba(242,106,33,.45); box-shadow: 0 18px 48px rgba(22,31,40,.12); }
.cms-product-image { aspect-ratio: 4 / 3; overflow: hidden; background: #e9edf0; }
.cms-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cms-product-card:hover img { transform: scale(1.04); }
.cms-product-copy { padding: 21px; }
.cms-product-copy h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.cms-product-copy p { min-height: 52px; margin: 0; color: #6b7783; line-height: 1.7; }
.cms-card-more { display: inline-flex; margin-top: 16px; color: #d95715; font-weight: 800; }

.cms-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.cms-about-image { overflow: hidden; min-height: 420px; border-radius: 18px; background: #dfe5e9; box-shadow: 0 20px 60px rgba(18,26,34,.13); }
.cms-about-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.cms-about-copy h2 { margin: 12px 0 20px; font-size: clamp(32px,4vw,50px); }
.cms-about-copy p { color: #66727e; font-size: 16px; line-height: 1.95; }

.cms-case-grid, .cms-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.cms-case-card, .cms-news-card { display: block; overflow: hidden; border: 1px solid #e0e5e9; border-radius: 14px; background: #fff; transition: .22s ease; }
.cms-case-card:hover, .cms-news-card:hover { transform: translateY(-4px); border-color: rgba(242,106,33,.5); }
.cms-case-card img, .cms-news-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e9edf0; }
.cms-card-body { padding: 20px; }
.cms-card-body h3 { margin: 8px 0 10px; font-size: 20px; line-height: 1.45; }
.cms-card-body p { margin: 0; color: #6b7783; line-height: 1.75; }
.cms-meta { color: #d95715; font-size: 13px; font-weight: 700; }

.cms-contact-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; }
.cms-contact-card { padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.05); }
.cms-contact-card h3 { margin-top: 0; font-size: 24px; }
.cms-contact-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.75); }
.cms-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cms-form-grid .wide { grid-column: 1/-1; }
.cms-form-grid label > span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 700; }
.cms-form-grid input, .cms-form-grid textarea { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; padding: 12px 14px; font: inherit; }
.cms-form-grid textarea { min-height: 126px; resize: vertical; }
.cms-form-grid input::placeholder, .cms-form-grid textarea::placeholder { color: rgba(255,255,255,.48); }

.cms-page-hero { padding: 62px 0; color: #fff; background: linear-gradient(135deg,#151d25,#263441); }
.cms-breadcrumb { margin-top: 16px; color: rgba(255,255,255,.62); font-size: 14px; }
.cms-page-hero h1 { margin: 10px 0 12px; font-size: clamp(34px,4vw,52px); }
.cms-page-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.7); line-height: 1.8; }

.cms-main { padding: 54px 0 80px; }
.cms-detail-summary { display: grid; grid-template-columns: 1.06fr .94fr; gap: 34px; align-items: start; }
.cms-detail-media { overflow: hidden; border-radius: 16px; background: #e5e9ec; box-shadow: 0 18px 50px rgba(20,28,36,.1); }
.cms-detail-media img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cms-detail-copy { padding: 8px 0; }
.cms-detail-copy h1 { margin: 8px 0 16px; font-size: clamp(30px,4vw,46px); line-height: 1.3; }
.cms-detail-copy > p { color: #65717d; font-size: 16px; line-height: 1.9; }
.cms-summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.cms-summary-item { padding: 15px; border: 1px solid #e0e5e9; border-radius: 10px; background: #fff; }
.cms-summary-item span { display: block; margin-bottom: 4px; color: #7a8590; font-size: 12px; }
.cms-summary-item strong { font-size: 15px; }

.cms-richtext, .cms-article { margin-top: 34px; padding: clamp(24px,4vw,48px); border: 1px solid #e0e5e9; border-radius: 16px; background: #fff; box-shadow: 0 16px 50px rgba(20,28,36,.06); line-height: 1.9; }
.cms-richtext h2, .cms-richtext h3, .cms-richtext h4, .cms-article h2, .cms-article h3, .cms-article h4 { margin: 30px 0 14px; color: #17202a; line-height: 1.4; }
.cms-richtext h2:first-child, .cms-richtext h3:first-child, .cms-article h2:first-child, .cms-article h3:first-child { margin-top: 0; }
.cms-richtext p, .cms-richtext li, .cms-article p, .cms-article li { color: #4e5a66; }
.cms-richtext img, .cms-article img { display: block; height: auto !important; margin: 22px auto; border-radius: 10px; }
.cms-richtext table, .cms-article table { width: 100% !important; border-collapse: collapse; margin: 20px 0; }
.cms-richtext td, .cms-richtext th, .cms-article td, .cms-article th { border: 1px solid #dce2e7; padding: 12px; text-align: left; }
.cms-richtext th, .cms-article th { background: #f4f6f8; }
.cms-detail-title { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid #e6eaed; font-size: 26px; }
.cms-article-head { margin-bottom: 28px; text-align: center; }
.cms-article-head h1 { margin: 0 0 12px; font-size: clamp(30px,4vw,46px); }
.cms-article-head .cms-meta { color: #77838e; }
.cms-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cms-prevnext > div { padding: 16px 18px; border: 1px solid #e0e5e9; border-radius: 10px; background: #fff; }
.cms-prevnext a:hover { color: #d95715; }
.cms-tags { margin-top: 24px; color: #697581; }
.cms-tags a { display: inline-flex; margin: 4px; padding: 5px 10px; border-radius: 999px; background: #fff0e8; color: #d95715; }
.cms-pagination { margin-top: 34px; text-align: center; }
.cms-pagination a, .cms-pagination span { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; margin: 3px; border: 1px solid #dce2e7; border-radius: 7px; background: #fff; }

.cms-download-list { display: grid; gap: 16px; }
.cms-download-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 20px; align-items: center; padding: 23px 25px; border: 1px solid #e0e5e9; border-radius: 14px; background: #fff; box-shadow: 0 12px 36px rgba(20,28,36,.05); transition: .22s ease; }
.cms-download-item:hover { transform: translateY(-3px); border-color: rgba(242,106,33,.45); box-shadow: 0 16px 42px rgba(20,28,36,.1); }
.cms-download-index { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: #151d25; color: #fff; font-size: 18px; font-weight: 900; }
.cms-download-copy h2 { margin: 6px 0; font-size: 20px; }
.cms-download-copy p { margin: 0; color: #6b7783; }
.cms-download-actions { min-width: 120px; text-align: right; }
.cms-native-download { display: none !important; }
.cms-download-button { border: 0; cursor: pointer; }
.cms-contact-light .cms-contact-card { border-color: #e0e5e9; background: #fff; color: #17202a; box-shadow: 0 16px 48px rgba(20,28,36,.06); }
.cms-contact-light .cms-contact-card > p { color: #66727e; line-height: 1.85; }
.cms-contact-light .cms-contact-list { color: #52606c; }
.cms-contact-light .cms-contact-list li { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid #edf0f2; }
.cms-contact-light .cms-contact-list strong { min-width: 68px; color: #17202a; }
.cms-contact-light .cms-form-grid label > span { display: block; margin-bottom: 7px; color: #3e4a55; font-size: 14px; font-weight: 700; }
.cms-contact-light .cms-form-grid input, .cms-contact-light .cms-form-grid textarea { border-color: #dce2e7; background: #f7f9fa; color: #17202a; }
.cms-contact-light .cms-form-grid input::placeholder, .cms-contact-light .cms-form-grid textarea::placeholder { color: #98a2ab; }
.cms-contact-content { margin-top: 0; }

.cms-footer { padding: 50px 0 24px; color: rgba(255,255,255,.68); background: #10171e; }
.cms-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 42px; }
.cms-footer-brand { color: #fff; font-size: 25px; font-weight: 900; }
.cms-footer h3 { margin-top: 0; color: #fff; }
.cms-footer p { line-height: 1.75; }
.cms-footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.cms-footer a:hover { color: #ff9a5e; }
.cms-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

@media (max-width: 980px) {
  .cms-product-grid, .cms-case-grid, .cms-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cms-about-grid, .cms-contact-shell, .cms-detail-summary { grid-template-columns: 1fr; }
  .cms-stat-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cms-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .cms-hero { padding: 58px 0; }
  .cms-section { padding: 54px 0; }
  .cms-section-head { align-items: flex-start; flex-direction: column; }
  .cms-product-grid, .cms-case-grid, .cms-news-grid, .cms-form-grid, .cms-summary-list, .cms-prevnext, .cms-footer-grid { grid-template-columns: 1fr; }
  .cms-form-grid .wide { grid-column: auto; }
  .cms-about-image, .cms-about-image img { min-height: 280px; }
  .cms-download-item { grid-template-columns: 48px 1fr; }
  .cms-download-actions { grid-column: 1/-1; text-align: left; }
}
