/* ============================================
   宴小宝 - 品牌官网设计系统
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 品牌色 */
  --primary: #1a2b4a;
  --primary-light: #2a3f63;
  --primary-dark: #0f1c33;
  --accent: #c9a961;
  --accent-light: #e0c885;
  --accent-dark: #a8884a;

  /* 中性色 */
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --bg-dark: #0f1c33;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f0f1f3;

  /* 语义色 */
  --success: #10b981;
  --shadow: rgba(26, 43, 74, 0.08);
  --shadow-lg: rgba(26, 43, 74, 0.15);

  /* 尺寸 */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- 容器 ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用间距 ---------- */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* ---------- 排版 ---------- */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.8;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 43, 74, 0.25);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 30px;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.0625rem;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  box-shadow: 0 1px 12px var(--shadow);
  border-bottom-color: var(--border-light);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.logo-icon img.logo-custom {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
}

.logo-text {
  letter-spacing: -0.01em;
}

.logo-text .text-accent {
  color: var(--accent);
}

/* ---------- 导航菜单 ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: var(--transition);
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.9375rem;
}

/* ---------- 移动端菜单 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ---------- Hero 通用 ---------- */
.hero {
  padding: calc(var(--header-h) + 80px) 0 96px;
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f6 100%);
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  opacity: 0.03;
  pointer-events: none;
}

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-4px);
  border-color: var(--border);
}

/* ---------- 功能图标 ---------- */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  color: #b0b8c4;
  padding: 36px 0 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

/* 页脚联系方式条（版权横线上方，后台「底部内容」可编辑） */
.footer-contact-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-bottom: 30px;
  font-size: 0.9375rem;
  color: #8892a3;
}

.footer-contact-strip .fcs-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  transition: var(--transition);
}

.footer-contact-strip .fcs-item:hover {
  border-color: rgba(201,169,97,0.45);
  color: #e8ebf1;
}

.footer-contact-strip .fcs-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .footer-contact-strip {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-contact-strip .fcs-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    box-sizing: border-box;
  }
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-up {
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-in {
  animation: fadeIn 0.8s ease both;
}

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

/* 滚动渐显 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* 移动端展开菜单 */
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 32px var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.mobile-open a {
    font-size: 1.0625rem;
    padding: 8px 0;
  }

  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  .nav-actions.mobile-open .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

  .section-title {
    font-size: 1.5rem;
  }

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

/* ============================================
   新闻动态 & 成功案例页面
   ============================================ */

/* ---------- 分类筛选按钮 ---------- */
.news-filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.news-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.news-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* ---------- 新闻卡片 ---------- */
.news-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px var(--shadow);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow-lg);
  border-color: var(--border);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.news-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(201, 169, 97, 0.12);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-date {
  font-size: 0.8125rem;
  color: var(--text-lighter);
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: var(--transition);
}

.news-card:hover .news-card-title {
  color: var(--accent-dark);
}

.news-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.news-card-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.news-card:hover .news-card-more {
  color: var(--accent-dark);
  letter-spacing: 0.03em;
}

/* ---------- 弹窗（新闻/案例详情共用） ---------- */
.news-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 51, 0.6);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.news-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.news-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  padding: 48px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s;
}

.news-modal.open .news-modal-content {
  transform: translateY(0);
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  font-size: 1.375rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-modal-close:hover {
  background: var(--primary);
  color: #fff;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.news-detail-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.news-detail-summary {
  font-size: 1rem;
  color: var(--accent-dark);
  line-height: 1.8;
  background: rgba(201, 169, 97, 0.08);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.news-detail-body p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 18px;
}

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px var(--shadow);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-lg);
  border-color: var(--border);
}

.case-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.case-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-client {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.case-type {
  font-size: 0.75rem;
  color: var(--accent-dark);
}

.case-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: var(--transition);
}

.case-card:hover .case-card-title {
  color: var(--accent-dark);
}

.case-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

/* 成果数据 */
.case-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.case-result-item {
  text-align: center;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 12px 8px;
}

.case-result-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.2;
}

.case-result-label {
  font-size: 0.6875rem;
  color: var(--text-lighter);
  margin-top: 4px;
  line-height: 1.4;
}

.case-result-large .case-result-value {
  font-size: 1.625rem;
}

