/* ===== CSS Variables ===== */
:root {
  --color-primary: #2d5016;
  --color-primary-light: #4a7c28;
  --color-primary-dark: #1a3009;
  --color-accent: #c8956c;
  --color-accent-light: #dbb08e;
  --color-accent-dark: #a67248;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-bg-dark: #1a1a1a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e8e4df;
  --color-white: #ffffff;
  --font-heading: 'Georgia', 'Noto Serif SC', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container-width: 1200px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  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 {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
  padding: 16px 0;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

#navbar.scrolled .nav-link {
  color: var(--color-text);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  background: none;
  padding: 0;
  box-shadow: none;
}

.logo-text {
  display: none;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

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

#navbar.scrolled .nav-link:hover {
  color: var(--color-primary);
}

.nav-link-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 14px;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-white) !important;
}

#navbar.scrolled .nav-link-cta {
  color: var(--color-white) !important;
}

/* Mobile Nav Toggle */
.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(--color-white);
  transition: all var(--transition);
}

#navbar.scrolled .nav-toggle span {
  background: var(--color-text);
}

/* ===== Hero Section ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3009 0%, #2d5016 30%, #3d6b20 60%, #1a3009 100%);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-slogan {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 12px;
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 16px;
  letter-spacing: 6px;
  opacity: 0.7;
  margin-bottom: 40px;
}

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

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

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,149,108,0.3);
}

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

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

.btn-play {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
  gap: 8px;
}

.btn-play:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-play svg {
  width: 18px;
  height: 18px;
}

.btn-full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* ===== Animations ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

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

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

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

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

.section-subtitle {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header-light .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}

.section-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--color-text-light);
  line-height: 1.9;
  background: var(--color-bg);
  padding: 30px 36px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 80px;
}

.about-desc {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-img-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-img-stack img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

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

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

/* Timeline */
.timeline {
  margin-bottom: 80px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  text-align: center;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--color-accent);
  z-index: 1;
}

.timeline-content {
  padding-top: 24px;
}

.timeline-year {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.timeline-content h4 {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Branch Cards */
.branch-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.branch-card {
  padding: 32px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.branch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.branch-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.branch-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.branch-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Factory Section ===== */
.factory-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.factory-block.reverse {
  direction: rtl;
}

.factory-block.reverse > * {
  direction: ltr;
}

.factory-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.factory-info p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.factory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.factory-tags span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 20px;
  font-size: 13px;
}

.factory-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.factory-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.factory-gallery-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.factory-stats-list {
  margin-bottom: 16px;
}

.factory-stats-list li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.factory-stats-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.factory-keywords {
  display: flex;
  gap: 12px;
}

.factory-keywords span {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 8px 20px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

/* ===== 泰禾茶业 Factory Detail ===== */
.taihe-section {
  margin-bottom: 60px;
}

.taihe-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: center;
}

.taihe-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Highlights row */
.taihe-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.taihe-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.taihe-highlight-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Overview gallery */
.taihe-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.taihe-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.taihe-gallery-item img:hover {
  transform: scale(1.03);
}

/* Feature cards grid */
.taihe-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.taihe-feature-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.taihe-feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.taihe-feature-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.taihe-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.taihe-feature-body {
  padding: 20px 20px 24px;
  text-align: center;
}

.taihe-feature-body h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.taihe-feature-body p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .taihe-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .taihe-features {
    grid-template-columns: 1fr 1fr;
  }

  .taihe-title {
    font-size: 22px;
  }

  .taihe-highlights {
    gap: 12px;
  }

  .taihe-highlight-item {
    font-size: 13px;
  }
}

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

  .taihe-features {
    grid-template-columns: 1fr;
  }
}

/* ===== 心之饮 Factory Detail ===== */
.xinzhiyin-section {
  margin-bottom: 60px;
}

.xinzhiyin-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: center;
}

.xinzhiyin-intro {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.xinzhiyin-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 15px;
  color: var(--color-text-light);
}

.xinzhiyin-stats li {
  padding: 4px 0;
}

.xinzhiyin-stats li strong {
  color: var(--color-primary);
}

