/* ==========================================================================
   HOMEFIX — VISUAL REDESIGN V1 (2026-11-04). Strona główna, wyłącznie `.hx-*`.
   Markup: inc/homepage-redesign.php. Ładowany tylko na stronie głównej, po
   style.css (patrz functions.php).

   KIERUNEK: spokojna, solidna firma usługowa — nie aplikacja, nie marketplace.
   Płasko, szeroko, na liniach i dużych powierzchniach. Karty nie są domyślnym
   sposobem budowania sekcji. Jeden kontener, jedna oś tekstu, jedna skala.

   SYSTEM
   - Kontener 1280 px, boczny margines 24 px (tak samo jak header i footer).
   - Typ: Figtree (nagłówki) + Work Sans (tekst i UI). H1 jedna skala fluid
     (36–64 px), H2 32→40 px, H3 20 px, nazwa wiersza 24 px, lead 18–19 px,
     tekst 16 px.
   - Promień: 4 px wszędzie (przyciski, chipy, obraz). Bez cieni.
   - Kolory: Background #F4F2EA (baza), Surface Alt #E8E7DC (spokojne pasy),
     Petrol #1B4B54 (dwie pełne sekcje: Standard, Final CTA), Ink #1B2420
     (tekst, footer), Brass #895C25 TYLKO dla aktywnej akcji (telefon) i
     drobnego detalu eyebrow w Hero. Nigdy na ciemnym tle, nigdy na
     nieaktywnych elementach.
   ========================================================================== */

:root {
	--hx-bg: #f4f2ea;
	--hx-alt: #e8e7dc;
	--hx-petrol: #1b4b54;
	--hx-ink: #1b2420;
	--hx-brass: #895c25;
	--hx-brass-hover: #744e20;
	--hx-stone: #6a6458;
	--hx-text: rgba( 27, 36, 32, 0.84 );
	--hx-line: rgba( 27, 75, 84, 0.2 );
	--hx-line-strong: rgba( 27, 75, 84, 0.42 );
	--hx-on-dark: #f4f2ea;
	--hx-on-dark-soft: rgba( 244, 242, 234, 0.84 );
	--hx-on-dark-line: rgba( 244, 242, 234, 0.24 );
	--hx-radius: 4px;
	--hx-wrap: 1280px;
	--hx-gutter: 24px;
	--hx-y: clamp( 52px, 5.2vw, 80px );
	--hx-focus: var( --hx-petrol );
	--hx-display: var( --wp--preset--font-family--display, "Figtree", sans-serif );
	--hx-body: var( --wp--preset--font-family--body, "Work Sans", sans-serif );
}

/* ---------- Baza: jedno tło strony, kontener GeneratePress bez pudełka ---------- */

body.home {
	background-color: var( --hx-bg );
}

body.home .inside-article {
	background: transparent;
	box-shadow: none;
	padding: 0;
}

body.home .site-main {
	margin: 0;
}

body.home .site-content {
	padding: 0;
}

body.home .entry-content {
	margin: 0;
}

body.home .entry-content > .wp-block-group.hx-band {
	margin-block: 0;
}

/* Pełna szerokość sekcji-tła: ta sama technika co 3D (body ma overflow-x hidden). */
.hx-hero,
.hx-band,
.homefix-xray {
	position: relative;
	width: 100vw;
	margin-left: calc( 50% - 50vw );
	box-sizing: border-box;
}

.hx-hero,
.hx-band {
	font-family: var( --hx-body );
	font-size: 16px;
	line-height: 1.65;
	color: var( --hx-text );
	background: var( --hx-bg );
}

.hx-hero *,
.hx-hero *::before,
.hx-hero *::after,
.hx-band *,
.hx-band *::before,
.hx-band *::after {
	box-sizing: border-box;
}

.hx-hero :where( h1, h2, h3, p, ul, ol, li, figure, details, summary ),
.hx-band :where( h1, h2, h3, p, ul, ol, li, figure, details, summary ) {
	margin: 0;
	padding: 0;
}

.hx-hero :where( ul, ol ),
.hx-band :where( ul, ol ) {
	list-style: none;
}

.hx-wrap {
	max-width: var( --hx-wrap );
	margin-inline: auto;
	padding-inline: var( --hx-gutter );
	box-sizing: border-box;
}

.hx-band {
	padding-block: var( --hx-y );
}

.hx-band--alt {
	background: var( --hx-alt );
}

.hx-band--petrol {
	background: var( --hx-petrol );
	color: var( --hx-on-dark-soft );
	--hx-focus: var( --hx-on-dark );
	--hx-line: var( --hx-on-dark-line );
	--hx-line-strong: rgba( 244, 242, 234, 0.4 );
}

/* ---------- Typografia ---------- */

.hx-eyebrow {
	font-family: var( --hx-body );
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var( --hx-stone );
	margin: 0 0 16px;
}

.hx-band--petrol .hx-eyebrow {
	color: rgba( 244, 242, 234, 0.74 );
}

.hx-eyebrow--rule {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Jedyny detal Brass poza akcją: krótka linia przy eyebrow w Hero. */
.hx-eyebrow--rule::before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 2px;
	background: var( --hx-brass );
}

.hx-h2,
.hx-hero__title {
	font-family: var( --hx-display );
	font-weight: 700;
	letter-spacing: -0.018em;
	color: var( --hx-petrol );
	text-wrap: balance;
}

.hx-h2 {
	font-size: clamp( 2rem, 1.35rem + 1.7vw, 2.5rem );
	line-height: 1.12;
	margin: 0;
}

.hx-band--petrol .hx-h2 {
	color: var( --hx-on-dark );
}

.hx-lead {
	font-size: clamp( 1.125rem, 1.07rem + 0.22vw, 1.1875rem );
	line-height: 1.6;
	color: var( --hx-text );
	max-width: 52ch;
	margin: 20px 0 0;
}

.hx-band--petrol .hx-lead {
	color: var( --hx-on-dark-soft );
}

.hx-head {
	max-width: 760px;
}

.hx-head--lead {
	max-width: none;
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: clamp( 24px, 6vw, 96px );
	align-items: end;
}

.hx-head--lead .hx-lead {
	margin: 0;
}

.hx-link {
	color: var( --hx-petrol );
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color 160ms ease;
}

.hx-link:hover {
	color: var( --hx-brass-hover );
}

.hx-link--arrow::after {
	content: "→";
	display: inline-block;
	margin-left: 8px;
	transition: transform 160ms ease;
}

.hx-link--arrow:hover::after {
	transform: translateX( 4px );
}

/* Fokus klawiatury: widoczny, spójny, odwrócony na Petrolu. */
.hx-hero :focus-visible,
.hx-band :focus-visible,
.homefix-xray :focus-visible {
	outline: 2px solid var( --hx-focus );
	outline-offset: 3px;
	border-radius: 2px;
}

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

.hx-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.hx-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var( --hx-radius );
	font-family: var( --hx-body );
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.hx-btn--small {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 15px;
}

.hx-btn svg {
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hx-btn__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: left;
}

.hx-btn__text strong {
	font-weight: 700;
	font-size: 16px;
}

.hx-btn__text span {
	font-size: 14px;
	font-weight: 600;
	opacity: 0.94;
	white-space: nowrap;
}

/* Telefon — jedyna aktywna akcja: Brass, biały tekst 5.8:1. */
.hx-btn--call,
.hx-btn--primary {
	background: var( --hx-brass );
	color: #fff;
}

.hx-btn--call:hover,
.hx-btn--primary:hover {
	background: var( --hx-brass-hover );
	color: #fff;
}

.hx-btn--outline {
	background: transparent;
	color: var( --hx-petrol );
	border-color: var( --hx-petrol );
}

.hx-btn--outline:hover {
	background: var( --hx-petrol );
	color: var( --hx-on-dark );
}

/* Na Petrolu: telefon = jasny przycisk (Brass na Petrolu ma kontrast 1.66:1). */
.hx-actions--dark .hx-btn--call {
	background: var( --hx-on-dark );
	color: var( --hx-petrol );
}

.hx-actions--dark .hx-btn--call:hover {
	background: #fff;
	color: var( --hx-petrol );
}

.hx-actions--dark .hx-btn--primary {
	background: var( --hx-on-dark );
	color: var( --hx-petrol );
}

.hx-actions--dark .hx-btn--outline {
	color: var( --hx-on-dark );
	border-color: rgba( 244, 242, 234, 0.55 );
}

.hx-actions--dark .hx-btn--outline:hover {
	background: var( --hx-on-dark );
	color: var( --hx-petrol );
}

/* ---------- HERO ---------- */

.hx-hero {
	padding-block: clamp( 44px, 5.5vw, 88px ) clamp( 56px, 7vw, 112px );
	overflow: hidden;
}

.hx-hero__grid {
	display: grid;
	grid-template-columns: minmax( 0, 1.02fr ) minmax( 0, 0.98fr );
	gap: clamp( 24px, 4vw, 72px );
	align-items: center;
}

