:root {
  --color-bg: #0a0a0a;
  --color-accent: #c8302a;
  --color-text: #ffffff;
  --color-text-dim: rgba(255, 255, 255, 0.72);
  --color-text-faint: rgba(255, 255, 255, 0.5);
  --font-sans: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-full {
  height: 38px;
  width: auto;
  /* filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(0, 0, 0, 0.5)); */
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  padding: 12px 0;
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  color: var(--color-text);
  opacity: 0.9;
  /* text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55); */
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.lang-switch {
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
}

.main-nav a.lang-switch::after {
  display: none;
}

.main-nav a.lang-switch:hover {
  border-color: var(--color-accent);
  background: rgba(200, 48, 42, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.4)), url("../images/hero-bg.jpg") center / cover;
  animation: heroBackgroundBreath 9s ease-in-out infinite alternate;
}

.hero-content,
.hero-scroll {
  z-index: 1;
}

.hero-content {
  position: relative;
}

@keyframes heroBackgroundBreath {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: heroFadeUp 1s ease 0.15s both;
}

.hero-content p {
  margin-top: 20px;
  font-size: 22px;
  color: var(--color-text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: heroFadeUp 1s ease 0.4s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--color-text-dim);
  opacity: 0;
  animation: heroFadeIn 1s ease 0.9s both, bounce 2s ease-in-out 1.9s infinite;
}

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

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

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

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

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

.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; }

/* ---------- Section base ---------- */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

/* ---------- Stats / About ---------- */
.about-section {
  background: #000;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-intro {
  flex: 1 1 380px;
}

.about-intro h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-intro p {
  color: var(--color-text);
  font-size: 15px;
  max-width: 460px;
}

.stats-grid {
  flex: 1 1 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.stat-item .num {
  font-size: 40px;
  font-weight: 800;
  color:#c8302a;
}

.stat-item .num .unit {
  font-size: 18px;
  font-weight: 500;
  margin-left: 2px;
}

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

.about-note {
  text-align: center;
  margin-top: 200px;
  font-size: 13px;
  color: var(--color-text-faint);
}

/* ---------- Business ---------- */
.business-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)), url("../images/business-bg.jpg");
  overflow: hidden;
}

.business-section > .container {
  position: relative;
  z-index: 1;
}

.business-background,
.business-background-layer {
  position: absolute;
  inset: 0;
}

.business-background {
  pointer-events: none;
}

