/* --- Local Fonts --- */
@font-face {
	font-family: 'Comfortaa';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/Comfortaa-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'Comfortaa';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Comfortaa-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'Comfortaa';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/Comfortaa-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Playfair';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Playfair-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'Playfair';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/Playfair-SemiBold.ttf') format('truetype');
}

:root {
	/* --- Grayscale & Base --- */
	--color-bg: #f5f1eb;
	--color-white: #ffffff;
	--color-text: #5a5a5a;
	--color-text-dark: #3d4a3a;

	/* --- Brand Accent (Sage) --- */
	--color-accent: #a3b59a;
	--color-accent-dark: #8fa085;

	/* --- Typography --- */
	--font-primary: 'Comfortaa', sans-serif;
	--font-secondary: 'Playfair', serif;

	/* --- Layout & Spacing --- */
	--spacing-section: 8rem;
	--radius-ui: 16px;
	--max-width: 1400px;

	/* --- Shadows & Glass --- */
	--shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-premium: 0 25px 50px rgba(0, 0, 0, 0.15);
	--bg-glass: rgba(255, 255, 255, 0.85);

	/* --- Transitions --- */
	--transition-fast: all 0.3s ease;
	--transition-medium: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);

	/* --- Z-Index Layering --- */
	--z-video: 0;
	--z-base: 1;
	--z-content: 10;
	--z-sticky: 100;
	--z-menu: 800;
	--z-controls: 2000;
	--z-toast: 9000;
	--z-modal: 30000;
	--z-critical: 30005;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px; /* Offset for fixed navbar (#nav = 80px + breathing room) */
}

body {
	font-family: var(--font-primary);
	overflow-x: hidden;
	background: var(--color-bg);
	color: var(--color-text);
	font-weight: 300;
	min-height: 100vh; /* Prevent body collapse */
	width: 100%;
	position: relative;
}

.content {
	position: relative;
	z-index: 10;
	background: var(--color-bg);
	overflow: hidden;
}

/* Stabilize Video Tracks (Webkit specific) */
video::-webkit-media-text-track-display {
	position: absolute !important;
	bottom: 30px !important;
	left: 0 !important; /* Prevent horizontal shift */
	width: 100% !important;
	text-align: center !important;
	background: rgba(0, 0, 0, 0.4) !important;
	pointer-events: none; /* Layout stability */
}

/* --- Components --- */

.video-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: var(--z-video);
	overflow: hidden;
	opacity: 0;
	transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	will-change: opacity;
}

.video-background.visible {
	opacity: 1;
}

.video-background video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translateZ(0); /* Force GPU */
}

.video-overlay,
.background-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}

.video-overlay {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.45) 100%);
	position: absolute; /* Override fixed */
	height: 100%;
}

/* .background-overlay removed - Refactored to #nav */

/* --- Brand & Nav --- */

.new-brand {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.96);
	z-index: 31000;
	font-size: clamp(1.2rem, 3vw, 2.5rem);
	font-weight: 400;
	color: #fff;
	opacity: 0;
	transition:
		opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	text-align: center;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
	pointer-events: none;
	visibility: hidden;
	will-change: transform, opacity;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: translate3d(-50%, -50%, 0) scale(0.96);
	font-family: var(--font-primary);
	line-height: 1.4;
	max-width: 90%;
	padding: 0 2rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.new-brand.visible {
	opacity: 1;
	transform: translate3d(-50%, -50%, 0) scale(1);
	visibility: visible;
}

.new-brand.hidden {
	opacity: 0;
	visibility: hidden;
	transform: translate3d(-50%, -50%, 0) translateY(-15px) scale(1);
	transition:
		opacity 0.6s,
		transform 0.6s,
		visibility 0s linear 0.6s;
}

/* --- Hamburger Menu --- */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 20px;
	position: fixed;
	top: 2rem;
	right: 2rem;
	z-index: var(--z-controls);
	cursor: pointer;
	transition: var(--transition-medium);
	opacity: 0; /* Hidden initially */
}

.hamburger.visible {
	opacity: 1;
}

.hamburger span {
	width: 100%;
	height: 2px;
	background: var(
		--color-text-dark
	); /* Dark logic initially? Or white based on section? Let's assume white for overlay, dark for standard */
	background: #000; /* Contrast */
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
	background: #fff; /* White when open on overlay */
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
	background: #fff;
}

/* Fix: Make hamburger white when sidebar/sticky is active (Sage background) */
.hamburger.visible span {
	background: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); /* Visibility boost */
}

/* --- Navigation Layout --- */
#nav {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1400px;
	height: 80px;

	display: flex;
	justify-content: center; /* Center axis for reference */
	align-items: center;
	/* gap removed */

	padding: 0 40px; /* Standard padding */
	z-index: var(--z-controls);
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	pointer-events: none;
	font-family: var(--font-primary); /* Force font consistency across pages */
}

#nav.visible {
	opacity: 1;
	pointer-events: all;
	/* No background here anymore */
}

.no-transition {
	transition: none !important;
}

.nav-side {
	display: flex;
	align-items: center;
	list-style: none;
	gap: 32px; /* Tighter gap */
}

.nav-left {
	position: absolute;
	right: 50%;
	left: auto; /* Reset left from previous */
	margin-right: 90px; /* Space for half logo + buffer */
	justify-content: flex-end; /* Align closer to center */
}

