.why-humanic {
  padding: 110px 8vw;
  background: #f5f0e6;
}

.why-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  column-gap: 8vw;
  align-items: end;
  margin-bottom: 55px;
}

.why-heading .section-label {
  grid-column: 1 / -1;
}

.why-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

.why-heading > p {
  margin: 0;
  color: #536d68;
  font-size: 17px;
  line-height: 1.75;
}

.comparison-table {
  border-top: 1px solid #cdd9d2;
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  column-gap: 0;
}

.comparison-head > *,
.comparison-row > * {
  margin: 0;
  padding: 22px 24px;
  border-right: 1px solid #cdd9d2;
  border-bottom: 1px solid #cdd9d2;
}

.comparison-head > *:first-child,
.comparison-row > *:first-child {
  border-left: 1px solid #cdd9d2;
}

.comparison-head {
  background: var(--deep);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comparison-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
}

.comparison-row p {
  color: #5b716c;
  font-size: 13px;
  line-height: 1.65;
}

.comparison-row .humanic-column {
  background: #e1eee7;
  color: var(--ink);
}

.comparison-head .humanic-column {
  background: var(--coral);
  color: #fff;
}

.why-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  margin-top: 34px;
}

.why-footer p {
  max-width: 780px;
  margin: 0;
  color: #5b716c;
  font-size: 12px;
  line-height: 1.7;
}

.why-footer .button {
  flex: 0 0 auto;
}

@media (max-width: 850px) {
  .why-humanic {
    padding: 80px 6vw;
  }

  .why-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .comparison-table {
    display: grid;
    gap: 16px;
    border-top: 0;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    border: 1px solid #cdd9d2;
  }

  .comparison-row > *,
  .comparison-row > *:first-child {
    border: 0;
    border-bottom: 1px solid #cdd9d2;
  }

  .comparison-row p::before {
    display: block;
    margin-bottom: 8px;
    color: #70817e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .comparison-row p:nth-child(2)::before {
    content: "Salariat HR intern";
  }

  .comparison-row .humanic-column::before {
    content: "Humanic";
    color: var(--coral);
  }

  .comparison-row .humanic-column {
    border-bottom: 0;
  }

  .why-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
