/* ==========================================================================
   Vistrix Labs — strona Oferta / Services (template-oferta.php)
   Wartości 1:1 z makiet: Oferta.dc.html (desktop, źródło stylów)
   + "Widoki mobilne.dc.html" sekcja MOBILE: OFERTA (≤768px).
   ========================================================================== */

/* --------------------------------------------------------------------------
   HEADER (Oferta)
   -------------------------------------------------------------------------- */
.oferta-header {
	padding: 88px var(--pad-x) 72px;
	position: relative;
	overflow: hidden;
}

.oferta-header__deco-1 {
	right: -120px;
	top: -140px;
	width: 400px;
	height: 400px;
	opacity: .3;
}

.oferta-header__deco-2 {
	right: 240px;
	top: 200px;
	width: 84px;
	height: 84px;
	opacity: .25;
}

.oferta-header__inner {
	position: relative;
}

.oferta-header__title {
	font-family: var(--font-heading);
	font-size: 76px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.0;
	margin: 24px 0 0;
	max-width: 1000px;
}

.oferta-header__lead {
	font-size: 19px;
	line-height: 1.6;
	color: var(--c-body);
	max-width: 640px;
	margin-top: 22px;
}

/* --------------------------------------------------------------------------
   SERVICES (6 kart pełnej szerokości)
   -------------------------------------------------------------------------- */
.oferta-services {
	padding: 0 var(--pad-x) 40px;
}

.oferta-services__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.service-card {
	background: var(--c-white);
	border-radius: 28px;
	padding: 48px 52px;
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 56px;
	align-items: center;
}

.service-card__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
}

/* EN desktop (Services EN.dc.html): numer + H2 wyśrodkowane vs PL baseline */
.service-card__head:lang(en) {
	align-items: center;
}

.service-card__nr {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--c-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 800;
	flex: none;
}

.service-card__title {
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.service-card__desc {
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--c-body);
	margin-top: 16px;
	max-width: 560px;
}

/* "CO DOSTAJESZ" / "WHAT YOU GET" */
.service-card__label {
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--c-meta);
	margin-top: 26px;
}

.service-card__bullets {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.service-card__bullet {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.service-card__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-yellow);
	flex: none;
	margin-top: 7px;
}

.service-card__bullet-text {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--c-article);
}

/* Placeholder obrazu 360px (ukośne paski na #E9EAED) */
.service-card__media {
	height: 260px;
	border-radius: 20px;
	background:
		repeating-linear-gradient(45deg, rgba(20, 19, 16, .06) 0 12px, rgba(20, 19, 16, 0) 12px 24px),
		var(--c-placeholder);
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-card__ph {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--c-meta);
	text-align: center;
	padding: 0 24px;
}

/* --------------------------------------------------------------------------
   WSPÓŁPRACA / COLLABORATION (ciemna, 4 kroki)
   -------------------------------------------------------------------------- */
.oferta-process {
	background: var(--c-black);
	color: var(--c-white);
	padding: 100px var(--pad-x);
	margin-top: 56px;
}

.oferta-process__title {
	font-family: var(--font-heading);
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--c-white);
}

.oferta-process__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 52px;
}

.oferta-process__step {
	border-top: 2px solid var(--c-white-20);
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.oferta-process__step:first-child {
	border-top-color: var(--c-yellow);
}

.oferta-process__nr {
	font-family: var(--font-heading);
	font-size: 40px;
	font-weight: 800;
	color: var(--c-yellow);
}

.oferta-process__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.oferta-process__name {
	font-weight: 600;
	font-size: 19px;
}

.oferta-process__desc {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--c-white-65);
}

/* --------------------------------------------------------------------------
   FAQ (akordeon, max 860px)
   -------------------------------------------------------------------------- */
.oferta-faq {
	padding: 100px var(--pad-x);
}

.oferta-faq__inner {
	max-width: 860px;
	margin: 0 auto;
}

.oferta-faq__title {
	font-family: var(--font-heading);
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.oferta-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 44px;
}

.faq-item {
	background: var(--c-white);
	border-radius: 18px;
	overflow: hidden;
}

.faq-item__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 24px 30px;
	cursor: pointer;
	width: 100%;
	background: none;
	border: 0;
	text-align: left;
	color: inherit;
	transition: background var(--transition);
}

.faq-item__toggle:hover {
	background: #F7F8FA;
}

.faq-item__q {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 20px;
}

/* Ikona +/− w żółtym kółku */
.faq-item__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--c-yellow);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	flex: none;
	font-family: var(--font-body);
}

/* Panel odpowiedzi — płynna animacja max-height (JS steruje wartością inline) */
.faq-item__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 300ms ease;
}

/* Pierwsze pytanie otwarte także bez JS */
.faq-item.is-open .faq-item__panel {
	max-height: none;
}

.faq-item__a {
	padding: 0 30px 26px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--c-body);
	max-width: 700px;
}

