/* ==========================================================================
   Belge ve Onay — e-Fatura ve e-Arşiv
   of-guvenli.css / ms-iletisim.css ile aynı kart dili, 3 kart.
   ========================================================================== */

.boefat {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-soft);
}

.boefat__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

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

.boefat__title {
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 12px;
}

.boefat__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

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

.boefat__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;
}

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

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

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

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

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

.boefat__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;
}

.boefat__card--group:hover .boefat__mock {
  transform: translateY(0);
}

/* kart 1: bilgilerini kontrol et (doğrulama listesi) */

.boefat__mock-checkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink);
}

.boefat__mock-checkrow:last-child {
  border-bottom: none;
}

.boefat__mock-checkrow svg {
  width: 15px;
  height: 15px;
  color: #1E6B37;
  flex-shrink: 0;
}

/* kart 2: faturanı oluştur (tür seçimi + buton) */

.boefat__mock-typetabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.boefat__mock-typetabs span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-tint);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.boefat__mock-typetabs span.is-active {
  color: var(--white);
  background: var(--indigo);
  font-weight: 700;
}

.boefat__mock-typebtn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

/* kart 3: belgelerine ulaş (dosya listesi) */

.boefat__mock-filerow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink);
}

.boefat__mock-filerow:last-child {
  border-bottom: none;
}

.boefat__mock-fileico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--bg-tint);
  color: var(--indigo);
  flex-shrink: 0;
}

.boefat__mock-fileico svg {
  width: 13px;
  height: 13px;
}

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

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