/* =============================================
   PORTFOLIO TRUST — Sticky horizontal scroll
   ============================================= */

.pf-trust-showcase {
  position: relative;
  background: #f7f7f7;
}

.pf-trust-showcase.is-passive {
  height: auto;
}

.pf-trust-pin {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f7f7f7;
}

.pf-trust-inner {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.pf-trust-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.pf-trust-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--black);
}

.pf-trust-grad {
  background: linear-gradient(90deg, #e63b3b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pf-trust-intro {
  font-size: 13px;
  line-height: 1.75;
  color: #555;
  max-width: 480px;
  margin-left: auto;
}

.pf-trust-cards-viewport {
  overflow: hidden;
  width: 100%;
}

.pf-trust-cards-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  will-change: transform;
}

.pf-trust-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 280px;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.pf-trust-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pf-trust-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--black);
}

.pf-trust-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--grey-600);
}

.pf-trust-showcase.is-passive .pf-trust-pin {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.pf-trust-showcase.is-passive .pf-trust-cards-viewport {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pf-trust-showcase.is-passive .pf-trust-cards-viewport::-webkit-scrollbar {
  display: none;
}

.pf-trust-showcase.is-passive .pf-trust-cards-track {
  transform: none !important;
  width: max-content;
  flex-wrap: nowrap;
  will-change: auto;
}

.pf-trust-showcase.is-passive .pf-trust-card {
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .pf-trust-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pf-trust-intro {
    margin-left: 0;
    max-width: none;
  }

  .pf-trust-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 260px;
  }
}

@media (max-width: 640px) {
  .pf-trust-pin {
    height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .pf-trust-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
}
