/* ==========================================================================
   LINK BERKAH – Kalkulator Zakat
   ========================================================================== */

.kl-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 18px; padding: 22px 20px;
  color: #fff; border-radius: var(--radius-card);
  background: radial-gradient(420px 180px at 100% 0%, rgba(255, 215, 0, .22), transparent 60%), linear-gradient(125deg, #047857 0%, #059669 45%, #0d9488 100%);
  box-shadow: 0 18px 32px -20px rgba(4, 120, 87, .85);
}
.kl-hero::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -70px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .24), transparent 68%); }
.kl-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .16);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.kl-eyebrow i { color: #fcd34d; }
.kl-hero h1 {
  margin: 0; font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
}
.kl-hero p { margin: 8px 0 0; font-size: .86rem; line-height: 1.6; color: #d1fae5; }

.kl-grid { display: grid; gap: 16px; }
.kl-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 20px 18px; overflow: hidden;
}
.kl-card h2 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 6px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--ink);
}
.kl-card h2 i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px;
  background: var(--em-50); color: var(--em-700);
}
.kl-card.is-mal h2 i { background: #fff7d6; color: #b45309; }
.kl-card > p { margin: 0 0 16px; font-size: .82rem; color: var(--muted); line-height: 1.5; }

.kl-fields { display: grid; gap: 12px; }
.kl-fields label { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; color: #475569; }
.kl-fields input {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--em-200); border-radius: 14px; background: #f8fafc;
  font-size: .95rem; color: var(--ink); outline: none;
}
.kl-fields input:focus { border-color: var(--em-500); background: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.kl-card.is-mal input:focus { border-color: #f5b301; box-shadow: 0 0 0 4px rgba(245, 179, 1, .18); }

.kl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 48px; margin-top: 14px; border: 0; border-radius: 14px; cursor: pointer;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-size: .92rem; font-weight: 700; color: #fff;
  background: linear-gradient(120deg, var(--em-500), var(--teal-600)); box-shadow: var(--shadow-glow);
}
.kl-card.is-mal .kl-btn { background: linear-gradient(145deg, #ea8c00, #f5b301); color: #422006; box-shadow: 0 12px 20px -12px rgba(180, 120, 0, .9); }

.kl-hasil {
  margin-top: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--em-50); border: 1px solid var(--em-200); font-size: .88rem; line-height: 1.7; color: #334155;
}
.kl-card.is-mal .kl-hasil { background: var(--gold-soft); border-color: rgba(245, 179, 1, .35); }
.kl-hasil h5 { margin: 0 0 8px; font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--em-700); }
.kl-card.is-mal .kl-hasil h5 { color: #92400e; }
.kl-pay {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 44px; margin-top: 12px; border-radius: 12px; text-decoration: none; font-weight: 700;
  background: var(--em-600); color: #fff;
}
.kl-card.is-mal .kl-pay { background: #b45309; color: #fff; }

.kl-info { padding: 20px 18px; }
.kl-info h2 { margin-bottom: 12px; }
.kl-info ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kl-info li {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  background: var(--em-50); border-radius: 14px; font-size: .85rem; line-height: 1.55; color: #334155;
}
.kl-info i { color: var(--em-600); margin-top: 3px; }

@media (min-width: 1024px) {
  .kl-hero { padding: 36px 40px; margin-bottom: 24px; }
  .kl-hero h1 { font-size: 2.1rem; }
  .kl-hero p { font-size: .95rem; }
  .kl-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .kl-info { grid-column: 1 / -1; }
  .kl-fields { grid-template-columns: 1fr 1fr; }
  .kl-card { padding: 26px 24px; }
}
