:root {
  --brown-dark: #2F281E;
  --orange: #FF9900;
  --coral: #FF4E4A;
  --coral-secondary: #D80B0A;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
}

ol,
ul {
  list-style: none;
}

a,
button {
  transition: all .2s ease;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.625rem;
  color: #544837;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

.container {
  width: min(90%, 1230px);
  margin: 0 auto;
}

/*......... header........ */
header {
  height: 80px;

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 40px;

  a {
    text-decoration: none;
    color: var(--brown-dark);
    letter-spacing: 1.2px;

    &:hover {
      color: var(--orange);
    }

    &:active {
      color: var(--coral);
    }
  }
}

.btn-wrap {
  display: flex;
  gap: 32px;

  button.btn {
    min-width: 110px;
    padding: 12px;
  }
}

.btn {
  display: inline-block;
  border-radius: 4px;
  padding: 14px;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  background-color: var(--orange);
  font-family: inherit;
  text-align: center;
  min-width: 180px;
  cursor: pointer;
  text-decoration: none;

  &:hover {
    background-color: var(--coral);
  }

  &:active {
    background-color: var(--coral-secondary);
  }
}

.btn-outline {
  border: 1px solid var(--brown-dark);
  background-color: #fff;
  color: var(--brown-dark);

  &:hover {
    background-color: #fff;
    color: var(--coral);
    border-color: var(--coral);
  }

  &:active {
    background-color: #fff;
    color: var(--coral-secondary);
    border-color: var(--coral-secondary);
  }
}

/* .........main........... */

/* ............section hero........ */
.hero-wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 60px;
  padding: 90px 0;
}

.hero-content {
  max-width: 525px;
  margin-top: 98px;
}

.hero-heading {
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 123%;
  color: var(--brown-dark);
  margin-bottom: 21px;
}

.hero-text {
  font-size: 1.125rem;
  line-height: 156%;
  color: #544837;
  margin-bottom: 35px;
}

.hero-button {
  width: 180px;
  padding: 14px 37.5px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  background-color: var(--orange);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;

  &:hover {
    background-color: var(--coral);
  }

  &:active {
    background-color: var(--coral-secondary);
  }
}


/* .......tools section........ */
.tools {
  padding-bottom: 90px;
  background-image: url(../img/tools-bg.png);
  background-repeat: no-repeat;
  background-position: left 50% bottom 7px;
  background-size: 100% auto;

  h2 {
    text-align: center;
    margin: 0 auto;
    max-width: 540px;
    margin-bottom: 50px;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--brown-dark);
  }

  .btn-tools {
    text-align: center;
  }
}

.tools-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 15px;
  margin-bottom: 60px;
  gap: 40px;


  li h3 {
    font-size: 1.375rem;
    color: var(--brown-dark);
    font-weight: 600;
    margin-bottom: 19px;
  }

  li {
    max-width: 270px;
  }

  p {
    letter-spacing: 1%;
  }
}

.tools-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: 30px;

  &.violet {
    background-color: #7752BE;
  }

  &.orange {
    background-color: #FAB005;
  }

  &.red {
    background-color: #F03E3D;
  }

  &.blue {
    background-color: #4DADF7;
  }
}


.tools-button {
  padding: 15px 33px;
  background-color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}

/* .........design section........ */

.design {
  padding: 90px 0;

  .container {
    display: flex;
    justify-content: space-between;
  }

  .design-content {
    width: 495px;
    margin-top: 29px;

    h2 {
      font-size: 2.25rem;
      line-height: 1.2;
      margin-bottom: 20px;
      color: var(--brown-dark);
    }

    hgroup {
      margin-bottom: 40px;

      p {
        line-height: 26px;
        letter-spacing: 0.9%;
      }
    }

    h3 {
      color: var(--brown-dark);
      font-size: 1rem;
      font-weight: 600;
      line-height: 26px;
      letter-spacing: 1.4%;
      margin-bottom: 4px;
    }

    .design-text {
      line-height: 26px;
      letter-spacing: 0.9%;
      margin-bottom: 30px;
    }
  }
}


/* ........managers section........ */
.managers {
  padding-bottom: 90px;

  .container {
    display: flex;
    justify-content: space-between;
  }

  .managers-content {
    width: 495px;
    margin-top: 48px;

    p {
      letter-spacing: 1.1%;
      line-height: 163%;
    }

    h2 {
      font-size: 2.25rem;
      line-height: 1.2;
      margin-bottom: 20px;
      color: var(--brown-dark);
    }

    hgroup {
      margin-bottom: 40px;
    }
  }
}

.managers-list {
  display: flex;
  gap: 30px;
  flex-direction: column;

  li {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .orange-marks {
    width: 35px;
    height: 35px;
    padding: 12px 8px 11px 10px;
    background-color: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

}

/* .......marketers section........ */
.marketers {
  padding-bottom: 90px;

  .container {
    display: flex;
    justify-content: space-between;
  }

  .marketers-content {
    width: 495px;
    margin-top: 40px;
    padding-left: 5px;

    h2 {
      font-size: 2.25rem;
      line-height: 1.2;
      margin-bottom: 14px;
      color: var(--brown-dark);
    }

    hgroup {
      margin-bottom: 40px;

      p {
        line-height: 26px;
        letter-spacing: 0.9%;
      }
    }

    h3 {
      color: var(--brown-dark);
      font-size: 1rem;
      font-weight: 600;
      line-height: 26px;
      letter-spacing: 1.4%;
      margin-bottom: 4px;
    }

    .marketers-text {
      line-height: 26px;
      letter-spacing: 0.9%;
      margin-bottom: 30px;
    }
  }
}

/* .........footer............. */

.footer {
  border-top: 1px solid #d6e0eb;
  padding: 70px 0;

  .container {
    display: flex;
    justify-content: space-between;
  }

  .logo {
    width: 200px;
    height: 32px;
  }

  .footer-nav {
    display: flex;
    gap: 140px;
    align-items: center;

    ul li {
      display: flex;


      span {
        font-weight: 700;
        font-size: 1.25rem;
        line-height: 150%;
        color: var(--brown-dark);
        margin-bottom: 30px;
      }

      a {
        text-decoration: none;
        font-size: 1.125rem;
        line-height: 156%;
        color: var(--brown-dark);
        margin-bottom: 12px;
      }
    }
  }

  .footer-form {
    width: 340px;

    p {
      font-weight: 700;
      font-size: 1.25rem;
      line-height: 150%;
      color: var(--brown-dark);
      margin-bottom: 22px;
    }

    input {
      border: 1px solid #bcd0e5;
      border-radius: 4px;
      padding: 0 10px;
      width: 340px;
      height: 50px;
      margin-bottom: 25px;
    }
  }

  input::placeholder {
    font-family: "Montserrat", sans-serif;
    color: #bcd0e5;
    letter-spacing: 1.5%;
  }
}