:root {
  --primary: #0e7490;
  --primary-dark: #0b5f74;
  --secondary: #2563eb;
  --accent: #f59e0b;
  --bg: #f4f8fb;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #18a058;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  gap: 16px;
}

.logo {
  font-weight: 800;
  color: #0f172a;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

.hero {
  background: radial-gradient(circle at top right, #dff5ff 0%, #eef7ff 34%, #ffffff 100%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-models {
  padding: 64px 0 44px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 1.25;
}

.subtitle {
  margin-top: 14px;
  font-weight: 700;
  color: #0f172a;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
}

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

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #bfdbfe;
}

.section {
  padding: 54px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin: 0 0 22px;
  font-size: 1.85rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.card,
.case-card,
.service-block,
.contact-card,
.form,
.model-preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.card,
.case-card,
.service-block,
.model-preview-card,
.showcase-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.case-card:hover,
.service-block:hover,
.model-preview-card:hover,
.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  border-color: #bfdbfe;
}

.model-preview-grid {
  margin-top: 14px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tag {
  color: var(--success);
  font-weight: 700;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-check li::before {
  content: "✓";
  color: var(--success);
  margin-right: 10px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-item span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-block {
  margin-bottom: 14px;
}

.service-block h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1.2fr;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #bfdbfe;
  border-color: #93c5fd;
}

/* 机型轮播 */
.carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.carousel-track {
  position: relative;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.caption {
  padding: 12px 14px;
  font-weight: 600;
  background: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.64);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

/* 移动端悬浮按钮 */
.mobile-fab {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  z-index: 30;
  display: none;
  gap: 10px;
}

.fab-btn {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.25);
}

.fab-call {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.fab-nav {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 100%);
}


.form-status {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: #334155;
}

.form-status.success {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

.form button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.section-showcase {
  background: linear-gradient(180deg, #f8fdff 0%, #ffffff 100%);
}

.showcase-grid {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.showcase-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.showcase-item figcaption {
  padding: 10px 12px;
  font-weight: 600;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.site-footer {
  padding: 24px 0 38px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .contact-grid,
  .model-preview-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .carousel img {
    height: 300px;
  }
}

@media (max-width: 580px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  nav {
    gap: 12px;
  }

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

  .mobile-fab {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }
}