.hx-hero__title {
	font-size: clamp( 2.25rem, 1.1rem + 3.2vw, 4rem );
	line-height: 1.04;
	letter-spacing: -0.022em;
	margin: 0;
}

.hx-hero__lead {
	max-width: 46ch;
	margin: 26px 0 36px;
}

.hx-hero__proof {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 44px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var( --hx-line );
}

.hx-hero__proof li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 600;
	color: var( --hx-petrol );
	line-height: 1.4;
}

.hx-hero__proof li::before {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	background: var( --hx-petrol );
}

.hx-hero__area {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	font-size: 14.5px;
	font-weight: 500;
	color: var( --hx-stone );
}

.hx-hero__area svg {
	fill: none;
	stroke: var( --hx-petrol );
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hx-hero__visual {
	margin: 0;
	/* Render wychodzi lekko poza kolumnę — dom „oddycha", nie siedzi w ramce. */
	margin-right: -3%;
}

.hx-hero__visual picture,
.hx-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Hero ze zdjęciem (FINAL POLISH V1): obraz zajmuje prawą połowę i dochodzi do
   krawędzi okna — jak w fotografii architektonicznej, bez ramki. Tekst zostaje
   w kontenerze 1280 px. */
.hx-hero--photo {
	padding-block: 0;
	min-height: clamp( 560px, 47vw, 740px );
	display: flex;
	align-items: center;
}

.hx-hero--photo .hx-hero__grid {
	grid-template-columns: minmax( 0, 1fr );
	width: 100%;
}

.hx-hero--photo .hx-hero__copy {
	max-width: min( 620px, calc( 54vw - 64px ) );
	padding-block: clamp( 48px, 6vw, 96px );
}

.hx-hero--photo .hx-hero__visual {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 54%;
	margin: 0;
}

.hx-hero--photo .hx-hero__visual picture,
.hx-hero--photo .hx-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var( --hx-hero-focus, 50% 50% );
}

.hx-hero--photo .hx-hero__proof {
	max-width: 100%;
}

/* ---------- JAK TO DZIAŁA (5 kroków, jeden ciąg) ---------- */

.hx-steps {
	display: grid;
	grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	gap: 0 32px;
	margin: clamp( 40px, 5vw, 64px ) 0 0;
	counter-reset: none;
}

.hx-step {
	min-width: 0;
}

.hx-step__num {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	font-family: var( --hx-display );
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: var( --hx-petrol );
}

.hx-step__num::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var( --hx-line-strong );
	margin-right: -16px;
}

.hx-step:last-child .hx-step__num::after {
	margin-right: 0;
}

.hx-step__title {
	font-family: var( --hx-display );
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var( --hx-ink );
	margin: 0 0 8px;
	text-wrap: balance;
}

.hx-step__text {
	font-size: 15px;
	line-height: 1.6;
	color: var( --hx-text );
}

/* ---------- BEZPIECZEŃSTWO + PŁATNOŚĆ (jeden rozdział, linia pośrodku) ---------- */

.hx-safety {
	padding-bottom: clamp( 56px, 6vw, 88px );
}

.hx-split {
	display: grid;
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: clamp( 32px, 6vw, 96px );
	align-items: start;
}

.hx-lines {
	display: block;
}

.hx-line {
	padding: 30px 0;
	border-top: 1px solid var( --hx-line-strong );
}

.hx-line:first-child {
	padding-top: 28px;
}

.hx-line:last-child {
	padding-bottom: 0;
}

.hx-line__title {
	font-family: var( --hx-display );
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var( --hx-ink );
	margin: 0 0 10px;
}

.hx-line__text {
	font-size: 17px;
	line-height: 1.65;
	max-width: 56ch;
}

.hx-pay {
	padding-top: 0;
}

.hx-pay__wrap::before {
	content: "";
	display: block;
	height: 1px;
	background: var( --hx-line );
	margin-bottom: clamp( 56px, 6vw, 88px );
}

.hx-timeline {
	position: relative;
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 0.78fr ) minmax( 0, 1fr );
	gap: 0 var( --hx-tl-gap );
	margin: clamp( 40px, 5vw, 64px ) 0 0;
	--hx-tl-gap: clamp( 24px, 4vw, 64px );
}

/* Jedna linia czasu przez wszystkie trzy węzły. */
.hx-timeline::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	/* kończy się na ostatnim węźle: szerokość trzeciej kolumny */
	right: calc( ( 100% - 2 * var( --hx-tl-gap ) ) / 2.78 );
	height: 1px;
	background: var( --hx-line-strong );
}

.hx-tl {
	position: relative;
	padding-top: 40px;
	min-width: 0;
}

.hx-tl::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var( --hx-petrol );
	box-shadow: 0 0 0 6px var( --hx-bg );
}

.hx-tl--between::before {
	background: var( --hx-bg );
	border: 2px solid var( --hx-petrol );
	box-sizing: border-box;
}

.hx-tl__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var( --hx-petrol );
	margin: 0 0 10px;
}

.hx-tl__title {
	font-family: var( --hx-display );
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: var( --hx-ink );
	margin: 0 0 10px;
	text-wrap: balance;
}

.hx-tl__text {
	font-size: 16px;
	line-height: 1.6;
	max-width: 44ch;
}

.hx-tl--between .hx-tl__text {
	font-weight: 500;
	color: var( --hx-ink );
}

.hx-pay__note {
	margin-top: clamp( 40px, 5vw, 56px );
	max-width: 70ch;
	font-size: 16px;
	color: var( --hx-text );
}

/* ---------- STANDARD HOMEFIX (Petrol, pięć wierszy) ---------- */

.hx-split--rows {
	align-items: start;
}

.hx-rows {
	margin-top: 4px;
	border-bottom: 1px solid var( --hx-on-dark-line );
}

.hx-row {
	display: grid;
	grid-template-columns: minmax( 150px, 0.36fr ) minmax( 0, 1fr );
	gap: 8px 32px;
	padding: 24px 0;
	border-top: 1px solid var( --hx-on-dark-line );
	align-items: baseline;
}

.hx-row__label {
	font-family: var( --hx-display );
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var( --hx-on-dark );
}

.hx-row__text {
	font-size: 17px;
	line-height: 1.6;
	color: var( --hx-on-dark-soft );
}

/* ---------- A JEŚLI COŚ PÓJDZIE NIE TAK? (Surface Alt) ---------- */

.hx-cols {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 0 32px;
	margin: clamp( 40px, 5vw, 64px ) 0 0;
}

.hx-col {
	min-width: 0;
	padding-top: 22px;
	border-top: 1px solid var( --hx-line-strong );
}

.hx-col__num {
	display: block;
	font-family: var( --hx-display );
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var( --hx-petrol );
	margin: 0 0 14px;
}

.hx-col__title {
	font-family: var( --hx-display );
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var( --hx-ink );
	margin: 0 0 8px;
	text-wrap: balance;
}

.hx-col__text {
	font-size: 15.5px;
	line-height: 1.6;
}

.hx-problem__call {
	margin-top: clamp( 36px, 4vw, 52px );
	font-size: 17px;
	color: var( --hx-ink );
}

/* ---------- USŁUGI (pełnoszeroka lista) ---------- */

.hx-services {
	padding-bottom: clamp( 88px, 10vw, 160px );
}

.hx-list {
	margin-top: clamp( 36px, 4vw, 56px );
	border-top: 1px solid var( --hx-line-strong );
}

.hx-item {
	border-bottom: 1px solid var( --hx-line );
}

.hx-item__head {
	display: grid;
	grid-template-columns: 64px minmax( 180px, 0.42fr ) minmax( 0, 1fr ) 20px;
	align-items: center;
	gap: 0 28px;
	min-height: 96px;
	padding: 16px 0;
	cursor: pointer;
	list-style: none;
	transition: background-color 160ms ease;
}

.hx-item__head::-webkit-details-marker {
	display: none;
}

.hx-item__head::marker {
	content: "";
}

.hx-item__head:hover .hx-item__name {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

/* Miniatura kategorii: mały detal w tej samej kampanii zdjęciowej, nie dominuje nad nazwą. */
.hx-item__thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: var( --hx-radius );
	overflow: hidden;
	background: var( --hx-alt );
}

.hx-item__thumb picture,
.hx-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx-item__name {
	font-family: var( --hx-display );
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var( --hx-petrol );
}

.hx-item__desc {
	font-size: 16px;
	line-height: 1.55;
	color: var( --hx-text );
	max-width: 60ch;
}

.hx-chev {
	fill: none;
	stroke: var( --hx-petrol );
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 200ms ease;
}

.hx-item[open] .hx-chev {
	transform: rotate( 180deg );
}

.hx-item__panel {
	padding: 0 0 32px 92px;
}

.hx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.hx-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid var( --hx-line-strong );
	border-radius: var( --hx-radius );
	font-size: 15px;
	font-weight: 500;
	color: var( --hx-petrol );
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.hx-chips a:hover {
	background: var( --hx-petrol );
	color: var( --hx-on-dark );
}

.hx-item__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
}

/* ---------- 3D: płynne wejście, ta sama skala typografii ---------- */

