:root{
  --ivory:#F7F4EE; --white:#FFFFFF; --ink:#1C2621; --body:#3D4841;
  --green:#2F5546; --muted:#6B7A71; --line:#E4DED2; --sage:#8FAE9B;
  --serif:"Fraunces",Georgia,serif; --script:"Cormorant Garamond",Georgia,serif;
  --sans:"Karla",system-ui,-apple-system,"Segoe UI",sans-serif;
  --pad:clamp(20px,5vw,120px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--green)}
h1,h2,h3{font-family:var(--serif);font-weight:500;margin:0;line-height:1.12;letter-spacing:-.01em}
h1{font-size:clamp(34px,5.2vw,62px)}
h2{font-size:clamp(28px,3.6vw,44px)}
p{margin:0}
.wrap{max-width:1440px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.eyebrow{font-size:13px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);font-weight:600;line-height:1.5}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:6px;font-size:17px;font-weight:600;text-decoration:none;transition:.15s}
.btn-dark{background:var(--green);color:#fff}
.btn-dark:hover{background:#264737}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:#f0efe9}
.btn-ghost{background:transparent;color:var(--green);border:1px solid #C3CEC5}
.btn-ghost:hover{border-color:var(--green)}
.btn-ghost-light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
.btn-ghost-light:hover{border-color:#fff}

/* header */
.site-header{position:sticky;top:0;z-index:30;background:rgba(247,244,238,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;padding-left:clamp(14px,2.5vw,56px);padding-right:clamp(16px,5vw,120px)}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink)}
.brand-name{font-family:var(--script);font-style:italic;font-size:clamp(26px,3.1vw,44px);line-height:1}
.brand-sub{font-size:clamp(9px,.95vw,12px);letter-spacing:3.8px;text-transform:uppercase;color:var(--muted);font-weight:600;white-space:nowrap}
.lbl-short{display:none}
.nav{display:flex;align-items:center;gap:32px}
.nav a{font-size:16px;color:var(--body);text-decoration:none}
.nav a:hover{color:var(--ink)}
.nav .btn{min-height:46px;font-size:16px;padding:0 22px}
.nav a.btn-dark{color:#fff}

/* hero */
.hero{background-image:linear-gradient(90deg,rgba(20,31,26,.72) 0%,rgba(20,31,26,.66) 58%,rgba(20,31,26,.18) 74%,rgba(20,31,26,.06) 100%),url("hero.jpg");background-size:cover;background-position:center 58%;color:#fff;padding:clamp(56px,7vw,104px) 0 clamp(56px,7vw,96px)}
.hero .eyebrow{color:#F0F5F1}
.hero h1{color:#fff;max-width:14ch}
.hero p{color:#F4F8F4;font-size:clamp(17px,1.5vw,20px);max-width:56ch}
.hero-inner{display:flex;flex-direction:column;gap:26px;max-width:820px;margin-left:0;margin-right:auto}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px}
.hero-meta{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:15px;color:#F2F7F3}

/* generic section */
section{scroll-margin-top:96px}
.band{padding:clamp(48px,6vw,100px) 0;border-top:1px solid var(--line)}
.band-white{background:var(--white)}

/* about */
.about{display:grid;grid-template-columns:300px 1fr;gap:clamp(32px,6vw,100px);align-items:start}
.about img{border-radius:12px;width:100%;height:auto;aspect-ratio:300/340;object-fit:cover;object-position:center 16%}
.about-side{display:flex;flex-direction:column;gap:12px}
.about-name{font-family:var(--serif);font-size:28px;line-height:1.2}
.about-text{display:flex;flex-direction:column;gap:24px;max-width:72ch;color:#2B3630}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.chip{border:1px solid var(--line);background:var(--white);border-radius:999px;padding:9px 18px;font-size:15px;color:var(--body)}
.band-white .chip{background:var(--ivory)}

/* cards */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:32px}
.card{border:1px solid var(--line);border-radius:12px;padding:30px;background:var(--ivory)}
.band-white .card{background:var(--ivory)}
.card h3{font-size:24px;margin-bottom:10px}
.card p{color:var(--body);font-size:17px}
.section-head{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:baseline;justify-content:space-between}
.section-head .note{color:var(--muted);font-size:17px}

/* help list */
.help{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;margin-top:36px;list-style:none;padding:0}
.help li{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line);color:#2B3630;font-size:17px;line-height:1.6}
.help svg{flex:0 0 auto;margin-top:5px}

/* parents */
.parents{display:grid;grid-template-columns:220px 1fr;gap:clamp(24px,5vw,80px);align-items:center}
.parents p{font-family:var(--serif);font-size:clamp(21px,2.1vw,28px);line-height:1.5;max-width:60ch}

/* closing */
.closing{background-image:linear-gradient(90deg,rgba(31,60,49,.94) 0%,rgba(31,60,49,.80) 45%,rgba(31,60,49,.50) 100%),url("gabinet.jpg");background-size:cover;background-position:78% 62%;color:#fff;padding:clamp(48px,6vw,96px) 0}
.closing-inner{display:grid;grid-template-columns:480px 1fr;gap:clamp(28px,6vw,100px);align-items:start}
.closing h2{color:#fff}
.closing p{color:#E3EAE4;font-size:clamp(17px,1.5vw,19px)}
.closing-text{display:flex;flex-direction:column;gap:22px;max-width:64ch}

/* contact */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:start}
.contact-list{display:flex;flex-direction:column;gap:20px;margin-top:28px}
.contact-list .label{font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:600}
.contact-list .value{font-size:19px;color:#2B3630}
.contact-card{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:clamp(24px,3vw,40px);display:flex;flex-direction:column;gap:20px}
.contact-card .phone{font-family:var(--serif);font-size:clamp(28px,3.4vw,40px);color:var(--ink);text-decoration:none;line-height:1.1}
.contact-card .mail{font-size:19px;color:var(--green);text-decoration:none;word-break:break-word}
.contact-card .hint{font-size:16px;color:var(--body)}
.contact-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:4px}

/* footer */
.site-footer{background:var(--white);border-top:1px solid var(--line);padding:36px 0}
.footer-inner{display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between;padding-left:clamp(14px,2.5vw,56px)!important}
.footer-links{display:flex;flex-wrap:wrap;gap:24px}
.footer-links a{font-size:15px;color:var(--body);text-decoration:none}
.footer-note{font-size:15px;color:var(--muted);margin-top:4px}

@media (max-width:1000px){
  .about{grid-template-columns:1fr}
  .about img{max-width:340px;aspect-ratio:300/320}
  .closing-inner{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .parents{grid-template-columns:1fr}
}
@media (max-width:860px){
  .nav a:not(.btn){display:none}
  .cards{grid-template-columns:1fr}
  .help{grid-template-columns:1fr}
  .hero{background-image:linear-gradient(180deg,rgba(20,31,26,.80) 0%,rgba(20,31,26,.70) 60%,rgba(20,31,26,.66) 100%),url("hero.jpg")}
  .closing{background-image:linear-gradient(180deg,rgba(31,60,49,.94) 0%,rgba(31,60,49,.84) 60%,rgba(31,60,49,.66) 100%),url("gabinet.jpg")}
}
@media (max-width:620px){
  .brand svg{width:46px;height:26px}
  .brand-name{font-size:23px;white-space:nowrap}
  .brand-sub{letter-spacing:2.2px}
  .nav .btn{min-height:42px;font-size:15px;padding:0 16px;white-space:nowrap}
  .lbl-long{display:none}
  .lbl-short{display:inline}
}
@media (max-width:520px){
  body{font-size:17px}
  .header-inner{min-height:70px;gap:12px}
  .hero-actions .btn,.contact-actions .btn{width:100%}
  .brand-sub{font-size:8px;letter-spacing:1.6px}
  .eyebrow{font-size:12px;letter-spacing:1.4px}
}

/* karty jako linki */
a.card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;transition:.15s}
a.card:hover{border-color:var(--green);transform:translateY(-2px)}
.card-more{margin-top:auto;padding-top:6px;font-size:15px;font-weight:600;color:var(--green)}
/* podstrony — układ redakcyjny */
.lede{display:grid;grid-template-columns:220px 1fr;gap:clamp(24px,5vw,80px);align-items:start}
.lede .eyebrow{line-height:1.5}
.lede-body{max-width:64ch;display:flex;flex-direction:column;gap:22px}
.lede-body p{font-family:var(--serif);font-size:clamp(19px,1.8vw,24px);line-height:1.55;color:#2B3630}
.page-title{margin-bottom:28px}
.back{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:var(--green);text-decoration:none}
.back:hover{color:var(--ink)}
@media (max-width:1000px){.lede{grid-template-columns:1fr}}
/* podstrony — nagłówek strony */
.page-head{padding:clamp(28px,3.4vw,54px) 0 clamp(22px,2.8vw,38px)}
.page-head h1{font-size:clamp(32px,4.4vw,54px);margin-top:14px}
.page-head .back{margin-bottom:20px}
.help.one{grid-template-columns:1fr;margin-top:0}
.help.one li:last-child{border-bottom:0}
.lede-body .btn{align-self:flex-start;margin-top:4px}
.lede-small{font-family:var(--sans)!important;font-size:17px!important;color:var(--body)!important;line-height:1.7!important}
.lede-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:6px}
@media (max-width:520px){.lede-actions .btn{width:100%}}
/* dojazd i mapa */
.dojazd{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.map-box{margin-top:26px;border:1px solid var(--line);border-radius:12px;background:var(--ivory);aspect-ratio:16/10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;cursor:pointer;transition:.15s}
.map-box:hover,.map-box:focus-visible{border-color:var(--green)}
.map-title{font-size:17px;color:var(--body)}
.map-box.map-loaded{display:block;padding:0;cursor:default;overflow:hidden}
.map-box iframe{display:block;width:100%;height:100%;border:0}
.map-note{font-size:14px;color:var(--muted);margin-top:12px;max-width:52ch}
@media (max-width:520px){.dojazd .btn{width:100%}}
/* przelacznik jezyka */
.lang{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;letter-spacing:.5px}
.nav .lang a:not(.btn){display:inline-flex;align-items:center;gap:6px;color:var(--muted);text-decoration:none;padding:2px 0}
.nav .lang a:not(.btn):hover{color:var(--ink)}
.nav .lang a.is-on{color:var(--ink)}
.lang i{font-style:normal;color:#C9C2B4}
@media (max-width:620px){.lang{font-size:14px;gap:5px}}
/* naglowek — rola nad nazwa + claim obok */
.brand-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.brand-role{font-size:clamp(9px,.95vw,12px);letter-spacing:3.4px;text-transform:uppercase;color:var(--muted);font-weight:600;white-space:nowrap}
.brand-line{display:flex;align-items:baseline;gap:clamp(8px,1vw,14px);min-width:0}
.brand-sep{font-style:normal;font-weight:300;color:#C9C2B4;font-size:clamp(20px,2.2vw,34px);line-height:1}
.brand-claim{font-family:var(--serif);font-size:clamp(12px,1.05vw,15px);color:var(--body);white-space:nowrap;line-height:1.2}
/* flagi w przelaczniku */
.lang a{display:inline-flex;align-items:center;gap:6px}
.flag{display:block;flex:0 0 auto}
.lang a:not(.is-on) .flag{opacity:.55}
.lang a:hover .flag{opacity:1}
@media (max-width:1280px){.brand-sep,.brand-claim{display:none}}
@media (max-width:620px){.brand-role{letter-spacing:2.2px}.flag{width:17px;height:12px}}
@media (max-width:520px){.brand-role{font-size:8px;letter-spacing:1.6px}}
/* naglowek — dopasowanie do dodatkowej tresci */
.brand-name{font-size:clamp(23px,2.3vw,34px);white-space:nowrap}
.nav{gap:clamp(14px,1.7vw,28px)}
.nav a:not(.btn){white-space:nowrap}
.header-inner{padding-right:clamp(16px,2.5vw,56px)}
@media (max-width:1460px){.brand-sep,.brand-claim{display:none}}
/* naglowek v3 — bez linii roli, wieksze logo, kreska pionowa */
.brand{gap:16px}
.brand-text{gap:0}
.brand-name{font-size:clamp(25px,2.6vw,38px)}
.brand-line{align-items:center;gap:clamp(12px,1.3vw,20px)}
.brand-rule{display:block;flex:0 0 auto;width:1px;height:clamp(26px,2.6vw,38px);background:#CFC7B7}
.brand-claim{font-size:clamp(12px,1.05vw,15px);align-self:center}
@media (max-width:620px){.brand svg{width:58px;height:33px}.brand{gap:11px}}
@media (max-width:1120px){.brand svg{width:70px;height:39px}.brand-name{font-size:24px}.brand{gap:13px}}
@media (max-width:620px){.brand svg{width:56px;height:31px}.brand-name{font-size:22px}}
@media (max-width:520px){.brand svg{width:48px;height:27px}.brand-name{font-size:20px}.brand{gap:9px}}
/* naglowek — progi po powiekszeniu logotypu */
@media (max-width:1080px){.nav a:not(.btn):not(.lang a){display:none}.nav .lang a:not(.btn){display:inline-flex}}
@media (max-width:460px){
  .lang a span{display:none}
  .lang{gap:6px}
  .brand-name{font-size:18px}
  .brand svg{width:44px;height:25px}
}
@media (max-width:400px){
  .brand-name{font-size:16px}
  .brand svg{width:38px;height:21px}
  .brand{gap:7px}
  .header-inner{gap:8px;padding-left:12px;padding-right:12px}
  .nav .btn{padding:0 13px;font-size:14px}
}
@media (max-width:365px){
  .brand-name{font-size:14px}
  .brand svg{width:31px;height:17px}
  .nav .btn{min-height:38px;padding:0 10px;font-size:13px}
  .header-inner{gap:6px}
}
@media (max-width:1460px){.brand-rule{display:none}}
/* mobile/tablet — claim pod nazwa + mniejsza typografia */
@media (max-width:1080px){
  .brand-line{flex-direction:column;align-items:flex-start;gap:1px}
  .brand-rule{display:none}
  .brand-claim{display:block;white-space:normal;line-height:1.3;font-size:11px;max-width:24ch}
}
@media (max-width:620px){
  body{font-size:16px}
  h1{font-size:clamp(27px,7.2vw,33px)}
  h2{font-size:clamp(23px,6.2vw,29px)}
  .brand-claim{font-size:10px;max-width:20ch}
  .hero p{font-size:16px}
  .hero-meta{font-size:14px;gap:8px 16px}
  .eyebrow{font-size:11px;letter-spacing:1.3px}
  .about-text{font-size:16px;gap:18px}
  .about-name{font-size:24px}
  .chip{font-size:14px;padding:7px 14px}
  .card h3{font-size:21px}
  .card p{font-size:16px}
  .section-head .note{font-size:15px}
  .help li{font-size:16px;padding:14px 0}
  .parents p{font-size:19px}
  .closing p{font-size:16px}
  .contact-list .value{font-size:17px}
  .contact-list .label{font-size:12px}
  .contact-card .phone{font-size:27px}
  .contact-card .mail{font-size:17px}
  .contact-card .hint{font-size:15px}
  .btn{min-height:50px;font-size:16px}
  .band{padding:40px 0}
  .footer-links a,.footer-note{font-size:14px}
}
@media (max-width:400px){.brand-claim{font-size:9.5px;max-width:18ch}}
.contact-list .value-name{font-weight:600;color:var(--ink)}
/* claim widoczny takze na laptopach — pod nazwa */
@media (max-width:1460px){
  .brand-line{flex-direction:column;align-items:flex-start;gap:1px}
  .brand-claim{display:block;white-space:normal;line-height:1.3;font-size:11.5px;max-width:30ch}
}
/* claim — jedna linia na laptopach, zawijany na telefonie */
@media (max-width:1460px){.brand-claim{white-space:nowrap;max-width:none;font-size:11.5px}}
@media (max-width:1180px){.brand-claim{white-space:normal;max-width:26ch;font-size:11px}}
@media (max-width:620px){.brand-claim{font-size:10px;max-width:20ch}}
@media (max-width:400px){.brand-claim{font-size:9.5px;max-width:18ch}}
.nav .btn{white-space:nowrap}
@media (max-width:1260px){.brand-claim{white-space:normal;max-width:24ch;font-size:11px}}
/* linki nawigacji chowaja sie wczesniej — dluzsze etykiety w wersji EN */
@media (max-width:1220px){.nav > a:not(.btn){display:none}}

/* === naglowek: jeden spojny zestaw progow (nadpisuje wczesniejsze proby) === */
.brand-line{flex-direction:column;align-items:flex-start;gap:1px}
.brand-rule{display:none}
.brand-claim{display:block;white-space:normal;max-width:26ch;font-size:11.5px;line-height:1.3}
@media (min-width:1621px){
  .brand-line{flex-direction:row;align-items:center;gap:20px}
  .brand-rule{display:block}
  .brand-claim{white-space:nowrap;max-width:none;font-size:15px}
}
@media (max-width:620px){.brand-claim{font-size:10px;max-width:20ch}}
@media (max-width:400px){.brand-claim{font-size:9.5px;max-width:18ch}}
.footer-links .footer-tel{font-weight:600;color:var(--ink)}
.footer-links .footer-tel:hover{color:var(--green)}
