:root {
  --primary: #e53935;
  --primary-dark: #c62828;
  --accent: #1f4f8c;
  --text: #333;
  --muted: #666;
  --bg: #f8f9fb;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}

.logo-text h1 {
  margin: 0;
  font-size: 1.5rem;
}

.logo-text p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.hotline {
  text-align: right;
  font-weight: 600;
  color: var(--muted);
}

.hotline strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(31, 79, 140, 0.1));
  padding: 2.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content h2 {
  margin: 0;
  color: var(--accent);
  font-size: 1.8rem;
}

.hero-content h3 {
  margin: 0.8rem 0 1rem;
  font-size: 2.6rem;
  color: var(--primary);
}

.hero-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.hero-content li::before {
  content: '✔';
  margin-right: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-image {
  min-height: 320px;
  border-radius: var(--radius);
  background: url('banjia.jpg')
    center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-phone {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero-phone span {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.button.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.button.ghost:hover {
  background: rgba(229, 57, 53, 0.12);
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: 2rem;
}

.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  justify-items: center;
}

.service-item {
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
  padding: 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  min-height: 140px;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: #fff;
}

.service-item .icon {
  font-size: 2rem;
}

.center {
  margin-top: 2rem;
  text-align: center;
}

.pricing {
  background: var(--bg);
}

.vehicle-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
}

.vehicle-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.vehicle-card h3 {
  margin: 0 1.5rem;
}

.vehicle-card p {
  margin: 0 1.5rem;
  color: var(--muted);
}

.vehicle-card ul {
  margin: 0 1.5rem 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.price-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.price-table {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.price-table h3 {
  margin: 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.9), rgba(229, 57, 53, 0.7));
  color: #fff;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.intro-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.intro-text h2 {
  margin: 0 0 1rem;
}

.intro-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.intro-image {
  min-height: 260px;
  border-radius: var(--radius);
  background: url('gsjs.jpg')
    center/cover no-repeat;
  box-shadow: var(--shadow);
}

.reasons {
  background: #fff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.reason-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 140px;
}

.reason-icon {
  font-size: 2.2rem;
  color: var(--primary);
}

.cta {
  background: linear-gradient(135deg, rgba(229, 57, 53, 0.95), rgba(198, 40, 40, 0.95));
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-phone span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-phone strong {
  display: block;
  font-size: 2rem;
  margin: 0.3rem 0;
}

.cta-phone p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer {
  background: #1d232a;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hotline {
    text-align: center;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .service-item {
    min-height: 120px;
    padding: 1.2rem 0.8rem;
  }

  .reason-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .reason-item {
    min-height: 120px;
    padding: 1.2rem 0.8rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .service-item {
    min-height: 110px;
    padding: 1rem 0.6rem;
  }

  .service-item .icon {
    font-size: 1.6rem;
  }

  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .reason-item {
    min-height: 110px;
    padding: 1rem 0.6rem;
  }

  .reason-icon {
    font-size: 1.8rem;
  }
}

/* 二维码弹框样式 */
.qrcode-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qrcode-modal.show {
  opacity: 1;
  visibility: visible;
}

.qrcode-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.qrcode-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.qrcode-modal.show .qrcode-modal-content {
  transform: scale(1);
}

.qrcode-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1002;
}

.qrcode-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.qrcode-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .qrcode-modal-content {
    padding: 1.5rem;
  }

  .qrcode-modal-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
    top: 8px;
    right: 8px;
  }
}