/* Podłoga sceny to tylko cień na tle strony (patrz exploded-house.js i poster), więc
   stage jest jednolitym Background — bez nakładek gradientowych. */
.homefix-xray__copy {
	z-index: 3;
}

.homefix-xray__title {
	font-size: clamp( 2rem, 1.35rem + 1.7vw, 2.5rem );
	color: var( --hx-petrol );
}

.homefix-xray__sub {
	font-size: clamp( 1.125rem, 1.07rem + 0.22vw, 1.1875rem );
	color: var( --hx-text );
	max-width: 34ch;
}

.homefix-xray__scene--final .homefix-xray__title {
	color: var( --hx-petrol );
}

/* Tablet poziomy / wąski laptop (781–1180): kolumna tekstu sceny jest węższa, żeby opis
   i przyciski nie wchodziły na bryłę domu (QA 1024 px: tekst sceny 1 i 7 dotykał ściany). */
@media ( min-width: 781px ) and ( max-width: 1180px ) {
	.homefix-xray__scene {
		width: min( 300px, 30vw );
	}

	.homefix-xray__title {
		font-size: 2rem;
	}
}

/* ---------- TRYBY REALIZACJI (jasne tło, trzy kolumny) ---------- */

/* Kotwice: nagłówek sekcji ląduje pod stałym headerem (ok. 104 px od góry), nie pod jej górnym paddingiem. */
/* Selektory z id: starsza reguła `#homefix-tryby { scroll-margin-top: 90px }` w style.css
   przebijała klasę, więc nagłówek lądował ~165 px pod headerem (QA). Eyebrow ma lądować
   ok. 104 px od góry okna, pod stałym headerem (73 px desktop / 77 px mobile). */
#homefix-tryby {
	scroll-margin-top: calc( 104px - var( --hx-y ) );
}

#homefix-selector {
	scroll-margin-top: 136px;
}

.hx-modes__cols {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	margin-top: clamp( 36px, 4vw, 56px );
	border-top: 1px solid var( --hx-line-strong );
}

.hx-mode {
	padding: 32px 36px 32px 0;
}

.hx-mode + .hx-mode {
	padding-left: 36px;
	border-left: 1px solid var( --hx-line );
}

.hx-mode__name {
	font-family: var( --hx-display );
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var( --hx-petrol );
	margin: 0 0 12px;
}

.hx-mode__text {
	font-size: 16.5px;
	line-height: 1.6;
	max-width: 36ch;
}

.hx-modes__note {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 24px;
	margin: 8px 0 0;
	padding: 20px 0;
	border-top: 1px solid var( --hx-line );
	border-bottom: 1px solid var( --hx-line );
}

.hx-modes__warn {
	font-family: var( --hx-display );
	font-size: 1.125rem;
	font-weight: 700;
	color: var( --hx-petrol );
}

.hx-modes__sub {
	font-size: 16px;
}

.hx-modes .hx-actions {
	margin-top: 40px;
}

/* ---------- HOMEFIX CARE (Surface Alt, spokojna oferta dodatkowa) ---------- */

.hx-care__grid {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 0.56fr );
	gap: clamp( 32px, 7vw, 112px );
	align-items: center;
}

.hx-care__text .hx-lead {
	margin-top: 20px;
}

.hx-plain {
	margin: 32px 0 28px;
	border-bottom: 1px solid var( --hx-line );
}

.hx-plain li {
	padding: 14px 0;
	border-top: 1px solid var( --hx-line );
	font-size: 16.5px;
	line-height: 1.55;
}

.hx-care__more {
	font-size: 16.5px;
}

.hx-care__media {
	margin: 0;
}

.hx-care__media picture,
.hx-care__media img {
	display: block;
	width: 100%;
}

.hx-care__media img {
	aspect-ratio: 4 / 5;
	height: auto;
	object-fit: cover;
	border-radius: var( --hx-radius );
}

/* ---------- FAQ (nagłówek po lewej, wiersze po prawej) ---------- */

/* WordPress (layout „flow") dokłada odstępy blockGap między dziećmi grupy —
   układ siatki ma je mieć wyłącznie z `gap`. */
.hx-faq.wp-block-group > *,
.hx-faq .wp-block-group > * {
	margin-block: 0;
}

.hx-faq .hx-split {
	grid-template-columns: minmax( 0, 4fr ) minmax( 0, 8fr );
}

.hx-faq__title {
	position: sticky;
	top: 112px;
}

.hx-faq__list {
	display: block;
	border-bottom: 1px solid var( --hx-line );
}

.hx-faq__item {
	border-top: 1px solid var( --hx-line );
}

.hx-faq__item:first-child {
	border-top-color: var( --hx-line-strong );
}

.hx-faq__item summary {
	position: relative;
	display: block;
	min-height: 44px;
	padding: 22px 48px 22px 0;
	font-family: var( --hx-display );
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.35;
	color: var( --hx-petrol );
	cursor: pointer;
	list-style: none;
}

.hx-faq__item summary::-webkit-details-marker {
	display: none;
}

.hx-faq__item summary::marker {
	content: "";
}

.hx-faq__item summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E" ) center / contain no-repeat;
	transition: transform 200ms ease;
}

.hx-faq__item[open] summary::after {
	transform: rotate( 180deg );
}

.hx-faq__item summary:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.hx-faq__item p {
	padding: 0 48px 26px 0;
	max-width: 64ch;
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
}

/* ---------- FINAL CTA (Petrol, sam typ) ---------- */

.hx-final {
	padding-block: 0;
	overflow: hidden;
}

.hx-final .hx-final__grid {
	max-width: none;
	padding: 0;
	display: grid;
	grid-template-columns: minmax( 0, 46% ) minmax( 0, 1fr );
	grid-template-areas: "visual copy";
	align-items: stretch;
	gap: 0;
	min-height: clamp( 440px, 36vw, 580px );
}

.hx-final__copy {
	grid-area: copy;
	align-self: center;
	padding: clamp( 56px, 7vw, 112px ) max( 24px, calc( ( 100vw - 1280px ) / 2 + 24px ) ) clamp( 56px, 7vw, 112px ) clamp( 32px, 5vw, 88px );
}

.hx-final__visual {
	grid-area: visual;
	margin: 0;
	position: relative;
	min-height: 260px;
}

.hx-final__visual picture,
.hx-final__visual img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx-final__title {
	max-width: 18ch;
}

.hx-final .hx-lead {
	max-width: 56ch;
}

.hx-final__actions {
	margin-top: 36px;
}

/* ---------- WSPÓŁPRACA (kompaktowy pas) ---------- */

.hx-partner {
	padding-block: clamp( 36px, 4.5vw, 60px );
}

.hx-partner__grid {
	display: grid;
	grid-template-columns: minmax( 0, auto ) minmax( 0, 1fr ) auto;
	gap: 16px clamp( 24px, 5vw, 72px );
	align-items: center;
}

.hx-partner__head .hx-eyebrow {
	margin-bottom: 6px;
}

.hx-partner__title {
	font-family: var( --hx-display );
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: var( --hx-petrol );
}

.hx-partner__text {
	font-size: 16px;
	max-width: 56ch;
}

/* ---------- Pasek mobilny: nie dubluje Hero ani Final CTA ---------- */

@media ( max-width: 600px ) {
	body.home .homefix-sticky-cta {
		transition: transform 240ms ease, visibility 240ms;
	}

	body.home.hx-cta-inview .homefix-sticky-cta {
		transform: translateY( 110% );
		visibility: hidden;
	}

	body.home:has( .homefix-sticky-cta ) {
		padding-bottom: 0;
	}
}

/* ==========================================================================
   TABLET (≤1100)
   ========================================================================== */

@media ( max-width: 1100px ) {
	.hx-steps {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
		gap: 40px 28px;
	}

	.hx-step:nth-child( 3 ) .hx-step__num::after,
	.hx-step:last-child .hx-step__num::after {
		margin-right: 0;
	}

	.hx-cols {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 36px 28px;
	}

	.hx-item__head {
		grid-template-columns: 64px minmax( 150px, 0.5fr ) minmax( 0, 1fr ) 20px;
		gap: 0 20px;
	}

	.hx-item__panel {
		padding-left: 84px;
	}
}

/* ==========================================================================
   ≤900: jedna kolumna tam, gdzie układ dzielony przestaje się mieścić
   ========================================================================== */

