/* =====================================================
   多语言官方网站 - 全站样式（v2）
   Editorial aesthetic：柔和的中性色调、大行距、精致排版。
   ===================================================== */

:root {
  --color-bg: #fbfaf7;
  --bg-soft: #f3f0ea;
  --color-ink: #1d1d1f;
  --color-muted: #6b6b73;
  --color-line: #e9e5dc;
  --color-card: #ffffff;
  --color-header-bg: rgba(251,250,247,.85);
  --color-header-bg-solid: rgba(251,250,247,.97);
  --color-primary: #2c3a2e;      /* 森林深绿 */
  --color-primary-hover: #1f2b21;
  --color-accent: #c8a96b;       /* 金棕色 */
  --color-accent-hover: #d7b97b;
  --color-danger: #b33a3a;
  --color-success: #2f6e49;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(29,29,31,.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,.05), 0 12px 32px rgba(29,29,31,.06);
  --focus-ring: rgba(44,58,46,.12);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;

  color-scheme: light;
}

/* 深色模式变量（两种触发方式，二选一即可生效）
 * ① mode=auto 跟随系统：@media (prefers-color-scheme: dark)
 * ② mode=light/dark 强制：<html data-theme="dark">
 */
:root[data-theme="dark"] {
  --color-bg: #16171a;
  --bg-soft: #1f2126;
  --color-ink: #f3f0ea;
  --color-muted: #a8a6ad;
  --color-line: #2c2e34;
  --color-card: #1d1f24;
  --color-header-bg: rgba(22,23,26,.85);
  --color-header-bg-solid: rgba(22,23,26,.97);
  --color-primary: #87a78a;
  --color-primary-hover: #97b79a;
  --color-accent: #d7b97b;
  --color-accent-hover: #e7c98b;
  --focus-ring: rgba(135,167,138,.22);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #16171a;
    --bg-soft: #1f2126;
    --color-ink: #f3f0ea;
    --color-muted: #a8a6ad;
    --color-line: #2c2e34;
    --color-card: #1d1f24;
    --color-header-bg: rgba(22,23,26,.85);
    --color-header-bg-solid: rgba(22,23,26,.97);
    --color-primary: #87a78a;
    --color-primary-hover: #97b79a;
    --color-accent: #d7b97b;
    --color-accent-hover: #e7c98b;
    --focus-ring: rgba(135,167,138,.22);
    color-scheme: dark;
  }
}

/* ------ Reset ------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .6em; line-height: 1.25; font-family: var(--font-serif); letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }

/* ------ Utility ------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.small  { font-size: .88rem; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--color-ink); color: #fff; padding: .5rem .8rem; z-index: 9999; border-radius: var(--radius-sm); }

/* ------ Buttons ------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.3rem; font-weight: 600; border-radius: 999px;
  border: 1px solid transparent; transition: all .2s ease;
  cursor: pointer; text-decoration: none; font-size: .95rem;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn-ghost:hover { border-color: var(--color-ink); color: var(--color-ink); background: color-mix(in srgb, var(--color-ink) 3%, transparent); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1rem; }

/* ------ Cards ------ */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }

/* ------ Grid helpers ------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ------ Header / Nav ------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.site-header.scrolled { background: var(--color-header-bg-solid); border-bottom-color: var(--color-line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-family: var(--font-serif); font-size: 1.2rem; }
.brand-logo { height: 32px; width: auto; }
.site-nav ul { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--color-ink); opacity: .85; font-weight: 500;
  padding: .5rem 0; position: relative;
}
.site-nav a:hover { opacity: 1; color: var(--color-ink); }
.nav-item.active > a { opacity: 1; color: var(--color-primary); }
.nav-item.active > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-accent); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-search input[type=search] {
  padding: .45rem .8rem; border: 1px solid var(--color-line); background: transparent; color: var(--color-ink);
  border-radius: 999px; font-size: .88rem; width: 180px; transition: width .2s, box-shadow .2s;
}
.nav-search input[type=search]:focus { width: 220px; outline: none; box-shadow: 0 0 0 3px rgba(44,58,46,.12); }
.lang-switch select {
  padding: .45rem .8rem; border: 1px solid var(--color-line); background: transparent;
  border-radius: 999px; font-size: .88rem; color: var(--color-ink);
}
.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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); }

@media (max-width: 980px) {
  .nav-search { display: none; }
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; padding: 1rem 0; }
  .site-nav li { padding: 0 var(--gutter); }
}

/* ------ Page hero (internal pages) ------ */
.page-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-soft), var(--color-bg));
  border-bottom: 1px solid var(--color-line);
}
.page-hero h1 { margin-top: .5rem; }
.page-hero .lead { color: var(--color-muted); font-size: 1.1rem; max-width: 60ch; }

