/* Firemné portfólio – listovacia kniha (StPageFlip). Všetko pod predponou pf-, aby sa nebilo so štýlmi webu. */
.pf-section { background: #1a1a1a; padding: 34px 0 30px; color: #fff; }
.pf-section:fullscreen { display: flex; flex-direction: column; justify-content: center; padding: 16px 0; }
.pf-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pf-stage { margin: 0 auto; min-height: 320px; }
.pf-stage.pf-single { filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5)); }
.pf-book { margin: 0 auto; transition: transform 0.45s ease; }
.pf-stage.pf-cover .pf-book { transform: translateX(-25%); }
.pf-stage.pf-back .pf-book { transform: translateX(25%); }
.pf-page { background: #111; overflow: hidden; }
.pf-page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pf-hint { display: flex; align-items: center; justify-content: center; min-height: 320px; color: rgba(255, 255, 255, 0.45); font: 400 15px/1.5 'Roboto', sans-serif; text-align: center; }

.pf-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1100px; margin: 22px auto 0; font-family: 'Poppins', 'Roboto', sans-serif; }
.pf-bar-side { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.pf-bar-side.pf-right { justify-content: flex-end; }
.pf-nav { display: flex; align-items: center; gap: 14px; flex: none; }
.pf-count { min-width: 96px; text-align: center; font-size: 14px; font-weight: 500; letter-spacing: 0.3px; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 2px; background: transparent; color: #fff; font: 500 13px/1 'Poppins', 'Roboto', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.pf-btn:hover, .pf-btn:focus { background: #ee4035; border-color: #ee4035; color: #fff; text-decoration: none; outline: none; }
.pf-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pf-btn[disabled] { opacity: 0.3; cursor: default; background: transparent; border-color: rgba(255, 255, 255, 0.22); }
.pf-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-lang { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; padding: 0; border: 1px solid transparent; border-radius: 2px; background: transparent; cursor: pointer; opacity: 0.5; transition: opacity 0.15s, border-color 0.15s; }
.pf-lang:hover, .pf-lang:focus { opacity: 1; outline: none; }
.pf-lang:focus-visible { border-color: #fff; }
.pf-lang.pf-on { opacity: 1; border-color: rgba(255, 255, 255, 0.45); }
.pf-lang svg { display: block; width: 30px; height: 20px; }

/* okno s výberom jazyka */
.pf-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 10, 0.72); }
.pf-modal.pf-open { display: flex; }
.pf-window { position: relative; width: 100%; max-width: 560px; padding: 34px 34px 38px; background: #fff; border-top: 4px solid #ee4035; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); text-align: center; animation: pf-in 0.22s ease-out; }
@keyframes pf-in { from { opacity: 0; transform: translateY(10px); } }
.pf-window:focus { outline: none; }
.pf-window h3 { margin: 0 0 4px; font: 600 22px/1.3 'Poppins', sans-serif; color: #1a1a1a; text-transform: uppercase; letter-spacing: 0.5px; }
.pf-window p { margin: 0 0 26px; font: 400 14px/1.5 'Roboto', sans-serif; color: #777; }
.pf-close { position: absolute; top: 6px; right: 8px; width: 36px; height: 36px; border: 0; background: none; color: #999; font-size: 26px; line-height: 1; cursor: pointer; }
.pf-close:hover, .pf-close:focus { color: #1a1a1a; outline: none; }
.pf-choices { display: flex; gap: 18px; justify-content: center; }
.pf-choice { flex: 1 1 0; max-width: 220px; padding: 18px 14px 16px; border: 1px solid #ddd; border-radius: 2px; background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.pf-choice:hover, .pf-choice:focus { border-color: #ee4035; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12); transform: translateY(-2px); outline: none; }
.pf-choice svg { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.pf-choice span { display: block; margin-top: 14px; font: 600 15px/1.2 'Poppins', sans-serif; color: #1a1a1a; text-transform: uppercase; letter-spacing: 0.6px; }
.pf-choice small { display: block; margin-top: 3px; font: 400 12.5px/1.3 'Roboto', sans-serif; color: #888; }

@media (max-width: 767px) {
  .pf-section { padding: 20px 0 22px; }
  .pf-bar { flex-wrap: wrap; justify-content: center; }
  .pf-bar-side { flex: 1 1 40%; }
  .pf-nav { order: -1; flex: 1 1 100%; justify-content: center; margin-bottom: 6px; }
  .pf-btn .pf-label { display: none; }
  .pf-window { padding: 30px 18px 24px; }
  .pf-choices { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-window { animation: none; }
  .pf-choice, .pf-btn, .pf-lang, .pf-book { transition: none; }
}