@media ( max-width: 900px ) {
	.hx-hero--photo {
		display: block;
		min-height: 0;
	}

	.hx-hero--photo .hx-hero__copy {
		max-width: none;
		padding-block: 28px 36px;
	}

	.hx-hero--photo .hx-hero__visual {
		position: relative;
		left: auto;
		inset: auto;
		aspect-ratio: 16 / 9;
		max-width: none;
		margin-inline: calc( -1 * var( --hx-gutter ) );
		order: -1;
	}

	.hx-hero__grid,
	.hx-split,
	.hx-faq .hx-split,
	.hx-care__grid,
	.hx-head--lead {
		grid-template-columns: minmax( 0, 1fr );
	}

	.hx-hero__grid {
		gap: 8px;
	}

	.hx-hero__visual {
		margin-right: 0;
		max-width: 620px;
	}

	.hx-faq__title {
		position: static;
	}

	.hx-head--lead {
		gap: 16px;
		align-items: start;
	}

	.hx-head--lead .hx-lead {
		margin-top: 4px;
	}

	.hx-care__media {
		max-width: 460px;
	}

	.hx-care__media img {
		aspect-ratio: 16 / 10;
	}

	.hx-final__title,
	.hx-final .hx-lead {
		max-width: none;
	}


	.hx-final .hx-final__grid {
		grid-template-columns: minmax( 0, 1fr );
		grid-template-areas:
			"visual"
			"copy";
		min-height: 0;
	}

	.hx-final__visual {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}

	.hx-final__copy {
		padding: 40px 24px 56px;
	}

	.hx-partner__grid {
		grid-template-columns: minmax( 0, 1fr );
		justify-items: start;
	}

	.hx-partner__text {
		max-width: none;
	}

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

	.hx-mode,
	.hx-mode + .hx-mode {
		padding: 26px 0;
		border-left: 0;
	}

	.hx-mode + .hx-mode {
		border-top: 1px solid var( --hx-line );
	}

	.hx-mode__text {
		max-width: none;
	}
}

/* ==========================================================================
   MOBILE (≤720): osobny układ — pionowe osie, wiersze zamiast kolumn
   ========================================================================== */

@media ( max-width: 720px ) {
	:root {
		--hx-y: 38px;
	}

	.hx-hero {
		padding-block: 28px 40px;
	}

	.hx-hero.hx-hero--photo {
		padding-block: 0 8px;
	}

	.hx-hero__lead {
		margin: 20px 0 28px;
	}

	.hx-hero .hx-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hx-hero .hx-btn {
		justify-content: center;
	}

	.hx-hero__proof {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
		margin-top: 32px;
		padding-top: 6px;
	}

	.hx-hero__proof li {
		padding: 11px 0;
		border-bottom: 1px solid var( --hx-line );
	}

	.hx-hero__proof li::before {
		display: none;
	}

	.hx-hero__proof li:last-child {
		border-bottom: 0;
	}

	.hx-hero__visual {
		margin-top: 12px;
	}

	/* Proces: pionowa oś */
	.hx-steps {
		grid-template-columns: minmax( 0, 1fr );
		gap: 0;
		margin-top: 32px;
	}

	.hx-step {
		position: relative;
		padding: 0 0 34px 60px;
	}

	.hx-step:last-child {
		padding-bottom: 0;
	}

	.hx-step__num {
		position: absolute;
		left: 0;
		top: -3px;
		display: block;
		margin: 0;
		font-size: 28px;
		width: 36px;
	}

	.hx-step__num::after {
		display: none;
	}

	/* Pionowa oś łączy cyfry: od pod cyfrą do następnej. */
	.hx-step::before {
		content: "";
		position: absolute;
		left: 8px;
		top: 36px;
		bottom: 6px;
		width: 1px;
		background: var( --hx-line-strong );
	}

	.hx-step:last-child::before {
		display: none;
	}

	.hx-eyebrow {
		font-size: 12px;
		letter-spacing: 0.07em;
	}

	.hx-eyebrow--rule {
		gap: 10px;
	}

	.hx-eyebrow--rule::before {
		width: 20px;
	}

	.hx-step__title {
		font-size: 1.125rem;
	}

	/* Bezpieczeństwo / Płatność */
	.hx-line {
		padding: 24px 0;
	}

	.hx-timeline {
		grid-template-columns: minmax( 0, 1fr );
		gap: 0;
		margin-top: 32px;
	}

	.hx-timeline::before {
		top: 7px;
		bottom: 0;
		left: 7px;
		right: auto;
		width: 1px;
		height: auto;
	}

	.hx-tl {
		padding: 0 0 36px 44px;
	}

	.hx-tl:last-child {
		padding-bottom: 0;
	}

	.hx-tl::before {
		top: 2px;
	}

	/* Standard */
	.hx-row {
		grid-template-columns: minmax( 0, 1fr );
		gap: 4px;
		padding: 20px 0;
	}

	/* Problem */
	.hx-cols {
		grid-template-columns: minmax( 0, 1fr );
		gap: 0;
		margin-top: 28px;
	}

	.hx-col {
		padding: 20px 0 22px;
	}

	.hx-col__num {
		display: inline-block;
		margin: 0 10px 0 0;
	}

	.hx-col__title {
		display: inline;
	}

	.hx-col__text {
		margin-top: 8px;
	}

	/* Usługi: wiersz = ikona + nazwa + chevron, opis pod spodem */
	.hx-item__head {
		grid-template-columns: 56px minmax( 0, 1fr ) 20px;
		grid-template-areas:
			"thumb name chev"
			"thumb desc chev";
		gap: 2px 16px;
		min-height: 64px;
		padding: 14px 0;
		align-items: center;
	}

	.hx-item__thumb {
		grid-area: thumb;
		grid-row: 1 / 3;
		width: 56px;
		height: 56px;
	}

	.hx-item__name {
		grid-area: name;
		font-size: 1.3125rem;
	}

	.hx-item__desc {
		grid-area: desc;
		font-size: 15px;
		margin-top: 2px;
	}

	.hx-item__head .hx-chev {
		grid-area: chev;
		align-self: start;
		margin-top: 4px;
	}

	.hx-item__panel {
		padding: 0 0 26px 72px;
	}

	.hx-item__cta {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Care */
	.hx-plain li {
		font-size: 16px;
	}

	/* FAQ */
	.hx-faq__item summary {
		font-size: 1.0625rem;
		padding: 20px 40px 20px 0;
	}

	.hx-faq__item p {
		padding-right: 0;
		font-size: 16px;
	}

	/* Final CTA: przyciski na całą szerokość */
	.hx-final .hx-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hx-final .hx-btn {
		justify-content: center;
	}

	.hx-modes .hx-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hx-modes .hx-btn {
		justify-content: center;
	}

	.hx-partner .hx-btn {
		width: 100%;
		justify-content: center;
	}

	/* 3D na telefonie: pas tekstu zamiast karty */
	.homefix-xray__scene {
		border-radius: var( --hx-radius );
		background: rgba( 244, 242, 234, 0.92 );
	}

	.homefix-xray__title {
		font-size: 1.75rem;
	}
}

/* ==========================================================================
   VISUAL ENRICHMENT + COMPRESSION (2026-11-04)
   Cel: strona ok. 20–25 % krótsza bez usuwania treści, więcej znaczących momentów wizualnych
   (hero z detalem instalacji, zdjęcie przy Bezpieczeństwie, osie z animacją, edytorialne Care,
   FAQ w dwóch kolumnach), mikrointerakcje tylko przy `html.hx-motion` (dodawane przez
   homepage-motion.js, nigdy przy reduced-motion). Bez JS wszystko jest widoczne.
   ========================================================================== */

/* ---------- Hero: niższy + detal instalacji w rogu zdjęcia ---------- */

.hx-hero--photo {
	min-height: clamp( 500px, 40vw, 610px );
}

.hx-hero--photo .hx-hero__copy {
	padding-block: clamp( 36px, 4.2vw, 68px );
}

.hx-hero__proof {
	margin-top: 32px;
	padding-top: 18px;
}

.hx-hero__lead {
	margin: 20px 0 28px;
}

.hx-hero__inset {
	position: absolute;
	left: 22px;
	bottom: 22px;
	width: clamp( 118px, 10.5vw, 160px );
	aspect-ratio: 4 / 5;
	margin: 0;
	border: 5px solid var( --hx-bg );
	border-radius: var( --hx-radius );
	overflow: hidden;
	z-index: 2;
}

.hx-hero__inset picture,
.hx-hero__inset img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Proces: zwarty, z osią aktywowaną scrollem ---------- */

.hx-steps {
	margin-top: clamp( 26px, 3.2vw, 40px );
}

.hx-step__num {
	margin-bottom: 14px;
	font-size: 30px;
}

.hx-step__num::after {
	background: linear-gradient( var( --hx-petrol ), var( --hx-petrol ) ) left center / 100% 100% no-repeat, var( --hx-line-strong );
	height: 2px;
}

html.hx-motion .hx-step__num {
	color: rgba( 27, 75, 84, 0.34 );
	transition: color 500ms ease;
}

html.hx-motion .hx-step__num::after {
	background-size: 0% 100%, 100% 100%;
	transition: background-size 800ms var( --hx-ease, ease );
}

html.hx-motion .hx-step.is-active .hx-step__num {
	color: var( --hx-petrol );
}

html.hx-motion .hx-step.is-active .hx-step__num::after {
	background-size: 100% 100%, 100% 100%;
}

html.hx-motion .hx-step__title,
html.hx-motion .hx-step__text {
	opacity: 0.55;
	transition: opacity 500ms ease;
}

html.hx-motion .hx-step.is-active .hx-step__title,
html.hx-motion .hx-step.is-active .hx-step__text {
	opacity: 1;
}

/* ---------- Bezpieczeństwo: zdjęcie po lewej, tekst po prawej ---------- */

.hx-safety {
	padding-bottom: clamp( 36px, 4vw, 56px );
}

.hx-safety__grid {
	display: grid;
	grid-template-columns: minmax( 0, 4.6fr ) minmax( 0, 7.4fr );
	gap: clamp( 28px, 6vw, 96px );
	align-items: center;
}

.hx-safety__visual {
	margin: 0;
	aspect-ratio: 5 / 6;
	max-height: 440px;
	width: 100%;
	overflow: hidden;
	border-radius: var( --hx-radius );
	background: var( --hx-alt );
}

.hx-safety__visual picture,
.hx-safety__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hx-safety__body .hx-lines {
	margin-top: 26px;
}

.hx-line {
	padding: 22px 0;
}

.hx-line:first-child {
	padding-top: 22px;
}

/* ---------- Płatność: mocniejsza oś, aktywacja przy scrollu ---------- */

.hx-pay__wrap::before {
	margin-bottom: clamp( 34px, 4vw, 52px );
}

.hx-timeline {
	margin-top: clamp( 26px, 3vw, 38px );
}

.hx-timeline::before {
	top: 8px;
	height: 2px;
}

.hx-timeline::after {
	content: "";
	position: absolute;
	top: 7px;
	left: 0;
	right: calc( ( 100% - 2 * var( --hx-tl-gap ) ) / 2.78 );
	height: 4px;
	background: var( --hx-petrol );
	transform-origin: left center;
	border-radius: 2px;
}

.hx-tl {
	padding-top: 38px;
}

.hx-tl::before {
	top: 0;
	width: 18px;
	height: 18px;
	box-shadow: 0 0 0 6px var( --hx-bg );
}

.hx-tl--between::before {
	width: 26px;
	height: 26px;
	top: -4px;
	left: -4px;
	border-width: 4px;
	background: var( --hx-bg );
}

.hx-tl__label {
	font-family: var( --hx-display );
	font-size: 15px;
	letter-spacing: 0.1em;
	margin-bottom: 8px;
}

.hx-tl--between .hx-tl__label {
	font-size: 16px;
}

.hx-tl--between .hx-tl__text {
	font-family: var( --hx-display );
	font-size: 1.0625rem;
	font-weight: 700;
	color: var( --hx-petrol );
}

.hx-pay__note {
	margin-top: 26px;
}

html.hx-motion .hx-timeline::after {
	transform: scaleX( 0 );
	transition: transform 1500ms var( --hx-ease, ease ) 150ms;
}

html.hx-motion .hx-timeline.is-active::after {
	transform: scaleX( 1 );
}

html.hx-motion .hx-tl::before {
	background: var( --hx-bg );
	border: 3px solid var( --hx-line-strong );
	box-sizing: border-box;
	transition: background-color 400ms ease, border-color 400ms ease;
}

html.hx-motion .hx-tl--between::before {
	border-width: 4px;
}

html.hx-motion .hx-timeline.is-active .hx-tl::before {
	background: var( --hx-petrol );
	border-color: var( --hx-petrol );
}

html.hx-motion .hx-timeline.is-active .hx-tl--between::before {
	background: var( --hx-bg );
}

html.hx-motion .hx-timeline.is-active .hx-tl:nth-child( 1 )::before {
	transition-delay: 0ms;
}

html.hx-motion .hx-timeline.is-active .hx-tl:nth-child( 2 )::before {
	transition-delay: 650ms;
}

html.hx-motion .hx-timeline.is-active .hx-tl:nth-child( 3 )::before {
	transition-delay: 1300ms;
}

/* ---------- Standard / Problem: zwarciej ---------- */

.hx-row {
	padding: 17px 0;
}

.hx-cols {
	margin-top: clamp( 26px, 3vw, 38px );
}

.hx-col {
	padding-top: 18px;
}

.hx-problem__call {
	margin-top: 26px;
}

.hx-head--lead {
	align-items: center;
}

/* ---------- Usługi: niższe wiersze, hover miniatury ---------- */

.hx-services {
	padding-bottom: clamp( 44px, 5vw, 76px );
}

.hx-list {
	margin-top: clamp( 22px, 2.6vw, 32px );
}

.hx-item__head {
	grid-template-columns: 56px minmax( 180px, 0.42fr ) minmax( 0, 1fr ) 20px;
	min-height: 78px;
	padding: 11px 0;
}

.hx-item__thumb {
	width: 56px;
	height: 56px;
}

.hx-item__thumb img {
	transition: transform 400ms var( --hx-ease, ease );
}

.hx-item__head:hover .hx-item__thumb img {
	transform: scale( 1.08 );
}

.hx-item__panel {
	padding: 0 0 24px 84px;
}

/* Płynne rozwijanie (Chrome 131+, reszta: bez animacji). */
@media ( prefers-reduced-motion: no-preference ) {
	:root {
		interpolate-size: allow-keywords;
	}

	.hx-item::details-content,
	.hx-faq__item::details-content {
		block-size: 0;
		overflow: clip;
		transition: block-size 280ms ease, content-visibility 280ms allow-discrete;
	}

	.hx-item[open]::details-content,
	.hx-faq__item[open]::details-content {
		block-size: auto;
	}
}

/* ---------- 3D: krótszy tor, język „techniczna wizualizacja HomeFix" ---------- */

@media ( prefers-reduced-motion: no-preference ) {
	.homefix-xray__track {
		height: 300vh;
	}
}

/* ---------- Tryby: oś intensywności Standard → Express → Pilna ---------- */

.hx-modes__cols {
	border-top: 0;
	margin-top: clamp( 22px, 2.6vw, 32px );
}

.hx-mode {
	padding: 20px 32px 22px 0;
	border-top: 3px solid rgba( 27, 75, 84, 0.16 );
}

.hx-mode + .hx-mode {
	padding-left: 32px;
}

.hx-mode:nth-child( 2 ) {
	border-top-color: rgba( 27, 75, 84, 0.5 );
}

.hx-mode:nth-child( 3 ) {
	border-top-color: var( --hx-petrol );
}

.hx-mode__name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.hx-mode__level {
	display: inline-flex;
	gap: 5px;
}

.hx-mode__level i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 1.5px solid var( --hx-petrol );
	opacity: 0.35;
	box-sizing: border-box;
}

