/* ==========================================================================
   Angelika Macardier – KAPITALARK
   Szata 1.6: jasna, „magazynowa” (papier + granat + różowe złoto jako akcent).
   Krój: Cormorant Garamond (nagłówki) + Montserrat (tekst). Bez cieni i poświat –
   podziały robią cienkie linie. Krytyczny fragment (nav + hero) jest powielony
   w functions.php → angelika_head_inline(); zmieniając go, zmień oba miejsca.
   ========================================================================== */

:root {
	--paper: #f6f1ea;
	--sand: #ece4d8;
	--card: #fffdf9;
	--ink: #0b2d46;
	--ink-2: #123d5e;
	--ink-deep: #071e30;
	--text: #1f2a33;
	--muted: #56616b;
	--line: rgba(11, 45, 70, .16);
	--line-strong: rgba(11, 45, 70, .32);
	--line-light: rgba(255, 255, 255, .14);
	--gold: #c9917a;
	--gold-ink: #8f553f;
	--serif: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
	--sans: 'Montserrat', 'Montserrat Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
	--nav-h: 76px;
	--wrap: 1280px;
	--gutter: 24px;
	--sec: clamp(80px, 10vw, 140px);
	--ease: cubic-bezier(.2, .65, .3, 1);
	--r: 2px;

	/* Zgodność wstecz: nazwy z 1.5 (używane w inline stylach / JS). */
	--color-dark-blue: var(--ink);
	--color-gold: var(--gold);
	--color-white: #fff;
	--font-heading: var(--serif);
	--font-body: var(--sans);
}

/* --- Baza ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-variant-numeric: lining-nums; /* Cormorant ma domyślnie cyfry nautyczne („IOO”). */
	overflow-x: hidden;
	overflow-x: clip; /* clip nie robi z body kontenera przewijania – inaczej psuje position: sticky. */
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.012em;
	color: var(--ink);
}
h2 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
h4 { font-size: 1.25rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; position: relative; }
.section-light { background: var(--sand); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.text-center { text-align: center; }

/* Akcenty w nagłówkach (spany z lp-data.php). */
.accent, .accent-dark, .accent-gold, .hero-premium-title-accent {
	font-style: italic;
	color: var(--gold-ink);
}
.section-dark .accent, .section-dark .accent-dark, .section-dark .accent-gold,
.video-section .accent, .video-section .accent-dark,
.staging-section .accent, .staging-section .accent-dark,
.process-cta .accent-dark { color: var(--gold); }
p .accent-dark, p .accent { font-family: var(--serif); font-size: 1.12em; }

/* --- Nagłówek sekcji (redakcyjny, do lewej) ------------------------------ */
.section-header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	column-gap: clamp(32px, 6vw, 96px);
	align-items: end;
	margin-bottom: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(24px, 3vw, 36px);
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.section-header > * { grid-column: 1; }
.section-header .section-tag { grid-column: 1 / -1; }
.section-header .section-title { margin: 0; }
.section-header .section-subtitle,
.section-header .google-reviews-badge { grid-column: 2; grid-row: 2; justify-self: end; margin: 0; }
.section-tag {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-ink);
	margin-bottom: 22px;
}
.section-tag::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-dark .section-tag, .video-section .section-tag, .staging-section .section-tag { color: var(--gold); }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.0625rem; color: var(--muted); max-width: 30rem; }
.section-dark .section-subtitle, .video-section .section-subtitle { color: rgba(255, 255, 255, .7); }
.section-dark .section-header, .video-section .section-header { border-color: var(--line-light); }

