.firma {
  margin-bottom: 0;
}
.firma__flex-text ul li {
  margin-left: 13px;
  font-weight: 400;
  font-size: 24px;
  color: #666;
  line-height: 36px;
  letter-spacing: 0px;
}
.firma__flex-text ul li::before {
  content: "•";
  font-size: 24px;
  color: #666;
  line-height: 0.1;
  padding-right: 15px;
}
.firma__flex-text h3 {
  font-weight: 600;
  font-size: 50px;
  line-height: 59px;
  letter-spacing: 0px;
  margin: 0;
  padding-bottom: 60px;
}
.firma__flex-text-footer {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
}
.firma__flex-img {
  border-radius: 40px;
  width: 50%;
  height: auto;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 768px) and (max-width: 1110px) {
  .firma__flex-img {
    border-radius: 40px;
    width: 100%;
    height: 600px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .firma__flex-text-footer > a {
    padding: 20px 30px;
  }
  .firma__flex-text ul li::before {
    content: "•";
    font-size: 24px;
    color: #666;
    line-height: 0.1;
    padding-right: 9px;
  }
  .firma__flex-text ul li {
    margin-left: 2px;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    line-height: 26px;
    letter-spacing: 0px;
    width: 100%;
  }
  .firma__flex-text-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  h1 {
    padding-top: 10px;
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    margin: 0;
  }
  ul.breadcrumb {
    padding-top: 23px;
    list-style: none;
    padding-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0;
  }
  .firma {
    margin-top: 40px;
  }
  .firma__flex-text h3 {
    font-weight: 600;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: 0px;
    margin: 0;
    padding-bottom: 30px;
  }
  .firma__flex-img {
    border-radius: 20px;
    width: 100%;
    min-height: 335px;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}
/*directions*/
.directions h2 {
  text-align: left;
  font-weight: 600;
  color: #000;
  font-size: 50px;
  line-height: 59px;
  letter-spacing: 0px;
  margin-top: 0px;
  margin-bottom: 60px;
}
.container_directions {
  position: relative;
  display: flow-root;
  box-sizing: border-box;
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
  padding: 120px 0;

  width: 100%;
  border-radius: 40px;
  background: #f5f5f5;
}
.directions {
  margin: 160px auto;
}
.directions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 20px;
}
.directions__grid-block {
  display: flex;
  background: #fff;
  border-radius: 40px;
  padding: 30px;
  justify-content: space-between;
  transition: all 0.2s linear;
}
.directions__grid-block:hover {
  transition: all 0.2s linear;
  background: #ebebeb;
}
.directions__grid-block:hover .directions__grid-block-img {
  transition: all 0.2s linear;
  background: #fff;
}
.directions__grid-block-img img {
  max-width: 60px;
  width: 100%;
}

.directions__grid-block-text {
  display: flex;
  width: 76%;
  gap: 30px;
  align-items: center;
}
.directions__grid-block-text img {
  max-width: 20px;
  margin: 0 12px;
  width: 100%;
  transform: rotateZ(180deg);
}
.directions__grid-block-text p {
  font-weight: 500;
  font-size: 24px;
  color: #666;
  line-height: 34px;
  letter-spacing: 0px;
}
.directions__grid-block-img {
  transition: all 0.2s linear;
  display: flex;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  background: #ebebeb;
  justify-content: center;
  align-items: center;
}
@media only screen and (min-width: 320px) and (max-width: 1100px) {
  .directions__grid-block {
    display: flex;
    background: #fff;
    border-radius: 40px;
    padding: 30px;
    justify-content: space-between;
    transition: all 0.2s linear;
    flex-direction: row-reverse;
  }
  .directions__grid-block-text {
    display: flex;
    width: 70%;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
  .directions__grid-block-text p {
    font-weight: 500;
    font-size: 16px;
    color: #666;
    line-height: 24px;
    letter-spacing: 0px;
  }
  .directions h2 {
    text-align: left;
    font-weight: 600;
    color: #000;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 40px;
  }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .directions__grid-block {
    display: flex;
    background: #fff;
    border-radius: 20px;
    gap: 20px;
    padding: 20px;
    justify-content: flex-end;
    transition: all 0.2s linear;
    flex-direction: row-reverse;
    align-items: center;
  }
  .directions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .directions__grid-block-text {
    display: flex;
    width: 60%;
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}
@media only screen and (min-width: 320px) and (max-width: 1130px) {
  .directions {
    margin: 40px auto;
  }
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
  .container_directions {
    position: relative;
    display: flow-root;
    box-sizing: border-box;
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 0;
    width: 100%;
    border-radius: 40px;
    background: #f5f5f5;
  }
}
.documentslist__grid-pagin {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.documentslist__grid-pagin div {
  display: flex;
  column-gap: 10px;
}
.documentslist__grid-pagin div a {
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  min-width: 91px;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0px;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.documentslist__grid-pagin div a:hover {
  transition: var(--transition);
  background: #ebebeb;
}
.documentslist__grid-pagin div a.active {
  background: #ebebeb;
}
.documentslist__grid-pagin p {
  font-weight: 400;
  font-size: 20px;
  color: #000;
  line-height: 24px;
  letter-spacing: 0px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
  .documentslist__grid-pagin {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  .documentslist__grid-pagin div a {
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    min-width: 60px;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    padding: 20px 26px;
    border-radius: 12px;
    background: #fff;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .documentslist__grid-pagin p {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0px;
    color: #000;
  }
}
/*directions end*/
.img-block img {
    width: 100%;
    border-radius: 40px;
    max-height: 800px;
    object-position: center;
    object-fit: cover;
}
.firma__flex-text p {
    font-weight: 400;
    font-size: 24px;
    color: #666;
    line-height: 36px;
    letter-spacing: 0px;
    width: 430px;
}
@media only screen and (min-width: 320px) and (max-width: 768px) {
      .firma__flex-text p {
        font-weight: 400;
        font-size: 16px;
        color: #666;
        line-height: 26px;
        letter-spacing: 0px;
        width: 100%;
    }

.img-block img {
    width: 100%;
    border-radius: 20px;
    max-height: 800px;
    object-position: center;
    object-fit: cover;
}
    .img-block img {
        height: 600px;
    }
}