.nav-right {
	position: absolute;
	left: 50%;
	right: auto; /* Reset right from previous */
	margin-left: 90px; /* Space for half logo + buffer */
	justify-content: flex-start; /* Align closer to center */
}

.hero-logo {
	position: fixed;
	top: 40%; /* Moved up by 10% from 50% */
	left: 50%;
	width: 330px; /* Increased by 10% from 300px */
	max-width: 70vw;
	transform: translateX(-50%) translateY(-50%); /* Explicit geometry */
	z-index: 30000;
	transition:
		transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: auto;
	will-change: transform, top;
	display: flex;
	justify-content: center;
	align-items: center;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.hero-logo img {
	width: 100%;
	height: auto;
	transform: translateZ(0);
}

.hero-logo.moving {
	top: 40px;
	transform: translate3d(-50%, -50%, 0) scale(0.243);
	/* 330px * 0.243 ~= 80px visual width */
	/* translateY(-50%) aligns center of logo to top:40px line */
}

.brand-logo {
	width: 60px; /* Base size in header */
	height: auto;
	object-fit: contain;
	/* Remove redundant transitions on image if container handles it */
}

#nav.visible {
	opacity: 1;
	pointer-events: all;
	/* No background here anymore */
}

/* Full Width Glass Background */
.nav-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: rgba(163, 181, 154, 0.35); /* Low alpha for glass effect */
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 1999; /* Just below #nav (2000) */
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	pointer-events: none;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-bg.visible {
	opacity: 1;
}

/* .nav-side, .nav-left, .nav-right defined in #nav block */

.nav-side a {
	color: var(--color-white);
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.3s;
	font-size: 1rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.nav-side a:hover {
	opacity: 0.7;
}

/* Dark Navigation for Light Background Pages */
.nav-dark .nav-side a {
	color: #3d4a3a !important; /* var(--color-text-dark) */
	font-weight: 600;
}

.nav-dark .nav-side a:hover {
	color: #a3b59a !important; /* var(--accent) */
	opacity: 1;
}

.nav-dark .sep,
.nav-dark .lang-btn {
	color: #3d4a3a !important;
}

.nav-dark .lang-btn.active {
	font-weight: 700;
	border-bottom-color: #3d4a3a !important;
}

.hamburger.nav-dark span {
	background: #3d4a3a !important;
}

/* Ensure hamburger inside nav-dark if valid selector */
.nav-dark .hamburger span {
	background: #3d4a3a !important;
}

/* Mobile Nav Styles */

.logo-spacer {
	width: 180px; /* Increased from 140px */
}

.scroll-indicator {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--color-white);
	z-index: 31001;
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.3),
		0 0 20px rgba(0, 0, 0, 0.5);
	pointer-events: auto; /* Enable Click */
	cursor: pointer; /* Show Hand */
	will-change: opacity;
	font-size: 0.85rem;
	letter-spacing: 1px;
	font-family: var(--font-primary);
}

.scroll-indicator.hidden {
	opacity: 0;
	visibility: hidden;
}

.scroll-arrow {
	display: block;
	margin-top: 0.5rem;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
}

.spacer {
	height: 300vh;
	pointer-events: none;
}

/* --- Layout Sections --- */

/* ... existing code ... */

.section {
	margin-bottom: 0;
	padding: 0;
	scroll-margin-top: 90px; /* Offset for fixed navbar (80px + 10px breathing room) */
	background: #faf8f5;
	opacity: 0;
	transform: translateY(40px);
	transition: var(--transition-slow);
	will-change: opacity, transform;
	border: none;
	max-width: 100%;
}

.section:not(.section-fullwidth) {
	padding: var(--spacing-section) 2rem;
	margin-bottom: 0;
	position: relative;
	z-index: 10;
}

.section-fullwidth {
	padding: 0;
	overflow: hidden;
}

.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.section-headline,
.section h2,
.section-headline-white {
	font-family: var(--font-secondary);
	color: var(--color-text-dark);
	margin-bottom: 2rem;
	text-transform: uppercase;
}

.section h2:not(.premium-title) {
	font-size: 2.8rem;
	text-align: center;
	font-weight: 600;
	letter-spacing: 1px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4.5rem;
}

.section-headline-white {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	letter-spacing: 1px;
	margin-bottom: 2rem;
	color: var(--color-text-dark);
}

.separator-line {
	width: 60px;
	height: 3px;
	background: var(--color-accent);
	margin: 1.5rem 0;
	display: inline-block; /* Or block depending on alignment, keeping block safer for now or flex context */
	display: block;
}

.section p {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-text);
	margin-bottom: 1.5rem;
	font-weight: 400;
}

/* --- Premium Overlap Sections (O Nas & Oferta) --- */
.section-premium {
	background: #faf8f5;
	padding: 10rem 2rem;
	overflow: visible;
}

.section-offer-intro {
	background: #faf8f5;
	padding: 10rem 2rem 2rem 2rem;
	overflow: visible;
}

.premium-overlap-container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	position: relative;
	gap: 0;
}

.premium-overlap-container.reverse {
	direction: rtl;
}
.premium-overlap-container.reverse > * {
	direction: ltr;
}

/* Image Box */
.premium-image-box {
	position: relative;
	z-index: 1;
	width: 110%; /* Exceed column for overlap effect */
}

.premium-overlap-container.reverse .premium-image-box {
	left: -10%;
}

.premium-image {
	width: 100%;
	height: 600px;
	object-fit: cover;
	border-radius: var(--radius-ui);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
	display: block;
}