.business-background-layer {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.business-background-layer.is-visible {
  opacity: 1;
}

.business-section .section-title {
  margin-bottom: 300px;
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
}

.business-col {
  padding: 0 32px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.business-col:hover,
.business-col.is-active {
  transform: translateY(-6px);
}

.business-col:hover h3,
.business-col.is-active h3 {
  color: var(--color-text);
}

.business-col:first-child {
  border-left: none;
}

.business-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.business-icon img {
  width: 40px;
  height: 40px;
}

.business-col:hover .business-icon,
.business-col.is-active .business-icon {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.business-col h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.business-col.is-main h3 {
  color: var(--color-text);
  /* margin-bottom: 20px; */
}

.business-col p {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 16px;
  height: 112px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.business-col:hover p,
.business-col.is-active p {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Ecosystem / forest ---------- */
.ecosystem-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url("../images/forest-bg.jpg");
  text-align: center;
}

.ecosystem-section h2 {
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.ecosystem-section p {
  margin-top: 18px;
  font-size: 22px;
  color: var(--color-text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- Witness / news + testimonials ---------- */
.witness-section {
  background: #000;
  min-height: 100vh;
  min-height: 100svh;
}

.news-featured {
  display: flex;
  background: #fff;
  color: #111;
  margin-bottom: 24px;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-featured:hover,
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.news-featured .news-thumb,
.news-card .news-thumb {
  overflow: hidden;
}

.news-featured img,
.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover img,
.news-card:hover img {
  transform: scale(1.06);
}

.news-featured .news-thumb {
  flex: 1 1 40%;
}

.news-featured .news-body {
  flex: 1 1 60%;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured .news-body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.news-featured .news-body time {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

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

.news-card {
  display: block;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card .news-thumb {
  aspect-ratio: 334 / 173;
}

.news-card .news-body {
  padding: 20px 24px;
}

.news-card h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 48px;
}

.news-card time {
  display: block;
  margin-top: 14px;
  color: #666;
  font-size: 13px;
}

.testimonial-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: none;
}

.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 auto;
  width: min(440px, 82vw);
  scroll-snap-align: start;
  background: #fff;
  color: #222;
  padding: 40px 36px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.9;
}

.testimonial-card .author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #444;
}

.testimonial-card .author::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #999;
}

/* ---------- CTA ---------- */
.cta-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)), url("../images/cta-bg.jpg");
  text-align: center;
}

.cta-section h2 {
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.cta-section p {
  margin-top: 16px;
  color: var(--color-text);
  font-size: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  padding: 64px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  flex: 1 1 260px;
  max-width: 320px;
}

.footer-tagline {
  margin-top: 55px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-faint);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-nav a {
  color: var(--color-text-dim);
  font-size: 15px;
}

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

.footer-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-text-dim);
}

.footer-contact .contact-line .pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-contact .contact-line .pin svg {
  width: 14px;
  height: 14px;
}

.footer-qrcodes {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.qr-code {
  width: 90px;
  height: 90px;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
}

.qr-item {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-faint);
}

.qr-item span {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-faint);
}

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative;
  padding: 220px 0 140px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(10, 10, 10, 0.85)), url("../images/contact-hero-bg.jpg");
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 38px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.contact-hero h2 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-dim);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.contact-section {
  position: relative;
  background:#0a0a0a;
  padding-top: 90px;
  padding-bottom: 120px;
}

.contact-layout {
  display: flex;
  justify-content: center;
}

.contact-form-wrap {
  width: 100%;
  max-width: 720px;
  background: #fff;
  color: #111;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.contact-form-wrap h2 {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-left: 16px;
}

.contact-form-wrap h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--color-accent);
}

.partner-tabs {
  display: flex;
  gap: 4px;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
}

.partner-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.partner-tab.active {
  background: #fff;
  color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 48, 42, 0.12);
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  color: #111;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select:invalid {
  color: #999;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-group label:has(input:checked) {
  border-color: var(--color-accent);
  background: rgba(200, 48, 42, 0.06);
  color: var(--color-accent);
}

.submit-btn {
  margin-top: 8px;
  padding: 14px 36px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(200, 48, 42, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(200, 48, 42, 0.4);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.success {
  color: #2a9d5c;
}

.form-message.error {
  color: var(--color-accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .business-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .business-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 32px;
  }

  .business-col:first-child {
    border-top: none;
    padding-top: 0;
  }

  .business-col p {
    height: auto;
    max-height: none;
    opacity: 1;
    margin-top: 12px;
    transform: none;
  }

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

  .footer-grid {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.97);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px;
  }

  .main-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a.lang-switch {
    display: inline-block;
    margin: 12px 0 4px;
    padding: 8px 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .about-grid {
    gap: 40px;
  }

  .stats-grid {
    gap: 32px;
  }

  .stat-item .num {
    font-size: 32px;
  }

  .news-featured {
    flex-direction: column;
  }

  .news-featured .news-thumb {
    aspect-ratio: 334 / 173;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

  .contact-hero {
    padding: 108px 0 32px;
  }

  .contact-hero::after {
    height: 64px;
  }

  .contact-hero h1 {
    font-size: 26px;
  }

  .contact-hero h2 {
    font-size: 14px;
  }

  .contact-section {
    padding-top: 28px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-content h1,
  .hero-content p,
  .hero-scroll,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
