.quote-modal-open {
  overflow: hidden;
}

.nav-quote-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgb(0 140 17 / 35%);
  border-radius: 999px;
  /*
   * 固定品牌绿，不走页面级 --green：about / contact / 制造支持等页面会在自己的
   * 作用域里把 --green 改成 #008c11，导致同一个导航按钮在页面之间变色。
   */
  background: #009326;
  color: #fff;
  /*
   * 必须用 header.css 全局声明的 "OrbitronLocal"：unquoted 的 "Orbitron" 只在
   * 首页的 page-home.css 里定义，其它页面会回退到 Outfit，字形和宽度都变了。
   * 字重 700 对应 orbitron-bold.otf，与首页原先的渲染完全一致。
   */
  font-family: "OrbitronLocal", "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-quote-btn:hover,
.nav-quote-btn:focus-visible {
  background: #006f0d;
  box-shadow: 0 8px 20px rgb(0 140 17 / 22%);
  transform: translateY(-1px);
}

.nav-quote-btn:focus-visible {
  outline: 3px solid rgb(0 140 17 / 20%);
  outline-offset: 3px;
}

.floating-social__link--inquiry .iconfont {
  font-size: 22px;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(18 24 20 / 46%);
  cursor: pointer;
}

.quote-modal__panel {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 30px 38px 32px;
  border: 1px solid rgb(0 157 53 / 25%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 80px rgb(0 34 17 / 28%);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease;
}

.quote-modal.is-open .quote-modal__panel {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f5f2;
  color: #64756f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.quote-modal__close:hover,
.quote-modal__close:focus-visible {
  color: var(--green, #008c11);
  background: #edf7ef;
}

.quote-modal__body {
  --green: #008c11;
  --deep: #14363f;
  --muted: #97a29c;
  --yellow: #ffb700;
  --panel: #f5f8f7;
}

@media (max-width: 1200px) {
  .nav-quote-btn {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .site-header.is-menu-open .nav-quote-btn {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .quote-modal {
    padding: 16px 8px;
  }

  .quote-modal__panel {
    width: calc(100% - 8px);
    max-height: calc(100vh - 24px);
    padding: 25px 22px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-modal,
  .quote-modal__panel,
  .nav-quote-btn {
    transition: none;
  }
}
