/* Doplňky kancelářské microsite */

.office-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--sky);
  font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.office-contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px;
  margin-top: 40px; align-items: stretch;
}
.office-map {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  box-shadow: var(--shadow); background: var(--dark-blue);
}
.office-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.office-facts { display: grid; gap: 16px; }
.office-fact {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px;
}
.office-fact .k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.office-fact .v { font-weight: 700; color: var(--dark-blue); font-size: 1.05rem; margin-top: 6px; }
.office-fact a { color: var(--blue); text-decoration: none; }
.office-fact a:hover { text-decoration: underline; }

#chtit .lead a { color: var(--blue); font-weight: 700; }

/* Pop-up s detailem persony (původně stránka pro-koho.html) */
.persona-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.persona-modal.open { display: block; }
.persona-modal .pm-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 14, 53, .78);
}
.persona-modal .pm-dialog {
  position: relative;
  margin: 6vh auto;
  width: min(1040px, calc(100vw - 64px));
  background: var(--dark-blue);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 2px 8px rgba(0, 14, 53, .18),
    0 18px 40px rgba(0, 14, 53, .35),
    0 48px 90px rgba(0, 14, 53, .45);
  text-align: left;
}
.persona-modal .pm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.persona-modal .pm-close:hover { background: var(--red); transform: rotate(90deg); }
.persona-modal .persona-detail.open { display: block; }
.persona-modal .persona-detail .case-study {
  margin-top: 0;
  background: transparent;
  box-shadow: none;
  align-items: start;
  padding: 44px 44px 44px 64px;
}
.persona-modal .disclaimer {
  color: rgba(255,255,255,.55);
  text-align: left;
  padding: 0 44px 22px 64px;
  margin: 0;
}
body.persona-open { overflow: hidden; }

@media (max-width: 960px) {
  .office-contact-grid { grid-template-columns: 1fr; }
  .persona-modal .pm-dialog { width: calc(100vw - 28px); margin: 4vh auto; }
  .persona-modal .persona-detail .case-study { padding: 26px 26px 26px 28px; }
  .persona-modal .disclaimer { padding: 0 26px 18px 28px; }
}
