/* ============================================
   云木空间 YUNMU SPACE - Main Stylesheet
   ============================================ */

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

:root {
  /* Brand Colors */
  --brand: #2D5F3E;
  --brand-light: #3A7A50;
  --brand-dark: #1E4029;
  --wood: #C4A57C;
  --wood-light: #D4BC9A;
  --wood-dark: #A88B5E;
  --gold: #B8956A;
  --surface: #FAFAF7;
  --surface-dark: #1A1A1A;
  --text: #1C1C1C;
  --text-secondary: #6B6B6B;
  --border: #E5E2DC;
  --white: #FFFFFF;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --container-px: clamp(1.5rem, 4vw, 2rem);

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.8;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--surface);
  line-height: var(--line-height-base);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s var(--ease);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--duration) var(--ease);
}

.logo:hover { transform: scale(1.02); }

.logo-img {
  width: 100px;
  /* height: 40px; */
  object-fit: contain;
  flex-shrink: 0;
}

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

.logo-cn {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.header.scrolled .logo-cn { color: var(--text); }

.logo-en {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration) var(--ease);
}

.header.scrolled .logo-en { color: var(--text-secondary); }

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width var(--duration) var(--ease);
}

.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--white); }

.header.scrolled .nav-desktop a { color: var(--text-secondary); }
.header.scrolled .nav-desktop a:hover { color: var(--brand); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--duration) var(--ease);
}

.lang-toggle:hover {
  border-color: var(--white);
  color: var(--white);
}

.header.scrolled .lang-toggle {
  color: var(--text-secondary);
  border-color: var(--border);
}

.header.scrolled .lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.header.scrolled .mobile-menu-toggle { color: var(--text); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
      background: #fff;
    position: absolute;
    top: 80px;
    right: -18px;
    width: 160px;
}

.nav-mobile.active { display: flex; }

.nav-mobile a {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}

.nav-mobile a:hover {
  background: var(--surface);
  color: var(--brand);
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(45, 95, 62, 0.75) 0%, rgba(26, 26, 26, 0.6) 100%),
    url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 95, 62, 0.3);
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-secondary:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-full { width: 100%; }

/* === Section Common === */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 8px auto 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === Video Section === */
.video-section {
  padding: var(--section-py) 0;
  background: var(--surface-dark);
}

.video-section .section-tag { color: var(--wood-light); }
.video-section .section-tag::after { background: var(--gold); }
.video-section .section-title { color: var(--white); }
.video-section .section-subtitle { color: rgba(255, 255, 255, 0.6); }

.video-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.brand-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === About Section === */
.about-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.about-desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  text-align: center;
  line-height: 2;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform var(--duration) var(--ease);
}

.stat-item:hover { transform: translateY(-4px); }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 0.5em;
  color: var(--gold);
}

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

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  transition: all var(--duration) var(--ease);
  border: 1px solid transparent;
}

.value-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(45, 95, 62, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand);
}

.value-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.value-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* === Timeline Section === */
.timeline-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--surface);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-year {
  width: calc(50% - 40px);
  text-align: right;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--brand);
  letter-spacing: -0.02em;
  padding-right: 0;
}

.timeline-content {
  width: calc(50% - 40px);
  margin-left: auto;
  padding-left: 40px;
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

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

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column; padding-left: 50px; }
  .timeline-item::before { left: 20px; }
  .timeline-year { width: auto; text-align: left; margin-bottom: 8px; }
  .timeline-content { width: auto; padding-left: 0; }
}

/* === Projects Section === */
.projects-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  aspect-ratio: 4 / 3;
  display: flex;
    justify-content: center;
    align-items: center;
  background-image: url('../assets/bei.png');
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
  z-index: 2;
}

.project-card img {
  display: block;
  width: 80%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .project-card { border-radius: 6px; }
}

/* Projects Marquee */
.projects-marquee {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  height: 66px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.marquee-item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: scale(1.02);
}

.marquee-item img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .marquee-item { height: 160px; }
  .marquee-track { gap: 16px; animation-duration: 32s; }
}

@media (max-width: 768px) {
  .marquee-item { height: 130px; }
  .marquee-track { gap: 12px; animation-duration: 24s; }
  .projects-marquee { margin-top: 28px; }
}

@media (max-width: 480px) {
  .marquee-item { height: 100px; }
  .marquee-track { gap: 10px; animation-duration: 18s; }
  .marquee-item { border-radius: 6px; }
}

/* === Certifications Section === */
.certifications-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.cert-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.cert-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.cert-item {
  position: relative;
  width: 180px;
  height: 255px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}

.cert-item:not(:first-child) {
  margin-left: -40px;
}

.cert-item:hover,
.cert-item.active {
  transform: scale(2);
  z-index: 100;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cert-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .cert-item { width: 100px; height: 133px; }
  .cert-item:not(:first-child) { margin-left: -33px; }
}

@media (max-width: 768px) {
  .cert-item { width: 70px; height: 93px; }
  .cert-item:not(:first-child) { margin-left: -24px; }
  .cert-rows { gap: 24px; }
  .cert-item:hover,
  .cert-item.active { transform: scale(4.15); }
}

@media (max-width: 480px) {
  .cert-item { width: 50px; height: 67px; }
  .cert-item:not(:first-child) { margin-left: -17px; }
}

.clients-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all var(--duration) var(--ease);
  border: 1px solid transparent;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: transform var(--duration) var(--ease);
}

.product-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  transition: color var(--duration) var(--ease);
}

.product-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.product-card:hover h3 {
  color: var(--brand);
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product-card img { height: 140px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 12px; }
  .product-card img { height: 120px; }
  .product-card h3 { font-size: 13px; }
}



/* === Materials Section === */
.materials-section {
  padding: var(--section-py) 0;
  background: var(--surface);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.material-card {
  padding: 40px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.material-card:hover {
  border-color: var(--wood);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 165, 124, 0.12);
}

.material-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(196, 165, 124, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--wood-dark);
}

.material-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.material-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* === Contact Section === */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Form */
.contact-form {
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-group:last-child { margin-bottom: 24px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 14px;
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

/* Contact Info */
.contact-info {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  color: var(--white);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.info-item:last-child { margin-bottom: 0; }

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--wood-light);
}

.info-item h4 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  padding-top: 12px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* === Footer === */
.footer {
  background: var(--surface-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-img {
  width: 100px;
  /* height: 40px; */
  object-fit: contain;
}

.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo-cn {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.footer-logo .logo-en {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--duration) var(--ease);
}

.social-link:hover {
  border-color: var(--brand);
  background: rgba(45, 95, 62, 0.1);
  color: var(--brand-light);
}

.footer-links h4,
.footer-services h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-services li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-certs {
  display: flex;
  gap: 24px;
}

.footer-certs span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Stagger children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Custom Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--wood); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wood-dark); }

/* === Selection === */
::selection {
  background: rgba(45, 95, 62, 0.15);
  color: var(--brand-dark);
}
