/* Shared colors and type are inherited from the existing gabinetmp.pl theme. */
.skip-link{position:fixed;top:10px;left:10px;z-index:100;transform:translateY(-160%);padding:12px 18px;border-radius:10px;background:var(--navy);color:#fff;font-weight:700}
.skip-link:focus{transform:translateY(0)}
.profile-page .page-shell{padding-top:18px}
.profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.profile-topbar .brand{justify-content:flex-start;margin:0;flex:0 1 265px}
.profile-topbar .brand img{width:100%;max-width:265px}
.profile-topbar .back-link{margin:0;padding:12px 0;white-space:nowrap;font-size:.94rem}
.profile-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.2fr);align-items:center;gap:clamp(30px,5vw,58px);margin:0 0 40px}
.profile-portrait{margin:0;min-width:0;align-self:stretch}
.profile-portrait img{display:block;width:100%;height:100%;min-height:445px;max-height:520px;aspect-ratio:4/5;object-fit:cover;object-position:center 16%;border-radius:26px;background:#eef9fa}
.profile-introduction{padding:15px 0}
.profile-introduction .eyebrow{font-size:.875rem;letter-spacing:.12em;margin-bottom:17px}
.profile-introduction h1{font-size:clamp(2.25rem,4.8vw,3.25rem);line-height:1.12;margin-bottom:23px;letter-spacing:-.04em}
.profile-introduction h1 small{display:block;margin-bottom:5px;font-size:1.12rem;line-height:1.4;font-weight:650;letter-spacing:0;color:var(--navy)}
.profile-lead{margin-bottom:15px;font-size:1.1rem;line-height:1.75;color:var(--ink)}
.profile-description{font-size:1rem;line-height:1.75;color:var(--muted);margin-bottom:0}
.profile-specialty{margin:-7px 0 20px;color:#087f87;font-size:1.02rem;font-weight:700;line-height:1.55}
.profile-specialty span{display:block}
.jadwiga-profile .profile-portrait,.estera-profile .profile-portrait{align-self:center;overflow:hidden;border-radius:26px}
.jadwiga-profile .profile-portrait{position:relative;aspect-ratio:4/5;max-height:520px}
/* Crop Jadwiga's portrait to her face and upper body, so her legs are outside the frame. */
.jadwiga-profile .profile-portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:center 20%;transform:scale(1.45);transform-origin:50% 0;border-radius:0}
.estera-profile .profile-portrait img{width:134%;max-width:none;object-position:left 14%;border-radius:0}
.barbara-profile .profile-portrait{overflow:hidden;border-radius:26px}
.barbara-profile .profile-portrait img{transform:scale(1.18);transform-origin:center 15%}
.profile-summary .summary-text p{margin:0;color:var(--ink);font-size:1.05rem;line-height:1.8}
.profile-summary .summary-text p+p{margin-top:13px}
.profile-care{margin:0 0 44px}
.profile-care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:23px}
.care-panel{padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 6px 24px rgba(16,55,104,.035)}
.care-panel:nth-child(2){background:#f4fbfc}
.care-panel h3{margin:0 0 20px;color:var(--deep);font-size:1.3rem;line-height:1.35;letter-spacing:-.02em}
.care-panel ul{margin:0;padding-left:20px;color:var(--muted);font-size:1rem;line-height:1.7}
.care-panel li+li{margin-top:11px}
.care-panel li::marker{color:var(--teal)}
.profile-footer-links{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:26px}
.profile-footer-links .back-link{margin:0}
.profile-price-link{font-size:.94rem;font-weight:700;color:#087f87;text-decoration:underline;text-underline-offset:4px}
.profile-introduction .actions{gap:10px;margin-top:25px}
.profile-introduction .button{padding:12px 16px;font-size:.94rem;gap:9px}
.button svg{width:20px;height:20px;flex-shrink:0}
.button.gradient{background:linear-gradient(125deg,var(--navy),var(--teal));border:0;box-shadow:0 7px 20px rgba(7,158,168,.14)}
.profile-note{margin:17px 0 0;font-size:.875rem;color:var(--muted);line-height:1.55}
.approach{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.7fr);gap:36px;align-items:start;margin:0 0 49px;padding:30px 33px;border-top:1px solid #cce9eb;border-bottom:1px solid #cce9eb;background:linear-gradient(110deg,#e7f7f8,#f5fcfc);border-radius:0 20px 20px 0}
.approach h2{margin:0;color:var(--navy);font-size:1.4rem;line-height:1.45;letter-spacing:-.025em}
.approach blockquote{margin:0;padding-left:24px;border-left:3px solid var(--teal)}
.approach blockquote p{margin:0;color:var(--ink);font-size:1.1rem;line-height:1.8}
.approach blockquote p::before{content:"„"}.approach blockquote p::after{content:"”"}
.approach cite{display:block;margin-top:14px;font-size:.875rem;font-style:normal;font-weight:700;color:#087f87}
.section-heading{margin-bottom:10px}
.section-heading .eyebrow{font-size:.875rem;letter-spacing:.08em;margin-bottom:8px}
.section-heading h2{font-size:1.85rem;color:var(--deep);line-height:1.25;letter-spacing:-.025em;margin:0 0 7px}
.experience-list{display:grid}
.experience-item{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.7fr);gap:42px;padding:27px 0;border-bottom:1px solid var(--line)}
.experience-label{display:flex;gap:13px;align-items:flex-start}
.experience-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;background:#e6f7f8;border-radius:11px;color:#087f87}
.experience-icon svg{width:21px;height:21px}
.experience-item h3{margin:4px 0 0;color:var(--deep);font-size:1.13rem;font-weight:700;line-height:1.45}
.experience-text p{margin:0;color:var(--muted);font-size:1rem;line-height:1.75}
.experience-text p+p{margin-top:9px}
.experience-text strong{font-weight:650;color:var(--ink)}
.personal-section{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:42px;margin:42px 0}
.personal-section h2{margin:0 0 18px;color:var(--deep);font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}
.personal-section p{margin:0;color:var(--muted);font-size:1rem;line-height:1.75}
.personal-section p+p{margin-top:12px}
.personal-section strong{color:var(--ink);font-weight:650}
.private{padding-left:30px;border-left:1px solid var(--line)}
.booking-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:30px;padding:28px 31px;border:1px solid #cce9eb;border-radius:23px;background:linear-gradient(120deg,#fff,#eaf9fa);box-shadow:0 7px 23px rgba(16,55,104,.045)}
.booking-panel h2{margin:0 0 8px;color:var(--deep);font-size:1.5rem;line-height:1.3;letter-spacing:-.02em}
.booking-panel p{margin:0;color:var(--muted);font-size:1rem;line-height:1.6}
.booking-panel p a{color:var(--navy);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.booking-panel .button{flex-shrink:0;gap:10px;min-height:53px}
.profile-bottom-link{margin:26px 0 0}
.profile-page footer{margin-top:30px}
.profile-page .dock-action{font-size:.8125rem;min-height:59px}
.profile-page .copyright,.profile-page .legal-links{font-size:.875rem}
.doctor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.doctor-card-link{display:flex;flex-direction:column;transition:border-color .18s,box-shadow .18s,transform .18s}
.doctor-card-link:hover{border-color:var(--teal);box-shadow:0 9px 28px rgba(7,158,168,.12);transform:translateY(-2px)}
.doctor-card-link .tag{align-self:flex-start}
.doctor-card-link .card-link-label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:19px;margin-top:auto;color:#08747d;font-size:.94rem;font-weight:750}
.card-link-label svg{width:19px;height:19px}
.doctor-card-link h2{color:var(--deep)}
@media(max-width:850px){
  .profile-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);gap:30px}
  .profile-introduction h1{font-size:2.65rem}
  .profile-portrait img{min-height:470px}
  .profile-introduction .actions{flex-direction:column;align-items:stretch}
  .approach{gap:26px;padding:27px}
  .experience-item{gap:27px;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}
  .personal-section{gap:29px}
}
@media(max-width:760px){
  .jadwiga-profile .profile-portrait,.estera-profile .profile-portrait{border-radius:22px}
  .barbara-profile .profile-portrait{border-radius:22px}
  .jadwiga-profile .profile-portrait{aspect-ratio:1/1;max-height:390px}
  .profile-care-grid{grid-template-columns:1fr;gap:16px;margin-top:19px}
  .care-panel{padding:25px 23px}
  .profile-care{margin-bottom:32px}
  .profile-specialty{font-size:1rem;margin:-5px 0 18px}
  .profile-summary .summary-text p{font-size:1rem;line-height:1.75}
  .profile-topbar{gap:15px;margin-bottom:24px;padding-bottom:13px}
  .profile-topbar .brand{flex-basis:230px}
  .profile-topbar .brand img{max-width:230px}
  .profile-topbar .back-link{font-size:.875rem}
  .profile-hero{display:flex;flex-direction:column;gap:23px;margin-bottom:28px}
  .profile-portrait{width:100%;max-width:390px;align-self:center}
  .profile-portrait img{width:100%;height:auto;min-height:0;max-height:390px;aspect-ratio:1/1;object-position:center 12%;border-radius:22px}
  .profile-introduction{width:100%;padding:0}
  .profile-introduction .eyebrow{margin-bottom:11px}
  .profile-introduction h1{font-size:clamp(2.2rem,8vw,3rem);margin-bottom:19px}
  .profile-introduction h1 small{display:inline;font-size:.48em;margin:0 7px 0 0}
  .profile-lead{font-size:1.075rem;line-height:1.7}
  .profile-introduction .actions{flex-direction:row;margin-top:22px}
  .profile-introduction .actions .button{flex:1;min-width:0}
  .approach{grid-template-columns:1fr;gap:17px;padding:25px 23px;margin-bottom:33px}
  .approach h2{font-size:1.25rem}
  .approach h2 br{display:none}
  .approach blockquote{padding-left:17px}
  .approach blockquote p{font-size:1.05rem;line-height:1.75}
  .section-heading h2{font-size:1.65rem}
  .experience-item{grid-template-columns:1fr;gap:15px;padding:23px 0}
  .experience-label{align-items:center;gap:12px}
  .experience-item h3{margin:0;font-size:1.13rem}
  .experience-text p{line-height:1.7}
  .personal-section{grid-template-columns:1fr;gap:27px;margin:30px 0}
  .personal-section h2{font-size:1.4rem;margin-bottom:14px}
  .private{padding:26px 0 0;border-left:0;border-top:1px solid var(--line)}
  .booking-panel{flex-direction:column;align-items:stretch;padding:24px;gap:19px}
  .booking-panel h2{font-size:1.4rem}
  .booking-panel .button{width:100%}
  .doctor-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .profile-topbar{gap:9px}.profile-topbar .brand{flex-basis:194px;max-width:62%}.profile-topbar .back-link{font-size:.875rem}
  .profile-introduction .actions{flex-direction:column}
  .profile-introduction h1{font-size:2.3rem}
  .profile-portrait img{max-height:320px}
  .profile-introduction .button{min-height:52px}
  .approach{padding:23px 19px}
}
@media(prefers-reduced-motion:reduce){.doctor-card-link{transition:none}.doctor-card-link:hover{transform:none}}
