/* ==========================================================================
   Termoconcept - style motywu
   Klasy animacji (pole "Animacja" w panelu bloku albo "Dodatkowe klasy CSS"):
   hx-reveal, hx-reveal-sm, hx-words, hx-stagger, hx-zoom, hx-parallax, hx-marquee
   ========================================================================== */

:root {
	--hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hx-primary: var(--wp--preset--color--primary, #ff6333);
	--hx-dark: var(--wp--preset--color--dark, #171714);
	--hx-base: var(--wp--preset--color--base, #fffefa);
	--hx-sand: var(--wp--preset--color--sand, #f7f5ef);
	--hx-muted: var(--wp--preset--color--muted, #595959);
	--hx-line: var(--wp--preset--color--line, #e6e3da);
	--hx-wide: var(--wp--style--global--wide-size, 1164px);
	--hx-r: 12px;
	--hx-gutter: clamp(1.25rem, 5vw, 2rem);
}

:root {
	--hx-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	--hx-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
	--hx-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	--hx-i-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Crect width='34' height='34' rx='8' fill='%23F07C2E'/%3E%3Cg fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M10 13c2.5-2.2 4.5-2.2 7 0s4.5 2.2 7 0'/%3E%3Cpath d='M10 21c2.5-2.2 4.5-2.2 7 0s4.5 2.2 7 0'/%3E%3C/g%3E%3C/svg%3E");
	--hx-i-play-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
	--hx-i-play-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6333' stroke='%23FF6333' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
	--hx-i-phone-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--hx-i-arrow-ur-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4471A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
	--hx-i-arrow-ur-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
	--hx-i-arrow-ur-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171714' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E");
	--hx-i-phone-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171714' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--hx-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171714' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.hx-ico--phone { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.hx-ico--pin { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.hx-ico--clock { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.hx-ico--mail { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22%2C6 12%2C13 2%2C6'/%3E%3C/svg%3E"); }
.hx-ico--siren { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18v-6a5 5 0 0 1 10 0v6'/%3E%3Cpath d='M5 21h14v-3H5z'/%3E%3Cpath d='M12 2v2M4.2 5.2l1.4 1.4M19.8 5.2l-1.4 1.4'/%3E%3C/svg%3E"); }
.hx-ico--award { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3Cpath d='m9.5 8 1.7 1.7L14.5 6.5'/%3E%3C/svg%3E"); }
.hx-ico--shield { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.hx-ico--bolt { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.hx-ico--leaf { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E"); }
.hx-ico--snow { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M4.9 4.9l14.2 14.2M2 12h20M4.9 19.1 19.1 4.9'/%3E%3C/svg%3E"); }
.hx-ico--flame { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E"); }
.hx-ico--check { --hx-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.hx-main > * { margin-block-start: 0 !important; }
img { height: auto; }
::selection { background: var(--hx-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--hx-primary); outline-offset: 3px; }

/* ---------- Pomocnicze ---------- */
.hx-section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.hx-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.hx-muted { color: var(--hx-muted); }
.has-dark-background-color .hx-muted { color: rgba(255, 254, 250, 0.72); }
.hx-narrow { max-width: 820px !important; margin-inline: auto !important; }
.hx-cols-gap { gap: clamp(2rem, 6vw, 5.5rem) !important; }
.hx-grid { display: grid; gap: 1.25rem; }
.hx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-grid > * { margin: 0 !important; }
.hx-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.hx-stack > * { margin: 0 !important; }
.hx-sticky > * { position: sticky; top: 2rem; }
@media (max-width: 900px) {
	.hx-grid--2, .hx-grid--3 { grid-template-columns: 1fr; }
	.hx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hx-sticky > * { position: static; }
}
@media (max-width: 560px) { .hx-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Ikony ---------- */
.hx-ico { display: flex; align-items: center; gap: 0.55em; }
.hx-ico::before,
.hx-ico .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.15em;
	height: 1.15em;
	background: currentColor;
	-webkit-mask: var(--hx-i) center / contain no-repeat;
	mask: var(--hx-i) center / contain no-repeat;
}
.wp-block-button.hx-ico { display: inline-flex; }
.wp-block-button.hx-ico::before { content: none; }
.hx-ico .wp-block-button__link { display: inline-flex; align-items: center; gap: 0.6em; }
.hx-ico .wp-block-button__link::before { background: var(--hx-primary); width: 1.25em; height: 1.25em; }

/* ---------- Przyciski (style bloków) ---------- */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.35s var(--hx-ease), color 0.35s var(--hx-ease), border-color 0.35s var(--hx-ease), transform 0.35s var(--hx-ease), box-shadow 0.35s var(--hx-ease);
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-accent .wp-block-button__link { background: var(--hx-primary); color: #fff; }
.wp-block-button.is-style-accent .wp-block-button__link:hover { background: var(--hx-dark); }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--hx-dark); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--hx-primary); color: #fff; }
.wp-block-button.is-style-light.hx-ico .wp-block-button__link:hover::before { background: #fff; }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--hx-dark); box-shadow: inset 0 0 0 1px rgba(23, 23, 20, 0.18); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--hx-dark); color: var(--hx-base); box-shadow: inset 0 0 0 1px var(--hx-dark); }
.wp-block-button.is-style-ghost-light .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.wp-block-button.is-style-ghost-light .wp-block-button__link:hover { background: var(--hx-primary); color: #fff; box-shadow: inset 0 0 0 1px var(--hx-primary); }

/* Style grup, list, akapitów */
.wp-block-group.is-style-card { background: var(--hx-sand); border-radius: var(--hx-r); padding: 1.375rem; }
.has-sand-background-color .wp-block-group.is-style-card { background: var(--hx-base); }
.wp-block-group.is-style-card-white { background: var(--hx-base); color: var(--hx-dark); border-radius: var(--hx-r); padding: 1.5rem; }
.wp-block-image.is-style-rounded-l img { border-radius: 16px; }
.is-style-stars { color: var(--hx-primary); letter-spacing: 0.12em; font-size: 1.2rem; line-height: 1; margin: 0; }
.is-style-pill {
	display: flex; align-items: center; gap: 0.4em; width: fit-content;
	background: var(--wp--preset--color--primary-soft, #ffe9e1); color: var(--hx-primary);
	font-size: 0.75rem; font-weight: 500; line-height: 1; padding: 0.4em 0.75em; border-radius: 999px;
}
.is-style-pill::before { content: ""; width: 0.4em; height: 0.4em; border-radius: 50%; background: currentColor; }
.has-text-align-center.is-style-pill { margin-inline: auto; }
.wp-block-list.is-style-checks { list-style: none; padding-left: 0; }
.wp-block-list.is-style-checks li { position: relative; padding-left: 1.8em; margin-bottom: 0.5em; }
.wp-block-list.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15em; height: 1.15em; background: var(--hx-primary);
	-webkit-mask: var(--hx-i-check) center / contain no-repeat; mask: var(--hx-i-check) center / contain no-repeat;
}

/* ---------- Nagłówek ---------- */
.hx-header-part { position: relative; z-index: 50; }
.hx-header { position: relative; }
.hx-topbar { background: var(--hx-base); color: var(--hx-dark); font-size: 0.8125rem; padding-block: 0.85rem; }
.hx-topbar p { margin: 0; }
.hx-topbar a:hover { color: var(--hx-primary); }
.hx-topbar .hx-ico::before { color: var(--hx-dark); }
.hx-topbar__left { gap: 2rem !important; }
.hx-nav { padding-block: 1.25rem; }
.hx-nav__row { gap: 1.5rem; }
.hx-header.is-overlay .hx-nav { position: absolute; left: 0; right: 0; top: 100%; color: #fff; }
.hx-header.is-light .hx-nav { background: var(--hx-base); border-bottom: 1px solid var(--hx-line); }
.hx-logo { margin: 0; line-height: 1; }
.hx-logo a { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; }
.hx-logo a::before {
	content: ""; width: 34px; height: 34px; border-radius: 8px; flex: none;
	background: var(--hx-i-logo) center / cover no-repeat;
}
.hx-logo a:hover { color: inherit; opacity: 0.85; }
.hx-menu .wp-block-navigation-item__content { position: relative; padding-block: 0.25rem; }
.hx-menu .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--hx-ease);
}
.hx-menu .wp-block-navigation-item__content:hover { color: inherit; }
.hx-menu .wp-block-navigation-item__content:hover::after { transform: scaleX(1); transform-origin: left; }
.hx-menu .wp-block-navigation__container { gap: 2.25rem; }
.hx-menu .wp-block-navigation__responsive-container.is-menu-open { background: var(--hx-dark) !important; color: var(--hx-base) !important; padding: 2rem var(--hx-gutter); }
.hx-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.5rem; font-size: 1.75rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.hx-nav__cta .wp-block-button__link { padding: 1.05rem 1.5rem; }
@media (max-width: 900px) {
	.hx-topbar .hx-ico--pin { display: none; }
	.hx-topbar { padding-block: 0.6rem; }
	.hx-nav .hx-nav__cta { display: none !important; }
}

/* ---------- Hero ---------- */
.hx-hero { padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; overflow: hidden; }
.wp-block-cover.hx-hero { padding-inline: var(--hx-gutter) !important; }
.wp-block-cover.hx-hero .wp-block-cover__inner-container { width: 100% !important; max-width: var(--hx-wide); margin-inline: auto !important; color: #fff; }
.hx-hero__inner { max-width: 720px; }
.hx-hero h1 { color: #fff; margin-bottom: 1.75rem; }
.hx-hero .wp-block-buttons { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.hx-trust { gap: 1rem !important; align-items: center; }
.hx-trust__avatars { margin: 0; flex: none; }
.hx-trust__avatars img, .hx-rating .hx-trust__avatars img { width: 92px; height: auto; display: block; }
.hx-trust__text { font-size: 0.875rem; line-height: 1.5; margin: 0; color: rgba(255, 255, 255, 0.92); }
.hx-parallax .wp-block-cover__image-background { translate: 0 var(--hx-py, 0px); scale: 1.12; will-change: translate; }
.hx-js .hx-hero .wp-block-cover__image-background { animation: hx-hero-zoom 1.8s var(--hx-ease) both; }
@keyframes hx-hero-zoom { from { scale: 1.3; } to { scale: 1.12; } }

/* ---------- Opinia + partnerzy ---------- */
.hx-proof { padding-block: clamp(3rem, 5vw, 4.5rem); }
.hx-proof__cols { gap: 0 !important; }
.hx-proof__quote { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid var(--hx-line); }
.hx-proof__partners { padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.hx-proof__partners h4 { margin-bottom: 1.75rem; font-size: 1.4rem; }
.hx-badges { gap: clamp(1rem, 3vw, 2.25rem) !important; }
.hx-badges figure { margin: 0; }
.hx-badges img { width: clamp(72px, 8vw, 108px); height: auto; transition: transform 0.5s var(--hx-ease); }
.hx-badges img:hover { transform: rotate(-8deg) scale(1.06); }
.hx-person { gap: 0.75rem !important; align-items: center; }
.hx-person p { margin: 0; }
.hx-avatar { margin: 0 !important; flex: none; }
.hx-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.hx-person__name { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.hx-person__role { font-size: 0.8125rem; color: var(--hx-muted); line-height: 1.3; }
.hx-quote { font-size: 0.9375rem; line-height: 1.65; }
@media (max-width: 781px) {
	.hx-proof__quote { padding-right: 0; border-right: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--hx-line); }
	.hx-proof__partners { padding-left: 0; padding-top: 2rem; }
}

/* ---------- Usługi ---------- */
.hx-services > h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hx-service {
	position: relative; display: grid; grid-template-columns: 1fr minmax(0, 248px); gap: 1.5rem;
	transition: background-color 0.4s var(--hx-ease), transform 0.5s var(--hx-ease);
}
.hx-service:hover { transform: translateY(-4px); }
.hx-service > * { margin: 0 !important; }
.hx-service__text { display: flex; flex-direction: column; padding-top: 0.25rem; }
.hx-service__text h3 { font-size: 1.375rem; margin: 0 0 1rem; }
.hx-service__text .hx-muted { font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.hx-more { margin-top: auto !important; padding-top: 2rem; font-family: var(--wp--preset--font-family--heading); font-size: 0.875rem; font-weight: 600; }
.hx-more a { display: inline-flex; align-items: center; gap: 0.6em; transition: color 0.35s var(--hx-ease); }
.hx-more a::after {
	content: ""; width: 1em; height: 1em; background: currentColor; transition: transform 0.4s var(--hx-ease);
	-webkit-mask: var(--hx-i-arrow) center / contain no-repeat; mask: var(--hx-i-arrow) center / contain no-repeat;
}
.hx-service .hx-more a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.hx-service:hover .hx-more a { color: var(--hx-primary); }
.hx-service:hover .hx-more a::after { transform: translateX(4px); }
.hx-service__img { border-radius: 8px; overflow: hidden; aspect-ratio: 248 / 262; }
.hx-service__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.hx-center-cta { max-width: 420px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0 !important; text-align: center; }
.hx-center-cta p { font-size: 0.9375rem; }
@media (max-width: 560px) { .hx-service { grid-template-columns: 1fr; } }

/* ---------- Zoom obrazka po najechaniu ---------- */
.hx-zoom { overflow: hidden; }
.hx-zoom img, .hx-zoom .wp-block-cover__image-background { transition: transform 1s var(--hx-ease); }
.hx-zoom:hover img, .hx-zoom:hover .wp-block-cover__image-background,
.hx-service:hover .hx-zoom img, .hx-post-card:hover img { transform: scale(1.06); }

/* ---------- Wideo ---------- */
.hx-video { overflow: hidden; }
.hx-play .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 0.9rem; text-align: left; line-height: 1.35;
	padding: 0.7rem 1.6rem 0.7rem 0.7rem; font-size: 0.875rem;
}
.hx-play .wp-block-button__link::before {
	content: ""; width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: var(--hx-dark) var(--hx-i-play-white) center / 16px no-repeat;
	transition: background-color 0.35s var(--hx-ease), transform 0.5s var(--hx-ease);
}
.hx-play .wp-block-button__link:hover::before { background-color: var(--hx-primary); transform: scale(1.08); }
.hx-play .wp-block-button__link:hover { background: #fff; color: var(--hx-dark); }
.hx-play .wp-block-button__link:hover br + * { color: inherit; }
.hx-video .hx-play .wp-block-button__link::after {
	content: ""; position: absolute; left: 0.7rem; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(255, 99, 51, 0.6); animation: hx-pulse 2.2s infinite;
}
.hx-play .wp-block-button__link { position: relative; }
@keyframes hx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 99, 51, 0.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(255, 99, 51, 0); } }
.hx-play--icon .wp-block-button__link {
	width: 44px; height: 44px; padding: 0; border-radius: 50%; background: var(--hx-base); font-size: 0; overflow: hidden; justify-content: center;
}
.hx-play--icon .wp-block-button__link::before { width: 44px; height: 44px; background: var(--hx-base) var(--hx-i-play-orange) center / 14px no-repeat; }
.hx-play--icon .wp-block-button__link:hover::before { background-color: var(--hx-primary); background-image: var(--hx-i-play-white); }

/* Lightbox */
.hx-lightbox {
	position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 4vw;
	background: rgba(23, 23, 20, 0.88); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--hx-ease), visibility 0.4s;
}
.hx-lightbox.is-open { opacity: 1; visibility: visible; }
.hx-lightbox__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; transform: scale(0.92); transition: transform 0.5s var(--hx-ease); }
.hx-lightbox.is-open .hx-lightbox__frame { transform: none; }
.hx-lightbox__frame iframe, .hx-lightbox__frame video { width: 100%; height: 100%; border: 0; display: block; }
.hx-lightbox__close {
	position: absolute; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--hx-base); color: var(--hx-dark); font-size: 1.5rem; line-height: 1; transition: background-color 0.3s, color 0.3s;
}
.hx-lightbox__close:hover { background: var(--hx-primary); color: #fff; }

/* ---------- Marquee opinii ---------- */
.hx-marquee {
	overflow: hidden; display: block !important;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hx-marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: hx-marquee var(--hx-dur, 45s) linear infinite; }
.hx-marquee:hover .hx-marquee__track { animation-play-state: paused; }
.hx-marquee__track > * { margin: 0 !important; flex: none; }
@keyframes hx-marquee { to { transform: translateX(calc(-50% - 0.625rem)); } }
.hx-tcard { width: 376px; max-width: 80vw; display: flex; flex-direction: column; gap: 1.25rem; }
.hx-tcard > * { margin: 0 !important; }
.hx-tcard .hx-quote { flex: 1; }
.hx-person--end { margin-top: auto; }

/* ---------- Komfort (kolaż) ---------- */
.hx-comfort h2 { margin-bottom: 1rem; }
.hx-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 1.25rem; position: relative; padding-bottom: 2rem; }
.hx-collage > * { margin: 0 !important; }
.hx-collage__a { grid-column: 1; grid-row: 1 / span 2; align-self: start; border-radius: var(--hx-r); aspect-ratio: 268 / 340; }
.hx-collage__a img, .hx-collage__b img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--hx-r); }
.hx-collage__badge { grid-column: 2; grid-row: 1; border-radius: var(--hx-r); aspect-ratio: 210 / 145; padding: 1rem; }
.hx-collage__badge p { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: clamp(0.8rem, 1.6vw, 1.25rem); line-height: 1.25; margin: 0; gap: 0.75rem; }
.hx-collage__badge .hx-ico::before { width: clamp(1.4rem, 3vw, 2.25rem); height: clamp(1.4rem, 3vw, 2.25rem); }
@media (max-width: 600px) { .hx-collage__badge { padding: 0.6rem; } .hx-collage__badge p { gap: 0.4rem; } }
.hx-collage__b { grid-column: 2; grid-row: 2; margin-left: -38% !important; margin-bottom: -2rem !important; align-self: end; aspect-ratio: 345 / 318; border-radius: var(--hx-r); z-index: 1; box-shadow: 0 0 0 6px var(--hx-sand); }
.hx-feature { margin-top: 2rem; }
.hx-feature h3 { margin-bottom: 0.5rem; }
.hx-feature p { margin: 0; font-size: 0.9375rem; }
.hx-comfort .wp-block-buttons { margin-top: 2.5rem; }

/* ---------- Filary ---------- */
.hx-pillars h2 { margin-bottom: 1.25rem; }
.hx-hotline { margin-top: 2.25rem; gap: 0.9rem !important; align-items: center; }
.hx-hotline::before {
	content: ""; width: 48px; height: 48px; border-radius: 50%; flex: none;
	background: var(--hx-dark) var(--hx-i-phone-white) center / 18px no-repeat;
}
.hx-hotline p { margin: 0; line-height: 1.4; }
.hx-hotline__label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.875rem; }
.hx-hotline__number { color: var(--hx-primary); font-weight: 500; font-size: 0.9375rem; }
.hx-pillar { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding: 1.75rem !important; transition: transform 0.5s var(--hx-ease), box-shadow 0.5s var(--hx-ease); }
.hx-pillar:hover { transform: translateX(6px); box-shadow: 0 18px 40px -24px rgba(23, 23, 20, 0.35); }
.hx-pillar > * { margin: 0 !important; }
.hx-pillar h3 { margin: 0 0 0.4rem; }
.hx-pillar p { margin: 0; font-size: 0.9375rem; }
.hx-icon-badge {
	width: 52px; height: 52px; border-radius: 50%; background: #fff; position: relative; margin: 0 !important;
}
.hx-icon-badge::before {
	content: ""; position: absolute; inset: 14px; background: var(--hx-primary);
	-webkit-mask: var(--hx-i) center / contain no-repeat; mask: var(--hx-i) center / contain no-repeat;
	transition: transform 0.6s var(--hx-ease);
}
.hx-pillar:hover .hx-icon-badge::before { transform: rotate(-12deg) scale(1.1); }

/* ---------- Opinie (ciemna sekcja) ---------- */
.hx-reviews-wrap { padding: 0 1rem !important; }
.hx-reviews { border-radius: 16px; padding: clamp(3.5rem, 7vw, 6.5rem) var(--hx-gutter); }
.hx-reviews__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hx-reviews__head h2 { margin: 0; }
.hx-rating { gap: 0.9rem !important; align-items: center; margin-bottom: 0.75rem; }
.hx-rating__score { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: rgba(255, 254, 250, 0.75); }
.hx-rating__score strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; color: var(--hx-base); margin-right: 0.3rem; }
.hx-stars-inline { color: var(--hx-primary); letter-spacing: 0.1em; }
.hx-reviews__lead { font-size: 0.875rem; color: rgba(255, 254, 250, 0.75); margin: 0; max-width: 340px; }
.hx-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hx-reviews__grid > * { margin: 0 !important; }
.hx-rcard { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.hx-stack .hx-rcard { flex: 1; }
.hx-rcard > * { margin: 0 !important; }
.hx-rcard .hx-quote { flex: 1; }
.hx-rcard__foot { align-items: center; }
.hx-source { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.875rem; }
.hx-vcard { border-radius: var(--hx-r); overflow: hidden; height: 100%; padding: 1.25rem !important; }
.hx-vcard .wp-block-cover__inner-container { width: 100%; }
.hx-vcard__foot { align-items: center; width: 100%; }
.hx-vcard__name { margin: 0; color: #fff; font-size: 0.8125rem; line-height: 1.45; }
.hx-vcard__name strong { font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; font-weight: 600; }
@media (max-width: 900px) { .hx-reviews__grid { grid-template-columns: 1fr; } .hx-vcard { min-height: 460px !important; } }

/* ---------- Kroki ---------- */
.hx-steps__img { margin: 0; }
.hx-steps__img img { border-radius: var(--hx-r); width: 100%; aspect-ratio: 540 / 640; object-fit: cover; }
.hx-steps__list h2 { margin-bottom: 2.5rem; }
.hx-step { padding-bottom: 1.6rem; margin-bottom: 1.6rem !important; border-bottom: 1px solid var(--hx-line); max-width: 400px; }
.hx-step > * { margin: 0 !important; }
.hx-step .is-style-pill { margin-bottom: 0.9rem !important; }
.hx-step h3 { margin-bottom: 0.4rem !important; }
.hx-step p.hx-muted { font-size: 0.9375rem; }

/* ---------- Karty wpisów ---------- */
.hx-blog h2 { margin-bottom: 1rem; }
.hx-blog .wp-block-buttons { margin-top: 2rem; }
.hx-posts .wp-block-post-template { gap: 1.25rem; }
.hx-post-card {
	position: relative; border-radius: var(--hx-r); overflow: hidden; min-height: 420px; height: 100%;
	background: linear-gradient(160deg, #3a3a35, var(--hx-dark));
}
.hx-post-card > * { margin: 0 !important; }
.hx-post-card__img { position: absolute !important; inset: 0; height: 100%; }
.hx-post-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1s var(--hx-ease); }
.hx-post-card__body {
	position: absolute; inset: auto 0 0 0; padding: 4rem 1.5rem 1.5rem; color: #fff;
	background: linear-gradient(180deg, rgba(23, 23, 20, 0) 0%, rgba(23, 23, 20, 0.82) 100%);
}
.hx-post-card__body > * { margin: 0 !important; }
.hx-post-card__date { font-size: 0.75rem; opacity: 0.85; margin-bottom: 0.5rem !important; }
.hx-post-card__title { font-size: 1.25rem; line-height: 1.35; color: #fff; }
.hx-post-card__title a { color: #fff; }
.hx-post-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.hx-post-card::after {
	content: ""; position: absolute; top: 1.25rem; right: 1.25rem; width: 40px; height: 40px; border-radius: 50%;
	background: var(--hx-base) var(--hx-i-arrow-ur-orange) center / 16px no-repeat;
	transition: transform 0.5s var(--hx-ease), background-color 0.35s;
}
.hx-post-card:hover::after { transform: rotate(45deg); background-color: var(--hx-primary); background-image: var(--hx-i-arrow-ur-white); }
.hx-main > .hx-posts--archive { margin-top: clamp(2rem, 4vw, 3rem) !important; }
.hx-main > h1.wp-block-heading, .hx-main > .wp-block-query-title, .hx-main > .wp-block-term-description, .hx-main > .hx-search { max-width: var(--hx-wide) !important; }
.hx-main > .hx-search { margin-top: 1.5rem !important; }
.hx-posts--archive .wp-block-query-pagination { margin-top: 3rem; }
@media (max-width: 600px) { .hx-posts .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* ---------- Kontakt ---------- */
.hx-contact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hx-contact__bg { min-height: clamp(360px, 45vw, 600px) !important; overflow: hidden; }
.hx-contact__card {
	position: relative; z-index: 2; width: min(700px, calc(100% - 2 * var(--hx-gutter)));
	margin: calc(-1 * clamp(180px, 22vw, 300px)) auto 0 !important;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); border-radius: 16px;
}
.hx-contact__card h2 { margin: 0 0 1.75rem; }
.hx-contact__info { margin-top: clamp(3rem, 6vw, 4.5rem) !important; }
.hx-info { margin: 0; display: block !important; position: relative; padding-left: 2.25em; font-size: 0.9375rem; line-height: 1.5; font-weight: 600; font-family: var(--wp--preset--font-family--heading); }
.hx-info span { font-weight: 400; font-family: var(--wp--preset--font-family--body); color: var(--hx-muted); font-size: 0.8125rem; }
.hx-info::before { position: absolute; left: 0; top: 0.1em; width: 1.4em; height: 1.4em; background: var(--hx-primary); }
.hx-info a:hover { color: var(--hx-primary); }

/* Formularz */
.hx-form { position: relative; }
.hx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.75rem; }
.hx-field { display: block; position: relative; }
.hx-field--full { grid-column: 1 / -1; }
.hx-field span { display: block; font-size: 0.8125rem; color: var(--hx-muted); margin-bottom: 0.2rem; }
.hx-field input, .hx-field select, .hx-field textarea {
	width: 100%; border: 0; border-bottom: 1px solid #d3cfc4; background: transparent; padding: 0.55rem 0; font: inherit; font-size: 0.9375rem;
	color: var(--hx-dark); border-radius: 0; outline: none; transition: border-color 0.3s var(--hx-ease); appearance: none; -webkit-appearance: none;
}
.hx-field textarea { resize: vertical; min-height: 2.6rem; }
.hx-field--select::after {
	content: ""; position: absolute; right: 2px; bottom: 0.95rem; width: 12px; height: 12px; background: var(--hx-dark); pointer-events: none;
	-webkit-mask: var(--hx-i-chevron) center / contain no-repeat; mask: var(--hx-i-chevron) center / contain no-repeat;
}
.hx-field input:focus, .hx-field select:focus, .hx-field textarea:focus { border-bottom-color: var(--hx-primary); }
.hx-form__foot { display: flex; align-items: center; gap: 1.5rem 2.5rem; margin-top: 2.25rem; flex-wrap: wrap; }
.hx-form__foot button { border: 0; cursor: pointer; }
.hx-form__consent { margin: 0; font-size: 0.75rem; line-height: 1.5; color: var(--hx-muted); flex: 1 1 220px; }
.hx-form__notice { padding: 0.9rem 1.1rem; border-radius: 8px; margin: 0 0 1.5rem; font-size: 0.9375rem; }
.hx-form__notice.is-ok { background: #e6f4ea; color: #1e6b34; }
.hx-form__notice.is-error { background: var(--wp--preset--color--primary-soft, #ffe9e1); color: #a3341a; }
@media (max-width: 600px) { .hx-form__grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.hx-footer { padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; font-size: 0.875rem; }
.hx-footer a { color: inherit; }
.hx-footer a:hover { color: var(--hx-primary); }
.hx-footer__cols { gap: 2rem !important; padding-bottom: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid rgba(255, 254, 250, 0.12); }
.hx-footer__title { color: var(--hx-base); font-size: 1rem; margin: 0 0 1.5rem; letter-spacing: 0; }
.hx-footer__about { color: rgba(255, 254, 250, 0.72); max-width: 300px; line-height: 1.7; }
.hx-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; color: rgba(255, 254, 250, 0.72); }
.hx-footer__strong { font-weight: 600; margin: 0 0 0.35rem; }
.hx-footer__strong a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hx-footer__small { color: rgba(255, 254, 250, 0.72); margin: 0 0 1.25rem; line-height: 1.6; }
.hx-footer__bottom { padding-top: 2rem; align-items: center; }
.hx-footer__bottom .hx-footer__small { margin: 0; }
.hx-footer__bottom > * { flex: 1 1 0; }
.hx-footer__bottom .hx-logo { text-align: center; display: flex; justify-content: center; }
.hx-social { justify-content: flex-end; gap: 0.5rem !important; }
.hx-social .wp-social-link { background: rgba(255, 254, 250, 0.1) !important; border-radius: 50%; padding: 0.15rem; transition: background-color 0.3s, transform 0.4s var(--hx-ease); }
.hx-social .wp-social-link:hover { background: var(--hx-primary) !important; transform: translateY(-3px); }
.hx-news { position: relative; max-width: 300px; margin-top: 1.75rem; }
.hx-news input {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 254, 250, 0.35); color: var(--hx-base);
	padding: 0.6rem 2.5rem 0.6rem 0; font: inherit; font-size: 0.8125rem; outline: none;
}
.hx-news input::placeholder { color: rgba(255, 254, 250, 0.55); }
.hx-news input:focus { border-bottom-color: var(--hx-primary); }
.hx-news button { position: absolute; right: 0; top: 0.2rem; background: none; border: 0; color: var(--hx-primary); font-size: 1.25rem; cursor: pointer; transition: transform 0.35s var(--hx-ease); }
.hx-news button:hover { transform: translate(2px, -2px); }
.hx-news__msg { font-size: 0.8125rem; color: var(--hx-primary); margin: 0.5rem 0 0; }
@media (max-width: 781px) {
	.hx-footer__bottom { flex-direction: column; align-items: flex-start; }
	.hx-footer__bottom .hx-logo { justify-content: flex-start; }
}

/* ---------- Podstrony ---------- */
.hx-page-hero { padding-top: clamp(3.5rem, 7vw, 6rem); }
.hx-page-hero h1 { margin-top: 1.25rem; }
.hx-page-hero__img { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.hx-page-hero__img img { aspect-ratio: 21 / 9; object-fit: cover; width: 100%; }
.hx-single-head { text-align: left; margin-bottom: 2.5rem; }
.hx-single-title { font-size: var(--wp--preset--font-size--xx-large) !important; margin-top: 1rem; }
.hx-sep { margin-block: 3rem 2rem !important; }
.hx-404 { text-align: center; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* ==========================================================================
   Animacje (aktywne tylko gdy działa JS: html.hx-js)
   ========================================================================== */
.hx-js .hx-reveal,
.hx-js .hx-reveal-sm,
.hx-js .hx-stagger > * {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity 1s var(--hx-ease), transform 1s var(--hx-ease);
	transition-delay: calc(var(--hx-n, 0) * 110ms + var(--hx-d, 0ms));
}
.hx-js .hx-reveal-sm { transform: translate3d(0, 24px, 0); }
.hx-js .hx-reveal.is-in,
.hx-js .hx-reveal-sm.is-in,
.hx-js .hx-stagger.is-in > * { opacity: 1; transform: none; }

.hx-js .hx-words .hx-w { display: inline-block; opacity: 0; transform: translate3d(0, 0.35em, 0); filter: blur(6px); transition: opacity 0.8s var(--hx-ease), transform 0.8s var(--hx-ease), filter 0.8s var(--hx-ease); transition-delay: calc(var(--hx-n, 0) * 55ms); }
.hx-js .hx-words.is-in .hx-w { opacity: 1; transform: none; filter: none; }

/* Hero: sekwencja po załadowaniu */
.hx-js .hx-hero .hx-reveal-sm { --hx-d: 550ms; }
.hx-js .hx-hero .hx-trust { --hx-d: 750ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hx-js .hx-reveal, .hx-js .hx-reveal-sm, .hx-js .hx-stagger > *, .hx-js .hx-words .hx-w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
	.hx-marquee__track, .hx-js .hx-hero .wp-block-cover__image-background, .hx-video .hx-play .wp-block-button__link::after { animation: none !important; }
	.hx-parallax .wp-block-cover__image-background { translate: none; }
	.hx-marquee { overflow-x: auto; }
}

@media (max-width: 600px) { .hx-topbar .hx-ico--siren { display: none; } }

/* ==========================================================================
   v1.1: Termoconcept (kolory logo, telefony, podstrony, dostępność)
   ========================================================================== */
:root { --hx-primary-ink: var(--wp--preset--color--primary-ink, #b4471a); --hx-blue: var(--wp--preset--color--blue, #2b5fa8); }
::selection { background: var(--hx-primary); color: var(--hx-dark); }
:focus-visible { outline: 3px solid var(--hx-blue); outline-offset: 3px; border-radius: 4px; }
.has-dark-background-color :focus-visible, .hx-hero :focus-visible, .hx-footer :focus-visible, .hx-cta :focus-visible { outline-color: var(--hx-primary); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--hx-dark); display: block; height: auto; left: 5px; padding: 15px 23px 14px; top: 5px; width: auto; z-index: 100000; }

/* Przyciski: na pomarańczowym tle zawsze ciemny tekst (kontrast 6.5:1) */
.wp-block-button.is-style-accent .wp-block-button__link { background: var(--hx-primary); color: var(--hx-dark); }
.wp-block-button.is-style-accent .wp-block-button__link:hover { background: #fff; color: var(--hx-dark); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--hx-primary); color: var(--hx-dark); }
.wp-block-button.is-style-ghost-light .wp-block-button__link:hover { background: var(--hx-primary); color: var(--hx-dark); box-shadow: inset 0 0 0 1px var(--hx-primary); }
.hx-hero .wp-block-buttons { gap: 0.75rem; }

/* Etykiety */
.is-style-pill { color: var(--hx-primary-ink); background: var(--wp--preset--color--primary-soft, #fff1e8); }
.is-style-pill.hx-pill-light { color: #fff; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); }
.is-style-pill.hx-ico::before { display: none; }
.is-style-pill.hx-ico { gap: 0.4em; }
.hx-more a:hover, .hx-service:hover .hx-more a { color: var(--hx-primary-ink); }
.hx-lead { font-size: 1.0625rem; line-height: 1.7; }

/* Logo */
.hx-brand { margin: 0 !important; flex: none; line-height: 0; }
.hx-brand a { display: inline-block; }
.hx-brand img { height: 80px; width: auto; max-width: none; border-radius: 0 !important; }
.hx-brand--footer img { height: 88px; }
.hx-nav { padding-block: 0.75rem; }
.hx-brand a:hover { opacity: 0.88; }
@media (max-width: 600px) { .hx-brand img { height: 56px; } }

/* Telefony: wspólne */
.hx-tc { list-style: none; margin: 0; padding: 0; }
.hx-tc a { text-decoration: none; }
.hx-tc--topbar { display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem; }
.hx-tc--topbar li { margin: 0; }
.hx-tc--topbar a { color: inherit; display: inline-flex; gap: 0.3em; }
.hx-tc--topbar a:hover { color: var(--hx-primary-ink); }
.hx-tc--topbar strong { font-weight: 600; }
.hx-topbar__row { gap: 1rem !important; }
.hx-topbar__area { white-space: nowrap; }
@media (max-width: 1000px) { .hx-topbar__area { display: none !important; } }
@media (max-width: 560px) {
	.hx-tc--topbar { gap: 0.25rem 1rem; font-size: 0.8125rem; }
	.hx-tc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.hx-tc--nav { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.hx-tc--nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.hx-tc--nav a { color: inherit; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; white-space: nowrap; }
.hx-tc--nav a:hover { color: var(--hx-primary); }
.hx-header.is-light .hx-tc--nav a:hover { color: var(--hx-primary-ink); }
.hx-tc__icon { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--hx-primary) var(--hx-i-phone-dark) center / 18px no-repeat; }
@media (max-width: 1100px) { .hx-tc--nav { display: none; } }

.hx-tc--hotline { display: grid; gap: 0.9rem; margin-top: 2rem; }
.hx-tc--hotline a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; align-items: center; color: inherit; width: fit-content; }
.hx-tc--hotline a::before { content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--hx-dark) var(--hx-i-phone-white) center / 18px no-repeat; transition: background-color 0.3s, transform 0.4s var(--hx-ease); }
.hx-tc--hotline a:hover::before { background-color: var(--hx-primary); background-image: var(--hx-i-phone-dark); transform: rotate(-10deg); }
.hx-tc__label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.875rem; line-height: 1.3; }
.hx-tc__num { color: var(--hx-primary-ink); font-weight: 700; font-size: 1.125rem; line-height: 1.3; font-family: var(--wp--preset--font-family--heading); }
.hx-tc--hotline.is-dark { margin-top: 0; }
.hx-tc--hotline.is-dark a::before { background-color: var(--hx-primary); background-image: var(--hx-i-phone-dark); }
.hx-tc--hotline.is-dark .hx-tc__num { color: var(--hx-primary); }

.hx-tc--footer { display: grid; gap: 1.4rem; }
.hx-tc--footer li { display: grid; gap: 0.2rem; }
.hx-tc__name { color: rgba(255, 254, 250, 0.72); font-size: 0.8125rem; }
.hx-tc__phone { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.25rem; color: var(--hx-base) !important; width: fit-content; }
.hx-tc__phone:hover { color: var(--hx-primary) !important; }
.hx-tc__mail { color: rgba(255, 254, 250, 0.8); font-size: 0.875rem; text-decoration: underline !important; text-underline-offset: 3px; width: fit-content; }

.hx-tc--inline a { font-weight: 600; }

.hx-tc--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.hx-tc-card { background: var(--hx-sand); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; grid-template-columns: 64px 1fr; column-gap: 1.25rem; align-content: start; transition: transform 0.5s var(--hx-ease), box-shadow 0.5s var(--hx-ease); }
.has-sand-background-color .hx-tc-card { background: var(--hx-base); }
.hx-tc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(23, 23, 20, 0.4); }
.hx-tc-card > * { grid-column: 2; margin: 0; }
.hx-tc-card__avatar { grid-column: 1; grid-row: 1 / span 4; width: 64px; height: 64px; border-radius: 50%; background: var(--hx-primary); color: var(--hx-dark); display: grid; place-items: center; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.25rem; }
.hx-tc-card__name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.hx-tc-card__meta { color: var(--hx-muted); font-size: 0.875rem; line-height: 1.5; margin: 0.25rem 0 1rem !important; }
.hx-tc-card__phone { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--hx-dark); width: fit-content; }
.hx-tc-card__phone .hx-ico::before { background: var(--hx-primary-ink); }
.hx-tc-card__phone:hover { color: var(--hx-primary-ink); }
.hx-tc-card__mail { margin-top: 0.5rem !important; font-size: 0.9375rem; color: var(--hx-dark); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.hx-tc-card__mail::before { background: var(--hx-primary-ink); }
@media (max-width: 781px) { .hx-tc--cards { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .hx-tc-card { grid-template-columns: 1fr; } .hx-tc-card > *, .hx-tc-card__avatar { grid-column: 1; grid-row: auto; } .hx-tc-card__avatar { margin-bottom: 1rem; } }

/* Hero */
.hx-hero__inner { max-width: 760px; }
.hx-hero h1 { margin: 1.25rem 0 1.25rem; }
.hx-hero__lead { color: rgba(255, 255, 255, 0.9); font-size: 1.125rem; line-height: 1.6; max-width: 560px; margin: 0 0 2rem; }
.hx-thumbs { gap: 0 !important; flex: none; }
.hx-thumbs figure { margin: 0 0 0 -12px !important; }
.hx-thumbs figure:first-child { margin-left: 0 !important; }
.hx-thumbs img { width: 46px; height: 46px; border-radius: 50% !important; object-fit: cover; border: 3px solid rgba(255, 254, 250, 0.95); display: block; }
.hx-trust__text strong { color: #fff; }

/* Inicjały zamiast zdjęć osób */
.hx-initials { width: 44px; height: 44px; border-radius: 50%; flex: none; margin: 0 !important; display: grid; place-items: center; background: var(--wp--preset--color--primary-soft, #fff1e8); color: var(--hx-primary-ink); font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.875rem; }
.hx-quote-mark { font-size: 0 !important; line-height: 0; height: 28px; margin: 0 !important; }
.hx-quote-mark::before { content: "\201C"; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--hx-primary); display: block; height: 28px; }
.hx-tcard { width: 420px; }

/* Atuty w pasku */
.hx-h-small { font-size: clamp(1.25rem, 2vw, 1.5rem) !important; margin-bottom: 1.75rem !important; }
.hx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.hx-facts > * { margin: 0 !important; }
.hx-fact { position: relative; padding-left: 3.4rem; min-height: 44px; font-size: 0.875rem; line-height: 1.45; color: var(--hx-muted); }
.hx-fact strong { display: block; color: var(--hx-dark); font-family: var(--wp--preset--font-family--heading); font-size: 0.9375rem; }
.hx-fact::after { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.hx-fact::before { content: ""; position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; z-index: 1; background: var(--hx-primary-ink); -webkit-mask: var(--hx-i) center / contain no-repeat; mask: var(--hx-i) center / contain no-repeat; }
.hx-proof__quote .hx-more { padding-top: 1rem; }
@media (max-width: 560px) { .hx-facts { grid-template-columns: 1fr; } }

/* Pas zdjęcia z linkiem */
.hx-play--link .wp-block-button__link::before { background-image: var(--hx-i-arrow-ur-white); background-size: 15px; }
.hx-play--link .wp-block-button__link:hover::before { background-image: var(--hx-i-arrow-ur-dark); }

/* Referencje */
.hx-letter { display: flex; flex-direction: column; gap: 0.75rem; }
.hx-letter > * { margin: 0 !important; }
.hx-letter__img { margin: 0; }
.hx-letter__img img, .hx-letters .hx-letter__img img { width: 100%; aspect-ratio: 1 / 1.3; object-fit: cover; object-position: top; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.6); transition: transform 0.5s var(--hx-ease); }
.hx-letter__img:hover img { transform: translateY(-4px); }
.hx-letter__cap { font-size: 0.8125rem; color: rgba(255, 254, 250, 0.75); text-align: center; }
.hx-rcard--cta { background: var(--hx-primary) !important; justify-content: space-between; }
.hx-rcard--cta, .hx-rcard--cta p, .hx-rcard--cta a { color: var(--hx-dark) !important; }
.hx-rcard__big { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem; line-height: 1.25; }
.hx-rcard--cta .hx-more a { color: var(--hx-dark); }
.hx-reviews__lead { max-width: 380px; }

/* Realizacje */
.hx-blog__head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; gap: 1.5rem !important; }
.hx-blog__head h2 { margin: 0.75rem 0 0; }
.hx-post-card__date.hx-ico::before { background: var(--hx-primary); }
.hx-post-card__date { display: flex !important; }
.hx-post-card__date:empty { display: none !important; }
@media (min-width: 601px) and (max-width: 900px) { .hx-posts .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.hx-project__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hx-project__title { font-size: var(--wp--preset--font-size--xx-large) !important; margin: 1rem 0 !important; max-width: 900px; }
.hx-project__img { margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.hx-project__content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2rem; }

/* CTA */
.hx-cta { border-radius: 16px; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 2rem; align-items: center; }
.hx-cta > * { margin: 0 !important; }
.hx-cta h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 0 0 0.5rem; }
.hx-cta p { margin: 0; color: rgba(255, 254, 250, 0.78); }
@media (max-width: 900px) { .hx-cta { grid-template-columns: 1fr; } }

/* Zakres prac (karty z listami) */
.hx-scope__head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.hx-scope__head h2 { margin: 0.75rem 0 1rem; }
.hx-scope__card { padding: 1.75rem !important; transition: transform 0.5s var(--hx-ease); }
.hx-scope__card:hover { transform: translateY(-4px); }
.hx-scope__card h3 { margin: 0 0 1rem; }
.hx-scope__card .wp-block-list { margin: 0; font-size: 0.9375rem; }
.wp-block-list.is-style-checks li::before { background: var(--hx-primary-ink); }

/* Tekst + zdjęcie */
.hx-split h2 { margin: 0.75rem 0 1.25rem; }
.hx-split .hx-muted { margin: 0 0 1rem; }
.hx-split .wp-block-list { margin: 1.25rem 0; }
.hx-split__img { margin: 0; }
.hx-split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hx-split .hx-muted a { color: var(--hx-primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 781px) { .hx-cols-gap.is-reversed { flex-direction: column-reverse; } }

/* FAQ */
.hx-faq h2 { margin: 0.75rem 0 2.5rem; }
.hx-faq__list { max-width: 820px; margin-inline: auto !important; border-top: 1px solid var(--hx-line); }
.hx-faq__list > * { margin: 0 !important; }
.hx-faq .wp-block-details { border-bottom: 1px solid var(--hx-line); padding: 0; }
.hx-faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.0625rem; }
.hx-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.hx-faq .wp-block-details summary::after { content: ""; position: absolute; right: 0.25rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--hx-sand) var(--hx-i-plus) center / 12px no-repeat; transition: transform 0.4s var(--hx-ease), background-color 0.3s; }
.hx-faq .wp-block-details[open] summary::after { transform: rotate(45deg); background-color: var(--hx-primary); }
.hx-faq .wp-block-details summary:hover { color: var(--hx-primary-ink); }
.hx-faq .wp-block-details p { margin: 0 0 1.35rem; color: var(--hx-muted); max-width: 680px; }

/* Okruszki */
.hx-crumbs { font-size: 0.8125rem; color: var(--hx-muted); margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; max-width: var(--hx-wide) !important; }
.hx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.hx-crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.hx-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hx-crumbs a:hover { color: var(--hx-primary-ink); }
.hx-crumbs [aria-current] { color: var(--hx-dark); }

/* Podstrony */
.hx-page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hx-page-hero h1 { font-size: var(--wp--preset--font-size--xx-large); margin: 1rem 0 0; }
.hx-section--flush-top { padding-top: 0; }
.hx-team h2 { margin: 0.75rem 0 2.5rem; }
.hx-team .hx-tc--cards { max-width: var(--hx-wide); margin-inline: auto; }
.hx-letters h2 { margin-bottom: 2.5rem; }
.hx-contact__lead { max-width: 520px; margin: -0.75rem auto 2rem !important; }
.hx-contact__card--flat { margin: 0 auto !important; }
.hx-contact__info .hx-tc--cards { max-width: var(--hx-wide); margin-inline: auto; }

/* Formularz: zgoda */
.hx-consent { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.75rem; font-size: 0.8125rem; line-height: 1.5; color: var(--hx-muted); cursor: pointer; }
.hx-consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--hx-primary-ink); }
.hx-consent a { color: var(--hx-primary-ink); text-decoration: underline; }
.hx-form .wp-element-button:hover { background: var(--hx-primary); color: var(--hx-dark); }

/* Menu: podmenu */
.hx-menu .wp-block-navigation__submenu-container { background: var(--hx-base) !important; color: var(--hx-dark) !important; border: 0 !important; border-radius: 12px; padding: 0.6rem !important; box-shadow: 0 24px 48px -24px rgba(23, 23, 20, 0.35); min-width: 230px !important; }
.hx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.6rem 0.8rem !important; border-radius: 8px; }
.hx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.hx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--hx-sand); color: var(--hx-primary-ink); }
.hx-menu .wp-block-navigation__container { gap: 1.75rem; }
.hx-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; color: inherit !important; box-shadow: none; padding: 0.5rem 0 0 1rem !important; }
.hx-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.125rem; font-weight: 500; }
.hx-menu .wp-block-navigation__responsive-container-open, .hx-menu .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* Pauza marquee (WCAG 2.2.2) */
.hx-testimonials { position: relative; }
.hx-marquee-toggle { position: absolute; right: var(--hx-gutter); bottom: 0.25rem; z-index: 3; display: inline-flex; align-items: center; gap: 0.4rem; border: 0; border-radius: 999px; padding: 0.45rem 0.85rem; background: var(--hx-sand); color: var(--hx-dark); font: 500 0.75rem/1 var(--wp--preset--font-family--body); cursor: pointer; }
.hx-marquee-toggle:hover { background: var(--hx-primary); }
.hx-marquee.is-paused .hx-marquee__track { animation-play-state: paused; }
.hx-marquee:focus-within .hx-marquee__track { animation-play-state: paused; }

/* v1.2: podstrony kategorii oferty */
.hx-scope__card--link { position: relative; }
.hx-scope__card--link h3 a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.hx-scope__card--link h3 a::after { content: ""; width: 0.9em; height: 0.9em; background: var(--hx-primary-ink); -webkit-mask: var(--hx-i-arrow) center / contain no-repeat; mask: var(--hx-i-arrow) center / contain no-repeat; transition: transform 0.4s var(--hx-ease); }
.hx-scope__card--link h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hx-scope__card--link:hover h3 a { color: var(--hx-primary-ink); }
.hx-scope__card--link:hover h3 a::after { transform: translateX(4px); }
.hx-scope__card h3 { padding-bottom: 0.9rem; border-bottom: 2px solid var(--hx-dark); }
.hx-scope__card--title { display: flex; align-items: flex-end; min-height: 150px; }
.hx-scope__card--title h3 { margin: 0 !important; width: 100%; font-size: 1.125rem; line-height: 1.4; }
.hx-offer-links__img { margin: 0; }
.hx-offer-links__img img { width: 100%; max-height: 440px; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(23, 23, 20, 0.18)); }
.hx-offer-links h2 { margin: 0.75rem 0 1.5rem; }
.hx-offer-links .wp-block-list { columns: 2; column-gap: 2.5rem; font-size: 1.0625rem; }
.hx-offer-links .wp-block-list li { break-inside: avoid; margin-bottom: 0.9rem; }
.hx-offer-links .wp-block-list a, .hx-related .wp-block-list a { color: var(--hx-dark); text-decoration: underline; text-decoration-color: rgba(23, 23, 20, 0.25); text-underline-offset: 4px; }
.hx-offer-links .wp-block-list a:hover, .hx-related .wp-block-list a:hover { color: var(--hx-primary-ink); text-decoration-color: currentColor; }
@media (max-width: 600px) { .hx-offer-links .wp-block-list { columns: 1; } }
.hx-related .wp-block-list { font-size: 0.9375rem; }
.hx-related .hx-more { margin-top: 1.5rem; }
/* Podmenu Oferta w dwóch kolumnach (desktop) */
@media (min-width: 1000px) {
	.hx-menu .hx-mega > .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: repeat(2, minmax(230px, 1fr)); column-gap: 0.25rem; }
}
