:root {
  --accent: #0c7a72;
  --accent-hover: #0a635d;
  --text: #16181d;
  --sub: #5e6770;
  --line: #ece7e1;
  --bg: #fffcf8;
  --max: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

header {
  position: fixed; top: 0; width: 100%; height: 72px;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; padding: 0 36px;
}
.logo-img { height: 22px; width: auto; }
.nav-links { display: flex; justify-content: center; gap: 52px; font-weight: 700; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
  background: var(--accent); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.lang-selector { position: relative; justify-self: end; cursor: pointer; font-weight: 700; padding: 10px; }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; min-width: 88px; display: none; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.lang-selector:hover .lang-dropdown, .lang-selector:focus-within .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 10px 12px; text-align: center; font-size: 14px; }
.lang-dropdown a:hover { background: #f4f7f6; color: var(--accent); }

.hero {
  position: relative; height: 100vh; width: 100%;
  background:
    linear-gradient(rgba(10, 28, 30, 0.22), rgba(10, 28, 30, 0.48)),
    url("../images/hero.webp") center / cover no-repeat;
  display: flex; align-items: flex-end; padding-bottom: 12vh;
}
.hero-content { max-width: var(--max); margin: 0 auto; width: 100%; padding: 0 36px; color: #fff; text-align: left; }
.hero-content h1 { font-size: clamp(52px, 8.4vw, 96px); letter-spacing: -2px; margin-bottom: 12px; line-height: 1.02; }
.hero-content p { font-size: 28px; font-weight: 500; margin-bottom: 40px; letter-spacing: 1px; }
.btn-cta {
  display: inline-block; padding: 18px 52px; font-size: 22px; border-radius: 60px;
  background: var(--accent); color: #fff; font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-4px); box-shadow: 0 14px 28px rgba(12, 122, 114, 0.35); }

.section { padding: 92px 20px; max-width: var(--max); margin: 0 auto; }
.comm-header { text-align: center; margin-bottom: 64px; }
.comm-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.comm-header p { color: var(--sub); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 32px; }
.feature-item { text-align: center; }
.feature-img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.feature-item h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.feature-item p { color: var(--sub); font-size: 16px; line-height: 1.75; }

.news-section { background: #fff; padding: 72px 20px 80px; border-top: 1px solid var(--line); }
.news-container { max-width: var(--max); margin: 0 auto; }
.news-container h2 { text-align: center; font-size: 30px; margin-bottom: 32px; font-weight: 800; }
.news-item {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 8px; border-bottom: 1px solid #f0ece7;
}
.news-item:hover { color: var(--accent); background: #f6faf9; }
.news-date { color: #b3aea6; font-size: 14px; flex: none; }

.footer-custom { background: #fbf8f4; border-top: 1px solid var(--line); padding: 56px 0 36px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; }
.footer-top { display: flex; align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-right: 120px; }
.f-logo { background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 800; margin-right: 18px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 14px; font-weight: 650; }
.f-links a { margin-right: 14px; }
.f-links a::after { content: "|"; margin-left: 14px; color: #ddd; }
.f-links a:last-child::after { content: ""; }
.f-links a:hover { color: var(--accent); }
.qr-area { position: absolute; right: 20px; top: -8px; text-align: center; }
.qr-code { width: 88px; height: 88px; border: 1px solid var(--line); padding: 5px; background: #fff; border-radius: 8px; }
.qr-area p { font-size: 12px; color: #998; margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #888; }
.legal-links a { margin-left: 18px; }
.legal-links a:hover { color: var(--accent); }
.family { font-weight: 700; color: #333; }

.page-hero { height: auto; min-height: 78vh; padding-top: 72px; }
.dl-list { max-width: var(--max); margin: 0 auto; padding: 20px 20px 80px; }
.dl-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 8px; border-bottom: 1px solid #f0ece7;
}
.dl-row h3 { font-size: 20px; margin-bottom: 4px; }
.dl-row p { color: var(--sub); font-size: 14px; }
.dl-row .btn-cta { padding: 12px 22px; font-size: 15px; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { grid-template-columns: 1fr 1fr; padding: 0 18px; }
  .nav-links { display: none; }
  .footer-top { flex-wrap: wrap; padding-right: 0; }
  .qr-area { position: static; margin-top: 18px; }
}
@media (max-width: 600px) {
  .logo-img { height: 28px; }
  .hero-content { padding: 0 20px; }
  .hero-content p { font-size: 22px; }
  .btn-cta { padding: 16px 36px; font-size: 18px; }
  .dl-row { flex-direction: column; align-items: flex-start; }
  .dl-row .btn-cta { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta, .nav-links a::after { transition: none; }
}
