.quote-rfq {
  display: grid;
  gap: 0;
  font-family: Inter, "Outfit", Arial, sans-serif;
}

.quote-rfq__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
  padding-right: 48px;
}

.quote-rfq__head > div > div {
  margin: 0 0 7px;
  color: #00952e;
  font-family: Rajdhani, "Orbitron", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 43px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
}

.quote-rfq__head p {
  max-width: 675px;
  margin: 0;
  color: #62736d;
  font-size: 13px;
  line-height: 1.55;
}

.quote-rfq fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-rfq__section-label,
.quote-rfq legend,
.quote-rfq__field label {
  display: block;
  margin: 0 0 8px;
  color: #143a31;
  font-size: 13px;
  font-weight: 500;
}

.quote-rfq__service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 8px;
}

.quote-rfq__service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid #cfe2d5;
  border-radius: 12px;
  background: #f8fbf9;
  color: #37554b;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.quote-rfq__service:hover,
.quote-rfq__service:focus-within {
  border-color: #38a962;
  background: #f0faf3;
  transform: translateY(-1px);
}

.quote-rfq__service:has(input:checked) {
  border-color: #009d35;
  background: #eaf8ee;
  color: #08752d;
  box-shadow: inset 0 0 0 1px #009d35;
}

.quote-rfq__service input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #009d35;
}

.quote-rfq__service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #009d35;
}

.quote-rfq__service-icon svg {
  width: 20px;
  height: 20px;
}

.quote-rfq__service-text {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.quote-rfq__services.is-invalid .quote-rfq__service {
  border-color: #e4b4b4;
}

.quote-rfq__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
  margin: 14px 0 20px;
}

.quote-rfq__field input,
.quote-rfq__field textarea,
.quote-rfq__field select {
  width: 100%;
  border: 1px solid #cfded4;
  border-radius: 9px;
  background: #fff;
  color: #173a31;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  outline: none;
}

.quote-rfq__field input,
.quote-rfq__field select {
  min-height: 45px;
  padding: 0 13px;
}

.quote-rfq__field textarea {
  min-height: 148px;
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.quote-rfq__field input:focus,
.quote-rfq__field textarea:focus,
.quote-rfq__field select:focus {
  border-color: #009d35;
  box-shadow: 0 0 0 3px rgb(0 157 53 / 13%);
}

.quote-rfq__field input::placeholder,
.quote-rfq__field textarea::placeholder {
  color: #9aa9a3;
}

.quote-rfq__field--full {
  grid-column: 1 / -1;
}

.quote-rfq__whatsapp-consent {
  margin-top: 8px;
}

.quote-rfq__whatsapp-consent[hidden] {
  display: none;
}

.quote-rfq__whatsapp-consent.is-visible {
  display: block;
}

.quote-rfq__whatsapp-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #526a61;
  font-size: 11px;
  line-height: 1.35;
  cursor: pointer;
}

.quote-rfq__whatsapp-consent input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  min-height: 15px;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: #009d35;
}

.quote-rfq__project-head {
  display: flex;
  margin-bottom: 9px;
}

.quote-rfq__project-head strong {
  color: #143a31;
  font-size: 13px;
  font-weight: 500;
}

.quote-rfq__project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 11px;
}

.quote-rfq__project > .inquiry-upload__restricted,
.quote-rfq__project > .quote-rfq-secure {
  grid-column: 1 / -1;
  margin-top: 0;
}

.quote-rfq__either {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0 2px;
  color: #60746c;
  font-size: 11px;
  line-height: 1.4;
}

.quote-rfq__either svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #009d35;
}

.quote-rfq__upload {
  position: relative;
}

.quote-rfq__upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  padding: 15px;
  border: 1px dashed #7fbd92;
  border-radius: 11px;
  background: #f5fbf7;
  color: #426258;
  cursor: pointer;
}

.quote-rfq__upload-box:hover {
  background: #eef9f2;
}

.quote-rfq__upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.quote-rfq__upload-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  color: #08752d;
  font-size: 13px;
  font-weight: 500;
}

.quote-rfq__upload-title svg {
  width: 20px;
  height: 20px;
}

.quote-rfq__upload-guidance {
  min-height: 42px;
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.4;
}

.quote-rfq__upload-limit {
  margin: 0;
  color: #73847d;
  font-size: 10px;
  line-height: 1.35;
}

.quote-rfq__details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin-top: 9px;
  padding: 0 14px;
  border: 1px solid #d6e3da;
  border-radius: 10px;
  background: #f8fbf9;
  color: #174238;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.quote-rfq__details-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.quote-rfq__details-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.quote-rfq__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 15px 0 2px;
}

.quote-rfq__details--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-rfq__details[hidden] {
  display: none;
}

.quote-rfq__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 22px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e0e9e3;
}

.quote-rfq__privacy {
  margin: 0 0 10px;
  color: #6b7c75;
  font-size: 10px;
  line-height: 1.45;
}

.quote-rfq__privacy a {
  color: #08752d;
}

.quote-rfq__foot .quote-rfq__privacy {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.quote-rfq__captcha-label {
  margin: 0 0 8px;
  color: #37554b;
  font-size: 12px;
  font-weight: 600;
}

.quote-rfq__foot .quote-rfq__captcha-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.quote-rfq__status {
  margin: 10px 0 0;
  min-height: 1.2em;
  color: #37554b;
  font-size: 12px;
  line-height: 1.45;
}

.quote-rfq__status.is-error {
  color: #8a3b32;
}

.quote-rfq__summary {
  margin: 0 0 16px;
}

.quote-rfq__status:empty {
  display: none;
}

.quote-rfq-received[hidden] {
  display: none;
}

.quote-rfq-received__title {
  margin: 0 0 12px;
  color: #08752d;
  font-size: 32px;
  line-height: 1.15;
}

.quote-modal .inquiry-success {
  margin-top: 0;
}

.quote-rfq__captcha {
  min-height: 65px;
}

.quote-rfq__submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 230px;
  min-height: 50px;
  padding: 0 8px 0 20px;
  border: 0;
  border-radius: 27px;
  background: #009d35;
  color: #fff;
  font-family: Rajdhani, "Orbitron", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.025em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(0 157 53 / 19%);
}

.quote-rfq__submit span:last-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
}

.quote-rfq__submit svg {
  width: 18px;
  height: 18px;
}

.quote-rfq__submit:hover,
.quote-rfq__submit:focus-visible {
  background: #008d2f;
}

@media (max-width: 860px) {
  .quote-rfq__head {
    padding-right: 40px;
  }

  .quote-rfq__head > div > div {
    font-size: 35px;
  }

  .quote-rfq__service-grid {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }

  .quote-rfq__contact,
  .quote-rfq__project,
  .quote-rfq__details,
  .quote-rfq__details--three,
  .quote-rfq__foot {
    grid-template-columns: 1fr;
  }

  .quote-rfq__field--full {
    grid-column: auto;
  }

  .quote-rfq__foot {
    align-items: stretch;
  }

  .quote-rfq__submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-rfq__service,
  .quote-rfq__details-toggle svg {
    transition: none;
  }
}

.quote-rfq-draft,
.quote-rfq-secure {
  /* 客户 1009 r30「上移一点」：提示条上方间距 16 → 8（弹窗内更贴顶）。 */
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid #d7e2dc;
  background: #f7faf8;
  color: #3d4f47;
  font-size: 13px;
  line-height: 1.5;
}

.quote-rfq-secure strong {
  display: block;
  margin-bottom: 8px;
  color: #1c2b25;
  font-size: 14px;
}

.quote-rfq-secure__link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #00952e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
