/* 字体和基础样式 */
body {
  margin: 0;
  font-family: 'Lato', 'Arial', sans-serif;
  background: #fff;
  color: #2d1a1a;
  padding-top: 0;
  padding-left: 210px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* 侧边栏样式 */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 210px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 0 0;
  z-index: 200;
  border-radius: 0 18px 18px 0;
}
.sidebar-logo {
  margin-bottom: 36px;
}
.sidebar-logo img {
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  padding: 4px 10px;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
  margin: 0;
  padding: 0;
}
.sidebar-links li {
  width: 100%;
}
.sidebar-links a {
  display: block;
  width: 100%;
  text-align: center;
  color: #2d1a1a;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.sidebar-links .active,
.sidebar-links a:hover {
  color: #ff5a36;
  background: rgba(255,90,54,0.08);
}

/* 导航栏升级样式 */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 12px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 0 0 18px 18px;
  transition: background 0.3s;
}

.navbar-center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 0 32px;
}

.logo img {
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  padding: 2px 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: 24px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #2d1a1a;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: block;
}

.nav-links .active,
.nav-links a:hover {
  color: #ff5a36;
  background: rgba(255,90,54,0.08);
}

@media (max-width: 700px) {
  .navbar-center {
    gap: 16px;
    padding: 0 8px;
  }
  .nav-links {
    gap: 8px;
    margin-left: 8px;
  }
  .logo img {
    height: 32px;
  }
}

/* 首页大横幅 */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 40px;
}
.hero-content > div {
  text-align: center;
  color: #fff;
}
.hero .side-img {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}
.hero .side-img img { width: 100%; height: 100%; object-fit: cover; }
.hero .side-img.left { margin-right: 40px; }
.hero .side-img.right { margin-left: 40px; }
.hero h1 { font-size: 3rem; margin: 0.5em 0; }
.hero .desc { margin-bottom: 1.5em; }
.cta-btn {
  background: #ff5a36;
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.cta-btn:hover { background: #d13e1f; }

/* 特色/数据区块 */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 180px;
  gap: 24px;
  background: #fff;
  padding: 60px 10vw;
  margin-top: -80px;
  z-index: 2;
  position: relative;
}
.feature {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 24px;
}
.feature.big {
  grid-row: 1 / span 2;
  background: #5a1313;
  color: #fff;
  align-items: flex-start;
}
.feature.orange {
  background: #ff5a36;
  color: #fff;
}
.feature.small {
  background: #f8f3f0;
  color: #5a1313;
}
.feature img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.feature-title { font-weight: bold; margin: 0.5em 0; }

/* 关于/故事区块 */
.about {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: #f8f3f0;
  padding: 80px 10vw;
}
.about-img img { width: 320px; border-radius: 24px; }
.about-content { max-width: 600px; }
.section-subtitle { color: #ff5a36; font-weight: bold; letter-spacing: 1px; }
.about-img-small img { width: 180px; border-radius: 16px; margin: 24px 0; }
.read-more {
  background: none;
  border: 2px solid #ff5a36;
  color: #ff5a36;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s, color 0.2s;
}
.read-more:hover { background: #ff5a36; color: #fff; }

/* 服务区块 */
.services {
  background: url('services-bg.jpg') center/cover no-repeat;
  padding: 80px 0;
  color: #fff;
  text-align: center;
  position: relative;
}
.service-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.service-item {
  background: rgba(255,255,255,0.95);
  color: #2d1a1a;
  border-radius: 20px;
  padding: 32px 24px;
  width: 320px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  text-align: left;
  position: relative;
}
.service-item span {
  font-size: 2rem;
  font-weight: bold;
  color: #ff5a36;
  position: absolute;
  left: 24px;
  top: 24px;
}

.service-content {
  margin-left: 60px;
  margin-top: 8px;
}

/* 流程区块 */
.process {
  display: flex;
  align-items: center;
  background: #ff5a36;
  color: #fff;
  padding: 80px 10vw;
  gap: 48px;
}
.process-img img { width: 400px; border-radius: 24px; }
.process-steps > div {
  background: #2d1a1a;
  border-radius: 20px;
  padding: 24px 32px;
  margin-bottom: 24px;
}
.process-steps h4 { margin: 0.5em 0; }

/* 用户评价区块 */
.testimonials {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: #f8f3f0;
  padding: 80px 10vw;
}
.testimonial-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.testimonial {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  font-size: 1.1rem;
  color: #2d1a1a;
}
.testimonial span {
  display: block;
  margin-top: 16px;
  font-weight: bold;
  color: #888;
}
.testimonial-desc {
  flex: 1;
  padding-left: 40px;
}

/* 底部横幅 */
.cta-banner {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/bg3.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 60px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.cta-img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-img.left {
  margin-right: 48px;
}
.cta-img.right {
  margin-left: 48px;
}

.cta-content {
  flex: 1 1 0;
  max-width: 700px;
  text-align: center;
  z-index: 3;
  margin: 0 24px;
}
.cta-content h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 18px 0 18px 0;
  line-height: 1.2;
}
.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.cta-btn {
  background: #ff5a36;
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #d13e1f;
}

@media (max-width: 900px) {
  .cta-banner {
    flex-direction: column;
    padding: 40px 0 30px 0;
  }
  .cta-img.left, .cta-img.right {
    margin: 0 0 24px 0;
  }
  .cta-content {
    margin: 0;
    max-width: 95vw;
  }
}

/* 页脚 */
footer {
  background: #fff;
  color: #2d1a1a;
  text-align: center;
  padding: 32px 0 16px 0;
  border-top: 1px solid #eee;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 12px;
}
.footer-links a { color: #2d1a1a; }
.footer-links .active { color: #ff5a36; }

/* 返回顶部按钮 */
#backToTop {
  position: fixed;
  right: 32px;
  bottom: 32px;
  background: #ff5a36;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 100;
}
#backToTop.show { display: block; }

html, body {
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .sidebar {
    width: 64px;
    padding: 16px 0 0 0;
  }
  .sidebar-logo img {
    height: 36px;
    padding: 2px 2px;
  }
  .sidebar-links a {
    font-size: 0;
    padding: 10px 0;
    position: relative;
  }
  .sidebar-links a::before {
    content: attr(title);
    font-size: 1rem;
    color: #2d1a1a;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    opacity: 0.9;
  }
  body {
    padding-left: 64px;
  }
}

/* 移除原导航栏样式，避免冲突 */
.navbar, .navbar-center, .nav-links, .logo { display: none !important; }