.hx-mode__level--1 i:nth-child( 1 ),
.hx-mode__level--2 i:nth-child( -n + 2 ),
.hx-mode__level--3 i {
	background: var( --hx-petrol );
	opacity: 1;
}

.hx-modes__note {
	margin-top: 4px;
	padding: 14px 0;
}

.hx-modes .hx-actions {
	margin-top: 26px;
}

/* ---------- Care: edytorialne zdjęcie do krawędzi okna, wtopione w tło ---------- */

.hx-care {
	padding-block: 0;
	overflow: hidden;
}

.hx-care__grid {
	display: block;
}

.hx-care__text {
	max-width: min( 600px, calc( 50vw - 40px ) );
	padding-block: clamp( 40px, 4.6vw, 68px );
}

.hx-care__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 50%;
	max-width: none;
	-webkit-mask-image: linear-gradient( to right, transparent 0, #000 26% );
	mask-image: linear-gradient( to right, transparent 0, #000 26% );
}

.hx-care__media picture,
.hx-care__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 40% 50%;
	aspect-ratio: auto;
	border-radius: 0;
}

.hx-plain {
	margin: 22px 0 20px;
}

.hx-plain li {
	padding: 11px 0;
}

/* ---------- FAQ: dwie kolumny accordionu ---------- */

.hx-faq__grid {
	display: block;
}

.hx-faq__title {
	position: static;
}

.hx-faq .hx-faq__grid > .hx-faq__title {
	margin-bottom: clamp( 18px, 2.2vw, 28px );
}

.hx-faq__cols {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1fr );
	gap: 0 clamp( 28px, 4.5vw, 72px );
	align-items: start;
}

.hx-faq__col {
	display: block;
	border-bottom: 1px solid var( --hx-line );
}

.hx-faq__item summary {
	padding-block: 18px;
}

.hx-faq__item p {
	padding-bottom: 20px;
}

/* ---------- Final CTA / Współpraca ---------- */

.hx-final .hx-final__grid {
	min-height: clamp( 380px, 31vw, 470px );
}

.hx-final__copy {
	padding-block: clamp( 40px, 5vw, 76px );
}

.hx-final__actions {
	margin-top: 28px;
}

.hx-partner {
	padding-block: clamp( 28px, 3.4vw, 44px );
}

/* ---------- Mikrointerakcje: reveal, parallax ---------- */

html.hx-motion .hx-rv {
	opacity: 0;
	transform: translate3d( 0, 14px, 0 );
	transition: opacity 650ms ease calc( var( --i, 0 ) * 70ms ), transform 650ms var( --hx-ease, ease ) calc( var( --i, 0 ) * 70ms );
}

html.hx-motion .hx-rv.is-in {
	opacity: 1;
	transform: none;
}

html.hx-motion .hx-par {
	transform: translate3d( 0, var( --py, 0px ), 0 ) scale( 1.07 );
	will-change: transform;
}

