/* ============================================================
   万机易租 官网样式（静态 CSS，无运行时依赖）
   品牌主色 #ff6a00 / 浅色主题
   ============================================================ */
:root {
  --brand: #ff6a00;
  --brand-dark: #e35b00;
  --brand-soft: #fff3ea;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 8px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; color: var(--brand); letter-spacing: 0.04em;
}
.brand img { width: 30px; height: 30px; }
.brand small {
  font-size: 11px; font-weight: 400; color: var(--muted);
  letter-spacing: 0.18em; margin-left: 4px; align-self: flex-end; padding-bottom: 2px;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: #4b5563; font-size: 14.5px; font-weight: 500; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; font-size: 13px; color: var(--muted); cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--brand); border-color: var(--brand); }
.menu-toggle {
  display: none; background: none; border: none; font-size: 24px;
  color: var(--ink); cursor: pointer; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #f6f8fb 0%, #fdf4ec 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 48px 20px 56px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-kicker {
  display: inline-block; background: var(--brand-soft); color: var(--brand-dark);
  font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 999px;
  border: 1px solid #ffd9bd; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.3; font-weight: 800;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-answer {
  margin-top: 16px; font-size: 16.5px; color: #4b5563; max-width: 560px;
}
.hero-ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: 0.2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 0, 0.3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-stats { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.stat-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; font-size: 13.5px; color: #4b5563;
}
.stat-chip b { color: var(--ink); margin-right: 8px; }
.stat-chip b + span { color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- 通用 Section ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.section-head .sub { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- 关键信息表 ---------- */
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.fact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.fact-card dt { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.fact-card dd { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.fact-card dd small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 关于 ---------- */
.about-cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.about-prose p { color: #4b5563; font-size: 15.5px; margin-bottom: 14px; }
.about-points { display: grid; gap: 12px; }
.point-card {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.point-card .icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.point-card h3 { font-size: 15px; margin-bottom: 3px; }
.point-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 品类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 10px rgba(17,24,39,0.04); transition: transform 0.25s, box-shadow 0.25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card img { width: 100%; height: 180px; object-fit: cover; }
.cat-body { padding: 18px; }
.cat-body h3 { font-size: 17px; }
.cat-body p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.cat-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tags span {
  font-size: 12px; color: var(--brand-dark); background: var(--brand-soft);
  border-radius: 999px; padding: 3px 10px;
}

/* ---------- 机型 ---------- */
.model-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.model-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.model-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.model-info { padding: 12px 14px 14px; }
.model-brand { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.model-card .name { font-size: 14.5px; font-weight: 700; margin-top: 3px; line-height: 1.4; }
.model-scene { margin-top: 6px; font-size: 12px; color: var(--muted); }
.models-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- 流程 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; position: relative; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); border-radius: 8px; padding: 2px 9px; margin-bottom: 10px;
}
.step h3 { font-size: 14.5px; }
.step p { margin-top: 5px; font-size: 12.8px; color: var(--muted); }

/* ---------- 合作 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card .icon { font-size: 34px; }
.partner-card h3 { margin-top: 12px; font-size: 16px; }
.partner-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.partner-cta { text-align: center; margin-top: 32px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 175px; object-fit: cover; }
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 15.5px; line-height: 1.5; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--brand); }
.news-body time { font-size: 12.5px; color: #9ca3af; margin-top: 8px; }
.news-body p { margin-top: 8px; font-size: 13.5px; color: var(--muted); flex: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-size: 15.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 20px 18px; color: #4b5563; font-size: 14.5px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.contact-item .icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item h3 { font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-item p { font-size: 15.5px; font-weight: 600; }
.contact-item p a { color: var(--ink); }
.contact-item p a:hover { color: var(--brand); }
.contact-item small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.qr-card img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto; border: 1px solid var(--line); border-radius: 8px; }
.qr-card p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: #171d29; color: #cbd2dc; padding: 44px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-size: 20px; font-weight: 700; color: var(--brand); letter-spacing: 0.05em; }
.footer-brand small { display: block; font-size: 11px; color: #8b93a1; letter-spacing: 0.18em; margin-top: 2px; }
.footer-col h3 { font-size: 13px; color: #8b93a1; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: #cbd2dc; font-size: 13.5px; }
.footer-nav a:hover { color: var(--brand); }
.footer-contact { font-size: 13.5px; color: #8b93a1; }
.footer-contact strong { display: block; color: #fff; font-size: 17px; letter-spacing: 0.02em; }
.footer-bottom {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 12.5px; color: #6d7686;
}
.footer-bottom a { color: #8b93a1; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 20, 30, 0.55); z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  background: #fff; border-radius: 20px; max-width: 430px; width: 100%;
  padding: 34px 32px 30px; box-shadow: 0 30px 70px rgba(15, 20, 30, 0.35);
  transform: translateY(18px) scale(0.97); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  background: none; border: none; font-size: 20px; line-height: 1;
  color: #9ca3af; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.modal-close:hover { background: #f1f3f6; color: var(--ink); transform: rotate(90deg); }
.modal-close:active { transform: rotate(90deg) scale(0.92); }
.modal-box { position: relative; }
.modal-box h3 { font-size: 21px; margin-bottom: 6px; }
.modal-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px;
}
.form-group label .req { color: var(--brand); margin-left: 3px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 14.5px; font-family: inherit; outline: none;
  background: #fafbfc; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group textarea { resize: none; min-height: 88px; line-height: 1.6; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b0b7c3; }
.form-group input:hover, .form-group textarea:hover { border-color: #c6cdd8; }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.14);
}
.form-group .invalid { border-color: #ef4444; background: #fff; }
.form-group .invalid:focus { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.form-group .err-msg {
  display: none; font-size: 12.5px; color: #ef4444; margin-top: 5px;
}
.form-group.has-error .err-msg { display: block; }
.form-submit {
  width: 100%; padding: 13px; font-size: 15px; justify-content: center;
  background: linear-gradient(135deg, #ff7a1a, #ff6a00);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.32);
}
.form-submit:hover {
  background: linear-gradient(135deg, #ff6d08, #f25c00);
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.42);
  transform: translateY(-1px);
}
.form-submit:active { transform: translateY(0) scale(0.985); box-shadow: 0 6px 16px rgba(255, 106, 0, 0.3); }
.form-submit:disabled {
  opacity: 0.65; cursor: not-allowed; transform: none;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.22);
}
.form-submit .spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: rgba(23,29,41,0.92); color: #fff; font-size: 14px;
  padding: 11px 22px; border-radius: 999px; z-index: 200;
  opacity: 0; visibility: hidden; transition: 0.3s; pointer-events: none;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

body.no-scroll { overflow: hidden; }

/* ---------- 移动端 ---------- */
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { display: block; padding: 12px 22px; color: #4b5563; font-size: 14.5px; }
.mobile-menu.open { display: block; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding: 36px 20px 44px; }
  .hero-media { order: -1; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cols { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  section { padding: 52px 0; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .model-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
}

/* ---------- 品类卡片：进入品类详情页 ---------- */
.cat-more {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600;
  color: var(--brand);
}
.cat-more:hover { color: var(--brand-dark); }

