* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #7dd3fc;
  --accent: #06b6d4;
  --dark: #0c4a6e;
  --light: #f0f9ff;
  --gray: #64748b;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --body-bg: #ffffff;
  --section-white: #ffffff;
  --section-blue: #f0f9ff;
  --section-dark: #0c4a6e;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: #1e293b; overflow-x: hidden; line-height: 1.6; background: var(--body-bg); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: .3s; }
.header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(20px); box-shadow: 0 2px 30px rgba(0,0,0,.08); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.nav { display: flex; }
.nav a { color: var(--dark); margin-left: 30px; font-size: .95rem; font-weight: 500; transition: .3s; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 700; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo span { color: var(--primary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; background: linear-gradient(135deg, #e0f2fe, #f0f9ff); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .1; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 120px 20px 60px; }
.hero-text h1 { font-size: 3.5rem; font-weight: 900; color: var(--dark); line-height: 1.1; margin-bottom: 20px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { color: var(--gray); font-size: 1.15rem; margin-bottom: 30px; line-height: 1.8; }
.btn { display: inline-block; padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: .3s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 8px 30px rgba(14,165,233,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(14,165,233,.5); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.wave-shape { width: 100%; max-width: 500px; }

/* SVG Wave Divider */
.wave-divider { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { width: 100%; height: 120px; display: block; }
.wave-divider.flip svg { transform: rotate(180deg); }

/* Section */
.section { padding: 100px 0; position: relative; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; text-align: center; color: var(--dark); }
.section-title span { color: var(--primary); }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.1rem; margin-bottom: 60px; }
.section.white { background: var(--section-white); }
.section.blue { background: var(--section-blue); }
.section.dark-blue { background: var(--section-dark); color: #fff; }
.section.dark-blue .section-title, .section.dark-blue .section-subtitle { color: #fff; }
.section.dark-blue .section-subtitle { opacity: .7; }

/* Services - wave cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.service-card { background: #fff; border-radius: 24px; padding: 40px 30px; text-align: center; box-shadow: 0 10px 40px rgba(14,165,233,.08); transition: .5s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(14,165,233,.15); }
.service-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--light), #e0f2fe); display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2rem; color: var(--primary); overflow: hidden; }
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--primary); }
.service-card p { color: var(--gray); font-size: .95rem; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.project-item { position: relative; border-radius: 20px; overflow: hidden; height: 300px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.1); display: block; }
.project-item .project-img { width: 100%; height: 100%; background-position: center; background-size: cover; transition: .5s; }
.project-item:hover .project-img { transform: scale(1.1); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,74,110,.85), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; pointer-events: none; }
.project-overlay h3 { font-size: 1.3rem; margin-bottom: 5px; }
.project-overlay p { font-size: .9rem; opacity: .85; }

/* Advantage */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.adv-card { background: rgba(255,255,255,.08); border-radius: 20px; padding: 40px 25px; text-align: center; transition: .3s; border: 1px solid rgba(255,255,255,.1); }
.adv-card:hover { background: rgba(255,255,255,.15); transform: scale(1.05); }
.adv-card .num { font-size: 2.8rem; font-weight: 900; color: var(--secondary); }
.adv-card h4 { font-size: 1.1rem; margin: 10px 0 8px; color: #fff; }
.adv-card p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.06); transition: .4s; display: block; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(14,165,233,.12); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 25px; }
.news-date { color: var(--primary); font-size: .85rem; font-weight: 600; }
.news-body h3 { font-size: 1.1rem; margin: 10px 0; }
.news-body h3 a { color: inherit; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: var(--gray); font-size: .9rem; }
.news-more { text-align: center; margin-top: 45px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-info h3 span { color: var(--primary); }
.contact-info p { color: var(--gray); margin-bottom: 30px; }
.contact-detail { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.contact-detail .icon { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--light), #e0f2fe); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; font-size: 1.2rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px 18px; border: 2px solid #e2e8f0; border-radius: 14px; font-size: .95rem; margin-bottom: 15px; transition: .3s; outline: none; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14,165,233,.1); }
.contact-form textarea { height: 140px; resize: vertical; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-brand h3 span { color: var(--secondary); }
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); margin-bottom: 12px; font-size: .9rem; transition: .3s; }
.footer-col a:hover { color: var(--secondary); padding-left: 5px; }
.footer-col p { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); margin-bottom: 12px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 25px; text-align: center; font-size: .85rem; }

/* Page Banner */
.page-banner { min-height: 45vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; position: relative; background-position: center; background-size: cover; background-repeat: no-repeat; flex-direction: column; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(12,74,110,.6); }
.page-banner h1 { position: relative; z-index: 1; font-size: 3.5rem; font-weight: 900; }
.page-banner p { position: relative; z-index: 1; font-size: 1.2rem; opacity: .9; }

/* About */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.about-image img { width: 100%; }
.about-text h2 { font-size: 2rem; margin-bottom: 20px; color: var(--dark); }
.about-text h2 span { color: var(--primary); }
.about-text p { margin-bottom: 15px; line-height: 1.8; color: var(--gray); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background: var(--light); border-radius: 16px; }
.stat-item .num { font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat-item p { color: var(--gray); font-size: .85rem; margin: 0; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.tl-item { background: var(--light); border: 1px solid #e0f2fe; border-radius: 16px; padding: 35px 25px; text-align: center; transition: .3s; }
.tl-item:hover { background: #e0f2fe; transform: translateY(-6px); }
.tl-year { font-size: 1.8rem; font-weight: 900; color: var(--primary); display: block; margin-bottom: 10px; }
.tl-item h3 { color: var(--dark); font-size: 1.2rem; margin-bottom: 8px; }
.tl-item p { color: var(--gray); font-size: .95rem; }

/* Products */
.product-card-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.06); margin-bottom: 40px; transition: .3s; }
.product-card-wide:nth-child(even) { direction: rtl; }
.product-card-wide:nth-child(even) .product-body { direction: ltr; }
.product-card-wide .product-img { width: 100%; height: 100%; min-height: 350px; background-position: center; background-size: cover; }
.product-card-wide:hover { box-shadow: 0 16px 50px rgba(0,0,0,.1); }
.product-body { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.product-body h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); }
.product-body p { color: var(--gray); margin-bottom: 15px; }
.product-tag { display: inline-block; padding: 5px 15px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 15px; align-self: flex-start; }

/* News page */
.news-list { max-width: 900px; margin: 0 auto; }
.news-article { display: grid; grid-template-columns: 300px 1fr; gap: 30px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.06); margin-bottom: 30px; transition: .3s; }
.news-article:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,.1); }
.news-article .news-img { width: 100%; height: 100%; min-height: 220px; background-position: center; background-size: cover; }
.news-article-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.news-article-body .tag { display: inline-block; padding: 4px 12px; background: rgba(14,165,233,.1); color: var(--primary); border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 10px; align-self: flex-start; }
.news-article-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }
.news-article-body h3 a { color: inherit; }
.news-article-body h3 a:hover { color: var(--primary); }
.news-article-body p { color: var(--gray); font-size: .9rem; }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-page-grid .contact-info h2 { font-size: 1.8rem; color: var(--dark); }
.map-placeholder { width: 100%; height: 400px; border-radius: 20px; overflow: hidden; background: #f0f9ff; display: flex; align-items: center; justify-content: center; color: var(--gray); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* CMS SHARED: 列表 / 详情 / 分页（浅色主题） */
.cms-section { padding: 140px 0 64px; }
.cms-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.cms-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.06); transition: .25s; text-decoration: none; color: var(--gray-800); border: 1px solid var(--gray-100); }
.cms-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.cms-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cms-card h3 { margin: 0; padding: 18px 18px 4px; font-size: 18px; color: var(--gray-800); }
.cms-card p { padding: 0 18px 18px; color: var(--gray-500); font-size: 14px; margin: 0; }
.cms-detail { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.cms-detail img { max-width: 100%; border-radius: 14px; margin: 18px 0; }
.cms-detail h1 { font-size: 34px; margin: 10px 0 6px; color: var(--gray-900); }
.cms-detail .lead { color: var(--gray-600); font-size: 16px; }
.cms-content { line-height: 1.9; color: var(--gray-700); margin-top: 18px; }
.cms-content img { max-width: 100%; }
.cms-back { display: inline-block; margin: 8px 0 18px; color: var(--primary); text-decoration: none; font-weight: 600; }
.cms-pager { margin: 34px 0; text-align: center; }
.cms-pager a, .cms-pager span { padding: 8px 14px; margin: 0 3px; border-radius: 8px; background: #fff; color: var(--gray-700); text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid var(--gray-200); }
.cms-pager .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* FORM */
.form-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px; }
.form-alert-ok { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.form-alert-err { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.form-alert-err ul { margin: 6px 0 0; padding-left: 18px; }

/* Responsive */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.8rem; }
  .about-wrap, .contact-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-template-columns: 1fr; }
  .product-card-wide:nth-child(even) { direction: ltr; }
  .product-card-wide .product-img { min-height: 250px; }
  .news-article { grid-template-columns: 1fr; }
  .news-article .news-img { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav a { margin: 10px 0; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2.2rem; }
  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }
  .services-grid, .adv-grid { grid-template-columns: 1fr; }
  .project-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 2rem; }
  .wave-divider svg { height: 60px; }
}