/* ========================================
   石狮市瑞江桶装水配送中心 - 全站样式 QQ305114474
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0056b3;
  --primary-dark: #003d80;
  --primary-light: #e8f0fa;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-gray: #f5f7fa;
  --bg-white: #ffffff;
  --border-color: #e5e5e5;
  --max-width: 1200px;
  --header-height: auto;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header - Top Bar
   ======================================== */
.top-bar {
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 13px;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.top-bar-right a:hover {
  color: #ffffff;
}

/* ========================================
   Header - Main Navigation
   ======================================== */
.main-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  height: 60px;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo h1 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
}

.logo span {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
}

.logo p {
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  white-space: nowrap;
  margin-top: 1px;
}

.nav-bar {
  display: none;
}

.nav-bar ul {
  display: flex;
  gap: 0;
}

.nav-bar li a {
  display: block;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s;
}

.nav-bar li a:hover,
.nav-bar li a.active {
  background: var(--primary-dark);
  border-radius: 4px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.header-phone svg {
  flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s;
  border-radius: 2px;
}

.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);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: var(--bg-white);
  padding: 60px 0 20px;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-nav-inner a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-inner a:hover,
.mobile-nav-inner a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  /*! background: linear-gradient(135deg, var(--primary), var(--primary-dark)); */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,86,179,0.88), rgba(0,61,128,0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 10px 28px;
  background: #ffffff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: var(--primary);
}

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* Banner Dots */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.banner-dots .dot.active {
  background: #ffffff;
}

/* ========================================
   Inner Page Banner (栏目页/详情页)
   ======================================== */
.page-banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.page-banner h2 {
  font-size: 26px;
  font-weight: 700;
}

.page-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  background: var(--bg-white);
  padding: 10px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-light);
  font-size: 12px;
}

.breadcrumb .current {
  color: var(--text-dark);
}

/* ========================================
   Section Title (通用模块标题)
   ======================================== */
.section {
  padding: 50px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-gray {
  background: var(--bg-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2, .section-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after, .section-title h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* ========================================
   Advantage Cards (服务优势)
   ======================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
}

.advantage-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========================================
   Product Cards (产品展示)
   ======================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-card-img {
  width: 100%;
  height: 160px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img svg {
  width: 60px;
  height: 60px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.6;
}

.product-card-info {
  padding: 14px;
}

.product-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   About Section (首页关于我们)
   ======================================== */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-img {
  width: 100%;
  height: 220px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img svg {
  width: 80px;
  height: 80px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.2;
  opacity: 0.5;
}

.about-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.btn-more {
  display: block;
  text-align: center;
  padding: 8px 24px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-more:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ========================================
   Home News List (首页新闻列表)
   ======================================== */
.home-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 0 16px;
}

.home-news-item {
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-color);
}

.home-news-item:last-child {
  border-bottom: none;
}

.home-news-top {
  /*! display: flex; */
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.home-news-icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-right: 8px;
}

.home-news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-title:hover {
  color: var(--primary);
}

.home-news-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  float: right;
}

.home-news-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.home-news-list + .news-list {
  background: var(--bg-white);
  border-radius: 0 0 8px 8px;
  padding: 0 16px;
  margin-top: -1px;
  border-top: 1px solid var(--border-color);
}

/* ========================================
   News List (新闻列表)
   ======================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-color);
  gap: 12px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item a:hover {
  color: var(--primary);
}

.news-item .date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-more {
  text-align: center;
  margin-top: 24px;
}

/* Featured News (首页带图新闻) */
.news-featured {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-featured-item {
  display: flex;
  gap: 14px;
  background: var(--bg-white);
  border-radius: 8px;
  padding: 14px;
  transition: box-shadow 0.3s;
}

.news-featured-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.news-featured-img {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-featured-img svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  fill: none;
  opacity: 0.5;
}

.news-featured-info {
  flex: 1;
  min-width: 0;
}

.news-featured-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-featured-info h4:hover {
  color: var(--primary);
}

.news-featured-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Case Cards (案例展示)
   ======================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.case-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.case-card-img {
  width: 100%;
  height: 180px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card-img svg {
  width: 50px;
  height: 50px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.5;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 12px;
}

.case-card-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.case-card-info p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Friend Links (友情链接)
   ======================================== */
.friend-links {
  background: var(--bg-white);
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
}

.friend-links .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.friend-links .sep-text {
  color: var(--border-color);
  font-size: 12px;
}

.friend-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.friend-links a {
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
}

.friend-links a:hover {
  color: var(--primary);
}

.friend-links .sep {
  color: var(--border-color);
  font-size: 12px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #2c3e50;
  color: rgba(255,255,255,0.7);
  padding: 40px 0 0;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-content > .footer-col:first-child {
  grid-column: span 2;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.7);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.8);
}

/* ========================================
   Floating Action Buttons (FAB)
   ======================================== */
.fab-container {
  position: fixed;
  right: 16px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1002;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,86,179,0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,86,179,0.4);
}

.fab svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
}

.fab-back-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

/* ========================================
   Mobile Bottom Navigation
   ======================================== */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  font-size: 11px;
  color: var(--text-gray);
  gap: 3px;
}

