/* ============================================================
   Hitung Pembiayaan — BMT IBS
   Palet & font disamakan dengan www.bmtibs.com (Inter + teal)
   Font Inter dimuat LOKAL — halaman bekerja penuh offline.
   ============================================================ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2')
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500-normal.woff2') format('woff2')
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2')
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700-normal.woff2') format('woff2')
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin-800-normal.woff2') format('woff2')
}

:root {
  --teal: #009688;
  --teal-dark: #0f766e;
  --teal-deep: #115e59;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --ink: #171717;
  --muted: #5f6b6a;
  --line: #e3e9e8;
  --bg: #f6faf9;
  --card: #fff;
  --wa: #1fb25a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 118, 110, .10);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px
}

/* Header */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink)
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block
}

.header-tagline-wrap {
  display: flex;
  align-items: center;
}

.header-tagline {
  height: 38px;
  width: auto;
  display: block;
  opacity: 1;
  object-fit: contain;
}

.nav-link {
  text-decoration: none;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 10px
}

.nav-link:hover {
  background: var(--teal-50)
}

.nav-link--cta {
  background: var(--teal);
  color: #fff
}

.nav-link--cta:hover {
  background: var(--teal-dark)
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%);
  padding: 56px 0 96px;
  text-align: center
}

.hero-eyebrow {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.5px
}

.hero-sub {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem
}

/* Stepper 2 Fase */
.stepper-container {
  max-width: 680px;
  margin: -60px auto 22px;
  position: relative;
  z-index: 3;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 0 4px 20px rgba(15, 118, 110, .07);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.step-item:last-child {
  justify-content: flex-end;
}

.step-num-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .88rem;
  background: #f1f5f4;
  color: var(--muted);
  transition: all .25s ease;
  flex-shrink: 0;
}

.step-item .step-check {
  display: none;
}

.step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.step-phase-tag {
  font-size: .68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
}

.step-label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Stepper Active State */
.step-item.is-active .step-num-wrap {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 150, 136, .2);
}

.step-item.is-active .step-phase-tag {
  color: var(--teal-dark);
}

.step-item.is-active .step-label {
  color: var(--ink);
  font-weight: 700;
}

/* Stepper Completed State */
.step-item.is-completed .step-num-wrap {
  background: var(--teal-100);
  color: var(--teal-deep);
}

.step-item.is-completed .step-num {
  display: none;
}

.step-item.is-completed .step-check {
  display: block;
}

.step-item.is-completed .step-phase-tag {
  color: var(--teal-dark);
}

.step-item.is-completed .step-label {
  color: var(--teal-deep);
}

.step-divider {
  width: 44px;
  height: 2px;
  background: var(--line);
  margin: 0 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Kalkulator Wrapper & Fase */
.calculator-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.phase-panel {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.phase-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%
}

.form-card {
  padding: 30px;
}

.card-head {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.card-head .card-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-deep);
}

.card-head .card-desc {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 12px 16px;
  background: #fef3f2;
  border: 1px solid #fee4e2;
  border-radius: 12px;
  color: #b42318;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  animation: fadeIn 0.2s ease;
}

.form-alert[hidden] {
  display: none !important;
}

.form-alert .alert-icon {
  flex-shrink: 0;
}

.form-actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.btn-submit-calc {
  width: 100%;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 150, 136, .24);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s ease;
}

.btn-submit-calc:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 28px rgba(0, 150, 136, .32);
  transform: translateY(-1px);
}

.btn-submit-calc:active {
  transform: scale(.98);
}

.field {
  margin-bottom: 18px;
  min-width: 0
}

.field label,
.field-label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 7px
}

.optional {
  color: var(--muted);
  font-weight: 500;
  font-size: .8rem
}

.wajib {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: .78rem;
  background: var(--teal-100);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px
}

.input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  max-width: 100%;
  min-width: 0
}

.input-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, .12)
}

.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--teal-50);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .9rem;
  border-right: 1px solid var(--line)
}

.input-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  min-width: 0;
  width: 100%
}

