/* ============================================
   装修审核 - 企业官网样式表
   蓝色专业风格 · 自适应 H5
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 蓝色主色调 */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --primary-950: #172554;

  /* 中性色 */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* 语义色 */
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--primary-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-500);
  transition: width 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-600);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white) !important;
  border-radius: 25px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.nav-phone::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--primary-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: var(--primary-200);
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-300), var(--primary-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--primary-200);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-700);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-image {
  flex: 0 0 380px;
  height: 320px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.3));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-image-inner {
  text-align: center;
  color: var(--primary-200);
}

.hero-image-inner .icon {
  font-size: 64px;
  margin-bottom: 12px;
  display: block;
}

.hero-image-inner p {
  font-size: 14px;
  opacity: 0.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero-stat-number span {
  color: var(--primary-300);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--primary-300);
  margin-top: 4px;
}

/* ============================================
   Section Common
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  border-radius: 20px;
  padding: 40px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px dashed var(--primary-200);
  border-radius: 12px;
}

.about-image-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-image-content .icon {
  font-size: 72px;
  display: block;
  margin-bottom: 16px;
}

.about-image-content p {
  color: var(--primary-700);
  font-weight: 500;
}

.about-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.about-feature .check {
  width: 20px;
  height: 20px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-600);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.service-list li::before {
  content: '✓';
  color: var(--primary-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-600);
}

.why-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   Process Section
   ============================================ */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-200), var(--primary-400));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-950));
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  color: var(--primary-200);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary-700);
  padding: 16px 40px;
  font-size: 17px;
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.contact-item:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--primary-600);
}

.contact-item-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-item-content p {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-item-content .phone-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-600);
  letter-spacing: 1px;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-800);
  transition: border-color 0.3s;
  outline: none;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-950);
  color: var(--primary-200);
  padding: 40px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--primary-300);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--primary-300);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--primary-400);
}

.footer-bottom a {
  color: var(--primary-300);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   Back to Top
   ============================================ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* ============================================
   Responsive (H5)
   ============================================ */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps::before {
    display: none;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  /* Navigation */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s;
    z-index: 999;
  }
  
  .nav.open {
    transform: translateY(0);
  }
  
  .nav a {
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  
  .nav-phone {
    justify-content: center;
    margin-top: 8px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Hero */
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    justify-content: center;
  }
  
  .hero-image {
    flex: none;
    width: 100%;
    height: 200px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
  }
  
  .hero-stat-number {
    font-size: 26px;
  }
  
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-image {
    height: 240px;
    padding: 24px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Why Us */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  /* CTA */
  .cta h2 {
    font-size: 26px;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .back-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .contact-item .phone-number {
    font-size: 18px;
  }
}