/* strony.css - wspolny rdzen CSS stron, wydzielony automatycznie.
   Nie edytowac recznie. Zrodlo: narzedzia/wydziel-strony-css.py */
button{cursor:pointer;background:none;border:none}
a{color:inherit;text-decoration:none}
a,button,[role="button"],input,select{transition:color var(--transition),background var(--transition),border-color var(--transition),box-shadow var(--transition),opacity var(--transition),transform var(--transition)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
/* ACCESSIBILITY MODES */

/* GRAIN OVERLAY */
.grain-overlay{position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.03;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>")}
/* SKIP LINK */

/* ================================================
   HEADER / NAV - WCAG 2.2 (target size ≥44px)
================================================ */

/* LOGO FIX: 64px height = ~147px width dla proporcji 1140×500 */
.nav-logo-light{display:block;height:64px;width:auto;max-width:220px}
.nav-logo-dark{display:none;height:64px;width:auto;max-width:220px}
/* ================================================
   SHARED SECTION STYLES
================================================ */
.section-inner{max-width:var(--content-wide);margin-inline:auto;padding-inline:1.5rem}
.section-pad{padding-block:clamp(4rem,8vw,6rem)}
.section-header{margin-bottom:3rem}
.section-eyebrow{font-size:var(--text-xs);font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--color-teal);background:none;border:0;border-radius:0;padding:0;margin-bottom:.75rem;display:flex;align-items:center;gap:.75rem}
.section-eyebrow::before{content:'';width:28px;height:2px;border-radius:0;background:#C96B1A;flex:0 0 auto}
/* ===== SYGNATURA I KOMPONENTY DUO (zatwierdzone 2026-07-08) ===== */
.duo-rule{border:0;height:1px;background:var(--color-divider);position:relative;margin:var(--space-7) 0}
.duo-rule::after{content:'';position:absolute;left:0;top:-1px;width:64px;height:3px;border-radius:var(--radius-full);background:var(--gradient-duo)}
.card-article{background:var(--color-surface);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform var(--transition),box-shadow var(--transition);display:flex;flex-direction:column;position:relative}
.card-article::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--gradient-duo);transition:width 320ms cubic-bezier(.16,1,.3,1)}
.card-article:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.card-article:hover::after{width:100%}
.card-article-img{aspect-ratio:16/10;object-fit:cover;width:100%;display:block;background:var(--color-surface-off)}
.card-article-body{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-2);flex:1}
.card-tag{font-size:var(--text-2xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-teal);width:fit-content}
.card-article-title{font-family:var(--font-display);font-size:var(--text-lg);font-weight:400;line-height:1.25}
.card-article-title a{color:var(--color-text);text-decoration:none}
.card-meta{font-size:var(--text-xs);color:var(--color-text-muted);margin-top:auto}
.card-path{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-3);transition:border-color var(--transition),box-shadow var(--transition);text-decoration:none;color:var(--color-text)}
.card-path:hover{border-color:var(--color-orange);box-shadow:var(--shadow-md)}
.card-path-icon{width:48px;height:48px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;font-size:1.35rem}
.card-path-icon.icon-teal{background:rgba(1,105,111,.1)}
.card-path-icon.icon-organic{background:rgba(242,178,139,.28)}
.card-path-icon.icon-navy{background:rgba(27,58,87,.09)}
.card-path h3{font-family:var(--font-display);font-weight:400;font-size:var(--text-md)}
.card-path p{font-size:var(--text-sm);color:var(--color-text-muted)}
.card-path-cta{font-size:var(--text-sm);font-weight:700;color:var(--color-orange-text);margin-top:auto;display:flex;align-items:center;gap:.4rem;transition:gap var(--transition)}
.card-path:hover .card-path-cta{gap:.7rem}
.card-story{position:relative;border-radius:var(--radius-xl);overflow:hidden;min-height:340px;display:flex;align-items:flex-end;box-shadow:var(--shadow-md);color:#fff;text-decoration:none}
.card-story-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-story::before{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(10,25,41,.92) 0%,rgba(10,25,41,.35) 55%,transparent 100%)}
.card-story-body{position:relative;padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-2)}
.card-story-duo{width:40px;height:3px;border-radius:var(--radius-full);background:var(--gradient-duo)}
.card-story-quote{font-family:var(--font-display);font-size:var(--text-lg);line-height:1.3;font-weight:400;color:#fff}
.card-story-name{font-size:var(--text-xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-organic)}
.section-desc{font-size:var(--text-base);color:var(--color-text-muted);max-width:60ch;line-height:1.75}
/* ================================================
   HERO
================================================ */
.hero-wrapper{background:#F4F2EC;position:relative;overflow:hidden}
.hero-wrapper::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 80% 60% at 70% 50%,rgba(1,105,111,.07) 0%,transparent 70%)}
.hero-label{display:flex;align-items:center;gap:.75rem;font-size:var(--text-xs);font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#1B3A57;background:none;border:0;border-radius:0;padding:0;margin-bottom:1.5rem}.hero-content .hero-label{padding:0;text-align:left;justify-content:flex-start}.hero-label::before{content:'';flex:0 0 auto;width:28px;height:2px;border-radius:0;background:#01696F;display:block}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.hero-visual-badge{position:absolute;bottom:1.5rem;left:1.5rem;background:rgba(244,242,236,.95);backdrop-filter:blur(8px);border-radius:var(--radius-xl);padding:.875rem 1.25rem;display:flex;align-items:center;gap:.75rem;box-shadow:var(--shadow-md);max-width:260px}
.badge-icon{width:40px;height:40px;border-radius:var(--radius-full);background:var(--color-primary-hl);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--color-primary)}
.badge-text{font-size:var(--text-xs);color:var(--color-text-muted)}
.badge-text strong{display:block;color:var(--color-text);font-size:var(--text-xs);font-weight:600}
@media(max-width:480px){.hero-actions{flex-direction:column;align-items:flex-start}.btn-primary,.btn-secondary{width:100%;justify-content:center}}
/* SEGMENT */
.segment-section{background:var(--color-surface)}
.segment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.segment-card{border-radius:var(--radius-xl);padding:1.5rem;border:1px solid var(--color-border);background:var(--color-bg);display:flex;flex-direction:column;gap:.5rem;transition:all var(--transition)}
.segment-card:hover{border-color:var(--color-orange);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.segment-card h3{font-size:var(--text-base);font-weight:600;color:var(--color-text)}
.segment-card p{font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.6}
@media(max-width:900px){.segment-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.segment-grid{grid-template-columns:1fr}}
/* TRUST BAR */
.trust-bar{background:var(--color-surface-off);border-block:1px solid var(--color-divider);padding-block:1.25rem}
.trust-bar-inner{max-width:var(--content-wide);margin-inline:auto;padding-inline:1.5rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem 2rem}
@media(max-width:700px){.trust-bar-inner{justify-content:center}}
.trust-item{display:flex;align-items:center;gap:.5rem;font-size:var(--text-sm);color:var(--color-text-muted);white-space:nowrap}
.trust-item svg{color:var(--color-teal);flex-shrink:0}
.trust-badge{display:inline-flex;align-items:center;gap:.35rem;color:var(--color-teal);font-size:var(--text-2xs);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
/* FILARY */
.pillars-section{background:var(--color-surface)}
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.pillar-card{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:2rem;display:flex;flex-direction:column;gap:1rem;cursor:pointer;position:relative;overflow:hidden;transition:all var(--transition)}
.pillar-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:rgba(1,105,111,.3)}
.pillar-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.pillar-icon{width:52px;height:52px;border-radius:var(--radius-lg);background:var(--color-primary-hl);display:flex;align-items:center;justify-content:center;color:var(--color-primary);flex-shrink:0}
.badge-wip,.badge-wip-muted{font-size:var(--text-2xs);font-weight:600;letter-spacing:2px;text-transform:uppercase;color:inherit;background:none;border:0;border-radius:0;padding:0;white-space:nowrap;align-self:flex-start}
.pillar-title{font-family:var(--font-display);font-size:var(--text-lg);font-weight:400;color:var(--color-text)}
.pillar-desc{font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.7;flex:1}
.pillar-articles{font-size:var(--text-xs);color:var(--color-text-faint);font-weight:500;margin-top:auto}
.pillar-articles span{color:var(--color-primary);font-weight:600}
@media(max-width:900px){.pillars-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.pillars-grid{grid-template-columns:1fr}}
/* YOUTUBE */
.youtube-section{background:var(--color-surface-off)}
.youtube-header{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:3rem}
.yt-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.875rem}
@media(max-width:1100px){.yt-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.yt-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.yt-grid{grid-template-columns:1fr}}
.yt-card{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;position:relative;overflow:hidden;transition:all var(--transition)}
.yt-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}
.yt-card-accent{position:absolute;top:0;left:0;right:0;height:3px}
.yt-card-accent.green{background:var(--color-teal)}
.yt-card-accent.orange{background:var(--color-orange)}
.yt-card-accent.navy{background:#1B3A57}
.yt-card-icon{width:44px;height:44px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;font-size:var(--text-lg)}
.yt-card-icon.green{background:rgba(1,105,111,.1);color:var(--color-teal)}
.yt-card-icon.orange{background:rgba(201,107,26,.1);color:var(--color-orange)}
.yt-card-icon.navy{background:var(--color-primary-hl);color:var(--color-primary)}
.yt-status.live{color:var(--color-teal)}
.yt-status.soon{color:var(--color-orange-text)}
.yt-status.event{color:var(--color-primary)}
.yt-card-title{font-family:var(--font-display);font-size:var(--text-md);font-weight:400;color:var(--color-text);line-height:1.3}
.yt-card-desc{font-size:var(--text-xs);color:var(--color-text-muted);line-height:1.6;flex:1}
.yt-card-meta{font-size:var(--text-2xs);color:var(--color-text-faint)}
.articles-right-col{display:flex;flex-direction:column;gap:1.25rem}
.article-featured-body{background:var(--color-surface);border-radius:var(--radius-xl);border:1px solid var(--color-border);padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;position:relative;overflow:hidden}
.article-featured-body::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--gradient-duo);transition:width 320ms cubic-bezier(.16,1,.3,1)}
a:hover .article-featured-body::after,.article-featured-body:hover::after{width:100%}
.article-tag{display:inline-flex;align-items:center;font-size:var(--text-2xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-teal);width:fit-content}
.article-title:hover{color:var(--color-teal)}
.article-meta{display:flex;align-items:center;gap:1rem;margin-top:auto}
.article-meta-item{display:flex;align-items:center;gap:.25rem;font-size:var(--text-xs);color:var(--color-text-faint)}
.article-meta-item svg{width:14px;height:14px}
.articles-sidebar{display:flex;flex-direction:column;gap:1rem}
.article-card-small{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:1.25rem;display:flex;gap:1rem;align-items:flex-start;transition:all var(--transition);position:relative;overflow:hidden}
.article-card-small::after{content:'';position:absolute;left:0;bottom:0;height:3px;width:0;background:var(--gradient-duo);transition:width 320ms cubic-bezier(.16,1,.3,1)}
.article-card-small:hover::after{width:100%}
.article-card-small:hover{box-shadow:var(--shadow-sm);border-color:rgba(1,105,111,.25)}
.article-small-body{display:flex;flex-direction:column;gap:.375rem}
.article-small-title{font-size:var(--text-sm);font-weight:600;color:var(--color-text);line-height:1.4}
.article-small-title:hover{color:var(--color-teal)}
.article-small-meta{font-size:var(--text-xs);color:var(--color-text-faint)}
/* INNOWACJE */
.innovation-section{background:var(--color-surface)}
.innovation-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:stretch}
.innovation-img-wrap{border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-lg);height:100%;min-height:380px}
.innovation-img-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.innovation-content{display:flex;flex-direction:column;gap:1.5rem;justify-content:center}
.innovation-items{display:flex;flex-direction:column;gap:1rem}
.innovation-item:hover{box-shadow:var(--shadow-sm);border-color:rgba(1,105,111,.3)}
.innovation-item-icon{width:44px;height:44px;border-radius:var(--radius-lg);background:var(--color-primary-hl);display:flex;align-items:center;justify-content:center;color:var(--color-primary);flex-shrink:0}
.innovation-item-title{font-size:var(--text-base);font-weight:600;color:var(--color-text);margin-bottom:.25rem}
.innovation-item-desc{font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.65}
@media(max-width:768px){.innovation-grid{grid-template-columns:1fr;align-items:start}.innovation-img-wrap{height:auto;min-height:unset}.innovation-img-wrap img{height:auto;aspect-ratio:4/3}}
/* SPOŁECZNOŚĆ - teal section */
.community-section{background:#01696F}
.community-content{display:flex;flex-direction:column}
.community-actions{margin-top:auto;padding-top:2rem}
.community-title{font-family:var(--font-display);font-size:clamp(1.75rem,1rem + 2.5vw,2.75rem);font-weight:400;color:#F4F2EC;line-height:1.15;margin-bottom:1rem}
.community-features{display:flex;flex-direction:column;gap:.75rem;margin-top:2rem}
.community-feature{display:flex;align-items:center;gap:.75rem;font-size:var(--text-sm);color:rgba(244,242,236,.9)}
.community-feature svg{width:18px;height:18px;flex-shrink:0;color:rgba(244,242,236,.7)}
.community-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}
/* ZASOBY - explicit background fix */
.resources-section{background:var(--color-surface-off)}
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.resource-card:hover{box-shadow:var(--shadow-md);border-color:rgba(1,105,111,.3);transform:translateY(-2px)}
.resource-card-icon{font-size:var(--text-2xl);line-height:1}
.resource-card-title{font-size:var(--text-base);font-weight:600;color:var(--color-text)}
.resource-card-desc{font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.65;flex:1}
@media(max-width:900px){.resources-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.resources-grid{grid-template-columns:1fr}}
/* NEWSLETTER */
.newsletter-section{background:var(--color-surface)}
.newsletter-inner .section-desc{margin-inline:auto}
.newsletter-coming-soon{margin-top:2rem;padding:2rem;background:var(--color-surface);border-radius:var(--radius-xl);border:1px solid var(--color-border)}
.newsletter-coming-soon-icon{font-size:2.5rem;margin-bottom:1rem}
.newsletter-coming-soon h3{font-family:var(--font-display);font-size:var(--text-lg);font-weight:400;color:var(--color-text);margin-bottom:.5rem}
.newsletter-coming-soon p{font-size:var(--text-sm);color:var(--color-text-muted)}
/* O FUNDACJI - explicit light bg, fixed */
.about-section{background:var(--color-surface-off)}
.about-header{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:2.5rem}
.about-status-badge{display:inline-flex;align-items:center;gap:.5rem;color:var(--color-teal);font-size:var(--text-xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.about-quote-block blockquote{font-family:var(--font-display);font-size:var(--text-lg);font-weight:400;font-style:italic;color:var(--color-text);line-height:1.6}
.about-quote-block cite{display:block;margin-top:.75rem;font-size:var(--text-sm);font-style:normal;color:var(--color-text-muted);font-weight:500}
.about-logo-area{display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%}
.about-logo-wrap{background:transparent;padding:0;display:flex;justify-content:center;width:100%}
.about-logo-img{width:100%;max-width:320px;height:auto;display:block}
/* founder-photo legacy removed */
.about-content{display:flex;flex-direction:column;gap:2rem}
.about-desc{font-size:var(--text-base);color:var(--color-text-muted);line-height:1.8;max-width:70ch}
.about-pillars{display:flex;flex-direction:column;gap:.875rem;margin-top:.5rem}
.about-pillar-icon{width:44px;height:44px;border-radius:var(--radius-lg);background:var(--color-primary-hl);display:flex;align-items:center;justify-content:center;color:var(--color-primary);flex-shrink:0}
.about-pillar-title{font-size:var(--text-sm);font-weight:600;color:var(--color-text);margin-bottom:.25rem}
.about-pillar-desc{font-size:var(--text-xs);color:var(--color-text-muted);line-height:1.6}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;gap:2rem;align-items:start}.about-logo-area{align-items:center}.about-quote-block{margin-top:1.75rem}}
.fade-in.visible{opacity:1;transform:translateY(0)}
.fade-in-delay-1{transition-delay:.1s}
.fade-in-delay-2{transition-delay:.2s}
.fade-in-delay-3{transition-delay:.3s}
.fade-in-delay-4{transition-delay:.4s}
.fade-in-delay-5{transition-delay:.5s}
@media(prefers-reduced-motion:reduce){.fade-in{opacity:1;transform:none}}
/* MEDICAL DISCLAIMER w stopce */

.inline-disclaimer{display:flex;align-items:flex-start;gap:.625rem;padding:.75rem 1rem;background:var(--color-surface-off);border-radius:var(--radius-lg);border-left:3px solid var(--color-teal);margin-top:2.5rem}
.inline-disclaimer svg{width:14px;height:14px;flex-shrink:0;color:var(--color-teal);margin-top:.2rem}
.inline-disclaimer p{font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.55;margin:0}
.inline-disclaimer strong{color:var(--color-text);font-weight:600}
/* ABOUT LOGO light/dark switch */
.about-logo-light{display:block;width:100%;max-width:300px;height:auto}
.about-logo-dark{display:none;width:100%;max-width:300px;height:auto}
.text-center{text-align:center}
.split-footer{grid-column:1/-1;margin-top:2rem}
.split-footer p{max-width:70ch}
.split-content-left{min-height:0}
.split-content-right{display:flex;flex-direction:column;min-height:0}
/* Innovation: flex:1 zamiast height:100% - żeby button pod spodem nie powodował przepełnienia */
.inn-img-full{border-radius:var(--radius-2xl);overflow:hidden;box-shadow:var(--shadow-lg);height:100%}
.inn-img-full img{width:100%;height:100%;object-fit:cover;display:block}
.about-header-left{display:flex;flex-direction:column;gap:.5rem}
.about-header-right{display:flex;flex-direction:column;gap:.75rem}
.about-content-right{display:flex;flex-direction:column}
.story-para { font-size:clamp(1rem,.95rem + .15vw,1.05rem); color:var(--color-text-muted); line-height:1.85; }
.story-para + .story-para { margin-top:.625rem; }
