/* ── O nás a profil makléra ── */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 20px; }
.person { display: flex; flex-direction: column; gap: 16px; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--line); }
.person-photo .ph { position: absolute; inset: 0; background: linear-gradient(160deg, #d9d9e0, #ededf2); transition: transform .8s var(--ease); }
.person:hover .person-photo .ph { transform: scale(1.05); }
.person-photo .tag { position: absolute; left: 16px; bottom: 16px; }
.person-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.person-focus { font-size: 15px; color: var(--muted); margin-top: 4px; }
.person-actions { display: flex; gap: 8px; margin-top: 14px; }
.person-actions a { width: 44px; height: 44px; border-radius: 999px; background: var(--mist); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
.person-actions a:hover { background: var(--blue); color: var(--white); }
.career { aspect-ratio: 4 / 5; border-radius: 24px; background: var(--blue); color: var(--white); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .4s var(--ease); }
.career:hover { color: var(--white); transform: translateY(-6px); }
.career-title { font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.career-more { margin-top: 16px; font-size: 15px; font-weight: 600; }

.person-photo { display: block; }
.person-name a { color: inherit; text-decoration: none; }
.person-name a:hover { color: var(--blue); }
.person-actions .person-more { width: auto; padding: 0 16px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Kariéra – krátky dotazník */
.career-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; border-radius: 32px; background: var(--ink); color: var(--white); padding: 48px; }
.career-copy p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 460px; }
.career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.input--area { height: auto; padding: 14px 18px; resize: vertical; font: inherit; font-size: 16px; }
.career-consent { font-size: 13px; color: var(--muted); }
.career-form .pill { align-self: flex-start; }

/* Profil makléra */
.story { display: flex; flex-direction: column; }
.story-img { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; margin-bottom: 16px; }
.story-img .tag { position: absolute; top: 16px; left: 16px; }
.story-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.story-quote { margin-top: 12px; font-weight: 500; font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.story-quote span { font-family: 'Inter Tight', sans-serif; font-style: normal; font-size: 14px; color: var(--muted); }
.page-hero--profile .page-hero-aside { width: 440px; }
.profile-card { display: flex; align-items: center; gap: 16px; }
.profile-photo { position: relative; width: 132px; flex: none; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #2a2a33; }
.profile-contact { flex: 1; min-width: 0; }
.profile-photo .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted-dark); }
.profile-contact { display: grid; gap: 8px; }
.profile-contact .pill { justify-content: center; gap: 8px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-bio { max-width: 900px; }
.profile-bio-text { margin-top: 24px; font-size: 18px; line-height: 1.7; color: #2a2a33; }
.profile-bio-text p + p { margin-top: 14px; }

.office { display: flex; flex-wrap: wrap; gap: 20px; }
.office-info { flex: 1 1 380px; border-radius: 28px; background: var(--mist); padding: 40px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.7; }
.office-title { font-size: clamp(36px, 4vw, 56px); }
.office-label { color: var(--muted); font-size: 14px; }
.office-map { flex: 1.6 1 520px; min-height: 420px; border-radius: 28px; position: relative; overflow: hidden; }

@media (max-width: 860px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .person { gap: 10px; }
  .person-photo { border-radius: 18px; }
  .person-photo .tag { left: 8px; bottom: 8px; font-size: 11px; padding: 5px 10px; }
  .person-name { font-size: 16px; }
  .person-focus { font-size: 13px; }
  .person-actions { margin-top: 8px; }
  .career { border-radius: 18px; padding: 18px; }
  .career-title { font-size: 22px; }
  .career-more { font-size: 14px; }

  .person-actions .person-more { display: none; }
  .career-box { grid-template-columns: 1fr; gap: 24px; padding: 24px; border-radius: 24px; }
  .career-copy p { font-size: 15px; }
  .career-grid { grid-template-columns: 1fr; }
  .career-form .pill { align-self: stretch; justify-content: center; }
  .page-hero--profile .page-hero-aside { width: auto; }
  .profile-photo { width: 96px; border-radius: 14px; }
  .profile-bio-text { font-size: 16px; margin-top: 16px; }

  .office { flex-direction: column; gap: 12px; }
  .office-info { flex: none; padding: 24px; border-radius: 24px; font-size: 15px; gap: 14px; }
  .office-map { flex: none; min-height: 260px; border-radius: 24px; }
}
.office-map--gl { background: #ededf2; }
