.chamyto-contact-page {
  background: #dcd7c9;
  width: 100%;
}

.page-template-page-contato .chamyto-site-footer {
  margin-top: 0;
}

.chamyto-contact-form-section {
  background: #dcd7c9;
  padding: 40px 20px 80px;
}

.chamyto-contact-form-section__inner {
  margin: 0 auto;
  max-width: 770px;
  width: 100%;
}

.chamyto-contact-form-section__intro {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin: 0 0 28px 10px;
  text-align: left;
}

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

.chamyto-contact-form__row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.chamyto-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chamyto-contact-form__field--full {
  width: 100%;
}

.chamyto-contact-form__field-spacer {
  display: none;
}

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

.chamyto-contact-form__input,
.chamyto-contact-form__select-trigger,
.chamyto-contact-form__file {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-sizing: border-box;
  height: 45px;
  min-height: 45px;
  width: 100%;
}

.chamyto-contact-form__textarea {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
}

.chamyto-contact-form__input,
.chamyto-contact-form__textarea,
.chamyto-contact-form__select-value:not(.is-placeholder) {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter), "Inter", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.chamyto-contact-form__input {
  line-height: 43px;
}

.chamyto-contact-form__textarea {
  line-height: 1.25;
}

.chamyto-contact-form__input,
.chamyto-contact-form__select-trigger {
  padding: 0 13px;
}

.chamyto-contact-form__textarea {
  min-height: 180px;
  padding: 14px 13px 10px;
  resize: vertical;
}

.chamyto-contact-form__input::placeholder,
.chamyto-contact-form__textarea::placeholder,
.chamyto-contact-form__input::-webkit-input-placeholder,
.chamyto-contact-form__textarea::-webkit-input-placeholder,
.chamyto-contact-form__input::-moz-placeholder,
.chamyto-contact-form__textarea::-moz-placeholder {
  color: rgba(114, 114, 114, 0.75);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 1;
  text-transform: none;
}

.chamyto-contact-form__file {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 0 13px;
}

.chamyto-contact-form__file-button {
  align-items: center;
  appearance: none;
  background: rgba(217, 217, 217, 0.6);
  border: 1px solid #a9a8a8;
  border-radius: 3px;
  box-sizing: border-box;
  color: #727272;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-family: InaiMathi, var(--chamyto-font-inter), Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  height: 20px;
  justify-content: center;
  line-height: 100%;
  margin: 0;
  padding: 0;
  width: 96px;
  white-space: nowrap;
}

