/* ═══════════════════════════════════════════════════════════════
   BOOKING PAGE — /umow-wizyte/ — iGabinet embed
═══════════════════════════════════════════════════════════════ */

.bk-page {
  background: var(--bg);
  min-height: 100vh;
}

/* ─── HEADER ─── */
.bk-header {
  background:
    radial-gradient(circle at 20% 0%, var(--mag-w) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  padding: clamp(20px, 3vw, 32px) var(--px) clamp(24px, 4vw, 48px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.bk-header-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* Breadcrumbs */
.bk-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: clamp(20px, 3vw, 32px);
  flex-wrap: wrap;
}
.bk-breadcrumbs a {
  color: var(--slate);
  text-decoration: none;
  transition: color .15s var(--eo);
}
.bk-breadcrumbs a:hover { color: var(--mag); }
.bk-breadcrumbs i { font-size: 14px; opacity: 0.5; }
.bk-breadcrumbs strong { color: var(--mag); font-weight: 600; }

/* Hero */
.bk-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 768px) {
  .bk-hero { grid-template-columns: 1fr; gap: 24px; }
}

.bk-hero-text { min-width: 0; }
.bk-h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.bk-service-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d) 100%);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--f-ui);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(223, 59, 163, 0.28);
  animation: bkFadeIn .5s var(--spring);
}
@keyframes bkFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bk-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 620px;
}
.bk-sub b { color: var(--ink); }

.bk-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bk-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform .2s var(--spring), box-shadow .2s var(--eo);
}
.bk-meta-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: var(--mag);
}
.bk-meta-chip i { color: var(--mag); font-size: 16px; }
.bk-meta-chip-online { color: var(--slate); cursor: default; }
.bk-meta-chip-online:hover { transform: none; color: var(--slate); }
.bk-online-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: bkPulse 2s infinite var(--eo);
}
@keyframes bkPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Trust panel */
.bk-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 22px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.bk-trust li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bk-trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mag-w);
  color: var(--mag);
  border-radius: 12px;
  font-size: 20px;
}
.bk-trust div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bk-trust b {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.bk-trust span {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 1px;
}

/* ─── IFRAME ─── */
.bk-iframe-wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 56px);
  padding: 0 var(--px);
}
.bk-iframe {
  width: 100%;
  height: clamp(700px, 80vh, 1100px);
  border: none;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(223, 59, 163, 0.06);
  display: block;
}
@media (max-width: 768px) {
  .bk-iframe { height: 75vh; min-height: 600px; border-radius: 12px; }
}

/* Loading overlay */
.bk-iframe-loading {
  position: absolute;
  inset: 0 var(--px);
  background: var(--white);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1;
  transition: opacity .4s var(--eo);
  pointer-events: none;
}
.bk-iframe-loading p {
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}
.bk-iframe-loading.bk-loaded {
  opacity: 0;
  pointer-events: none;
}

/* Fallback gdy iframe blokuje X-Frame-Options */
.bk-iframe-fallback {
  position: absolute;
  inset: 0 var(--px);
  background: var(--white);
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  text-align: center;
  z-index: 2;
}
.bk-iframe-fallback i {
  font-size: 48px;
  color: var(--mag);
}
.bk-iframe-fallback h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink);
  margin: 0;
}
.bk-iframe-fallback p {
  color: var(--slate);
  margin: 0 0 6px;
}
.bk-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--mag-w);
  border-top-color: var(--mag);
  border-radius: 50%;
  animation: bkSpin .9s linear infinite;
}
@keyframes bkSpin { to { transform: rotate(360deg); } }

/* ─── HELP CTA ─── */
.bk-help {
  padding: clamp(28px, 4vw, 48px) var(--px);
  background:
    radial-gradient(circle at 80% 100%, var(--mag-w) 0%, transparent 50%),
    var(--bg);
}
.bk-help-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.bk-help-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.bk-help-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--slate);
  margin: 0 0 20px;
  line-height: 1.55;
}
.bk-help-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.bk-help-actions .btn-p,
.bk-help-actions .btn-s {
  padding: 12px 22px;
  font-size: 15px;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .bk-meta-chip, .bk-service-tag, .bk-online-dot, .bk-spinner {
    animation: none !important;
    transition: none !important;
  }
  .bk-meta-chip:hover { transform: none; }
}
