body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #22343d;
  line-height: 1.5;
}

/*#region Reset*/

ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
  color: currentColor;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  padding: 0;
  border: none;
  cursor: pointer;
}

/*#endregion Reset*/

/*#region Utils*/

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  margin: -1px;
}

/*#endregion Utils*/

/*#region Common*/

.container {
  max-width: 1150px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

/*#endregion Common*/

/*#region Feedback*/

.feedback-title {
  margin-bottom: 10px;

  font-size: 32px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: capitalize;
}

.feedback-subtitle {
  max-width: 537px;
  margin: 0 auto 40px;

  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: center;
}

.feedback-list {
  display: flex;
  gap: 64px;
}

.feedback-card {
  width: calc((100% - 128px) / 3);

  border: 1px solid #dedede;
  border-radius: 5px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.feedback-card-text {
  margin-bottom: 16px;
  flex-grow: 1;

  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #737373;
}

.feedback-info-wrapper {
  display: flex;
  gap: 14px;
}

.feedback-card-name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #02897a;
}

.feedback-card-position {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.01em;
  color: #252b42;
}

/*#endregion Feedback*/

/*#region Modal*/

.backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;

  background-color: rgba(51, 88, 83, 0.48);

  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 500ms ease-in-out, visibility 500ms ease-in-out;
}

.backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 598px;
  min-height: 670px;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 52px 49px;

  transform: translate(-50%, -50%) scale(0.1);

  background-color: #fff;

  transition: transform 500ms ease-in-out;
}

.backdrop.is-open .modal {
  transform: translate(-50%, -50%) scale(1) rotate(3turn);
}

.modal-title {
  margin-bottom: 45px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.38;
  letter-spacing: 0em;
  color: #252b42;
  text-align: center;
}

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

.form-field {
  position: relative;
}

.form-label {
  position: absolute;
  top: 19px;
  left: 20px;

  font-size: 15px;
  line-height: 1.07;
  letter-spacing: 0.01em;

  transition: transform 250ms ease-in-out;
}

.form-input {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 19px 20px;
  width: 100%;
  height: 54px;
  background-color: #f5f5f5;
  outline: none;

  transition: border-color 250ms ease-in-out;
}

.form-input:focus {
  border-color: #02897a;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  transform: translate(-20px, -43px);
}

/* .form-field:focus-within .form-label {
  color: red;
} */

/* .form-label:has(+ .form-input:focus) {
  color: red;
} */

.form-btn {
  align-self: start;
  border-radius: 35px;
  padding: 18px 38px;
  min-width: 145px;
  height: 52px;

  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  background-color: #02897a;
}

/*#endregion Modal*/
