/* ==========================================================================
   Rosteria — strona główna
   Kolejność sekcji odpowiada kolejności w page-home.php
   ========================================================================== */

/* --- Neutralizacja kontenera GeneratePress (pełna szerokość) -------------- */

.page-template-page-home #page,
.page-template-page-home .site-content {
	max-width: none;
	padding: 0;
	margin: 0;
	display: block;
}

.page-template-page-home #content { padding: 0; }
.page-template-page-home .entry-content { margin: 0; }

/* --- Elementy wspólne ----------------------------------------------------- */

.rst { overflow-x: hidden; }

.rst-wrap {
	max-width: var(--rst-wrap);
	margin: 0 auto;
	padding-inline: var(--rst-gap);
}

.rst-sec {
	padding-block: var(--rst-sec-y);
	background: var(--rst-cream-soft);
}

.rst-sec--soft { background: var(--rst-cream); }

.rst-sec--dark {
	background: var(--rst-green);
	color: var(--rst-on-dark);
}

.rst-sec--dark h2,
.rst-sec--dark h3 { color: var(--rst-on-dark); }

.rst-eyebrow {
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rst-copper);
	margin: 0 0 1.25rem;
}

.rst-h1 {
	font-size: clamp(2.4rem, 6.2vw, 4.25rem);
	line-height: 1.11;
	margin: 0 0 1.5rem;
}

.rst-h2 {
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.12;
	margin: 0 0 1.25rem;
}

.rst-accent { color: var(--rst-copper); }

.rst-sub {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rst-copper);
	margin: -.5rem 0 1.5rem;
}

.rst-lead {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.7;
	color: var(--rst-ink-soft);
	margin: 0 0 1.75rem;
	max-width: 54ch;
}

.rst-sec--dark .rst-lead { color: var(--rst-on-dark-soft); }
.rst-lead--wide { max-width: 62ch; }

.rst-note {
	font-size: .85rem;
	color: var(--rst-ink-soft);
	margin: 1.25rem 0 0;
}

.rst-note--dark { color: var(--rst-on-dark-soft); margin-top: 2.5rem; }

.rst-kicker {
	margin: 3rem 0 0;
	padding-top: 1.75rem;
	border-top: 1px solid var(--rst-line-dark);
	font-size: 1.3rem;
	line-height: 1.75;
	max-width: 80ch;
	color: var(--rst-on-dark-soft);
	font-weight:700;
	font-family: 'Fraunces';
}

.rst-kicker--light {
	border-color: var(--rst-line);
	color: var(--rst-ink-soft);
}

.rst-kicker--tight { border: 0; padding-top: 0; margin-top: 2rem; }

.rst-link {
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

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

.rst-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 2.75rem;
}

.rst-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.65rem;
	font-family: var(--rst-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.rst-btn:hover { transform: translateY(-1px); }

.rst-btn--solid { background: var(--rst-green); color: var(--rst-cream); }
.rst-btn--solid:hover { background: var(--rst-green-deep); color: var(--rst-cream); }

.rst-btn--ghost {
	background: transparent;
	color: var(--rst-green);
	border-color: var(--rst-green);
}
.rst-btn--ghost:hover { background: var(--rst-green); color: var(--rst-cream); }

.rst-btn--copper { background: var(--rst-copper); color: #fff; }
.rst-btn--copper:hover { background: #a95c31; color: #fff; }

/* --- 01 · Hero ------------------------------------------------------------ */

.rst-hero {
	background: var(--rst-cream);
	padding-block: clamp(3rem, 7vw, 6rem) var(--rst-sec-y);
}

.rst-hero__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
}

.rst-hero__media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 30px 50px 15px 80px;
}

.rst-trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem 1rem;
	list-style: none;
	margin: 0;
	padding: 1.75rem 0 0;
	border-top: 1px solid var(--rst-line);
}

.rst-trust li { display: flex; flex-direction: column; gap: .15rem; }
.rst-trust strong { font-size: 1.15rem; color: var(--rst-green); }
.rst-trust span { font-size: .82rem; color: var(--rst-ink-soft); }

@media (min-width: 900px) {
	.rst-hero__grid { grid-template-columns: 1.05fr .95fr; }
	.rst-trust { grid-template-columns: repeat(4, 1fr); }
}

/* --- 02 · Kwalifikacja ---------------------------------------------------- */

.rst-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.rst-cols { display: grid; gap: 2.5rem; }

.rst-mini {
	font-family: var(--rst-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .06em;
	margin: 0 0 1.5rem;
}

.rst-mini--yes { color: var(--rst-copper); }
.rst-mini--no { color: var(--rst-on-dark-soft); }

.rst-list { list-style: none; margin: 0; padding: 0; }

.rst-list li {
	position: relative;
	padding: 0 0 1rem 2rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--rst-line-dark);
	font-size: 1.05rem;
	line-height: 1.55;
}

.rst-list li:last-child { border-bottom: 0; margin-bottom: 0; }

.rst-list--yes li::before,
.rst-list--no li::before {
	position: absolute;
	left: 0;
	top: -.1rem;
	font-size: 1rem;
	font-weight: 600;
}

