/* Prywatna Praktyka Lekarska prof. dr hab. med. Paweł Hrycaj */
/* Kroje pisma serwowane z tego serwera — bez kontaktu z Google */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-display:swap;font-weight:300 700;
  src:url(/fonts/cormorant-latin-ext.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-display:swap;font-weight:300 700;
  src:url(/fonts/cormorant-latin.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:normal;font-display:swap;font-weight:100 1000;
  src:url(/fonts/dmsans-latin-ext.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-style:normal;font-display:swap;font-weight:100 1000;
  src:url(/fonts/dmsans-latin.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#fff; --fg:hsl(150 30% 10%); --muted:hsl(0 0% 35%); --border:hsl(150 18% 82%);
  --g50:hsl(145 25% 96%); --g100:hsl(145 22% 90%); --g200:hsl(145 22% 78%);
  --g300:hsl(145 22% 65%); --g400:hsl(148 24% 48%); --g500:hsl(150 28% 38%);
  --g600:hsl(150 35% 28%); --g700:hsl(150 38% 22%); --g800:hsl(150 40% 16%); --g900:hsl(150 35% 10%);
  --display:'Cormorant Garamond',Georgia,serif;
  --body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --radius:.75rem;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-weight:400;font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,h4{font-family:var(--display);margin:0}
p{margin:0}
img{max-width:100%;display:block}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}
.wrap{max-width:1200px;margin:0 auto}
.skip{position:absolute;left:-9999px}
.skip:focus{left:.5rem;top:.5rem;z-index:100;background:var(--g800);color:#fff;padding:.6rem 1rem;border-radius:.5rem}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto 0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(20px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 1rem;display:flex;align-items:center;justify-content:space-between;height:72px;gap:1rem}
.brand{font-family:var(--display);font-size:1.125rem;font-weight:600;color:var(--g800);line-height:1.2;text-decoration:none}
.brand span{display:block;font-family:var(--body);font-size:.7rem;font-weight:400;color:var(--muted);letter-spacing:.1em;text-transform:uppercase}
.nav-links{display:none;gap:.125rem}
.nav-links a{font-size:.8rem;padding:.5rem .75rem;border-radius:.375rem;text-decoration:none;color:var(--muted);transition:all .2s}
.nav-links a:hover{color:var(--g700);background:var(--g50)}
.nav-links a[aria-current=page]{color:var(--g700);background:var(--g50)}
.burger{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;border:0;background:none;color:var(--muted);border-radius:.375rem;cursor:pointer}
.burger:hover{color:var(--g700);background:var(--g50)}
.mobile-menu{border-top:1px solid var(--border);background:#fff;padding:.5rem 1rem 1rem}
.mobile-menu a{display:block;font-size:.875rem;padding:.625rem .75rem;border-radius:.375rem;text-decoration:none;color:var(--muted)}
.mobile-menu a:hover{color:var(--g700);background:var(--g50)}
.mobile-menu a[aria-current=page]{color:var(--g700);background:var(--g50);font-weight:500}
@media(min-width:768px){
  .nav-inner{padding:0 2rem}
  .nav-links{display:flex}
  .burger{display:none}
  .mobile-menu{display:none!important}
}

/* ---------- layout ---------- */
main{padding-top:72px;min-height:60vh}
.section{padding:2.5rem 1rem}
.section.tint{background:var(--g50)}
@media(min-width:768px){.section{padding:4rem 2rem}}
@media(min-width:1024px){.section{padding:6rem 2rem}}
.eyebrow{font-size:.7rem;font-weight:500;text-transform:uppercase;letter-spacing:.2em;color:var(--g500);margin-bottom:.75rem}
.eyebrow.rule{display:flex;align-items:center;gap:.75rem;letter-spacing:.18em;color:var(--g600);margin-bottom:1rem}
.eyebrow.rule::before{content:"";width:2rem;height:1px;background:var(--g400)}
h1.title{font-size:1.5rem;font-weight:500;color:var(--g900);line-height:1.15;letter-spacing:-.02em;margin-bottom:1.25rem}
h2.title{font-size:1.5rem;font-weight:500;color:var(--g900);letter-spacing:-.02em;margin-bottom:.75rem}
.lead{font-size:.875rem;color:var(--muted);max-width:36rem;line-height:1.65}
@media(min-width:640px){h1.title,h2.title{font-size:1.875rem}.lead{font-size:1rem}}
@media(min-width:768px){h1.title{font-size:3rem;margin-bottom:1.5rem}h2.title{font-size:2.25rem}}

/* ---------- home ---------- */
.stats{display:flex;gap:1rem;margin:.5rem 0 2.5rem;font-size:.875rem;color:var(--muted);flex-wrap:wrap}
.stats strong{font-family:var(--display);font-size:1.25rem;color:var(--g700)}
@media(min-width:640px){.stats{gap:1.5rem}.stats strong{font-size:1.5rem}}
@media(min-width:768px){.stats{margin-bottom:4rem}}
.tiles{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:640px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.tiles{grid-template-columns:repeat(3,1fr);gap:1.5rem}}
.tile{display:block;background:var(--g50);border:2px solid var(--g200);border-radius:var(--radius);padding:1.5rem;text-decoration:none;box-shadow:0 4px 6px -1px rgb(0 0 0/.08);transition:all .3s}
.tile:hover{background:#fff;border-color:var(--g400);box-shadow:0 20px 25px -5px rgb(0 0 0/.1);transform:translateY(-4px)}
@media(min-width:768px){.tile{padding:2rem}}
.tile-icon{width:2.75rem;height:2.75rem;background:var(--g200);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;transition:background .3s}
.tile:hover .tile-icon{background:var(--g300)}
.tile h3{font-size:1.125rem;font-weight:600;color:var(--g800);margin-bottom:.5rem}
.tile p{font-size:.875rem;color:var(--muted);line-height:1.6}
.tile .more{display:inline-block;margin-top:1rem;font-size:.75rem;font-weight:500;color:var(--g600)}

/* ---------- generic pieces ---------- */
.card{background:#fff;border:1px solid var(--g100);border-radius:var(--radius);padding:1.25rem}
.card.tint{background:var(--g50)}
.card.ring{border:1px solid var(--g200)}
@media(min-width:768px){.card{padding:2rem}}
.card h4{font-size:1.125rem;font-weight:600;color:var(--g800);margin-bottom:1rem}
.card h3{font-size:1.125rem;font-weight:600;color:var(--g800);margin-bottom:1rem}
.prose p{font-size:.9rem;color:var(--muted);line-height:1.75;text-align:justify}
.prose p+p{margin-top:1rem}
@media(min-width:640px){.prose p{font-size:.95rem}}
.rule{height:1px;background:var(--g100);margin:1rem 0}
.sub{font-size:.78rem;font-weight:500;text-transform:uppercase;letter-spacing:.1em;color:var(--g600);margin-bottom:.5rem}

/* portrait */
.bio{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2.5rem}
.portrait{width:100%;max-width:220px;margin:0 auto;flex-shrink:0}
.portrait .frame{border-radius:var(--radius);overflow:hidden;border:2px solid var(--g200);box-shadow:0 10px 15px -3px rgb(0 0 0/.1)}
.portrait figcaption{text-align:center;margin-top:.75rem;font-family:var(--display);font-size:1.125rem;font-weight:600;color:var(--g800)}
.portrait figcaption small{display:block;font-family:var(--body);font-size:.75rem;font-weight:400;color:var(--muted)}
@media(min-width:768px){.bio{flex-direction:row;align-items:flex-start;gap:2rem;margin-bottom:3rem}.portrait{margin:0}}

/* team */
.team-grid{display:grid;grid-template-columns:1fr;gap:0 2rem}
@media(min-width:768px){.team-grid{grid-template-columns:repeat(2,1fr)}}
.member{display:flex;align-items:center;gap:.75rem;padding:.625rem 0;border-bottom:1px solid var(--g50)}
.member:last-child{border-bottom:0}
.avatar{width:2.25rem;height:2.25rem;border-radius:9999px;background:var(--g100);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.member .n{font-size:.875rem;font-weight:500}
.member .r{font-size:.75rem;color:var(--muted)}
.team-grid h5{font-size:.875rem;font-weight:500;color:var(--g800);margin:.75rem 0 .75rem;font-family:var(--body)}

/* images row */
.photos{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:2rem}
@media(min-width:640px){.photos{grid-template-columns:repeat(2,1fr)}}
.photo{border-radius:var(--radius);overflow:hidden;border:1px solid var(--g100)}
.photo img{width:100%;height:180px;object-fit:cover}
.photo figcaption{font-size:.75rem;color:var(--muted);text-align:center;padding:.5rem}
@media(min-width:640px){.photo img{height:200px}}

.split{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:1024px){.split{grid-template-columns:1.4fr .6fr;gap:2.5rem}}
.split-even{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.split-even{grid-template-columns:repeat(2,1fr);gap:2.5rem}}

.chips{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin:1.25rem 0}
@media(min-width:640px){.chips{grid-template-columns:repeat(3,1fr)}}
.chip{background:var(--g50);border:1px solid var(--g100);border-radius:.5rem;padding:.625rem .75rem;font-size:.75rem;color:var(--g800);text-align:center}

.checks{display:flex;flex-direction:column;gap:.625rem}
.check{display:flex;align-items:center;gap:.625rem;font-size:.875rem;color:hsl(150 30% 10%/.8)}
.check .b{width:1.25rem;height:1.25rem;border-radius:9999px;background:var(--g200);display:flex;align-items:center;justify-content:center;flex-shrink:0}

.feature{display:flex;align-items:flex-start;gap:.75rem;font-size:.875rem;color:hsl(150 30% 10%/.8)}
.feature+.feature{margin-top:1rem}
.feature .b{width:2rem;height:2rem;border-radius:.5rem;background:var(--g100);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:.125rem}
.feature strong{display:block;font-weight:500;color:var(--fg)}

.cards3{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.cards3{grid-template-columns:repeat(2,1fr);gap:2rem}}
@media(min-width:1024px){.cards3{grid-template-columns:repeat(3,1fr)}}

/* pricing */
.price-row{display:flex;justify-content:space-between;align-items:baseline;padding:.625rem 0;border-bottom:1px solid var(--g100);gap:1rem}
.price-row:last-of-type{border-bottom:0}
.price-row .lbl{font-size:.8125rem;color:hsl(150 30% 10%/.8)}
.price-row .lbl small{display:block;font-size:.75rem;color:var(--muted)}
.price-row .amt{font-family:var(--display);font-size:1.125rem;font-weight:700;color:var(--g700);white-space:nowrap}
@media(min-width:640px){.price-row .lbl{font-size:.875rem}.price-row .amt{font-size:1.25rem}}
.callout{background:#fff;border-radius:.5rem;padding:1rem;margin-top:1.25rem;text-align:center}
.callout p{font-size:.75rem;color:var(--muted);margin-bottom:.25rem}
.callout a{font-family:var(--display);font-size:1.25rem;font-weight:700;color:var(--g800);text-decoration:none}
.callout a:hover{color:var(--g600)}
@media(min-width:640px){.callout a{font-size:1.5rem}}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:640px){.contact-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.contact-grid{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.contact-grid h2{font-size:1.125rem;font-weight:600;color:var(--g800);margin-bottom:1rem}
.contact-grid p{font-size:.875rem;color:var(--muted);line-height:1.75}
.contact-grid a{text-decoration:none}
.contact-grid a:hover{color:var(--g700)}
.contact-grid strong{color:hsl(150 30% 10%/.8);font-weight:500}

/* footer */
footer{background:#fff;border-top:1px solid var(--border);padding:1.5rem 1rem;text-align:center}
footer p{font-size:.75rem;color:var(--muted)}

/* 404 */
.err{display:flex;min-height:70vh;align-items:center;justify-content:center;text-align:center;padding:2rem}
.err h1{font-size:3rem;color:var(--g800);margin-bottom:.5rem}
.err p{color:var(--muted);margin-bottom:1.5rem}
.err a{color:var(--g700)}

/* ---------- chatbot ---------- */
.bot-intro{text-align:center;margin-bottom:2rem}
.bot-intro h2{font-size:1.5rem;color:var(--g800);margin-bottom:.5rem}
.bot-intro p{font-size:.875rem;color:var(--muted);max-width:36rem;margin:0 auto}
@media(min-width:768px){.bot-intro h2{font-size:1.875rem}}
.bot{width:100%;max-width:480px;margin:0 auto;height:640px;max-height:80vh;display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:1rem;box-shadow:0 25px 50px -12px rgb(0 0 0/.25);overflow:hidden}
.bot-head{background:linear-gradient(135deg,var(--g800),var(--g900));padding:1.25rem 1.5rem;display:flex;align-items:center;gap:.875rem;flex-shrink:0}
.bot-head .ico{width:3rem;height:3rem;border-radius:9999px;background:rgb(255 255 255/.15);border:2px solid rgb(255 255 255/.25);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bot-head h3{font-size:17px;color:#fff;line-height:1.2}
.bot-head p{font-size:.75rem;color:rgb(255 255 255/.7);margin-top:.125rem;display:flex;align-items:center;gap:.375rem;font-weight:300}
.dot{width:.5rem;height:.5rem;background:var(--g400);border-radius:9999px;display:inline-block;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.bot-log{flex:1;overflow-y:auto;padding:1.25rem 1rem;display:flex;flex-direction:column;gap:.875rem}
.msg{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}
.msg.u{align-items:flex-end}
.row{display:flex;gap:.625rem;max-width:88%}
.row.u{flex-direction:row-reverse}
.row .av{width:2rem;height:2rem;border-radius:9999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:.125rem}
.row.b .av{background:var(--g100)}
.row.u .av{background:hsl(48 96% 89%)}
.bubble{padding:.75rem 1rem;font-size:.875rem;line-height:1.6;border-radius:1rem;min-width:0}
.row.b .bubble{background:var(--g50);border-bottom-left-radius:.125rem}
.row.u .bubble{background:var(--g800);color:#fff;border-bottom-right-radius:.125rem;white-space:pre-wrap;overflow-wrap:anywhere}
.qr{display:flex;flex-wrap:wrap;gap:.5rem;padding-left:2.625rem}
.qr button{padding:.5rem .875rem;font-size:.75rem;font-weight:500;font-family:inherit;color:var(--g800);background:#fff;border:1px solid var(--g800);border-radius:9999px;cursor:pointer;transition:all .2s}
.qr button:hover{background:var(--g800);color:#fff;transform:translateY(-1px)}
.msg.t{align-items:flex-start}
.typing{display:flex;gap:.375rem;align-items:center;padding:.875rem 1rem;background:var(--g50);border-radius:1rem;border-bottom-left-radius:.125rem}
.typing span{width:.375rem;height:.375rem;background:var(--muted);border-radius:9999px;animation:bounce 1s infinite}
.typing span:nth-child(2){animation-delay:.15s}
.typing span:nth-child(3){animation-delay:.3s}
@keyframes bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
.bot-in{padding:.875rem 1rem;border-top:1px solid var(--border);display:flex;gap:.625rem;align-items:center;background:#fff;flex-shrink:0}
.bot-in input{flex:1;padding:.75rem 1rem;font-size:.875rem;font-family:inherit;border:1px solid var(--border);border-radius:9999px;outline:none;background:#fff}
.bot-in input:focus{border-color:var(--g800);box-shadow:0 0 0 3px hsl(150 40% 16%/.1)}
.bot-in button{width:2.75rem;height:2.75rem;border-radius:9999px;background:var(--g800);color:#fff;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s}
.bot-in button:hover{background:var(--g900)}
.bot-foot{text-align:center;padding:.5rem;font-size:11px;color:var(--muted);background:#fff;border-top:1px solid var(--border)}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- mapa (wczytywana po kliknięciu) ---------- */
.map-wrap{margin-top:2.5rem}
.map-wrap h2{font-size:1.125rem;font-weight:600;color:var(--g800);margin-bottom:1rem;font-family:var(--display)}
.map-holder{position:relative;border:1px solid var(--g200);border-radius:var(--radius);overflow:hidden;background:var(--g50);aspect-ratio:16/9}
.map-holder iframe{display:block;width:100%;height:100%;border:0}
.map-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;text-align:center;padding:1.5rem;
  background:var(--g50);background-image:linear-gradient(hsl(145 22% 78%/.45) 1px,transparent 1px),linear-gradient(90deg,hsl(145 22% 78%/.45) 1px,transparent 1px);background-size:32px 32px}
.map-ph .pin{color:var(--g700)}
.map-ph p{font-size:.875rem;color:var(--g800);font-weight:500}
.map-ph p small{display:block;font-weight:400;color:var(--muted);font-size:.8125rem;margin-top:.125rem}
.map-load{font-family:inherit;font-size:.8125rem;font-weight:500;padding:.625rem 1.25rem;border-radius:9999px;border:1px solid var(--g800);background:var(--g800);color:#fff;cursor:pointer;transition:all .2s}
.map-load:hover{background:var(--g900)}
.map-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;margin-top:.75rem}
.map-actions a{font-size:.8125rem;color:var(--g700);text-decoration:underline;text-underline-offset:3px}
.map-note{font-size:.75rem;color:var(--muted);max-width:34rem}
@media(max-width:520px){.map-holder{aspect-ratio:4/3}}
