:root {
    --navy: #09101A;
    --navy-mid: #111C2B;
    --navy-light: #1A2A40;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dim: rgba(212,175,55,0.15);
    --white: #FDFBF7;
    --white-dim: rgba(253,251,247,0.7);
    --border: rgba(212,175,55,0.25);
  }

  /* 移除移动端点击蓝框 */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; line-height: 1.7; }

  /* ── NAV ── */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 60px; display: flex; align-items: center; justify-content: space-between; background: rgba(9,16,26,0.95); border-bottom: 1px solid var(--border); transition: padding 0.3s; }
  .nav-logo { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--white); white-space: nowrap; }
  .nav-logo span { color: var(--gold); }
  
  /* 右侧控制区包含链接、语言切换和汉堡菜单 */
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .nav-links { display: flex; gap: 20px; align-items: center; list-style: none; }
  .nav-links a { color: var(--white-dim); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s; }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta { background: var(--gold); color: var(--navy) !important; padding: 10px 24px !important; border-radius: 4px; font-weight: 700 !important; }
  .nav-cta:hover { background: var(--gold-light); }

  /* 语言切换器样式（常驻顶部） */
  .lang-select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
  }
  .lang-select:hover { border-color: var(--gold); color: var(--gold); }
  .lang-select option { background: var(--navy); color: var(--white); }

  /* ── HERO ── */
  .hero { min-height: 100vh; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 120px 60px 80px; position: relative; }
  .hero::after { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000') center/cover; opacity: 0.15; z-index: 0; }
  .hero-content { position: relative; z-index: 2; max-width: 650px; align-self: center; }
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; font-weight: 700; }
  .hero-eyebrow::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); }
  .hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(48px, 6vw, 80px); font-weight: 900; line-height: 1.1; margin-bottom: 30px; }
  .hero h1 em { font-style: italic; color: var(--gold); }
  .hero p { font-size: 18px; color: var(--white-dim); max-width: 600px; margin-bottom: 40px; line-height: 1.8; }
  .btn-primary { background: var(--gold); color: var(--navy); padding: 16px 36px; border-radius: 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: 0.3s; z-index: 2; position: relative;}
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-primary:active { transform: scale(0.95); }

  .hero-stats { z-index: 2; display: flex; gap: 50px; background: rgba(17,28,43,0.8); padding: 30px 50px; border: 1px solid var(--border); border-radius: 8px; backdrop-filter: blur(5px); align-self: flex-end;}
  .stat-num { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; color: var(--gold); line-height: 1; display: block; }
  .stat-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-top: 8px; display: block; font-weight: 500;}

  /* ── MARQUEE ── */
  .marquee-strip { background: var(--gold); padding: 15px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 10; }
  .marquee-track { display: inline-block; animation: marquee 35s linear infinite; }
  .marquee-item { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy); padding: 0 40px; }
  .marquee-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: 0.4; vertical-align: middle; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  
  /* ── SECTIONS ── */
  section { padding: 100px 60px; position: relative; z-index: 2; }
  .section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
  .section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
  .section-sub { font-size: 16px; color: var(--white-dim); max-width: 650px; line-height: 1.8; margin-bottom: 50px;}

  /* ── ABOUT / HERITAGE ── */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .about-text p { margin-bottom: 20px; font-size: 16px; color: var(--white-dim); line-height: 1.8; }
  .iso-badge { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding: 20px; border: 1px solid var(--border); background: var(--navy-mid); border-radius: 6px; }
  .iso-badge h4 { color: var(--gold); font-size: 18px; margin-bottom: 5px;}
  .iso-badge p { margin: 0; font-size: 13px; font-weight: 500;}

  /* ── SERVICES MATRIX ── */
  .services-bg { background: var(--navy-mid); }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .service-card { padding: 40px; background: var(--navy); border: 1px solid var(--border); border-radius: 6px; transition: transform 0.3s; }
  .service-card:hover { transform: translateY(-5px); border-color: var(--gold); }
  .service-icon { font-size: 32px; margin-bottom: 20px; }
  .service-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin-bottom: 15px; }
  .service-card p { font-size: 14px; color: var(--white-dim); line-height: 1.7; }

  /* ── CLIENTS / AWARDS ── */
  .awards-section { background: var(--navy); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .awards-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
  .client-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
  .client-item { padding: 15px; background: var(--navy-mid); border-radius: 4px; font-weight: 500; font-size: 14px; border-left: 3px solid var(--gold); }
  .award-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
  .award-img { width: 100%; height: 220px; object-fit: cover; object-position: center; border: 2px solid var(--gold); border-radius: 4px; opacity: 0.8; transition: all 0.3s ease; cursor: zoom-in; }
  .award-img:hover { opacity: 1; transform: scale(1.03); box-shadow: 0 5px 15px rgba(212,175,55,0.2); }

  /* ── BEFORE / AFTER ── */
  .ba-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
  .ba-container { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; border: 2px solid var(--gold); }
  .ba-after, .ba-before-clip { position: absolute; inset: 0; }
  .ba-after img, .ba-before-clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ba-before-clip { overflow: hidden; width: 50%; border-right: 3px solid var(--gold); }
  .ba-before-clip img { width: 100%; min-width: 100%; object-fit: cover; }
  .ba-slider-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 10; }
  .ba-handle { position: absolute; top: 50%; z-index: 9; transform: translate(-50%, -50%); width: 40px; height: 40px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; left: 50%; color: var(--navy); font-weight: 900; }

  /* ── QUOTE FORM ── */
  .quote-section { background: var(--navy-light); }
  .quote-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }  
  .form-box { background: var(--navy); padding: 50px; border-radius: 8px; border: 1px solid var(--border); }
  .form-group { margin-bottom: 20px; }
  .form-label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 8px; }
  .form-input { width: 100%; padding: 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: white; font-family: inherit; }
  .form-input:focus { border-color: var(--gold); outline: none; }
  select.form-input option { background-color: #09101A; color: #FDFBF7; }
  .submit-btn { background: var(--gold); color: var(--navy); width: 100%; padding: 18px; border: none; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 4px; margin-top: 10px; transition: 0.3s; }
  .submit-btn:hover { background: var(--gold-light); }
  .submit-btn:active { transform: scale(0.97); }

  .contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
  .c-item { display: flex; gap: 15px; align-items: center; font-size: 15px; color: var(--white-dim); }
  .c-icon { font-size: 24px; }

  /* ── MODALS (Lead Magnet & Lightbox) ── */
  .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(9,16,26,0.85); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 10000; }
  .modal-box { background: var(--navy-mid); padding: 40px; border-radius: 8px; border: 1px solid var(--border); width: 90%; max-width: 400px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
  .close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; color: var(--white-dim); cursor: pointer; line-height: 1; }
  .close-modal:hover { color: var(--gold); }
  .modal-box h3 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 22px; margin-bottom: 8px; }
  .modal-box p { font-size: 13px; color: var(--white-dim); margin-bottom: 24px; }
  .modal-box input { width: 100%; padding: 14px; margin-bottom: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: white; font-family: inherit; }
  .modal-box input:focus { border-color: var(--gold); outline: none; }

  /* 🔎 LIGHTBOX STYLES */
  .lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 9, 15, 0.95); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 100000; cursor: zoom-out; opacity: 0; transition: opacity 0.3s ease; }
  .lightbox-overlay.active { display: flex; opacity: 1; }
  .lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 8px; border: 2px solid var(--gold); box-shadow: 0 10px 50px rgba(0,0,0,0.8); object-fit: contain; transform: scale(0.95); transition: transform 0.3s ease; }
  .lightbox-overlay.active .lightbox-content { transform: scale(1); }
  .lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: var(--white); cursor: pointer; line-height: 1; transition: 0.3s; }
  .lightbox-close:hover { color: var(--gold); }

  /* ── FOOTER ── */
  footer { background: #05090F; padding: 60px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--white-dim); }
  
  /* ── FLOATING BUTTONS ── */
  .float-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 9999; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .float-wa:hover { transform: scale(1.1); }
  .float-wa:active { transform: scale(0.85); }
  
  .float-chat { position: fixed; bottom: 105px; right: 30px; width: 60px; height: 60px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(212,175,55,0.4); z-index: 9999; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; color: var(--navy); font-size: 24px; }
  .float-chat:hover { transform: scale(1.1); }
  .float-chat:active { transform: scale(0.85); }

  /* ── AI CHATBOX ── */
  .chat-box-container { display: flex; position: fixed; bottom: 180px; right: 30px; width: 320px; height: 440px; background: var(--navy-mid); border: 1px solid var(--border); border-radius: 8px; z-index: 10000; flex-direction: column; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transform: translateY(40px) scale(0.9); transform-origin: bottom right; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: none; }
  .chat-box-container.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
  .chat-header { background: var(--gold); color: var(--navy); padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; font-size: 14px;}
  .message { padding: 10px 14px; border-radius: 6px; font-size: 13px; max-width: 85%; line-height: 1.4; word-wrap: break-word;}
  .message.user-message { background: var(--gold); color: var(--navy); align-self: flex-end; }
  .message.bot-message { background: var(--navy-light); color: var(--white); align-self: flex-start; border: 1px solid var(--border);}

  /* =========================================
     💻 屏幕自适应机制 (Responsive Design)
     ========================================= */
  @media (max-width: 1200px) { .hamburger { display: none; } }
  @media (max-width: 1050px) {
      .nav-right { gap: 15px; } /* 缩小组件间距 */
      .hamburger { display: block; font-size: 26px; color: var(--gold); cursor: pointer; z-index: 1001; transition: transform 0.3s; }
      .hamburger:active { transform: scale(0.9); }
      .nav-links { display: flex; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(9,16,26,0.96); backdrop-filter: blur(10px); flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(0,0,0,0.5); opacity: 0; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease; pointer-events: none; }
      .nav-links.show-mobile { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; }
      .nav-links li { text-align: center; margin: 0; position: relative; width: 100%; border-bottom: 1px solid rgba(212,175,55,0.2); }
      .nav-links li:last-child { border-bottom: none; }
      .nav-links a { display: block; padding: 16px 20px; font-size: 14px; font-weight: 500; letter-spacing: 0.1em; color: var(--white-dim); transition: all 0.3s ease; text-decoration: none; }
      .nav-links a:active, .nav-links a:hover { background: rgba(212,175,55,0.1); color: var(--gold); }
      .nav-links .nav-cta { background: transparent; color: var(--gold) !important; font-weight: 700; border-bottom: none; }
      .nav-links .nav-cta:hover { background: rgba(212,175,55,0.15); color: var(--gold-light) !important; }
  }
  @media (max-width: 1024px) {
      .hero { flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 140px; gap: 30px; }
      .hero-stats { margin-top: 30px; flex-wrap: wrap; align-self: flex-start; }
  }
  @media (max-width: 900px) {
      .nav-right { gap: 15px; } /* 缩小组件间距 */
      .about-grid, .services-grid, .awards-grid, .ba-layout, .quote-layout { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    nav { padding: 15px 20px !important; }
    .nav-logo { font-size: 16px; } /* 缩小 Logo 保证语言切换器空间 */
    .lang-select { padding: 5px 10px; font-size: 12px; }
    section { padding: 60px 20px; }
    .hero { padding: 120px 20px 60px; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 15px; margin-bottom: 30px; }
    .section-title { font-size: 30px; }
    .hero-actions { flex-direction: column; width: 100%; align-items: stretch !important; gap: 12px !important; }
    .btn-primary, .hero-actions button { width: 100%; text-align: center; padding: 16px !important; }
    .hero-stats { padding: 25px 20px; gap: 20px; flex-direction: column; width: 100%; text-align: center; }
    .service-card { padding: 30px 20px; }
    .form-box { padding: 30px 20px; }
    .client-list { grid-template-columns: 1fr; }
    .award-images { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .award-img { height: 180px; } 
    .modal-box { padding: 30px 20px; width: 92%; }
    .ba-container { aspect-ratio: 1/1; }
    .lightbox-close { top: 10px; right: 20px; font-size: 35px; }
    .c-item a { color: var(--white); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.4); padding-bottom: 2px; }
    .chat-box-container { right: 20px; left: 20px; width: auto; bottom: 180px; transform-origin: bottom center; }
  }
  @media (max-width: 380px) {
    .nav-logo { 
      font-size: 16px; /* 调整主标题大小 */
      white-space: normal; /* 允许文字换行 */
      line-height: 1.1; 
    }
    .nav-logo span { 
      margin-top: 40px;
    } 
  }
  /* ── FAQ ── */
  .faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; background: rgba(255,255,255,0.02); overflow: hidden; }
  .faq-q { padding: 15px 20px; cursor: pointer; font-weight: 600; font-size: 14px; position: relative; color: var(--white); transition: 0.3s; }
  .faq-q::after { content: '+'; position: absolute; right: 20px; top: 15px; font-size: 18px; color: var(--gold); transition: 0.3s; line-height: 1;}
  .faq-item.active .faq-q { color: var(--gold); }
  .faq-item.active .faq-q::after { content: '\2212'; transform: rotate(180deg); }
  .faq-a { padding: 0 20px; max-height: 0; font-size: 13px; color: var(--white-dim); transition: all 0.4s ease; opacity: 0; line-height: 1.6; }
  .faq-item.active .faq-a { padding: 0 20px 20px; max-height: 500px; opacity: 1; }