.case-detail-subtitle {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 968px) {
  .cases-grid,
  #casesGrid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .cases-grid,
  #casesGrid {
    grid-template-columns: 1fr !important;
  }

  .news-card {
    padding: 22px 20px;
  }

  .news-modal-content {
    padding: 32px 24px;
  }

  .news-detail-title {
    font-size: 1.375rem;
  }

  .case-result-large {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ============================================
   新闻/案例正文插图（后台编辑器中插入 [img]...[/img]）
   ============================================ */
.detail-inline-img {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}

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

/* 与文字混排的行内图片 */
img.detail-inline-img-inline {
  display: block;
  max-width: 100%;
  max-height: 420px;
  margin: 16px auto;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .detail-inline-img img,
  img.detail-inline-img-inline {
    max-height: 260px;
  }
}

/* ============================================
   空档捡漏 & 需求报价 页面样式
   ============================================ */

/* ---------- 空档卡片 ---------- */
.gap-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.gap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--accent);
}

.gap-card-top {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 16px 16px 16px 0;
  color: #fff;
}
.gap-date {
  background: rgba(201, 169, 97, 0.18);
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  margin-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.gap-date-month {
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 600;
}
.gap-date-day {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.gap-date-week {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
}
.gap-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.gap-hotel {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gap-hall {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.gap-reason {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.reason-change {
  background: rgba(201, 169, 97, 0.22);
  color: var(--accent-light);
}
.reason-cancel {
  background: rgba(99, 179, 237, 0.22);
  color: #93c5fd;
}
.reason-empty {
  background: rgba(52, 211, 153, 0.22);
  color: #6ee7b7;
}

.gap-card-body {
  padding: 16px;
  flex: 1;
}
.gap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.gap-tag {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-alt);
  font-size: 0.75rem;
  color: var(--text-light);
}
.gap-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.gap-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-dark);
}
.gap-price-old {
  font-size: 0.8125rem;
  color: var(--text-lighter);
  text-decoration: line-through;
}
.gap-highlight {
  font-size: 0.8125rem;
  color: #059669;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 6px;
  padding: 6px 10px;
}
.gap-card-more {
  font-size: 0.8125rem;
  color: var(--accent-dark);
  font-weight: 600;
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  transition: color 0.2s ease;
}
.gap-card:hover .gap-card-more {
  color: var(--primary);
}

/* ---------- 空档详情 ---------- */
.gap-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.gap-detail-header .gap-reason {
  color: var(--accent-dark);
  background: rgba(201, 169, 97, 0.15);
}
.gap-detail-date {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 600;
}
.gap-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 12px;
}
.gap-detail-item {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gap-detail-label {
  font-size: 0.75rem;
  color: var(--text-lighter);
}
.gap-detail-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
}
.gap-detail-price {
  color: var(--accent-dark);
  font-size: 1.0625rem;
}
.gap-detail-old {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.gap-detail-highlight {
  font-size: 0.875rem;
  color: #059669;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.gap-detail-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.gap-detail-contact-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

/* ---------- 需求卡片 ---------- */
.demand-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.demand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px var(--shadow-lg);
  border-color: var(--accent);
}
.demand-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 0;
}
.demand-customer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}
.demand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.demand-phone {
  font-size: 0.8125rem;
  color: var(--text-lighter);
  margin-top: 2px;
}
.demand-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pending {
  background: rgba(201, 169, 97, 0.15);
  color: var(--accent-dark);
}
.status-quoted {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}
.status-signed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.demand-card-body {
  padding: 14px 16px;
}
.demand-quote-row {
  margin-top: 4px;
}
.demand-quote-count {
  font-size: 0.8125rem;
  color: #2563eb;
  font-weight: 600;
}
.demand-quote-count.pending {
  color: var(--text-lighter);
  font-weight: 400;
}

/* ---------- 需求详情 ---------- */
.demand-detail-header {
  margin-bottom: 12px;
}
.demand-detail-header .demand-status {
  display: inline-block;
}
.demand-quotes {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.demand-quotes-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.demand-quote-item {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--bg-alt);
}
.demand-quote-hotel {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
}
.demand-quote-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin-top: 4px;
}
.demand-quote-note {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.6;
}
.demand-quote-time {
  font-size: 0.75rem;
  color: var(--text-lighter);
  margin-top: 6px;
}
.form-success {
  color: var(--success);
}

