/* ==========================================================================
   Profesyonel Hizmetler — kapsam kartları
   sw-kapsam.css ile aynı ölçüler.
   ========================================================================== */

.phkapsam {
  background: var(--bg-tint);
  padding: 84px 0;
}

.phkapsam__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.phkapsam__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 10px;
}

.phkapsam__title {
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.phkapsam__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phkapsam__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 26px 26px 0;
  overflow: hidden;
}

.phkapsam__icon {
  display: inline-flex;
  color: var(--indigo);
  margin-bottom: 18px;
}

.phkapsam__icon svg {
  width: 22px;
  height: 22px;
}

.phkapsam__card-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.phkapsam__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* --- mockup illüstrasyonları ------------------------------------------------ */

.phkapsam__mock {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  margin-top: 24px;
  padding: 16px;
  transform: translateY(10px);
  transition: transform .3s ease;
}

.phkapsam__card--group:hover .phkapsam__mock {
  transform: translateY(0);
}

/* kart 1: teklifini sun (mini teklif kartı) */

.phkapsam__mock-offerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.phkapsam__mock-offerstatus {
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo);
  background: var(--pink-tint);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.phkapsam__mock-offerlines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.phkapsam__mock-offerlines div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phkapsam__mock-offerbar {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 99px;
  background: var(--line-2);
}

.phkapsam__mock-offerlines div span:last-child {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}

.phkapsam__mock-offertotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

/* kart 2: anlaşmanı belgele (belge şablonu önizlemesi) */

.phkapsam__mock--doc {
  aspect-ratio: 16 / 9.5;
}

.phkapsam__mock-dochead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.phkapsam__mock-doctag {
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo);
  background: var(--pink-tint);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.phkapsam__mock-doclines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phkapsam__mock-doclines span {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 99px;
  background: var(--line-2);
}

/* kart 3: ödemeni linkle al (link çubuğu + tutar) */

.phkapsam__mock--link {
  aspect-ratio: 16 / 9.5;
}

.phkapsam__mock-linkbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--bg-tint);
  color: var(--indigo);
  margin-bottom: 20px;
}

.phkapsam__mock-linkbar svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.phkapsam__mock-linkbar-url {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phkapsam__mock-linkbar-copy {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo);
}

.phkapsam__mock-amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.phkapsam__mock-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 860px) {
  .phkapsam {
    padding: 44px 0;
  }

  .phkapsam__grid {
    grid-template-columns: 1fr;
  }

  /* Mobilde hover olmadığı için, görünür olunca (IntersectionObserver ile
     eklenen .is-inview) hover ile aynı efekt otomatik oynar. */
  .phkapsam__card--group.is-inview .phkapsam__mock {
    transform: translateY(0);
  }
}
