.for-companies {
  --company-blue: #2563eb;
  --company-navy: #0d1b3e;
  scroll-margin-top: 82px;
  border-top: 1px solid #e7ebf1;
  background: #fff;
}

.for-companies__hero {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 58px 24px 66px;
}

.for-companies__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.for-companies__eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid #dbe8fc;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--company-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.for-companies__copy h2 {
  margin: 20px 0 17px;
  color: var(--company-navy);
  font-size: clamp(39px, 4.15vw, 56px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
}

.for-companies__copy h2 span {
  color: var(--company-blue);
}

.for-companies__copy > p {
  max-width: 430px;
  color: #6b778a;
  font-size: 14px;
  line-height: 1.75;
}

.for-companies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.for-companies__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.for-companies__button:hover {
  transform: translateY(-1px);
}

.for-companies__button--primary {
  background: var(--company-blue);
  box-shadow: 0 6px 15px #2563eb30;
  color: #fff;
}

.for-companies__button--primary:hover {
  background: #1d4ed8;
}

.for-companies__button--secondary {
  border-color: #e0e5ec;
  background: #fff;
  box-shadow: 0 2px 5px #1118270a;
  color: #445168;
}

.for-companies__button--secondary:hover {
  background: #f8fafc;
}

.for-companies__visual {
  position: relative;
  min-width: 0;
  padding: 14px 0 31px;
}

.for-companies__photo {
  display: block;
  width: 100%;
  height: clamp(360px, 35vw, 455px);
  border-radius: 25px;
  background: #f1f4f8;
  box-shadow: 0 18px 38px #14233a20;
  object-fit: cover;
  object-position: center;
}

.for-companies__floating {
  position: absolute;
  z-index: 2;
  display: flex;
  max-width: 225px;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #edf0f5;
  border-radius: 15px;
  background: #ffffffed;
  box-shadow: 0 11px 25px #16264220;
}

.for-companies__floating--ewa {
  top: 0;
  left: -16px;
}

.for-companies__floating--lms {
  top: 0;
  right: -14px;
}

.for-companies__icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: none;
  place-items: center;
  border: 1px solid #dce8fc;
  border-radius: 11px;
  background: #eff6ff;
  color: var(--company-blue);
  font-size: 19px;
}

.for-companies__floating strong,
.for-companies__floating small {
  display: block;
}

.for-companies__floating strong {
  color: #172238;
  font-size: 11px;
}

.for-companies__floating small {
  max-width: 146px;
  margin-top: 3px;
  color: #79869a;
  font-size: 9px;
  line-height: 1.35;
}

.for-companies__benefit-card {
  position: absolute;
  right: -19px;
  bottom: 0;
  z-index: 3;
  width: 226px;
  padding: 14px 15px;
  border: 1px solid #edf0f5;
  border-radius: 16px;
  background: #ffffffed;
  box-shadow: 0 16px 31px #14233a25;
}

.for-companies__benefit-card h3 {
  margin: 0 0 9px;
  color: #1d293e;
  font-size: 11px;
}

.for-companies__chart {
  display: flex;
  height: 61px;
  align-items: flex-end;
  justify-content: space-around;
  margin-bottom: 9px;
  padding: 7px 12px 0;
  border-radius: 10px;
  background: #eff6ff;
}

.for-companies__chart i {
  width: 11px;
  height: 30%;
  border-radius: 3px 3px 0 0;
  background: #75a5ff;
}

.for-companies__chart i:nth-child(2) { height: 45%; background: #5c91fa; }
.for-companies__chart i:nth-child(3) { height: 61%; background: #4680ef; }
.for-companies__chart i:nth-child(4) { height: 78%; background: #3268e5; }
.for-companies__chart i:nth-child(5) { height: 95%; background: #2451d1; }

.for-companies__benefit-card > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 0;
  color: #556177;
  font-size: 9px;
  font-weight: 650;
}

.for-companies__benefit-card > p span {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--company-blue);
  font-size: 9px;
}

.for-companies__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
  padding: 23px max(24px, calc((100vw - 1272px) / 2));
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
  background: #fff;
}

.for-companies__feature {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
}

.for-companies__feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid #dce8fc;
  border-radius: 12px;
  background: #f1f6ff;
  color: var(--company-blue);
  font-size: 18px;
  font-weight: 750;
}

.for-companies__feature strong,
.for-companies__feature small {
  display: block;
}

.for-companies__feature strong {
  margin: 2px 0 4px;
  color: #1d293e;
  font-size: 11px;
  line-height: 1.35;
}

.for-companies__feature small {
  color: #778398;
  font-size: 10px;
  line-height: 1.5;
}

.for-company-solutions {
  padding: 52px 24px 58px;
  background: #f9fbfe;
}

.for-company-solutions__header {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.for-company-solutions__header h2 {
  margin: 13px 0 8px;
  color: var(--company-navy);
  font-size: clamp(26px, 3vw, 37px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.for-company-solutions__header h2 span {
  color: var(--company-blue);
}

.for-company-solutions__header > p {
  color: #728096;
  font-size: 13px;
  line-height: 1.6;
}

.for-company-solutions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.for-company-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 27px;
  border: 1px solid #e2e8f0;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 3px 8px #15264208;
}

.for-company-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.for-company-card__icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: none;
  place-items: center;
  border-radius: 13px;
  background: #eff6ff;
  color: var(--company-blue);
  font-size: 20px;
}

.for-company-card__heading h3 {
  margin: 1px 0 5px;
  color: #1a263b;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.for-company-card__heading p {
  color: #748096;
  font-size: 11px;
  line-height: 1.5;
}

.for-company-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .95fr);
  align-items: center;
  gap: 17px;
  flex: 1;
  margin: 22px 0 19px;
}