.input-wrap input::placeholder {
  color: #b6c2c0;
  font-weight: 500
}

.input-wrap select {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  text-overflow: ellipsis;
  cursor: pointer
}

.input-wrap select:invalid {
  color: #8a9694
}

.input-wrap input:disabled,
.input-wrap select:disabled {
  background: #f1f4f3;
  color: #9aa3a2;
  cursor: not-allowed
}

.form-card.lock-fields #dyFields {
  opacity: .5
}

.field-hint {
  margin: 7px 2px 0;
  font-size: .78rem;
  color: var(--muted)
}

.field-hint.is-error {
  color: #b42318;
  font-weight: 600
}

.dp-custom-wrap {
  margin-top: 10px;
  padding: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px
}

.dp-custom-condition {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-deep);
  cursor: pointer
}

.radio-label input[type="radio"] {
  accent-color: var(--teal);
  cursor: pointer;
  margin: 0
}

.dp-custom-wrap .input-wrap {
  background: #fff
}

.jenis-custom {
  margin-top: 8px;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  outline: 0;
  background: #fff
}

.jenis-custom:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, .12)
}

.jenis-custom::placeholder {
  color: #b6c2c0;
  font-weight: 500
}

.tenor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px
}

.tenor-chip {
  appearance: none;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: inherit;
  transition: all .15s
}

.tenor-chip strong {
  font-size: 1.02rem;
  color: var(--teal-dark);
  line-height: 1.2
}

.tenor-chip span {
  font-size: .68rem;
  color: var(--muted)
}

.tenor-chip:hover:not(:disabled) {
  border-color: var(--teal);
  background: var(--teal-50)
}

.tenor-chip.is-selected {
  background: var(--teal);
  border-color: var(--teal)
}

.tenor-chip.is-selected strong,
.tenor-chip.is-selected span {
  color: #fff
}

.tenor-chip:disabled {
  opacity: .38;
  cursor: not-allowed;
  border-style: dashed;
  background: #fafcfc
}

/* Tombol */
.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.btn:active {
  transform: scale(.98)
}

.btn-outline {
  background: #fff;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal)
}

.btn-outline:hover {
  background: var(--teal-50)
}

.btn-outline:disabled {
  opacity: .6;
  cursor: wait
}

.btn-wa {
  background: var(--wa);
  color: #fff
}

.btn-wa:hover {
  filter: brightness(1.05);
  transform: scale(1.02)
}

.wa-icon {
  flex: none
}

.btn-formulir {
  display: flex;
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 150, 136, .22)
}

.btn-formulir:hover {
  filter: brightness(1.06);
  transform: scale(1.02)
}

.cta-svg-icon {
  flex: none;
  margin-right: 2px
}

/* Hasil */
.result-card {
  padding: 30px;
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.result-head-text {
  display: flex;
  flex-direction: column;
}

.result-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--teal-dark);
  margin-bottom: 2px;
}

.result-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--teal-deep);
  font-weight: 800;
  line-height: 1.3;
}

.tenor-badge {
  background: var(--teal-100);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.angsuran-highlight-card {
  margin: 18px 0 20px;
  padding: 22px;
  background: linear-gradient(135deg, var(--teal-50) 0%, #e6f7f5 100%);
  border: 1.5px solid var(--teal-100);
  border-radius: 14px;
  text-align: center;
}

.angsuran-highlight-card .angsuran-label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
}

.angsuran-highlight-card .angsuran-big {
  font-size: clamp(2.3rem, 5.5vw, 3.1rem);
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: -.5px;
  margin: 4px 0 6px;
  line-height: 1.1;
}

.angsuran-highlight-card .angsuran-note {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem
}

.detail-table th,
.detail-table td {
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top
}

.detail-table tr:last-child th,
.detail-table tr:last-child td {
  border-bottom: 0;
}

.detail-table th {
  color: var(--muted);
  font-weight: 500;
  width: 54%
}

.detail-table td {
  font-weight: 700;
  text-align: right;
  white-space: nowrap
}

.terms-inline {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px
}

.terms-inline .alt-title {
  margin: 0 0 6px;
  font-size: .78rem;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: .3px
}

.terms-inline ul {
  margin: 0;
  padding-left: 16px;
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.55
}

.terms-inline li {
  margin-bottom: 4px
}

.terms-inline li:last-child {
  margin-bottom: 0
}

/* Keunggulan Syariah (Fase 2 Web) */
.syariah-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.syariah-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.syariah-badge-icon {
  color: var(--teal);
  flex-shrink: 0;
}

.phase-back-wrap {
  margin-top: 20px;
}

.btn-back-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 700;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
}

