/* ================================
   东廷园林 - 整站样式
   复刻参考站：https://www.dongtingyuanlin.com
   主题色：#b38d54
   字体：微软雅黑
   ================================ */

:root {
  --theme-color: #b38d54;
  --theme-dark: #aa854f;
  --theme-light: #c9a97a;
  --text-main: #212121;
  --text-sub: #555555;
  --text-gray: #888888;
  --bg-white: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #313234;
  --border-color: #e6e6e6;
  --content-width: 1200px;
  --font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
}

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

body {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  background: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

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

.theme-color {
  color: var(--theme-color);
}

/* ================================
   顶部导航
   ================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 0;
}

.nav-list li a {
  display: block;
  padding: 0 22px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 80px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--theme-color);
}

.nav-list li a.active::after,
.nav-list li a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--theme-color);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-color);
  font-size: 15px;
  font-weight: bold;
}

.phone-icon {
  font-size: 18px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

/* ================================
   Banner轮播
   ================================ */
.banner-section {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 80px;
  overflow: hidden;
}

.banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: none;
}

.banner-slide.active {
  display: block;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.banner-sub {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 6px;
}

.banner-line {
  width: 60px;
  height: 2px;
  background: var(--theme-color);
  margin: 0 auto 20px;
}

.banner-desc {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 2px;
}

/* ================================
   主体内容区域
   ================================ */
.main-content {
  padding: 60px 0 80px;
  background: var(--bg-white);
}

.content-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 页面标题区 */
.page-title-area {
  text-align: center;
  margin-bottom: 50px;
}

.en-title {
  font-size: 36px;
  font-weight: 300;
  color: var(--text-main);
  letter-spacing: 4px;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.cn-title {
  font-size: 20px;
  color: var(--theme-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.title-line {
  width: 40px;
  height: 2px;
  background: var(--theme-color);
  margin: 0 auto 15px;
}

.title-desc {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 10px;
}

/* 分类筛选标签 */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-item {
  display: inline-block;
  padding: 8px 28px;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 14px;
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.tab-item:hover,
.tab-item.active {
  background: var(--theme-color);
  color: #fff;
  border-color: var(--theme-color);
}

/* 内容主体：侧边栏 + 案例列表 */
.content-body {
  display: flex;
  gap: 30px;
}

/* 左侧边栏 */
.sidebar {
  width: 260px;
  flex-shrink: 0;
}

.side-menu {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.side-title {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-light);
}

.side-list li a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-sub);
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.side-list li a:hover,
.side-list li a.active {
  background: #faf5ed;
  color: var(--theme-color);
}

.side-list li a .arrow {
  margin-right: 8px;
  font-size: 16px;
  color: var(--theme-color);
}

.side-contact {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 20px;
}

.side-ct-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.side-ct-item {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.8;
}

.side-ct-item .ct-label {
  color: var(--text-gray);
}

.side-ct-item .ct-val {
  color: var(--text-sub);
}

/* 右侧案例列表 */
.case-main {
  flex: 1;
}

.case-card {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.case-card:hover {
  background: var(--bg-light);
}

.case-img {
  position: relative;
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-img img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--theme-color);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 2px;
}

.case-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-title {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 500;
}

.case-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.case-more {
  display: inline-block;
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.case-more:hover {
  color: var(--theme-dark);
  padding-left: 5px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
}

.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 14px;
  transition: all 0.3s ease;
}

.page-item:hover,
.page-item.active {
  background: var(--theme-color);
  color: #fff;
  border-color: var(--theme-color);
}

.page-item.next {
  padding: 0 16px;
}

/* ================================
   底部
   ================================ */
.site-footer {
  background: var(--bg-dark);
  color: #999;
  padding: 50px 0 0;
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
}

.footer-left {
  flex: 1;
}

.footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0.9);
}

.footer-contact p {
  font-size: 13px;
  line-height: 2.2;
  color: #aaa;
}

.footer-contact .ct-label {
  color: #888;
}

.footer-right {
  flex-shrink: 0;
  margin-left: 40px;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer-qr p {
  font-size: 13px;
  color: #aaa;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #777;
}

/* ================================
   回到顶部
   ================================ */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

.back-to-top:hover svg path {
  fill: #fff !important;
}

/* ================================
   响应式适配
   ================================ */
@media (max-width: 1024px) {
  .content-body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .side-menu,
  .side-contact {
    display: none;
  }

  .case-card {
    flex-direction: column;
    gap: 15px;
  }

  .case-img {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .logo img {
    height: 38px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-list li a {
    line-height: 50px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-list li a.active::after,
  .nav-list li a:hover::after {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .banner-section {
    height: 350px;
    margin-top: 60px;
  }

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

  .banner-sub {
    font-size: 18px;
  }

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

  .filter-tabs {
    gap: 6px;
  }

  .tab-item {
    padding: 6px 16px;
    font-size: 13px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    margin-left: 0;
    margin-top: 30px;
  }

  .case-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 280px;
  }

  .banner-content h1 {
    font-size: 22px;
  }

  .banner-sub {
    font-size: 14px;
  }

  .banner-desc {
    font-size: 13px;
  }

  .case-title {
    font-size: 16px;
  }

  .case-desc {
    font-size: 13px;
  }
}

/* ================================
   首页专用样式
   ================================ */

/* 首页全屏轮播 */
.home-banner {
  position: relative;
  width: 100%;
  height: 600px;
  margin-top: 80px;
  overflow: hidden;
  background: #222;
}

.home-banner .swiper-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-banner .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-banner .slide.active {
  opacity: 1;
}

.home-banner .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner .slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}

.home-banner .slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

.home-banner .slide-text .en {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 10px;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  display: block;
}

.home-banner .slide-text .cn {
  font-size: 22px;
  letter-spacing: 8px;
  display: block;
  margin-bottom: 24px;
}

.home-banner .slide-text .line {
  width: 60px;
  height: 2px;
  background: var(--theme-color);
  margin: 0 auto 20px;
}

.home-banner .slide-text .desc {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.banner-btn-group {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: var(--theme-color);
  width: 30px;
  border-radius: 5px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
  transition: background 0.3s;
}

.banner-arrow:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
}

.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

/* 通用区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .en {
  display: block;
  font-size: 38px;
  font-weight: 300;
  color: #e8e8e8;
  letter-spacing: 4px;
  font-family: Georgia, serif;
  margin-bottom: 0;
  line-height: 1;
}

.section-title .cn {
  display: block;
  font-size: 22px;
  color: var(--text-main);
  font-weight: 500;
  margin-top: -12px;
  margin-bottom: 12px;
}

.section-title .line {
  width: 40px;
  height: 2px;
  background: var(--theme-color);
  margin: 0 auto 12px;
}

.section-title .sub {
  font-size: 14px;
  color: var(--text-gray);
}

/* 企业优势 / 数字展示 */
.stats-section {
  background: var(--theme-color);
  padding: 50px 0;
}

.stats-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-num {
  font-size: 52px;
  font-weight: 700;
  font-family: Georgia, serif;
  line-height: 1;
}

.stat-num sup {
  font-size: 22px;
  font-weight: 400;
}

.stat-label {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
}

/* 关于我们区块（首页版） */
.about-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.about-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-img {
  width: 480px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 25px;
}

.about-text .section-title .line {
  margin: 0 0 12px;
}

.about-text p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 15px;
}

.about-highlights {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border-radius: 2px;
}

.highlight-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.highlight-text span {
  font-size: 13px;
  color: var(--text-gray);
}

/* 服务项目区块（首页版） */
.services-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--theme-color);
  box-shadow: 0 8px 30px rgba(179,141,84,0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #faf5ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: var(--theme-color);
  color: #fff;
}

.service-card h3 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 500;
}

.service-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

.service-card .more-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--theme-color);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.service-card:hover .more-link {
  border-color: var(--theme-color);
}

/* 精选案例区块（首页版） */
.cases-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.cases-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.case-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f0f0f0;
}

