/* ================================
   卡雅金属制品有限公司 - 官方网站样式
   ================================ */

/* ===== 全局重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1a6fc4;
  --blue-dark: #0f4f9e;
  --blue-light: #dbeafe;
  --green: #16a34a;
  --green-dark: #0f6b35;
  --green-light: #dcfce7;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  background: white;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}
.btn-white {
  background: white;
  color: var(--blue);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-green {
  background: var(--green);
  color: white;
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn.full-width { width: 100%; }

/* ===== 通用 section ===== */
.section {
  padding: 80px 0;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-desc {
  color: white;
}
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.section-tag.green {
  background: var(--green-light);
  color: var(--green);
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-desc {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===================================
   HEADER
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-cn {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}
.logo-en {
  font-size: 9px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  font-weight: 400;
  line-height: 1.2;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
}
.header-contact {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  padding: 8px 16px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 40%, #1a6fc4 100%);
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,111,196,0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.2) 0%, transparent 70%);
  bottom: -100px;
  left: 30%;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge span {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.hero-badge::before {
  content: '⭐';
  font-size: 12px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero-accent {
  color: #60a5fa;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.stat-num em {
  font-size: 16px;
  font-style: normal;
  color: #60a5fa;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 360px;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.hero-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(8px);
}
.hero-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.hero-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.card-arrow {
  margin-left: auto;
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  transition: transform 0.2s;
}
.hero-card:hover .card-arrow {
  transform: translateX(6px);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  margin-top: -8px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   ABOUT
   =================================== */
.about { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text {
  margin-bottom: 32px;
}
.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 15px;
}
.about-text strong {
  color: var(--blue);
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.feature p {
  font-size: 12px;
  color: var(--gray-600);
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.about-img-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder {
  text-align: center;
  padding: 40px;
}
.about-cert-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cert-badge {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}
.cert-badge.green { background: var(--green); }
.cert-badge.gold { background: #ca8a04; }
.cert-badge.red { background: #dc2626; }

/* ===================================
   HARDWARE SECTION
   =================================== */
.hardware-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 60%, #1a6fc4 100%);
  position: relative;
  overflow: hidden;
}
.section-bg-label {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%) rotate(90deg);
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: 20px;
  user-select: none;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.product-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.product-icon {
  margin-bottom: 16px;
}
.product-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.6;
}
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}
.product-specs li {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding-left: 12px;
  position: relative;
}
.product-specs li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #60a5fa;
}

/* ===================================
   MEDICAL SECTION
   =================================== */
.medical-section {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.medical-section .section-bg-label {
  color: rgba(22,163,74,0.04);
}
.medical-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  gap: 40px;
}
.medical-intro-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.medical-intro-text p {
  font-size: 14px;
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.medical-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cert-tag {
  padding: 4px 12px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.medical-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.med-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.med-category:hover,
.med-category.active {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green-light);
}
.medical-products {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.med-product {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  align-items: center;
}
.med-product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.med-product.reverse {
  direction: rtl;
}
.med-product.reverse > * {
  direction: ltr;
}
.med-img {
  width: 200px;
  height: 160px;
  background: var(--gray-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}
.med-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.med-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.med-info p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.med-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.med-spec {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}
.med-spec strong {
  display: block;
  color: var(--gray-800);
  margin-bottom: 2px;
}

/* ===================================
   ADVANTAGE
   =================================== */
.advantage {
  background: white;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}
.adv-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}
.adv-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.adv-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.adv-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}
.wechat-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-200);
}
.qr-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wechat-qr p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}
.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,196,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-desc {
  font-size: 13px;
  margin-top: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===================================
   FLOATING ELEMENTS
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-dark);
}
.float-contact {
  position: fixed;
  bottom: 130px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}
.float-btn {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.1);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 60px;
  }
  .hero-desc { margin: 0 auto 32px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .medical-intro { flex-direction: column; }
  .med-product,
  .med-product.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .med-img { width: 100%; }
  .med-spec-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .nav { display: none; }
  .header-contact { display: none; }
  .hamburger { display: flex; }
  /* 移动端nav展开 */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 480px) {
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 22px; }
  .contact-form { padding: 24px 20px; }
}

/* ===================================
   动画
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* ===================================
   医疗产品真实图片样式
   =================================== */
.med-img-real {
  width: 280px;
  height: 260px;
  min-width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.med-img-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.35s ease;
}
.med-img-real img:hover {
  transform: scale(1.05);
}

/* 更多产品图片展示网格 */
.med-gallery-title {
  text-align: center;
  margin: 56px 0 24px;
}
.med-gallery-title h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-800);
  position: relative;
  display: inline-block;
}
.med-gallery-title h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 10px auto 0;
}
.med-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.gallery-item {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  padding: 10px;
  background: var(--gray-50);
  display: block;
}
.gallery-item span {
  display: block;
  font-size: 12px;
  color: var(--gray-600);
  padding: 8px 6px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .med-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .med-img-real {
    width: 100%;
    height: 220px;
  }
  .med-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
