/* =========================================================
   Big Little Steps – static rebuild
   Colours / type mirror the previous WordPress (genemy) theme.
   ========================================================= */

:root {
	--turquoise: #5ebfc3;
	--turquoise-dark: #49a9ad;
	--turquoise-soft: #9bd6d8;
	--yellow: #f4b764;
	--pink: #f23472;
	--ink: #333333;
	--ink-soft: #333333;
	--section-bg: #fdfdfd;
	--white: #ffffff;
	--border: #e3ded9;
	--container: 1140px;
	--container-wide: 1400px;
	--header-h: 124px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.525;
	color: var(--ink);
	background: var(--section-bg);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--turquoise-dark); text-decoration: none; }
a:hover { color: var(--pink); }

h1, h2, h3, h4 { font-family: "Josefin Sans", "Roboto", sans-serif; color: var(--ink); }

p { margin: 0 0 1.4em; font-size: 1.085rem; line-height: 1.525; }

strong { font-weight: bolder; color: var(--ink); }

/* utilities */
.text-center { text-align: center; }
.img-narrow { display: block; max-width: 300px; margin-left: auto; margin-right: auto; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--turquoise);
	color: #fff;
	padding: 10px 18px;
	z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	background: var(--white);
	box-shadow: 0 1px 10px rgba(0, 0, 0, .08);
	z-index: 1000;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
}

.site-header__logo img { width: 180px; height: auto; }

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}
.primary-nav li { margin: 16px; }

.primary-nav a {
	display: block;
	padding: .65rem 0;
	font-family: "Josefin Sans", "Roboto", sans-serif;
	font-weight: 400;
	font-size: 1.0625rem;      /* 17px */
	line-height: 1.5;
	color: var(--turquoise);
}
.primary-nav a:hover,
.primary-nav a.is-active { color: var(--ink); }   /* hover + aktualna sekcja (scrollspy) – ciemnoszary #333 */

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	content: "";
	display: block;
	width: 26px; height: 2px;
	margin: 0 auto;
	background: var(--ink);
	transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle__bar::before { transform: translateY(-8px); }
.nav-toggle__bar::after  { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
	position: relative;
	margin-top: var(--header-h);
	min-height: 650px;
	display: flex;
	align-items: center;
	background: #222 url("../img/hero.jpg") center center / cover no-repeat;
}

/* genemy hero has no dark overlay – the photo shows at full brightness */
.hero__overlay { display: none; }

.hero__inner { position: relative; text-align: center; }

.hero__title {
	margin: 0 auto;
	max-width: 900px;
	font-family: "Roboto", sans-serif;
	font-weight: 900;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1;
	letter-spacing: -1px;
	text-transform: capitalize;
	color: #fff;
}

/* =========================================================
   Sections
   ========================================================= */

/* every genemy section renders on the same near-white ground */
.section { padding: 80px 0; background: var(--section-bg); }
.section--flush { padding: 0; }
.section--white,
.section--grey,
.section--lightgrey { background: var(--section-bg); }

.section-title { text-align: center; margin-bottom: 2.4rem; }
.section-title h2 {
	margin: 0 0 1rem;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 600;
	font-size: clamp(1.9rem, 5vw, 3rem);
	line-height: 1.2;
	color: var(--turquoise);
}
.section-title__sub {
	margin: .3rem 0 0;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 300;
	font-size: 1.325rem;
	line-height: 1.525;
	color: var(--turquoise);
}
.section-title--minor { margin: 2.2rem 0 1.2rem; }
.section-title--minor .section-title__sub { font-size: 1.55rem; }
.section-title--left { text-align: left; }

.rule {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 2.5rem 0;
}

/* =========================================================
   Grid helpers
   ========================================================= */

.grid { display: grid; gap: 40px; margin: 1.5rem 0; }
.grid--middle { align-items: center; }
.grid--top { align-items: start; }

@media (min-width: 861px) {
	.grid--8-4 { grid-template-columns: 2fr 1fr; }
	.grid--4-8 { grid-template-columns: 1fr 2fr; }
	.grid--2   { grid-template-columns: 1fr 1fr; }
}

.grid__media img { margin: 0 auto; }

.framed {
	border: 1px solid var(--border);
	padding: 6px;
	background: #fff;
}
.framed--turquoise { border: 6px solid var(--turquoise); padding: 0; }

/* =========================================================
   "Read more" toggle
   ========================================================= */