.case-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-thumb:hover img {
  transform: scale(1.06);
}

.case-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.case-thumb:hover .case-thumb-overlay {
  transform: translateY(0);
}

.case-thumb-overlay h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.case-thumb-overlay span {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 10px;
  display: block;
}

.case-thumb-overlay .view-btn {
  display: inline-block;
  padding: 6px 16px;
  background: var(--theme-color);
  color: #fff;
  font-size: 12px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}

.case-thumb:hover .view-btn {
  opacity: 1;
}

.section-more {
  text-align: center;
  margin-top: 40px;
}

.btn-more {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  font-size: 14px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-more:hover {
  background: var(--theme-color);
  color: #fff;
}

/* 新闻动态区块 */
.news-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.news-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s;
}

.news-item:hover {
  background: #fff;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 -10px;
}

.news-date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.news-date .day {
  font-size: 36px;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1;
  font-family: Georgia, serif;
}

.news-date .ym {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}

.news-body {
  flex: 1;
}

.news-body h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
  transition: color 0.3s;
}

.news-item:hover .news-body h4 {
  color: var(--theme-color);
}

.news-body p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* 联系咨询 CTA 区块 */
.cta-section {
  padding: 70px 0;
  background: var(--theme-color);
  text-align: center;
  color: #fff;
}