/* Text Card (Glassmorphism) */
.premium-text-card {
	background: var(--bg-glass);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	padding: 5rem;
	border-radius: var(--radius-ui);
	box-shadow: var(--shadow-premium);
	position: relative;
	z-index: 2;
	margin-left: -15%; /* Overlap core */
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.premium-overlap-container.reverse .premium-text-card {
	margin-left: 0;
	margin-right: -15%;
}

.premium-title {
	font-family: var(--font-secondary);
	font-size: 3.2rem;
	line-height: 1.1;
	color: var(--color-text-dark);
	margin-bottom: 2.5rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.premium-body p {
	font-family: var(--font-primary);
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-text);
	margin-bottom: 2rem;
	font-weight: 300;
}

.premium-body .highlight {
	color: var(--color-accent);
	font-weight: 600;
}

.premium-footer {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-top: 2rem;
}

.premium-footer::before {
	content: '';
	width: 50px;
	height: 2px;
	background: var(--color-accent);
}

.premium-label {
	font-family: var(--font-secondary);
	font-size: 0.9rem;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 600;
}

/* Responsive Reset */
@media (max-width: 1100px) {
	.premium-overlap-container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.premium-image-box {
		width: 100%;
		left: 0 !important;
	}

	.premium-image {
		height: 450px;
	}

	.premium-text-card {
		margin: -5rem 1rem 0 1rem !important;
		padding: 3rem 2rem;
	}

	.premium-title {
		font-size: 2.2rem;
	}
}

/* Responsive */

/* Wider container for Offer section */

.offer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Three columns in one row */
	gap: 2rem;
	gap: 2rem;
	margin: 2rem auto;
	padding: 0 3rem;
	max-width: 1600px;
	width: 100%;
}

.offer-card {
	background: #fff;
	position: relative; /* Creating containing block for ::after */
	border-radius: var(--radius-ui);
	overflow: hidden;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.offer-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
}

.offer-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 60px;
	height: 60px;
	background: var(--color-accent);
	clip-path: polygon(
		100% 0%,
		100% 100%,
		0% 100%,
		10px calc(100% - 5px),
		calc(100% - 5px) calc(100% - 5px),
		calc(100% - 5px) 10px
	);
	border: none;
	border-radius: 0;
	pointer-events: none;
	opacity: 1;
}

/* Old Offer Image (Background) - Removed */
/* .offer-image { ... } */

/* New Offer Image Structure (Img Tag) */
.offer-image-wrapper {
	height: 500px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.offer-image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}

.offer-card:hover .offer-image-img {
	transform: scale(1.1);
}

.offer-image-wrapper::after {
	content: 'Zobacz więcej';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--font-secondary);
	font-size: 1.2rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.offer-card:hover .offer-image::after {
	opacity: 1;
}

.offer-content {
	padding: 1.5rem;
}

.offer-content h3 {
	font-family: var(--font-secondary);
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
	font-size: 1.6rem;
	font-weight: 600;
}

.offer-content p {
	color: #6a6a6a;
	font-size: 1rem;
	line-height: 1.6;
}

/* --- Features / Parallax "Why Us" --- */

.parallax-why {
	position: relative;
	min-height: 100vh;
	padding: 6rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-image: var(--bg-image, url('../images/parallax_bg.webp'));
	background-attachment: fixed; /* User requested classic fixed background */
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

@media (max-width: 1024px) {
	.parallax-why,
	#realizacje-parallax {
		background-attachment: scroll !important;
	}
}

/* Overlay */
.parallax-why::after,
#realizacje-parallax::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1; /* Overlay on top of bg, below content */
	pointer-events: none;
}

/* Ensure content is above overlay */
.parallax-content,
.parallax-why h2 {
	position: relative;
	z-index: 5;
	color: var(--color-white);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-content {
	position: relative;
	z-index: 2;
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.parallax-card {
	background: rgba(255, 255, 255, 0.85);
	padding: 3rem 2.5rem;
	border-radius: var(--radius-ui);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	transition:
		transform 0.4s ease,
		box-shadow 0.4s ease;
	position: relative;
	overflow: hidden;
	z-index: 3;
	border: 1px solid rgba(255, 255, 255, 0.6);
	text-align: left; /* Wyrównanie do lewej */
	text-shadow: none; /* Usunięcie cienia */
}

.parallax-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.parallax-card h3 {
	font-family: var(--font-secondary);
	font-size: 1.2rem;
	color: #2d3a2a;
	margin-bottom: 1.2rem;
	font-weight: 600;
	text-align: left; /* Nagłówek też do lewej */
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.parallax-card p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
}

/* --- FAQ --- */

.faq-item {
	margin-bottom: 1.5rem;
	padding: 2rem;
	background: #fff;
	border-radius: var(--radius-ui);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.03);
	border-left: 4px solid var(--color-accent);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.faq-item:hover {
	transform: translateX(5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
	font-family: var(--font-secondary);
	color: var(--color-text-dark);
	margin-bottom: 1rem;
	font-size: 1.3rem;
	line-height: 1.4;
	font-weight: 600;
}

.faq-item p {
	line-height: 1.7;
	color: var(--color-text);
}

/* --- Gallery --- */

#realizacje-parallax {
	padding: 9rem 2rem; /* Increased padding */
	position: relative;
	overflow: hidden; /* Prevent images bleeding into title section */
	background-image: var(--bg-image, url('../images/parallax_bg.jpg')); /* Default */
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* Ensure ::before is not just an overlay but the BG now */
#realizacje-parallax::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45); /* Lighter overlay, no blur */
	z-index: 1;
	pointer-events: none;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.5rem;
	max-width: 1600px;
	margin: 0 auto;
	position: relative;
	z-index: 5; /* Ensure above overlay */
}

.gallery-column {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.gallery-column.parallax {
	transform: translateY(0);
	transition: transform 0.05s linear;
}

body.lightbox-open {
	overflow: hidden;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	/* Animation Init - Fade Up */
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.8s ease-out,
		transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
		box-shadow 0.4s ease;
	will-change: opacity, transform;
}

.gallery-item.in-view {
	opacity: 1;
	transform: translateY(0);
}

.gallery-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 3/4;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.gallery-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
	transform: scale(1.1);
}

/* --- Contact Form --- */

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	background: #fff;
	border-radius: var(--radius-ui);
	box-shadow: var(--shadow-soft);
	position: relative;
	overflow: hidden;
}

/* Shared Corner Accent - Rounded */
.offer-card::after,
.parallax-card::after,
.contact-form::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 60px;
	height: 60px;
	background: transparent;
	border-bottom: 5px solid var(--color-accent);
	border-right: 5px solid var(--color-accent);
	border-bottom-right-radius: var(--radius-ui);
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	clip-path: polygon(0% calc(100% - 5px), 10px 100%, 100% 100%, 100% 10px, calc(100% - 5px) 0%, 0% 0%);
	opacity: 1;
	pointer-events: none;
	z-index: 5;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--color-text-dark);
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 1rem 1.2rem;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	transition: all 0.3s ease;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(163, 181, 154, 0.15);
	outline: none;
}

