/* ============================================================
   能荣志合官网 - 全站样式
   nengrongzhihe.com
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --c-dark: #1a1a2e;
  --c-blue: #1a365d;
  --c-blue-light: #2a4a7f;
  --c-gold: #c8963e;
  --c-gold-light: #e8c97a;
  --c-gold-pale: #fdf6e8;
  --c-white: #ffffff;
  --c-gray-50: #f8f9fa;
  --c-gray-100: #f0f2f5;
  --c-gray-200: #e2e6ea;
  --c-gray-300: #c5cdd5;
  --c-gray-500: #6b7280;
  --c-gray-700: #374151;
  --c-gray-900: #111827;
  --c-text: #2d3436;
  --c-text-light: #636e72;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Fira Code", monospace;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --nav-height: 72px;

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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--c-dark); }
h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--c-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-gold { color: var(--c-gold); }
.text-blue { color: var(--c-blue); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-gray-200);
  z-index: 1000;
  transition: box-shadow .3s var(--ease-out);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-blue);
}
.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--c-gray-700);
  transition: all .2s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--c-blue);
  background: var(--c-gray-50);
}
.nav-links a.btn-nav {
  background: var(--c-gold);
  color: var(--c-white);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-links a.btn-nav:hover {
  background: #b8862d;
  color: var(--c-white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  background: linear-gradient(160deg, #f8fafc 0%, #edf2f7 40%, #e8ecf1 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,150,62,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,54,93,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-content h1 { margin-bottom: 1rem; }
.hero-content h1 span { display: block; }
.hero-content h1 .brand {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .hero-tagline {
  font-size: 1.2rem;
  color: var(--c-gray-500);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btns .btn {
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all .25s var(--ease-out);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,54,93,.25);
}
.btn-secondary {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-blue) !important;
}
.btn-secondary:hover {
  background: var(--c-blue);
  color: var(--c-white);
}
.btn-gold {
  background: var(--c-gold);
  color: var(--c-white);
}
.btn-gold:hover {
  background: #b8862d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,150,62,.3);
}
.btn-white {
  background: var(--c-white);
  color: var(--c-blue);
  border: 2px solid var(--c-gray-200);
}
.btn-white:hover {
  border-color: var(--c-blue);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 5rem 1.5rem;
}
.section-alt {
  background: var(--c-gray-50);
}

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

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.stats-bar .stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.stats-bar .stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--c-gray-200);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1.1;
}
.stat-number .unit {
  font-size: 1.2rem;
  font-weight: 600;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--c-gray-500);
  margin-top: 0.3rem;
}

/* --- Culture Grid --- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.culture-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all .3s var(--ease-out);
}
.culture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold-light);
}
.culture-card .culture-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--c-gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-gold);
}
.culture-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.culture-card p { color: var(--c-text-light); font-size: 0.93rem; }

.culture-motto {
  text-align: center;
  margin-top: 2rem;
}
.culture-motto blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-blue);
  font-style: normal;
  border-left: 4px solid var(--c-gold);
  padding-left: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

/* --- Vision Cards --- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.vision-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--c-blue);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease-out);
}
.vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vision-card h3 { color: var(--c-blue); margin-bottom: 0.5rem; }
.vision-card p { color: var(--c-text-light); font-size: 0.93rem; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-200);
  transition: all .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-gold-light);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card .service-desc { color: var(--c-text-light); margin-bottom: 1rem; font-size: 0.95rem; }
.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: var(--c-gray-50);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--c-gray-500);
  border: 1px solid var(--c-gray-200);
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--c-blue);
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.service-link:hover { border-color: var(--c-blue); }

/* ============================================================
   MINGRENTAI SECTION
   ============================================================ */
.mingrentai-section {
  background: linear-gradient(135deg, var(--c-dark) 0%, #16213e 100%);
  color: var(--c-white);
}
.mingrentai-section .section-title { color: var(--c-white); }
.mingrentai-section .section-subtitle { color: rgba(255,255,255,.6); }

.mingrentai-badge {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-dark);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.mingrentai-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-gold-light);
  text-align: center;
  margin-bottom: 1.5rem;
}
.mingrentai-subquote {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.mingrentai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.mingrentai-feature {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all .3s;
}
.mingrentai-feature:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-gold);
}
.mingrentai-feature .mf-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.mingrentai-feature h3 { color: var(--c-white); margin-bottom: 0.4rem; }
.mingrentai-feature p { color: rgba(255,255,255,.5); font-size: 0.9rem; }

.mingrentai-cta { text-align: center; }

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.ecosystem-scenes { display: flex; flex-direction: column; gap: 2.5rem; }

