/* START – szablony stron (bez Elementora) */

.sfe {
	--sfe-green: #afca00;
	--sfe-green-dark: #8ea300;
	--sfe-navy: #181c4c;
	--sfe-navy-soft: #2a3070;
	--sfe-ink: #262a33;
	--sfe-muted: #5b6070;
	--sfe-line: #e2e4ea;
	--sfe-soft: #f5f6f2;
	--sfe-yellow: #e6d21f;

	font-size: 17px;
	line-height: 1.65;
	color: var(--sfe-ink);
	font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.sfe *,
.sfe *::before,
.sfe *::after {
	box-sizing: border-box;
}

.sfe img {
	max-width: 100%;
	height: auto;
	display: block;
}

.sfe h1,
.sfe h2,
.sfe h3 {
	color: var(--sfe-navy);
	line-height: 1.2;
	margin: 0 0 .5em;
	font-weight: 700;
}

.sfe a {
	color: var(--sfe-navy-soft);
}

.sfe a:focus-visible,
.sfe button:focus-visible,
.sfe input:focus-visible,
.sfe textarea:focus-visible {
	outline: 3px solid var(--sfe-navy);
	outline-offset: 2px;
}

.sfe-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Przyciski ---------- */

.sfe-btn {
	display: inline-block;
	padding: 13px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.sfe-btn:hover {
	transform: translateY(-2px);
}

.sfe-btn--primary {
	background: var(--sfe-green);
	color: var(--sfe-navy);
}

.sfe-btn--primary:hover {
	background: #bcd80b;
	color: var(--sfe-navy);
}

.sfe-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .7);
}

.sfe-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.sfe-btn--dark {
	background: var(--sfe-navy);
	color: #fff;
}

.sfe-btn--dark:hover {
	background: var(--sfe-navy-soft);
	color: #fff;
}

.sfe-btn--outline-dark {
	background: transparent;
	color: var(--sfe-navy);
	border-color: var(--sfe-navy);
}

.sfe-btn--outline-dark:hover {
	background: rgba(24, 28, 76, .08);
}

/* ---------- Hero ---------- */

.sfe-hero {
	background: radial-gradient(120% 140% at 50% 0%, #1b2160 0%, #0d1136 70%);
	padding: 0 0 34px;
	text-align: center;
}

.sfe-hero__inner {
	max-width: 1381px;
	margin: 0 auto;
}

.sfe-hero__banner {
	width: 100%;
	height: auto;
}

.sfe-hero__claim {
	background: var(--sfe-green);
	color: var(--sfe-navy);
	font-size: clamp(1.05rem, 2.4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 26px;
	padding: 18px 20px;
}

.sfe-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	padding: 0 20px;
}

/* ---------- Karty skrótów ---------- */

.sfe-quick {
	padding: 60px 0 10px;
	background: #fff;
}

.sfe-quick__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.sfe-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	padding: 28px 22px 26px;
	background: #fff;
	border: 1px solid var(--sfe-line);
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.sfe-card:hover {
	transform: translateY(-4px);
	border-color: var(--sfe-green);
	box-shadow: 0 12px 28px rgba(24, 28, 76, .12);
}

.sfe-card__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #eef1e0;
	color: var(--sfe-navy);
}

.sfe-card__icon svg {
	width: 36px;
	height: 36px;
}

.sfe-card__title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--sfe-navy);
}

.sfe-card__text {
	color: var(--sfe-muted);
	font-size: .97rem;
	flex: 1 1 auto;
}

.sfe-card__more {
	font-weight: 700;
	font-size: .92rem;
	color: var(--sfe-green-dark);
}

/* ---------- Aktualności ---------- */

.sfe-news {
	padding: 62px 0;
	background: #fff;
}

.sfe-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 26px;
	border-bottom: 3px solid var(--sfe-green);
	padding-bottom: 12px;
}

.sfe-section-head h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.sfe-link-more {
	font-weight: 700;
	text-decoration: none;
	color: var(--sfe-navy);
}

.sfe-link-more:hover {
	text-decoration: underline;
}

.sfe-news__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.sfe-post {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sfe-line);
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease;
}

.sfe-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(24, 28, 76, .12);
}

.sfe-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--sfe-soft);
	overflow: hidden;
}

.sfe-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.sfe-post__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1b2160, var(--sfe-green));
}

.sfe-post__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
	flex: 1 1 auto;
}

.sfe-post__date {
	font-size: .85rem;
	color: var(--sfe-muted);
	text-transform: lowercase;
}

.sfe-post__title {
	font-size: 1.18rem;
	margin: 0;
}

.sfe-post__title a {
	color: var(--sfe-navy);
	text-decoration: none;
}

.sfe-post__title a:hover {
	text-decoration: underline;
}

.sfe-post__excerpt {
	margin: 0;
	color: var(--sfe-muted);
	font-size: .97rem;
	flex: 1 1 auto;
}

.sfe-post__more {
	font-weight: 700;
	font-size: .92rem;
	color: var(--sfe-green-dark);
}

/* ---------- 1,5% ---------- */

.sfe-support {
	padding: 56px 0;
	background: var(--sfe-yellow);
}

.sfe-support__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 40px;
	align-items: center;
}

.sfe-support h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.sfe-support p {
	margin: 0 0 14px;
	color: #3a3413;
}