.cta-primary {
	background-color: var(--color-accent);
	color: #1a2218; /* WCAG 7:1 Contrast Fix (Darker than text-dark) */
	border: none;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	border-radius: 50px;
	transition: all 0.3s ease;
	display: block;
	margin: 3rem auto 0;
	width: fit-content;
	box-shadow: 0 10px 20px rgba(163, 181, 154, 0.3);
}

.cta-primary:hover {
	background-color: #8fa085;
	transform: translateY(-2px);
	box-shadow: 0 15px 30px rgba(163, 181, 154, 0.4);
}

.checkbox-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
}

.checkbox-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.checkbox-item input {
	width: auto;
}

/* --- Footer --- */

footer {
	background: var(--color-bg);
	color: var(--color-text);
	padding: 4rem 2rem;
	border-top: 1px solid rgba(163, 181, 154, 0.3);
	position: relative; /* Fix z-index stacking context */
	z-index: 20; /* Ensure it stays above fixed video background */
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 3rem;
}

.footer-section h3 {
	font-family: var(--font-secondary);
	margin-bottom: 1.5rem;
	font-size: 1.4rem;
	color: var(--color-text-dark);
}

.footer-section p,
.footer-section a {
	color: var(--color-text);
	line-height: 1.8;
	text-decoration: none;
	display: block;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--color-accent);
}

.social-links {
	display: flex;
	gap: 1.5rem;
}

/* --- Modals --- */

.modal,
.gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: var(--z-modal);
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal.active,
.gallery-modal.active {
	display: flex;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.modal-content {
	background: #fff;
	max-width: 800px;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	max-height: 90vh;
	overflow-y: auto;
}

.gallery-modal-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90vw;
	max-height: 90vh;
}

#modalImg {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius-ui);
	display: block;
}

/* Updated Close Button */

.modal-close,
.gallery-modal-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	font-size: 1.5rem;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	cursor: pointer;
	color: var(--color-text-dark);
	z-index: 100;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.gallery-modal-close {
	top: -15px;
	right: -15px;
	background: #fff;
	color: #000;
}

.modal-close:hover,
.gallery-modal-close:hover {
	transform: scale(1.1);
	background: #fff;
}

.gallery-nav {
	background: none;
	border: none;
	color: #fff;
	font-size: 3rem;
	cursor: pointer;
	padding: 1rem;
	transition: opacity 0.3s;
	user-select: none;
}

.gallery-nav:hover {
	opacity: 0.7;
}

#modalImg,
#galleryModalImg {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

/* --- Premium Modal Styling --- */
#modalTitle {
	font-family: var(--font-secondary);
	font-size: 2rem;
	color: var(--color-text-dark);
	margin: 1.5rem 2rem 0.5rem;
	text-align: center;
	border-bottom: 3px solid var(--color-accent);
	display: inline-block;
	padding-bottom: 0.5rem;
}

/* Center the title wrapper to allow inline-block border */
.modal-description {
	text-align: center;
	padding: 2rem;
}

/* Reset text align for content */
#modalText {
	text-align: left;
	margin-top: 1.5rem;
}

.modal-lead {
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.8;
	color: #4a4a4a;
	margin-bottom: 2rem;
	text-align: center;
	font-style: italic;
	opacity: 0.9;
}

.modal-section {
	margin-bottom: 2rem;
	border-left: 2px solid var(--color-accent); /* Elegant accent line */
	padding-left: 1.5rem;
}

.modal-section h4 {
	font-family: var(--font-secondary);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-text-dark);
	margin-bottom: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-section p {
	font-size: 1rem;
	line-height: 1.7;
	color: #666;
	margin-bottom: 0.5rem;
}

.modal-section ul {
	list-style: none;
	padding: 0;
	margin-top: 0.5rem;
}

.modal-section li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	color: #555;
}

