:root {
  --navy: #0f243d;
  --navy-dark: #091729;
  --champagne: #c9b896;
  --champagne-light: #d8c8a8;
  --text-white: #f0f2f5;
  --text-gray: #b9c2cc;
  --glass-border: rgba(255, 255, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--navy-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

/* 顶部工具条 */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.55rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(9, 23, 41, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-tag {
  color: var(--champagne);
  letter-spacing: 0.6px;
  font-weight: 500;
}

.topbar-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: 0.3s;
}

.topbar-link:hover {
  color: var(--champagne);
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.25);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-link {
  color: var(--text-gray);
  text-decoration: none;
  transition: 0.3s;
}

.lang-link:hover {
  color: var(--champagne);
}

.lang-link.active {
  color: var(--champagne);
  font-weight: 500;
}

/* 玻璃拟态基础 */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

/* 导航栏 */
nav {
  position: fixed;
  width: 100%;
  top: 42px;
  z-index: 999;
  padding: 1.1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201, 184, 150, 0.08);
  border: 1px solid rgba(201, 184, 150, 0.35);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--champagne);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--champagne);
}

/* 下拉菜单 */
.dropdown-wrap {
  position: relative;
}

.dropdown-trigger {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  padding: 0.8rem 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--text-gray);
}

.dropdown-menu a:hover {
  color: var(--champagne);
}

.dropdown-wrap:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 获取报价按钮：改为跳转 WhatsApp */
.nav-btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--champagne);
  border-radius: 8px;
  background: transparent;
  color: var(--champagne);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.nav-btn:hover {
  background: rgba(201, 184, 150, 0.15);
}

/* 首屏 Hero */
.hero {
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(9, 23, 41, 0.82), rgba(9, 23, 41, 0.92)), url("https://images.unsplash.com/photo-1518709414768-a88981a4515d?q=80&w=1920");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5%;
  padding-top: 140px;
}

.hero-inner {
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--champagne);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.2rem;
  letter-spacing: 0.8px;
}

.hero-sub {
  color: var(--text-gray);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--champagne);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--champagne-light);
}

.btn-secondary {
  border: 1px solid var(--glass-border);
  color: var(--text-white);
}

.btn-secondary:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}

.hero-meta {
  display: flex;
  gap: 3rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-num {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  color: var(--champagne);
  font-weight: 600;
}

.meta-text {
  font-size: 0.86rem;
  color: var(--text-gray);
}

/* 通用区块 */
.section {
  padding: 7rem 5%;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--champagne);
}

.section-sub {
  color: var(--text-gray);
  font-size: 0.96rem;
  margin-bottom: 2.8rem;
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.6rem;
}

.project-card {
  overflow: hidden;
}

.card-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: 0.4s;
}

.project-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.92);
}

.card-content {
  padding: 1.4rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.24rem 0.6rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  margin-right: 0.4rem;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
}

.card-title {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.product-section {
  background-color: var(--navy);
}

/* About 网格 */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}

.about-card {
  padding: 1.6rem;
}

.about-card h3 {
  color: var(--champagne);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.about-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
}

/* 联系区 */
.contact-section {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.contact-left {
  flex: 1;
}

.contact-form {
  flex: 1;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.form-row {
  margin-bottom: 1.2rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-white);
  outline: none;
  font-family: 'Inter', sans-serif;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--champagne);
  background: transparent;
  color: var(--champagne);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.submit-btn:hover {
  background: rgba(201, 184, 150, 0.15);
}

/* 社媒组件：小方块 Logo + 外侧文字 */
.social-sidebar {
  display: flex;
  gap: 1.1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.social-name {
  color: var(--text-gray);
  font-size: 0.92rem;
}

/* 右下角悬浮 WhatsApp：移除左侧logo，只保留文字 */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  text-decoration: none;
}

.wa-text {
  color: #fff;
  font-weight: 600;
  background: rgba(37, 211, 102, 0.96);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.wa-text:hover{
  opacity:0.9;
}

/* 页脚 */
footer {
  padding: 3rem 5%;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  color: var(--text-gray);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  margin-left: 1rem;
}

.footer-links a:hover {
  color: var(--champagne);
}

/* 响应式 */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-meta {
    gap: 1.4rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    flex-direction: column;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
  }

  .wa-text {
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
  }
}