/* ==========================================================================
   Trusted section
   ========================================================================== */

.trusted {
  background: #fff;
}

.trusted-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.trusted-copy {
  min-width: 0;
}

.trusted-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.trusted-title__line {
  display: block;
  color: #1c45c1;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.08;
}

.trusted-title__badge {
  display: inline-block;
  margin-top: 2px;
  padding: 4px 18px 6px 14px;
  background: #f5a623;
  transform: skewX(-8deg);
  transform-origin: left center;
}

.trusted-title__badge-text {
  display: inline-block;
  transform: skewX(8deg);
  color: #fff;
  font-family: inherit;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.08;
}

.trusted-text {
  color: #5b6678;
  font-size: clamp(.92rem, 1.02vw, 1rem);
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 520px;
}

.trusted-acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trusted-btn-call {
  background: #FAB72A;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  gap: 9px;
  padding: 13px 22px;
  box-shadow: 0 2px 10px rgba(245, 166, 35, .3);
}

.trusted-btn-call:hover { background: #e8920a; }
.trusted-btn-call .ic { width: 18px; height: 18px; }

.trusted-btn-quote {
  background: var(--blue);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  gap: 9px;
  padding: 13px 22px;
}

.trusted-btn-quote:hover { background: var(--blue-600); }
.trusted-btn-quote .ic { width: 18px; height: 18px; }

.trusted-media {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  padding-right: 280px;
}

.trusted-visual {
  --trusted-w: 583px;
  --trusted-h: 645px;
  --trusted-features-w: 432px;
  --trusted-features-h: 446px;
  --trusted-features-left: 423px;
  --trusted-features-top: 169px;
  --trusted-accent: #5eb8ff;
  position: relative;
  width: var(--trusted-w);
  height: var(--trusted-h);
  max-width: 100%;
  border-radius: 40px;
  overflow: visible;
  line-height: 0;
  background: var(--navy-2);
  box-shadow: 0 18px 44px rgba(15, 33, 66, .14);
}

.trusted-visual__photo-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trusted-photo,
.trusted-visual img.trusted-photo {
  width: var(--trusted-w);
  height: var(--trusted-h);
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 40px;
}

.trusted-visual__stripe {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--trusted-accent);
  z-index: 2;
  pointer-events: none;
}

.trusted-visual__stripe--bottom {
  bottom: 0;
}

.trusted-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px 14px;
  padding: 14px 16px 12px;
  background: #0b1b34;
  border-bottom: 4px solid var(--trusted-accent);
  border-radius: 40px 40px 0 0;
}

.trusted-topbar__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.trusted-topbar__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

.trusted-topbar__ring svg {
  width: 15px;
  height: 15px;
}

.trusted-topbar__label {
  font-family: var(--display);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
  letter-spacing: .02em;
}

.trusted-features {
  position: absolute;
  left: var(--trusted-features-left);
  top: var(--trusted-features-top);
  right: auto;
  transform: none;
  width: var(--trusted-features-w);
  height: var(--trusted-features-h);
  background: #0056b3;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  padding: 24px 22px 22px;
  box-shadow: 0 16px 40px rgba(8, 20, 50, .28);
  z-index: 4;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.trusted-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trusted-features__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 0;
}

.trusted-features__tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #fff;
  margin-top: 1px;
}

.trusted-features__tick svg {
  width: 22px;
  height: 22px;
}

.trusted-features__copy b {
  display: block;
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2px;
}

.trusted-features__copy small {
  display: block;
  font-size: .7rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .9);
}

/* ------------------------------- Responsive ------------------------------- */

@media (max-width: 1024px) {
  .trusted-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .trusted-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trusted-media {
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding-right: 0;
  }

  .trusted-visual {
    width: min(var(--trusted-w), 100%);
    height: auto;
    aspect-ratio: 583 / 645;
    overflow: visible;
  }

  .trusted-visual__photo-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .trusted-photo,
  .trusted-visual img.trusted-photo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    border-radius: 40px;
  }

  .trusted-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
  }

  .trusted-features {
    left: 72.47%;
    top: 26.2%;
    width: 74.1%;
    height: 69.15%;
    max-width: var(--trusted-features-w);
    max-height: var(--trusted-features-h);
    padding: 18px 16px;
    border-radius: 30px;
    border-width: 2px;
  }

  .trusted-features__copy b { font-size: .8rem; }
  .trusted-features__copy small { font-size: .65rem; }
}

@media (max-width: 560px) {
  .trusted-visual {
    border-radius: 40px;
    width: 100%;
    aspect-ratio: 583 / 645;
  }

  .trusted-visual__photo-wrap {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .trusted-topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .trusted-topbar__label {
    font-size: .58rem;
  }

  .trusted-features {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 24px);
    max-width: var(--trusted-features-w);
    height: auto;
    min-height: 320px;
    margin: -28px auto 0;
    padding: 18px 16px;
    border-radius: 30px;
  }

  .trusted-features__list {
    gap: 12px;
    justify-content: flex-start;
  }

  .trusted-acts .btn {
    width: 100%;
  }
}