.cta-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.cta-section h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-phone {
  font-size: 36px;
  font-weight: 700;
  font-family: Georgia, serif;
  margin-bottom: 30px;
  display: block;
}

.btn-cta {
  display: inline-block;
  padding: 14px 50px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: #fff;
  color: var(--theme-color);
}

/* ================================
   案例详情页样式
   ================================ */
.case-detail-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 20px 80px;
  display: flex;
  gap: 30px;
}

.case-detail-main {
  flex: 1;
  min-width: 0;
}

/* 案例大图轮播 */
.case-gallery {
  margin-bottom: 40px;
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 4px;
}

.gallery-main .gallery-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery-main .gallery-slide.active {
  opacity: 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
  transition: background 0.3s;
}

.gallery-arrow:hover { background: var(--theme-color); }
.gallery-arrow.prev { left: 15px; }
.gallery-arrow.next { right: 15px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.gallery-thumb.active {
  border-color: var(--theme-color);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 案例信息 */
.case-detail-info {
  background: var(--bg-light);
  padding: 30px;
  margin-bottom: 40px;
  border-left: 3px solid var(--theme-color);
}

.case-detail-info h2 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 500;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.case-meta-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.case-meta-item .meta-label {
  color: var(--text-gray);
}

.case-meta-item .meta-val {
  color: var(--text-main);
  font-weight: 500;
}

.case-description {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
}

/* 前后对比 */
.before-after {
  margin-bottom: 40px;
}

.before-after h3 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 500;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ba-item {
  position: relative;
}

.ba-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--theme-color);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 2px;
}

/* 相关案例 */
.related-cases {
  margin-top: 60px;
}

.related-cases h3 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 24px;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme-color);
  display: inline-block;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-item {
  cursor: pointer;
  transition: transform 0.3s;
}

.related-item:hover {
  transform: translateY(-4px);
}

.related-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.related-item h4 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.related-item span {
  font-size: 12px;
  color: var(--text-gray);
}

/* ================================
   关于我们页专用样式
   ================================ */
.about-page .about-intro {
  padding: 80px 0;
  background: var(--bg-white);
}

.about-intro-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-intro-img {
  width: 500px;
  flex-shrink: 0;
}

.about-intro-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
}

.about-intro-content {
  flex: 1;
}

.about-intro-content p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 14px;
}

/* 发展历程 */
.timeline-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.timeline-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--theme-color);
  border: 3px solid var(--bg-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--theme-color);
  z-index: 1;
}

.timeline-content {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-width: 360px;
}

.timeline-year {
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* 团队介绍 */
.team-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.team-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding-bottom: 24px;
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.team-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.team-card .avatar {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.team-card h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 5px;
  font-weight: 500;
}

.team-card .position {
  font-size: 13px;
  color: var(--theme-color);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-gray);
  padding: 0 16px;
  line-height: 1.8;
}

/* 荣誉资质 */
.honor-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.honor-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.honor-item {
  text-align: center;
  background: var(--bg-white);
  padding: 24px 16px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.honor-item:hover {
  border-color: var(--theme-color);
}

.honor-item img {
  width: 120px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.honor-item p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================================
   服务项目页样式
   ================================ */
.service-page-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border-color);
}

.service-tab-btn {
  padding: 14px 36px;
  font-size: 15px;
  color: var(--text-sub);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
  font-family: var(--font-family);
}

.service-tab-btn:hover,
.service-tab-btn.active {
  color: var(--theme-color);
  border-bottom-color: var(--theme-color);
}

