/* 追悦体育 · 方案与报价页（quote.html）样式
   仅作用于 .q-* 命名空间，不影响站内其他页面 */

.q-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

label.q-f {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

label.q-f select,
label.q-f input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

label.q-f select:focus,
label.q-f input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 43, 70, 0.1);
}

.q-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px;
}

.q-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 46px 32px;
}

.q-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.q-btn { border: none; cursor: pointer; font-family: inherit; }
.q-note { font-size: 13.5px; color: var(--text-muted); }

.q-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--text);
}

.q-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  align-items: start;
}

.q-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.q-plan.is-reco {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 40px rgba(15, 43, 70, 0.16);
}

.q-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 0 0 0 10px;
}

.q-plan-head {
  padding: 18px 22px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.q-tier {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
}

.q-plan-head h3 {
  font-size: 21px;
  color: var(--primary);
  margin: 4px 0 6px;
}

.q-pos { font-size: 13.5px; color: var(--text-muted); }

.q-price {
  padding: 16px 22px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.q-pp { font-size: 30px; font-weight: 800; color: #fff; }
.q-unit { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

.q-tot {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  line-height: 1.5;
}

.q-tot b { font-size: 18px; color: #fff; display: block; }

.q-plan-body { padding: 18px 22px 22px; flex: 1; }

.q-plan-body h4 {
  font-size: 14px;
  color: var(--primary);
  margin: 18px 0 8px;
  font-weight: 700;
}

.q-plan-body h4:first-child { margin-top: 0; }

.q-plan-body ul { padding-left: 20px; list-style: disc; }

.q-plan-body li {
  font-size: 13.5px;
  color: var(--text);
  margin: 4px 0;
}

table.q-tl { width: 100%; border-collapse: collapse; font-size: 13px; }

table.q-tl td {
  padding: 6px 4px;
  border-bottom: 1px dashed var(--border);
  vertical-align: top;
  color: var(--text);
}

table.q-tl td:first-child {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  width: 78px;
}

.q-fit {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 13.5px;
  color: var(--text);
  margin-top: 16px;
  line-height: 1.7;
}

.q-fit b { color: var(--primary); }

.q-fit-tip { background: #fff8f0; color: #8a5a10; }

.q-cmp-title {
  font-size: 20px;
  color: var(--primary);
  margin: 44px 0 16px;
}

.q-table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow);
}

table.q-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

table.q-table th,
table.q-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}

table.q-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

table.q-table tr:last-child td { border-bottom: none; }

table.q-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

table.q-table tr:nth-child(even) td { background: #fafcfe; }

.q-fineprint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.8;
}

.q-tips { margin-top: 56px; }

.q-tips h3 {
  font-size: 22px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
}

.q-tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.q-tip {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.q-tip strong {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

.q-tip p { font-size: 14px; color: var(--text-muted); }

.q-contactbar {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.q-contactbar-t b {
  display: block;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 4px;
}

.q-contactbar-t span { font-size: 14px; color: var(--text-muted); }

.q-contactbar-a { display: flex; gap: 12px; flex-wrap: wrap; }

.btn.q-btn-ghost {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

.btn.q-btn-ghost:hover { background: var(--bg-soft); }

.q-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.q-contact > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--text);
}

.q-contact strong {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}

.q-contact a { color: var(--primary); font-weight: 600; }
.q-contact a:hover { color: var(--accent); }

.q-summary.pulse { animation: qpulse 1.5s ease; }

@keyframes qpulse {
  0%, 100% { background: #fff; }
  25% { background: #fff1e5; border-color: var(--accent); }
  60% { background: #fff6ee; }
}

.q-errbar {
  margin-top: 16px;
  background: #fdecea;
  border: 1px solid #f5c6c0;
  border-left: 5px solid #b3261e;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #8c1d18;
}

/* ---------- 首页测算器入口 band ---------- */
.quote-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.quote-promo-txt { flex: 1 1 520px; }

.quote-promo .eyebrow {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quote-promo h2 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.quote-promo-txt > p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.quote-promo-list { padding-left: 0; }

.quote-promo-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text);
  margin: 7px 0;
}

.quote-promo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.quote-promo-act {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-promo-act span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 640px) {
  .quote-promo { padding: 26px 22px; }
  .quote-promo h2 { font-size: 23px; }
  .quote-promo-act { width: 100%; }

  .q-card { padding: 22px 18px; }
  .q-plan-body { padding: 16px 16px 18px; }
  .q-contactbar { padding: 20px; }
  .q-pp { font-size: 26px; }
  .q-tot { text-align: left; }
}

@media print {
  .site-header, .page-hero, .q-actions, .q-contactbar, .site-footer, #calc { display: none !important; }
  .section { padding: 0 !important; }
  .q-plans { grid-template-columns: 1fr; }
  .q-plan { break-inside: avoid; page-break-inside: avoid; }
  .q-price { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  table.q-table { break-inside: avoid; page-break-inside: avoid; }
}

/* 方案 PPT 下载 */
.q-ppt-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.q-ppt { background: #ff6b35; color: #fff; border: none; cursor: pointer; font-weight: 700; padding: 10px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 2px 8px rgba(255,107,53,.35); }
.q-ppt:hover { background: #e85a28; }
.q-ppt[disabled] { opacity: .6; cursor: wait; }
.q-ppt-all { background: #ff6b35; color: #fff; border: 2px solid #ff6b35; cursor: pointer; font-weight: 700; padding: 9px 22px; border-radius: 8px; font-size: 15px; box-shadow: 0 2px 8px rgba(255,107,53,.35); }
.q-ppt-all:hover { background: #e85a28; border-color: #e85a28; color: #fff; }
.q-ppt-note { font-size: 12.5px; color: var(--text-muted, #5B6B7C); margin-top: 6px; }
@media print { .q-ppt-row, .q-ppt-all { display: none !important; } }
