
:root{--navy:#12395f;--teal:#009ca4;--green:#a8c83b;--muted:#61778c;--line:#dbe9ed;--mint:#effafa}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--navy);background:#fff}a{text-decoration:none;color:inherit}
.container{width:min(1240px,calc(100% - 64px));margin:auto}
header{height:94px;background:#fff;border-bottom:1px solid #edf2f4;position:sticky;top:0;z-index:20}.nav{height:100%;display:flex;align-items:center;gap:28px}.brand img{display:block;width:215px}.links{display:flex;gap:29px;align-items:center;justify-content:center;flex:1;font-size:12px;font-weight:700}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border-radius:7px;font-size:12px;font-weight:800}.primary{background:var(--teal);color:#fff;box-shadow:0 8px 20px rgba(0,156,164,.15)}.outline{background:#fff;border:1px solid #8ccfd2;color:#008f98}
.hero{background:linear-gradient(110deg,#fff 0%,#fbfefe 44%,#eafafa 100%);overflow:hidden}.hero-inner{min-height:610px;display:grid;grid-template-columns:42% 58%;align-items:center}.copy{padding:70px 0 70px 18px;position:relative;z-index:2}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#008f98;font-weight:800}.copy h1{font-size:clamp(48px,4.3vw,70px);line-height:1.03;letter-spacing:-.05em;margin:25px 0 23px}.copy h1 em{display:block;font-family:"Playfair Display",serif;font-weight:500;color:#0799a1;letter-spacing:-.02em}.lead{font-size:14px;line-height:1.8;color:var(--muted);max-width:500px;margin-top:58px}.actions{display:flex;gap:14px;margin-top:27px}
.art{height:610px;position:relative;display:flex;align-items:center;justify-content:center}.art svg{width:118%;height:118%;overflow:visible}.fine{fill:none;stroke:#66c8cc;stroke-width:1;opacity:.33}.mol{fill:none;stroke:#35aaa8;stroke-width:3.4}.node{fill:#a6ca3d}.dna1{fill:none;stroke:url(#dg);stroke-width:12;stroke-linecap:round}.dna2{fill:none;stroke:#a4c940;stroke-width:5;stroke-linecap:round}.rung{stroke:#65bdb9;stroke-width:2.2}.arrow{fill:url(#ag)}
.services-wrap{margin-top:-28px;position:relative;z-index:5;padding-bottom:44px}.services{background:#fff;border-radius:18px;box-shadow:0 13px 38px rgba(18,57,95,.08);display:grid;grid-template-columns:repeat(5,1fr);padding:27px 18px 18px}.svc{text-align:center;padding:0 18px;border-right:1px solid #dfeaec}.svc:nth-child(5){border:0}.ico{height:57px;display:grid;place-items:center;color:#009ba3}.ico svg{width:45px;height:45px;fill:none;stroke:currentColor;stroke-width:2}.svc h3{font-size:13px;margin:7px 0 7px}.svc p{font-size:10px;line-height:1.65;color:var(--muted);margin:0}.more{grid-column:1/-1;text-align:center;padding-top:23px;font-size:11px;font-weight:800;color:#008f98}.more b{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid #009ba3;border-radius:50%;margin-right:7px}
.strip{background:#153e66;color:#fff}.strip .container{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0}.strip .item{padding:0 34px;border-right:1px solid rgba(255,255,255,.2)}.strip .item:first-child{padding-left:0}.strip .item:last-child{border:0}.strip strong,.strip span{display:block}.strip strong{font-size:13px}.strip span{font-size:10px;color:#aec0d0}
.section{padding:100px 0}.split{display:grid;grid-template-columns:.5fr 1.5fr;gap:70px}.tag{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#008f98;font-weight:800}.section h2{font-size:52px;line-height:1.06;letter-spacing:-.05em;margin:12px 0 24px}.section h2 em{font-style:normal;color:#0799a1}.section p{font-size:14px;line-height:1.75;color:var(--muted)}.quote{border-left:3px solid #00a3a8;padding-left:18px;color:var(--navy)!important;font-size:16px!important}.tint{background:var(--mint)}.head{display:flex;justify-content:space-between;align-items:end;margin:14px 0 38px}.head h2{margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:25px}.card h3{font-size:20px;margin:0 0 7px}.card p{font-size:12px;margin:0}.parents{display:grid;grid-template-columns:1fr 1fr;gap:20px}.parents div{border-top:1px solid var(--line);padding-top:18px}.parents b{font-size:11px;color:#009ba3}.parents h3{margin:8px 0}
.clinic{background:#f7fbfc}.clinic-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:65px;align-items:center}.clinic-photo{height:530px;border-radius:20px;overflow:hidden;margin:0}.clinic-photo img{width:100%;height:100%;object-fit:cover}.contact{padding:30px 0 65px}.contactbox{background:#e9f8f7;border-radius:19px;padding:28px 40px;display:flex;align-items:center;justify-content:space-between}.contactbox h2{font-size:27px;margin:0 0 4px}.contactbox p{font-size:12px;color:var(--muted);margin:0}
footer{background:#12395f;color:#fff;padding:44px 0}.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.foot img{width:210px;filter:brightness(0) invert(1)}.foot div{display:flex;flex-direction:column;gap:7px}.foot p,.foot a,.foot span{font-size:11px;color:#aec0cf}
@media(max-width:850px){.links,.nav>.primary{display:none}.hero-inner{grid-template-columns:1fr}.copy{padding-left:0}.lead{margin-top:25px}.art{height:480px}.services{grid-template-columns:1fr 1fr}.svc{border:0;border-bottom:1px solid var(--line);padding:18px}.split,.clinic-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.strip .container{grid-template-columns:1fr}.strip .item{border-right:0;border-bottom:1px solid rgba(255,255,255,.2);padding:12px 0}.foot{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.container{width:calc(100% - 28px)}.copy h1{font-size:48px}.art{height:380px}.services,.cards,.parents{grid-template-columns:1fr}.contactbox{display:grid}.clinic-photo{height:310px}.foot{grid-template-columns:1fr}}

/* v2.x.4 — zatwierdzona grafika hero pobrana bezpośrednio z zaakceptowanej wizualizacji */
.approved-art{height:610px;display:flex;align-items:stretch;justify-content:stretch;overflow:hidden}
.approved-art img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
@media(max-width:850px){.approved-art{height:480px}.approved-art img{object-fit:contain}}
@media(max-width:520px){.approved-art{height:380px}}

/* v2.x.5 — high-resolution approved hero asset */
.approved-art img{
  image-rendering:auto;
  -ms-interpolation-mode:bicubic;
  transform:translateZ(0);
}

/* v2.x.6 — hero graphic shown in full, no cropping */
.approved-art{
  height:610px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.approved-art img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  image-rendering:auto;
  display:block;
}
@media(max-width:850px){
  .approved-art{height:480px}
  .approved-art img{object-fit:contain !important}
}
@media(max-width:520px){
  .approved-art{height:380px}
}

/* v2.x.8 — header proportions restored from v2.0_FINAL_FIXED */
@media(min-width:851px){
  header{height:100px !important}
  .nav{height:100% !important}
  .brand img{width:270px !important;height:auto !important}
  .links{gap:34px !important;font-size:14px !important;font-weight:600 !important;white-space:nowrap}
  .nav>.primary{font-size:14px !important;padding:14px 23px !important;min-width:170px}
}
/* decorative line must sit clearly below “spokojniej.” */








@media(max-width:520px){
  
  
}


/* v2.x.9 accumulated refinements */

/* Sticky header must not cover anchored sections. */
#o-mnie,#pomagam,#podejscie,#rodzice,#gabinet,#kontakt{
  scroll-margin-top:120px;
}

/* Footer logo: transparent asset and sane proportions. */
.foot img{
  width:200px !important;
  height:auto !important;
  max-width:100%;
  filter:none !important;
  object-fit:contain;
  display:block;
}

/* Podejście section. */
.approach{background:#f7f6f1}
.approach-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:90px;align-items:start}
.approach-left h2{
  font-size:clamp(48px,4.8vw,72px);
  line-height:1.02;
  letter-spacing:-.055em;
  margin:14px 0 0;
  color:var(--navy)
}
.approach-left h2 em{font-style:normal;color:#7da47b}
.approach-list{border-top:1px solid #d7e1df}
.approach-item{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:20px;
  padding:28px 0;
  border-bottom:1px solid #d7e1df
}
.approach-item>span{font-size:12px;color:#7aa5a6;font-weight:800}
.approach-item h3{font-size:20px;margin:0 0 7px;color:var(--navy)}
.approach-item p{margin:0;font-size:13px;line-height:1.7;color:var(--muted)}

/* Additional menu item: retain comfortable type and collapse earlier. */
@media(max-width:1180px){
  .links{gap:18px !important;font-size:13px !important}
}
@media(max-width:1040px){
  .links{display:none !important}
  .nav>.primary{display:none !important}
}

/* Move decorative line below 'spokojniej.' lower so it cannot touch the letters. */


@media(max-width:850px){
  .approach-grid{grid-template-columns:1fr;gap:38px}
  .approach-item{grid-template-columns:38px 1fr}
}


/* v2.A.10 — Podejście fully integrated with current EndoVibe palette */
.approach{
  background:#f4fbfc !important;
  overflow:hidden;
}
.approach-grid{
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr) !important;
  gap:72px !important;
  width:min(1240px,calc(100% - 64px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.approach-left h2{
  color:var(--navy) !important;
}
.approach-left h2 em{
  color:var(--teal) !important;
}
.approach-list{
  min-width:0;
  width:100%;
  border-top:1px solid #cfe7e9 !important;
}
.approach-item{
  min-width:0;
  width:100%;
  border-bottom:1px solid #cfe7e9 !important;
}
.approach-item>span{
  color:var(--teal) !important;
}
.approach-item h3{
  color:var(--navy) !important;
}
.approach-item p{
  color:var(--muted) !important;
  max-width:100%;
  overflow-wrap:anywhere;
}
@media(max-width:850px){
  .approach-grid{
    width:min(100% - 28px,1240px) !important;
    grid-template-columns:1fr !important;
    gap:38px !important;
  }
}

/* v2.A.11 collected fixes */
.foot>div:first-child{display:inline-flex;flex-direction:column;align-items:flex-start}
.foot>div:first-child img{
  width:200px!important;height:auto!important;box-sizing:content-box;
  background:#fff!important;padding:12px 16px!important
}
.brand{
  height:100px!important;overflow:hidden!important;
  display:flex!important;align-items:flex-start!important
}
.brand img{
  width:270px!important;height:auto!important;display:block!important;
  margin-top:0!important;clip-path:inset(0 0 12px 0)
}
#pomagam,#obszary{scroll-margin-top:120px}

/* v2.A.12 */
.brand img{transform:translateY(-8px)!important}
#pomagam,#obszary{scroll-margin-top:120px!important}


/* v2.A.13 — mobile navigation + smartphone polish */
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  padding:10px;
  margin-left:auto;
  border:0;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  color:var(--navy);
}
.menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  border-radius:2px;
  background:currentColor;
  transition:transform .22s ease, opacity .22s ease;
}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:1040px){
  header{
    height:76px !important;
    z-index:100 !important;
  }
  .nav{
    height:76px !important;
    position:relative;
    gap:14px;
  }

  /* Logo stays large enough to read, but is contained inside mobile header. */
  .brand{
    height:76px !important;
    width:205px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:flex-start !important;
    flex:none;
  }
  .brand img{
    width:205px !important;
    height:auto !important;
    transform:translateY(-5px) !important;
    clip-path:inset(0 0 9px 0) !important;
  }

  .menu-toggle{
    display:flex;
    position:relative;
    z-index:102;
  }

  .links{
    display:none !important;
    position:absolute !important;
    top:76px;
    left:0;
    right:0;
    width:100%;
    margin:0;
    padding:12px 18px 18px;
    background:#fff;
    border-top:1px solid #edf2f4;
    border-bottom:1px solid #dce9ed;
    box-shadow:0 15px 30px rgba(18,57,95,.12);
    flex-direction:column;
    align-items:stretch !important;
    gap:0 !important;
    font-size:15px !important;
    font-weight:600 !important;
    z-index:101;
  }
  .links.mobile-open{
    display:flex !important;
  }
  .links a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:11px 4px !important;
    border-bottom:1px solid #edf3f4;
  }
  .links a:last-child{border-bottom:0}

  .nav>.primary{
    display:none !important;
  }

  /* Booking CTA inside opened mobile menu. */
  .links.mobile-open::after{
    content:"Umów wizytę ↗";
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin-top:12px;
    border-radius:9px;
    background:var(--teal);
    color:#fff;
    font-size:14px;
    font-weight:800;
    pointer-events:none;
  }

  #o-mnie,#pomagam,#podejscie,#rodzice,#gabinet,#kontakt{
    scroll-margin-top:88px !important;
  }

  .hero-inner{
    min-height:auto !important;
    grid-template-columns:1fr !important;
  }
  .copy{
    padding:48px 0 12px !important;
  }
  .copy h1{
    font-size:clamp(46px,11vw,62px) !important;
    max-width:640px;
  }
  .lead{
    font-size:15px !important;
    max-width:620px;
  }
  .approved-art{
    height:440px !important;
    margin-top:0;
  }
  .approved-art img{
    object-fit:contain !important;
    object-position:center !important;
  }

  .services-wrap{
    margin-top:-8px !important;
    padding-bottom:30px !important;
  }

  .section{
    padding:76px 0 !important;
  }
  .section h2{
    font-size:clamp(38px,8vw,52px) !important;
  }

  .clinic-photo{
    height:430px !important;
  }
}

@media(max-width:600px){
  .container{
    width:calc(100% - 28px) !important;
  }

  .brand{
    width:188px !important;
  }
  .brand img{
    width:188px !important;
    transform:translateY(-3px) !important;
  }

  .hero{
    overflow:hidden;
  }
  .copy{
    padding-top:38px !important;
  }
  .copy h1{
    font-size:48px !important;
    line-height:1.01 !important;
    margin:18px 0 20px !important;
  }
  .eyebrow{
    font-size:10px !important;
  }
  .lead{
    margin-top:24px !important;
    font-size:14px !important;
    line-height:1.7 !important;
  }
  .actions{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:10px !important;
    margin-top:22px !important;
  }
  .actions .btn{
    padding:13px 12px !important;
  }

  .approved-art{
    height:355px !important;
  }

  .services{
    grid-template-columns:1fr 1fr !important;
    padding:14px !important;
    gap:0;
  }
  .svc{
    padding:16px 8px !important;
    border-right:0 !important;
    border-bottom:1px solid var(--line) !important;
  }
  .svc:nth-child(odd){
    border-right:1px solid var(--line) !important;
  }
  .svc:nth-child(5){
    grid-column:1/-1;
    border-right:0 !important;
  }
  .more{
    padding:18px 0 4px !important;
  }

  .strip .container{
    padding:15px 0 !important;
  }

  .split,.clinic-grid,.approach-grid{
    gap:30px !important;
  }
  .cards{
    grid-template-columns:1fr !important;
  }
  .parents{
    grid-template-columns:1fr !important;
  }

  
  
  
  

  .clinic-photo{
    height:300px !important;
  }

  .contactbox{
    display:grid !important;
    gap:18px;
    padding:24px !important;
  }

  .foot{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .foot>div:first-child img{
    width:180px !important;
  }
}

@media(max-width:380px){
  .copy h1{font-size:43px !important}
  .actions{grid-template-columns:1fr !important}
  .services{grid-template-columns:1fr !important}
  .svc:nth-child(odd){border-right:0 !important}
  .svc:nth-child(5){grid-column:auto}
}


/* v2.A.15 — keep the EndoVibe design consistent in light/dark browser profiles */
:root{
  color-scheme:only light;
}

html,
body{
  background:#ffffff !important;
  color:var(--navy) !important;
}

/* Explicitly pin authored surfaces so dark-preference browsers do not recolor them. */
header,
.nav,
.links,
.services,
.card,
.contactbox,
.foot>div:first-child img{
  background-color:#ffffff;
}

.hero{
  background:linear-gradient(110deg,#fff 0%,#fbfefe 44%,#eafafa 100%) !important;
}

.tint{
  background:var(--mint) !important;
}

.approach{
  background:#f4fbfc !important;
}

.clinic{
  background:#f7fbfc !important;
}

.strip,
footer{
  background:#12395f !important;
  color:#ffffff !important;
}

.contact{
  background:#ffffff !important;
}

/* If the user agent reports dark preference, retain the authored light EndoVibe palette. */
@media (prefers-color-scheme: dark){
  :root{
    color-scheme:only light;
  }

  html,
  body{
    background:#ffffff !important;
    color:var(--navy) !important;
  }

  header,
  .nav,
  .links,
  .services,
  .card,
  .contact,
  .foot>div:first-child img{
    background:#ffffff !important;
  }

  .hero{
    background:linear-gradient(110deg,#fff 0%,#fbfefe 44%,#eafafa 100%) !important;
  }

  .tint{
    background:var(--mint) !important;
  }

  .approach{
    background:#f4fbfc !important;
  }

  .clinic{
    background:#f7fbfc !important;
  }

  .contactbox{
    background:#e9f8f7 !important;
  }

  .strip,
  footer{
    background:#12395f !important;
    color:#ffffff !important;
  }

  .links a,
  .copy h1,
  .section h2,
  .card h3,
  .contactbox h2,
  .approach-item h3{
    color:var(--navy) !important;
  }

  .copy h1 em,
  .section h2 em,
  .approach-left h2 em,
  .more,
  .tag,
  .eyebrow{
    color:var(--teal) !important;
  }

  .lead,
  .section p,
  .card p,
  .contactbox p,
  .approach-item p{
    color:var(--muted) !important;
  }
}

/* v2.A.16 — final optical alignment of desktop header logo */
@media(min-width:1041px){
  .brand img{
    transform:translateY(-12px) !important;
  }
}

/* v2.A.17 — psychodietetyka */
.card .card-note{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
  font-size:12px;
  line-height:1.65;
}

/* v2.x.20 SEO + technical polish */

.mobile-booking-link{display:none}
@media(max-width:1040px){
 .links.mobile-open::after{display:none!important}
 .links .mobile-booking-link{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:12px;border-radius:9px;background:var(--teal);color:#fff!important;font-size:14px;font-weight:800;border-bottom:0!important}
}


/* v2.A.21 */
.hero,
.hero-inner,
.approved-art{
  background: rgb(243,249,252) !important;
}





.copy .lead{
  margin-top: 26px !important;
}

@media (max-width: 1040px) {
  
  .copy .lead{ margin-top: 22px !important; }
}

@media (max-width: 600px) {
  
  .copy .lead{ margin-top: 20px !important; }
}


/* Decorative line: one real element in normal document flow. */
.copy::after,
.copy h1::after{
  content: none !important;
  display: none !important;
}
.copy h1{ margin-bottom: 0 !important; }
.copy > .hero-line{
  display: block;
  position: static;
  width: 36px;
  height: 2px;
  flex: none;
  margin: 26px 0;
  padding: 0;
  border: 0;
  background-color: var(--teal);
}
.copy > .hero-line + .lead{ margin-top: 0 !important; }
@media (max-width: 1040px) {
  .copy > .hero-line{ margin-top: 22px; margin-bottom: 22px; }
}
@media (max-width: 600px) {
  .copy > .hero-line{ margin-top: 20px; margin-bottom: 20px; }
}

/* Orły Medycyny: single small mark in the existing footer only. */
footer .foot .footer-award{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}
footer .foot .footer-award > img.footer-award__badge{
  display: block;
  flex: 0 0 68px;
  width: 68px !important;
  height: auto !important;
  max-width: 68px !important;
  aspect-ratio: 100 / 113;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  box-sizing: border-box !important;
  background: transparent !important;
  filter: none !important;
  transform: none !important;
  clip-path: none !important;
  object-fit: contain;
}
footer .foot .footer-award__caption{
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
footer .foot .footer-award__caption strong{
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}
footer .foot .footer-award__caption span{
  color: #aec0cf;
  font-size: 11px;
}
@media (max-width: 600px) {
  footer .foot .footer-award{ gap: 14px; margin-top: 12px; }
  footer .foot .footer-award > img.footer-award__badge{
    flex-basis: 60px;
    width: 60px !important;
    max-width: 60px !important;
  }
}


/* Footer: scoped layout, independent of the old .foot rules. */
.site-footer{
  background: linear-gradient(115deg, #143a5e, #103553) !important;
  color: #fff !important;
  padding: 48px 0 24px;
}
.site-footer .footer-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) minmax(0, 1.16fr);
  align-items: center;
  gap: 36px;
}
.footer-layout > *{ min-width: 0; margin: 0; }
.site-footer .footer-brand__logo{
  display: block;
  width: 302px;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  filter: none;
  object-fit: contain;
}
.site-footer .footer-brand__description{
  margin: 18px 0 0;
  max-width: 350px;
  color: #bbd0df;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer .footer-brand__description strong{ color: #fff; font-size: 15px; font-weight: 600; }
.site-footer .footer-recognition,
.site-footer .footer-contact{
  border-left: 1px solid rgba(177, 211, 224, .25);
  padding-left: 30px;
}
.site-footer .footer-recognition{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-height: 154px;
}
.site-footer .footer-recognition__badge{
  display: block;
  flex: 0 0 88px;
  width: 88px;
  max-width: 88px;
  height: auto;
  aspect-ratio: 100 / 113;
  padding: 0;
  margin: 0;
  background: transparent;
  object-fit: contain;
  filter: none;
}
.site-footer .footer-recognition__text{ min-width: 0; }
.site-footer .footer-recognition__title{
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
}
.site-footer .footer-recognition__caption{ color: #bbd0df; font-size: 13px; line-height: 1.5; margin: 0; }
.site-footer .footer-contact h2{ color: #fff; font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 14px; letter-spacing: -.01em; }
.site-footer .footer-contact__details{ display: grid; gap: 5px; font-style: normal; }
.site-footer .footer-contact__row{
  display: flex;
  gap: 13px;
  align-items: flex-start;
  min-height: 34px;
  color: #edf5fa;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}
.site-footer .footer-contact__row span{ min-width: 0; overflow-wrap: anywhere; }
.site-footer .footer-contact__row:hover{ color: #50d6d8; }
.site-footer a:focus-visible{ outline: 2px solid #50d6d8; outline-offset: 4px; border-radius: 3px; }
.site-footer .footer-contact__icon{ display: block; color: #20c5cb; flex: 0 0 22px; margin-top: 1px; }
.site-footer .footer-contact__location{ margin-top: 6px; }
.site-footer .footer-contact__location strong{ font-weight: 600; }
.site-footer .footer-bottomline{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(177, 211, 224, .25);
  margin-top: 38px;
}
.site-footer .footer-bottomline p{ color: #b9cddb; font-size: 11px; line-height: 1.6; margin: 0; }
@media (max-width: 1100px) and (min-width: 1001px) {
  .site-footer .footer-layout{ gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.15fr); }
  .site-footer .footer-recognition, .site-footer .footer-contact{ padding-left: 20px; }
  .site-footer .footer-recognition{ gap: 14px; }
  .site-footer .footer-recognition__title{ font-size: 15px; }
}
@media (max-width: 1000px) {
  .site-footer .footer-layout{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
  .site-footer .footer-contact{ grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 26px; border-top: 1px solid rgba(177, 211, 224, .25); }
  .site-footer .footer-contact__details{ grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; }
  .site-footer .footer-contact__row{ font-size: 13px; }
  .site-footer .footer-contact__location{ margin-top: 0; }
}
@media (max-width: 640px) {
  .site-footer{ padding: 34px 0 22px; }
  .site-footer .footer-layout{ grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site-footer .footer-brand__logo{ width: 260px; }
  .site-footer .footer-brand__description{ font-size: 13px; margin-top: 14px; }
  .site-footer .footer-recognition{ min-height: 0; padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(177, 211, 224, .25); gap: 20px; }
  .site-footer .footer-recognition__badge{ flex-basis: 76px; width: 76px; max-width: 76px; }
  .site-footer .footer-contact{ grid-column: auto; padding-top: 24px; }
  .site-footer .footer-contact__details{ grid-template-columns: minmax(0, 1fr); gap: 0; }
  .site-footer .footer-contact__row{ min-height: 44px; align-items: center; font-size: 15px; }
  .site-footer .footer-contact__location{ align-items: flex-start; margin-top: 6px; }
  .site-footer .footer-contact__icon{ margin-top: 1px; }
  .site-footer .footer-bottomline{ flex-direction: column; gap: 8px; margin-top: 30px; padding-top: 18px; }
}

/* 2.A.24: scoped additions; established hero/header/footer layout is preserved. */
.hero-picture{display:block;width:100%;height:100%}
.skip-link{position:fixed;left:16px;top:-100px;z-index:1000;background:var(--navy);color:#fff;padding:14px 20px;border-radius:6px;font-size:14px}
.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--teal);outline-offset:5px}
.section-intro{max-width:850px;margin:-12px 0 28px}
#pomagam .card p{font-size:13px;line-height:1.8}
.text-link{color:#007d85;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.text-link:hover{text-decoration-thickness:2px}
.card>.text-link{display:inline-block;font-size:12px;line-height:1.6;margin-top:16px}
.parents-resource{margin-top:28px;padding:24px;background:var(--mint);border:1px solid var(--line);border-radius:14px}
.parents-resource h3{margin:0 0 10px;font-size:19px;line-height:1.4}
.parents-resource p{margin:0 0 14px}
.parents-resource>.text-link{font-size:14px;line-height:1.7}
.faq-section{background:#f7fbfc}
.faq-list{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line);padding:0}
.faq-item summary{cursor:pointer;position:relative;padding:21px 34px 21px 0;font-size:16px;font-weight:700;line-height:1.6;list-style:none;color:var(--navy)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';position:absolute;right:2px;top:20px;color:var(--teal);font-size:23px;line-height:1.3;font-weight:500}
.faq-item[open] summary::after{content:'−'}
.faq-answer{padding:0 0 18px}
.faq-answer p{margin:0 0 12px}
.faq-answer p:last-child{margin-bottom:0}
#pytania{scroll-margin-top:120px}
.article-hero{background:rgb(243,249,252);padding:36px 0 58px}
.breadcrumbs{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 30px}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:7px 12px;list-style:none;margin:0;padding:0}
.breadcrumbs li+li::before{content:'›';margin-right:12px;color:var(--teal)}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.article-hero h1{font-size:clamp(38px,4.5vw,60px);line-height:1.12;letter-spacing:-.045em;max-width:940px;margin:16px 0 22px}
.article-hero h1 em{font-style:normal;color:var(--teal)}
.article-lead{font-size:16px;line-height:1.9;color:var(--muted);max-width:810px;margin:0}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:70px;padding-top:60px;padding-bottom:65px;align-items:start}
.article-content{min-width:0}
.article-content section+section{margin-top:42px}
.article-content h2{font-size:29px;line-height:1.25;letter-spacing:-.025em;margin:0 0 18px}
.article-content h3{font-size:19px;line-height:1.4;margin:25px 0 10px}
.article-content p,.article-content li{font-size:15px;line-height:1.9;color:var(--muted)}
.article-content p{margin:0 0 16px}
.article-content ul,.article-content ol{padding-left:23px}
.article-content li{margin-bottom:9px;padding-left:4px}
.article-content li::marker{color:var(--teal);font-weight:700}
.article-content strong{color:var(--navy)}
.article-note{border-left:3px solid var(--teal);background:var(--mint);padding:19px 22px;border-radius:0 12px 12px 0}
.article-note p:last-child{margin-bottom:0}
.article-sidebar{background:#f7fbfc;border:1px solid var(--line);border-radius:18px;padding:26px}
.article-sidebar h2{font-size:21px;line-height:1.35;letter-spacing:-.02em;margin:0 0 16px}
.article-sidebar p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 18px}
.article-sidebar strong{color:var(--navy)}
.article-sidebar .btn{width:100%;margin-bottom:16px}
.article-sidebar .text-link{font-size:13px;line-height:1.7}
.article-related{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.article-related a{display:block;margin-top:14px}
@media(max-width:1040px){
 #pytania{scroll-margin-top:88px}
 .article-layout{grid-template-columns:minmax(0,1fr) 270px;gap:32px}
}
@media(max-width:760px){
 .article-layout{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:38px;padding-bottom:42px}
 .article-hero{padding:24px 0 38px}
 .article-hero h1{font-size:38px}
 .article-content h2{font-size:27px}
 .article-lead{font-size:15px}
 .breadcrumbs{margin-bottom:24px}
 .parents-resource{padding:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* 2.A.25 — keep the location together and give the desktop introduction room. */
.hero .lead .hero-intro{
  display:inline-block;
  max-width:100%;
  vertical-align:top;
  text-wrap:balance;
}
.hero .lead .hero-location{white-space:nowrap}
@media(min-width:1200px){
  .hero .lead .hero-intro{
    width:max-content;
    max-width:calc(100% + 140px);
  }
}


/* 2.A.27 — pediatric psychodietetics page and contextual resource. */
.psych-resource{background:#f4f9fc}
.psych-topic-tags{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 0}
.psych-topic-tags span{border:1px solid #cce4e5;border-radius:30px;background:#fff;padding:7px 13px;font-size:12px;font-weight:600;line-height:1.6;color:#315b6c}
.psychodietetics-page .article-hero h1{font-size:clamp(32px,4.5vw,60px)}
.psychodietetics-page .article-content [id]{scroll-margin-top:125px}
.article-toc{padding:21px 24px;border:1px solid var(--line);border-radius:14px;margin:0 0 40px;background:#f7fbfc}
.article-content .article-toc p{font-weight:800;color:var(--navy);margin:0 0 12px;font-size:13px}
.article-toc>div{display:flex;flex-wrap:wrap;gap:10px 20px}
.article-toc a{font-size:13px;line-height:1.7;font-weight:600;color:#007d85;text-decoration:underline;text-underline-offset:4px}
.article-content .psych-qualification{margin:0 0 20px;padding:23px 25px}
.article-content .psych-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#007d85;margin:0 0 8px}
.article-content .psych-qualification h3{font-size:24px;margin:0 0 9px;line-height:1.3}
.article-content .psych-qualification p{margin-bottom:10px}
.article-content .psych-qualification p:last-child{margin-bottom:0}
.psych-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 20px}
.psych-topic-card{background:#f7fbfc;border:1px solid var(--line);border-radius:14px;padding:23px}
.article-content .psych-topic-card h3{font-size:18px;margin:0 0 12px;line-height:1.45}
.article-content .psych-topic-card p{font-size:14px;line-height:1.85;margin:0}
.article-content .psych-scope-note{font-size:13px;line-height:1.85}
.psych-sidebar-study{border-top:1px solid var(--line);padding-top:20px;margin-top:22px!important}
.article-content .source-ref{font-size:11px;vertical-align:super;color:#007d85;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.article-sources{border-top:1px solid var(--line);padding-top:27px;margin-bottom:25px}
.article-content .article-sources h2{font-size:20px;letter-spacing:0}
.article-content .article-sources p,.article-content .article-sources li{font-size:12px;line-height:1.8}
@media(max-width:1040px){.psychodietetics-page .article-content [id]{scroll-margin-top:90px}}
@media(max-width:760px){
 .psych-topic-grid{grid-template-columns:minmax(0,1fr)}
 .psych-topic-card{padding:20px}
 .article-toc{padding:19px 20px;margin-bottom:32px}
 .psych-topic-tags{gap:7px;margin-top:19px}
 .psych-topic-tags span{font-size:11px;padding:6px 11px}
 .article-content .psych-qualification{padding:20px}
 .article-content .psych-qualification h3{font-size:22px}
 .psychodietetics-page .article-hero .btn{white-space:normal;text-align:center;line-height:1.5}
}
