.section {
  padding-top: 64px;
}

.section-title {
  text-align: start;
  margin-bottom: 20px;
}

.section-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  margin-bottom: 20px;
}

.about-section-image {
  border: 1px solid rgba(255, 255, 251, 0.5);
  border-radius: 24px;
  width: 100%;
  height: 220px;
  background-image: url(./img/about.png);
  background-size: cover;
  margin-bottom: 24px;
}

.about-section-list {
  display: flex;
  flex-direction: column;
  gap: 48px;

  li {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  img {
    width: 92px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
  }
}

@media screen and (min-width: 1442px) {
  .section-title {
    margin-bottom: 60px;
  }

  .section-text {
    font-size: 20px;
    margin-bottom: 36px;
  }

  .about-section-image {
    height: 336px;
    margin-bottom: 48px;
  }

  .about-section-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px 48px;

    li {
      width: calc((100% - 48px) / 2);
    }

    p,
    span {
      font-size: 16px;
    }

    img {
      width: 200px;
    }
  }
}

/* contact  */

.contact-wrap {
  border: 1px solid #fffffb;
  border-radius: 40px;
  padding: 20px;
  background: #0034b4;
  display: flex;
  flex-direction: column;
  gap: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
  }

  a,
  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
  }

  a:hover,
  a:focus {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1442px) {
  #contact {
    padding: 104px;
    padding-bottom: 64px;
  }
  .contact-contaciner {
    display: flex;
    align-items: center;
    gap: 68px;
  }

  .contact-wrap {
    width: 521px;
    flex-shrink: 0;
    padding: 32px;
    gap: 32px;

    p,
    a,
    span {
      font-size: 18px;
    }
  }
}

/* touch  */

#touch {
  padding-bottom: 347px;
  position: relative;
  overflow: hidden;
}

#consultation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;

  input,
  textarea {
    border: 1px solid #fffffb;
    border-radius: 40px;
    padding: 16px 24px;
    background: #0034b4;
    width: 100%;
    resize: none;
    outline: none;
    width: 100%;

    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
    transition: background-color 0.3s ease;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #fffffb;
  }
}

.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 {
  border: none;
  outline: none;
  margin: 0 auto;
  margin-top: 72px;
  display: block;
  padding: 0;
  background-color: transparent;
  transition: transform 0.3s ease;
}
.form-btn:hover,
.form-btn:focus {
  transform: scale(0.95);
}

.form-img {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 170px;
}

@media screen and (min-width: 1442px) {
  #touch {
    padding-bottom: 76px;
  }

  .form-img {
    width: auto;
    transform: translateX(200px);
  }

  #consultation-form {
    width: 416px;
  }
}