.chamyto-contact-form__file-name {
  line-height: 20px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chamyto-contact-form__file-name.is-placeholder {
  color: rgba(114, 114, 114, 0.75);
  font-family: var(--chamyto-font-inter), "Inter", Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.chamyto-contact-form__file-name:not(.is-placeholder) {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter), "Inter", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.chamyto-contact-form__file-input {
  display: none;
}

.chamyto-contact-form__custom-select {
  position: relative;
  width: 100%;
}

.chamyto-contact-form__select-native {
  height: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
}

.chamyto-contact-form__select-trigger {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  text-align: left;
  transition: border-radius 0.12s ease;
}

.chamyto-contact-form__custom-select.is-open .chamyto-contact-form__select-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.chamyto-contact-form__select-value {
  line-height: 20px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chamyto-contact-form__select-value.is-placeholder {
  color: rgba(114, 114, 114, 1);
  font-family: var(--chamyto-font-inter);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 20px;
}

.chamyto-contact-form__select-icon {
  background: center / 12px 8px no-repeat url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23707070' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  flex-shrink: 0;
  height: 8px;
  margin-left: 12px;
  transform-origin: center;
  transition: transform 0.2s ease;
  width: 12px;
}

.chamyto-contact-form__custom-select.is-open .chamyto-contact-form__select-icon {
  transform: rotate(180deg);
}

.chamyto-contact-form__select-options {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  left: 0;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 20;
}

.chamyto-contact-form__custom-select.is-open .chamyto-contact-form__select-options {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.chamyto-contact-form__select-options li {
  align-items: center;
  color: #005abc;
  cursor: pointer;
  display: flex;
  font-family: var(--chamyto-font-magra);
  font-size: 15px;
  font-weight: 400;
  justify-content: center;
  line-height: normal;
  min-height: 39px;
  padding: 0 16px;
  text-align: center;
}

.chamyto-contact-form__select-options li.is-active,
.chamyto-contact-form__select-options li:hover,
.chamyto-contact-form__select-options li:focus-visible {
  background: #005abc;
  color: #fff;
  font-weight: 600;
  outline: none;
}

.chamyto-contact-form__input:focus-visible,
.chamyto-contact-form__textarea:focus-visible,
.chamyto-contact-form__select-trigger:focus-visible,
.chamyto-contact-form__file-button:focus-visible,
.chamyto-contact-form__submit:focus-visible {
  outline: 2px solid #005abc;
  outline-offset: 2px;
}

.chamyto-contact-form__field.is-invalid .chamyto-contact-form__input,
.chamyto-contact-form__field.is-invalid .chamyto-contact-form__textarea,
.chamyto-contact-form__field.is-invalid .chamyto-contact-form__select-trigger,
.chamyto-contact-form__field.is-invalid .chamyto-contact-form__file {
  border-color: #f2000f;
}

.chamyto-contact-form__error,
.chamyto-contact-form__global-error {
  color: #f2000f;
  font-family: var(--chamyto-font-inter);
  font-size: 12px;
  line-height: 1.2;
  margin: 0;
  padding-left: 4px;
}

.chamyto-contact-form__global-error {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-left: 0;
  text-align: center;
}

.chamyto-contact-form__global-error[hidden] {
  display: none;
}

.chamyto-contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.chamyto-contact-form__submit {
  align-items: center;
  background: rgba(0, 90, 188, 1);
  border: 2px solid rgba(255, 255, 255, 1);
  border-radius: 30px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 1);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--chamyto-font-magra), "Magra", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  height: 40px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 40px;
  min-height: 40px;
  min-width: 259px;
  padding: 0;
  text-align: center;
  transition: opacity 0.16s ease;
  width: 259px;
}

.chamyto-contact-form__submit:hover {
  opacity: 0.9;
}

.chamyto-contact-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.chamyto-contact-form__cf7 .wpcf7 {
  margin: 0;
  position: relative;
}

.chamyto-contact-form__cf7 .screen-reader-response {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  word-break: normal !important;
  word-wrap: normal !important;
}

.chamyto-contact-form__cf7 .chamyto-contact-form__field > p {
  margin: 0;
}

.chamyto-contact-form__cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.chamyto-contact-form__cf7 .wpcf7-response-output {
  display: none !important;
}

.chamyto-contact-form__cf7 .wpcf7-not-valid-tip {
  color: #f2000f;
  display: block;
  font-family: var(--chamyto-font-inter);
  font-size: 12px;
  line-height: 1.2;
  margin: 6px 0 0;
  padding-left: 4px;
  position: relative;
  z-index: 1;
}

.chamyto-contact-form__cf7 .wpcf7-not-valid {
  border-color: #f2000f !important;
}

.chamyto-contact-form__cf7 .wpcf7-spinner {
  margin-left: 12px;
}

.chamyto-contact-form__cf7 .wpcf7-form-control.wpcf7-submit {
  margin: 0;
}

.chamyto-contact-form__unavailable {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.chamyto-contact-success {
  background: #dcd7c9;
  padding: 40px 20px 100px;
}

.chamyto-contact-success__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 770px;
  text-align: center;
}

.chamyto-contact-success__image {
  display: block;
  height: auto;
  max-width: 380px;
  width: min(100%, 380px);
}

.chamyto-contact-success__title {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter), "Inter", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 28px;
  margin: 0;
  max-width: 520px;
  text-align: center;
}

.chamyto-contact-success__text {
  color: rgba(37, 37, 37, 1);
  font-family: var(--chamyto-font-inter), "Inter", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .chamyto-contact-form-section {
    padding: 47px 30px 159px;
  }

  .chamyto-contact-form-section__intro {
    margin-bottom: 34px;
    margin-left: 27px;
  }

  .chamyto-contact-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chamyto-contact-form__field-spacer {
    display: block;
  }

  .chamyto-contact-success {
    padding: 60px 30px 120px;
  }

  .chamyto-contact-success__image {
    max-width: 420px;
    width: min(100%, 420px);
  }
}