.service-tab-panel {
  display: none;
  padding: 60px 0;
}

.service-tab-panel.active {
  display: block;
}

.service-detail-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.service-detail-img {
  width: 420px;
  flex-shrink: 0;
}

.service-detail-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

.service-detail-text h3 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--theme-color);
  display: inline-block;
}

.service-detail-text p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 14px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-feature-tag {
  padding: 6px 16px;
  background: #faf5ed;
  color: var(--theme-color);
  font-size: 13px;
  border: 1px solid #e8d9b8;
  border-radius: 2px;
}

/* 服务流程 */
.process-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.process-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 28px;
  font-size: 24px;
  color: var(--theme-color);
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--theme-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: Georgia, serif;
  margin: 0 auto 16px;
}

.process-step h4 {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
}

.process-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  padding: 0 10px;
}

/* ================================
   联系我们页样式
   ================================ */
.contact-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.contact-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: 500;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: #faf5ed;
  border: 1px solid #e8d9b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--theme-color);
  border-radius: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 地图 */
.map-section {
  padding: 0 0 80px;
  background: var(--bg-white);
}

.map-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 留言表单 */
.form-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.form-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.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 label {
  font-size: 14px;
  color: var(--text-sub);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--theme-color);
}

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

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

.form-submit {
  margin-top: 24px;
  text-align: center;
}

.btn-submit {
  padding: 14px 60px;
  background: var(--theme-color);
  color: #fff;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  letter-spacing: 2px;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: var(--theme-dark);
}

.form-success {
  display: none;
  background: #f0f9f0;
  border: 1px solid #c3e6cb;
  color: #2d7a2d;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  border-radius: 2px;
}

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

.form-error {
  border-color: #e04040 !important;
}

.field-error {
  font-size: 12px;
  color: #e04040;
}

/* ================================
   FAQ页样式
   ================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-cat {
  margin-bottom: 50px;
}

.faq-cat-title {
  font-size: 18px;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--theme-color);
}

.faq-list {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
  gap: 16px;
}

.faq-question:hover {
  background: #faf5ed;
}

.faq-item.open .faq-question {
  background: #faf5ed;
  color: var(--theme-color);
}

.faq-question-text {
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.3s;
}

.faq-item.open .faq-question-text {
  color: var(--theme-color);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--theme-color);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

/* ================================
   页面面包屑
   ================================ */
.breadcrumb-bar {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
}

.breadcrumb-inner a {
  color: var(--text-gray);
  transition: color 0.3s;
}

.breadcrumb-inner a:hover {
  color: var(--theme-color);
}

.breadcrumb-inner .sep {
  color: var(--border-color);
}

.breadcrumb-inner .current {
  color: var(--theme-color);
}

/* ================================
   响应式扩展
   ================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .honor-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-img, .about-intro-img {
    width: 380px;
  }
}

@media (max-width: 1024px) {
  .about-inner, .about-intro-inner, .service-detail-layout {
    flex-direction: column;
  }

  .about-img, .about-intro-img, .service-detail-img {
    width: 100%;
  }

  .about-img img, .about-intro-img img, .service-detail-img img {
    height: 280px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item, .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: 60px;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: 100%;
  }

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

  .honor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-steps {
    flex-wrap: wrap;
    gap: 30px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-banner {
    height: 420px;
    margin-top: 60px;
  }

  .home-banner .slide-text .en {
    font-size: 32px;
  }

  .home-banner .slide-text .cn {
    font-size: 16px;
  }

  .home-banner .slide-text .desc {
    font-size: 13px;
  }

  .stats-inner {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-divider {
    display: none;
  }

  .stat-num {
    font-size: 38px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .news-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-date {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    padding-right: 0;
    width: auto;
  }

  .news-date .day {
    font-size: 26px;
  }

  .gallery-main {
    height: 280px;
  }

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

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

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

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

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

  .service-page-tabs {
    flex-wrap: wrap;
  }

  .service-tab-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .home-banner .slide-text {
    white-space: normal;
    width: 90%;
  }

  .cta-phone {
    font-size: 26px;
  }

  .section-title .en {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .home-banner {
    height: 300px;
  }

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

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

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

  .contact-form {
    padding: 24px 16px;
  }

  .stat-item {
    min-width: 40%;
  }
}
