/* ==========================================================================
   Strony agencji (agencja/layout.php): /studio-brandingowe-warszawa/, /agencja-marketingowa-szczecin/

   Sekcje przeniesione z g2collective.pl: hero, feed projektów, katalogi FlipHTML5,
   PDF-y (marquee), plansze „More where that came from”, a dalej paralaksa i tekst SEO.
   Wielkie hasło i moduł kontaktowy #kontakt (wspólne ze stroną główną i Referencjami)
   mają własny plik kontakt.css — ładowany przed tym, bo definiuje też .g2c-wrap i --g2c-title-gap.
   Motyw ma Bootstrap 3 + style.min.css, więc klasy mają prefiks g2c- i nie stylujemy
   gołych elementów. Wyjątki: GLightbox (dopisuje się do <body>, style tylko dla jego
   klas) i tekst SEO .g2c-seo. Font dziedziczony z motywu.
   ========================================================================== */

/* --- Wspólne --- */
/* Siatkę .g2c-wrap i wspólny odstęp wielkich tytułów --g2c-title-gap definiuje kontakt.css (ładowany przed tym plikiem). */
.g2c-page {
	color: #000;
	background-color: #fff;
}

.g2c-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes g2c-headerFadeIn {
	0% { opacity: 0; transform: translateY(-15px); }
	100% { opacity: 1; transform: translateY(0); }
}

@keyframes g2c-fadeUp {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* Przyciski jak w motywie g2team (formularz na /kontakt/, .new-btn): kwadratowe rogi, czarny prostokąt,
   wersaliki z rozstrzeleniem; po najechaniu odwrócenie kolorów z czarną ramką. */
.g2c-btn,
.g2c-btn:visited {
	display: inline-block;
	padding: 16px 32px;
	border: 1px solid #000;
	border-radius: 0;
	background-color: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.24em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.5s ease;
}

.g2c-btn:hover,
.g2c-btn:focus {
	border-color: #000;
	background-color: #fff;
	color: #000;
	text-decoration: none;
}

/* Większy wariant — przycisk „Zapytaj o ofertę” na końcu sekcji SEO. */
.g2c-btn--lg,
.g2c-btn--lg:visited {
	min-width: 340px;
	padding: 24px 56px;
	font-size: 15px;
}

.g2c-btn:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

/* --- Hero --- */
.g2c-hero {
	padding-top: 120px;
	animation: g2c-headerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.g2c-hero__eyebrow {
	margin: 0 0 28px;
	color: #7a7a7a;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.g2c-hero__claim {
	margin: 0;
	color: #000;
	font-size: 72px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

/* --- Feed projektów --- */
.g2c-feed {
	padding-top: 64px;
}

.g2c-feed__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-bottom: 80px;
}

.g2c-card {
	cursor: pointer;
	animation: g2c-fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.g2c-card:nth-child(1) { animation-delay: 0.05s; }
.g2c-card:nth-child(2) { animation-delay: 0.12s; }
.g2c-card:nth-child(3) { animation-delay: 0.19s; }
.g2c-card:nth-child(4) { animation-delay: 0.26s; }
.g2c-card:nth-child(5) { animation-delay: 0.33s; }
.g2c-card:nth-child(6) { animation-delay: 0.4s; }

.g2c-card:focus {
	outline: none;
}

.g2c-card:focus-visible {
	outline: 2px solid #000;
	outline-offset: 6px;
}

.g2c-card__media {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	line-height: 0;
	background-color: #f5f5f5;
}

.g2c-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1), filter 0.75s ease;
}

.g2c-card:hover .g2c-card__img {
	transform: scale(1.06);
	filter: brightness(0.95);
}

.g2c-card__info {
	padding-top: 16px;
}

.g2c-card__title {
	margin: 0 0 6px;
	color: #000;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.g2c-card__cat {
	display: block;
	color: #999;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* --- Katalogi FlipHTML5 --- */
.g2c-catalogs {
	padding-bottom: 32px;
}

.g2c-catalog {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 45%;
}

.g2c-catalog + .g2c-catalog {
	margin-top: 32px;
}

.g2c-catalog__frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Ekrany dotykowe: iframe łapie przewijanie, więc jest aktywny dopiero po dotknięciu nakładki (agencja.js). */
.g2c-catalog--lockable .g2c-catalog__frame {
	pointer-events: none;
}

.g2c-catalog--lockable.is-active .g2c-catalog__frame {
	pointer-events: auto;
}

.g2c-catalog__unlock {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 20px;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.32);
	color: inherit;
	font: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.g2c-catalog--lockable.is-active .g2c-catalog__unlock {
	display: none;
}

.g2c-catalog__unlock-btn {
	display: inline-block;
	padding: 14px 22px;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* --- PDF-y: nieskończony marquee w CSS (3 karty × 3) --- */
.g2c-downloads {
	margin-bottom: 0; /* odstęp do tytułu „More where…” daje sam tytuł (--g2c-title-gap) */
	overflow: hidden;
}

.g2c-marquee {
	position: relative;
	width: 100%;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

.g2c-marquee__track {
	display: flex;
	width: max-content;
	animation: g2c-scrollLeft 45s linear infinite;
}

/* Pauza po najechaniu tylko na desktopie — na telefonach „hover” po dotknięciu zatrzymywał pasek. */
@media (hover: hover) and (min-width: 1025px) {
	.g2c-marquee__track:hover {
		animation-play-state: paused;
	}
}

/* Odstęp jako margines (nie gap), żeby 1/3 szerokości toru była dokładnie jednym zestawem kart — pętla bez przeskoku. */
.g2c-download {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 420px;
	margin-right: 16px;
}

.g2c-download__cover {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 16 / 9;
	margin-bottom: 24px;
	object-fit: cover;
	background-color: #f5f5f5;
	transition: opacity 0.3s;
}

.g2c-download:hover .g2c-download__cover {
	opacity: 0.9;
}

.g2c-download__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.g2c-download__title {
	margin: 0 0 20px;
	color: #000;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
}

@keyframes g2c-scrollLeft {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-100% / 3)); }
}

/* --- „More where that came from” + plansze SVG --- */
.g2c-boards {
	margin-top: 0;
	margin-bottom: 0;
}

/* Odstęp liczony od tekstu, nie od pudełka linii: przy line-height 0.88 górna krawędź liter leży ok. 0,15 em
   pod pudełkiem — kompensujemy to w em (zmierzone dla fontu motywu; hasło przed modułem ma to samo w kontakt.css). */
.g2c-boards__title {
	--g2c-ink-top: 0.147em;
	--g2c-ink-bottom: 0em;
	margin: calc(var(--g2c-title-gap) - var(--g2c-ink-top)) 0 calc(var(--g2c-title-gap) - var(--g2c-ink-bottom));
	color: #000;
	font-size: clamp(72px, 10.5vw, 200px);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: -0.07em;
	text-align: center;
}

.g2c-boards__list {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 1.7vw, 32px);
	font-size: 0;
	line-height: 0;
}