/* ---------- 空档/需求响应式 ---------- */
@media (max-width: 968px) {
  #gapList {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .demand-form-wrap {
    position: static !important;
  }
}

@media (max-width: 640px) {
  #gapList {
    grid-template-columns: 1fr !important;
  }
  .gap-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* 套餐卡片响应式：平板单列 */
@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px;
  }
}

/* 套餐说明公告条（金色点缀，突出计费与试用信息） */
.pricing-notice {
  margin: 36px auto 0;
  max-width: 780px;
  background: linear-gradient(135deg, rgba(201,169,97,0.12) 0%, rgba(201,169,97,0.05) 100%);
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 14px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(201,169,97,0.08);
}

.pricing-notice p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.9;
  margin: 2px 0;
}

.pricing-notice b {
  font-weight: 700;
}

@media (max-width: 640px) {
  .pricing-notice {
    padding: 16px 18px;
  }

  .pricing-notice p {
    font-size: 0.875rem;
    text-align: left;
  }
}

/* ============================================
   全站移动端适配（覆盖内联样式）
   说明：页面中大量布局以内联 style 写死列数与尺寸，
   内联样式优先级高于普通选择器，因此这里统一使用
   属性选择器匹配 + !important 在小屏下覆盖。
   ============================================ */

/* ---------- 平板（≤968px）：大分栏先堆叠 ---------- */
@media (max-width: 968px) {
  /* 两列大间距分栏（首页/关于/产品 Hero 与亮点模块）→ 单列堆叠 */
  [style*="grid-template-columns:1fr 1fr; gap:64px"],
  [style*="grid-template-columns: 1fr 1fr; gap:64px"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  /* 联系页 表单+信息分栏（1.2fr 1fr）→ 单列堆叠 */
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* 四列网格 → 两列 */
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ---------- 手机（≤768px）---------- */
@media (max-width: 768px) {
  /* 各类多列网格 → 单列（保留小卡片 12/16px 间距的两列布局） */
  [style*="grid-template-columns:1fr 1fr; gap:64px"],
  [style*="grid-template-columns:1fr 1fr; gap:32px"],
  [style*="grid-template-columns:1fr 1fr; gap:20px"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"],
  [style*="grid-template-columns:1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 网格/弹性布局间距压缩 */
  [style*="gap:64px"] { gap: 32px !important; }
  [style*="gap:48px"] { gap: 28px !important; }
  [style*="gap:40px"] { gap: 24px !important; }
  [style*="gap:32px"] { gap: 24px !important; }

  /* 首页「三步上手」横向连接线仅服务桌面三列布局，
     手机单列下会超出容器内边距造成横向溢出，直接隐藏 */
  [style*="right:-32px"],
  [style*="right: -32px"] {
    display: none !important;
  }

  /* 大标题字号缩减 */
  [style*="font-size:3rem"]     { font-size: 2rem !important; }
  [style*="font-size:2.75rem"]  { font-size: 2rem !important; }
  [style*="font-size:2.5rem"]   { font-size: 1.75rem !important; }
  [style*="font-size:2.25rem"]  { font-size: 1.625rem !important; }
  [style*="font-size:2rem"]     { font-size: 1.5rem !important; }
  [style*="font-size:1.125rem"] { font-size: 1rem !important; }

  /* 大内边距压缩 */
  [style*="padding:48px"] { padding: 28px !important; }
  [style*="padding:40px"] { padding: 24px !important; }
  [style*="padding:36px"] { padding: 24px !important; }
}

/* ---------- 小屏手机（≤480px）---------- */
@media (max-width: 480px) {
  /* 四列网格 → 单列 */
  [style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero 主标题进一步缩小 */
  [style*="font-size:3rem"],
  [style*="font-size:2.75rem"] {
    font-size: 1.75rem !important;
  }

  /* 信任指标/数据数字缩小 */
  [style*="font-size:2rem"] { font-size: 1.375rem !important; }
  [style*="font-size:2.5rem"] { font-size: 1.5rem !important; }

  /* 产品页档期看板：日期列与间距压缩，避免横向溢出 */
  [style*="grid-template-columns:60px 1fr 1fr 1fr"] {
    grid-template-columns: 44px 1fr 1fr 1fr !important;
    gap: 4px !important;
  }
}