/* ---------- Mobile (≤900 / ≤720): krócej i rytmiczniej ---------- */

@media ( max-width: 900px ) {
	.hx-care {
		padding-block: 0;
	}

	.hx-care__text {
		max-width: none;
		padding-block: 36px 24px;
	}

	.hx-care__media {
		position: relative;
		left: auto;
		inset: auto;
		aspect-ratio: 16 / 9;
		-webkit-mask-image: none;
		mask-image: none;
		margin-inline: calc( -1 * var( --hx-gutter ) );
	}

	.hx-safety__grid {
		grid-template-columns: minmax( 0, 1fr );
		gap: 22px;
	}

	.hx-safety__visual {
		aspect-ratio: 16 / 8;
		max-height: none;
		order: -1;
		margin-inline: calc( -1 * var( --hx-gutter ) );
		width: auto;
		border-radius: 0;
	}

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

	.hx-faq__col + .hx-faq__col .hx-faq__item:first-child {
		border-top-color: var( --hx-line );
	}

	.hx-hero__inset {
		left: 16px;
		bottom: 14px;
		width: 92px;
		border-width: 4px;
	}
}

@media ( max-width: 720px ) {
	.hx-step {
		padding-bottom: 24px;
	}

	.hx-step__num::after {
		display: none;
	}

	html.hx-motion .hx-step::before {
		transform-origin: top center;
		transform: scaleY( 0 );
		transition: transform 700ms var( --hx-ease, ease );
	}

	html.hx-motion .hx-step.is-active::before {
		transform: scaleY( 1 );
	}

	.hx-timeline::before {
		width: 2px;
		left: 8px;
	}

	.hx-timeline::after {
		top: 8px;
		bottom: 0;
		left: 7px;
		right: auto;
		width: 4px;
		height: auto;
		transform-origin: top center;
	}

	html.hx-motion .hx-timeline::after {
		transform: scaleY( 0 );
	}

	html.hx-motion .hx-timeline.is-active::after {
		transform: scaleY( 1 );
	}

	.hx-tl {
		padding: 0 0 26px 48px;
	}

	.hx-tl::before {
		top: 0;
		left: 0;
	}

	.hx-tl--between::before {
		top: -4px;
		left: -4px;
	}

	.hx-mode,
	.hx-mode + .hx-mode {
		padding: 16px 0 16px;
		border-top-width: 3px;
	}

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

	.hx-col {
		padding: 14px 0 16px;
	}

	.hx-row {
		padding: 14px 0;
	}

	.hx-line {
		padding: 18px 0;
	}

	.hx-item__panel {
		padding: 0 0 20px 72px;
	}

	.hx-faq__item summary {
		padding-block: 15px;
	}

	.hx-faq__item p {
		padding-bottom: 16px;
	}

	.hx-final__copy {
		padding: 32px 24px 44px;
	}
}


/* ---------- Dociśnięcie (druga iteracja pomiarów): desktop ---------- */

.hx-hero--photo {
	min-height: clamp( 480px, 38vw, 580px );
}

.hx-safety__visual {
	max-height: 380px;
}

.hx-item__head {
	min-height: 72px;
	padding: 9px 0;
}

.hx-item__thumb {
	width: 52px;
	height: 52px;
}

.hx-item__head {
	grid-template-columns: 52px minmax( 180px, 0.42fr ) minmax( 0, 1fr ) 20px;
}

.hx-item__panel {
	padding-left: 80px;
	padding-bottom: 20px;
}

.hx-mode {
	padding-block: 16px 18px;
}

.hx-care__text {
	padding-block: clamp( 32px, 3.8vw, 56px );
}

.hx-row {
	padding: 15px 0;
}

.hx-pay__wrap::before {
	margin-bottom: clamp( 28px, 3.4vw, 44px );
}

@media ( prefers-reduced-motion: no-preference ) {
	.homefix-xray__track {
		height: 270vh;
	}
}

/* ---------- Dociśnięcie: mobile ---------- */

@media ( max-width: 720px ) {
	.hx-hero__lead {
		font-size: 17px;
		line-height: 1.5;
		margin: 14px 0 20px;
	}

	.hx-hero--photo .hx-hero__copy {
		padding-block: 20px 26px;
	}

	.hx-hero__proof {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 4px 18px;
		margin-top: 20px;
		padding-top: 14px;
	}

	.hx-hero__proof li {
		padding: 0;
		border-bottom: 0;
		font-size: 14px;
	}

	.hx-hero__proof li::before {
		display: block;
	}

	.hx-hero .hx-btn {
		min-height: 48px;
	}

	.hx-hero .hx-actions {
		gap: 10px;
	}

	.hx-head .hx-eyebrow {
		margin-bottom: 10px;
	}

	.hx-step {
		padding-bottom: 18px;
	}

	.hx-step__num {
		font-size: 24px;
	}

	.hx-step__text {
		font-size: 14.5px;
	}

	.hx-safety__grid {
		gap: 16px;
	}

	.hx-safety__visual {
		aspect-ratio: 16 / 7;
	}

	.hx-safety__body .hx-lines {
		margin-top: 16px;
	}

	.hx-line {
		padding: 14px 0;
	}

	.hx-line__text {
		font-size: 16px;
		line-height: 1.55;
	}

	.hx-pay__wrap::before {
		margin-bottom: 24px;
	}

	.hx-tl {
		padding-bottom: 18px;
	}

	.hx-timeline {
		margin-top: 20px;
	}

	.hx-pay__note {
		margin-top: 16px;
		font-size: 15px;
	}

	.hx-row {
		padding: 11px 0;
		gap: 2px;
	}

	.hx-row__text {
		font-size: 16px;
		line-height: 1.5;
	}

	.hx-cols {
		margin-top: 18px;
	}

	.hx-col {
		padding: 11px 0 12px;
	}

	.hx-col__text {
		margin-top: 4px;
		font-size: 14.5px;
	}

	.hx-problem__call {
		margin-top: 18px;
	}

	.hx-list {
		margin-top: 16px;
	}

	.hx-item__head {
		grid-template-columns: 48px minmax( 0, 1fr ) 20px;
		min-height: 0;
		padding: 10px 0;
		gap: 1px 14px;
	}

	.hx-item__thumb {
		width: 48px;
		height: 48px;
	}

	.hx-item__name {
		font-size: 1.1875rem;
	}

	.hx-item__desc {
		font-size: 14px;
		line-height: 1.4;
	}

	.hx-item__panel {
		padding-left: 62px;
	}

	.hx-modes__cols {
		margin-top: 16px;
	}

	.hx-mode,
	.hx-mode + .hx-mode {
		padding: 12px 0 12px;
	}

	.hx-mode__text {
		font-size: 15.5px;
		line-height: 1.5;
	}

	.hx-modes__note {
		padding: 10px 0;
		margin-top: 0;
	}

	.hx-modes .hx-actions {
		margin-top: 16px;
	}

	.hx-care__text {
		padding-block: 28px 18px;
	}

	.hx-care__media {
		aspect-ratio: 16 / 8;
	}

	.hx-plain {
		margin: 14px 0 14px;
	}

	.hx-plain li {
		padding: 9px 0;
		font-size: 15.5px;
	}

	.hx-faq__title {
		font-size: 1.75rem;
	}

	.hx-final__visual {
		aspect-ratio: 16 / 8;
	}

	.hx-final__copy {
		padding: 30px 24px 36px;
	}

	.hx-final__actions {
		margin-top: 20px;
	}

	.hx-partner {
		padding-block: 24px;
	}

	.hx-partner__title {
		font-size: 1.25rem;
	}

	@media ( prefers-reduced-motion: no-preference ) {
		.homefix-xray__track {
			height: 250vh;
		}
	}
}

/* ==========================================================================
   ONE LAST VISUAL POLISH (2026-11-05) — skala, rytm, odwaga kompozycji.
   Benchmark: statementy 56–72 px, duże numery, asymetria, lista usług jako typografia.
   Nie kopiujemy: preloaderów, custom cursora, virtual scrolla, 120+ px, ciemnego WebGL.
   COPY V2.2 bez zmian — tylko skala, układ, crop.
   ========================================================================== */

:root {
	--hx-statement: clamp( 2.125rem, 1rem + 2.9vw, 3.5rem );
}

.hx-h2 {
	font-size: clamp( 2rem, 1rem + 2.1vw, 3rem );
	letter-spacing: -0.022em;
}

.hx-h2.hx-statement {
	font-size: var( --hx-statement );
	line-height: 1.06;
	letter-spacing: -0.026em;
}

/* ---------- Hero: H1 ~80 px, zdjęcie węższe i wyżej ---------- */

