/* =========================================
   TEAM PROFILE — wspólny styl profili specjalistów
   ========================================= */

.profile-page{
  background:#f7f8f6;
}

.profile-hero{
  padding:118px 0 84px;
  background:#153a32;
  color:#fff;
}

.profile-hero-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:72px;
  align-items:center;
}

.profile-photo{
  min-height:560px;
  border-radius:28px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.01)),
    #28483f;
  display:flex;
  align-items:flex-end;
  padding:32px;
  overflow:hidden;
}

.profile-photo-label{
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62);
}

.profile-copy .eyebrow{
  color:#a9c0b6;
}

.profile-copy h1{
  margin:0 0 14px;
  font-size:clamp(3.6rem,6.2vw,6.3rem);
  line-height:.9;
  letter-spacing:-.05em;
}

.profile-role{
  margin:0 0 24px;
  font-size:1.15rem;
  color:#c7d6d0;
}

.profile-lead{
  max-width:680px;
  font-size:1.08rem;
  line-height:1.75;
  color:rgba(255,255,255,.78);
}

.profile-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:30px;
}

.profile-meta div{
  padding:16px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
}

.profile-meta span{
  display:block;
  margin-bottom:4px;
  font-size:.66rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#9fb3aa;
}

.profile-meta strong{
  font-size:.88rem;
}

.profile-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.profile-actions .btn-light{
  background:#fff;
  color:#153a32;
  border-color:#fff;
}

.profile-actions .btn-ghost-light{
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  background:transparent;
}

.profile-content{
  padding:86px 0 100px;
}

.profile-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:70px;
  align-items:start;
}

.profile-main section{
  padding:0 0 44px;
  margin-bottom:44px;
  border-bottom:1px solid rgba(20,35,29,.1);
}

.profile-main section:last-child{
  border-bottom:0;
}

.profile-main h2{
  margin:0 0 16px;
  font-size:clamp(1.9rem,3vw,2.8rem);
  line-height:1.05;
}

.profile-main p,
.profile-main li{
  color:#56615c;
  line-height:1.75;
}

.profile-main ul{
  padding-left:1.2rem;
}

.profile-main li{
  margin-bottom:8px;
}

.profile-sidebar{
  position:sticky;
  top:100px;
}

.profile-booking{
  padding:26px;
  border-radius:20px;
  background:#eef2ee;
  border:1px solid rgba(20,35,29,.08);
}

.profile-booking .eyebrow{
  margin-bottom:8px;
}

.profile-booking h3{
  margin:0 0 10px;
  font-size:1.6rem;
}

.profile-booking p{
  color:#616c66;
  line-height:1.65;
}

.profile-booking .btn{
  width:100%;
  margin-top:12px;
}

.profile-back{
  display:inline-block;
  margin-top:16px;
  font-size:.82rem;
  text-decoration:underline;
  text-underline-offset:4px;
}

.profile-strip{
  padding:64px 0;
  background:#eef2ee;
}

.profile-strip-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.profile-strip article{
  padding:24px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(20,35,29,.08);
}

.profile-strip span{
  display:block;
  margin-bottom:34px;
  font-size:.7rem;
  color:#8b948f;
}

.profile-strip h3{
  margin:0 0 8px;
  font-size:1.2rem;
}

.profile-strip p{
  margin:0;
  color:#65706a;
  line-height:1.6;
}

@media(max-width:900px){
  .profile-hero-grid,
  .profile-content-grid{
    grid-template-columns:1fr;
  }

  .profile-photo{
    min-height:420px;
  }

  .profile-sidebar{
    position:static;
  }

  .profile-strip-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .profile-hero{
    padding:92px 0 64px;
  }

  .profile-copy h1{
    font-size:clamp(3rem,15vw,4.5rem);
  }

  .profile-meta{
    grid-template-columns:1fr;
  }

  .profile-actions{
    flex-direction:column;
  }

  .profile-actions .btn{
    width:100%;
  }

  .profile-photo{
    min-height:320px;
  }

  .profile-content{
    padding:64px 0 76px;
  }
}

.profile-photo{
  min-height:560px;
  border-radius:28px;
  overflow:hidden;
  background:#28483f;
}

.profile-photo-img{
  width:100%;
  height:100%;
  min-height:560px;
  display:block;
  object-fit:cover;
  object-position:center top;
}

@media(max-width:900px){
  .profile-photo,
  .profile-photo-img{
    min-height:420px;
  }
}

@media(max-width:600px){
  .profile-photo,
  .profile-photo-img{
    min-height:320px;
  }
}

/* Poprawa kontrastu w hero profilu specjalisty */

.profile-copy h1{
  color:#f5f2e9;
}

.profile-role{
  color:#d7e2dc;
}

.profile-lead{
  color:rgba(255,255,255,.82);
}
