/* ===============================
   燚灿展览服务 - 站点样式表
   =============================== */

/* 变量 */
:root {
  --primary: #e8451a;
  --primary-dark: #c73a12;
  --primary-light: #ff6b3d;
  --dark: #0f1a2a;
  --gray-dark: #1a2a3a;
  --gray: #2a3a4a;
  --gray-light: #3a4a5a;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f5f7fa;
  --white: #fff;
  --border: #e0e4e8;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===============================
   Header
   =============================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,26,42,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 1.25rem; font-weight: 700; }
.logo-icon { font-size: 1.5rem; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: rgba(255,255,255,0.8); font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.btn-header {
  background: var(--primary); color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; transition: background 0.2s;
}
.btn-header:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: var(--dark); padding: 1rem; flex-direction: column; gap: 0.25rem;
}
.mobile-nav a { color: rgba(255,255,255,0.85); padding: 0.75rem 1rem; border-radius: var(--radius); transition: background 0.2s; }
.mobile-nav a:hover { background: rgba(255,255,255,0.08); }

/* ===============================
   Hero
   =============================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--dark); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f1a2a 0%, #1a2a3a 40%, #0f1a2a 70%, #1a1520 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,69,26,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(74,158,255,0.08) 0%, transparent 50%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,26,42,0.9) 0%, rgba(15,26,42,0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 120px 0 80px; }
.hero-sub { font-size: 0.9rem; color: var(--primary-light); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1.5rem; font-weight: 500; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--white); font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-title span { color: var(--primary-light); }
.hero-desc { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 0.85rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: all 0.25s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,69,26,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===============================
   Sections通用
   =============================== */
.section { padding: 5rem 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-gray { background: var(--bg-light); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-tag { font-size: 0.8rem; color: var(--primary); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; color: inherit; }
.section-sub { font-size: 1.05rem; color: var(--text-light); }

/* ===============================
   Stats
   =============================== */
.stats-section { padding: 3rem 0; background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { color: var(--white); }
.stat-num { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--primary-light); }
.stat-plus { font-size: 1.5rem; color: var(--primary-light); margin-left: 2px; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* ===============================
   Services
   =============================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card.featured { border-color: var(--primary); }
.service-card.featured:hover { box-shadow: 0 8px 40px rgba(232,69,26,0.15); }
.service-badge { position: absolute; top: 0; right: 0; background: var(--primary); color: var(--white); font-size: 0.75rem; padding: 4px 12px; border-radius: 0 12px 0 8px; font-weight: 600; }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ===============================
   Cases
   =============================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cases-grid .case-large { grid-column: 1 / 2; grid-row: 1 / 3; }
.case-card { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.3s; }
.case-card:hover { transform: scale(1.02); }
.case-img { height: 200px; }
.case-large .case-img { height: 100%; min-height: 420px; }
.case-info { padding: 1.5rem; }
.case-tag { display: inline-block; background: rgba(232,69,26,0.15); color: var(--primary-light); font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem; font-weight: 600; }
.case-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.case-info p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
.case-link { color: var(--primary-light); font-weight: 600; font-size: 0.9rem; }

/* Cases Full */
.cases-grid-full { display: flex; flex-direction: column; gap: 2rem; }
.case-full-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); padding: 2rem; }
.case-full-card:nth-child(even) { direction: rtl; }
.case-full-card:nth-child(even) > * { direction: ltr; }
.case-full-img { border-radius: 12px; min-height: 280px; }
.case-full-info { display: flex; flex-direction: column; justify-content: center; }
.case-tag { display: inline-block; background: rgba(232,69,26,0.1); color: var(--primary); font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem; font-weight: 600; }
.case-full-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }
.case-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-light); }
.case-full-info p { color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }
.case-tech { font-size: 0.85rem; color: var(--text-muted); }

/* ===============================
   Why Us
   =============================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.why-item { padding: 2rem; border-radius: 12px; background: var(--white); border: 1px solid var(--border); transition: all 0.3s; }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.why-num { font-size: 3rem; font-weight: 900; color: var(--primary); opacity: 0.2; line-height: 1; margin-bottom: 1rem; }
.why-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-item p { color: var(--text-light); font-size: 0.95rem; }

/* ===============================
   Process
   =============================== */