.xinzhiyin-keywords {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.xinzhiyin-keywords span {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 8px 20px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
}

/* Workshop columns */
.xinzhiyin-workshops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.xinzhiyin-workshop-title {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.xinzhiyin-workshop-title svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.xinzhiyin-workshop-imgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xinzhiyin-workshop-imgs img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease;
}

.xinzhiyin-workshop-imgs img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .xinzhiyin-workshops {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .xinzhiyin-stats {
    gap: 16px;
    font-size: 14px;
  }

  .xinzhiyin-title {
    font-size: 22px;
  }

  .xinzhiyin-workshop-title {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .xinzhiyin-workshops {
    grid-template-columns: 1fr;
  }
}

/* ===== Products Section ===== */
.product-block {
  margin-bottom: 60px;
  padding: 0;
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-block-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.product-block-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.product-block-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  letter-spacing: 4px;
}

.product-block-subtitle {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.product-block-body p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.product-info p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.product-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.product-type-card {
  text-align: center;
  padding: 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.product-type-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 8px;
}

.product-type-card h4 {
  font-size: 13px;
  color: var(--color-primary);
}

.flavor-section {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.flavor-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.flavor-tabs {
}

.flavor-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.flavor-tab-btn {
  padding: 6px 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.flavor-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.flavor-tab-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.flavor-panel {
  display: none;
}

.flavor-panel.active {
  display: block;
}

.flavor-sub {
  margin-bottom: 10px;
}

.flavor-sub h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flavor-tags span {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  font-size: 13px;
  color: var(--color-text-light);
}

.packing-info {
  margin-bottom: 20px;
}

.packing-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.packing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.packing-tags span {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 20px;
  font-size: 13px;
}

.tea-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.tea-type {
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.tea-type h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.tea-type p {
  font-size: 13px;
  color: var(--color-text-light);
}

.application-list {
  margin-top: 20px;
}

.application-list h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app-item {
  padding: 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.app-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.app-item p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.product-features-list {
  margin-bottom: 16px;
}

.product-features-list li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.6;
}

.product-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.bottle-series {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.bottle-series-card {
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.bottle-series-card h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.bottle-series-card li {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 3px 0;
}

/* ===== Material Forms (原料剂型) ===== */
.material-forms {
  margin-bottom: 24px;
}

.material-forms h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.material-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.material-form-item {
  padding: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}

.material-form-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.material-form-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.material-form-item h5 {
  font-size: 16px;
  color: var(--color-primary);
  margin: 12px 16px 6px;
  font-weight: 700;
}

.material-form-item p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0 16px 16px;
}

/* ===== Packaging Types ===== */
.packaging-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.packaging-type-card {
  padding: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.packaging-type-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.packaging-type-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.packaging-type-card h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin: 12px 16px 8px;
  font-weight: 700;
}

.packaging-type-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0 16px 16px;
}

/* ===== Manufacturing Sections ===== */
.manufacturing-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.manufacturing-section {
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.manufacturing-section h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

/* ===== Manufacturing Flow ===== */
.manufacturing-flow {
  margin-bottom: 24px;
}

.manufacturing-flow h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flow-step {
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-width: 180px;
  text-align: center;
  transition: all var(--transition);
}

.flow-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.flow-step .step-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.flow-step h5 {
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.flow-step p {
  font-size: 13px;
  color: var(--color-text-light);
}

.flow-arrow {
  color: var(--color-accent);
}

.flow-arrow svg {
  width: 28px;
  height: 28px;
}

/* ===== ODM Services ===== */
.odm-services {
  margin-bottom: 24px;
}

.odm-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.odm-service-item {
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition);
}

.odm-service-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.odm-service-item h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.odm-service-item p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===== ODM Package Types ===== */
.odm-package-types {
  margin-bottom: 20px;
}

.odm-package-types h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.odm-package-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.odm-package-card {
  padding: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}

.odm-package-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.odm-package-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.odm-package-card h5 {
  font-size: 15px;
  color: var(--color-primary);
  margin: 12px 12px 6px;
  font-weight: 700;
}

.odm-package-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  padding: 0 12px 16px;
}

/* ===== R&D Section ===== */
/* ===== RD Hero (研发与生产) ===== */
.rd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 40px;
  padding: 40px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.rd-hero-text h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.rd-hero-text p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rd-hero-subtitle {
  font-weight: 600;
  color: var(--color-primary) !important;
  margin-bottom: 8px !important;
}

.rd-hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rd-hero-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.rd-hero-gallery img:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===== RD Sub Grid (设计与生产 + 专业研发) ===== */
.rd-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.rd-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.rd-card-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.rd-card-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}

.rd-card {
  padding: 32px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.rd-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.rd-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.rd-tech {
  text-align: center;
}

.rd-tech-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.tech-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tech-step {
  padding: 24px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-width: 180px;
  transition: all var(--transition);
}

.tech-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-step-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.tech-step h4 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.tech-step p {
  font-size: 13px;
  color: var(--color-text-light);
}

.tech-step-arrow {
  color: var(--color-accent);
}

.tech-step-arrow svg {
  width: 24px;
  height: 24px;
}

/* ===== Clients Section ===== */
/* ===== Client Cases (Row Layout) ===== */
.client-cases {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 60px;
}

.client-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.client-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.slider-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.slider-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  z-index: 2;
}

.slider-arrow {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.slider-arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dots .dot.active {
  background: var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* Client Info */
.client-info {
  padding: 20px 32px 20px 0;
}

.client-category {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 10px;
  margin-bottom: 12px;
}

.client-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.client-desc {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.partner-logos {
  text-align: center;
}

.partner-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.logo-item {
  width: 100%;
  height: 70px;
  object-fit: contain;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 12px;
  transition: all var(--transition);
  filter: grayscale(30%);
}

.logo-item:hover {
  border-color: var(--color-primary);
  filter: grayscale(0%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-map img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.contact-en {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

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

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===== Page Banner (Inner Pages) ===== */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  padding-top: 72px;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3009 0%, #2d5016 40%, #3d6b20 70%, #1a3009 100%);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-content .section-num {
  display: block;
  font-size: 16px;
  color: var(--color-accent);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.page-banner-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.page-banner-content p {
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.page-banner-dark .page-banner-overlay {
  background: rgba(0,0,0,0.55);
}

/* ===== Overview Grid (Homepage) ===== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}

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

.overview-card-accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-color: transparent;
  color: var(--color-white);
}

.overview-card-accent:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(45,80,22,0.3);
}

.overview-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 20px;
}

.overview-card-accent .overview-icon {
  background: rgba(255,255,255,0.15);
}

.overview-icon svg {
  width: 28px;
  height: 28px;
}

.overview-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.overview-card-accent h3 {
  color: var(--color-white);
}

.overview-card > p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.overview-card-accent > p {
  color: rgba(255,255,255,0.8);
}

.overview-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition);
}

.overview-card-accent .overview-link {
  color: rgba(255,255,255,0.9);
}

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

.overview-card-accent:hover .overview-link {
  color: var(--color-white);
}

/* ===== Active Nav Link ===== */
.nav-link.active {
  color: var(--color-accent);
}

#navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  width: 100%;
}

#navbar:not(.scrolled) .nav-link.active {
  color: var(--color-accent);
}

/* ===== Footer ===== */
.footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 80px;
  width: auto;
  border-radius: 0;
  background: none;
  padding: 0;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

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

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

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}

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

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-images {
    grid-template-columns: 1fr 1fr;
  }

  .factory-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .factory-block.reverse {
    direction: ltr;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rd-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rd-sub-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-banner {
    min-height: 220px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    color: var(--color-text) !important;
    padding: 5px 8px;
    width: 100%;
    line-height: 40px;
  }

  .nav-link:hover {
    color: var(--color-primary) !important;
  }

  .nav-link-cta {
    margin-top: 24px;
    text-align: center;
    border-bottom: none;
    padding: 4px 8px;
    border-radius: 24px;
  }

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

  .logo-img {
    height: 50px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-track {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 24px;
    padding-top: 0;
  }

  .timeline-track::before {
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    height: auto;
    right: auto;
  }

  .timeline-marker {
    top: 4px;
    left: -20px;
    transform: none;
  }

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

  .product-types {
    grid-template-columns: 1fr;
  }

  .bottle-series {
    grid-template-columns: 1fr;
  }

  .tea-types-grid {
    grid-template-columns: 1fr;
  }

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

  .material-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .packaging-types {
    grid-template-columns: 1fr 1fr;
  }

  .manufacturing-sections {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .odm-service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .odm-package-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-steps {
    flex-direction: column;
  }

  .tech-step-arrow {
    transform: rotate(90deg);
  }

  .client-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .client-info {
    padding: 0 24px 24px;
  }

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

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

  .page-banner {
    min-height: 200px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 4px;
  }

  .hero-slogan {
    letter-spacing: 6px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  .material-form-grid {
    grid-template-columns: 1fr;
  }

  .packaging-types {
    grid-template-columns: 1fr;
  }

  .odm-service-grid {
    grid-template-columns: 1fr;
  }

  .odm-package-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 14px;
  border-radius: 12px;
  z-index: 10;
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
  }
}

/* ===== Video Modal ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  z-index: 1;
}

.video-modal-content video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95vw;
  }

  .video-modal-close {
    top: -40px;
    right: 4px;
  }
}