.modal-section li::before {
	content: '•';
	color: var(--color-accent);
	position: absolute;
	left: 0;
	font-size: 1.5rem;
	line-height: 1;
	top: -2px;
}

@media (max-width: 600px) {
	#modalImg {
		height: 200px;
	}

	#modalTitle {
		font-size: 1.6rem;
		margin: 1rem 1rem 0;
	}
	.modal-description {
		padding: 1.5rem;
	}
}

#modalImg {
	max-height: 50vh; /* Limit height to half screen */
	object-fit: cover; /* Crop nicely */
}

#galleryModalImg {
	max-height: 90vh;
	height: auto; /* Fix: Override 300px default */
	width: auto;
	min-width: 40vw; /* Ensure it's not too narrow */
	object-fit: contain;
}

.modal-description {
	padding: 2rem;
}

.modal-description h3 {
	font-family: var(--font-secondary);
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

/* --- Language Switcher --- */
.lang-switch {
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	width: 120px;
	display: flex;
	justify-content: space-between;
	margin: 0;
	gap: 0;
}

.lang-btn {
	background: none;
	border: none;
	color: var(--color-white);
	font-family: var(--font-primary);
	font-weight: 600; /* Constant weight to prevent shift */
	font-size: 0.9rem;
	cursor: pointer;
	padding: 0;
	transition:
		opacity 0.3s,
		color 0.3s;
	text-transform: uppercase;
	opacity: 0.5; /* Inactive state */
	width: 30px;
	text-align: center;
	display: inline-block;
}

.lang-btn:hover,
.lang-btn.active {
	opacity: 1;
	color: var(--color-accent);
}

.lang-switch .sep {
	color: var(--color-white);
	opacity: 0.4;
	font-size: 0.8rem;
}

@media (max-width: 1024px) {
	.lang-switch .sep {
		display: none;
	}
}

/* --- Performance Optimizations --- */
/* Removed content-visibility as it breaks fixed backgrounds */

/* FIX: Parallax sections must not have transform or they break fixed background */
/* FIX: Parallax sections must not have transform or they break fixed background */
#realizacje-parallax.section,
#dlaczego.section {
	transform: none; /* Breaks fixed bg if present */
	opacity: 1;
	will-change: auto;
}

/* --- Form Utils --- */
/* Form Progress Bar */
.progress-container {
	width: 100%;
	max-width: 600px;
	height: 6px;
	background: #e0e0e0;
	margin: 0 auto 10px auto;
	border-radius: 3px;
	overflow: hidden;
}

#form-progress {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #d4af37, #f7df8f); /* Gold gradient */
	transition: width 0.4s ease;
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Form Validation Errors */
.input-error {
	border: 2px solid #e74c3c; /* Red border */
	background-color: #fff0f0;
	animation: shake 0.4s ease-in-out;
}

.error-message {
	color: #e74c3c;
	font-size: 0.85rem;
	margin-top: 5px;
	display: block;
	font-weight: 500;
}

@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-5px);
	}
	75% {
		transform: translateX(5px);
	}
}

