/* TRUSTED SECTION */

.trusted-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: #080808;
  color: #ffffff;
  border-top: 1px solid #202020;
}

.trusted-section::before {
  content: "TRUST";
  position: absolute;
  right: -0.08em;
  top: 38px;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(5rem, 18vw, 15rem);
  line-height: 0.8;
  font-weight: 950;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.trusted-section .container {
  position: relative;
  z-index: 2;
}

.trusted-header {
  max-width: 860px;
  margin-bottom: 34px;
}

.trusted-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent, #d71920);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trusted-title {
  max-width: 900px;
  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;
}

.trusted-text {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.6;
}

.trusted-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.trusted-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(215, 25, 32, 0.07), transparent 42%),
    #111111;
  border: 1px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.trusted-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(215, 25, 32, 0.12),
    transparent 44%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.trusted-card__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted-card__logo img {
  max-width: 150px;
  max-height: 58px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(1) brightness(1.18);
  opacity: 0.82;
  transition:
    filter 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.trusted-card span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.trusted-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 25, 32, 0.42);
  background: #151515;
}

.trusted-card:hover::after {
  opacity: 1;
}

.trusted-card:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.04);
}

.trusted-card:hover span {
  color: #ffffff;
}

/* TABLET */

@media (min-width: 768px) {
  .trusted-section {
    padding: 88px 0;
  }

  .trusted-header {
    margin-bottom: 44px;
  }

  .trusted-title {
    font-size: clamp(3rem, 5.6vw, 5rem);
    line-height: 1.02;
  }

  .trusted-text {
    margin-top: 18px;
    font-size: 1.04rem;
  }

  .trusted-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .trusted-card {
    min-height: 170px;
    padding: 24px;
    border-radius: 30px;
  }

  .trusted-card__logo {
    height: 66px;
  }

  .trusted-card__logo img {
    max-width: 170px;
    max-height: 66px;
  }

  .trusted-card span {
    font-size: 0.88rem;
  }
}

/* DESKTOP */

@media (min-width: 1120px) {
  .trusted-section {
    padding: 108px 0;
  }

  .trusted-header {
    margin-bottom: 50px;
  }

  .trusted-title {
    max-width: 980px;
    font-size: clamp(3.4rem, 4.6vw, 5.4rem);
  }

  .trusted-grid {
    gap: 20px;
  }

  .trusted-card {
    min-height: 190px;
    padding: 30px;
    border-radius: 34px;
  }

  .trusted-card__logo {
    height: 74px;
  }

  .trusted-card__logo img {
    max-width: 190px;
    max-height: 74px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .trusted-section {
    padding: 56px 0;
  }

  .trusted-header {
    margin-bottom: 26px;
  }

  .trusted-label {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .trusted-title {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .trusted-text {
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .trusted-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  

  .trusted-card {
    min-height: 128px;
    padding: 16px 12px;
    border-radius: 20px;
    gap: 12px;
  }

  .trusted-card__logo {
    height: 48px;
  }

  .trusted-card__logo img {
    max-width: 118px;
    max-height: 48px;
  }

  .trusted-card span {
    font-size: 0.72rem;
  }
}

/* SMALL MOBILE */

@media (max-width: 390px) {
  .trusted-grid {
    gap: 8px;
  }

  .trusted-card {
    min-height: 118px;
    padding: 14px 10px;
  }

  .trusted-card__logo img {
    max-width: 108px;
  }

  .trusted-card span {
    font-size: 0.68rem;
  }
}