.pricing-factors {
  padding: 60px 0;
}

.pricing-factors__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.pricing-factors__image {
  margin-top: 15px;
  width: 390px;
  height: 395px;
  justify-self: center;
  margin: 0 auto;
}

.pricing-factors__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-factors__passport {
  position: relative;
  flex: 1;
}

.pricing-factors__line {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 47px;
  background: var(--secondary);
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 20px) 100%, 0% 100%);
}

.pricing-factors__line::after {
  display: block;
  content: '';
  position: absolute;
  width: calc(100% - 8px);
  height: calc(100% - 65px);
  top: 5px;
  left: 4px;
  border-left: 1px solid var(--accent);
  border-right: 1px solid var(--accent)
}

.pricing-factors__passport-header {
  padding: 5px 12px 7px 44px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--secondary);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0% 100%);
  margin-bottom: 20px;
}

.pricing-factors__passport-header span {
  display: block;
  color: var(--accent);
  padding-top: 3px;
  width: 100%;
  border-top: 1px solid var(--accent);
}

.pricing-factors__passport-row {
  display: flex;
  margin-left: calc(47px + 27px);
  border-bottom: 1px solid var(--accent);
  position: relative;
  align-items: stretch;
}

.pricing-factors__passport-row::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0px;
  transform: translateY(50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 5px solid #b38642;
}

.pricing-factors__passport-row::before {
  content: "";
  left: 0;
  position: absolute;
  bottom: 0px;
  transform: translateY(+50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #b38642;
}

.pricing-factors__passport-label {
  flex: 0 0 180px;
  padding: 20px 0 20px 0;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--accent);
}

.pricing-factors__passport-description {
   padding: 20px 0 20px 30px;
   display: flex;
   align-items: center;
}

@media (max-width: 1080px) {
  .pricing-factors__inner {
    flex-direction: column;
    gap: 32px;
  }

  .pricing-factors__content {
    flex: none;
  }
}

@media (max-width: 768px) {
  .pricing-factors {
    padding: 22px 0;
  }

  .pricing-factors__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-factors__image {
    display: none;
  }

  .pricing-factors__passport-row {
    margin-left: 0;
  }

  .pricing-factors__passport-row:last-child {
    border-bottom: none;
  }

  .pricing-factors__passport-row:last-child:after,
  .pricing-factors__passport-row:last-child:before {
    display: none;
  }

  .pricing-factors__passport-header {
    margin-bottom: 0;
    padding-right: 12px;
    padding-left: 0;
  }

  .pricing-factors__passport-label {
    flex: 0 0 160px;
  }

  .pricing-factors__passport-description {
    padding: 20px 0 20px 20px;
  }

  .pricing-factors__line {
    position: relative;
    top: initial;
    left: initial;
    bottom: initial;
    width: 100%;
    height: 47px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0% calc(100% - 20px));
  }

  .pricing-factors__line::after {
    width: calc(100% - 35px);
    top: 4px;
    left: 30px;
    height: calc(100% - 8px);
    border: none;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
  }
  
}
