/* Quote page */

.mp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.page-quote .contact-page__inner {
  box-sizing: border-box;
  width: 92%;
  max-width: 92%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px
}

@media (min-width:640px) {
  .page-quote .contact-page__inner {
    padding-left: 24px;
    padding-right: 24px
  }
}

@media (min-width:769px) {
  .page-quote .contact-page__inner {
    width: 80%;
    max-width: 80%
  }
}

@media (min-width:1024px) {
  .page-quote .contact-page__inner {
    padding-left: 32px;
    padding-right: 32px
  }
}

@media (max-width:1279px) {
  .page-quote .contact-page__inner {
    width: 92%;
    max-width: 92%
  }
}


.page-quote .contact-compose {
  padding-top: 120px;
  padding-bottom: 72px
}

@media (min-width:769px) {
  .page-quote .contact-compose {
    padding-top: 160px;
    padding-bottom: 100px
  }
}

.page-quote .contact-block-head {
  text-align: center;
  margin-bottom: 44px
}

.page-quote .contact-block-head__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink)
}

.page-quote .contact-block-head__title:after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 16px auto 0;
  background: var(--c-brand);
  border-radius: 2px
}

.quote-form-card {
  background: #f4f5f7;
  border: 1px solid #e6e8ec;
  border-radius: 16px;
  padding: 28px 22px 32px
}

@media (min-width:769px) {
  .quote-form-card {
    padding: 40px 48px 44px
  }
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.quote-form__row {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: 1fr
}

@media (min-width:640px) {
  .quote-form__row {
    grid-template-columns: 1fr 1fr
  }
}

.quote-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0
}

.quote-form__field--full {
  display: flex
}

.quote-form__label {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink)
}

.quote-form__label i {
  font-style: normal;
  color: var(--c-brand);
  margin-left: 2px
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.mp-select {
  position: relative
}

.mp-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none
}

.mp-select__trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  padding: 14px 44px 14px 16px;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease
}

.mp-select.is-empty .mp-select__trigger {
  color: #9aa0a6
}

.mp-select__trigger:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #9aa0a6;
  border-bottom: 2px solid #9aa0a6;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease, border-color .2s ease
}

.mp-select.is-open .mp-select__trigger {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(217, 78, 31, .12)
}

.mp-select.is-open .mp-select__trigger:after {
  border-color: var(--c-brand);
  transform: translateY(-20%) rotate(225deg)
}

.mp-select.is-error .mp-select__trigger {
  border-color: #b42318
}

.mp-select.is-disabled .mp-select__trigger {
  color: #9aa0a6;
  background: #f8f9fb;
  cursor: not-allowed
}

.mp-select__trigger:focus-visible {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(217, 78, 31, .12)
}

.mp-select__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20, 24, 31, .12)
}

.mp-select__panel[hidden] {
  display: none
}

.mp-select__option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer
}

.mp-select__option:hover,
.mp-select__option.is-active {
  background: var(--c-bg)
}

.mp-select__option.is-selected {
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-weight: 600
}

.quote-form textarea {
  resize: vertical;
  min-height: 180px;
  padding-bottom: 40px
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9aa0a6;
  font-size: 16px;
  font-weight: 400;
  opacity: 1
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(217, 78, 31, .12)
}

.quote-form .contact-form__textarea {
  position: relative
}

.quote-form .contact-form__count {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #9aa0a6;
  pointer-events: none
}

.quote-form .contact-form__code {
  display: flex;
  align-items: stretch;
  gap: 12px
}

.quote-form .contact-form__field--code {
  flex: 1 1 auto
}

.quote-form .contact-form__code-btn {
  flex-shrink: 0;
  width: 140px;
  height: 52px;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  background: #f3f4f6;
  padding: 0;
  overflow: hidden;
  cursor: pointer
}

.quote-form .contact-form__code-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.quote-form .contact-form__actions {
  display: flex;
  justify-content: center;
  padding-top: 6px
}

.quote-form .contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  border: 0;
  border-radius: 10px;
  background: var(--c-brand);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, opacity .2s ease
}

.quote-form .contact-form__submit:hover {
  background: var(--c-brand-hover);
  transform: translateY(-1px)
}

.quote-form .contact-form__submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none
}

.quote-form .contact-form__note {
  margin: 0;
  min-height: 1.2em;
  text-align: center;
  font-size: 15px;
  color: var(--c-muted-2)
}

.quote-form .contact-form__note.is-error {
  color: #b42318
}

@media (max-width:768px) {
  .page-quote .contact-compose {
    padding-top: 80px;
    padding-bottom: 48px
  }

  .page-quote .contact-page__inner {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px
  }

  .page-quote .contact-block-head {
    margin-bottom: 24px
  }

  .page-quote .contact-block-head__title {
    font-size: 24px
  }

  .quote-form-card {
    padding: 22px 16px 26px
  }

  .quote-form__label {
    font-size: 14px
  }

  .quote-form input,
  .quote-form textarea,
  .mp-select__trigger,
  .quote-form input::placeholder,
  .quote-form textarea::placeholder {
    font-size: 15px
  }

  .mp-select__panel {
    max-height: 220px
  }
}

@media (max-width:480px) {
  .page-quote .contact-page__inner {
    padding-left: 14px;
    padding-right: 14px
  }

  .quote-form .contact-form__submit {
    width: 100%;
    min-width: 0
  }
}
