/* ============================================================
   GALIMOVO — Global Styles + Animations
   ============================================================ */

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

:root {
  --off-white: #f9f9f9;
  --black: #111111;
  --dark-gray: #333333;
  --gray: #777777;
  --light-gray: #eaeaea;
  --brown: #8b7355;
  --brown-dark: #75603f;
  --white: #ffffff;
  --cream: #f2efe9;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--off-white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 语言切换 ---------- */
body.lang-en .lang-zh { display: none; }
body.lang-zh .lang-en { display: none; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes arrowSlide {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes drawLine {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   SCROLL REVEAL — 滚动进入视口触发
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* 延迟阶梯 */
.stagger > * { transition-delay: 0s; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* 尊重用户减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger > * {
    opacity: 1; transform: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(249,249,249,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(249,249,249,0.98);
  border-bottom-color: var(--light-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--black);
  white-space: nowrap;
  transition: color 0.3s, letter-spacing 0.4s var(--ease-out);
}
.logo:hover { color: var(--brown); letter-spacing: 0.3em; }

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  transition: color 0.25s;
  white-space: nowrap;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brown);
  transition: width 0.35s var(--ease-out);
}
.nav-link:hover { color: var(--brown); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--brown); }
.nav-link.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.lang-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 5px 9px;
  font-family: inherit;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s, transform 0.2s;
}
.lang-btn:hover { color: var(--dark-gray); background: rgba(0,0,0,0.04); }
.lang-btn:active { transform: scale(0.94); }
.lang-btn.active { color: var(--black); font-weight: 700; }
.lang-btn.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(139,115,85,0.12);
  z-index: -1;
}
.lang-divider { color: var(--light-gray); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  transition: 0.35s var(--ease-out);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: #2b2b2b url('../img/hero/hero.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: #2b2b2b url('../img/hero/hero.jpg') center/cover no-repeat;
  animation: heroZoom 2.2s var(--ease-out) forwards;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.72));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
  animation: fadeInUp 1s var(--ease-out) 0.1s both;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  margin-bottom: 32px;
  opacity: 0.92;
  max-width: 720px;
  line-height: 1.7;
  animation: fadeInUp 1s var(--ease-out) 0.3s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 1s var(--ease-out) 0.5s both;
}
.hero-actions.center { justify-content: center; }

/* Hero 底部滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounceDown 2.2s infinite;
  pointer-events: none;
}
.scroll-hint svg { margin: 6px auto 0; }

/* ============================================================
   PAGE HERO
   ============================================================ */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #2b2b2b 0%, #4a4033 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,115,85,0.25), transparent 70%);
  animation: floatY 6s ease-in-out infinite;
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.25;
  animation: fadeInDown 0.9s var(--ease-out) both;
}
.page-hero p {
  position: relative;
  font-size: clamp(14px, 1.5vw, 17px);
  opacity: 0.85;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 0.9s var(--ease-out) 0.15s both;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.55s var(--ease-out), height 0.55s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { width: 320px; height: 320px; }

.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(139,115,85,0.32); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }

.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,255,255,0.2); }

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