.rst-list--yes li::before { content: "✓"; color: var(--rst-copper); }
.rst-list--no li::before { content: "✕"; color: var(--rst-on-dark-soft); }

.rst-list--plain li { padding-left: 0; }

@media (min-width: 900px) {
	.rst-split { grid-template-columns: .85fr 1.15fr; }
	.rst-cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* --- 03 · Proces ---------------------------------------------------------- */

.rst-timeline {
	list-style: none;
	margin: 3rem 0 0;
	padding: 0;
	display: grid;
	gap: 2rem;
	counter-reset: none;
}

.rst-timeline li {
	padding-top: 1.5rem;
	border-top: 2px solid var(--rst-copper);
}

.rst-timeline__num {
	display: block;
	font-family: var(--rst-display);
	font-size: 2.7rem;
	color: var(--rst-copper);
	margin-bottom: .5rem;
}

.rst-timeline h3 {
	font-family: var(--rst-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
	margin: 0 0 .5rem;
	font-size: 1.4rem;
    font-family: 'Fraunces';
}

.rst-timeline p {
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--rst-ink-soft);
	margin: 0;
}

.rst-highlight {
	margin-top: 3rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--rst-green);
	color: var(--rst-on-dark);
	border-left: 4px solid var(--rst-copper);
	font-family: 'Fraunces';
    font-size: 1.3rem;
}

.rst-highlight p { margin: 0; line-height: 1.65; }
.rst-highlight strong { color: var(--rst-cream); }

@media (min-width: 780px) {
	.rst-timeline { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
}

/* --- 04 · Podział pracy --------------------------------------------------- */

.rst-work { display: grid; gap: 1.5rem; margin-top: 2.5rem; }

.rst-tag {
	display: inline-block;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rst-copper);
	margin-bottom: 1.25rem;
}

.rst-work__you {
	background: var(--rst-green);
	color: var(--rst-on-dark);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rst-work__you h3 {
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	color: var(--rst-cream);
	margin: 0 0 1rem;
}

.rst-work__you p { margin: 0; color: var(--rst-on-dark-soft); line-height: 1.65; }
.rst-work__you em { color: var(--rst-copper); font-style: normal; }

.rst-work__us {
	border: 1px solid var(--rst-line);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--rst-cream-soft);
}

.rst-work__us ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .85rem 1.5rem;
	grid-template-columns: 1fr 1fr;
}

.rst-work__us li {
	font-size: 1.0rem;
	line-height: 1.45;
	padding-left: 1.1rem;
	position: relative;
	color: var(--rst-ink-soft);
}

.rst-work__us li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5rem;
	width: 5px;
	height: 5px;
	background: var(--rst-copper);
	border-radius: 50%;
}

.rst-work__us strong { color: var(--rst-green); }

@media (min-width: 900px) {
	.rst-work { grid-template-columns: .8fr 1.2fr; }
}

/* --- 05 · Twoja marka ----------------------------------------------------- */

.rst-brand__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.rst-brand__media img { width: 100%; height: auto; display: block; border-radius: 60px 30px 50px 0px;}

.rst-three {
	display: grid;
	gap: 1.75rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--rst-line-dark);
}

.rst-three h3 {
	font-family: var(--rst-body);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rst-copper);
	margin: 0 0 .5rem;
}

.rst-three p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--rst-on-dark-soft); }

@media (min-width: 900px) {
	.rst-brand__grid { grid-template-columns: 1.1fr .9fr; }
	.rst-three { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* --- 06 · Case study ------------------------------------------------------ */

.rst-case { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.rst-case__media img { width: 100%; height: auto; display: block; }

.rst-steps { list-style: none; margin: 2.5rem 0; padding: 0; }

.rst-steps li {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--rst-line);
}

.rst-steps h3 {
	font-family: var(--rst-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin: 0 0 .4rem;
}

.rst-steps p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--rst-ink-soft); }

.rst-quote {
	margin: 1.5rem 0 0;
	padding: 1.5rem;
	background: var(--rst-cream);
	border-left: 3px solid var(--rst-copper);
	font-family: var(--rst-display);
	font-size: 1.05rem;
	line-height: 1.55;
}

.rst-quote p { margin: 0 0 .75rem; }

.rst-quote cite {
	font-family: var(--rst-body);
	font-size: .78rem;
	font-style: normal;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rst-copper);
}

@media (min-width: 900px) {
	.rst-case { grid-template-columns: 1fr 1fr; }
}

/* --- 07 · Kalkulator ------------------------------------------------------ */