/* --- Przyciski ----------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 26px;
	font-family: var(--sans);
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	border: 1px solid transparent;
	border-radius: var(--r);
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-lg { min-height: 58px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section-dark .btn-primary, .staging-section .btn-primary, .process-cta .btn-primary {
	background: var(--gold); color: var(--ink);
}
.section-dark .btn-primary:hover, .staging-section .btn-primary:hover, .process-cta .btn-primary:hover {
	background: #fff; color: var(--ink);
}
.contact-form .btn-primary { background: var(--ink); color: #fff; }
.contact-form .btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn:disabled { opacity: .7; cursor: progress; }

/* --- Nawigacja ------------------------------------------------------------ */
.navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	background: rgba(246, 241, 234, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, background-color .3s ease;
}
.navbar.scrolled { border-bottom-color: var(--line); background: rgba(246, 241, 234, .98); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-text { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.logo-subtext { margin-top: 6px; font-size: .65rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav-menu a { font-size: .875rem; font-weight: 500; color: var(--ink); position: relative; }
.nav-menu a:not(.nav-cta)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-menu .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--ink); color: #fff; border-radius: var(--r); transition: background-color .3s, color .3s; }
.nav-menu .nav-cta:hover { background: var(--gold); color: var(--ink); }
.hamburger { display: none; width: 44px; height: 44px; position: relative; }
.hamburger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 72px)); background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-text { padding-bottom: clamp(24px, 4vw, 56px); }
.hero-tag { display: flex; align-items: center; gap: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.hero-tag-line { width: 40px; height: 1px; background: currentColor; flex: none; }
.hero-title { margin: 26px 0 28px; font-size: clamp(2.9rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.02em; color: var(--ink); }
.hero-subtitle { max-width: 34rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.hero-subtitle-accent { font-family: var(--serif); font-size: 1.2em; font-style: italic; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.hero-phone { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color .3s; }
.hero-phone:hover { border-color: var(--gold); }
.hero-stats { display: flex; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.hero-stat { padding: 22px clamp(20px, 3vw, 40px) 0 0; margin-right: clamp(20px, 3vw, 40px); border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; margin-right: 0; }
.hero-stat-value { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 500; line-height: 1; color: var(--ink); }
.hero-stat-label { display: block; margin-top: 10px; max-width: 13ch; font-size: .7rem; font-weight: 600; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-visual { position: relative; }
.hero-arch { position: relative; height: clamp(460px, 70vh, 700px); border-radius: 999px 999px 0 0; overflow: hidden; background: var(--ink); }
.hero-arch > picture, .hero-arch > picture > img, .hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-arch::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 45, 70, .05) 0%, rgba(11, 45, 70, .30) 50%, rgba(11, 45, 70, .78) 100%); }
.hero-agent-photo { position: absolute; z-index: 2; left: 50%; bottom: 0; height: 90%; width: auto; max-width: none; transform: translateX(-50%); }
.hero-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 16px 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.hero-agent-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); }
.hero-agent-role { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-service { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 26px 24px; border-right: 1px solid var(--line); transition: background-color .3s ease; }
.hero-service:first-child { padding-left: 0; }
.hero-service:last-child { border-right: 0; }
.hero-service:hover { background: var(--card); }
.hero-service-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); color: var(--gold-ink); }
.hero-service-text { display: flex; flex-direction: column; gap: 2px; }
.hero-service-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.hero-service-desc { font-size: .8125rem; color: var(--muted); }
.hero-service-arrow { color: var(--ink); transition: transform .35s var(--ease); }
.hero-service:hover .hero-service-arrow { transform: translateX(5px); }

/* --- Formularze (wspólne) --------------------------------------------------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.form-input, .exit-popup-input {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font-family: var(--sans);
	font-size: 1rem;
	color: var(--text);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--r);
	transition: border-color .25s ease, box-shadow .25s ease;
	-webkit-appearance: none;
	appearance: none;
}
.form-input::placeholder, .exit-popup-input::placeholder { color: #8a939b; }
.form-input:focus, .exit-popup-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 145, 122, .35); }
.form-group.error .form-input { border-color: #b42318; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; }
.form-checkbox input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.form-checkbox label { font-size: .78rem; line-height: 1.55; color: var(--muted); }
.cf-turnstile { margin: 4px 0 16px; }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Szybki kontakt (pod hero) -------------------------------------------- */
.quick-lead { padding: clamp(40px, 5vw, 64px) 0 0; position: relative; z-index: 2; }
.quick-lead-card {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
	background: var(--card);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
}
.quick-lead-title { margin: 0 0 6px; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; }
.quick-lead-sub { margin: 0; font-size: .9375rem; color: var(--muted); }
.quick-lead-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.quick-lead-fields .form-group { margin-bottom: 0; }
.quick-lead-btn { min-height: 52px; white-space: nowrap; }
.quick-lead-consent { margin: 16px 0 0; }
.quick-lead-form .cf-turnstile { margin: 16px 0 0; }
.quick-lead-done { padding: 24px 16px; text-align: center; }
.quick-lead-done h3 { margin: 0 0 6px; font-size: 1.75rem; }
.quick-lead-done p { margin: 0; color: var(--muted); }