/* --------------------------------------------------------------------------
   CTA (nadpisania globalnego .cta-banner — wartości 1:1 z Oferta.dc.html)
   -------------------------------------------------------------------------- */
.cta-banner {
	padding: 100px 56px;
}

/* Makieta Oferty: tylko koralowe koło dekoracyjne (bez ciemnego deco-1) */
.cta-banner__deco-1 {
	display: none;
}

.cta-banner__title {
	font-size: 60px;
	max-width: 800px;
}

.cta-banner__lead {
	max-width: 540px;
	margin-top: 22px;
}

.cta-banner__btn {
	margin-top: 38px;
}

/* --------------------------------------------------------------------------
   Mobile ≤768px (Widoki mobilne.dc.html → MOBILE: OFERTA)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

	/* HEADER */
	.oferta-header {
		padding: 44px var(--pad-x-mobile) 36px;
	}

	.oferta-header__deco-1 {
		right: -80px;
		top: -90px;
		width: 220px;
		height: 220px;
	}

	.oferta-header__deco-2 {
		display: none;
	}

	.oferta-header__title {
		font-size: 34px;
		letter-spacing: -0.02em;
		line-height: 1.05;
		margin: 14px 0 0;
	}

	/* EN mobile (Mobile views EN.dc.html): 32px/1.06 vs PL 34px/1.05 */
	.oferta-header__title:lang(en) {
		font-size: 32px;
		line-height: 1.06;
	}

	.oferta-header__lead {
		font-size: 15px;
		line-height: 1.55;
		margin-top: 12px;
	}

	/* SERVICES */
	.oferta-services {
		padding: 0 var(--pad-x-mobile) 44px;
	}

	.oferta-services__list {
		gap: 14px;
	}

	.service-card {
		border-radius: 20px;
		padding: 26px 24px;
		display: block;
	}

	.service-card__head {
		align-items: center;
		gap: 12px;
	}

	.service-card__nr {
		width: 34px;
		height: 34px;
		font-size: 13px;
	}

	.service-card__title {
		font-size: 20px;
		letter-spacing: -0.01em;
	}

	.service-card__desc {
		font-size: 14px;
		line-height: 1.55;
		margin-top: 12px;
	}

	.service-card__bullets {
		gap: 8px;
		margin-top: 14px;
	}

	.service-card__bullet {
		gap: 10px;
	}

	.service-card__dot {
		width: 7px;
		height: 7px;
		margin-top: 6px;
	}

	.service-card__bullet-text {
		font-size: 13.5px;
		line-height: 1.5;
	}

	/* Makieta mobilna: karty usług bez placeholdera obrazu */
	.service-card__media {
		display: none;
	}

	/* WSPÓŁPRACA */
	.oferta-process {
		padding: 44px var(--pad-x-mobile);
		margin-top: 0;
	}

	.oferta-process__title {
		font-size: 28px;
		letter-spacing: -0.015em;
	}

	.oferta-process__grid {
		display: flex;
		flex-direction: column;
		gap: 18px;
		margin-top: 24px;
	}

	.oferta-process__step {
		padding-top: 14px;
		flex-direction: row;
		gap: 14px;
		align-items: baseline;
	}

	.oferta-process__nr {
		font-size: 24px;
	}

	.oferta-process__body {
		display: block;
	}

	.oferta-process__name {
		font-size: 16px;
	}

	.oferta-process__desc {
		font-size: 13px;
		line-height: 1.5;
		margin-top: 3px;
	}

	/* FAQ */
	.oferta-faq {
		padding: 44px var(--pad-x-mobile);
	}

	.oferta-faq__title {
		font-size: 28px;
		letter-spacing: -0.015em;
	}

	.oferta-faq__list {
		gap: 10px;
		margin-top: 20px;
	}

	.faq-item {
		border-radius: 14px;
	}

	.faq-item__toggle {
		gap: 14px;
		padding: 18px 20px;
	}

	/* Makieta mobilna: odpowiedź 10px od wiersza pytania (karta 18px 20px);
	   zamknięta karta zachowuje dolne 18px z paddingu przycisku. */
	.faq-item.is-open .faq-item__toggle {
		padding-bottom: 10px;
	}

	.faq-item__q {
		font-size: 15.5px;
	}

	.faq-item__icon {
		width: 28px;
		height: 28px;
		font-size: 15px;
	}

	.faq-item__a {
		padding: 0 20px 18px;
		font-size: 13.5px;
		line-height: 1.6;
	}

	/* CTA (Widoki mobilne.dc.html → MOBILE: OFERTA) */
	.cta-banner {
		padding: 48px 24px;
	}

	.cta-banner__title {
		font-size: 28px;
		line-height: 1.08;
	}

	/* Makieta mobilna: CTA Oferty bez leadu */
	.cta-banner__lead {
		display: none;
	}

	.cta-banner__btn {
		font-size: 15px;
		padding: 15px 0;
		margin-top: 20px;
	}
}