/* ------ Breadcrumb ------ */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .88rem; color: var(--color-muted); }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; opacity: .6; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .active { color: var(--color-ink); font-weight: 600; }

/* ------ Hero module ------ */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-soft), var(--color-bg));
  border-bottom: 1px solid var(--color-line);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; margin-bottom: 1rem;
}
.hero-title { margin-bottom: 1.25rem; line-height: 1.15; }
.hero-subtitle { color: var(--color-muted); font-size: 1.15rem; margin-bottom: 2rem; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

/* ------ Sections (default container) ------ */
.section { padding: 5rem 0; }
.section-head { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.section-head.row-between { margin-left: 0; margin-right: 0; text-align: left; max-width: none; }
.section-title { color: var(--color-ink); }
.section-subtitle { color: var(--color-muted); }
.about-section { background: var(--bg-soft); }

/* ------ About ------ */
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }
.prose { font-size: 1.02rem; }
.prose p { margin-bottom: 1.1rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.6rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; list-style: disc; margin-bottom: 1rem; }
.prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--color-accent); padding: .2rem 0 .2rem 1rem; color: var(--color-muted); margin: 1.2rem 0; }
.prose a { color: var(--color-primary); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-item { padding: .8rem; }
.stat-num { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--color-primary); }
.stat-num .suffix { font-size: 1.1rem; margin-left: 2px; }
.stat-label { color: var(--color-muted); font-size: .88rem; }
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ------ Features ------ */
.features-grid { margin-top: 2rem; }
.feature-card { text-align: center; }
.feature-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem;
}

/* ------ Gallery (services/products) ------ */
.gallery-grid { margin-top: 1rem; }
.gallery-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.gallery-card:hover { color: inherit; }
.gallery-cover { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover .gallery-cover img { transform: scale(1.05); }
.gallery-body { padding: 1.3rem 1.4rem 1.6rem; }
.gallery-body h3 { margin-bottom: .3rem; }
.gallery-body p { color: var(--color-muted); margin: 0; }

/* ------ Placeholder image ------ */
.placeholder-img {
  width: 100%; aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 10px, rgba(0,0,0,.02) 10px, rgba(0,0,0,.02) 20px);
  display: flex; align-items: center; justify-content: center; color: var(--color-muted); font-family: var(--font-serif); letter-spacing: .1em;
}
.placeholder-img.small { aspect-ratio: 16/10; font-size: .9rem; }

/* ------ Team ------ */
.team-grid { margin-top: 2rem; }
.team-card { text-align: center; }
.team-avatar { width: 140px; height: 140px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: var(--bg-soft); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--color-primary); background: var(--bg-soft);
}
.team-card h4 { margin-bottom: .2rem; font-family: var(--font-sans); }
.team-card .role { color: var(--color-muted); font-size: .9rem; margin: 0; }

/* ------ News ------ */
.news-grid { margin-top: 1rem; }
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.news-card:hover { color: inherit; }
.news-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-body { padding: 1.2rem 1.3rem 1.5rem; }
.news-meta { color: var(--color-muted); font-size: .82rem; margin-bottom: .6rem; }
.news-meta .sep { margin: 0 .4rem; opacity: .5; }
.news-body h3 { margin-bottom: .4rem; line-height: 1.35; }
.news-body p { color: var(--color-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ------ Testimonials ------ */
.testimonial-grid { margin-top: 2rem; }
.testimonial-card .quote { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.2rem; }
.t-author { display: flex; align-items: center; gap: .8rem; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--bg-soft); flex: none; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-info h5 { margin: 0; font-family: var(--font-sans); font-size: .95rem; }
.t-info span { color: var(--color-muted); font-size: .82rem; }

/* ------ Brands ------ */
.brands-section { padding: 4rem 0; }
.brands-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; margin-top: 2rem; align-items: center; }
.brand-item {
  height: 80px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-card);
  opacity: .8; transition: opacity .2s, border-color .2s, transform .2s;
}
.brand-item:hover { opacity: 1; border-color: var(--color-primary); transform: translateY(-2px); }
.brand-item img { max-height: 42px; filter: grayscale(1); transition: filter .2s; }
.brand-item:hover img { filter: none; }
.brand-name { color: var(--color-muted); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 900px) { .brands-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .brands-row { grid-template-columns: repeat(2, 1fr); } }

