/* Motor de reservas — estilos de /reservar y /reserva (usa las variables de style.css) */
.bk-hero { padding: 130px 0 46px; background: linear-gradient(135deg, var(--deep), var(--ocean)); color: #fff; text-align: center; }
.bk-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 6px 0; }
.bk-hero .hero-tagline { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; opacity: .85; }
.bk-hero .hero-sub { opacity: .9; }
.bk-section { padding: 36px 0 70px; background: var(--foam); }
.bk-narrow { max-width: 760px; }
.bk-card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.bk-center { text-align: center; }
.bk-center .btn { margin-top: 12px; }
.bk-muted { color: var(--muted); }
.bk-alert { background: #fdecea; color: #a93226; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 14px; }
.bk-info { background: #e8f6fd; color: var(--ocean); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 14px; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.bk-side { position: sticky; top: 96px; }
@media (max-width: 900px) { .bk-grid { grid-template-columns: 1fr; } .bk-side { position: static; order: -1; } }

.bk-step-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; color: var(--dark); margin-bottom: 14px; flex-wrap: wrap; }
.bk-step-h > span { width: 28px; height: 28px; border-radius: 50%; background: var(--ocean); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.bk-cur { margin-left: auto; display: inline-flex; border: 1px solid var(--border); border-radius: 30px; overflow: hidden; }
.bk-cur button, .bk-types button { padding: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.bk-cur button.on { background: var(--ocean); color: #fff; }
.bk-types { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.bk-types button { border: 2px solid var(--border); border-radius: var(--r-sm); padding: 10px 14px; flex: 1; min-width: 150px; }
.bk-types button.on { border-color: var(--ocean); color: var(--ocean); background: #f0f9ff; }

.bk-cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-cal-h button { width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; color: var(--ocean); background: var(--foam); }
.bk-cal-h button:disabled { opacity: .3; cursor: default; }
.bk-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.bk-cal-g .wd { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.bk-cal-g .day { aspect-ratio: 1; border-radius: 10px; font-weight: 600; color: #b8c4cf; background: #f6f8fa; max-height: 52px; }
.bk-cal-g .day.ok { color: var(--ocean); background: #e3f4fc; }
.bk-cal-g .day.ok:hover { background: var(--sea); color: #fff; }
.bk-cal-g .day.sel { background: var(--ocean) !important; color: #fff !important; }
.bk-cal-g .day:disabled { cursor: default; }
.bk-legend { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.bk-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #e3f4fc; vertical-align: middle; }
.bk-loading { padding: 20px; text-align: center; color: var(--muted); }

.bk-times { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-time { border: 2px solid var(--border); border-radius: var(--r-sm); padding: 8px 14px; display: flex; flex-direction: column; align-items: center; min-width: 96px; }
.bk-time small { font-size: .72rem; color: var(--muted); }
.bk-time.sel { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.bk-time.sel small { color: #dff3fb; }
.bk-opt { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px; margin-bottom: 10px; }
.bk-opt-h { display: flex; justify-content: space-between; gap: 10px; }
.bk-opt-h span { color: var(--ocean); font-weight: 700; white-space: nowrap; }
.bk-opt small { display: block; color: var(--muted); margin: 2px 0 10px; }

.bk-qty { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef3f6; gap: 10px; }
.bk-qty small { display: block; color: var(--muted); font-size: .82rem; }
.bk-stepper { display: flex; align-items: center; }
.bk-stepper button { width: 36px; height: 36px; border-radius: 50%; background: var(--foam); color: var(--ocean); font-size: 1.2rem; font-weight: 700; }
.bk-stepper input { width: 44px; text-align: center; border: 0; font-weight: 700; font-size: 1.05rem; background: transparent; }

.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-fields label { font-size: .85rem; font-weight: 600; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.bk-fields .bk-full { grid-column: 1 / -1; }
.bk-fields input, .bk-fields textarea { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; font: inherit; font-weight: 400; }
.bk-fields input:focus, .bk-fields textarea:focus { outline: 2px solid var(--sea); border-color: transparent; }
@media (max-width: 560px) { .bk-fields { grid-template-columns: 1fr; } }

.bk-radios { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.bk-radio { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--border); border-radius: var(--r-sm); padding: 12px; cursor: pointer; }
.bk-radio.on, .bk-radio:has(input:checked) { border-color: var(--ocean); background: #f0f9ff; }
.bk-radio input { margin-top: 4px; }
.bk-radio small { display: block; color: var(--muted); font-size: .8rem; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 6px 0 16px; }
.bk-check small { display: block; color: var(--muted); margin-top: 3px; }
.bk-pay { font-size: 1.05rem; padding: 14px; }
.bk-pay:disabled { opacity: .55; cursor: not-allowed; }
.bk-secure { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 10px; }

.bk-summary img { border-radius: var(--r-sm); margin-bottom: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.bk-summary h3 { font-size: 1.1rem; color: var(--dark); }
.bk-meta { margin: 8px 0 12px; color: var(--muted); font-size: .88rem; }
.bk-meta li { margin: 3px 0; }
.bk-sum-body { border-top: 1px solid #eef3f6; padding-top: 10px; }
.bk-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .92rem; }
.bk-sum-tot { border-top: 1px solid #eef3f6; margin-top: 6px; padding-top: 10px; font-size: 1.1rem; color: var(--ocean); }
.bk-help { text-align: center; font-size: .88rem; color: var(--muted); }
.bk-help a { color: #25d366; font-weight: 600; }
.bk-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 9999; max-width: 90vw; transition: opacity .4s; }
.bk-toast.out { opacity: 0; }

.bk-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.bk-tour { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.bk-tour:hover { transform: translateY(-3px); }
.bk-tour img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.bk-tour__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.bk-tour__body h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 6px; }
.bk-tour__body p { color: var(--muted); font-size: .88rem; flex: 1; }
.bk-tour__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

.bk-voucher { padding: 28px; }
.bk-v-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bk-v-head img { height: 54px; width: auto; }
.bk-badge { padding: 6px 12px; border-radius: 20px; font-size: .8rem; font-weight: 700; }
.bk-st-confirmed, .bk-st-completed { background: #e7f7ee; color: #1e8449; }
.bk-st-pending { background: #fff4e0; color: #b9770e; }
.bk-st-cancelled, .bk-st-expired, .bk-st-no_show { background: #fdecea; color: #a93226; }
.bk-v-code { text-align: center; margin: 18px 0; padding: 14px; border: 2px dashed var(--border); border-radius: var(--r-sm); }
.bk-v-code small { display: block; color: var(--muted); }
.bk-v-code b { font-size: 2rem; letter-spacing: 3px; color: var(--ocean); }
.bk-v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 16px; }
.bk-v-grid small { display: block; color: var(--muted); font-size: .78rem; }
.bk-v-items { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bk-v-items td { padding: 6px 0; border-bottom: 1px solid #eef3f6; }
.bk-v-items td:last-child { text-align: right; }
.bk-v-items .tot td { font-weight: 700; }
.bk-v-items .bal td { font-weight: 700; color: var(--coral); }
.bk-v-meet { margin-top: 16px; background: var(--foam); padding: 12px; border-radius: var(--r-sm); }
.bk-v-policy { margin-top: 12px; color: var(--muted); }
.bk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 560px) { .bk-v-grid { grid-template-columns: 1fr; } .bk-voucher { padding: 18px; } }
@media print {
  #navbar, footer, .whatsapp-float, #preloader, .bk-noprint { display: none !important; }
  .bk-section { background: #fff; padding: 0; }
  .bk-card { box-shadow: none; border: 1px solid #ccc; }
}

/* Sin pasarela conectada: reservar por WhatsApp */
.bk-nopay p { background: #fff4e0; color: #8a5a00; border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 12px; }
.bk-online-btn { margin-bottom: 10px; }