.g2c-boards__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 1420 / 800;
}

/* --- Responsywność (progi jak na g2collective.pl) --- */
@media (max-width: 1650px) {
	.g2c-download {
		width: 360px;
	}
}

@media (max-width: 1024px) {
	.g2c-hero__claim {
		font-size: 48px;
	}

	.g2c-feed__grid {
		gap: 20px;
	}

	.g2c-card__title {
		font-size: 16px;
	}

	.g2c-download {
		width: 300px;
	}

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

@media (max-width: 768px) {
	.g2c-hero {
		padding-top: 56px;
	}

	.g2c-hero__eyebrow {
		margin-bottom: 20px;
		font-size: 12px;
	}

	.g2c-hero__claim {
		font-size: 32px;
	}

	.g2c-feed {
		padding-top: 40px;
	}

	.g2c-feed__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.g2c-boards {
		padding-left: 20px;
		padding-right: 20px;
	}

	.g2c-boards__title {
		font-size: clamp(48px, 18vw, 96px);
		letter-spacing: -0.06em;
	}
}

@media (max-width: 600px) {
	.g2c-download {
		width: 280px;
	}
}

/* Druga linia hasła („for Ambitious Companies”) jest niełamliwa (&nbsp;) — na wąskich telefonach zmniejszamy font, żeby się mieściła. */
@media (max-width: 480px) {
	.g2c-hero__claim {
		font-size: min(32px, calc((100vw - 40px) / 11));
	}
}

@media (prefers-reduced-motion: reduce) {
	.g2c-hero,
	.g2c-card,
	.g2c-marquee__track {
		animation: none;
	}

	.g2c-card__img {
		transition: none;
	}
}

/* ==========================================================================
   GLightbox — biały motyw jak na g2collective.pl (kontener lightboxa jest w <body>, poza .g2c-page)
   ========================================================================== */
.goverlay { background: #fff !important; }
.gloader { border-color: rgba(0, 0, 0, 0.15); border-right-color: transparent; }
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev { background-color: transparent; }
.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover { background-color: rgba(0, 0, 0, 0.06); }
.glightbox-clean .gclose path,
.glightbox-clean .gnext path,
.glightbox-clean .gprev path { fill: #000; }
.gclose .garrow,
.gnext .garrow,
.gprev .garrow { stroke: #000; }
.glightbox-clean .gslide-media { box-shadow: none !important; }
.glightbox-clean .gslide-title { color: rgba(0, 0, 0, 0.7); }
.glightbox-clean .gslide-desc { color: rgba(0, 0, 0, 0.5); }
.glightbox-mobile .goverlay { background: #fff !important; }
@media screen and (max-height: 420px) { .goverlay { background: #fff !important; } }

/* Strzałki na telefonie: na dole, pod zdjęciem */
.glightbox-mobile .gprev,
.glightbox-mobile .gnext {
	top: auto !important;
	bottom: 24px;
	left: 50%;
	right: auto;
	width: 52px;
	height: 52px;
	display: flex !important;
	opacity: 0.7;
	background-color: rgba(0, 0, 0, 0.06) !important;
	border-radius: 50%;
	-webkit-tap-highlight-color: transparent;
}
.glightbox-mobile .gprev { transform: translateX(calc(-100% - 10px)); }
.glightbox-mobile .gnext { transform: translateX(10px); }
.glightbox-mobile .gprev:active,
.glightbox-mobile .gnext:active { opacity: 1; background-color: rgba(0, 0, 0, 0.12) !important; }
.glightbox-mobile .gprev svg,
.glightbox-mobile .gnext svg { width: 22px; }
.glightbox-mobile .gclose { top: 12px; right: 12px; width: 40px; height: 40px; opacity: 0.6; }
@media (min-width: 769px) {
	.goverlay { background: #fff !important; }
	.glightbox-clean .gslide-media { box-shadow: none !important; }
}

/* Wideo w pełnych proporcjach, bez przewijania */
.glightbox-clean .gslide-video,
.glightbox-clean .gslide-inline { background: transparent !important; }

.gslide-inline {
	max-height: none !important;
	overflow: visible !important;
	width: auto !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	background: transparent !important;
}

.gslide-inline .ginlined-content {
	padding: 0 !important;
	background: transparent !important;
	max-height: none !important;
	overflow: visible !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.gslide-inline video {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 95vw !important;
	max-height: calc(100vh - 48px) !important;
	object-fit: contain !important;
	background: transparent !important;
	outline: none !important;
	border: none !important;
	margin: 0 auto !important;
}

.gslide-inline video.g2c-fallback-video { background: #111 !important; }

/* Bez przesunięcia układu przy otwieraniu/zamykaniu: strona pod lightboxem zachowuje pasek przewijania
   (motyw ukrywa poziomy overflow na <body> — zostawiamy to). */
html.glightbox-open { overflow: visible !important; }
body.glightbox-open {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}
body.gscrollbar-fixer {
	margin-right: 0 !important;
	padding-right: 0 !important;
}

/* Odtwarzacz Cloudflare Stream (HLS) w slajdzie */
@keyframes g2c-media-spin { to { transform: rotate(360deg); } }

.g2c-stream-frame {
	position: relative;
	max-width: 90vw;
	max-height: calc(100vh - 48px);
	margin: 0 auto;
	overflow: hidden;
	background: #f5f5f5;
	border: 0;
	outline: 0;
	box-shadow: none;
}

.gslide-inline video.g2c-stream-player,
.g2c-stream-player {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	border: 0;
	outline: 0;
	object-fit: contain;
	background: #f5f5f5;
	opacity: 0;
	transform: translateZ(0);
	will-change: opacity;
	transition: opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 768px) {
	.g2c-stream-frame { width: 100vw !important; max-width: 100vw; }
	.glightbox-mobile .gslide-inline video { max-width: 100vw !important; }
}

.g2c-media-loader {
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 50%;
	width: 42px;
	height: 42px;
	margin: -21px 0 0 -21px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.g2c-media-loader::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	border: 2px solid rgba(20, 20, 20, 0.18);
	border-top-color: #171717;
	border-radius: 50%;
	animation: g2c-media-spin 0.72s linear infinite;
}

.g2c-stream-frame.is-ready .g2c-stream-player { opacity: 1; }
.g2c-stream-frame.is-ready .g2c-media-loader,
.g2c-stream-frame.has-error .g2c-media-loader { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Sekcja SEO (.g2c-seo) — układy jak na g2collective.pl/marketing-dla-firm.html:
   małe etykiety, wielkie nagłówki, akordeony <details>, ciemny pas z liczbami,
   customer journey, numerowany proces, zdjęcia na schodkach, siatka bloków.
   Wszystko na klasach g2c-, font motywu, kolory: czerń, biel, szarości, pas #111.
   ========================================================================== */
.g2c-seo {
	padding-top: 144px;
	padding-bottom: 120px;
	background-color: #fff;
	color: #111;
}

.g2c-seo p,
.g2c-seo ul,
.g2c-seo ol,
.g2c-seo figure {
	margin: 0;
}

.g2c-seo ul,
.g2c-seo ol {
	padding: 0;
	list-style: none;
}

.g2c-seo a,
.g2c-seo a:visited {
	color: #111;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.g2c-seo a:hover,
.g2c-seo a:focus {
	color: #111;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.g2c-seo__block,
.g2c-seo__intro,
.g2c-seo__trio,
.g2c-seo__break {
	margin-bottom: 144px;
}

.g2c-seo .g2c-seo__label {
	display: block;
	margin-bottom: 40px;
	color: #888;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.g2c-seo__title {
	max-width: 15em;
	margin: 0;
	color: #111;
	font-size: clamp(40px, 5.4vw, 104px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.g2c-seo__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px clamp(40px, 6vw, 120px);
	max-width: 1400px;
	margin-top: 72px;
}

.g2c-seo__cols p,
.g2c-acc__text p,
.g2c-acc__body > p {
	color: #555;
	font-size: 17px;
	line-height: 1.7;
}

.g2c-seo .g2c-seo__lead {
	max-width: 16em;
	margin-bottom: 80px;
	color: #111;
	font-size: clamp(34px, 4.4vw, 84px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

/* --- Akordeony (usługi i FAQ) --- */
.g2c-acc {
	border-top: 1px solid #e0e0e0;
}

.g2c-acc__item {
	border-bottom: 1px solid #e0e0e0;
}

.g2c-acc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 40px 0;
	cursor: pointer;
	list-style: none;
	transition: padding-left 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.g2c-acc__head::-webkit-details-marker {
	display: none;
}

.g2c-acc__head::marker {
	content: "";
}

.g2c-acc__head:focus {
	outline: none;
}

.g2c-acc__head:focus-visible {
	outline: 2px solid #111;
	outline-offset: 6px;
}

.g2c-acc__head:hover,
.g2c-acc__item[open] > .g2c-acc__head {
	padding-left: 30px;
}

.g2c-acc__title {
	margin: 0;
	color: #1a1a1a;
	font-size: clamp(28px, 3.2vw, 52px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.g2c-acc--faq .g2c-acc__title {
	font-size: clamp(24px, 2.6vw, 44px);
	line-height: 1.1;
}

.g2c-acc__icon {
	position: relative;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.g2c-acc__icon::before,
.g2c-acc__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #111;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.g2c-acc__icon::before {
	width: 100%;
	height: 1.5px;
	transform: translate(-50%, -50%);
}

.g2c-acc__icon::after {
	width: 1.5px;
	height: 100%;
	transform: translate(-50%, -50%);
}

.g2c-acc__item[open] > .g2c-acc__head .g2c-acc__icon::before,
.g2c-acc__item[open] > .g2c-acc__head .g2c-acc__icon::after {
	transform: translate(-50%, -50%) rotate(45deg);
}

.g2c-acc__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 80px;
	padding: 0 0 48px 30px;
}

.g2c-acc--faq .g2c-acc__body {
	display: block;
	padding-bottom: 40px;
}

.g2c-acc--faq .g2c-acc__body p {
	max-width: 900px;
}

.g2c-acc__text p + p {
	margin-top: 16px;
}

.g2c-pills {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 10px;
}

.g2c-pills li {
	padding: 10px 22px;
	border: 1px solid #e0e0e0;
	border-radius: 50px;
	color: #111;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
}

/* --- Ciemny pas z liczbami --- */
.g2c-seo__dark {
	margin-bottom: 144px;
	padding: 104px 0;
	background-color: #111;
	color: #fff;
}

.g2c-facts {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.g2c-fact {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: baseline;
	gap: 64px;
	padding: 64px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.g2c-fact__value {
	white-space: nowrap;
	color: #fff;
	font-size: clamp(72px, 8.5vw, 168px);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.055em;
	font-variant-numeric: tabular-nums;
}

.g2c-fact__value small {
	font-size: 0.42em;
	letter-spacing: -0.03em;
}

.g2c-fact__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.g2c-fact__info p {
	max-width: 520px;
	color: #a8a8a8;
	font-size: 15px;
	line-height: 1.7;
}

.g2c-seo .g2c-pills--dark {
	margin-top: 22px;
	gap: 8px;
}

.g2c-pills--dark li {
	padding: 5px 12px;
	border-color: rgba(255, 255, 255, 0.28);
	color: #ccc;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- Customer journey: 5 kolumn, kropka na linii, numer, tytuł, opis, lista --- */
.g2c-journey {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 40px;
}

.g2c-journey__stage {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-top: 24px;
	border-top: 1px solid #111;
}

.g2c-journey__stage::before {
	content: "";
	position: absolute;
	top: -4px;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #111;
}

.g2c-journey__num {
	display: block;
	margin-bottom: 36px;
	color: #999;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	font-variant-numeric: tabular-nums;
}

.g2c-journey__title {
	margin: 0 0 16px;
	color: #111;
	font-size: clamp(24px, 1.9vw, 32px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

/* Opis rozciąga się w kolumnie, więc listy we wszystkich etapach zaczynają się na tej samej wysokości. */
.g2c-journey__stage > p {
	flex: 1 0 auto;
	margin-bottom: 28px;
	color: #555;
	font-size: 16px;
	line-height: 1.7;
}

.g2c-journey__list {
	border-top: 1px solid #eee;
}

.g2c-journey__list li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	color: #333;
	font-size: 15px;
	line-height: 1.4;
}

/* --- Jak pracujemy: numerowane wiersze --- */
.g2c-process {
	border-top: 1px solid #e0e0e0;
}

.g2c-process__step {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.4fr);
	align-items: baseline;
	gap: 40px;
	padding: 56px 0;
	border-bottom: 1px solid #e0e0e0;
}

.g2c-process__num {
	color: #d5d5d5;
	font-size: clamp(32px, 2.8vw, 52px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.g2c-process__name {
	margin: 0;
	color: #111;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.g2c-process__desc {
	max-width: 560px;
	color: #666;
	font-size: 16px;
	line-height: 1.7;
}

/* --- Trzy zdjęcia na schodkach --- */
.g2c-seo__trio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 40px;
}

.g2c-trio__item:nth-child(2) {
	margin-top: 140px;
}

.g2c-trio__item:nth-child(3) {
	margin-top: 280px;
}

.g2c-trio__media {
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background-color: #f5f5f5;
	line-height: 0;
}

.g2c-trio__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.g2c-trio__item figcaption {
	padding-top: 14px;
	color: #999;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* --- Siatka numerowanych bloków --- */
.g2c-editorial {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px 88px;
}

.g2c-editorial__block {
	padding-top: 28px;
	border-top: 1px solid #e0e0e0;
}

.g2c-editorial__num {
	display: block;
	margin-bottom: 20px;
	color: #bbb;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	font-variant-numeric: tabular-nums;
}

.g2c-editorial__block h3 {
	margin: 0 0 16px;
	color: #111;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.g2c-editorial__block p {
	color: #666;
	font-size: 16px;
	line-height: 1.8;
}

.g2c-seo__block:last-of-type {
	margin-bottom: 96px;
}

/* --- Duże zdjęcie-przełamanie (szerokość siatki, bez paralaksy) --- */
.g2c-seo__break-media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background-color: #f5f5f5;
	line-height: 0;
}

.g2c-seo__break-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.g2c-seo__break figcaption {
	padding-top: 14px;
	color: #999;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Na końcu sekcji tylko przycisk do formularza — hasło „Porozmawiajmy…” jest jedno, nad modułem kontaktowym. */
.g2c-seo__back {
	text-align: center;
}

.g2c-seo .g2c-seo__back .g2c-btn,
.g2c-seo .g2c-seo__back .g2c-btn:visited {
	color: #fff;
	text-decoration: none;
}

.g2c-seo .g2c-seo__back .g2c-btn:hover,
.g2c-seo .g2c-seo__back .g2c-btn:focus {
	color: #000;
	text-decoration: none;
}

/* --- Responsywność sekcji SEO --- */
@media (max-width: 1650px) {
	.g2c-journey {
		gap: 24px;
	}
}

@media (max-width: 1300px) {
	.g2c-journey {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 24px;
	}
}

@media (max-width: 1024px) {
	.g2c-seo__cols {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 48px;
	}

	.g2c-acc__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.g2c-fact {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 40px 0;
	}

	.g2c-journey {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.g2c-process__step {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 36px 0;
	}

	.g2c-process__num {
		color: #ccc;
		font-size: 26px;
	}

	.g2c-process__name {
		font-size: 26px;
	}

	.g2c-seo__trio {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.g2c-trio__item:nth-child(2) {
		margin-top: 64px;
	}

	.g2c-trio__item:nth-child(3) {
		margin-top: 0;
	}

	.g2c-editorial {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 768px) {
	.g2c-seo {
		padding-top: 88px;
		padding-bottom: 80px;
	}

	.g2c-seo__block,
	.g2c-seo__intro,
	.g2c-seo__trio,
	.g2c-seo__break,
	.g2c-seo__dark {
		margin-bottom: 80px;
	}

	.g2c-seo__break-media {
		aspect-ratio: 4 / 3;
	}

	.g2c-btn--lg,
	.g2c-btn--lg:visited {
		width: 100%;
		min-width: 0;
		padding: 22px 24px;
	}

	.g2c-seo__block:last-of-type {
		margin-bottom: 64px;
	}

	.g2c-seo__dark {
		padding: 72px 0;
	}

	.g2c-seo .g2c-seo__lead {
		margin-bottom: 48px;
		font-size: clamp(30px, 8.5vw, 48px);
	}

	.g2c-fact {
		padding: 32px 0;
	}

	.g2c-fact__value {
		font-size: clamp(56px, 17vw, 96px);
	}

	.g2c-seo__trio {
		grid-template-columns: minmax(0, 1fr);
	}

	.g2c-trio__item:nth-child(2) {
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	.g2c-acc__head {
		padding: 24px 0;
		gap: 24px;
	}

	.g2c-acc__head:hover,
	.g2c-acc__item[open] > .g2c-acc__head {
		padding-left: 0;
	}

	.g2c-acc__body {
		padding-left: 0;
		padding-bottom: 32px;
	}

	.g2c-acc__title,
	.g2c-acc--faq .g2c-acc__title {
		font-size: 22px;
	}

	.g2c-seo__cols p,
	.g2c-acc__text p,
	.g2c-acc__body > p {
		font-size: 16px;
	}

	.g2c-pills li {
		padding: 8px 16px;
		font-size: 13px;
	}

	.g2c-journey {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
}

/* Płynne otwieranie akordeonów tam, gdzie przeglądarka to obsługuje (bez tego po prostu się rozwijają). */
@media (prefers-reduced-motion: no-preference) {
	.g2c-acc {
		interpolate-size: allow-keywords;
	}

	.g2c-acc__item::details-content {
		height: 0;
		overflow: clip;
		transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), content-visibility 0.5s allow-discrete;
	}

	.g2c-acc__item[open]::details-content {
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.g2c-acc__head,
	.g2c-acc__icon::before,
	.g2c-acc__icon::after {
		transition: none;
	}
}
