/*
Theme Name: EasyHome 全屋定制
Theme URI: https://yoursite.com
Author: EasyHome Factory
Author URI: https://yoursite.com
Description: 专业全屋家具定制主题 - 工厂直营，品质保证
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easyhome
Tags: furniture, custom, full-site, responsive
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --primary: #1a3c5e;
  --primary-light: #2d6a9f;
  --primary-dark: #0f2540;
  --accent: #c8962a;
  --accent-light: #e8b84b;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
  --bg-light: #f8f6f2;
  --bg-white: #ffffff;
  --border: #e5e0d8;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1280px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ============================================
   HEADER / NAVIGATION
============================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

#site-header .header-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

#site-header .header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#site-header .header-top a { color: rgba(255,255,255,0.7); }
#site-header .header-top a:hover { color: var(--accent-light); }

#site-header .header-main {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.site-logo .logo-text { line-height: 1.2; }
.site-logo .logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.site-logo .logo-sub {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.main-nav > li > a:hover,
.main-nav > li.current > a {
  color: var(--primary);
  background: rgba(26, 60, 94, 0.07);
}

/* Dropdown */
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s ease;
  border: 1px solid var(--border);
}

.main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.main-nav .dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all var(--transition);
}

.main-nav .dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 22px;
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Scrolled header */
#site-header.scrolled .header-top { display: none; }

/* ============================================
   HERO SECTION
============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

/* Decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero-shapes .shape-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-shapes .shape-2 { width: 300px; height: 300px; bottom: -80px; left: 10%; }
.hero-shapes .shape-3 { width: 180px; height: 180px; top: 30%; left: 5%; }

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 42, 0.2);
  border: 1px solid rgba(200, 150, 42, 0.4);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-light);
  border-radius: 2px;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

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

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

.hero-stat-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-light);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-visual-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card-float.card-1 { bottom: -20px; left: -30px; }
.hero-card-float.card-2 { top: -20px; right: -20px; }

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.float-icon.gold { background: rgba(200, 150, 42, 0.12); }
.float-icon.blue { background: rgba(26, 60, 94, 0.1); }

.float-info .label { font-size: 11px; color: var(--text-light); }
.float-info .value { font-size: 15px; font-weight: 700; color: var(--primary); }

/* ============================================
   FEATURES / WHY US
============================================ */
.features { background: var(--bg-light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(26,60,94,0.08), rgba(26,60,94,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   PRODUCTS / CATEGORIES
============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}

.product-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-bg { transform: scale(1.06); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 37, 64, 0.85) 100%);
  transition: opacity var(--transition);
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(180deg, rgba(15, 37, 64, 0.3) 0%, rgba(15, 37, 64, 0.92) 100%);
}

.product-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: #fff;
}

.product-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}

.product-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.product-card:hover .product-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* Product placeholder colors */
.product-card-bg.bg-1 { background: linear-gradient(135deg, #2c3e50, #3498db); }
.product-card-bg.bg-2 { background: linear-gradient(135deg, #8B4513, #D2691E); }
.product-card-bg.bg-3 { background: linear-gradient(135deg, #1a3c5e, #2d6a9f); }
.product-card-bg.bg-4 { background: linear-gradient(135deg, #2d5016, #4a7c2f); }
.product-card-bg.bg-5 { background: linear-gradient(135deg, #5d4037, #8d6e63); }
.product-card-bg.bg-6 { background: linear-gradient(135deg, #37474f, #546e7a); }

/* ============================================
   PROCESS SECTION
============================================ */
.process { background: var(--primary-dark); color: #fff; }
.process .section-title { color: #fff; }
.process .section-subtitle { color: rgba(255,255,255,0.65); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 70px;
  position: relative;
}

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

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

.step-number-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all var(--transition);
  position: relative;
}

.step-number-wrap .step-num {
  font-size: 28px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  line-height: 1;
}

.process-step.active .step-number-wrap {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(200, 150, 42, 0.4);
}

.process-step.active .step-num { color: #fff; }

.step-icon { font-size: 28px; margin-bottom: 12px; }
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ============================================
   SHOWCASE / CASES
============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-top: 60px;
}

.case-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.case-item.featured { grid-row: 1 / 3; }

.case-item-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.case-item:hover .case-item-bg { transform: scale(1.05); }

.case-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 37, 64, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.case-item:hover .case-item-overlay { opacity: 1; }

.case-info { color: #fff; }
.case-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.case-meta { font-size: 13px; color: rgba(255,255,255,0.65); }

/* Case bg colors */
.case-bg-1 { background: linear-gradient(135deg, #1a3c5e 0%, #2d5a8e 50%, #c8962a 100%); }
.case-bg-2 { background: linear-gradient(135deg, #8B4513, #c8962a); }
.case-bg-3 { background: linear-gradient(135deg, #2d5016, #4a7c2f); }
.case-bg-4 { background: linear-gradient(135deg, #5d4037, #8d6e63); }
.case-bg-5 { background: linear-gradient(135deg, #37474f, #546e7a); }

/* ============================================
   FACTORY / ABOUT
============================================ */
.factory { background: var(--bg-light); }

.factory-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.factory-visual { position: relative; }

.factory-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.factory-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.factory-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.factory-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.factory-badge .years { font-size: 36px; font-weight: 900; line-height: 1; }
.factory-badge .text { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3; }

.factory-content { }

.factory-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.factory-stat-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.factory-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.factory-stat-unit { font-size: 16px; color: var(--accent); font-weight: 700; }
.factory-stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

.factory-checklist { margin: 24px 0; }
.factory-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-mid);
}

.factory-check-item:last-child { border-bottom: none; }

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials { }

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-name { font-size: 16px; font-weight: 700; color: var(--primary); }
.author-location { font-size: 13px; color: var(--text-light); }

.stars { color: #f5a623; font-size: 14px; margin-top: 2px; }

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 150, 42, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner .section-title { color: #fff; }
.cta-banner .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto 40px; }

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================
   CONTACT SECTION
============================================ */
.contact { background: var(--bg-light); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-label { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--text-dark); }

/* Contact Form */
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.1);
}

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

/* ============================================
   FOOTER
============================================ */
#site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand { }
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand .site-logo .logo-name { color: #fff; }
.footer-brand .site-logo .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 24px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  color: rgba(255,255,255,0.7);
}

.social-link:hover { background: var(--accent); color: #fff; }

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item .icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================
   FLOATING ELEMENTS
============================================ */
.float-contact-btn {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
}

.float-btn-wechat { background: #07c160; color: #fff; }
.float-btn-phone { background: var(--accent); color: #fff; }
.float-btn-top { background: var(--primary); color: #fff; }
.float-btn:hover { transform: scale(1.1); }

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-up { animation: fadeInUp 0.7s ease forwards; }
.animate-left { animation: fadeInLeft 0.7s ease forwards; }
.animate-right { animation: fadeInRight 0.7s ease forwards; }
.float-anim { animation: float 4s ease-in-out infinite; }

.hidden-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hidden-anim.visible { opacity: 1; transform: translateY(0); }
.hidden-anim-delay-1 { transition-delay: 0.1s; }
.hidden-anim-delay-2 { transition-delay: 0.2s; }
.hidden-anim-delay-3 { transition-delay: 0.3s; }
.hidden-anim-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITY
============================================ */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 20px auto 0;
}

.divider-left { margin: 20px 0 0; }

.tag {
  display: inline-block;
  background: rgba(26,60,94,0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: 85vh; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cases-grid .case-item.featured { grid-row: auto; }
  .factory-inner { grid-template-columns: 1fr; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .factory-stats { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form { padding: 28px 20px; }
}
