/* === fonts.css === */
/* === Fonty motywu: Orbitron + Rajdhani (latin + latin-ext, self-hosted) === */

/* Orbitron — 700/800/900 (variable file, jeden subset latin) */
@font-face {
	font-family: 'Orbitron';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/orbitron/orbitron-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Orbitron';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/orbitron/orbitron-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Orbitron';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('../fonts/orbitron/orbitron-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rajdhani 500 */
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-500-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-500-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rajdhani 600 */
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-600-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rajdhani 700 */
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-700-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/rajdhani/rajdhani-700-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* === main.css === */
/* Galeria Stron — main stylesheet */

/* Breakpoints: tablet 768px (hero, kontakt, scroll), nav mobile 1024px (header.css) */

:root {
	/* === Galeria Stron — jedyne źródło kolorów motywu === */
	--gs-bg: #101a22;
	--gs-surface: #20242a;
	--gs-text: #f5f5f5;
	--gs-muted: #a7a7a7;
	--gs-accent: #a855f7;
	--gs-accent-rgb: 168, 85, 247;
	--gs-accent-glow: rgba(var(--gs-accent-rgb), 0.5);
	--gs-accent-soft: color-mix(in srgb, var(--gs-accent) 68%, #fff);
	--gs-accent-muted: color-mix(in srgb, var(--gs-accent) 52%, #fff);
	--gs-accent-deep: color-mix(in srgb, var(--gs-accent) 72%, #000);
	--gs-border: rgba(255, 255, 255, 0.1);
	--gs-container: 1400px;

	--color-text: var(--gs-text);
	--color-bg: var(--gs-bg);
	--color-accent: var(--gs-accent);
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container-width: 72rem;
	--space-md: 1.5rem;
	--space-lg: 3rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background-color: var(--gs-bg);
	margin-top: 0 !important;
	scroll-padding-top: 124px;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--gs-text);
	background-color: var(--gs-bg);
}

html.page-front,
body.page-front {
	background-color: var(--gs-bg);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--gs-accent);
}

.floating-phone-btn {
	color: #ffffff;
	text-decoration: none;
}

.floating-phone-btn__icon {
	display: block;
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
}

.site-main {
	width: min(100% - 2rem, var(--container-width));
	margin-inline: auto;
}

.site-main--front {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	padding-block: 0;
}

.site-main:not(.site-main--front) {
	padding-block: var(--space-lg);
}

.page-content__title {
	margin: 0 0 var(--space-md);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.page-content__body > :first-child {
	margin-top: 0;
}

/* === Strona: 404 === */
body.error404 .site-main--404 {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	min-height: calc(100svh - 76px);
	display: flex;
	align-items: center;
	justify-content: center;
}

body.error404 .error-404 {
	width: min(100% - 2rem, 40rem);
	margin: 0;
	padding: 2rem 0;
	text-align: center;
}

body.error404 .error-404__message {
	margin: 0;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--gs-text);
}

body.error404 .error-404__link {
	color: var(--gs-accent);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(var(--gs-accent-rgb), 0.45);
	text-underline-offset: 0.2em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.error404 .error-404__link:hover,
body.error404 .error-404__link:focus-visible {
	color: var(--gs-accent-soft);
	text-decoration-color: currentColor;
}

@media (max-width: 768px) {
	body.error404 .error-404__message {
		font-size: clamp(1.25rem, 5vw, 2rem);
	}
}


/* === scroll.css === */
/* === Globalny floating scrollbar === */
:root {
	--gs-scroll-track-width: 12px;
	--gs-scroll-thumb-width: 4px;
	--gs-scroll-thumb-width-active: 5px;
	--gs-scroll-thumb-glow: 0 0 8px rgba(var(--gs-accent-rgb), 0.65);
}

html {
	scrollbar-width: none;
	-ms-overflow-style: none;
	overflow-x: clip;
	max-width: 100%;
}

html::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
	background: transparent;
}

body {
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

body::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
	background: transparent;
}

body.gs-scroll-dragging {
	user-select: none;
	cursor: grabbing;
}

.gs-scroll {
	position: fixed;
	right: 10px;
	top: 30vh;
	height: 35vh;
	width: var(--gs-scroll-track-width);
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 100px;
	z-index: 10001;
	pointer-events: auto;
	cursor: pointer;
	touch-action: none;
}

.gs-scroll[hidden] {
	display: none;
}

.gs-scroll__thumb {
	position: absolute;
	top: 0;
	left: 50%;
	width: var(--gs-scroll-thumb-width);
	height: 50px;
	margin-left: calc(var(--gs-scroll-thumb-width) / -2);
	background: var(--gs-accent);
	border-radius: 100px;
	box-shadow: var(--gs-scroll-thumb-glow);
	will-change: transform;
	cursor: grab;
	touch-action: none;
	transition: box-shadow 0.2s ease, width 0.15s ease;
}

.gs-scroll__thumb:hover,
.gs-scroll__thumb.is-dragging,
body.gs-scroll-dragging .gs-scroll__thumb {
	width: var(--gs-scroll-thumb-width-active);
	margin-left: calc(var(--gs-scroll-thumb-width-active) / -2);
}

.gs-scroll__thumb:hover {
	box-shadow: 0 0 10px rgba(var(--gs-accent-rgb), 0.8);
}

.gs-scroll__thumb.is-dragging,
body.gs-scroll-dragging .gs-scroll__thumb {
	cursor: grabbing;
	box-shadow: 0 0 12px rgba(var(--gs-accent-rgb), 0.95);
}

@media (max-width: 768px) {
	.gs-scroll {
		right: 6px;
		height: 25vh;
		top: 35vh;
	}

	.gs-scroll__thumb {
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scrollbar-width: thin;
		scrollbar-color: rgba(var(--gs-accent-rgb), 0.6) transparent;
	}

	html::-webkit-scrollbar {
		display: block;
		width: 4px;
	}

	html::-webkit-scrollbar-track {
		background: transparent;
	}

	html::-webkit-scrollbar-thumb {
		background: rgba(var(--gs-accent-rgb), 0.6);
		border-radius: 100px;
	}

	body {
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	body::-webkit-scrollbar {
		display: none;
	}

	.gs-scroll {
		display: none !important;
	}
}


/* === header.css === */
/* === Header: kapsuła premium === */
.premium-header {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 48px);
	max-width: 1400px;
	height: 76px;
	background: #ffffff;
	border: 1px solid #e8e8ec;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px 0 36px;
	box-sizing: border-box;
	z-index: 9999;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
	overflow: visible;
	color: #121214;
}

.header-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
	color: #121214;
	min-width: 0;
}

.header-logo__text {
	display: inline-flex;
	align-items: baseline;
	gap: 0.06em;
	font-family: 'Orbitron', var(--font-sans);
	font-size: 1.3125rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.header-logo__dot {
	display: block;
	width: 0.36em;
	height: 0.36em;
	flex-shrink: 0;
	align-self: baseline;
	background: var(--gs-accent);
	border-radius: 2px;
}

.header-logo__img {
	display: none;
}

/* === Nav: desktop === */
.header-nav-wrap {
	height: 100%;
	position: static;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	position: static;
}

.nav-item {
	display: flex;
	align-items: center;
	height: 100%;
}

.nav-item--has-mega {
	position: static;
}

/* === Mega menu: wrapper + panel (szerokość = kapsuła header) === */
.mega-menu-wrapper {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding-top: 14px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
	pointer-events: none;
}

.nav-item--has-mega:hover .mega-menu-wrapper {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.nav-item > a {
	color: #515159;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 10px 18px;
	border-radius: 50px;
	transition: color 0.25s ease, background 0.25s ease;
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-item:hover > a,
.nav-item.is-active > a {
	color: #000000;
	background: rgba(0, 0, 0, 0.04);
}

.nav-item.is-active > a {
	font-weight: 600;
}

.nav-item .chevron {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	transition: transform 0.3s ease;
}

.nav-item:hover .chevron {
	transform: rotate(180deg);
}

.mega-menu-panel {
	background: #ffffff;
	border: 1px solid #e8e8ec;
	border-radius: 32px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
	padding: 40px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, 1fr) 320px;
	gap: 40px;
	align-items: start;
}

.mega-col-title {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #8a8a93;
	font-weight: 700;
	margin-bottom: 24px;
	display: block;
}

.mega-col-title--promo {
	color: var(--gs-accent);
}

.mega-links-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mega-link-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	text-decoration: none;
	color: inherit;
	padding: 12px;
	border-radius: 16px;
	transition: background 0.25s ease;
}

.mega-link-item:hover {
	background: rgba(0, 0, 0, 0.03);
}

.mega-icon-box {
	width: 40px;
	height: 40px;
	min-width: 40px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #121214;
	transition: background 0.25s ease, color 0.25s ease;
}

.mega-link-item:hover .mega-icon-box {
	background: var(--gs-accent);
	color: #ffffff;
}

.mega-icon-box svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.mega-text-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mega-item-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #121214;
}

.mega-item-desc {
	font-size: 0.82rem;
	color: #6b6b75;
	line-height: 1.4;
	margin: 0;
}

.mega-promo-card {
	background: #121214;
	color: #ffffff;
	border-radius: 24px;
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
	align-self: start;
	gap: 16px;
	overflow: hidden;
}

.mega-promo-card .mega-col-title--promo {
	margin-bottom: 12px;
}

.mega-promo-title {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 6px;
}

.mega-promo-desc {
	font-size: 0.85rem;
	color: #a1a1aa;
	line-height: 1.45;
	margin: 0;
}

.mega-promo-btn {
	background: #ffffff;
	color: #121214;
	text-decoration: none;
	font-size: 0.86rem;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 100px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	align-self: flex-start;
	transition: background 0.25s ease, transform 0.25s ease;
}

.mega-promo-btn:hover {
	background: #e4e4e7;
	transform: translateY(-2px);
}

.mega-promo-btn svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

/* === Header: akcje === */
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lang-switcher {
	display: flex;
	position: relative;
	background: rgba(0, 0, 0, 0.05);
	padding: 4px;
	border-radius: 100px;
	z-index: 1;
	flex-shrink: 0;
}

.lang-bg-pill {
	position: absolute;
	top: 4px;
	left: 4px;
	height: calc(100% - 8px);
	background: #ffffff;
	border-radius: 100px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: -1;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.3s ease;
}

.lang-btn {
	background: none;
	border: none;
	color: #515159;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 100px;
	cursor: pointer;
	transition: color 0.3s ease;
}

.lang-btn.is-active {
	color: #000000;
}

.icon-action-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #3a3a40;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}

.icon-action-btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.icon-action-btn.phone-btn:hover {
	background: #2ed573;
	color: #ffffff;
}

.icon-action-btn.msg-btn:hover {
	background: #0084ff;
	color: #ffffff;
}

.icon-action-btn.msg-btn svg {
	fill: currentColor;
	stroke: none;
}

.btn-contact-capsule {
	background: #121214;
	color: #ffffff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 13px 28px;
	border-radius: 100px;
	transition: background 0.3s ease;
}

.btn-contact-capsule:hover {
	background: #2a2a30;
	color: #ffffff;
}

.hamburger-toggle {
	display: none;
	background: none;
	border: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	padding: 10px;
	z-index: 10000;
	-webkit-tap-highlight-color: transparent;
}

.hamburger-bar {
	width: 22px;
	height: 2px;
	background-color: #121214;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === Nav: mobile drawer === */
.mobile-menu-drawer {
	position: fixed;
	top: 104px;
	left: 24px;
	width: calc(100% - 48px);
	background: #ffffff;
	border: 1px solid #e8e8ec;
	border-radius: 30px;
	padding: 24px 24px 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	transform: translateY(-20px);
	pointer-events: none;
	transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
	z-index: 9998;
	max-height: calc(100dvh - 120px);
	overflow: hidden;
}

.mobile-menu-drawer__scroll-wrap {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
}

.mobile-menu-drawer__scroll {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 8px 18px 12px 0;
	scrollbar-width: none;
}

.mobile-menu-drawer__scroll::-webkit-scrollbar {
	display: none;
}

.mobile-drawer-scroll {
	position: absolute;
	top: 8px;
	right: 2px;
	bottom: 12px;
	width: 12px;
	box-sizing: border-box;
	background: rgba(var(--gs-accent-rgb), 0.07);
	border-radius: 100px;
	z-index: 2;
	pointer-events: auto;
	touch-action: none;
}

.mobile-drawer-scroll[hidden] {
	display: none;
}

.mobile-drawer-scroll__thumb {
	position: absolute;
	top: 0;
	left: 50%;
	width: 4px;
	margin-left: -2px;
	min-height: 28px;
	background: var(--gs-accent);
	border-radius: 100px;
	box-shadow: 0 0 8px rgba(var(--gs-accent-rgb), 0.65);
	will-change: transform, height;
	cursor: grab;
	touch-action: none;
	transition: box-shadow 0.2s ease, width 0.15s ease;
}

.mobile-drawer-scroll__thumb:hover,
.mobile-drawer-scroll__thumb.is-dragging {
	width: 5px;
	margin-left: -2.5px;
	box-shadow: 0 0 12px rgba(var(--gs-accent-rgb), 0.9);
}

.mobile-drawer-scroll__thumb.is-dragging {
	cursor: grabbing;
}

.mobile-menu-drawer.is-open .mobile-drawer-scroll:not([hidden]) {
	opacity: 1;
	transition: opacity 0.25s ease;
}

.mobile-menu-drawer.is-open .mobile-drawer-scroll[hidden] {
	opacity: 0;
}

.mobile-menu-drawer.is-open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.mobile-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mobile-nav > li > a {
	color: #121214;
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 600;
	display: block;
	padding: 10px 4px;
	border-radius: 12px;
}

.mobile-sub-toggle {
	width: 100%;
	background: none;
	border: none;
	color: #121214;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 4px;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
}

.mobile-sub-toggle svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	transition: transform 0.3s ease;
}

.mobile-sub-toggle.is-active svg {
	transform: rotate(180deg);
}

.mobile-submenu {
	list-style: none;
	padding: 0 0 10px 8px;
	margin: 0;
	display: none;
	flex-direction: column;
	gap: 4px;
}

.mobile-submenu.is-open {
	display: flex;
}

.mobile-sub-title {
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #121214;
	font-weight: 700;
	padding: 18px 4px 6px;
}

.mobile-submenu a {
	color: #4b4b52;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	display: block;
	padding: 10px 12px;
	border-left: 2px solid rgba(0, 0, 0, 0.05);
	margin-left: 4px;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-submenu a:hover {
	color: var(--gs-accent);
	border-left-color: var(--gs-accent);
	background: rgba(0, 0, 0, 0.02);
}

.mobile-drawer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	padding-top: 20px;
	padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
	margin-top: 4px;
	background: #ffffff;
}

.mobile-drawer-bottom__lang {
	display: flex;
	justify-content: center;
	width: 100%;
}

.mobile-drawer-bottom__contact {
	width: 100%;
	max-width: 280px;
	text-align: center;
}

/* === Pływający telefon (mobile) === */
.floating-phone-btn {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #2ed573;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(46, 213, 115, 0.45);
	z-index: 9997;
	overflow: hidden;
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-phone-btn__icon {
	display: block;
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
	flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
	.mobile-drawer-scroll {
		display: none !important;
	}

	.mobile-menu-drawer__scroll {
		padding-right: 0;
		scrollbar-width: thin;
		scrollbar-color: rgba(var(--gs-accent-rgb), 0.65) transparent;
	}

	.mobile-menu-drawer__scroll::-webkit-scrollbar {
		display: block;
		width: 4px;
	}

	.mobile-menu-drawer__scroll::-webkit-scrollbar-thumb {
		background: rgba(var(--gs-accent-rgb), 0.65);
		border-radius: 100px;
	}
}

/* === Header: offset treści pod fixed menu === */
body {
	padding-top: 124px;
}

body.page-front {
	padding-top: 0;
}

html.is-mobile-menu-open,
body.is-mobile-menu-open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.is-mobile-menu-open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
	touch-action: none;
}

body.is-mobile-menu-open .gs-scroll {
	display: none !important;
}

body.is-mobile-menu-open .mobile-menu-drawer,
body.is-mobile-menu-open .mobile-menu-drawer__scroll {
	touch-action: pan-y;
}

body.is-mobile-menu-open .mobile-drawer-scroll,
body.is-mobile-menu-open .mobile-drawer-scroll__thumb {
	touch-action: none;
}

/* === Header: responsive === */
@media (max-width: 1320px) {
	.mega-menu-panel {
		grid-template-columns: repeat(3, 1fr);
	}

	.mega-promo-card {
		display: none;
	}
}

@media (max-width: 1024px) {
	.header-nav-wrap,
	.premium-header .btn-contact-capsule,
	.header-actions .phone-btn--header {
		display: none;
	}

	.header-actions {
		gap: 8px;
	}

	.lang-switcher--header {
		display: none;
	}

	.header-actions .icon-action-btn.msg-btn {
		order: 2;
	}

	.header-actions .hamburger-toggle {
		order: 3;
	}

	.lang-switcher--drawer {
		width: fit-content;
		margin-inline: auto;
	}

	.header-logo__text {
		font-size: 1.1875rem;
	}

	.floating-phone-btn {
		display: flex;
	}

	.floating-phone-btn:hover,
	.floating-phone-btn:focus-visible {
		transform: translateY(-2px);
		box-shadow: 0 12px 28px rgba(46, 213, 115, 0.55);
		color: #ffffff;
	}

	.hamburger-toggle {
		display: flex;
	}

	.premium-header {
		height: 68px;
		top: 16px;
		padding: 0 16px 0 24px;
	}

	.mobile-menu-drawer {
		top: 92px;
		max-height: calc(100dvh - 108px);
	}

	body {
		padding-top: 100px;
	}

	body.page-front {
		padding-top: 0;
	}

	.hamburger-toggle.is-active .hamburger-bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger-toggle.is-active .hamburger-bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger-toggle.is-active .hamburger-bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
}


/* === footer.css === */
/* === Footer: biały kafelek na tle strony === */
.site-footer-shell {
	width: 100%;
	padding: 0 5px 5px;
	background: transparent;
	overflow: hidden;
}

.site-footer {
	font-family: inherit;
	background: #ffffff;
	color: #121214;
	margin: 0 5px;
	width: calc(100% - 10px);
	border: 1px solid #e8e8ec;
	border-radius: 24px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.site-footer__body {
	max-width: 1400px;
	margin: 0 auto;
	padding: 80px 48px 60px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 50px;
	align-items: start;
}

.site-footer__brand {
	padding-right: 30px;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	margin-bottom: 20px;
	color: #121214;
}

.site-footer__logo-img {
	display: block;
	width: auto;
	height: 38px;
	max-width: 160px;
	object-fit: contain;
}

.site-footer__logo-icon {
	width: 38px;
	height: 38px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gs-accent) 72%, #000), var(--gs-accent));
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.site-footer__logo-icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.site-footer__logo-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: #121214;
	letter-spacing: -0.3px;
}

.site-footer__tagline {
	font-size: 0.9rem;
	color: #71717a;
	line-height: 1.65;
	max-width: 300px;
	margin: 0 0 24px;
}

.site-footer__socials {
	display: flex;
	gap: 12px;
}

.site-footer__social {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.06);
	background: rgba(0, 0, 0, 0.02);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #4b5563;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-footer__social svg {
	width: 16px;
	height: 16px;
	display: block;
}

.site-footer__social:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.site-footer__social--fb:hover {
	background: #1877f2;
	border-color: #1877f2;
	color: #ffffff;
}

.site-footer__social--ig:hover {
	background: #e1306c;
	border-color: #e1306c;
	color: #ffffff;
}

.site-footer__nav-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4b5563;
	margin-bottom: 22px;
	display: block;
}

