/* ============================================
   广西南宁恒航汽车运输有限责任公司 门户网站
   主样式表
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a5fb4;
  --primary-dark: #0d3b7a;
  --primary-light: #4a8fe7;
  --accent: #e6a817;
  --accent-dark: #c48f0f;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #e9ecef;
  --border: #dee2e6;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.center-btn { text-align: center; margin-top: 30px; }

/* --- Header --- */
.header {
  background: var(--bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-size: 22px; color: var(--primary-dark); font-weight: 700; }
.logo-sub { font-size: 12px; color: var(--text-light); display: block; }
.nav { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  color: var(--text);
  font-size: 15px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(26,95,180,0.06);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Banner --- */
.banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.banner-slides { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: #fff; transform: scale(1.2); }

/* Fallback banner text */
.banner-fallback {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}
.banner-fallback h2 { font-size: 36px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.banner-fallback p { font-size: 18px; opacity: 0.9; }

/* --- Service Grid --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon { font-size: 40px; margin-bottom: 12px; }
.service-card h3 { color: var(--primary-dark); margin-bottom: 8px; font-size: 18px; }
.service-card p { color: var(--text-light); font-size: 14px; }

/* --- Vehicle Grid --- */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.vehicle-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vehicle-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 240px;
  object-fit: cover;
  background: #f0f2f5;
  object-position: center;
  display: block;
}
.vehicle-card-body { padding: 5px 16px; margin-top: 4px; }
.vehicle-card-name { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.vehicle-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.tag-seat { background: rgba(26,95,180,0.1); color: var(--primary); }
.tag-driver { background: rgba(46,204,113,0.12); color: #27ae60; }
.tag-license { background: rgba(230,168,23,0.12); color: var(--accent-dark); }
.tag-new { background: rgba(231,76,60,0.1); color: #e74c3c; }

/* --- Vehicle Category Group --- */
.category-group { margin-bottom: 40px; }
.category-group-title {
  font-size: 20px;
  color: var(--primary-dark);
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* --- Vehicle Tabs --- */
.vehicle-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}
.tab-btn {
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

/* --- Page Title --- */
.page-title {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-title h2 { font-size: 28px; margin-bottom: 8px; }
.page-title p { opacity: 0.85; font-size: 15px; }
.page-title a { color: rgba(255,255,255,0.8); }
.page-title a:hover { color: #fff; }

/* --- Detail Images (2x3 grid) --- */
.detail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}
.detail-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #f0f2f5;
  cursor: pointer;
  transition: var(--transition);
}
.detail-images img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.img-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Detail Info --- */
.detail-info { margin-bottom: 30px; }
.detail-info h2 { font-size: 24px; color: var(--primary-dark); margin-bottom: 12px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-desc { color: var(--text); line-height: 1.8; font-size: 15px; }
.detail-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Contact CTA --- */
.contact-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
}
.contact-cta .section-title { color: #fff; }
.contact-cta .section-title::after { background: var(--accent); }
.cta-desc { opacity: 0.9; margin-bottom: 24px; font-size: 16px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- News List --- */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-item:hover { background: var(--bg-light); padding-left: 8px; }
.news-item-cover {
  width: 180px;
  min-width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-gray);
}
.news-item-body { flex: 1; }
.news-item-title { font-size: 17px; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.news-item-title:hover { color: var(--primary); }
.news-item-summary { color: var(--text-light); font-size: 14px; margin-bottom: 8px; }
.news-item-date { color: var(--text-light); font-size: 13px; }

/* --- News Detail --- */
.news-detail { max-width: 800px; margin: 0 auto; }
.news-detail h1 { font-size: 24px; color: var(--primary-dark); margin-bottom: 12px; }
.news-detail-meta { color: var(--text-light); font-size: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.news-detail-content { line-height: 1.8; font-size: 15px; }
.news-detail-content p { margin-bottom: 16px; }
.news-detail-content img { 
  border-radius: var(--radius); 
  margin: 16px 0; 
  max-width: 100%; 
  height: auto; 
  display: block;
}
/* 编辑器设置的图片尺寸保持原样 */
.news-detail-content img[width] { max-width: none; width: attr(width px); }
.news-detail-content img[style*="width"] { max-width: 100%; }

/* --- About --- */
.about-block { margin-bottom: 40px; }
.about-block h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.about-block p,
.about-block div {
  margin-bottom: 0.3em;
  line-height: 1.8;
  text-indent: 2em;
  text-align: justify;
}
.about-block ul { padding-left: 20px; }
.about-block li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.7;
}
/* 关于我们页面的图片 */
.about-block img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 16px auto;
  display: block;
}
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.qualification-item {
  text-align: center;
}
.qualification-item img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
}
.qualification-item p { margin-top: 8px; color: var(--text-light); font-size: 14px; text-align: center; }

/* --- Contact Page --- */
/* --- Contact Page Cards (GDTXTS style) --- */
.contact-info-section {
  padding: 40px 0;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 4px 4px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.contact-card-icon {
  font-size: 24px;
  margin-bottom: 0;
}
.contact-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0;
}
.contact-card-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0;
}
.contact-card-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0;
}
.contact-address {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.contact-qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
}
.contact-qr-img.qr-zoom {
  transform: scale(1.8);
  z-index: 999;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.wx-id {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  user-select: none;
}
.wx-id .copy-tip {
  margin-left: 8px;
  font-size: 12px;
  color: #fff;
  background: #07c160;
  padding: 2px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.wx-id:hover .copy-tip { opacity: 1; }
  display: block;
}

/* --- Contact Form Section --- */
.contact-form-section {
  background: var(--bg-light);
  padding: 50px 0;
}
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form-wrapper h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  text-align: center;
}
.contact-form-wrapper .form-desc {
  color: var(--text-light);
  margin-bottom: 28px;
  text-align: center;
}
.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.btn-block {
  width: 100%;
}

/* --- Old Contact Grid (keep for compatibility) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon { font-size: 32px; }
.contact-item h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.contact-item p { color: var(--text); font-size: 15px; }
.contact-qr { text-align: center; }
.qr-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-qr p { margin-top: 8px; color: var(--text-light); font-size: 14px; }

/* --- Message Form --- */
.message-form-block {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}
.message-form-block h3 { font-size: 20px; color: var(--primary-dark); margin-bottom: 8px; }
.message-form-block .form-desc { color: var(--text-light); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group .required { color: #e74c3c; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,180,0.1);
}
.form-msg { margin-top: 12px; font-size: 14px; }
.form-msg.success { color: #27ae60; }
.form-msg.error { color: #e74c3c; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-phone { background: var(--primary); color: #fff; }
.btn-phone:hover { background: var(--primary-dark); color: #fff; }
.btn-wechat { background: #07c160; color: #fff; }
.btn-wechat:hover { background: #06ad56; color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 17px; }

/* --- Footer --- */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.75);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer p { margin-bottom: 6px; font-size: 14px; }
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* --- Float Contact (mobile) --- */
.float-contact {
  position: fixed;
  right: 16px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.float-phone { background: var(--primary); }
.float-wechat { background: #07c160; }

/* --- Image Modal (lightbox) --- */
.img-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.img-modal.show { display: flex; }
.img-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
  line-height: 1;
}
.lb-btn:hover { background: rgba(255,255,255,0.5); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  z-index: 2001;
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 12px 20px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  
  .banner { height: 260px; }
  .banner-fallback h2 { font-size: 22px; }
  .banner-fallback p { font-size: 14px; }
  
  .section { padding: 36px 0; }
  .section-title { font-size: 22px; }
  
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 12px; }
  .service-icon { font-size: 30px; }
  .service-card h3 { font-size: 15px; }
  
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vehicle-card-img { max-height: 220px; }
  
  .detail-images { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .detail-images img { max-height: 220px; }
  .detail-contact { flex-direction: column; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .qr-img { width: 160px; height: 160px; }
  
  /* Contact cards responsive */
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  
  .news-item { flex-direction: column; }
  .news-item-cover { width: 100%; min-width: unset; height: 180px; }
  
  .float-contact { display: flex; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { padding: 16px 8px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .detail-images { grid-template-columns: repeat(2, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; }
  
  /* Contact cards responsive */
  .contact-cards { grid-template-columns: 1fr; }
}

/* Desktop: hide float buttons */
@media (min-width: 769px) {
  .float-contact { display: none; }
}

/* --- Why Choose Us --- */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-icon { font-size: 36px; margin-bottom: 8px; }
.why-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}
.why-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 4px 0 6px;
}
.why-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Booking Flow --- */
.flow-section { background: var(--bg); }
.flow-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.flow-card {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.flow-step {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(230,168,23,0.4);
}
.flow-icon { font-size: 40px; margin-bottom: 12px; }
.flow-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 6px; }
.flow-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.flow-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Quick Inquiry --- */
.inquiry-section { background: var(--bg-light); }
.inquiry-form {
  display: flex;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
}
.inquiry-form input {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: var(--transition);
}
.inquiry-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,95,180,0.1);
}
.inquiry-form .btn {
  flex-shrink: 0;
}
.inquiry-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}
.inquiry-hint a {
  font-weight: 600;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Why & Flow Responsive --- */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-card { padding: 20px 10px; }
  .why-icon { font-size: 28px; }
  .why-num { font-size: 22px; }
  .why-label { font-size: 14px; }
  .why-desc { font-size: 12px; }

  .flow-grid { flex-direction: column; gap: 24px; }
  .flow-arrow { transform: rotate(90deg); font-size: 24px; }
  .flow-card { width: 100%; padding: 24px 16px; }

  .inquiry-form { flex-direction: column; }
  .inquiry-form .btn { width: 100%; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-card { padding: 14px 8px; }
  .why-num { font-size: 20px; }
}

/* --- About Page Enhanced --- */
.about-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.about-heading {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-intro {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.about-intro p {
  margin-bottom: 16px;
  text-align: justify;
}

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

.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

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

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

.scope-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scope-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.scope-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.scope-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.scope-card h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.scope-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

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

.adv-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.adv-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.adv-icon {
  font-size: 28px;
}

.adv-card h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-phone {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: var(--primary);
}

.btn-cta-wechat {
  background: #07c160;
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-cta-wechat:hover {
  background: #06ad56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- News Card Enhanced --- */
.news-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid var(--primary);
}

.news-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.news-card-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.news-card-summary {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

/* --- Banner Text --- */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  width: 90%;
  max-width: 700px;
}

.banner-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.banner-text p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.banner-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(230,168,23,0.4);
  transition: var(--transition);
}

.banner-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,168,23,0.5);
  color: #fff;
}

/* --- Page Title Variants --- */
.page-title-about {
  background: linear-gradient(135deg, #0d3b7a 0%, #1a5fb4 50%, #4a8fe7 100%);
}

.page-title-news {
  background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
}

/* --- Responsive About --- */
@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-heading {
    font-size: 26px;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .scope-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .advantage-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .banner-text h2 {
    font-size: 28px;
  }
  
  .banner-text p {
    font-size: 16px;
  }
  
  .banner-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .scope-cards {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-cta-phone,
  .btn-cta-wechat {
    text-align: center;
  }
}