/* --- O mnie ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.about-image { position: relative; margin: 0 0 18px 18px; }
.about-image::before { content: ""; position: absolute; inset: 18px 18px -18px -18px; border: 1px solid var(--gold); }
.about-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.about-image picture { position: relative; }
.about-agency { display: flex; align-items: center; gap: 18px; margin: 4px 0 28px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agency-logo { height: 34px; width: auto; padding: 8px 12px; box-sizing: content-box; background: var(--ink); }
.agency-title { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.about-lead { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.8rem); font-weight: 500; line-height: 1.35; color: var(--ink); }
.about-lead .accent-dark { font-size: 1em; }
.about-text { color: var(--muted); }
.about-features { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 36px; }
.feature { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.feature-icon { display: grid; place-items: center; color: var(--gold-ink); }
.feature-icon svg { width: 18px; height: 18px; }

/* --- Rynek lokalny (tylko LP dzielnicowe) ----------------------------------- */
.local-market-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.local-market-text p { margin-bottom: 20px; color: var(--muted); }
.local-market-text p:last-child { margin-bottom: 0; }
.local-market-text .local-market-lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.4; color: var(--ink); }
.local-areas { padding-top: 20px; border-top: 2px solid var(--ink); }
.local-areas-title { margin-bottom: 12px; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.local-areas-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.local-areas-list li { padding: 10px 0; font-size: .9375rem; color: var(--ink); border-bottom: 1px solid var(--line); }

/* --- Oferta: lista rozwijana + zdjęcie ------------------------------------ */
.offer-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.offer-media { position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.offer-media-item { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 1.4s var(--ease); }
.offer-media-item.is-active { opacity: 1; transform: none; }
.offer-media-item img { width: 100%; height: 100%; object-fit: cover; }
.offer-items { border-top: 1px solid var(--line-strong); }
.offer-item { border-bottom: 1px solid var(--line-strong); }
.offer-item-head { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: center; gap: 16px; padding: clamp(22px, 2.6vw, 32px) 0; }
.offer-row-tag { font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-ink); }
.offer-row-title { margin: 0; font-size: clamp(1.9rem, 3vw, 2.75rem); line-height: 1.05; }
.offer-item-toggle { padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-align: left; background: none; }
.offer-item-toggle::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.offer-item-toggle:focus-visible { outline: none; }
.offer-item-toggle:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 2px; }
.offer-item-icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.offer-item-icon::before, .offer-item-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.offer-item-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.offer-item.is-open .offer-item-icon::after { transform: translate(-50%, -50%) rotate(0); }
.offer-item-head:hover .offer-row-title { color: var(--gold-ink); }
.offer-row-title { transition: color .3s ease; }
.offer-item-panel { display: grid; grid-template-rows: 1fr; }
.offer-ready .offer-item-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility .55s; }
.offer-ready .offer-item.is-open .offer-item-panel { grid-template-rows: 1fr; visibility: visible; }
.offer-item-inner { min-height: 0; overflow: hidden; padding-left: 72px; }
.offer-row-desc { max-width: 34rem; margin-bottom: 20px; font-size: 1.0625rem; color: var(--muted); }
.offer-row-features { max-width: 34rem; margin-bottom: 28px; border-top: 1px solid var(--line); }
.offer-row-features li { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: .9375rem; color: var(--text); border-bottom: 1px solid var(--line); }
.offer-row-features li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--gold-ink); }
.offer-row-btn { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(28px, 3vw, 40px); padding-bottom: 6px; font-weight: 600; font-size: .9375rem; color: var(--ink); border-bottom: 1px solid var(--ink); }
.offer-row-btn svg { transition: transform .3s var(--ease); }
.offer-row-btn:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
.offer-row-btn:hover svg { transform: translateX(4px); }

