.section {
  padding-top: 74px;
  padding-bottom: 158px;
  background-image: url(../media/bg.png);
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.cover {
  padding: 24px 12px;
  border-radius: 20px;
  background: linear-gradient(360deg, #a3efa9 18.75%, #e7efbf 100%);
}

.text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #141414;
  margin-bottom: 16px;
}

.sub-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  color: #141414;
  margin-bottom: 16px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: disc;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #141414;
  }
}

@media (min-width: 1440px) {
  .section {
    padding-top: 94px;
    padding-bottom: 442px;
  }

  .cover {
    padding: 80px 40px;
  }

  .text,
  .sub-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .about-list {
    gap: 24px;

    li {
      font-size: 24px;
    }
  }
}

/* contact  */

.contact-cover {
  background: linear-gradient(180deg, #a7efac 0%, #77c07c 100%);
}

.contact-sub-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #141414;
}

.contact-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;

  li {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #141414;
    margin: 0;
  }
  a,
  span {
    font-weight: 400;
    text-decoration: none;
  }

  a:hover,
  a:focus {
    text-decoration: underline;
  }
}

.tags {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  color: #141414;
}

@media (min-width: 1440px) {
  .contact-sub-title {
    font-size: 32px;
  }

  .contact-list {
    li {
      font-size: 24px;
    }
  }

  .tags {
    font-size: 32px;
  }
}

/* form  */

.form-sub-title {
  width: 791px;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #000;
  margin-bottom: 42px;
}

#consultation-form {
  width: 791px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  input,
  textarea {
    padding: 9px;
    background: #fff;
    width: 100%;
    resize: none;
    outline: none;
    width: 100%;
    border: navajowhite;

    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #000;
    transition: background-color 0.3s ease;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #000;
  }
}

.modal-form {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 18px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-form.show {
  opacity: 1;
}

.form-btn {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #141414;
  border-radius: 15px;
  padding: 16px 32px;
  background-color: #ffbb5d;
  border: none;
  cursor: pointer;
  margin-top: 60px;
  transition: background-color 0.3s ease, color 0.3s ease;
  transition: transform 0.3s ease;
}
.form-btn:hover,
.form-btn:focus {
  background-color: #c18532;
  color: #fff;
}