.site-footer__nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__nav-list a {
	font-size: 0.92rem;
	color: #71717a;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.18s ease, transform 0.18s ease;
	display: inline-block;
}

.site-footer__nav-list a:hover {
	color: var(--gs-accent);
	transform: translateX(2px);
}

.site-footer__contact-box {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.site-footer__contact-link {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: #121214;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.site-footer__contact-link:hover {
	color: var(--gs-accent);
}

.site-footer__contact-link svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--gs-accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

.site-footer__hr {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer__bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding: 26px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.85rem;
	color: #121214;
	font-weight: 600;
}

.site-footer__copy a {
	color: #121214;
	text-decoration: none;
}

.site-footer__copy a:hover {
	color: var(--gs-accent);
}

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-footer__legal a {
	font-size: 0.82rem;
	color: #71717a;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.18s ease;
}

.site-footer__legal a:hover {
	color: var(--gs-accent);
}

@media (max-width: 1100px) {
	.site-footer__body {
		grid-template-columns: 1fr 1fr;
		padding: 60px 32px 48px;
		gap: 40px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.site-footer__hr,
	.site-footer__bottom {
		padding-left: 32px;
		padding-right: 32px;
	}
}

@media (max-width: 680px) {
	.site-footer {
		border-radius: 20px;
	}

	.site-footer__body {
		grid-template-columns: 1fr;
		padding: 45px 24px;
		gap: 36px;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__tagline {
		margin-bottom: 20px;
	}

	.site-footer__hr,
	.site-footer__bottom {
		padding-left: 24px;
		padding-right: 24px;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding-top: 22px;
		padding-bottom: 22px;
	}

	.site-footer__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		width: 100%;
		border-top: 1px solid rgba(0, 0, 0, 0.06);
		padding-top: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__social,
	.site-footer__nav-list a,
	.site-footer__contact-link,
	.site-footer__legal a,
	.site-footer__copy a {
		transition: none;
	}
}

