/* ===========================
   WARSONCO RU — STYLE.CSS
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2db34a;
  --green-dark: #1f8c39;
  --green-light: #e8f9ec;
  --dark: #0d1117;
  --dark2: #1a2230;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-w { color: var(--green); }
.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  margin-top: -2px;
}
.logo-white .logo-sub { color: rgba(255,255,255,0.5); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.btn-header {
  background: var(--green);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-header:hover { background: var(--green-dark); transform: translateY(-1px); }

.lang-switch {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}
.lang-switch:hover { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--green);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,179,74,0.3); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-large { font-size: 17px; padding: 18px 48px; }
.btn-full { width: 100%; }

/* ===== SECTION COMMONS ===== */
.section { padding: 90px 0; }
.section-gray { background: var(--bg); }

.section-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-label-light {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title-white {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 52px;
}
.green { color: var(--green); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1117 0%, #1a2c1e 40%, #0d2410 100%);
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(45,179,74,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(45,179,74,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(45,179,74,0.15);
  border: 1px solid rgba(45,179,74,0.3);
  color: #7ee89a;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}
.hero-accent { color: var(--green); display: block; }

.hero-slogan {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-tags span {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}
.stat-plus { color: var(--green); }
.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img-wrap img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  border-radius: 30px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.badge-icon { font-size: 18px; }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ===== DEALER BANNER ===== */
.dealer-banner {
  background: linear-gradient(135deg, #1a7a30, #2db34a);
  padding: 60px 0;
  text-align: center;
}
.dealer-banner-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 48px;
}
.dealer-banner-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.db-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  color: var(--white);
  transition: var(--transition);
}
.db-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.db-icon { font-size: 36px; margin-bottom: 14px; }
.db-card strong { display: block; font-size: 15px; margin-bottom: 8px; }
.db-card p { font-size: 14px; opacity: 0.85; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}
.about-item:last-child { margin-bottom: 0; }
.about-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.about-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.about-imgs {}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  background: var(--bg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.about-img-row img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--bg);
  padding: 10px;
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.trust-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}
.t-icon { display: block; font-size: 22px; margin-bottom: 6px; }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}
.product-img {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f2 100%);
  padding: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-img img {
  max-height: 260px;
  width: 100%;
  object-fit: contain;
  transition: var(--transition);
}
/* Fallback когда изображение не загружено */
.product-img img[src=""],
.product-img img:not([src]) {
  display: none;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-info { padding: 20px; }
.product-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.product-specs { margin-bottom: 18px; }
.spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.spec:last-child { border-bottom: none; }
.spec-label { color: var(--text-light); }
.spec-val { font-weight: 600; }
.spec-val.green { color: var(--green); }

.btn-product {
  display: block;
  text-align: center;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.btn-product:hover { background: var(--green); color: var(--white); }

.products-cta {
  text-align: center;
  padding: 40px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45,179,74,0.2);
}
.products-cta p { font-size: 16px; margin-bottom: 20px; color: var(--text); }

/* ===== ADVANTAGES ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.adv-icon { font-size: 36px; margin-bottom: 16px; }
.adv-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== APPLICATIONS ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.app-num {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 32px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
}
.app-icon { font-size: 36px; margin-bottom: 14px; }
.app-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.app-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== DEALER SECTION ===== */
.dealer-section {
  background: linear-gradient(135deg, #0d1117 0%, #0f2318 50%, #0d2410 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dealer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(45,179,74,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.dealer-intro {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.dealer-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  color: var(--white);
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.step-arrow {
  color: var(--green);
  font-size: 28px;
  font-weight: 300;
  padding: 0 8px;
  flex-shrink: 0;
}

.dealer-benefits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.db-benefit {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  color: var(--white);
  text-align: left;
  transition: var(--transition);
}
.db-benefit:hover { background: rgba(45,179,74,0.1); border-color: rgba(45,179,74,0.3); }
.db-icon-lg { font-size: 32px; display: block; margin-bottom: 12px; }
.db-benefit h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.db-benefit p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== CLIENTS ===== */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}
.client-logo:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.clients-note {
  text-align: center;
  background: var(--green-light);
  border: 1px solid rgba(45,179,74,0.2);
  border-radius: var(--radius);
  padding: 20px 32px;
  font-size: 15px;
  color: var(--text);
}

/* ===== CONTACT ===== */
/* 联系我们板块：工厂背景图 */
#contact.section {
  background:
    linear-gradient(rgba(10, 20, 12, 0.72), rgba(10, 20, 12, 0.72)),
    url('images/factory-1-crop.jpg') center 45% / cover no-repeat;
  position: relative;
}

/* 覆盖 section-gray 的背景色 */
#contact.section.section-gray {
  background:
    linear-gradient(rgba(10, 20, 12, 0.72), rgba(10, 20, 12, 0.72)),
    url('images/factory-1-crop.jpg') center 45% / cover no-repeat;
}

/* 标题 & 副标题改为浅色 */
#contact .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}
#contact .section-title {
  color: var(--white);
}
#contact .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

/* 联系信息区：改为深色半透明卡片 */
#contact .contact-info h3 {
  color: var(--white);
}
#contact .ci-item {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
#contact .ci-item strong {
  color: rgba(255, 255, 255, 0.6);
}
#contact .ci-item p,
#contact .ci-item a {
  color: rgba(255, 255, 255, 0.9);
}
#contact .ci-item a:hover {
  color: var(--green);
}

/* 表单卡片加深背景，确保可读 */
#contact .contact-form-wrap {
  background: rgba(255, 255, 255, 0.97);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.ci-list { margin-bottom: 32px; }
