/* Forms */
form.wpcf7-form input {
  width: 100%;
  height: 60px;
  padding: 10px 15px;
  border-radius: 8px;
  border: solid 1px #dbdee5;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7e889a;
  margin-bottom: 20px;
}

form.wpcf7-form textarea {
  min-width: 100%;
  min-height: 100px;
  height: 100px;
  max-height: 150px;
  padding: 10px 15px;
  border-radius: 8px;
  border: solid 1px #dbdee5;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7e889a;
  margin-bottom: 20px;
}

form.wpcf7-form input[type="submit"] {
  width: 100%;
  height: 60px;
  padding: 0;
  background-color: var(--global-palette3);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 3.2px;
  color: #fff;
  text-transform: uppercase;
  margin: 15px 0 0;
  cursor: pointer;
  transition: all cubic-bezier(0.2, 1.03, 0.71, 1.05) 0.4s;
  border: solid 1px transparent;
  border-radius: 35px;
  letter-spacing: 0.1em;
}

.wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) input {
  margin-bottom: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

form.wpcf7-form .wpcf7-spinner {
  display: none;
}

form.wpcf7-form > p {
  margin-bottom: 0;
}

form.wpcf7-form .wpcf7-response-output {
  margin-top: 15px;
}

@media (max-width: 768px) {
  form.wpcf7-form input {
    height: 50px;
    padding: 25px 15px;
    margin-bottom: 20px;
  }
}

/* Modal */
.modal-custom {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-custom.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-wrapper {
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  background-color: var(--global-palette8);
  border-radius: 20px;
}

.modal-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

.modal-name {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 15px;
  text-transform: none;
}

.modal-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .modal-wrapper {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    border-radius: 0;
  }

  .modal-close {
    right: 10px;
    top: 10px;
  }

  .modal-name {
    font-size: 34px;
  }

  .modal-description {
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .modal-description {
    display: flex;
    flex-direction: column;
  }  
}