.rst-calc { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.rst-panel {
	background: rgba(239, 233, 221, .06);
	border: 1px solid var(--rst-line-dark);
	padding: clamp(1.75rem, 4vw, 2.5rem);
}

.rst-panel--light {
	background: var(--rst-cream);
	border-color: var(--rst-line);
}

.rst-panel__title {
	font-size: 1.4rem;
	margin: 0 0 1.75rem;
}

.rst-microcopy {
	margin: 1.5rem 0 0;
	font-size: .82rem;
	line-height: 1.6;
	color: var(--rst-on-dark-soft);
}

@media (min-width: 900px) {
	.rst-calc { grid-template-columns: 1fr 1fr; }
}

/* --- Formularze ----------------------------------------------------------- */

.rst-form p { margin: 0 0 1.25rem; }

.rst-form label {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	margin-bottom: .5rem;
}

.rst-form label em { font-weight: 400; font-style: normal; opacity: .65; }

.rst-form input[type="text"],
.rst-form input[type="email"],
.rst-form input[type="url"],
.rst-form select,
.rst-form textarea {
	width: 100%;
	padding: .85rem 1rem;
	font-family: var(--rst-body);
	font-size: 1.05rem;
	color: inherit;
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--rst-line-dark);
	border-radius: 0;
}

.rst-panel--light input[type="text"],
.rst-panel--light input[type="email"],
.rst-panel--light input[type="url"],
.rst-panel--light select,
.rst-panel--light textarea {
	background: #fff;
	border-color: var(--rst-line);
}

.rst-form textarea { resize: vertical; }

.rst-check label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .75rem;
	align-items: start;
	font-size: .8rem;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
}

.rst-check input { margin-top: .2rem; }

/* Honeypot — ukryty przed człowiekiem, widoczny dla bota */
.rst-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rst-msg { padding: 1.25rem; margin-bottom: 1.5rem; }
.rst-msg h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.rst-msg p { margin: 0; line-height: 1.6; }
.rst-msg--ok { border-left: 3px solid var(--rst-copper); background: rgba(196, 112, 63, .1); }
.rst-msg--err { border-left: 3px solid #b3392f; background: rgba(179, 57, 47, .1); }

/* --- 08 · Jakość ---------------------------------------------------------- */

.rst-quality {
	display: grid;
	gap: 2.5rem;
	margin-top: 3rem;
}

.rst-quality figure { margin: 0; }

.rst-quality img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 1.25rem;
	border-radius: 60px 30px 50px 20px;
}

.rst-quality h3 {
	font-family: 'fraunces';
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rst-copper);
	margin: 0 0 .6rem;
}

.rst-quality p { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--rst-ink-soft); }

@media (min-width: 780px) {
	.rst-quality { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* --- 09 · FAQ ------------------------------------------------------------- */

.rst-faq { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.rst-faq__lead {
	position: relative;
}

.rst-faq__lead::before {
	content: "";
	position: absolute;
	left: -2rem;
	bottom: -18rem;
	width: 360px;
	height: 360px;
	background: url('img/faq-tlo-tsp.webp') no-repeat center / contain;
	opacity: .35;
	pointer-events: none;
	z-index: 0;
}

.rst-faq__lead > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 899px) {
	.rst-faq__lead::before { display: none; }
}

.rst-faq__list details {
	border-bottom: 1px solid var(--rst-line);
}

.rst-faq__list summary {
	list-style: none;
	cursor: pointer;
	padding: 1.35rem 2.5rem 1.35rem 0;
	position: relative;
	font-family: var(--rst-display);
	font-size: clamp(1.02rem, 1.7vw, 1.2rem);
	color: var(--rst-green);
	line-height: 1.4;
}

.rst-faq__list summary::-webkit-details-marker { display: none; }

.rst-faq__list summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--rst-body);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--rst-copper);
	line-height: 1;
}

.rst-faq__list details[open] summary::after { content: "–"; }

.rst-faq__list details p {
	margin: 0 0 1.5rem;
	padding-right: 2.5rem;
	font-size: .92rem;
	line-height: 1.7;
	color: var(--rst-ink-soft);
}

@media (min-width: 900px) {
	.rst-faq { grid-template-columns: .8fr 1.2fr; }
}

/* --- 10 · Kto za tym stoi ------------------------------------------------- */

.rst-about { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.rst-about__media img { width: 100%; height: auto; display: block; }

.rst-about .rst-quote {
	background: rgba(239, 233, 221, .07);
	color: var(--rst-on-dark);
	border-left-color: var(--rst-copper);
}

@media (min-width: 900px) {
	.rst-about { grid-template-columns: 1fr 1fr; }
}

/* --- 11 · Kontakt --------------------------------------------------------- */

.rst-contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.rst-contact__list { list-style: none; margin: 0 0 2.5rem; padding: 0; }

.rst-contact__list li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--rst-line);
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.rst-contact__list span {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rst-copper);
}

.rst-contact__list a {
	font-family: var(--rst-display);
	font-size: 1.2rem;
	color: var(--rst-green);
	text-decoration: none;
}

.rst-contact__micro { list-style: none; margin: 0; padding: 0; }

.rst-contact__micro li {
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--rst-ink-soft);
	padding: .5rem 0;
}

.rst-contact__micro strong { color: var(--rst-green); }

@media (min-width: 900px) {
	.rst-contact { grid-template-columns: .9fr 1.1fr; }
}

/* --- Dostępność ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.rst-btn { transition: none; }
	.rst-btn:hover { transform: none; }
}