.btn-back-input:hover {
  background: var(--teal-50);
  border-color: var(--teal-dark);
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px
}

.fine-print {
  margin: 12px 0 0;
  font-size: .72rem;
  color: var(--muted);
  text-align: center
}

.result-error {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.result-error h3 {
  margin: 0 0 8px;
  color: #b42318
}

.result-error p {
  margin: 0;
  color: var(--muted)
}

/* Syarat & ketentuan */
.terms {
  padding: 30px 20px 45px
}

.terms h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--teal-deep)
}

.terms ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55
}

.terms li {
  margin-bottom: 4px
}

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 16px 20px
}

.contact-box h3 {
  margin: 0 0 6px;
  font-size: .95rem;
  color: var(--teal-deep)
}

.contact-box p {
  margin: 0;
  font-size: .85rem;
  color: var(--ink);
  line-height: 1.6
}

.contact-box a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: none
}

.contact-box a:hover {
  text-decoration: underline
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  margin-top: 90px;
}

.site-footer p {
  margin: 3px 0;
  font-size: .85rem
}

.site-footer strong {
  color: var(--teal)
}

.site-footer a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600
}

.footer-small {
  color: var(--muted);
  font-size: .72rem
}

/* Templat gambar (off-screen, hanya untuk html2canvas) */
.shot-wrap {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 420px
}

.shot-card {
  width: 420px;
  background: #fff;
  border: 2px solid var(--teal-100);
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink)
}

.shot-header {
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--teal-100)
}

.shot-header-left {
  display: flex;
  align-items: center;
  gap: 12px
}

.shot-logo {
  height: 42px;
  width: auto;
  object-fit: contain
}

.shot-tagline-wrap {
  display: flex;
  align-items: center;
}

.shot-tagline {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.shot-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.shot-banner-title {
  font-size: .88rem;
  font-weight: 700
}

.shot-banner-date {
  background: rgba(255, 255, 255, .2);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
}

.shot-main-angsuran {
  padding: 14px 18px;
  background: var(--teal-50);
  border-bottom: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.shot-angsuran-col span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px
}

.shot-angsuran-col strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.15;
  letter-spacing: -.5px
}

.shot-tenor-badge {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap
}

.shot-section-title {
  padding: 10px 18px 4px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: .3px
}

.shot-table {
  width: calc(100% - 36px);
  margin: 4px 18px 8px;
  border-collapse: collapse;
  font-size: .82rem
}

.shot-table tr {
  border-bottom: 1px solid #edf2f1
}

.shot-table td {
  padding: 6px 2px
}

.shot-table td:first-child {
  color: var(--muted);
  font-weight: 500;
  width: 48%
}

.shot-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--ink)
}

.shot-simpanan-box {
  margin: 4px 18px 10px;
  padding: 9px 12px;
  background: #fafcfc;
  border: 1px solid var(--line);
  border-radius: 8px
}

.shot-simpanan-title {
  font-size: .76rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 4px;
  text-transform: uppercase
}

.shot-simpanan-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .76rem;
  color: var(--muted)
}

.shot-simpanan-list span strong {
  color: var(--ink)
}

.shot-terms-box {
  margin: 4px 18px 10px;
  padding: 8px 12px;
  background: #fcfcfc;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  font-size: .67rem;
  color: var(--muted);
  line-height: 1.45;
}