/* --- Portale ----------------------------------------------------------------- */
.portals-slider { padding: 36px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portals-slider-track { display: flex; width: max-content; animation: portals-scroll 45s linear infinite; }
.portals-slider-content { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.portal-logo { height: 26px; width: auto; filter: grayscale(1); opacity: .55; mix-blend-mode: multiply; }
@keyframes portals-scroll { to { transform: translateX(-50%); } }

/* --- Wideo ------------------------------------------------------------------- */
.video-section { background: var(--ink); color: rgba(255, 255, 255, .78); }
.video-section h2 { color: #fff; }
.video-wrapper { max-width: 1040px; margin: 0 auto; }
.video-container { padding: clamp(8px, 1.2vw, 14px); border: 1px solid var(--line-light); }
.video-container iframe { background: var(--ink-deep); }
/* 1.6.2 (audyt Clarity 18.11, AN-B4): okładka zamiast samoładującej się ramki playera */
.video-facade {
	position: absolute; inset: 0; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	width: 100%; padding: 0; border: 0; cursor: pointer;
	background: radial-gradient(120% 90% at 50% 40%, rgba(255, 255, 255, .08), transparent 60%), var(--ink-deep);
	color: #fff; font: inherit;
}
.video-facade__play {
	display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35);
	transition: transform .3s ease, background-color .3s ease;
}
.video-facade__play svg { margin-left: 4px; }
.video-facade__txt { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.video-facade:hover .video-facade__play, .video-facade:focus-visible .video-facade__play { transform: scale(1.06); background: rgba(255, 255, 255, .2); }
.video-facade:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

/* --- CTA ---------------------------------------------------------------------- */
.cta-section { background: var(--sand); }
.cta-box { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.cta-image { max-width: 400px; }
.cta-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%; }
.cta-title { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.cta-text { max-width: 34rem; margin: 20px 0 36px; font-size: 1.125rem; color: var(--muted); }

/* --- Proces ------------------------------------------------------------------- */
.process-cards-wrapper { border-top: 1px solid var(--line-strong); }
.process-card {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) minmax(0, .85fr);
	grid-template-areas: "num content image";
	gap: clamp(24px, 4vw, 64px);
	align-items: start;
	padding: clamp(40px, 5vw, 64px) 0;
	border-bottom: 1px solid var(--line-strong);
}
.process-card-image { display: contents; }
.process-card-number { grid-area: num; font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5.5rem); font-weight: 500; line-height: .85; color: var(--gold); }
.process-img { grid-area: image; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.process-card-content { grid-area: content; }
.process-card-tag { margin-bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.process-card-title { margin-bottom: 16px; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.process-card-desc { margin-bottom: 22px; color: var(--muted); }
.process-card-list { border-top: 1px solid var(--line); }
.process-card-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: .9375rem; border-bottom: 1px solid var(--line); }
.process-card-list svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--gold-ink); }
/* Scena przewijana (JS dodaje .process-scene tylko na ekranach ≥ 1024 × 640 bez reduced-motion).
   Tor = wysokość sceny + (kroki − 1) × 75vh; scena przyklejona pod nawigacją, aktywny krok z postępu. */
.process-scene .process-cards-wrapper { --stage-h: calc(100vh - var(--nav-h)); position: relative; height: calc(var(--stage-h) + (var(--steps, 4) - 1) * 75vh); border-top: 0; }
.process-scene .process-stage { position: sticky; top: var(--nav-h); height: var(--stage-h); }
.process-scene .process-card { position: absolute; inset: clamp(24px, 4vh, 48px) 0 110px; padding: 0; border: 0; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.process-scene .process-card.is-active { opacity: 1; visibility: visible; }
.process-scene .process-card-number { align-self: start; font-size: clamp(5rem, 9vw, 8.5rem); transform: translateY(40px); transition: transform .9s var(--ease); }
.process-scene .process-card-content { transform: translateY(40px); transition: transform .9s var(--ease); }
.process-scene .process-img { height: min(58vh, 540px); aspect-ratio: auto; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.process-scene .process-card.is-active .process-card-number,
.process-scene .process-card.is-active .process-card-content { transform: none; }
.process-scene .process-card.is-active .process-img { clip-path: inset(0 0 0 0); }
.process-rail { display: none; }
.process-scene .process-rail { position: absolute; left: 0; right: max(0px, calc(236px - (100vw - var(--wrap)) / 2)); bottom: 36px; /* miejsce na pływający telefon */ display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 16px; }
.process-rail-item { position: relative; padding-top: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .4s ease; }
.process-rail-item::before, .process-rail-item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.process-rail-item::after { background: var(--gold-ink); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .2s linear; }
.process-rail-item.is-active { color: var(--ink); }
.process-rail-num { margin-right: 10px; color: var(--gold-ink); }

.process-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); background: var(--ink); color: rgba(255, 255, 255, .78); }
.process-cta-title { margin-bottom: 8px; font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.process-cta-text { max-width: 36rem; }
.process-cta .btn { flex: none; }

/* --- Home staging --------------------------------------------------------------- */
.staging-section { background: var(--ink); color: rgba(255, 255, 255, .78); }
.staging-section h2 { color: #fff; }
.staging-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.staging-lead { margin-bottom: 16px; font-size: 1.125rem; color: #fff; }
.staging-text { margin-bottom: 28px; }
.staging-section strong { color: var(--gold); font-weight: 600; }
.staging-question { display: flex; gap: 16px; padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, .04); }
.staging-question-icon { flex: none; color: var(--gold); }
.staging-stats { display: flex; gap: clamp(32px, 5vw, 64px); margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.staging-stat-value { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); }
.staging-stat-label { display: block; margin-top: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.staging-comparison { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--ink-deep); }
.staging-image { position: absolute; inset: 0; }
.staging-image img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.staging-image-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.staging-image-after { z-index: 1; }
.staging-label { position: absolute; bottom: 16px; padding: 6px 12px; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(7, 30, 48, .78); }
.staging-label-before { left: 16px; }
.staging-label-after { right: 16px; }
.staging-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); pointer-events: none; }
.staging-slider-line { flex: 1; width: 1px; background: #fff; }
.staging-slider-button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.staging-slider-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .8125rem; color: rgba(255, 255, 255, .62); }

/* --- Realizacje ------------------------------------------------------------------ */
.portfolio-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.portfolio-stat-divider { display: none; }
.portfolio-stat { padding: 28px clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.portfolio-stat:first-child { padding-left: 0; border-left: 0; }
.portfolio-stat-value { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 500; line-height: 1; color: var(--ink); }
.portfolio-stat-label { display: block; margin-top: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.portfolio-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.portfolio-card-featured { grid-column: span 2; }
.portfolio-card { position: relative; display: flex; flex-direction: column; }
.portfolio-card-image { height: clamp(220px, 24vw, 340px); overflow: hidden; background: var(--sand); }
.portfolio-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }
.portfolio-card-gradient { display: none; }
.portfolio-card-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--paper); }
.portfolio-card-badge svg { width: 12px; height: 12px; color: var(--gold-ink); }
.portfolio-card-badge-premium { background: var(--ink); color: #fff; }
.portfolio-card-badge-premium svg { color: var(--gold); }
.portfolio-card-content { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.portfolio-card-type { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.portfolio-card-title { font-size: clamp(1.5rem, 2vw, 1.85rem); }
.portfolio-card-location { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); }
.portfolio-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.portfolio-card-price { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); }
.portfolio-card-time { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.portfolio-cta-premium { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-strong); background: var(--card); }
.portfolio-cta-content { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; }
.portfolio-cta-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line-strong); color: var(--gold-ink); }
.portfolio-cta-icon svg { width: 32px; height: 32px; }
.portfolio-cta-title { margin-bottom: 8px; font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.portfolio-cta-desc { color: var(--muted); }
.portfolio-cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.portfolio-cta-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; font-size: .9375rem; font-weight: 500; color: #fff; background: var(--ink); border-radius: var(--r); transition: background-color .3s, color .3s; }
.portfolio-cta-btn:hover { background: var(--gold); color: var(--ink); }
.portfolio-cta-trust { display: flex; align-items: center; gap: 10px; }
.portfolio-cta-trust-avatars { display: flex; }
.trust-avatar { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; font-family: var(--serif); font-size: .9rem; color: var(--ink); background: var(--sand); border: 1px solid var(--card); border-radius: 50%; }
.trust-avatar:first-child { margin-left: 0; }
.portfolio-cta-trust-text { font-size: .8125rem; color: var(--muted); }

/* --- Opinie ------------------------------------------------------------------------ */
.testimonials.section-dark { background: var(--sand); color: var(--text); }
.testimonials.section-dark h2 { color: var(--ink); }
.testimonials.section-dark .section-tag { color: var(--gold-ink); }
.testimonials.section-dark .section-header { border-color: var(--line); }
.testimonials.section-dark .accent, .testimonials.section-dark .accent-dark { color: var(--gold-ink); }
.google-reviews-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--card); border: 1px solid var(--line); }
.google-logo { height: 24px; width: auto; }
.google-reviews-info { display: flex; flex-direction: column; line-height: 1.3; }
.google-reviews-count { font-size: .875rem; font-weight: 600; color: var(--ink); }
.google-reviews-stars { display: flex; align-items: center; gap: 2px; color: var(--gold-ink); font-size: .875rem; }
.google-rating { margin-left: 6px; font-weight: 600; color: var(--ink); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.testimonial-card-new { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 32px); background: var(--card); border: 1px solid var(--line); }
.testimonial-card-new::before { content: "\201D"; position: absolute; top: 6px; right: 22px; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--sand); }
.testimonial-header { position: relative; display: flex; flex-direction: column; gap: 12px; }
.testimonial-author-new { display: flex; align-items: center; gap: 12px; }
.author-avatar-new { display: grid; place-items: center; flex: none; width: 42px; height: 42px; font-family: var(--serif); font-size: 1.25rem; color: #fff; background: var(--ink); border-radius: 50%; }
.author-details { display: flex; flex-direction: column; line-height: 1.35; }
.author-name-new { font-weight: 600; color: var(--ink); }
.author-badge { font-size: .75rem; color: var(--muted); }
.testimonial-meta { display: flex; align-items: center; gap: 10px; }
.testimonial-stars { font-size: .8125rem; letter-spacing: .12em; color: var(--gold-ink); }
.testimonial-date { font-size: .75rem; color: var(--muted); }
.testimonial-content { font-size: .9375rem; line-height: 1.75; color: var(--text); }
.testimonials-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* --- Dlaczego ja + cytat ------------------------------------------------------------ */
.why-premium-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.why-premium-card { padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px) clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-strong); }
.why-premium-card:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.why-premium-card:nth-child(even) { padding-left: clamp(24px, 4vw, 56px); padding-right: 0; }
.why-premium-icon-wrapper { display: none; }
.why-premium-content { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
.why-premium-content > * { grid-column: 2; }
.why-premium-number { grid-column: 1; grid-row: 1 / span 3; padding-top: 12px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--gold-ink); }
.why-premium-title { margin-bottom: 12px; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.why-premium-desc { margin-bottom: 22px; color: var(--muted); }
.why-premium-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.why-premium-stat-value { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 500; line-height: 1; color: var(--ink); }
.why-premium-stat-highlight .why-premium-stat-value { color: var(--gold-ink); }
.why-premium-stat-label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.why-premium-badge { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 12px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-strong); }
.why-premium-badge svg { width: 14px; height: 14px; color: var(--gold-ink); }
.why-premium-quote { max-width: 980px; margin: clamp(64px, 8vw, 112px) auto 0; text-align: center; }
.why-premium-quote-icon { display: flex; justify-content: center; margin-bottom: 20px; color: var(--gold); }
.why-premium-quote-icon svg { opacity: 1; }
.why-premium-quote-text { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 500; font-style: italic; line-height: 1.25; color: var(--ink); }
.why-premium-quote-text em { color: var(--gold-ink); }
.why-premium-quote-author { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; text-align: left; }
.why-premium-quote-photo { width: 56px; height: 56px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--sand); }
.why-premium-quote-info { display: flex; flex-direction: column; line-height: 1.4; }
.why-premium-quote-name { font-weight: 600; color: var(--ink); }
.why-premium-quote-role { font-size: .8125rem; color: var(--muted); }

