.features-grid {
  background: var(--color-blue-deep);
  color: var(--color-text-invert-main);
  padding: 100px 0;
}
.features-grid__header {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 72px;
}
.features-grid__title {
  color: #fff;
  line-height: 1.1;
  margin: 0;
  max-width: 706px;
}
.features-grid__description {
  max-width: 526px;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  margin-left: auto;
}
.features-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: max-height 0.4s ease;
  overflow: hidden;
  position: relative;
}
.features-grid__footer {
  display: none;
  justify-content: end;
  margin-top: 40px;
}
.features-grid__toggle .btn__icon {
  transition: transform 0.3s ease;
}
.features-grid.is-expanded .features-grid__toggle .btn__icon {
  transform: rotate(180deg);
}
.features-grid__list .feature-card:nth-child(3) ~ .feature-card {
  background: rgba(255, 255, 255, 0.1);
}
.features-grid__list .feature-card:nth-child(6) ~ .feature-card {
  background: rgba(255, 255, 255, 0.05);
}
@media (width < 1223px) {
  .features-grid {
    padding: 64px 0;
  }
  .features-grid__header {
    gap: 80px;
    margin-bottom: 56px;
  }
  .features-grid__description {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  .features-grid__list {
    gap: 24px 16px;
  }
}
@media (width < 768px) {
  .features-grid {
    padding: 48px 0;
  }
  .features-grid__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-grid__footer {
    display: flex;
  }
  .features-grid__description {
    margin-left: 0;
    text-align: center;
  }
  .features-grid__header {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  backdrop-filter: blur(2px);
}
.feature-card__title {
  color: #fff;
  margin-bottom: 12px;
}
.feature-card__text {
  flex-grow: 1;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}
.feature-card__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}
@media (width < 1224px) {
  .feature-card {
    padding: 24px;
  }
}
@media (width < 992px) {
  .feature-card__text {
    font-size: 15px;
    line-height: 1.6;
  }
}