/* 箭头滑动 */
.btn .arrow { animation: arrowSlide 1.8s ease-in-out infinite; }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 80px 0; }
.section.cream { background: var(--cream); }
.section.white { background: var(--white); }
.section.dark {
  background: linear-gradient(135deg, #2b2b2b, #4a4033);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section.dark::after {
  content: '';
  position: absolute;
  right: -120px; bottom: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(139,115,85,0.2), transparent 70%);
  pointer-events: none;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-title.center { text-align: center; }

.section-lead {
  font-size: 16px;
  color: var(--dark-gray);
  max-width: 780px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

.section.dark .section-title,
.section.dark .section-lead { color: var(--white); }
.section.dark .section-lead { opacity: 0.88; }

/* ============================================================
   GRIDS
   ============================================================ */

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

/* ============================================================
   CARDS
   ============================================================ */

.card {
  position: relative;
  background: var(--white);
  padding: 30px 26px;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brown), var(--brown-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.08);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #faf7f2, #f2efe9);
  color: var(--brown);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.card:hover .card-icon {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: var(--white);
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s;
}
.card:hover h3 { color: var(--brown); }
.card p { font-size: 14px; color: var(--dark-gray); line-height: 1.7; }

/* ============================================================
   FLOW (Step Process)
   ============================================================ */

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
}
.flow-step {
  position: relative;
  background: var(--white);
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--light-gray);
  min-width: 110px;
  color: var(--black);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.flow-step:hover {
  transform: translateY(-4px);
  border-color: var(--brown);
  box-shadow: 0 12px 28px rgba(139,115,85,0.15);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-size: 22px;
  font-weight: 700;
  animation: arrowSlide 1.8s ease-in-out infinite;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.product-card {
  position: relative;
  background: var(--white);
  padding: 44px 24px;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,115,85,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.product-card:hover {
  border-color: var(--brown);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.product-card:hover::after { opacity: 1; }

.product-card .product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #faf7f2, #f2efe9);
  color: var(--brown);
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease-out), background 0.4s, color 0.4s;
}
.product-card:hover .product-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: var(--white);
}
.product-card .product-icon svg { width: 30px; height: 30px; }

.product-card h3 {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  z-index: 1;
}
.product-card p {
  position: relative;
  font-size: 13px;
  color: var(--gray);
  z-index: 1;
}

/* ============================================================
   STEPS (How We Work)
   ============================================================ */

.steps { list-style: none; }
.steps li {
  position: relative;
  padding: 24px 0 24px 78px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition: padding 0.35s var(--ease-out), background 0.35s;
}
.steps li:hover { padding-left: 90px; background: rgba(139,115,85,0.03); }
.steps li:last-child { border-bottom: none; }

.steps li strong {
  position: absolute;
  left: 0; top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #faf7f2, #f2efe9);
  color: var(--brown);
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.4s var(--ease-out), background 0.4s, color 0.4s;
}
.steps li:hover strong {
  transform: scale(1.08) rotate(-6deg);
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  color: var(--white);
}
.steps li p {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  margin-top: 6px;
}

/* ============================================================
   BLOCKS (For Suppliers)
   ============================================================ */

.block {
  background: var(--white);
  padding: 30px 28px;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  margin-bottom: 20px;
  transition: border-color 0.3s, box-shadow 0.4s;
}
.block:hover {
  border-color: var(--brown);
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
}
.block h3 svg { color: var(--brown); flex-shrink: 0; }

.block ul { list-style: none; }
.block ul li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  color: var(--dark-gray);
  border-bottom: 1px dashed var(--light-gray);
  line-height: 1.6;
  transition: padding 0.3s var(--ease-out), color 0.25s;
}
.block ul li:hover { padding-left: 36px; color: var(--black); }
.block ul li:last-child { border-bottom: none; }
.block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-dark));
  transition: transform 0.3s var(--ease-out);
}
.block ul li::after {
  content: '';
  position: absolute;
  left: 6px; top: 50%;
  width: 6px; height: 3px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translateY(-70%) rotate(-45deg);
}
.block ul li:hover::before { transform: translateY(-50%) scale(1.15); }

/* ============================================================
   DISCLAIMER
   ============================================================ */

.disclaimer {
  margin-top: 20px;
  padding: 16px 20px;
  background: #faf7f2;
  border-left: 3px solid var(--brown);
  font-size: 13.5px;
  color: var(--dark-gray);
  border-radius: 4px;
  line-height: 1.7;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.disclaimer:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(139,115,85,0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(139,115,85,0.15), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col .logo {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
  display: inline-block;
}
.footer-col .logo:hover { color: var(--brown); letter-spacing: 0.32em; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col p { margin-bottom: 6px; line-height: 1.8; }
.footer-col a {
  position: relative;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s;
}
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--brown);
  transition: width 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--white); }
.footer-col a:hover::after { width: 100%; }

.footer-bottom {
  position: relative;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.footer-bottom .copy { margin-top: 12px; }

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(139,115,85,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease-out), background 0.25s;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brown-dark);
  transform: translateY(-3px);
}

/* ============================================================
   ICON COLORS
   ============================================================ */

.icon-brown { color: var(--brown); }
.icon-white { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav-link { font-size: 13px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    animation: fadeInDown 0.35s var(--ease-out);
  }
  .nav.open { display: flex; }
  .nav-link {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--light-gray);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }

  .menu-toggle { display: flex; }

  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-content { padding: 40px 20px; }
  .hero-title { margin-bottom: 18px; }

  .section { padding: 60px 0; }

  .grid-2,
  .grid-4,
  .grid-3 { grid-template-columns: 1fr; }

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

  .steps li {
    padding: 20px 0 20px 66px;
    font-size: 15px;
  }
  .steps li strong { width: 44px; height: 44px; font-size: 16px; top: 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 60px 0 40px; }

  .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .logo { font-size: 17px; letter-spacing: 0.2em; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; padding: 15px 22px; }
  .card { padding: 26px 22px; }
  .block { padding: 24px 20px; }
  .section { padding: 48px 0; }
  .section-lead { margin-bottom: 32px; }
  .card-icon { width: 46px; height: 46px; }
  .card-icon svg { width: 22px; height: 22px; }
}