/* --- FAQ ------------------------------------------------------------------------------ */
.faq .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-header { display: block; position: sticky; top: calc(var(--nav-h) + 40px); margin: 0; padding: 0; border: 0; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; text-align: left; color: var(--ink); }
.faq-question:hover { color: var(--gold-ink); }
.faq-icon { display: none; }
.faq-question::after { content: "+"; flex: none; width: 24px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; text-align: center; color: var(--ink); transition: transform .35s var(--ease); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-answer > p { min-height: 0; overflow: hidden; color: var(--muted); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer > p { padding-bottom: 26px; }

/* --- Kontakt -------------------------------------------------------------------------- */
.contact.section-dark { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-photo-wrapper { width: 96px; height: 96px; margin-bottom: 28px; overflow: hidden; border-radius: 50%; border: 1px solid var(--gold); }
.contact-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.contact-desc { margin: 4px 0 36px; font-size: 1.0625rem; color: rgba(255, 255, 255, .72); }
.contact-methods { border-top: 1px solid var(--line-light); }
.contact-method { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.contact-method-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; color: var(--gold); border: 1px solid rgba(201, 145, 122, .45); }
.contact-method-icon svg { width: 20px; height: 20px; }
.contact-method-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-method-label { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.contact-method-value { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; color: #fff; overflow-wrap: anywhere; }
a.contact-method:hover .contact-method-value { color: var(--gold); }
.contact-social { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.social-label { font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.social-links { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; border: 1px solid var(--line-light); transition: background-color .3s, color .3s, border-color .3s; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.contact-form-wrapper { padding: clamp(28px, 4vw, 48px); background: var(--paper); color: var(--text); border-top: 3px solid var(--gold); scroll-margin-top: calc(var(--nav-h) + 20px); }
.form-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-title { margin-bottom: 6px; font-size: clamp(1.8rem, 2.6vw, 2.3rem); color: var(--ink) !important; }
.form-subtitle { font-size: .9375rem; color: var(--muted); }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: .78rem; color: var(--muted); }

/* --- Stopka ----------------------------------------------------------------------------- */
.footer { padding: clamp(64px, 8vw, 112px) 0 104px; /* miejsce na pływający telefon */ background: var(--ink-deep); color: rgba(255, 255, 255, .72); }
.footer-content { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1.5fr); gap: 40px clamp(24px, 4vw, 56px); }
.footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-light); }
.footer-logo { display: flex; flex-direction: column; }
.footer-logo .logo-text { font-size: clamp(2.8rem, 7.6vw, 7rem); line-height: .92; letter-spacing: -.025em; color: #fff; }
.footer-logo .logo-subtext { margin-top: 14px; font-size: .72rem; color: var(--gold); }
.footer-desc { max-width: 30rem; font-size: .9375rem; }
.footer-heading { margin-bottom: 16px; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer-links li { padding: 4px 0; }
.footer-links a, .footer-contact a { font-size: .9375rem; color: rgba(255, 255, 255, .78); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-links--lp ul { columns: 2; column-gap: 24px; }
.footer-links--lp li { break-inside: avoid; }
.footer-contact p { padding: 4px 0; font-size: .9375rem; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; font-size: .8125rem; border-top: 1px solid var(--line-light); }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #fff; }
.footer-credit, .footer-credits { margin-top: 12px; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.footer-credit a, .footer-credits a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* --- Pływający telefon -------------------------------------------------------------------- */
.floating-call-btn { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; color: #fff; background: var(--ink); box-shadow: 0 12px 32px rgba(7, 30, 48, .28); transition: background-color .3s; }
.floating-call-btn:hover { background: var(--ink-2); }
.floating-call-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: var(--gold); border-radius: 50%; }
.floating-call-icon svg { width: 20px; height: 20px; }
.floating-call-text { display: flex; flex-direction: column; line-height: 1.25; }
.floating-call-label { font-size: .65rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.floating-call-number { font-size: .9375rem; font-weight: 600; }

/* --- Popup przy wyjściu ----------------------------------------------------------------------- */
.exit-popup { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.exit-popup.active { opacity: 1; visibility: visible; }
.exit-popup-overlay { position: absolute; inset: 0; background: rgba(7, 30, 48, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.exit-popup-content { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(28px, 5vw, 48px); background: var(--paper); border-top: 3px solid var(--gold); transform: translateY(16px); transition: transform .45s var(--ease); }
.exit-popup.active .exit-popup-content { transform: none; }
.exit-popup-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.exit-popup-tag { display: block; margin-bottom: 12px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.exit-popup-title { margin-bottom: 12px; font-size: clamp(1.9rem, 4vw, 2.5rem); }
.exit-popup-desc { margin-bottom: 24px; color: var(--muted); }
.exit-popup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.exit-popup-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; font-size: .9375rem; font-weight: 500; color: #fff; background: var(--ink); border-radius: var(--r); transition: background-color .3s, color .3s; }
.exit-popup-btn:hover { background: var(--gold); color: var(--ink); }
.exit-popup-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* --- Strona ogólna (index.php) ------------------------------------------------------------------ */
.generic-page { background: var(--paper); }
.entry-content p { margin-bottom: 1em; }
.entry-content a { text-decoration: underline; }

/* --- Wejścia przy przewijaniu (ukrywane dopiero po starcie JS: .reveal-ready) ------------------- */
.reveal-ready .reveal-up, .reveal-ready .reveal-left, .reveal-ready .reveal-right {
	opacity: 0;
	transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-ready .reveal-up { transform: translateY(28px); }
.reveal-ready .reveal-left { transform: translateX(-28px); }
.reveal-ready .reveal-right { transform: translateX(28px); }
.reveal-ready .revealed { opacity: 1; transform: none; }
.reveal-ready .delay-1 { transition-delay: .1s; }
.reveal-ready .delay-2 { transition-delay: .2s; }
.reveal-ready .delay-3 { transition-delay: .3s; }

/* Sekcje poniżej pierwszego ekranu – render dopiero przy zbliżeniu (bez kontaktu: cel kotwic). */
.staging-section, .portfolio-premium, .testimonials, .why-me-premium {
	content-visibility: auto;
	contain-intrinsic-size: auto 1200px;
}

.iubenda-cs-brand-badge { display: none !important; }

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1180px) {
	.hero-services { grid-template-columns: 1fr; }
	.hero-service, .hero-service:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.hero-service:last-child { border-bottom: 0; }
	.quick-lead-card { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
	:root { --nav-h: 64px; }
	.hamburger { display: block; }
	.nav-menu {
		position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
		display: none; flex-direction: column; align-items: stretch; gap: 0;
		padding: 16px var(--gutter) 32px; background: var(--paper); overflow-y: auto;
	}
	.nav-menu.active { display: flex; }
	.nav-menu li { border-bottom: 1px solid var(--line); }
	.nav-menu a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
	.nav-menu a:not(.nav-cta)::after { display: none; }
	.nav-menu li:last-child { border: 0; padding-top: 24px; }
	.nav-menu .nav-cta { justify-content: center; min-height: 56px; font-family: var(--sans); font-size: 1rem; }
	.logo-text { font-size: 1.35rem; }

	.hero-grid { grid-template-columns: 1fr; }
	.hero-text { padding-bottom: 8px; }
	.hero-arch { height: clamp(420px, 62vh, 560px); max-width: 520px; }
	.hero-visual { max-width: 520px; }
	.about-grid, .staging-grid, .contact-grid, .local-market-grid, .cta-box { grid-template-columns: 1fr; }
	.about-image { max-width: 460px; }
	.offer-layout { grid-template-columns: 1fr; }
	.offer-media { position: relative; top: auto; aspect-ratio: 4 / 3; }
	.process-card { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "num content" ". image"; }
	.faq .container { grid-template-columns: 1fr; }
	.faq .section-header { position: static; }
	.testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-links--lp { grid-column: 1 / -1; }
	.footer-links--lp ul { columns: 3; }
	.footer-brand { grid-template-columns: 1fr; }
	.portfolio-cta-content { grid-template-columns: 1fr; }
	.portfolio-cta-icon { display: none; }
}

@media (max-width: 767px) {
	:root { --gutter: 20px; --sec: 72px; }
	body { font-size: .9688rem; }
	.section-header { grid-template-columns: 1fr; }
	.section-header .section-subtitle, .section-header .google-reviews-badge { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
	.hero { padding-top: calc(var(--nav-h) + 28px); }
	.hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); margin: 20px 0 20px; }
	.hero-subtitle { font-size: 1rem; }
	.hero-cta { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; }
	.hero-cta .btn { width: 100%; }
	.hero-phone { justify-content: center; border: 1px solid var(--line-strong); padding: 14px; }
	.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero-stat { padding: 18px 10px 0 0; margin-right: 10px; }
	.hero-stat-value { font-size: 1.9rem; }
	.hero-stat-label { font-size: .6rem; letter-spacing: .1em; }
	.hero-arch { height: 440px; max-width: none; }
	.hero-visual { max-width: none; margin-top: 12px; }
	.hero-caption { padding-bottom: 24px; }
	.hero-service-icon { width: 42px; height: 42px; }
	.quick-lead-card { padding: 24px 20px; }
	.quick-lead-form { display: flex; flex-direction: column; gap: 16px; }
	.quick-lead-fields { display: contents; }
	.quick-lead-fields .form-group { order: 1; }
	.quick-lead-consent { order: 2; margin: 0; }
	.quick-lead-form .cf-turnstile { order: 3; margin: 0; }
	.quick-lead-btn { order: 4; width: 100%; }
	.about-image { margin: 0 0 18px 18px; }
	.offer-item-head { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; }
	.offer-item-inner { padding-left: 0; }
	.portals-slider { padding: 28px 0; }
	.portal-logo { height: 22px; }
	.cta-image { max-width: 280px; }
	.process-card { grid-template-columns: 1fr; grid-template-areas: "num" "content" "image"; gap: 18px; }
	.process-card-number { font-size: 3rem; }
	.process-cta { flex-direction: column; align-items: stretch; }
	.process-cta .btn { width: 100%; }
	.staging-stats { gap: 32px; }
	.portfolio-stats { grid-template-columns: 1fr; }
	.portfolio-stat, .portfolio-stat:first-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
	.portfolio-stat:first-child { border-top: 0; }
	.portfolio-masonry { grid-template-columns: 1fr; }
	.portfolio-card-featured { grid-column: auto; }
	.portfolio-card-image { height: 240px; }
	.portfolio-cta-action, .portfolio-cta-btn { width: 100%; justify-content: center; }
	.testimonials-grid { grid-template-columns: 1fr; }
	.why-premium-grid { grid-template-columns: 1fr; }
	.why-premium-card, .why-premium-card:nth-child(even) { padding: 32px 0; border-right: 0; }
	.why-premium-content { grid-template-columns: 40px minmax(0, 1fr); }
	.contact-method-value { font-size: 1.25rem; }
	.footer-content { grid-template-columns: 1fr; }
	.footer-links--lp ul { columns: 2; }
	.exit-popup-fields { grid-template-columns: 1fr; }
	/* Telefon jako pasek na dole ekranu. */
	.floating-call-btn { left: 12px; right: 12px; bottom: 12px; justify-content: center; padding: 8px 16px; }
	body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.portals-slider-track { animation: none; }
	.reveal-ready .reveal-up, .reveal-ready .reveal-left, .reveal-ready .reveal-right { opacity: 1; transform: none; }
}
