.strengths {
  position: relative;
  overflow: hidden;
  color: #f5ecdd;
  background: #242522;
  border-bottom: 1px solid rgba(245, 236, 221, 0.16);
}

.strengths::before,
.strengths::after {
  position: absolute;
  content: "";
  background: rgba(245, 236, 221, 0.055);
  pointer-events: none;
}

.strengths::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.strengths::after {
  top: 42%;
  right: 0;
  left: 0;
  height: 1px;
}

.strengths__container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(32px, 7vw, 96px)), 1280px);
  margin-inline: auto;
  padding-block: clamp(68px, 6vw, 92px);
}

.strengths__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.62fr);
  gap: clamp(52px, 8vw, 124px);
  align-items: end;
}

.strengths__header::after {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(210, 72, 64, 0.7);
  transform-origin: left;
  animation: strengths-line-in 720ms ease both;
}

.strengths__title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 7.3vw, 104px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
}

.strengths__lead {
  max-width: 570px;
  margin: 0;
  padding-left: clamp(20px, 3vw, 42px);
  color: rgba(245, 236, 221, 0.74);
  border-left: 1px solid rgba(210, 72, 64, 0.78);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 520;
  line-height: 1.5;
}

.strengths__system {
  position: relative;
  margin-top: clamp(48px, 5vw, 72px);
}

.strengths__system::before {
  position: absolute;
  top: 48px;
  bottom: 5%;
  left: 50%;
  width: 1px;
  content: "";
  background: rgba(210, 72, 64, 0.52);
  transform-origin: top;
  animation: strengths-axis-in 780ms 140ms ease both;
}

.strengths__route {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 24px;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(245, 236, 221, 0.72);
  background: #242522;
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 900;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.strengths__route i {
  color: #d24840;
  font-size: 18px;
  font-style: normal;
}

.strengths__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px) clamp(24px, 4vw, 58px);
  margin-top: clamp(40px, 4.2vw, 60px);
}

.strengths__item {
  position: relative;
  z-index: 0;
  min-width: 0;
  padding: clamp(22px, 2.2vw, 32px) clamp(18px, 2vw, 30px) 8px;
  border-top: 1px solid rgba(245, 236, 221, 0.26);
  animation: strengths-node-in 620ms ease both;
  transition: transform 260ms ease, border-color 260ms ease;
}

.strengths__item::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 58px;
  height: 2px;
  content: "";
  background: #d24840;
  transition: width 260ms ease;
}

.strengths__item::after {
  position: absolute;
  top: clamp(8px, 1vw, 16px);
  right: 0;
  z-index: 0;
  content: attr(data-keyword);
  color: transparent;
  font-size: clamp(58px, 8vw, 120px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.8;
  opacity: 0.13;
  -webkit-text-stroke: 1px rgba(245, 236, 221, 0.34);
  transition: opacity 260ms ease, -webkit-text-stroke-color 260ms ease;
  white-space: nowrap;
}

.strengths__item--experts {
  grid-column: 1 / 8;
  min-height: 240px;
}

.strengths__item--double {
  grid-column: 9 / 13;
  min-height: 220px;
  margin-top: 40px;
  animation-delay: 90ms;
}

.strengths__item--double::after {
  color: rgba(210, 72, 64, 0.2);
  opacity: 1;
  -webkit-text-stroke: 0;
}

.strengths__item--audience {
  grid-column: 2 / 7;
  min-height: 230px;
  animation-delay: 160ms;
}

.strengths__item--brand {
  grid-column: 7 / 13;
  min-height: 250px;
  margin-top: 28px;
  animation-delay: 230ms;
}

.strengths__item h3 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  font-size: clamp(29px, 3.2vw, 46px);
  font-weight: 930;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.strengths__item p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: rgba(245, 236, 221, 0.68);
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 520;
  line-height: 1.54;
}

.strengths__conclusion {
  position: relative;
  margin-top: clamp(34px, 4vw, 54px);
  padding: clamp(24px, 3vw, 40px) 0 0 clamp(26px, 5vw, 72px);
  border-top: 2px solid #d24840;
}

.strengths__conclusion::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 15px;
  height: 15px;
  content: "";
  background: #d24840;
  transform: rotate(45deg);
}

.strengths__conclusion p {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.strengths__conclusion strong {
  color: #f5ecdd;
  font-weight: 950;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .strengths__item:hover {
    border-color: rgba(245, 236, 221, 0.46);
    transform: translateY(-3px);
  }

  .strengths__item:hover::before {
    width: 96px;
  }

  .strengths__item:hover::after {
    opacity: 0.24;
  }
}

@media (max-width: 1024px) {
  .strengths__header {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
    gap: 42px;
  }

  .strengths__grid {
    gap: 32px 28px;
  }

  .strengths__item--experts {
    grid-column: 1 / 8;
  }

  .strengths__item--double {
    grid-column: 8 / 13;
    margin-top: 34px;
  }

  .strengths__item--audience {
    grid-column: 1 / 6;
  }

  .strengths__item--brand {
    grid-column: 6 / 13;
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .strengths::before {
    left: 24px;
  }

  .strengths::after {
    display: none;
  }

  .strengths__container {
    width: min(calc(100% - 32px), 1280px);
    padding-block: 58px 68px;
  }

  .strengths__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strengths__header::after {
    bottom: -18px;
  }

  .strengths__title {
    font-size: clamp(42px, 12.5vw, 56px);
    overflow-wrap: break-word;
  }

  .strengths__lead {
    max-width: 100%;
    padding-left: 18px;
    overflow-wrap: anywhere;
  }

  .strengths__system {
    margin-top: 46px;
    padding-left: 26px;
  }

  .strengths__system::before {
    top: 0;
    bottom: 0;
    left: 5px;
  }

  .strengths__route {
    width: auto;
    margin: 0;
    padding: 0 0 0 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    white-space: normal;
  }

  .strengths__route i {
    line-height: 1;
    transform: rotate(90deg);
  }

  .strengths__grid {
    display: block;
    margin-top: 32px;
  }

  .strengths__item,
  .strengths__item--experts,
  .strengths__item--double,
  .strengths__item--audience,
  .strengths__item--brand {
    min-height: 0;
    margin: 0 0 30px;
    padding: 24px 8px 0 20px;
  }

  .strengths__item::after {
    top: 10px;
    max-width: 100%;
    font-size: clamp(58px, 20vw, 86px);
  }

  .strengths__item h3 {
    max-width: 100%;
    font-size: clamp(29px, 9vw, 38px);
    overflow-wrap: break-word;
  }

  .strengths__item p,
  .strengths__conclusion p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .strengths__conclusion {
    margin-top: 34px;
    padding: 30px 0 0 20px;
  }

  .strengths__conclusion p {
    font-size: clamp(32px, 9.5vw, 44px);
  }
}

@keyframes strengths-line-in {
  from { transform: scaleX(0); }
}

@keyframes strengths-axis-in {
  from { transform: scaleY(0); }
}

@keyframes strengths-node-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .strengths__header::after,
  .strengths__system::before,
  .strengths__item {
    animation: none;
  }

  .strengths__item,
  .strengths__item::before,
  .strengths__item::after {
    transition-duration: 0.01ms;
  }
}