.process-steps { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 200px; }
.step-num { width: 52px; height: 52px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; }
.step-content h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }

/* ===============================
   CTA
   =============================== */
.cta-section { background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%); color: var(--white); padding: 5rem 0; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.cta-phone { margin-top: 1.5rem; font-size: 0.95rem; color: rgba(255,255,255,0.5); }
.cta-phone strong { color: var(--primary-light); font-size: 1.1rem; }

/* ===============================
   Page Hero
   =============================== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--gray-dark) 100%);
  color: var(--white); padding: 8rem 0 4rem; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-tag { font-size: 0.8rem; color: var(--primary-light); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.page-sub { font-size: 1.05rem; color: rgba(255,255,255,0.6); }

/* ===============================
   Service Detail
   =============================== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.service-detail-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.service-detail-text ul { display: flex; flex-direction: column; gap: 0.5rem; }
.service-detail-text li { color: var(--text); font-size: 0.95rem; padding-left: 1.5rem; position: relative; }
.service-detail-text li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.service-detail-img { display: flex; align-items: center; justify-content: center; font-size: 8rem; }

/* ===============================
   Blog
   =============================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; transition: all 0.3s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.blog-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.5; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.blog-more { text-align: center; margin-top: 3rem; padding: 1.5rem; background: var(--white); border-radius: 12px; border: 1px solid var(--border); color: var(--text-light); }

/* ===============================
   About
   =============================== */
.about-content { max-width: 760px; margin: 0 auto; }
.about-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.about-lead { font-size: 1.15rem; color: var(--primary); font-weight: 600; margin-bottom: 1.5rem; }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; font-size: 1.05rem; }

/* ===============================
   Contact
   =============================== */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; }
.contact-form-wrapper h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.contact-note { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.required { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,69,26,0.1);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { font-size: 1.5rem; }
.contact-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-value { font-size: 0.95rem; font-weight: 600; }
.contact-urgency { background: rgba(232,69,26,0.06); border: 1px solid rgba(232,69,26,0.15); border-radius: 12px; padding: 1.25rem; margin-top: 2rem; }
.contact-urgency h4 { color: var(--primary); font-size: 0.95rem; margin-bottom: 0.4rem; }
.contact-urgency p { font-size: 0.88rem; color: var(--text-light); }

/* ===============================
   Footer
   =============================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.footer-logo .logo-icon { font-size: 1.4rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-phone { color: var(--primary-light); font-weight: 600; font-size: 1rem !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* ===============================
   Responsive
   =============================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid .case-large { grid-column: 1 / -1; grid-row: auto; }
  .case-large .case-img { min-height: 300px; }
  .contact-layout { grid-template-columns: 1fr; }
  .case-full-card { grid-template-columns: 1fr; }
  .case-full-card:nth-child(even) { direction: ltr; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: flex; }
  .mobile-nav.open { display: flex; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero { min-height: 90vh; }
  .hero-content { padding: 100px 0 60px; }
}

/* Social Share Buttons */
.share-bar{position:fixed;left:20px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;z-index:999}
.share-btn{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#fff;text-decoration:none;transition:transform .2s;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.share-btn:hover{transform:scale(1.1)}.share-wechat{background:#07c160}.share-weibo{background:#e6162d}.share-qq{background:#1296db}.share-qr{background:#1a2a3a}
.qr-modal{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;background:rgba(0,0,0,.7);align-items:center;justify-content:center}
.qr-modal.show{display:flex}.qr-modal-content{background:#fff;padding:2rem;border-radius:16px;text-align:center;max-width:300px}
.qr-modal-content h3{margin-bottom:1rem;font-size:1.1rem}
.qr-modal-close{margin-top:1rem;padding:8px 24px;background:#0f1a2a;color:#fff;border:none;border-radius:8px;cursor:pointer}
@media(max-width:1024px){.share-bar{display:none}}

/* About page image grid */
.about-images-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.about-img-card{text-align:center}
.about-img-card h4{font-size:1.05rem;font-weight:700;margin-bottom:0.4rem;color:#0f1a2a}
.about-img-card p{font-size:0.88rem;color:#666}
@media(max-width:768px){.about-images-grid{grid-template-columns:1fr}}