/* --- Cookie Banner --- */
.cookie-banner {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	max-width: 500px;
	background: rgba(20, 20, 20, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 20px;
	z-index: var(--z-toast);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	animation: slideUp 0.5s ease;
}

.cookie-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.cookie-content p {
	margin: 0;
	color: #eee;
	font-size: 0.9rem;
	line-height: 1.5;
}

.cookie-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.cookie-buttons button {
	min-width: 130px; /* Ensure 1:1 size for typical text lengths */
	text-align: center;
	box-sizing: border-box; /* Include border/padding in width */
	margin: 0; /* Clear margins to rely on gap */
	display: flex;
	justify-content: center;
	align-items: center;
}

.cta-secondary {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
	transition: all 0.3s ease;
	border-radius: 50px;
}

.cta-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

.small-btn {
	padding: 8px 20px;
	font-size: 0.9rem;
}

@keyframes slideUp {
	from {
		transform: translateY(100px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* --- Toast Notifications (replaces alert()) --- */
.toast-notification {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	max-width: 500px;
	width: calc(100% - 40px);
	background: rgba(20, 20, 20, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 20px 24px;
	z-index: 10000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: flex-start;
	gap: 14px;
	opacity: 0;
	animation: toastIn 0.5s ease forwards;
}

.toast-notification.toast-out {
	animation: toastOut 0.4s ease forwards;
}

.toast-notification.toast-success {
	border-left: 4px solid var(--color-accent);
}

.toast-notification.toast-error {
	border-left: 4px solid #e74c3c;
}

.toast-icon {
	font-size: 1.6rem;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 2px;
}

.toast-body {
	flex: 1;
}

.toast-title {
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 4px;
}

.toast-message {
	color: #ccc;
	font-size: 0.9rem;
	line-height: 1.5;
}

.toast-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.5);
	font-size: 1.2rem;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color 0.3s;
	flex-shrink: 0;
}

.toast-close:hover {
	color: #fff;
}

@keyframes toastIn {
	from {
		transform: translateX(-50%) translateY(100px);
		opacity: 0;
	}
	to {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
	}
}

@keyframes toastOut {
	from {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
	}
	to {
		transform: translateX(-50%) translateY(100px);
		opacity: 0;
	}
}

/* --- RESPONSIVE / MOBILE OPTIMIZATION (Consolidated) --- */
/* Targeting tablets (landscape) and mobile devices */
@media (max-width: 1024px) {
	/* 1. Global & Typography */
	:root {
		--spacing-section: 4rem; /* Reduce spacing on smaller screens */
		--radius-ui: 12px;
	}

	body {
		overflow-x: hidden; /* Prevent horizontal scroll */
		width: 100%;
	}

	.section h2 {
		font-size: 2rem;
		padding: 0 1rem;
	}

	/* Prevent CLS from captions */
	video::cue {
		background: rgba(0, 0, 0, 0.6);
		color: white;
		font-size: 1rem;
	}

	/* Ensure video container is stable */
	.video-background video {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.availability-notice {
		display: flex;
		width: 100%;
		box-sizing: border-box;
	}

	.section-headline-white,
	.parallax-card h3,
	.offer-content h3 {
		text-align: center;
	}

	.section p {
		text-align: left;
	}

	/* 2. Navigation & Header */
	.brand-container {
		width: 100%;
		text-align: center;
		pointer-events: none; /* Let clicks pass through container */
	}

	.brand-logo,
	.new-brand {
		pointer-events: auto; /* Re-enable clicks on content */
	}

	.brand-logo {
		width: 250px;
		max-width: 80%;
	}

	.brand-container.moving .brand-logo {
		width: 80px;
	}

	.new-brand {
		width: 90%;
		line-height: 1.3;
	}

	#hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 35px;
		height: 24px;
		position: fixed;
		top: 25px;
		right: 25px;
		z-index: 22000; /* Higher than modal */
		background: transparent;
		border: none;
		padding: 0;
		margin: 0;
		opacity: 1;
		pointer-events: auto;
	}

	#hamburger span {
		display: block;
		width: 100%;
		height: 3px;
		background-color: #ffffff;
		border-radius: 4px;
		position: relative;
		z-index: var(--z-critical);
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	}

	/* --- Status Notice (Contact Form) --- */
	.availability-notice {
		background-color: #f0f7ef; /* Light green gentle background */
		border-left: 4px solid var(--color-accent);
		color: var(--color-text-dark);
		padding: 1rem;
		margin-bottom: 1.5rem;
		border-radius: 8px;
		font-size: 0.95rem;
		display: flex;
		align-items: center;
		gap: 0.8rem;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
		animation: fadeIn 0.5s ease;
	}

	#nav {
		flex-direction: column;
		justify-content: flex-start;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(61, 74, 58, 0.95);
		backdrop-filter: blur(20px);
		transform: translateY(-100%);
		transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
		padding-top: 8rem;
		margin: 0;
		max-width: none;
		gap: 2rem;
		opacity: 1;
		pointer-events: all;
	}

	#nav.visible {
		transform: translateY(-100%);
		pointer-events: none;
	}

	#nav.mobile-active,
	#nav.visible.mobile-active {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}

	.nav-side {
		flex: 0;
		flex-direction: column;
		gap: 2rem;
		width: 100%;
		justify-content: center;
		align-items: center;
	}

	.nav-left,
	.nav-right {
		position: static;
		margin: 0;
	}

	.logo-spacer {
		display: none;
	}

	body.nav-open .hero-logo {
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}

	.nav-side li {
		opacity: 0;
		transform: translateY(20px);
		transition: all 0.4s ease;
	}

	#nav.mobile-active li {
		opacity: 1;
		transform: translateY(0);
		transition-delay: 0.2s;
	}

	.nav-side a {
		font-size: 1.5rem;
		color: #fff;
	}

	/* Language Switcher Mobile */
	.lang-switch {
		position: static;
		transform: none;
		margin-left: 0;
		justify-content: center;
		margin-top: 1rem;
		gap: 20px;
		width: auto;
	}
	.lang-btn {
		font-size: 1.2rem;
		padding: 0.5rem;
		width: auto;
	}

	/* 3. Offer Sections (Layout Reset) */
	.offer-image-text-fullwidth {
		grid-template-columns: 1fr;
		height: auto;
		min-height: auto;
		padding: 0;
	}

	.offer-text-container-full,
	#onas .offer-text-container-full,
	#oferta .offer-image-text-fullwidth .offer-text-container-full {
		width: auto;
		margin: -3rem 1.5rem 2rem 1.5rem;
		padding: 2rem;
		order: 2;
		border: none;
		border-top: 5px solid var(--color-accent);
		text-align: left;
	}

	.offer-image-container-full,
	#onas .offer-image-container-full,
	#oferta .offer-image-text-fullwidth .offer-image-container-full {
		order: 1;
		padding: 0;
		height: 50vh;
		min-height: 400px;
	}

	.offer-image-container-full img {
		border-radius: 0;
		box-shadow: none;
	}

	/* 4. UNIFIED GRID & CARD SYSTEM (The Fix) */
	.offer-grid,
	.gallery-grid,
	.parallax-content {
		grid-template-columns: 1fr;
		width: auto;
		max-width: none;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		padding: 0;
		gap: 2rem;
		box-sizing: border-box;
	}

	.contact-form,
	.faq-item {
		width: auto;
		max-width: none;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		padding: 1.5rem;
		box-sizing: border-box;
	}

	/* 5. Parallax (Why Us) */
	.parallax-why,
	#realizacje-parallax {
		background-attachment: fixed;
	}

	.parallax-why {
		padding: 4rem 0;
	}

	.parallax-card {
		transform: none;
		opacity: 1;
		will-change: auto;
		margin: 0; /* Fix width inconsistency */
		padding: 1.5rem; /* Ensure consistent internal padding */
	}

	/* 6. Gallery */
	.gallery-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}

	.gallery-column {
		display: contents; /* Ensure columns flatten into grid */
	}

	.gallery-item {
		width: 100%;
		margin-bottom: 0;
	}

	/* Hide Nav Buttons on Mobile */
	.gallery-nav {
		display: none;
	}

	/* Mobile Immersive Modal */
	.gallery-modal {
		padding: 1rem; /* Minimal padding */
		align-items: center;
		justify-content: center;
		backdrop-filter: blur(15px); /* Stronger blur for immersion */
	}

	#galleryModalImg {
		width: 100%;
		height: auto;
		max-height: 85vh; /* Allow more height */
		object-fit: cover; /* Fill the space nicer, might crop slightly but looks premium */
		border-radius: 24px; /* Requested rounded corners */
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); /* Deep shadow */
	}

	/* 7. Modals */
	.modal-content {
		width: 95%;
		margin: 1rem;
		max-height: 85vh;
	}

	#modalImg {
		max-height: 40vh;
	}
	.modal-description {
		padding: 1.5rem;
	}

	/* 8. Unified Section Padding (Override IDs) */
	#faq,
	#kontakt,
	#realizacje-parallax {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	#dlaczego {
		padding: 4rem 0; /* Full width background, keep vertical padding */
	}

	.section {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	/* Form Progress / Helpers */
	.contact-form {
		width: auto;
	}

	.form-group.full-width {
		grid-column: span 1;
	}

	.checkbox-group {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	/* Tweak for small screens */
	.gallery-grid {
		gap: 4px;
		/* Consistent 0.5rem */
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}

	.section h2 {
		font-size: 1.8rem;
	}

	/* Brand Logo Tweak */
	.brand-container.moving .brand-logo {
		height: 50px;
		max-width: 150px;
	}

	/* Safe Areas */
	.nav-links,
	.hamburger {
		padding-top: max(2rem, env(safe-area-inset-top));
		padding-right: max(2rem, env(safe-area-inset-right));
	}
	.brand-container.moving {
		top: max(40px, env(safe-area-inset-top) + 10px);
	}

	/* Smoother Animation on Mobile */
	.gallery-item {
		transform: translateY(20px);
	}
}

/* Helper for nav toggle - Hides colliding elements */
.nav-open .brand-container,
.nav-open .brand-text,
.nav-open #brandText1,
.nav-open #brandText2,
.nav-open .scroll-arrow {
	opacity: 0;
	display: none; /* Force removal from layout/paint */
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* --- Raricart Stats (Boutique) --- */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	margin-top: 1rem;
	padding-top: 1rem;
}

.stat-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.stat-number {
	font-family: var(--font-secondary);
	font-size: 3.5rem;
	color: var(--color-accent);
	line-height: 1;
	font-weight: 700;
}

.stat-desc {
	font-size: 0.95rem;
	color: var(--color-text-dark);
	line-height: 1.6;
}

/* Mobile Tweak for Stats */
@media (max-width: 600px) {
	.stats-grid {
		grid-template-columns: 1fr; /* Stack vertically on small screens */
		gap: 2rem;
	}

	.stat-number {
		font-size: 2.8rem;
	}
}

/* --- Footer Enhanced --- */

.footer-socials.vertical {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.footer-socials.vertical a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.8rem;
	font-size: 1rem;
	text-decoration: none;
	color: var(--color-text);
	transition:
		transform 0.3s ease,
		color 0.3s ease; /* Unified transition */
}

.footer-socials.vertical a:hover {
	color: var(--color-accent);
	transform: translateX(5px); /* Standard shift */
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
	color: var(--color-text);
	transition: transform 0.3s ease; /* Animate whole group */
	cursor: pointer; /* Show it's interactive */
}

.contact-item:hover {
	transform: translateX(5px); /* Move icon and text together */
}

.contact-item a {
	margin-bottom: 0;
	text-decoration: none;
	color: inherit;
	display: inline-block;
	transition: color 0.3s ease;
}

.contact-item:hover a {
	color: var(--color-accent);
}

.contact-item a:hover {
	color: var(--color-accent);
	/* TRANSFORM REMOVED to avoid double movement or desync */
}

.contact-icon {
	flex-shrink: 0;
	stroke: var(--color-accent);
	display: block;
	transition: stroke 0.3s ease;
}

.footer-links {
	display: flex; /* Flexbox validation */
	flex-direction: column;
	gap: 0.5rem;
}

.footer-links a {
	position: relative;
	padding-left: 1rem;
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-text);
	transition:
		transform 0.3s ease,
		color 0.3s ease; /* Unified transition */
}