.shot-terms-box strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.shot-terms-box ul {
  margin: 2px 0 0;
  padding-left: 0;
  list-style: none;
}

.shot-terms-box li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 3px;
}

.shot-terms-box li:last-child {
  margin-bottom: 0;
}

.shot-terms-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--teal);
}

/* 4 Poin Syariah pada Gambar Hasil */
.shot-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
  margin: 6px 18px 10px;
}

.shot-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .67rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 6px;
  padding: 5px 8px;
}

.shot-feature-check {
  color: var(--teal);
  font-weight: 800;
  font-size: .72rem;
  line-height: 1;
}

.shot-footer-bar {
  background: #f6faf9;
  border-top: 1px solid var(--teal-100);
  padding: 8px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.shot-kemenkop {
  font-size: .65rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: .01em;
  line-height: 1.2;
}

.shot-footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: .65rem;
  line-height: 1.2;
}

.shot-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  color: var(--teal-dark);
}

.shot-contact-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--teal);
}

/* Responsif */
@media (max-width:920px) {
  .stepper-container {
    margin-top: -48px
  }
}

@media (max-width:560px) {
  .container {
    padding: 0 14px
  }

  .header-inner {
    padding: 10px 14px
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    height: 32px
  }

  .header-tagline {
    height: 26px;
  }

  .hero {
    padding: 30px 0 54px
  }

  .hero-eyebrow {
    font-size: .7rem;
    padding: 4px 10px
  }

  .hero h1 {
    font-size: 1.65rem;
    margin: 10px 0 8px
  }

  .hero-sub {
    font-size: .88rem;
    padding: 0 6px
  }

  .stepper-container {
    margin-top: -38px;
    margin-bottom: 16px;
  }

  .stepper {
    padding: 6px 12px;
  }

  .step-num-wrap {
    width: 28px;
    height: 28px;
    font-size: .8rem;
  }

  .step-label {
    display: none;
  }

  .step-phase-tag {
    font-size: .76rem;
  }

  .step-divider {
    width: 24px;
    margin: 0 6px;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 14px
  }

  .result-card {
    padding: 20px 16px;
    border-radius: 14px
  }

  .card-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .card-head .card-title {
    font-size: 1.12rem;
  }

  .angsuran-highlight-card {
    padding: 16px 12px;
    margin: 14px 0 16px;
  }

  .card-title {
    font-size: 1.05rem;
    margin-bottom: 14px
  }

  .field {
    margin-bottom: 14px
  }

  .field label,
  .field-label {
    font-size: .85rem;
    margin-bottom: 5px
  }

  .input-wrap input {
    padding: 11px 12px;
    font-size: .95rem
  }

  .input-wrap select {
    padding: 11px 12px;
    font-size: .92rem
  }

  .input-prefix {
    padding: 0 10px;
    font-size: .85rem
  }

  .dp-custom-condition {
    gap: 8px
  }

  .radio-label {
    font-size: .78rem
  }

  .tenor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px
  }

  .tenor-chip {
    padding: 8px 4px
  }

  .tenor-chip strong {
    font-size: .92rem
  }

  .tenor-chip span {
    font-size: .62rem
  }

  .angsuran-big {
    font-size: 1.85rem;
    margin: 2px 0 12px
  }

  .detail-table {
    font-size: .85rem
  }

  .detail-table th {
    width: 48%;
    padding: 6px 2px
  }

  .detail-table td {
    padding: 6px 2px
  }

  .terms-inline {
    padding: 10px 12px;
    margin-top: 12px
  }

  .syariah-badges {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .syariah-badge {
    padding: 8px 10px;
    font-size: .78rem;
  }

  .calculator-wrapper {
    padding-bottom: 10px;
  }

  .site-footer {
    margin-top: 50px;
    padding: 22px 0;
  }

  .result-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px
  }

  .btn {
    padding: 11px 14px;
    font-size: .9rem
  }

  .terms {
    padding: 20px 14px 35px
  }

  .contact-box {
    padding: 14px 16px
  }
}