/* Reservas · flujo de servicios con precio fijo */
.bk { max-width: 760px; margin: 0 auto 120px; }
.bk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 16px; }
.bk-tabs { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; gap: 2px; }
.bk-tabs button, .bk-seg button { border: 0; background: none; font: inherit; font-weight: 700; color: var(--quiet); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.bk-tabs button[aria-pressed="true"] { background: var(--card); color: var(--green); box-shadow: 0 1px 3px rgba(30,36,33,.12); }
.bk-seg { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--quiet); }
.bk-seg button { padding: 6px 10px; font-size: .85rem; border: 1px solid var(--line); background: var(--card); }
.bk-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bk h2.bk-title { font-size: clamp(30px, 6vw, 44px); line-height: 1.02; letter-spacing: -.035em; margin: 6px 0 6px; }
.bk h3 { font-size: 1.05rem; margin: 26px 0 12px; }
.bk-sub { color: var(--quiet); margin: 0 0 12px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.bk-tile { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-align: left; padding: 0; cursor: pointer; font: inherit; color: inherit; transition: transform .12s, box-shadow .12s; }
.bk-tile:hover { box-shadow: 0 8px 24px rgba(30,36,33,.08); }
.bk-tile:active { transform: scale(.98); }
.bk-tile span { display: block; padding: 10px 12px 12px; }
.bk-tile b { display: block; line-height: 1.2; }
.bk-tile small { color: var(--quiet); }
.bk-price { font-weight: 800; color: var(--green); }
.bk-ph { background: url(/paro-tareas.jpg) no-repeat; background-size: 310% 206%; aspect-ratio: 4 / 3; width: 100%; display: block; }
.bk-ph.portada { background: url(/paro-portada.jpg) center 30% / cover; }
.bk-ph.sq { aspect-ratio: 1; width: 64px; border-radius: 14px; flex: none; }
.bk-hero { border-radius: 24px; overflow: hidden; }
.bk-hero .bk-ph { aspect-ratio: 16 / 8; }
.bk-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--green); cursor: pointer; padding: 6px 0; }
.bk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.bk-fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.bk-fact small { display: block; color: var(--quiet); font-size: .78rem; }
.bk-list { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.bk-li { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.bk-li:last-child { border-bottom: 0; }
.bk-dot { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.bk-dot.proof { background: var(--orange); color: var(--ink); }
.bk-choice { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--card); border: 2px solid var(--line); border-radius: 16px; width: 100%; text-align: left; margin-bottom: 10px; font: inherit; color: inherit; cursor: pointer; }
.bk-choice[aria-pressed="true"] { border-color: var(--green); background: #f3f8f4; }
.bk-choice .r { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c2ba; flex: none; }
.bk-choice[aria-pressed="true"] .r { border: 6px solid var(--green); }
.bk-choice span { flex: 1; } .bk-choice small { display: block; color: var(--quiet); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip { border: 1px solid var(--line); background: var(--card); padding: 9px 14px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.bk-chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.bk-day { min-width: 64px; padding: 10px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-align: center; font: inherit; cursor: pointer; }
.bk-day small { display: block; font-size: .75rem; color: var(--quiet); } .bk-day b { font-size: 1.2rem; }
.bk-day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); } .bk-day[aria-pressed="true"] small { color: #cfd6d0; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.bk-slot { padding: 12px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font: inherit; font-weight: 700; cursor: pointer; }
.bk-slot small { display: block; font-weight: 500; font-size: .7rem; color: var(--quiet); }
.bk-slot[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); } .bk-slot[aria-pressed="true"] small { color: #d6e6dc; }
.bk-slot:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; background: #efeee8; }
.bk-asap { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: #fff3ee; border: 2px solid transparent; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.bk-asap[aria-pressed="true"] { border-color: var(--orange); }
.bk-asap:disabled { background: #efeee8; color: var(--quiet); cursor: default; }
.bk-bolt { width: 38px; height: 38px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; font-weight: 900; flex: none; }
.bk-asap:disabled .bk-bolt { background: #d9d8cf; }
.bk label.bk-f { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.bk input[type=text], .bk textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bk-sum { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.bk-sum .l { display: flex; justify-content: space-between; padding: 5px 0; color: var(--quiet); }
.bk-sum .l b { color: var(--ink); font-weight: 600; }
.bk-sum .tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.15rem; color: var(--ink); }
.bk-sum .tot b { font-weight: 900; }
.bk-note { font-size: .85rem; color: var(--quiet); margin: 10px 2px; }
.bk-bar { position: sticky; bottom: 0; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--canvas) 30%); margin-top: 18px; display: grid; gap: 8px; z-index: 3; }
.bk-cta { width: 100%; background: var(--green); color: #fff; font: inherit; font-weight: 800; font-size: 1.05rem; padding: 16px 18px; border-radius: 18px; border: 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(37,77,64,.25); }
.bk-cta:disabled { background: #e4e3da; color: #3d453f; box-shadow: none; cursor: not-allowed; } /* 7.7:1, legible: comunica qué falta */
.bk-cta.alt { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; justify-content: center; }
.bk-steps .st { display: flex; gap: 12px; padding: 8px 0; position: relative; }
.bk-steps .st:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 34px; bottom: -8px; width: 2px; background: var(--line); }
.bk-steps .c { width: 24px; height: 24px; border-radius: 50%; background: #e4e3da; flex: none; display: grid; place-items: center; font-size: .75rem; color: #fff; font-weight: 900; }
.bk-steps .done .c { background: var(--green); } .bk-steps .done:not(:last-child)::after { background: var(--green); }
.bk-steps .now .c { background: var(--orange); box-shadow: 0 0 0 6px rgba(255,128,87,.2); }
.bk-steps small { display: block; color: var(--quiet); }
.bk-pro { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.bk-av { width: 46px; height: 46px; border-radius: 50%; background: #2f6352; color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.bk-ev { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.bk-ev img, .bk-ev video, .bk-ev audio { width: 100%; border-radius: 14px; background: #e4e3da; }
.bk-ev img, .bk-ev video { aspect-ratio: 1; object-fit: cover; }
.bk-stars { display: flex; gap: 6px; }
.bk-stars button { font-size: 30px; color: #d9d8cf; border: 0; background: none; cursor: pointer; }
.bk-stars button.on { color: var(--orange); }
.bk-row { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; width: 100%; text-align: left; margin-bottom: 10px; font: inherit; color: inherit; cursor: pointer; }
.bk-tag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--mist); color: var(--green); white-space: nowrap; }
.bk-tag.o { background: #fff3ee; color: #b5532f; }
.bk-empty { color: var(--quiet); text-align: center; padding: 40px 10px; background: var(--card); border: 1px dashed var(--line); border-radius: 20px; }
.bk-ok { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 36px; margin: 10px auto; animation: bk-pop .35s ease; }
@keyframes bk-pop { from { transform: scale(.6); opacity: 0; } }
.bk-screen { animation: bk-in .25s ease; }
@keyframes bk-in { from { opacity: 0; transform: translateY(8px); } }
.bk-home-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: #fff; border-radius: 24px; padding: 20px 22px; margin: 18px 0; }
.bk-home-cta h2 { margin: 0 0 4px; font-size: 1.4rem; letter-spacing: -.02em; }
.bk-home-cta p { margin: 0; color: #cfd6d0; }
.bk-home-cta .button { background: var(--orange); color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .bk-facts { grid-template-columns: 1fr 1fr 1fr; } .bk-fact { padding: 8px; } .bk-home-cta { flex-direction: column; align-items: flex-start; } }
/* Con la pestaña Reservar hay 6 entradas: en pantallas chicas la navegación se desliza en una sola línea. */
@media (max-width: 560px) {
  .navigation { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; justify-content: flex-start !important; }
  .navigation::-webkit-scrollbar { display: none; }
  .navigation .nav-button { flex: none; }
}
/* Aviso de pendientes en la pestaña Reservar */
.nav-button[data-view="bookings"] { position: relative; }
.nav-button[data-view="bookings"][data-count]:not([data-count=""])::after { content: attr(data-count); display: inline-block; margin-left: 6px; vertical-align: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
p.bk-f { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; }
.bk-title:focus { outline: none; }
.bk-title:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
/* Siguiente paso: qué sigue y el total, siempre arriba del seguimiento */
.bk-next { display: grid; gap: 2px; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 16px; margin: 8px 0 14px; }
.bk-next small { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.bk-next b { font-size: 1.15rem; letter-spacing: -.01em; }
.bk-next span { color: #cfd6d0; font-size: .92rem; }
.bk-next em { font-style: normal; font-weight: 700; color: #e2ebe3; font-size: .85rem; margin-top: 4px; }
/* Carga, error y sin conexión */
.bk-loading { display: flex; align-items: center; gap: 6px; color: var(--quiet); padding: 28px 4px; }
.bk-loading i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: bk-dot 1s infinite ease-in-out; }
.bk-loading i:nth-child(2) { animation-delay: .15s; } .bk-loading i:nth-child(3) { animation-delay: .3s; }
.bk-loading span { margin-left: 6px; }
@keyframes bk-dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.bk-offline { background: #fff3ee; color: #b5532f; font-weight: 700; font-size: .85rem; border-radius: 12px; padding: 8px 12px; margin: 8px 0; }
.bk[aria-busy="true"] .bk-cta, .bk[aria-busy="true"] .bk-slot, .bk[aria-busy="true"] .bk-tile { opacity: .6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .bk-loading i, .bk-screen, .bk-ok { animation: none; } }
/* Acción secundaria como enlace: una sola acción principal por pantalla */
.bk-link { border: 0; background: none; font: inherit; font-weight: 700; color: var(--green); padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-count { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--mist); color: var(--green); font-size: .78rem; text-align: center; margin-left: 4px; }
.bk-group { margin-top: 22px; }
.bk-group summary { font-weight: 700; cursor: pointer; padding: 6px 0 12px; }
/* Objetivos táctiles de al menos 44 px (WCAG 2.5.5 / guías iOS y Android) */
.bk-tabs button, .bk-back, .bk-link { min-height: 44px; }
.bk-back, .bk-link { display: inline-flex; align-items: center; }
/* Resumen de quien atiende */
.bk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 2px; }
.bk-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.bk-stats small { display: block; color: var(--quiet); font-size: .78rem; }
.bk-stats b { font-size: 1.05rem; }
/* Disponibilidad propia para servicios */
.bk-avail { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 8px 0 12px; }
.bk-avail small { display: block; color: var(--quiet); font-size: .85rem; margin-top: 2px; }
.bk-switch { flex: none; width: 56px; height: 34px; min-height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.bk-switch i { position: relative; display: block; width: 56px; height: 34px; border-radius: 17px; background: #c9cec7; transition: background .15s; }
.bk-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.bk-switch[aria-checked="true"] i { background: var(--green); }
.bk-switch[aria-checked="true"] i::after { transform: translateX(22px); }
.bk-switch:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 20px; }

.bk select { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.bk details { margin-top: 18px; }
.bk details summary { cursor: pointer; padding: 8px 0; font-weight: 650; }
.bk-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.bk-reference-preview { display: block; max-width: min(100%, 260px); max-height: 200px; border-radius: 12px; }
