:root {
	--fund-cream: #fbf7ef;
	--fund-paper: #fffdf8;
	--fund-green: #285b4d;
	--fund-green-deep: #173f35;
	--fund-gold: #b58a49;
	--fund-wine: #8d3f4a;
	--fund-ink: #293632;
	--fund-muted: #65716c;
	--fund-line: rgba(40, 91, 77, .16);
	--fund-shadow: 0 20px 55px rgba(38, 55, 48, .12);
	--fund-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--fund-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body.fundacja-core-page { margin: 0; background: var(--fund-cream); color: var(--fund-ink); font-family: var(--fund-sans); }
body.fundacja-core-page * { box-sizing: border-box; }
body.fundacja-core-page a { color: inherit; }
.fund-skip { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: #fff; padding: .8rem 1rem; border-radius: .5rem; }
.fund-skip:focus { top: 1rem; }

.fund-header { position: relative; z-index: 1000; background: #fff; border-bottom: 0; }
.fund-header__inner { max-width: 1290px; min-height: 90px; margin: auto; padding: .35rem 1.5rem; display: flex; align-items: center; gap: 2rem; }
.fund-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: 0 0 auto; }
.fund-brand img { width: 78px; height: 58px; object-fit: contain; }
.fund-brand strong { display: block; color: #111; font-family: Arial,sans-serif; font-size: 1.35rem; }
.fund-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.fund-nav a { padding: .65rem .65rem; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.fund-nav a:hover, .fund-nav a:focus-visible { background: transparent; color: #555; }
.fund-nav__dropdown{position:relative}.fund-nav__dropdown>button{padding:.65rem;border:0;background:transparent;font:650 .86rem var(--fund-sans);cursor:pointer}.fund-nav__submenu{position:absolute;right:0;top:100%;width:270px;padding:.55rem;display:none;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.15)}.fund-nav__dropdown:hover .fund-nav__submenu,.fund-nav__dropdown--open .fund-nav__submenu{display:grid}.fund-nav__submenu a{border-radius:0;padding:.75rem}
.fund-menu-button { display: none; margin-left: auto; width: 45px; height: 42px; border: 1px solid var(--fund-line); border-radius: 12px; background: #fff; padding: 10px; }
.fund-menu-button > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--fund-green); }

.fund-footer{min-height:300px;padding:70px max(24px,calc((100vw - 1280px)/2));display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px;background:#111b17;color:#fff}.fund-footer a{color:#dce5e0;text-decoration:none}.fund-footer nav,.fund-footer__legal{display:grid;align-content:start;gap:15px}.fund-footer__brand strong{display:block;color:#fff;font:500 38px/1 Georgia,serif}.fund-footer__brand span{display:block;margin-top:25px;color:#aebbb5;line-height:1.5}.fund-footer__legal{font-size:14px}

.fund-eyebrow { margin: 0 0 .75rem; color: var(--fund-gold); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fund-button { display: inline-flex; padding: .9rem 1.25rem; border-radius: 999px; background: var(--fund-wine); color: #fff !important; text-decoration: none; font-weight: 700; }
.fund-page-hero { min-height: 430px; display: grid; align-items: end; padding: clamp(3rem, 8vw, 7rem) max(1.5rem, calc((100vw - 1120px)/2)); position: relative; background: var(--fund-green-deep); overflow: hidden; }
.fund-page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(16,47,39,.92), rgba(16,47,39,.25)), var(--fund-page-image); background-size: cover; background-position: center; }
.fund-page-hero > div { position: relative; max-width: 790px; }
.fund-page-hero h1 { margin: 0; color: #fff; font: 700 clamp(2.3rem, 5vw, 4.8rem)/1.05 var(--fund-serif); }
.fund-page--production{background:#fff}.fund-page--production .fund-page-content{max-width:1290px;margin:auto;padding:0 1.5rem 4rem;font-size:1rem;line-height:1.6}.fund-page--production .fund-page-content img{max-width:100%;height:auto}

.fund-bank { max-width: 1120px; margin: 2rem auto 6rem; padding: clamp(2rem, 5vw, 4rem); background: #fff; border: 1px solid var(--fund-line); border-radius: 30px; text-align: center; box-shadow: var(--fund-shadow); }
.fund-bank h2 { margin: 0 0 2rem; color: var(--fund-green); font: 700 clamp(1.8rem, 3vw, 2.6rem) var(--fund-serif); }
.fund-bank__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fund-bank__grid p { margin: 0; padding: 1.3rem; border-radius: 18px; background: var(--fund-cream); }
.fund-bank__grid span, .fund-bank__grid strong { display: block; }
.fund-bank__grid span { margin-bottom: .55rem; color: var(--fund-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.fund-bank__grid strong { color: var(--fund-green-deep); font-size: clamp(.85rem, 1.8vw, 1.05rem); }
.fund-cegielki-home { padding: 2rem 0; }
.fund-poradnia-page { background: var(--fund-cream); }

.fund-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fund-reveal.fund-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fund-reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1040px) {
	.fund-menu-button { display: block; }
	.fund-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; padding: 1rem; flex-direction: column; align-items: stretch; background: var(--fund-paper); border: 1px solid var(--fund-line); border-radius: 18px; box-shadow: var(--fund-shadow); }
	.fund-header--open .fund-nav { display: flex; }
	.fund-nav a { padding: .8rem 1rem; }
	.fund-nav__dropdown>button{text-align:left;width:100%;padding:.8rem 1rem}.fund-nav__submenu{position:static;width:100%;box-shadow:none;padding-left:1rem}
}
@media (max-width: 700px) {
	.fund-header__inner { min-height: 70px; padding: .55rem 1rem; }
	.fund-brand img { width:58px;height:46px; }
	.fund-brand strong { font-size: 1rem; }
	.fund-footer{grid-template-columns:1fr}.fund-bank__grid { grid-template-columns: 1fr; }
}
