/* ========================================
   佳讯智联 — 企业官网样式
   ======================================== */

:root {
  --primary: #2DD4BF;
  --primary-dark: #14B8A6;
  --primary-light: #CCFBF1;
  --accent: #f0a030;
  --dark: #0a1628;
  --dark-mid: #132238;
  --dark-soft: #1c3048;
  --text: #2a3544;
  --text-light: #6b7a8d;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #dde4ec;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-cn: 'Noto Sans SC', sans-serif;
  --font-en: 'Outfit', sans-serif;
}

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

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

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ========== 顶部公告栏 ========== */
.top-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.announcement-tag {
  background: var(--primary);
  color: var(--white);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-en);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-phone:hover {
  color: var(--white);
}

/* ========== 导航 ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 头部完整公司名较长时避免挤压导航 */
.header .logo {
  flex-shrink: 1;
  min-width: 0;
  max-width: min(360px, 42vw);
}

.header .logo-text strong {
  font-size: clamp(0.75rem, 1.05vw, 0.9375rem);
  line-height: 1.35;
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-text small {
  font-size: 0.6875rem;
  color: var(--text-light);
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  position: relative;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ========== Hero ========== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 400px;
  max-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero {
    aspect-ratio: 1 / 1;
    min-height: 280px;
  }
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(26, 173, 200, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
}

.hero-welcome {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--primary), #5EEAD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero-dots .dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s infinite;
}

/* ========== 快捷入口 ========== */
.quick-links {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}

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

.quick-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.quick-icon svg {
  width: 24px;
  height: 24px;
}

.quick-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.quick-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ========== 通用区块 ========== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

.section-header.light .section-tag {
  background: rgba(26, 173, 200, 0.2);
  color: var(--primary);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ========== 关于我们 ========== */
.about {
  background: var(--gray-50);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(1.35) saturate(0.75) contrast(1.08);
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
}

.about-text strong {
  color: var(--primary-dark);
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ========== 核心优势 ========== */
.advantages {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 173, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.advantage-card {
  background: var(--dark-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}

.advantage-card:hover {
  border-color: rgba(26, 173, 200, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.advantage-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(26, 173, 200, 0.12);
  line-height: 1;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  background: rgba(26, 173, 200, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.advantage-icon svg {
  width: 26px;
  height: 26px;
}

.advantage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.advantage-card h4 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 1rem;
}

.advantage-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.advantage-card li {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 1rem;
  position: relative;
}

.advantage-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========== 产品展示 ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

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

.product-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

/* ========== 生产实力 ========== */
.factory {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-mid) 100%);
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.factory-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.factory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.factory-brighten {
  filter: brightness(1.4) contrast(1.08) saturate(0.85);
}

.contact-brighten {
  filter: brightness(1.35) contrast(1.05) saturate(0.8);
}

.factory-card:hover img {
  transform: scale(1.06);
}

.factory-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ========== 新闻资讯 ========== */
.news {
  background: var(--gray-50);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.news-card.featured {
  grid-row: span 3;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card.featured .news-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card.featured .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card.featured .news-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card time {
  font-size: 0.75rem;
  color: var(--primary);
  font-family: var(--font-en);
  font-weight: 600;
}

.news-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.4;
}

.news-card.featured h3 {
  font-size: 1.25rem;
}

.news-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  flex: 1;
}

.news-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.news-link:hover {
  color: var(--primary-dark);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-en);
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== 联系我们 ========== */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-desc {
  color: var(--text-light);
  margin: 1rem 0 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-list a,
.contact-list span {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--primary);
}

.contact-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.contact-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.contact-badge span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact-badge strong {
  display: block;
  font-size: 1rem;
  margin: 0.15rem 0;
}

.contact-badge small {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--primary);
}

/* ========== 页脚 ========== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer .logo-text strong {
  color: var(--white);
}

.footer .logo-text small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-links span {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-hotline {
  text-align: right;
}

.footer-hotline > span {
  font-size: 0.8125rem;
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-qrs {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.35rem;
  background: var(--white);
  padding: 4px;
}

.footer-qr-item span {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  display: block;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p + p {
  margin-top: 0.25rem;
}

/* ========== 回到顶部 ========== */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ========== 悬浮二维码 ========== */
.qr-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.qr-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px 0 0 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 4px 16px rgba(45, 212, 191, 0.35);
}

.qr-toggle svg {
  width: 22px;
  height: 22px;
}

.qr-popup {
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  white-space: nowrap;
}

.qr-popup.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.qr-popup img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  display: block;
}

.qr-popup span {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ========== 动画 ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== 滚动显现 ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .factory-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .announcement {
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    padding: 0.875rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
  }

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

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

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

  .hero-dots {
    bottom: 1rem;
  }

  .quick-links {
    margin-top: -40px;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .quick-card {
    padding: 1.25rem 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-hotline {
    text-align: left;
  }

  .footer-qrs {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}
