/* =========================================
   壹加壹暖通 - 企业官网主题
   简约现代风格 | 橙色主题色
   ========================================= */

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-light: #FF8F66;
  --text-dark: #2D2D2D;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-white: #FFFFFF;
  --bg-gray: #F7F8FA;
  --border: #EEEEEE;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --max-width: 1200px;
  --header-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--bg-white);
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* 头部导航 */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
  background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border); z-index: 1000;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px;
}
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-gray); font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 15px; }

/* Hero区域 */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #FFF8F5 0%, #FFF5F0 50%, #FFFFFF 100%); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-block; background: var(--primary); color: white; padding: 6px 16px;
  border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; color: var(--text-dark); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-desc { font-size: 18px; color: var(--text-gray); margin-bottom: 36px; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* 通用板块 */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block; background: rgba(255,107,53,0.1); color: var(--primary);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 12px;
}
.section-title { font-size: 36px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-gray); max-width: 600px; margin: 0 auto; }

/* 服务卡片 */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: all 0.3s; border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px;
}
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.service-card p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

/* 关于我们 */
.about-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text p { color: var(--text-gray); margin-bottom: 16px; font-size: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; text-align: left; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-dark); }

/* 联系方式 */
.contact-info { max-width: 600px; margin: 0 auto; }
.contact-item { display: flex; gap: 16px; padding: 20px; background: var(--bg-white); border-radius: var(--radius); margin-bottom: 16px; }
.contact-item strong { color: var(--primary); min-width: 120px; }
.contact-item span { color: var(--text-dark); }

/* 页脚 */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 18px; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer h4 { color: white; font-size: 16px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; font-size: 14px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 14px; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 30px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-phone { display: none; }
  .hero h1 { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