/* ------ CTA banner ------ */
.cta-section { background: var(--color-primary); color: #fff; padding: 4rem 0; }
.cta-section h2 { color: #fff; margin: 0 0 .4rem; }
.cta-section p { color: rgba(255,255,255,.85); margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner .btn-primary { background: var(--color-accent); color: #1d1d1f; }
.cta-inner .btn-primary:hover { background: var(--color-accent-hover); color: #1d1d1f; }

/* ------ Contact info section ------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.info-list { display: flex; flex-direction: column; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ico { font-size: 1.4rem; }
.info-list b { display: block; margin-bottom: .2rem; font-size: .9rem; letter-spacing: .02em; }
.info-list p { margin: 0; color: var(--color-ink); }
.contact-map iframe { width: 100%; height: 360px; border-radius: var(--radius); border: 1px solid var(--color-line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------ Contact form ------ */
.contact-form-section { padding-top: 3rem; padding-bottom: 5rem; }
.contact-form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.form-card { background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 2rem; }
.form-side { padding: 1rem .5rem; }
.form-side h3 { margin-bottom: 1rem; }
.direct-list { display: flex; flex-direction: column; gap: .8rem; color: var(--color-muted); }
.direct-list b { display: inline-block; min-width: 4.5rem; color: var(--color-ink); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field-label { display: block; font-size: .85rem; color: var(--color-muted); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--color-line); background: transparent; color: var(--color-ink);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--focus-ring);
}
.form-actions { margin-top: 1rem; }
.alert { padding: 1rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; line-height: 1.55; }
.alert.success { background: rgba(47, 110, 73, .08); color: var(--color-success); border: 1px solid rgba(47,110,73,.25); }
.alert.error { background: rgba(179, 58, 58, .08); color: var(--color-danger); border: 1px solid rgba(179,58,58,.25); }
@media (max-width: 900px) { .contact-form-grid { grid-template-columns: 1fr; } .form-row-2 { grid-template-columns: 1fr; } }

/* ------ Search page ------ */
.search-big { display: flex; gap: .6rem; margin-top: 1.5rem; max-width: 640px; }
.search-big input {
  flex: 1; padding: .9rem 1.1rem; border: 1px solid var(--color-line); background: transparent; color: var(--color-ink);
  border-radius: 999px; font-size: 1rem;
}
.search-big input:focus { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); border-color: var(--color-primary); }
.search-results { padding-top: 1rem; }
.result-list { display: flex; flex-direction: column; gap: 1.2rem; }
.result-list li {
  background: var(--color-card); border: 1px solid var(--color-line); padding: 1.2rem 1.4rem; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.result-list li:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.tag {
  display: inline-block; background: var(--bg-soft); color: var(--color-primary);
  font-size: .72rem; padding: .15rem .55rem; border-radius: 999px; margin-bottom: .5rem; font-weight: 600; letter-spacing: .04em;
}
.result-list h3 { margin: .2rem 0 .35rem; font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; }
.result-list h3:hover { color: var(--color-primary); }
.result-list .snippet { color: var(--color-muted); margin: 0; }

/* ------ Pagination ------ */
.pagination ul { display: inline-flex; gap: .35rem; flex-wrap: wrap; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--color-line); background: var(--color-card); color: var(--color-ink); font-size: .92rem; transition: all .15s;
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active a { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ------ Article (新闻详情) ------ */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 2.5rem; }
.article-title { margin-bottom: .8rem; }
.article-meta { color: var(--color-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.article-meta .sep { margin: 0 .5rem; opacity: .6; }
.article-cover { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-excerpt { font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-muted); font-style: italic; border-left: 3px solid var(--color-accent); padding: .2rem 0 .2rem 1.2rem; margin: 1.2rem 0; }
.article-body .prose { font-size: 1.05rem; }
.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-line); }

/* ------ Section general ------ */
.section-general .section-title { margin-bottom: 1.5rem; }
.section-image { max-width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }

/* ------ Footer ------ */
.site-footer { border-top: 1px solid var(--color-line); margin-top: 0; background: var(--bg-soft); }
.footer-main { padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.5rem; }
.footer-col h5 { font-family: var(--font-sans); font-size: .95rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer-col p { color: var(--color-muted); font-size: .92rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; color: var(--color-muted); font-size: .92rem; }
.footer-col ul li a:hover { color: var(--color-primary); }
.social-list { flex-direction: row !important; gap: 1rem !important; margin-top: .5rem; }
.social-list a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; padding: .3rem .8rem; height: 36px; border-radius: 999px; border: 1px solid var(--color-line); background: var(--color-card); font-size: .82rem;
}
.social-list a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-line); padding: 1.2rem 0; font-size: .85rem; color: var(--color-muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------ Scroll animation ------ */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-in { opacity: 1; transform: translateY(0); }