.mobile-bottom-nav a.active {
  color: var(--primary);
}

.mobile-bottom-nav a svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.mobile-bottom-nav .call-btn {
  color: var(--primary);
  font-weight: 600;
}

.mobile-bottom-nav .call-btn svg {
  stroke: var(--primary);
}

/* ========================================
   List Page Layout (列表页通用)
   ======================================== */
.page-body {
  padding: 40px 0;
}

.page-body .container {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 30px 20px;
}

/* List items for news/faq/cases */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-color);
}

.list-item-icon {
  flex-shrink: 0;
  margin-right: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.list-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item a {
  font-size: 15px;
  color: var(--text-dark);
  flex: 1;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item a:hover {
  color: var(--primary);
}

.list-item .list-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ========================================
   Detail Page Layout (详情页通用)
   ======================================== */
.detail-body {
  padding: 30px 0;
}

.detail-content {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 30px 20px;
}

.detail-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.detail-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.detail-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
}

.detail-text p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.detail-text img {
  margin: 20px auto;
  border-radius: 6px;
}

.detail-text h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.detail-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 20px 0 10px;
}

/* Related Content */
.detail-page-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}

.detail-page-nav a {
  color: var(--primary);
  text-decoration: none;
}

.detail-page-nav a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .detail-page-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.related-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.related-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
  padding-top: 20px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ===== 分站页面样式 ===== */
.area-banner {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.area-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.area-banner-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.area-banner-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.area-banner-content p {
  font-size: 15px;
  opacity: 0.9;
}

.area-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.area-about-img {
  display: none;
}

.area-about-img img {
  width: 100%;
  border-radius: 8px;
}

.area-about-text p {
  margin-bottom: 12px;
  line-height: 1.8;
  color: var(--text-dark);
}

.area-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-product-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 12px;
}

.area-product-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.area-product-card h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.area-product-card p {
  font-size: 12px;
  color: var(--text-light);
}

.area-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.area-news-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--primary);
}

.area-news-card h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.area-news-card .news-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.area-news-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.area-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-case-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
}

.area-case-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.area-case-card .case-info {
  padding: 10px;
}

.area-case-card .case-info h4 {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.area-case-card .case-info p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.area-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.area-faq-item {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 16px;
}

.area-faq-item h4 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.area-faq-item h4 svg {
  flex-shrink: 0;
}

.area-faq-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.area-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-process-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.area-process-card .step-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 8px;
}

.area-process-card h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.area-process-card p {
  font-size: 12px;
  color: var(--text-light);
}

.area-contact-info {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 24px;
}

.area-contact-info h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.area-contact-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

.area-contact-info a {
  color: var(--primary);
  font-weight: 600;
}

.area-links {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 20px;
}

.area-links h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.area-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.area-links-list a {
  font-size: 13px;
  color: var(--primary);
}

.area-links-list a:hover {
  text-decoration: underline;
}

.area-links-section {
  display: none;
}

.area-section {
  padding: 40px 0;
}

.area-section:nth-child(even) {
  background: var(--bg-light);
}

.area-section-title {
  text-align: center;
  margin-bottom: 24px;
}

.area-section-title h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 700;
}

.area-section-title p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .contact-info-card {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
}

.contact-info-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-info-text p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

.contact-promise {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 24px;
}

.contact-promise h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-dark);
}

.promise-item:last-child {
  border-bottom: none;
}

.promise-item svg {
  flex-shrink: 0;
  stroke: #27ae60;
  fill: none;
}