.footer-links a::before {
	content: '›';
	position: absolute;
	left: 0;
	color: var(--color-accent);
	font-size: 1.2rem;
	line-height: 1;
	transition: transform 0.3s ease;
}

.footer-links a:hover {
	color: var(--color-accent);
	transform: translateX(5px); /* Move text AND arrow together */
}

/* --- Status Notice (Contact Form) --- */
/* --- Status Notice (Contact Form) --- */
.availability-notice {
	background-color: rgba(163, 181, 154, 0.15); /* Soft accent */
	border: 1px solid var(--color-accent);
	/* border-left: 4px solid var(--color-accent); */
	color: var(--color-text-dark);
	padding: 1rem 1.2rem;
	margin-bottom: 2rem;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.notice-icon {
	flex-shrink: 0;
	color: var(--color-accent);
	width: 24px;
	height: 24px;
}
.availability-notice span {
	line-height: 1.4;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
}

/* --- Premium About Section --- */
.section-premium {
	background-color: #fafafa;
	padding: 8rem 2rem;
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03);

	/* Reveal Animation */
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 1s ease-out,
		transform 1s ease-out;
	will-change: opacity, transform;
}

.section-premium.visible {
	opacity: 1;
	transform: translateY(0);
}

.premium-container {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center; /* Vertical Center */
	gap: 4rem; /* Adjusted spacing for larger image */
}

