@charset "utf-8";

/* ============================================
   重庆霏微科技有限公司 - 新版官网样式
   纯CSS，零外部依赖
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --text-dark: #1f2937;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
  max-width: none;
  transition: var(--transition);
}

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

.nav-link {
  display: block;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  color: var(--bg-white);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.5);
  transform: scale(1.05);
  transition: filter 1.5s ease-out, transform 8s ease-out;
}

.hero.loaded .hero-bg {
  filter: blur(0px) brightness(0.6);
  transform: scale(1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15, 23, 42, 0.85) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }

.hero-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

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

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

.hero-scroll {
  cursor: pointer;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Section Common Styles
   ============================================ */
.section {
  padding: 100px 24px;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

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

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ============================================
   Value Cards
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
  color: var(--accent);
}

.value-icon svg {
  width: 36px;
  height: 36px;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================
   Value Rows (image + text alternating)
   ============================================ */
.value-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.value-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  max-height: 260px;
}

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

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

.value-text {
  padding: 16px 0;
}

.value-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 12px;
}

.value-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.value-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.9;
}

/* ============================================
   Service Cards
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.service-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}

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

.service-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================
   Product Cards
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
}

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

.product-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  object-fit: contain;
  border-radius: 20px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.product-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-qrcode {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.product-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   Page Banner
   ============================================ */
.page-banner {
  position: relative;
  padding: 180px 24px 80px;
  text-align: center;
  color: var(--bg-white);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.4);
  transform: scale(1.08);
  transition: filter 1.5s ease-out, transform 8s ease-out;
}

.page-banner.loaded .page-banner-bg {
  filter: blur(0px) brightness(0.5);
  transform: scale(1);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-banner h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   About Page
   ============================================ */
.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 16px;
  text-indent: 2em;
  text-align: left;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
  color: var(--accent);
}

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

.contact-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-qrcodes {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.qrcode-item {
  text-align: center;
}

.qrcode-item img {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  object-fit: contain;
}

.qrcode-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Service Detail (Product page)
   ============================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.service-detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.service-detail-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
  text-indent: 2em;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 360px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

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

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-qrcodes {
  display: flex;
  gap: 16px;
}

.footer-qrcodes img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--bg-white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

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

/* ============================================
   Privacy Policy
   ============================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}

.privacy-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.privacy-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 32px 0 12px;
}

.privacy-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 8px;
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D Tilt Card Effect */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease-out;
}

.tilt-card .card-inner {
  transition: transform 0.3s ease-out;
}

/* Shimmer border animation */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

.float-animation {
  animation: float 4s ease-in-out infinite;
}

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(59, 130, 246, 0.2); }
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Stagger children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { animation: fadeInUp 0.5s ease-out 0.1s forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeInUp 0.5s ease-out 0.2s forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeInUp 0.5s ease-out 0.3s forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeInUp 0.5s ease-out 0.4s forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeInUp 0.5s ease-out 0.5s forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeInUp 0.5s ease-out 0.6s forwards; }

/* Value card enhanced hover */
.value-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.value-card:hover .value-icon {
  animation: float 2s ease-in-out infinite;
}

/* Service card enhanced */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

/* Product card QR slide effect */
.product-card {
  overflow: hidden;
}

.product-card .product-qrcode {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.product-card:hover .product-qrcode {
  transform: scale(1.08);
}

/* Stat number counter animation helper */
.stat-num {
  transition: color 0.3s ease, transform 0.3s ease;
}

.stat-item:hover .stat-num {
  transform: scale(1.1);
  color: var(--accent-light);
}

/* Button ripple-like hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Contact item hover */
.contact-item {
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(8px);
}

/* Footer link underline animation */
.footer-col ul li a {
  position: relative;
}

.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .value-grid,
  .service-grid,
  .product-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    color: var(--text-dark);
    padding: 16px;
    width: 100%;
    text-align: center;
  }

  .value-grid,
  .service-grid,
  .product-grid,
  .service-detail-grid,
  .contact-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .value-rows {
    gap: 48px;
  }

  .value-num {
    font-size: 40px;
  }

  .value-text h3 {
    font-size: 22px;
  }

  .section {
    padding: 64px 20px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact-qrcodes {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 16px;
  }

  .value-card,
  .service-card,
  .product-card,
  .service-detail-card {
    padding: 32px 24px;
  }
}
