/* SOLUTIONS SECTION */

.solutions {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: #0a0a0a;
  color: #ffffff;
}

.solutions .container {
  position: relative;
  z-index: 2;
}

.solutions__header {
  max-width: 780px;
  margin-bottom: 28px;
}

.solutions__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.solutions__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.solutions__text {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.6;
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.solution-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #121212;
  border: 1px solid #2a2a2a;
}

.solution-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #181818;
}

.solution-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.14) 52%,
    transparent 100%
  );
  pointer-events: none;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.solution-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.solution-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.solution-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.solution-card__number {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.solution-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 1.22rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.solution-card__desc {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* TABLET */

@media (min-width: 768px) {
  .solutions {
    padding: 88px 0;
  }

  .solutions__header {
    margin-bottom: 36px;
  }

  .solutions__title {
    font-size: clamp(3rem, 5.6vw, 5rem);
    line-height: 1.02;
  }

  .solutions__text {
    margin-top: 18px;
    font-size: 1.04rem;
  }

  .solutions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .solution-card {
    border-radius: 28px;
  }

  .solution-card__media {
    height: 230px;
  }

  .solution-card__body {
    padding: 24px;
  }

  .solution-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.4rem;
  }

  .solution-card__title {
    font-size: 1.38rem;
  }

  .solution-card__desc {
    font-size: 0.95rem;
  }
}

/* DESKTOP */

@media (min-width: 1120px) {
  .solutions {
    padding: 108px 0;
  }

  .solutions__header {
    max-width: 920px;
    margin-bottom: 42px;
  }

  .solutions__title {
    max-width: 980px;
    font-size: clamp(3.4rem, 4.8vw, 5.6rem);
  }

  .solutions__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .solution-card {
    min-height: 430px;
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      background 0.3s ease;
  }

  .solution-card__media {
    height: 220px;
  }

  .solution-card__media img {
    transition: transform 0.45s ease;
  }

  .solution-card__icon {
    transition:
      background 0.3s ease,
      border-color 0.3s ease;
  }

  .solution-card:hover {
    transform: translateY(-5px);
    border-color: #4a4a4a;
    background: #141414;
  }

  .solution-card:hover .solution-card__media img {
    transform: scale(1.05);
  }

  .solution-card:hover .solution-card__icon {
    background: rgba(215, 25, 32, 0.12);
    border-color: rgba(215, 25, 32, 0.35);
  }
}

/* SMALL PHONES */

@media (max-width: 390px) {
  .solutions {
    padding: 56px 0;
  }

  .solutions__header {
    margin-bottom: 22px;
  }

  .solutions__label {
    font-size: 0.6rem;
  }

  .solutions__title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .solutions__text {
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .solutions__grid {
    gap: 14px;
  }

  .solution-card {
    border-radius: 22px;
  }

  .solution-card__media {
    height: 175px;
  }

  .solution-card__body {
    padding: 18px;
  }

  .solution-card__head {
    margin-bottom: 15px;
  }

  .solution-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 1.15rem;
  }

  .solution-card__title {
    font-size: 1.14rem;
  }

  .solution-card__desc {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}