.for-company-card__features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.for-company-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4f5d73;
  font-size: 11px;
  line-height: 1.45;
}

.for-company-card__features li > span {
  display: grid;
  width: 17px;
  height: 17px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #2870ee;
  color: #fff;
  font-size: 10px;
}

.for-company-ewa-preview {
  min-width: 0;
  padding: 11px;
  border: 1px solid #dbe8fb;
  border-radius: 15px;
  background: linear-gradient(180deg, #eef5ff, #f8fafc);
}

.for-company-ewa-preview__account {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  background: #fff;
}

.for-company-ewa-preview__account > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--company-blue);
  font-size: 13px;
}

.for-company-ewa-preview__account small,
.for-company-ewa-preview__account strong {
  display: block;
}

.for-company-ewa-preview__account small {
  margin-bottom: 2px;
  color: #8995a8;
  font-size: 8px;
}

.for-company-ewa-preview__account strong {
  color: #1c2940;
  font-size: 11px;
}

.for-company-ewa-preview__progress {
  height: 6px;
  margin: 10px 1px 5px;
  overflow: hidden;
  border-radius: 9px;
  background: #e7ebf2;
}

.for-company-ewa-preview__progress i {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: var(--company-blue);
}

.for-company-ewa-preview__balance {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: #8995a8;
  font-size: 7px;
}

.for-company-ewa-preview__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #edf0f4;
}

.for-company-ewa-preview__tabs span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #68768d;
  font-size: 8px;
}

.for-company-ewa-preview__tabs b {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #f0f5ff;
  color: var(--company-blue);
  font-size: 12px;
}

.for-company-lms-preview {
  display: flex;
  min-width: 0;
  min-height: 152px;
  overflow: hidden;
  border: 2px solid #27344a;
  border-radius: 11px;
  background: #0b1329;
  box-shadow: 0 5px 12px #0b17361c;
}

.for-company-lms-preview > aside {
  display: flex;
  width: 63px;
  flex: none;
  flex-direction: column;
  gap: 8px;
  padding: 9px 6px;
  background: #101a30;
}

.for-company-lms-preview > aside strong {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  color: #fff;
  font-size: 8px;
}

.for-company-lms-preview > aside strong i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #3875f2;
}

.for-company-lms-preview > aside span {
  overflow: hidden;
  color: #93a0b5;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.for-company-lms-preview > aside span.is-active {
  color: white;
  font-weight: 700;
}

.for-company-lms-preview__screen {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 9px;
  background: #fff;
}

.for-company-lms-preview__screen > strong {
  overflow: hidden;
  color: #1d293e;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.for-company-lms-preview__tabs {
  display: flex;
  gap: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid #edf0f4;
  font-size: 6px;
  white-space: nowrap;
}

.for-company-lms-preview__tabs b { color: var(--company-blue); }
.for-company-lms-preview__tabs span { color: #9aa4b3; }

.for-company-lms-preview__status {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 5px;
  border: 1px solid #edf0f4;
  border-radius: 4px;
  background: #f8fafc;
  font-size: 6px;
}

.for-company-lms-preview__status span { color: #778398; }
.for-company-lms-preview__status b { color: #15986f; font-size: 6px; }
.for-company-lms-preview__status:nth-last-child(2) b { color: #159b91; }
.for-company-lms-preview__status:last-child b { color: #3471df; }

.for-company-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  color: var(--company-blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.for-companies__trust {
  display: flex;
  width: min(100%, 1320px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 25px 24px 31px;
  border-top: 1px solid #e8edf3;
}

.for-companies__trust h3 {
  margin: 0 0 4px;
  color: #1d293e;
  font-size: 14px;
}

.for-companies__trust p {
  color: #768398;
  font-size: 11px;
  line-height: 1.5;
}

.for-companies__trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.for-companies__trust-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #59667b;
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.for-companies__trust-badges i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--company-blue);
  font-size: 9px;
  font-style: normal;
}

@media (max-width: 1050px) {
  .for-companies__hero { gap: 38px; }
  .for-companies__features { gap: 14px; }
  .for-company-card { padding: 21px; }
  .for-company-card__body { grid-template-columns: minmax(0, 1fr) minmax(170px, .9fr); gap: 12px; }
}

@media (max-width: 760px) {
  .for-companies__hero {
    grid-template-columns: 1fr;
    gap: 37px;
    padding: 43px 20px 47px;
  }

  .for-companies__copy h2 { font-size: clamp(40px, 9vw, 54px); }
  .for-companies__photo { height: clamp(290px, 70vw, 420px); }
  .for-companies__floating--ewa { left: -5px; }
  .for-companies__floating--lms { right: -5px; }
  .for-companies__benefit-card { right: -3px; }
  .for-companies__features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 21px 20px; }
  .for-company-solutions { padding: 43px 18px 45px; }
  .for-company-solutions__grid { grid-template-columns: 1fr; gap: 15px; }
  .for-company-card { padding: 24px; }
  .for-companies__trust { align-items: flex-start; flex-direction: column; padding: 23px 20px 30px; }
  .for-companies__trust-badges { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .for-companies__floating { gap: 7px; padding: 9px; }
  .for-companies__icon { width: 31px; height: 31px; font-size: 16px; }
  .for-companies__floating small { max-width: 112px; font-size: 8px; }
  .for-companies__benefit-card { width: 195px; padding: 12px; }
  .for-companies__features { grid-template-columns: 1fr; }
  .for-company-card { padding: 20px; }
  .for-company-card__body { grid-template-columns: 1fr; }
  .for-company-ewa-preview,.for-company-lms-preview { width: min(100%, 320px); justify-self: center; }
  .for-companies__trust-badges > span { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .for-companies__button { transition: none; }
}