.eco-scene { }
.eco-scene h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-gray-200);
}
.eco-scene h3 .scene-icon { font-size: 1.3rem; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.eco-item {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  transition: all .25s;
}
.eco-item:hover {
  border-color: var(--c-gold-light);
  box-shadow: var(--shadow-sm);
}
.eco-item h5 { font-size: 0.95rem; color: var(--c-blue); margin-bottom: 0.25rem; }
.eco-item p { font-size: 0.85rem; color: var(--c-text-light); }

.eco-disclaimer {
  text-align: center;
  color: var(--c-gray-500);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-block {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.founder-photo {
  flex-shrink: 0;
  width: 280px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text { flex: 1; }
.founder-text .founder-name { font-size: 1.5rem; font-weight: 700; color: var(--c-blue); margin-bottom: 0.25rem; }
.founder-text .founder-title { color: var(--c-text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.founder-text p { margin-bottom: 1rem; line-height: 1.85; }

.founder-quote {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--c-gold-pale), #fef9f0);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--c-gold);
}
.founder-quote p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-blue);
  margin: 0;
}

/* ============================================================
   CTA + FORM
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--c-blue) 0%, #0f2745 100%);
  color: var(--c-white);
}
.cta-section .section-title { color: var(--c-white); }
.cta-section .section-subtitle { color: rgba(255,255,255,.65); }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form .full-width { grid-column: 1 / -1; }

.form-group { }
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  color: var(--c-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(255,255,255,.12);
}
.form-group select option { color: var(--c-dark); background: var(--c-white); }

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 0.5rem;
}
.form-submit .btn {
  padding: 0.85rem 3rem;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  transition: all .25s;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--c-gold-light);
  font-size: 1.1rem;
}
.form-success.show { display: block; }

/* ============================================================
   FOOTER FRIENDS LINKS
   ============================================================ */
.footer-friends {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
}
.footer-friends .friends-label {
  color: rgba(255,255,255,.5);
}
.footer-friends a {
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-friends a:hover {
  color: var(--c-gold-light);
}
.footer-friends .friends-sep {
  margin: 0 0.35rem;
  color: rgba(255,255,255,.25);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.6);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-info h4 {
  color: var(--c-white);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.footer-info p { font-size: 0.9rem; line-height: 2; }
.footer-links h4 {
  color: var(--c-white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--c-gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--c-gold-light); }

/* ============================================================
   PAGE HEADER (Sub pages)
   ============================================================ */
.page-header {
  padding: calc(var(--nav-height) + 4rem) 1.5rem 3rem;
  background: linear-gradient(160deg, #f8fafc 0%, #edf2f7 100%);
  text-align: center;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--c-text-light); font-size: 1.05rem; }

.page-content { padding: 4rem 1.5rem; }
.page-content .container { max-width: 800px; }

/* --- Sub Page Styles --- */
.service-detail { margin-bottom: 4rem; }
.service-detail:last-child { margin-bottom: 0; }
.service-detail h2 {
  font-size: 1.6rem;
  color: var(--c-blue);
  margin-bottom: 0.4rem;
}
.service-detail .sd-subtitle {
  color: var(--c-gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.service-detail p { margin-bottom: 0.75rem; }
.service-detail ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.service-detail ul li { margin-bottom: 0.4rem; }

/* Contact Page */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-info-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-gray-200);
}
.contact-info-card .ci-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.contact-info-card p { color: var(--c-text-light); font-size: 0.9rem; }

.contact-form-section {
  max-width: 680px;
  margin: 0 auto;
}

/* About page */
.about-culture-detail { margin-bottom: 3rem; }
.about-culture-detail h2 { color: var(--c-blue); margin-bottom: 1.5rem; }
.about-culture-detail .timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--c-gray-200);
  border-bottom: 1px solid var(--c-gray-200);
}
.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.timeline-item + .timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 2px;
  background: var(--c-gray-200);
}
.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--c-gold);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  text-align: center;
  padding: calc(var(--nav-height) + 6rem) 1.5rem 6rem;
}
.error-page h1 {
  font-size: 6rem;
  color: var(--c-blue);
  margin-bottom: 0.5rem;
}
.error-page p {
  font-size: 1.15rem;
  color: var(--c-text-light);
  margin-bottom: 2rem;
}

/* ============================================================
   FLOATING WECHAT
   ============================================================ */
.floating-wx {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.floating-wx-btn {
  width: 52px;
  height: 52px;
  background: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all .25s;
  border: none;
}
.floating-wx-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}
.floating-wx-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--c-white);
}
.floating-wx-popup {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 220px;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 1rem;
  text-align: center;
  display: none;
}
.floating-wx-popup.show { display: block; }
.floating-wx-popup img {
  width: 160px;
  height: 160px;
  margin: 0 auto 0.5rem;
  border-radius: var(--radius-sm);
}
.floating-wx-popup p {
  font-size: 0.85rem;
  color: var(--c-gray-500);
}
.floating-wx-popup .wx-id {
  font-weight: 700;
  color: var(--c-blue);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE - Tablet (768-1023px)
   ============================================================ */
@media (max-width: 1023px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .culture-grid,
  .vision-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .founder-block {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .founder-photo { width: 220px; height: 300px; }
  .founder-quote { text-align: center; border-left: none; border-top: 4px solid var(--c-gold); }

  .contact-info-cards { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .mingrentai-features { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE - Mobile (<768px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --nav-height: 60px; }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--c-white);
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 2rem;
  }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content h1 .brand { font-size: 2.4rem; }
  .hero-content .hero-tagline { font-size: 1rem; }

  /* Stats */
  .stats-bar { flex-wrap: wrap; border-radius: var(--radius-md); margin: -30px 1rem 0; }
  .stats-bar .stat-item { flex: 1 1 50%; padding: 1.25rem 0.75rem; }
  .stats-bar .stat-item:nth-child(2)::before { display: none; }
  .stats-bar .stat-item:nth-child(3)::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: var(--c-gray-200); }
  .stat-number { font-size: 1.8rem; }

  /* Grids */
  .culture-grid,
  .vision-grid,
  .contact-info-cards { grid-template-columns: 1fr; }

  .service-card { padding: 2rem 1.5rem; }

  /* Form */
  .contact-form { grid-template-columns: 1fr; }

  /* Founder */
  .founder-block { gap: 1.5rem; }
  .founder-photo { width: 180px; height: 250px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }

  /* Eco */
  .eco-grid { grid-template-columns: 1fr; }

  /* Page */
  .page-header { padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem; }
  .page-content { padding: 2rem 1.5rem; }

  /* Error */
  .error-page h1 { font-size: 4rem; }

  /* Floating */
  .floating-wx { bottom: 16px; right: 16px; }
  .floating-wx-btn { width: 44px; height: 44px; }
}