.contact-map {
  width: 100%;
  height: 300px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-map svg {
  width: 60px;
  height: 60px;
  stroke: var(--primary);
  fill: none;
  opacity: 0.4;
}

/* ========================================
   Sitemap Page
   ======================================== */
.sitemap-content {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sitemap-group {
  margin-bottom: 24px;
}

.sitemap-group:last-child {
  margin-bottom: 0;
}

.sitemap-group h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.sitemap-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-left: 15px;
}

.sitemap-group ul li a {
  font-size: 14px;
  color: var(--text-gray);
}

.sitemap-group ul li a:hover {
  color: var(--primary);
}

/* ========================================
   Process/Steps Section
   ======================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.process-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.process-card .step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   Service Items Grid
   ======================================== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   FAQ Item
   ======================================== */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.faq-item h4 a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.faq-item h4 a:hover {
  text-decoration: underline;
}

.faq-item h4 svg {
  flex-shrink: 0;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

/* Ensure bottom spacing for mobile nav */
body {
  padding-bottom: 56px;
}

/* Hide desktop elements on mobile */
.desktop-only {
  display: none !important;
}

/* ========================================
   RESPONSIVE - Tablet (>=768px)
   ======================================== */
@media (min-width: 768px) {
  .hero-banner {
    height: 460px;
  }

  .hero-content h2 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card-info h4 {
    font-size: 13px;
  }

  .case-card-info p {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .about-section {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-img {
    width: 45%;
    height: auto;
    min-height: 280px;
  }

  .about-text {
    width: 55%;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content > .footer-col:first-child {
    grid-column: span 3;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-banner {
    height: 240px;
  }

  .page-banner h2 {
    font-size: 30px;
  }
}

/* ========================================
   RESPONSIVE - Desktop (>=1024px)
   ======================================== */
@media (min-width: 1024px) {
  .top-bar {
    font-size: 13px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo {
    gap: 10px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo h1 {
    font-size: 18px;
  }
  
  .logo span {
    font-size: 18px;
  }

  .logo p {
    font-size: 14px;
    margin-top: 2px;
  }

  .hamburger {
    display: none;
  }

  .nav-bar {
    display: block;
  }

  .header-phone {
    display: flex;
  }

  .main-header .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-banner {
    height: 500px;
  }

  .hero-content h2 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .advantage-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .case-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .case-card-img {
    height: 140px;
  }

  .case-card-info {
    padding: 10px;
  }

  .case-card-info h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .case-card-info p {
    font-size: 12px;
    line-height: 1.5;
  }

  .about-img {
    width: 42%;
    min-height: 320px;
  }

  .about-text {
    width: 58%;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-content > .footer-col:first-child {
    grid-column: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .contact-map {
    height: 360px;
  }

  .process-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .process-card {
    padding: 16px 10px;
  }

  .process-card h4 {
    font-size: 14px;
  }

  .process-card p {
    font-size: 12px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    padding: 0 24px 8px;
  }

  .home-news-item {
    padding: 14px 0;
  }

  .home-news-list + .news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    padding: 0 24px 8px;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
  }

  .home-news-list + .news-list .news-item {
    padding: 12px 0;
  }

  .desktop-only {
    display: block !important;
  }

  body {
    padding-bottom: 0;
  }

  .mobile-bottom-nav {
    display: none !important;
  }

  .fab-container {
    bottom: 30px;
    right: 30px;
  }

  .page-banner {
    height: 280px;
  }

  .page-banner h2 {
    font-size: 34px;
  }

  .detail-content {
    padding: 40px 40px;
  }

  .detail-content h1 {
    font-size: 26px;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   About Page - Section Headings
   ======================================== */
.page-body .container > h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}

.page-body .container > h3 + p,
.page-body .container > h3 + div > p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-body .container > h3 + p:last-child,
.page-body .container > h3 + div > p:last-child {
  margin-bottom: 0;
}

/* ========================================
   About Page - Timeline (发展历程)
   ======================================== */
.timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 2px;
  height: calc(100% - 6px);
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
  padding-left: 16px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .year {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-item .desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   About Page - Culture Grid (企业文化)
   ======================================== */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}

.culture-card {
  background: var(--bg-gray);
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid var(--primary);
}

.culture-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.culture-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ========================================
   About Page - Section Spacing
   ======================================== */
.page-body .container > h3 {
  margin-top: 36px;
}

.page-body .container > h3:first-child {
  margin-top: 0;
}

/* ========================================
   Contact Page - Area List (各区域送水电话)
   ======================================== */
.area-section {
  margin-top: 40px;
}

.area-section h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.area-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.area-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-gray);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dark);
}

.area-list-item .area-name {
  font-weight: 500;
}

.area-list-item a {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.area-list-item a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .culture-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .culture-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 分站页面响应式 */
@media (min-width: 768px) {
  .area-about {
    grid-template-columns: 1fr 1fr;
  }

  .area-about-img {
    display: block;
  }

  .area-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .area-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .area-cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .area-faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .area-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-banner {
    height: 360px;
  }

  .area-banner-content h2 {
    font-size: 32px;
  }

  .area-section {
    padding: 50px 0;
  }

  .area-links-section {
    display: block;
  }
}

@media (min-width: 1024px) {
  .area-process-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}