/* ============================================
   華世儲運香港1975 - 企业官网自定义样式
   Design: Minimalist & Professional | Gold & Navy Blue
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #1e3a5f;      /* 深蓝色 - 主色调 */
  --secondary-color: #c9a96e;    /* 金色 - 强调色 */
  --accent-color: #2d5a8a;       /* 中蓝色 */
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e5e5e5;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-gray);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-logo {
  width: 75%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 50%, #1e3a5f 100%);
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text .highlight {
  color: var(--secondary-color);
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background: #b8944d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* ============================================
   Sections Common
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(45,90,138,0.08));
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 650px;
  margin: 0 auto;
}

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

.bg-white {
  background: var(--bg-white);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(45,90,138,0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.experience-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text > p {
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(45,90,138,0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advantage-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.9rem;
}

/* ============================================
   Process/Workflow Section
   ============================================ */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.step-circle {
  width: 64px;
  height: 64px;
  background: white;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .step-circle {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(30,58,95,0.08), rgba(45,90,138,0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(30,58,95,0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.25);
}

/* Map Placeholder */
.map-container {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #e8ecf1, #d5dde8);
  border-radius: 16px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 1rem;
  overflow: hidden;
  position: true;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.15);
}

.footer-brand .logo-subtitle {
  color: rgba(255,255,255,0.6);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-contact-item span:first-child {
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   Timeline (About Page)
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 40px);
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary-color);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-steps::before {
    display: none;
  }

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

  .timeline-dot {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 50px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
    margin-top: 80px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-header {
    padding: 120px 0 50px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 28px 24px;
  }

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

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .navbar, .menu-toggle, .nav-menu,
  .cta-section, .back-to-top,
  .hero-bg-pattern { display: none !important; }

  .hero { margin-top: 0; min-height: auto; padding: 40px 0; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; }
  .section { padding: 30px 0; page-break-inside: avoid; }
}

/* ============================================
   Selection & Focus Styles
   ============================================ */
::selection {
  background: var(--secondary-color);
  color: white;
}

:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Scrollbar Styling (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Image Lazy Loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ============================================
   Floating Contact Bar (悬浮联系按钮)
   ============================================ */
.floating-contact-bar {
  position: fixed;
  right: 20px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.floating-btn svg {
  flex-shrink: 0;
}

.floating-phone {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.floating-quote {
  background: linear-gradient(135deg, #c9a96e, #d4b87a);
  color: #1e3a5f;
}

.floating-wechat {
  background: linear-gradient(135deg, #07c160, #1aad19);
}

.floating-btn span {
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease;
}

.floating-btn:hover span {
  max-width: 80px;
}

/* Mobile: smaller buttons */
@media (max-width: 768px) {
  .floating-contact-bar {
    right: 10px;
    bottom: 80px;
    gap: 8px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .floating-btn span {
    display: none;
  }
}

/* ============================================
   案例资讯 News Grid (由 cms.js 动态渲染)
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border-color, #e8e8e8);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.12);
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.news-date {
  font-size: 0.85rem;
  color: var(--text-light, #888);
}
.news-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}
.news-tag-case {
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary-color, #1e3a5f);
}
.news-tag-news {
  background: rgba(201, 169, 110, 0.15);
  color: #b8944d;
}
.news-title {
  font-size: 1.15rem;
  color: var(--primary-color, #1e3a5f);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-summary {
  color: var(--text-gray, #666);
  font-size: 0.95rem;
  line-height: 1.7;
}
