/* 装修易 - 全站样式 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fed7aa;
  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

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

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
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 */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 40px; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.logo-text .accent { color: var(--accent); }

.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a {
  color: var(--text-medium);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-phone {
  background: var(--accent);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.header-phone:hover { background: var(--accent-dark); color: white !important; }

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--border); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; display: flex; gap: 40px; align-items: center; }
.hero-content { flex: 1; }
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero h1 .highlight { color: var(--accent-light); }
.hero p { font-size: 17px; opacity: 0.9; margin-bottom: 24px; line-height: 1.8; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-tag {
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}
.hero-stats { display: flex; gap: 32px; margin-top: 20px; }
.hero-stat .num { font-size: 28px; font-weight: 700; color: var(--accent-light); }
.hero-stat .label { font-size: 13px; opacity: 0.8; }

/* Form */
.lead-form {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 360px;
  flex-shrink: 0;
}
.lead-form h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 6px; }
.lead-form .form-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; color: var(--text-medium); margin-bottom: 4px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--accent-dark); }
.form-trust { display: flex; gap: 12px; justify-content: center; margin-top: 14px; font-size: 12px; color: var(--text-light); }

/* Section */
.section { padding: 48px 0; }
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: center;
}
.section-desc { text-align: center; color: var(--text-light); margin-bottom: 32px; font-size: 15px; }
.section-title .accent { color: var(--accent); }

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card .icon { font-size: 36px; margin-bottom: 12px; }
.service-card h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.service-card a { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; }

/* Competitor Section */
.competitor-section { background: white; }
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.competitor-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}
.competitor-item:hover { border-color: var(--primary); }
.competitor-item .name { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.competitor-item .info { font-size: 12px; color: var(--text-light); }

/* Article List */
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.article-card .content { padding: 20px; }
.article-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.article-card h3 a { color: var(--text-dark); }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.article-card .meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; }
.article-card .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Region Grid */
.region-grid { columns: 4; column-gap: 20px; }
.region-grid .region-group { break-inside: avoid; margin-bottom: 20px; }
.region-group h4 { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.region-group a { display: block; font-size: 13px; color: var(--text-medium); padding: 3px 0; }
.region-group a:hover { color: var(--primary); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .answer { padding: 0 20px 16px; font-size: 14px; color: var(--text-medium); line-height: 1.8; }

/* Content Area */
.content-area {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.content-area h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.content-area .meta { font-size: 13px; color: var(--text-light); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.content-area h2 { font-size: 20px; font-weight: 600; margin: 24px 0 12px; color: var(--text-dark); }
.content-area h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px; color: var(--text-dark); }
.content-area p { margin-bottom: 14px; color: var(--text-medium); line-height: 1.9; }
.content-area ul, .content-area ol { margin: 0 0 14px 20px; color: var(--text-medium); }
.content-area li { margin-bottom: 6px; }
.content-area strong { color: var(--text-dark); }
.content-area blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 16px 0;
  color: var(--text-medium);
}

/* Two Column Layout */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.sidebar-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.sidebar-form h3 { font-size: 18px; margin-bottom: 6px; }
.sidebar-form .form-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }

/* Price Table */
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.price-table th { background: var(--primary); color: white; padding: 12px; text-align: left; font-size: 14px; }
.price-table td { padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.price-table tr:hover { background: var(--bg-light); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  color: white;
  margin: 32px 0;
}
.cta-banner h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { font-size: 15px; opacity: 0.9; margin-bottom: 20px; }
.cta-banner .btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}
.cta-banner .btn:hover { background: var(--accent-dark); color: white; }

/* Footer */
.site-footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand h3 { color: white; font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #94a3b8; }
.footer-col h4 { color: white; font-size: 15px; margin-bottom: 12px; font-weight: 600; }
.footer-col a { display: block; color: #94a3b8; font-size: 13px; padding: 4px 0; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom a { color: #64748b; }

/* Mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero-inner { flex-direction: column; }
  .lead-form { width: 100%; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .region-grid { columns: 2; }
  .hero h1 { font-size: 26px; }
  .content-area { padding: 20px; }
}

/* Form Success/Error */
.form-message {
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 14px;
  display: none;
}
.form-message.success { background: #d1fae5; color: #065f46; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; display: block; }