.sfe-support a {
	color: #2a3070;
}

.sfe-krs {
	font-size: 1.15rem;
}

.sfe-krs span {
	font-weight: 700;
	letter-spacing: .08em;
	font-size: .85rem;
	text-transform: uppercase;
	color: #5c5417;
}

.sfe-krs strong {
	font-size: 1.35rem;
	color: var(--sfe-navy);
	letter-spacing: .02em;
}

.sfe-support__small {
	font-size: .9rem;
}

.sfe-support__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}

.sfe-support__banner {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

/* ---------- Partnerzy ---------- */

.sfe-partners {
	padding: 58px 0 66px;
	background: #fff;
}

.sfe-partners h2 {
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	margin-bottom: 26px;
	text-align: center;
}

.sfe-partners__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 18px 24px;
	align-items: center;
}

.sfe-partners__item a {
	display: grid;
	place-items: center;
	height: 90px;
	padding: 10px;
	border-radius: 10px;
}

.sfe-partners__item img {
	max-height: 64px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .72;
	transition: filter .18s ease, opacity .18s ease;
}

.sfe-partners__item a:hover img,
.sfe-partners__item a:focus-visible img {
	filter: none;
	opacity: 1;
}

/* ---------- Kontakt ---------- */

.sfe-pagehead {
	background: var(--sfe-green);
	padding: 34px 0;
}

.sfe-pagehead h1 {
	margin: 0 0 4px;
	font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.sfe-pagehead p {
	margin: 0;
	color: #2c3312;
	font-size: 1.05rem;
}

.sfe-contact {
	padding: 54px 0 66px;
	background: #fff;
}

.sfe-contact__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: start;
}

.sfe-contact h2 {
	font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.sfe-form__row {
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sfe-form label {
	font-weight: 600;
	color: var(--sfe-navy);
}

.sfe-req {
	color: #a3241f;
}

.sfe-form input[type="text"],
.sfe-form input[type="email"],
.sfe-form textarea {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--sfe-ink);
	background: #fff;
	border: 1px solid #c7cad4;
	border-radius: 10px;
}

.sfe-form input:focus,
.sfe-form textarea:focus {
	border-color: var(--sfe-navy);
}

.sfe-form textarea {
	resize: vertical;
	min-height: 150px;
}

.sfe-form__consent {
	display: block;
	margin: 0 0 20px;
}

.sfe-form__consent label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	font-weight: 400;
	color: var(--sfe-muted);
	font-size: .88rem;
	line-height: 1.5;
}

.sfe-form__consent input {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	accent-color: var(--sfe-navy);
}

.sfe-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sfe-err {
	color: #a3241f;
	font-size: .88rem;
	font-weight: 600;
}

.sfe-alert {
	padding: 14px 18px;
	border-radius: 10px;
	margin: 0 0 22px;
	font-weight: 600;
}

.sfe-alert--ok {
	background: #eaf3d2;
	border-left: 5px solid var(--sfe-green);
	color: #33430c;
}

.sfe-alert--err {
	background: #fbeceb;
	border-left: 5px solid #a3241f;
	color: #7d1b17;
}

.sfe-contact__data {
	background: var(--sfe-soft);
	border-radius: 16px;
	padding: 28px 28px 24px;
}

.sfe-contact__org {
	font-weight: 700;
	color: var(--sfe-navy);
	margin: 0 0 16px;
}

.sfe-contact__list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.sfe-contact__list li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 10px;
	align-items: start;
}

.sfe-ico {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	color: var(--sfe-navy);
}

.sfe-ico svg {
	width: 19px;
	height: 19px;
}

.sfe-contact__list a {
	color: var(--sfe-navy-soft);
	font-weight: 600;
	word-break: break-word;
}

.sfe-contact__note {
	font-size: .85rem;
	color: var(--sfe-muted);
	margin: 0 0 20px;
}

.sfe-map {
	background: #fff;
	border: 1px dashed #c7cad4;
	border-radius: 12px;
	padding: 18px;
	text-align: center;
}

.sfe-map.is-loaded {
	padding: 0;
	border-style: solid;
	overflow: hidden;
}

.sfe-map__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--sfe-navy);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 11px 20px;
	font: inherit;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
}

.sfe-map__btn:hover {
	background: var(--sfe-navy-soft);
}

.sfe-map__pin svg {
	width: 18px;
	height: 18px;
	display: block;
}

.sfe-map__alt {
	margin: 10px 0 0;
	font-size: .85rem;
}

.sfe-map.is-loaded .sfe-map__alt {
	padding: 10px;
	margin: 0;
}

/* ---------- Responsywność ---------- */

@media (max-width: 980px) {
	.sfe-quick__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sfe-news__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sfe-support__inner,
	.sfe-contact__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

@media (max-width: 640px) {
	.sfe {
		font-size: 16px;
	}

	.sfe-quick {
		padding-top: 40px;
	}

	.sfe-news {
		padding: 42px 0;
	}

	.sfe-quick__grid,
	.sfe-news__grid {
		grid-template-columns: 1fr;
	}

	.sfe-btn {
		width: 100%;
		text-align: center;
	}

	.sfe-partners__grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfe * {
		transition: none !important;
	}

	.sfe-btn:hover,
	.sfe-card:hover,
	.sfe-post:hover {
		transform: none;
	}
}
