.company-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 1.5rem;
}

.company-content {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 400px;
}

.company-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.company-label {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 150%;
}

.company-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-item {
  position: relative;
  background-color: #8da13a;
  padding: 2rem;
  color: #fff2db;
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.company-item::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  bottom: 1rem;
  left: 1rem;
  background-image: url("../img/icons/card-border.svg");
  background-position: bottom left;
}

.company-item::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  top: 1rem;
  transform: rotate(180deg);
  right: 1rem;
  background-image: url("../img/icons/card-border.svg");
  background-position: bottom left;
}

.company-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-item-text {
  font-size: 1.5rem;
  line-height: 120%;
  span {
    color: #ffe49a;
  }
}

.company-item-details {
  color: #ffe49a;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;

  &:hover {
    opacity: 0.7;
  }

  &:after {
    content: "";
    width: 0px;
    height: 0px;
    border-style: solid;
    border-color: transparent transparent transparent #ffe49a;
    border-width: 6px 0px 6px 8px;
  }
}

.company-item.item1 {
  background: linear-gradient(180deg, #b0ac6c 7.21%, #718708 100%), #aa8440;
}

.company-item.item2 {
  background:
    linear-gradient(180deg, rgba(156, 111, 54, 0) 0%, #795628 100%), #9c6f36;
}

.company-item.item3 {
  background:
    linear-gradient(180deg, rgba(195, 105, 67, 0) 0%, #af491e 100%), #c36943;
}

.company-title {
  text-align: center;
  position: relative;
  width: fit-content;
  max-width: 1100px;
  margin: 0 auto;

  span {
    color: #ca9232;
  }

  &:before {
    content: "";
    position: absolute;
    left: 0px;
    top: -1rem;
    width: 40%;
    height: 150px;
    background: linear-gradient(
      153.02deg,
      rgba(255, 181, 96, 0.5) 14.47%,
      rgba(255, 244, 207, 0.5) 48.09%,
      rgba(255, 255, 255, 0.5) 80.45%
    );
    z-index: -1;
  }

  &:after {
    content: "";
    position: absolute;
    right: 0px;
    bottom: -1rem;
    width: 40%;
    height: 100px;
    background: linear-gradient(
      84.98deg,
      rgba(255, 253, 246, 0.22) 0%,
      rgba(176, 149, 100, 0.1122) 70%
    );

    z-index: -1;
  }
}

.company-contact-item {
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;

  .label1 {
    padding: 0.75rem 2rem;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 211, 148, 0.9) 100%
    );
  }

  .label2 {
    padding: 0.75rem 2rem;
    background: linear-gradient(90deg, #fff 0%, #b0956430 100%);
  }
}

.company-consult {
  display: block;
  padding: 1rem 2rem;
  text-align: center;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(255, 211, 148, 0.5) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );

  span {
    color: #db8f25;
  }
}

@media all and (max-width: 1199px) {
  .company-content {
    grid-template-columns: 1fr;
  }

  .company-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-item-text {
    font-size: 1.25rem;
  }
}

@media all and (max-width: 1023px) {
  .company-items {
    grid-template-columns: 1fr;
  }

  .company-label {
    font-size: 1rem;
  }

  .company-contact-item {
    .label1,
    .label2 {
      padding: 0.75rem 1rem;
    }
  }

  .company-consult {
    padding: 0.75rem 1rem;
  }

  .company-title {
    font-size: 1.5rem;
  }
}
