/* ===================== Ajanvarausmodaali ===================== */
.bkm {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 4vh, 56px) 16px;
  overflow-y: auto;
}
.bkm__scrim {
  position: fixed; inset: 0; border: 0; cursor: pointer;
  background: rgba(10, 22, 40, .55); backdrop-filter: blur(3px);
  animation: bkmFade .18s ease;
}
@keyframes bkmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bkmRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.bkm__panel {
  position: relative; z-index: 1; width: 100%; max-width: 540px;
  background: #fff; border-radius: 20px; padding: 30px clamp(20px, 4vw, 34px) 26px;
  box-shadow: 0 30px 80px rgba(10, 22, 40, .35);
  animation: bkmRise .22s cubic-bezier(.2, .8, .2, 1);
  font-family: var(--body, system-ui, sans-serif);
}
.bkm__close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: #f1f5f9; color: #475569; font-size: 16px; line-height: 1;
  cursor: pointer; transition: background .15s;
}
.bkm__close:hover { background: #e2e8f0; }

.bkm__head { margin-bottom: 18px; }
.bkm__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--navy, #0f2540);
  background: var(--brand-soft, #eef4ff); padding: 5px 12px; border-radius: 999px;
}
.bkm__head h2 {
  font-family: var(--head, system-ui); font-weight: 800;
  font-size: clamp(22px, 4vw, 27px); color: var(--navy, #0f2540);
  margin: 12px 0 6px;
}
.bkm__sub { color: var(--muted, #607080); font-size: 14.5px; line-height: 1.5; margin: 0; }

/* ── Yhteenveto ── */
.bkm__summary {
  background: var(--brand-softer, #f7faff); border: 1px solid var(--brand-soft, #e6eefc);
  border-radius: 14px; padding: 15px 17px; margin-bottom: 20px;
}
.bkm__sumHead {
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand, #2563eb); margin-bottom: 10px;
}
.bkm__lines { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bkm__lines li { display: flex; justify-content: space-between; font-size: 14px; color: var(--navy, #0f2540); }
.bkm__lines li b { font-weight: 700; }
.bkm__empty { font-size: 13.5px; color: var(--muted, #607080); margin: 0 0 12px; }
.bkm__sumTotals { border-top: 1px dashed var(--brand-soft, #d7e3fb); padding-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.bkm__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted, #607080); }
.bkm__row b { color: var(--navy, #0f2540); font-weight: 700; }
.bkm__row--accent { font-size: 15px; margin-top: 3px; }
.bkm__row--accent span { color: var(--navy, #0f2540); font-weight: 600; }
.bkm__row--accent b { color: var(--brand, #2563eb); font-weight: 800; }

/* ── Lomake ── */
.bkm__form { display: flex; flex-direction: column; gap: 13px; }
.bkm__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.bkm__grid2--73 { grid-template-columns: 3fr 1fr; }
.bkm__field { display: flex; flex-direction: column; gap: 6px; }
.bkm__field > span { font-size: 13px; font-weight: 700; color: var(--navy, #0f2540); }
.bkm__field input, .bkm__field select, .bkm__field textarea {
  font: inherit; font-size: 15px; color: var(--navy, #0f2540);
  border: 1.5px solid #dce3ee; border-radius: 11px; padding: 11px 13px;
  background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
  width: 100%; resize: vertical;
}
.bkm__field input:focus, .bkm__field select:focus, .bkm__field textarea:focus {
  border-color: var(--brand, #2563eb); box-shadow: 0 0 0 3px var(--brand-soft, #e6eefc);
}
.bkm__field input::placeholder, .bkm__field textarea::placeholder { color: #9aa7b8; }

.bkm__zipWarn { font-size: 12px; font-weight: 600; color: #b45309; margin-top: 3px; }

.bkm__err {
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
  border-radius: 10px; padding: 9px 13px; font-size: 13.5px; font-weight: 600;
}
.bkm__fineprint { text-align: center; font-size: 12.5px; color: var(--muted, #607080); margin: 4px 0 0; }
.bkm__fineprint--pay { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 5px; }
.bkm__contacts { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 8px; }
.bkm__contactLink { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted, #607080); text-decoration: none; transition: color .15s; }
.bkm__contactLink:hover { color: var(--brand, #2563eb); }

/* ── Kiitossivu ── */
.bkm__done { text-align: center; padding: 8px 0 4px; }
.bkm__doneIc {
  width: 70px; height: 70px; margin: 4px auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #dcfce7; color: #16a34a;
}
.bkm__done h2 { font-family: var(--head, system-ui); font-weight: 800; font-size: 25px; color: var(--navy, #0f2540); margin: 0 0 8px; }
.bkm__callRow { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.bkm__callBtn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }

@media (max-width: 480px) {
  .bkm__grid2 { grid-template-columns: 1fr; }
  .bkm__grid2--73 { grid-template-columns: 3fr 1fr; }
  .bkm__panel { padding: 26px 18px 22px; border-radius: 16px; }
}