.more { margin: 0 0 1.4em; }
.more__toggle {
	border: 0;
	background: transparent;
	padding: 0;
	font: inherit;
	color: var(--turquoise);
	cursor: pointer;
}
.more__toggle:hover { color: var(--turquoise-dark); text-decoration: underline; }
.more--on-dark .more__toggle { color: #fff; text-transform: uppercase; font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.more__content { margin-top: 1.2em; }
.more__content > p:last-child { margin-bottom: 0; }

/* =========================================================
   Step by Step – cards
   ========================================================= */

.cards { display: grid; gap: 30px; margin: 2rem 0; }
@media (min-width: 861px) {
	.cards    { grid-template-columns: repeat(3, 1fr); }
	.cards--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--turquoise);
	color: #fff;
	overflow: hidden;
}
.card__body { padding: 30px; flex: 1 0 auto; }
.card h3 {
	margin: 0 0 1rem;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
}
.card p { color: black; }
.card img { width: 100%; object-fit: cover; }

/* =========================================================
   Lists
   ========================================================= */

.list { margin: 0 0 1.4em; padding-left: 1.2em; }
.list li {
	list-style: square;
	margin-bottom: .3em;   /* odstęp MIĘDZY punktami listy */
	line-height: 1.35;     /* zwartość zawiniętych wierszy w jednym punkcie */
}
.list li::marker { color: var(--turquoise); }

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.gallery__item { display: block; overflow: hidden; }
.gallery__item img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .5s ease, opacity .3s ease;
}
.gallery__item:hover img { transform: scale(1.06); opacity: .92; }

/* =========================================================
   Testimonials
   ========================================================= */

.reviews { display: grid; gap: 40px; }
@media (min-width: 861px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.review { margin: 0; text-align: center; }
.review__avatar {
	width: 110px; height: 110px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1rem;
}
.review__name {
	margin: 0;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ink);
}
.review__role { margin: .1rem 0 1rem; font-size: .9rem; color: var(--ink-soft); }
.review blockquote {
	margin: 0;
	font-style: italic;
	line-height: 1.7;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-info {
	display: grid;
	gap: 30px;
	margin-bottom: 1rem;
}
@media (min-width: 861px) { .contact-info { grid-template-columns: repeat(4, 1fr); } }

.contact-box { margin-bottom: 20px; }
.contact-box h3 {
	margin: 0 0 .5rem;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .03em;
	color: var(--ink);
}
.contact-box__small { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.contact-box p { margin: 0; }
.contact-box img { margin-top: .4rem; width: 190px; height: auto; }

.socials { display: flex; gap: 12px; margin-top: .6rem; }
.socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #ded9d3;
	color: var(--turquoise-dark);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials__link:hover { background: var(--turquoise); color: #fff; transform: translateY(-2px); }

.contact-map {
	line-height: 0;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}
.contact-map iframe { display: block; width: 100%; height: 600px; }

/* Form */

.contact-form__row { margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 3px;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: 0;
	border-color: var(--turquoise);
	box-shadow: 0 0 0 3px rgba(94, 191, 195, .18);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
	display: inline-block;
	border: 0;
	cursor: pointer;
	padding: 15px 42px;
	font-family: "Roboto", sans-serif;
	font-weight: 800;
	font-size: .85rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
	background: var(--turquoise);
	border-radius: 3px;
	transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--turquoise-dark); color: #fff; transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.contact-form__status {
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: 3px;
	font-size: .95rem;
}
.contact-form__status.is-ok  { background: #e6f5ec; color: #1c6b3f; }
.contact-form__status.is-err { background: #fdecec; color: #a12626; }

/* =========================================================
   Decorative divider (footprints strip)
   ========================================================= */

.divider {
	height: 120px;
	background: var(--turquoise) url("../img/divider.png") center / auto 100% repeat-x;
}

/* =========================================================
   Dotacja UE
   ========================================================= */

.dotacja { text-align: center; padding: 24px 20px; background: #fff; }
.dotacja img { display: inline-block; max-width: 100%; }

/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .9);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
	max-width: 90vw;
	max-height: 88vh;
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.lightbox__close,
.lightbox__nav {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	font-weight: 300;
}
.lightbox__close { top: 18px; right: 24px; font-size: 3rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 4rem; padding: 0 20px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__close:hover,
.lightbox__nav:hover { color: var(--turquoise); }

/* =========================================================
   Reveal on scroll
   ========================================================= */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
	:root { --header-h: 104px; }
	.site-header__logo img { width: 150px; }
	.nav-toggle { display: block; }

	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: #fff;
		border-top: 1px solid var(--border);
		box-shadow: 0 12px 20px rgba(0, 0, 0, .1);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.primary-nav.is-open { max-height: 70vh; overflow-y: auto; }
	.primary-nav ul { flex-direction: column; padding: 6px 0; }
	.primary-nav li { margin: 0; border-bottom: 1px solid var(--border); }
	.primary-nav li:last-child { border-bottom: 0; }
	.primary-nav a { padding: 14px 22px; }

	.hero { min-height: 460px; }
	.section { padding: 56px 0; }
	.divider { height: 84px; }
	.contact-map iframe { height: 320px; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.grid--4-8 .grid__media { order: -1; }
}

@media (max-width: 480px) {
	.gallery { grid-template-columns: 1fr; }
}
