/* Quote form. Kept out of style.css so a cached stylesheet cannot hide it. */
#contact form.is-quote {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  box-sizing: border-box;
  background: #fef8f5;
  color: #4e4039;
  border-top: 3px solid #eb5d1e;
  border-bottom: 3px solid #eb5d1e;
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(78, 64, 57, 0.12);
  font-family: "Raleway", "Roboto", sans-serif;
}

#contact form.is-quote *,
#contact form.is-quote *::before,
#contact form.is-quote *::after {
  box-sizing: border-box;
}

#contact .is-quote-row {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
}

#contact .is-quote-row-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#contact .is-quote-size {
  background: #fff;
  border: 1px solid #f3e4dc;
  border-radius: 8px;
  padding: 12px 12px 0;
  margin: 0 0 14px;
}

#contact .is-quote-size-title {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eb5d1e;
}

#contact .is-quote-size-note {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #8a7368;
}

#contact .is-quote-row-size {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(108px, 0.8fr);
}

#contact .is-quote-field {
  min-width: 0;
  margin: 0;
}

#contact .is-quote label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4e4039;
}

#contact .is-quote input,
#contact .is-quote select {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #e4d3cb;
  border-radius: 6px;
  background: #fff;
  color: #4e4039;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: none;
  appearance: auto;
}

#contact .is-quote input[type="file"] {
  height: auto;
  min-height: 46px;
  padding: 10px 12px;
  line-height: 1.4;
}

#contact .is-quote input:focus,
#contact .is-quote select:focus {
  outline: none;
  border-color: #eb5d1e;
  box-shadow: 0 0 0 3px rgba(235, 93, 30, 0.16);
}

#contact .is-quote-submit {
  text-align: center;
  margin-top: 4px;
}

#contact .is-quote-btn {
  display: inline-block;
  min-width: 260px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 4px;
  background: #eb5d1e;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease;
}

#contact .is-quote-btn:hover,
#contact .is-quote-btn:focus {
  background: #ef7f4d;
  color: #fff;
  outline: none;
}

#contact .is-quote-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 768px) {
  #contact form.is-quote {
    padding: 16px 14px 14px;
    border-radius: 8px;
  }

  #contact .is-quote-row-2,
  #contact .is-quote-row-size {
    grid-template-columns: minmax(0, 1fr);
  }

  #contact .is-quote input,
  #contact .is-quote select,
  #contact .is-quote input[type="file"] {
    min-height: 48px;
    height: 48px;
    font-size: 16px;
  }

  #contact .is-quote-btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }
}