.ci-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ci-item:last-child { border-bottom: none; }
.ci-icon { font-size: 22px; flex-shrink: 0; width: 28px; }
.ci-item strong { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 3px; }
.ci-item p, .ci-item a { font-size: 15px; font-weight: 500; color: var(--dark); }
.ci-item a:hover { color: var(--green); }

.contact-social {
  display: flex;
  gap: 12px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.whatsapp { background: #25d366; }
.whatsapp:hover { background: #1db954; }
.vk { background: #2787f5; }
.vk:hover { background: #1a6fd4; }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,179,74,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 24px;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green); color: var(--white); }

.footer-links h4, .footer-products h4, .footer-contact h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links a, .footer-products a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: var(--transition);
}
.footer-links a:hover, .footer-products a:hover { color: var(--green); padding-left: 6px; }
.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ===== FLOATING BUTTONS ===== */
.float-btns {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.float-wa { background: #25d366; }
.float-vk { background: #2787f5; }
.float-contact { background: var(--green); }
.float-contact:hover { background: var(--green-dark); }
.float-top { background: var(--dark2); font-size: 20px; font-weight: 700; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-icon { font-size: 52px; margin-bottom: 16px; }
.modal-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.modal-box p { font-size: 15px; color: var(--text-light); margin-bottom: 28px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav, .btn-header { display: none; }
  .header-right { display: flex; align-items: center; gap: 8px; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,17,23,0.98);
    padding: 12px 24px;
    gap: 2px;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.open a {
    padding: 10px 16px;
    border-radius: 8px;
  }

  /* Hero — 紧凑 */
  .hero { min-height: auto; padding: 68px 0 32px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 24px 16px 36px; }
  .hero-img { order: -1; }
  .hero-img-wrap { padding-top: 12px; } /* 为浮动动画预留上方空间，防止遮挡 */
  .hero-img-wrap img { max-width: 220px; }
  .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }
  .hero-title { margin-bottom: 10px; }
  .hero-slogan { font-size: 14px; margin-bottom: 14px; }
  .hero-tags { justify-content: center; gap: 6px; margin-bottom: 16px; }
  .hero-tags span { font-size: 12px; padding: 4px 10px; }
  .hero-cta { justify-content: center; gap: 10px; margin-bottom: 24px; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { font-size: 14px; padding: 11px 22px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 20px; }
  .stat-num { font-size: 22px; }
  .hero-img-badge { font-size: 11px; padding: 7px 14px; }

  /* Section 间距统一收紧 */
  .section { padding: 40px 0; }
  .dealer-banner { padding: 36px 0; }
  .dealer-section { padding: 40px 0; }
  .section-sub { margin-bottom: 28px; font-size: 14px; }
  .section-title { font-size: 22px; margin-bottom: 10px; }

  /* Dealer banner */
  .dealer-banner-sub { font-size: 14px; margin-bottom: 24px; }
  .dealer-banner-cards { grid-template-columns: 1fr; gap: 12px; }
  .db-card { padding: 18px 16px; }
  .db-icon { font-size: 28px; margin-bottom: 8px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-item { margin-bottom: 18px; gap: 14px; }
  .about-num { width: 36px; height: 36px; font-size: 13px; }
  .about-item h3 { font-size: 15px; }
  .about-item p { font-size: 13px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .trust-item { padding: 10px 8px; font-size: 11px; }
  .t-icon { font-size: 18px; margin-bottom: 4px; }
  .about-img-main { display: none; } /* 手机端隐藏工厂大图，节省空间 */
  .about-img-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-img { padding: 8px; }
  .product-img img { max-height: 260px; }
  .product-info { padding: 14px; }
  .product-info h3 { font-size: 16px; margin-bottom: 10px; }
  .products-cta { padding: 24px 16px; }

  /* Advantages */
  .adv-grid { grid-template-columns: 1fr; gap: 12px; }
  .adv-card { padding: 20px 16px; }
  .adv-icon { font-size: 28px; margin-bottom: 10px; }
  .adv-card h3 { font-size: 15px; }

  /* Applications */
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app-card { padding: 18px 14px; }
  .app-icon { font-size: 28px; margin-bottom: 8px; }
  .app-card h3 { font-size: 14px; margin-bottom: 4px; }
  .app-card p { font-size: 12px; }
  .app-num { font-size: 24px; top: 12px; right: 12px; }

  /* Dealer steps */
  .dealer-intro { font-size: 14px; margin-bottom: 28px; }
  .dealer-steps { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 28px; }
  .step { max-width: 100%; padding: 18px 16px; }
  .step-num { width: 36px; height: 36px; font-size: 16px; margin-bottom: 10px; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 12px; }
  .step-arrow { display: none; }
  .dealer-benefits { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
  .db-benefit { padding: 16px 14px; }
  .db-icon-lg { font-size: 24px; margin-bottom: 8px; }
  .db-benefit h4 { font-size: 13px; }
  .db-benefit p { font-size: 12px; }

  /* Clients */
  .clients-logos { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
  .client-logo { padding: 14px 10px; font-size: 13px; }
  .clients-note { padding: 14px 16px; font-size: 13px; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; gap: 24px; }
  .contact-info h3 { font-size: 18px; margin-bottom: 16px; }
  .ci-item { padding: 12px 0; gap: 12px; }
  .contact-social { flex-direction: column; gap: 10px; }
  .social-btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 20px 16px; }
  .contact-form h3 { font-size: 18px; margin-bottom: 18px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-links, .footer-products { display: none; } /* 手机端隐藏冗余导航链接 */

  /* 浮动按钮手机端缩小 */
  .float-btn { width: 46px; height: 46px; }
  .float-btns { right: 16px; bottom: 16px; gap: 10px; }
}

@media (max-width: 480px) {
  .app-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .dealer-benefits { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
}