.hx-hero__title {
	font-size: clamp( 2.25rem, 5.55vw, 5rem );
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.hx-hero--photo .hx-hero__visual {
	left: 60%;
}

.hx-hero--photo .hx-hero__copy {
	max-width: min( 780px, calc( 60vw - 56px ) );
}

.hx-hero__lead {
	max-width: 46ch;
}

/* ---------- Proces: typograficznie — duże numery, gruba oś ---------- */

.hx-step__num {
	font-size: clamp( 3rem, 5vw, 4.5rem );
	font-weight: 700;
	line-height: 0.9;
	margin-bottom: 18px;
	gap: 14px;
}

.hx-step__num::after {
	height: 4px;
	border-radius: 2px;
	margin-right: -14px;
}

.hx-step__title {
	font-size: 1.1875rem;
	max-width: 17ch;
}

.hx-step__text {
	font-size: 14.5px;
	line-height: 1.55;
	max-width: 24ch;
}

/* ---------- Bezpieczeństwo: zdjęcie wychodzi do krawędzi okna, statement 56 px ---------- */

.hx-safety__grid {
	grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
	gap: clamp( 28px, 5vw, 80px );
	align-items: stretch;
}

.hx-safety__visual {
	margin-left: calc( -1 * ( ( 100vw - min( 100vw, 1280px ) ) / 2 + var( --hx-gutter ) ) );
	aspect-ratio: auto;
	max-height: none;
	height: clamp( 360px, 33vw, 480px );
	min-height: 0;
	border-radius: 0 var( --hx-radius ) var( --hx-radius ) 0;
	width: auto;
}

.hx-safety__body {
	align-self: center;
}

.hx-safety__body .hx-lines {
	margin-top: 22px;
}

.hx-line__title {
	font-size: 1.375rem;
}

/* ---------- Płatność: jedna mocna historia 1 → WYCENA → 2 ---------- */

.hx-tl {
	padding-top: 42px;
}

.hx-tl__label {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 10px;
	font-family: var( --hx-display );
	letter-spacing: 0;
	text-transform: none;
	color: var( --hx-petrol );
}

.hx-tl__word {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding-bottom: 0.75rem;
}

.hx-tl__big {
	font-size: clamp( 4rem, 7.4vw, 6.5rem );
	font-weight: 700;
	line-height: 0.82;
	letter-spacing: -0.04em;
}

.hx-tl--between .hx-tl__label--pivot,
.hx-tl__label--pivot {
	font-size: clamp( 1.75rem, 3.2vw, 2.75rem );
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	align-items: center;
	min-height: clamp( 3.2rem, 5.7vw, 5.3rem );
}

.hx-tl__title {
	font-size: 1.25rem;
	margin-top: 4px;
}

.hx-tl__text {
	font-size: 15px;
	line-height: 1.55;
	max-width: 34ch;
}

.hx-tl--between .hx-tl__text {
	font-size: 1.0625rem;
	line-height: 1.4;
	max-width: 24ch;
}

/* ---------- Standard: statement 56 px (bez przebudowy) ---------- */

.hx-standard .hx-h2 {
	max-width: 11ch;
}

/* ---------- Problem: statement po jednej stronie, lista 01–04 po drugiej ---------- */

.hx-problem__grid {
	display: grid;
	grid-template-columns: minmax( 0, 7fr ) minmax( 0, 5fr );
	grid-template-areas:
		"list head"
		"list call";
	grid-template-rows: auto 1fr;
	column-gap: clamp( 32px, 7vw, 120px );
	row-gap: 0;
	align-items: start;
}

.hx-problem__head {
	grid-area: head;
	max-width: 520px;
}

.hx-problem__head .hx-lead {
	margin-top: 18px;
}

.hx-problem__call {
	grid-area: call;
	margin-top: 22px;
	align-self: start;
}

.hx-nlist {
	grid-area: list;
	border-top: 1px solid var( --hx-line-strong );
}

.hx-n {
	display: grid;
	grid-template-columns: clamp( 64px, 8vw, 110px ) minmax( 0, 1fr );
	gap: 0 clamp( 16px, 2.4vw, 32px );
	align-items: start;
	padding: clamp( 14px, 1.7vw, 22px ) 0;
	border-bottom: 1px solid var( --hx-line );
}

.hx-n__num {
	font-family: var( --hx-display );
	font-size: clamp( 2.5rem, 5vw, 4.25rem );
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: rgba( 27, 75, 84, 0.34 );
}

.hx-n__title {
	font-family: var( --hx-display );
	font-size: clamp( 1.1875rem, 1.6vw, 1.5rem );
	font-weight: 700;
	line-height: 1.25;
	color: var( --hx-ink );
	margin: 4px 0 4px;
}

.hx-n__text {
	font-size: 15.5px;
	line-height: 1.55;
	max-width: 46ch;
}

.hx-n:hover .hx-n__num {
	color: var( --hx-petrol );
}

/* ---------- Usługi: lista jako typografia — 44 px nazwy, miniatury 88 px ---------- */

.hx-item__head {
	grid-template-columns: 84px minmax( 260px, 0.62fr ) minmax( 0, 1fr ) 24px;
	gap: 0 clamp( 20px, 2.6vw, 36px );
	min-height: 100px;
	padding: 8px 0;
}

.hx-item__thumb {
	width: 84px;
	height: 84px;
}

.hx-item__name {
	font-size: clamp( 1.875rem, 3.1vw, 2.75rem );
	line-height: 1.05;
	letter-spacing: -0.02em;
	transition: transform 320ms var( --hx-ease, ease ), color 200ms ease;
}

.hx-item__desc {
	font-size: 15px;
	line-height: 1.5;
	color: rgba( 27, 36, 32, 0.7 );
	max-width: 40ch;
}

.hx-item__head:hover .hx-item__name {
	text-decoration: none;
	transform: translateX( 8px );
}

.hx-item__head:hover .hx-item__thumb img {
	transform: scale( 1.1 );
}

.hx-item__panel {
	padding-left: calc( 84px + clamp( 20px, 2.6vw, 36px ) );
}

/* ---------- 3D: tytuł wejściowy i finałowy w skali statementu ---------- */

.homefix-xray__scene[data-scene="1"] .homefix-xray__title,
.homefix-xray__scene--final .homefix-xray__title {
	font-size: clamp( 2.25rem, 3.9vw, 3.5rem );
	line-height: 1.04;
	letter-spacing: -0.03em;
}

/* ---------- Tryby: nazwy 40 px, kropki poziomu nad nazwą ---------- */

.hx-mode__name {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 14px;
	font-size: clamp( 1.875rem, 3vw, 2.5rem );
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.hx-mode__level i {
	width: 12px;
	height: 12px;
}

.hx-mode__level {
	gap: 7px;
}

.hx-mode__text {
	font-size: 16px;
	max-width: 30ch;
}

/* ---------- FAQ: pytania 24 px ---------- */

.hx-faq__item summary {
	font-size: clamp( 1.25rem, 1.7vw, 1.5rem );
	line-height: 1.25;
	padding-block: 22px;
	padding-right: 52px;
}

.hx-faq__item p {
	font-size: 1.0625rem;
	line-height: 1.6;
	max-width: 56ch;
}

.hx-faq__cols {
	gap: 0 clamp( 36px, 5vw, 88px );
}

/* ---------- Final CTA: 64 px, zdjęcie 40 % ---------- */

.hx-final .hx-final__grid {
	grid-template-columns: minmax( 0, 40% ) minmax( 0, 1fr );
}

.hx-final .hx-final__title.hx-statement {
	font-size: clamp( 2.25rem, 4.4vw, 4rem );
	max-width: none;
	line-height: 1.04;
}

.hx-final .hx-lead {
	font-size: 1.25rem;
	max-width: 48ch;
}

/* ---------- Tablet / wąski laptop ---------- */

@media ( max-width: 1100px ) {
	.hx-hero__title {
		font-size: 5vw;
	}

	.hx-hero--photo .hx-hero__visual {
		left: 54%;
	}

	.hx-hero--photo .hx-hero__copy {
		max-width: calc( 54vw - 48px );
	}

	.hx-item__head {
		grid-template-columns: 72px minmax( 200px, 0.7fr ) minmax( 0, 1fr ) 24px;
	}

	.hx-item__thumb {
		width: 72px;
		height: 72px;
	}

	.hx-item__panel {
		padding-left: calc( 72px + 24px );
	}

	.hx-n {
		grid-template-columns: 64px minmax( 0, 1fr );
	}
}

@media ( min-width: 781px ) and ( max-width: 1180px ) {
	.homefix-xray__scene[data-scene="1"] .homefix-xray__title,
	.homefix-xray__scene--final .homefix-xray__title {
		font-size: 2.375rem;
	}
}

/* ---------- Mobile: statementy 34–38 px, jedna myśl na ekran, listy ---------- */

@media ( max-width: 900px ) {
	.hx-hero--photo .hx-hero__copy {
		max-width: none;
	}

	.hx-hero--photo .hx-hero__visual {
		left: auto;
	}

	.hx-safety__grid {
		grid-template-columns: minmax( 0, 1fr );
		gap: 16px;
		align-items: start;
	}

	.hx-safety__visual {
		margin-left: calc( -1 * var( --hx-gutter ) );
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 8;
		border-radius: 0;
	}

	.hx-problem__grid {
		grid-template-columns: minmax( 0, 1fr );
		grid-template-areas:
			"head"
			"list"
			"call";
		row-gap: 20px;
	}

	.hx-final .hx-final__grid {
		grid-template-columns: minmax( 0, 1fr );
	}
}

@media ( max-width: 720px ) {
	:root {
		--hx-statement: 2.125rem;
	}

	.hx-h2 {
		font-size: 1.875rem;
	}

	.hx-hero__title {
		font-size: 2.25rem;
	}

	.hx-step__num {
		font-size: 2.5rem;
		line-height: 1;
		width: 44px;
	}

	.hx-step {
		padding-left: 68px;
	}

	.hx-step__title {
		max-width: none;
		font-size: 1.1875rem;
	}

	.hx-step__text {
		max-width: none;
	}

	.hx-tl__big {
		font-size: 4rem;
	}

	.hx-tl__label--pivot {
		font-size: 1.75rem;
		min-height: 0;
	}

	.hx-tl__label {
		margin-bottom: 6px;
	}

	.hx-tl__text,
	.hx-tl--between .hx-tl__text {
		max-width: none;
	}

	.hx-n {
		grid-template-columns: 54px minmax( 0, 1fr );
		padding: 14px 0;
	}

	.hx-n__num {
		font-size: 2.25rem;
	}

	.hx-n__title {
		font-size: 1.125rem;
		margin-top: 2px;
	}

	.hx-n__text {
		font-size: 14.5px;
	}

	.hx-item__head {
		grid-template-columns: 64px minmax( 0, 1fr ) 20px;
		grid-template-areas:
			"thumb name chev"
			"thumb desc chev";
		gap: 2px 14px;
		min-height: 0;
		padding: 12px 0;
	}

	.hx-item__thumb {
		width: 64px;
		height: 64px;
		grid-area: thumb;
		grid-row: 1 / 3;
	}

	.hx-item__name {
		font-size: 1.75rem;
		grid-area: name;
	}

	.hx-item__desc {
		grid-area: desc;
		font-size: 14px;
		max-width: none;
	}

	.hx-item__panel {
		padding-left: 78px;
	}

	.hx-item__head:hover .hx-item__name {
		transform: none;
	}

	.hx-mode__name {
		font-size: 1.875rem;
		gap: 10px;
	}

	.hx-faq__item summary {
		font-size: 1.1875rem;
		padding-block: 17px;
	}

	.hx-final .hx-final__title.hx-statement {
		font-size: 2.125rem;
	}

	.hx-final .hx-lead {
		font-size: 1.0625rem;
	}

	.homefix-xray__scene[data-scene="1"] .homefix-xray__title,
	.homefix-xray__scene--final .homefix-xray__title {
		font-size: 2rem;
	}
}

/* ==========================================================================
   TYPOGRAPHY REBALANCE (2026-11-05) — trzy wyraźne poziomy + użytkowe H2.
   1440 / 1024 / mobile:  H1 80 / 52 / 36 (bez zmian)
                          Statement XL (Final CTA)  66 / 48 / 36   waga 700
                          Statement L  (Standard, 3D) 54–56 / 41 / 32  waga 600
                          H2 użytkowe  42 / 34 / 28                waga 600, −0,02 em
   Cyfry zawsze poniżej H1; nazwy list (usługi, tryby) poniżej H2; body ≥ 16 px.
   text-wrap: balance dla H1–H3, pretty dla leadów i body. Tylko skala/waga/łamanie.
   ========================================================================== */

:root {
	--hx-h2: clamp( 1.75rem, 0.9rem + 1.92vw, 2.75rem );
	--hx-statement-l: clamp( 2rem, 0.55rem + 3.15vw, 3.4rem );
	--hx-statement-xl: clamp( 2.25rem, 0.25rem + 4.3vw, 4.25rem );
}

.hx-h2,
.hx-h2.hx-statement {
	font-size: var( --hx-h2 );
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

/* Statement L: Standard (+ tytuły scen 3D, które już mają 56 / 38 / 32). */
.hx-standard .hx-h2.hx-statement {
	font-size: var( --hx-statement-l );
	line-height: 1.06;
	letter-spacing: -0.022em;
	max-width: none;
}

/* Statement XL: Final CTA — najmocniejszy po H1. */
.hx-final .hx-final__title.hx-statement {
	font-size: var( --hx-statement-xl );
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.028em;
}

/* Standard: szersza kolumna nagłówka, żeby „Nie wysyłamy / przypadkowych osób." nie
   kończyło się samotnym „osób.". */
@media ( min-width: 901px ) {
	.hx-standard .hx-split--rows {
		grid-template-columns: minmax( 0, 5.8fr ) minmax( 0, 6.2fr );
	}
}

.homefix-xray__title {
	font-weight: 600;
	letter-spacing: -0.022em;
}

/* Cyfry: Proces 56, Płatność 76, Problem 48 — zawsze poniżej H1. */
.hx-step__num {
	font-size: clamp( 2.5rem, 3.9vw, 3.5rem );
}

.hx-tl__big {
	font-size: clamp( 3.5rem, 5.3vw, 4.75rem );
}

.hx-tl--between .hx-tl__label--pivot,
.hx-tl__label--pivot {
	font-size: clamp( 1.5rem, 2.7vw, 2.5rem );
	min-height: clamp( 2.8rem, 4.4vw, 4.1rem );
}

.hx-n__num {
	font-size: clamp( 2.25rem, 3.4vw, 3rem );
}

/* Nazwy list poniżej H2, waga 600. */
.hx-item__name {
	font-size: clamp( 1.625rem, 0.74rem + 1.68vw, 2.375rem );
	font-weight: 600;
	letter-spacing: -0.018em;
}

.hx-mode__name {
	font-size: clamp( 1.75rem, 0.7rem + 1.55vw, 2.25rem );
	font-weight: 600;
	letter-spacing: -0.018em;
}

.hx-faq__item summary {
	font-size: 1.375rem;
}

/* Lead 19–20 / 18 / 17,5; body (opisy akapitowe) nie poniżej 16 px. */
.hx-lead {
	font-size: 1.1875rem;
}

.hx-final .hx-lead {
	font-size: 1.25rem;
}

.hx-step__text,
.hx-tl__text,
.hx-n__text,
.hx-item__desc,
.hx-mode__text,
.hx-plain li,
.hx-col__text,
.hx-row__text,
.hx-line__text,
.hx-faq__item p,
.hx-partner__text,
.hx-pay__note {
	font-size: 1rem;
}

.hx-line__text,
.hx-row__text,
.hx-faq__item p {
	font-size: 1.0625rem;
}

/* Łamanie: balance dla nagłówków, pretty dla tekstu (bez osieroconych słów). */
.hx-hero h1,
.hx-band :is( h1, h2, h3 ),
.homefix-xray__title,
.hx-hero__title {
	text-wrap: balance;
}

.hx-lead,
.hx-hero p,
.hx-band p,
.hx-band li,
.homefix-xray__sub {
	text-wrap: pretty;
}

.hx-band .hx-item__desc,
.hx-band .hx-mode__text,
.hx-band .hx-line__text,
.hx-band .hx-row__text,
.hx-band .hx-tl__text,
.hx-band .hx-n__text,
.hx-band .hx-step__text,
.hx-band .hx-col__text,
.hx-band .hx-plain li,
.hx-band .hx-faq__item summary,
.hx-band .hx-faq__item p {
	text-wrap: balance;
}

@media ( max-width: 1100px ) {
	.hx-lead {
		font-size: 1.125rem;
	}

	.hx-faq__item summary {
		font-size: 1.25rem;
	}
}

@media ( max-width: 720px ) {
	.hx-lead,
	.hx-final .hx-lead {
		font-size: 1.0938rem;
	}

	.hx-faq__item summary {
		font-size: 1.1563rem;
	}

	.hx-item__name {
		font-size: 1.625rem;
	}

	.hx-mode__name {
		font-size: 1.75rem;
	}

	.hx-step__num {
		font-size: 2.5rem;
	}

	.hx-tl__big {
		font-size: 3.5rem;
	}

	.hx-tl--between .hx-tl__label--pivot,
	.hx-tl__label--pivot {
		font-size: 1.5rem;
		min-height: 0;
	}

	.hx-n__num {
		font-size: 2.25rem;
	}

	.hx-line__text,
	.hx-row__text,
	.hx-faq__item p,
	.hx-n__text,
	.hx-item__desc,
	.hx-mode__text,
	.hx-step__text,
	.hx-tl__text,
	.hx-plain li {
		font-size: 1rem;
	}

	.hx-hero__lead {
		font-size: 1.0938rem;
	}
}

/* Wąski telefon: eyebrow w Hero mieści się w jednej linii (bez kreski). */
@media ( max-width: 420px ) {
	.hx-eyebrow--rule {
		letter-spacing: 0.04em;
		font-size: 11.5px;
	}

	.hx-eyebrow--rule::before {
		display: none;
	}
}

/* ---------- Ruch ograniczony ---------- */

@media ( prefers-reduced-motion: reduce ) {
	.hx-hero *,
	.hx-band * {
		transition: none !important;
		animation: none !important;
	}
}
