/* Pagina de reservas /agenda — usa los temas de skin2.css (--bg, --fg, --acc, --inv) */

.step[data-step="pick"] { padding-bottom: 36px; }
.step[data-step="fallback"] { justify-content: flex-start; align-items: stretch; text-align: left; }

.bk-hero { margin-top: 5vh; }
.bk-title {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(3rem, 15vw, 5.2rem);
  line-height: 0.95; letter-spacing: -0.04em;
  color: var(--fg); margin: 0;
}
.bk-sub { color: var(--fg); opacity: 0.75; font-size: 0.98rem; line-height: 1.6; max-width: 26em; margin: 18px 0 0; }

.bk-block { margin-top: 30px; }
.bk-label {
  font-family: var(--disp); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 12px;
}

/* Dias */
.bk-days-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bk-month { font-family: var(--disp); font-weight: 700; color: var(--fg); font-size: 1rem; text-transform: capitalize; }
.bk-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--fg) 40%, transparent);
  background: transparent; color: var(--fg);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.bk-arrow:disabled { opacity: 0.25; cursor: default; }

.bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bk-day {
  border: 1.5px solid color-mix(in srgb, var(--fg) 30%, transparent);
  background: transparent; color: var(--fg);
  border-radius: 14px; padding: 10px 0 9px; cursor: pointer;
  font-family: var(--disp);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.bk-day .dow { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.bk-day .num { font-size: 1.15rem; font-weight: 800; }
.bk-day:hover:not(:disabled) { background: color-mix(in srgb, var(--fg) 12%, transparent); }
.bk-day:active:not(:disabled) { transform: scale(0.95); }
.bk-day.sel { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.bk-day.sel .dow { opacity: 0.8; }
.bk-day:disabled { opacity: 0.28; cursor: default; border-style: dashed; }

/* Horas */
.bk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-height: 52px; }
.bk-time {
  border: 1.5px solid color-mix(in srgb, var(--fg) 40%, transparent);
  background: transparent; color: var(--fg);
  border-radius: 999px; padding: 13px 0;
  font-family: var(--disp); font-weight: 700; font-size: 0.98rem; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.bk-time:hover { background: var(--fg); color: var(--inv); }
.bk-time:active { transform: scale(0.96); }
.bk-empty { grid-column: 1 / -1; color: var(--fg); opacity: 0.7; font-size: 0.92rem; padding: 12px 0; }
.bk-note { font-size: 0.78rem; color: var(--fg); opacity: 0.6; margin: 16px 0 0; line-height: 1.5; }

/* Formulario */
.bk-summary { font-size: clamp(1.5rem, 6.6vw, 2.2rem); margin-bottom: 26px; }
.bk-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-error { display: none; margin: 4px 0 14px; }
.bk-error.visible { display: block; }
.bk-link { background: none; border: 0; padding: 0; color: var(--fg); font-family: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Listo */
.bk-when { font-family: var(--disp); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--fg); margin: 0 0 8px; }
.step[data-step="done"] .check-pop { background: var(--fg); }
.step[data-step="done"] .check-pop svg { color: var(--inv); }
.step[data-step="done"] .thanks-sub { max-width: 28em; }
.bk-fallback-actions { margin-top: 34px; }

@media (max-width: 340px) {
  .bk-times { grid-template-columns: repeat(2, 1fr); }
  .bk-days { gap: 4px; }
}

/* Calendario de Google incrustado en la misma pagina */
.step[data-step="google"] { padding-bottom: 36px; }
.bk-embed {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1.5px solid color-mix(in srgb, var(--fg) 22%, transparent);
  box-shadow: 0 14px 40px rgba(32, 64, 46, 0.14);
}
.bk-embed iframe { display: block; width: 100%; height: 780px; border: 0; }
@media (min-width: 640px) { .bk-embed iframe { height: 720px; } }

/* Pantalla del calendario: fondo verde, formas que flotan y tarjeta blanca que "salta" */
.step[data-step="google"] > *:not(.bk-deco) { position: relative; z-index: 1; }
.bk-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bk-deco i { position: absolute; border-radius: 50%; will-change: transform; }
.bk-deco .d1 { width: 420px; height: 420px; top: -170px; right: -190px; background: var(--brand-grad); animation: fxDrift 18s ease-in-out infinite alternate; }
.bk-deco .d2 { width: 300px; height: 300px; top: 150px; left: -190px; border: 2px solid rgba(255, 243, 218, 0.35); animation: fxDrift 22s ease-in-out infinite alternate-reverse; }
.bk-g-title { font-size: clamp(2.3rem, 11vw, 3.6rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 18px; }
.bk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.bk-chips li {
  font-family: var(--disp); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid rgba(255, 243, 218, 0.55); border-radius: 999px; padding: 7px 13px; color: var(--fg);
}
.step[data-step="google"] .bk-embed { border: 0; border-radius: 28px; box-shadow: 0 24px 60px rgba(8, 20, 12, 0.45); }
.step[data-step="google"] .bk-note { opacity: 0.85; }
.step[data-step="google"] .bk-link { color: var(--fg); }

/* Enlace al FEARLESS (se vuelve naranja al pasar el mouse) */
.bk-alt { margin: 18px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--fg); opacity: 0.9; }
.bk-alt a { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.bk-alt a:hover, .bk-alt a:focus-visible, .bk-alt a:active { color: var(--acc); }