/* Columns */
/* Columns */
.premium-col-image {
	flex: 0 0 60%; /* Increased from 55% */
	position: relative;
}

.premium-col-text {
	flex: 1;
	padding-right: 1rem;
}

/* Image */
.premium-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 16px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06); /* Very subtle, high-end shadow */
	transition:
		transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
		opacity 0.8s ease;
	/* Initial state for animation handled by JS/Observer ideally, or just static for now if no JS changes */
	/* Assuming existing scroll logic might need update, or I can add a simple animation class */
	max-height: 700px;
	object-fit: cover;
}

/* Typography */
.premium-title {
	font-family: var(--font-secondary);
	font-size: 3rem;
	line-height: 1.15;
	color: #1a1a1a;
	margin-bottom: 2.5rem;
	font-weight: 500;
	text-align: left;
	letter-spacing: -0.02em;
}

.premium-text {
	font-family: var(--font-primary);
	font-size: 1.1rem;
	line-height: 1.75;
	color: #4a4a4a; /* Off-black for softness */
	margin-bottom: 2rem;
	font-weight: 300;
}

.premium-text .highlight {
	font-weight: 500;
	color: var(--color-accent);
}

/* Premium Footer / Accent */
.premium-footer {
	margin-top: 3.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	opacity: 0.8;
}

.premium-line {
	height: 3px;
	width: 60px;
	background-color: var(--color-accent);
}

.premium-label {
	font-family: var(--font-secondary);
	font-size: 0.85rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 2px;
	transform: translateY(1px); /* Optical alignment */
}

/* Responsive */
@media (max-width: 1024px) {
	.premium-container {
		flex-direction: column;
		gap: 3rem;
		max-width: 600px; /* Readability on tablet/mobile */
	}

	.section-premium {
		padding: 5rem 1.5rem;
	}

	.premium-title {
		font-size: 2.4rem;
		margin-bottom: 1.5rem;
		text-align: left;
	}

	.premium-col-image {
		order: 1; /* Image Top */
		width: 100%;
	}

	.premium-col-text {
		order: 2; /* Text Bottom */
		padding: 0;
	}
}

/* --- Logo Pulse Animation (Heartbeat) --- */
@keyframes logoPulse {
	0% {
		transform: scale(1);
	}
	14% {
		transform: scale(1.1);
	}
	28% {
		transform: scale(1);
	}
	42% {
		transform: scale(1.1);
	}
	70% {
		transform: scale(1);
	}
}

.logo-pulse {
	display: inline-block;
	animation: logoPulse 3s ease-in-out infinite;
	font-weight: 600;
	color: var(--color-accent);
	text-shadow: 0 0 20px rgba(163, 181, 154, 0.4);
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.logo-pulse,
	.floating-cta.visible,
	.scroll-arrow {
		animation: none !important;
	}
}

@media (max-width: 1024px) {
	/* Mobile Nav Background handled by #nav directly */
	.nav-side {
		background-color: transparent;
		backdrop-filter: none;
	}
}

/* --- Floating CTA Button --- */
.floating-cta {
	position: fixed;
	bottom: 30px;
	right: 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--color-text-dark), var(--color-accent-dark));
	color: var(--color-white);
	padding: 16px 28px;
	border-radius: 50px;
	text-decoration: none;
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 1px;
	z-index: 9999;
	box-shadow: 0 8px 30px rgba(61, 74, 58, 0.35);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

	/* Hidden by default */
	visibility: hidden;
	opacity: 0;
	transform: translateY(80px) scale(0.8);
	pointer-events: none;
}

.floating-cta.visible {
	visibility: visible;
	opacity: 1 !important;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.floating-cta:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 15px 40px rgba(163, 181, 154, 0.5);
	background: linear-gradient(135deg, var(--color-accent-dark), var(--color-text-dark));
}

.floating-cta-icon {
	font-size: 1.3rem;
	line-height: 1;
}

/* New responsive text classes */
.cta-text-desktop {
	display: inline;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.cta-text-mobile {
	display: none;
}

/* Subtle pulse to grab attention */
.floating-cta.visible {
	animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
	0%,
	100% {
		box-shadow: 0 8px 30px rgba(61, 74, 58, 0.35);
	}
	50% {
		box-shadow: 0 8px 30px rgba(163, 181, 154, 0.6);
	}
}

.floating-cta:hover {
	animation: none; /* Stop pulse on hover */
}

@media (max-width: 480px) {
	.floating-cta {
		padding: 12px 20px;
		bottom: 20px;
		right: 20px;
		/* Pill shape maintained by border-radius: 50px inherited */
	}

	.cta-text-desktop {
		display: none;
	}

	.cta-text-mobile {
		display: inline;
		text-transform: uppercase;
		font-weight: 700;
		font-size: 0.8rem;
		letter-spacing: 1px;
	}

	.floating-cta-icon {
		font-size: 1.1rem;
	}
}
