/* ===============================================
   UNIFIED STYLESHEET - BHP SZCZECIN
   Połączone i zoptymalizowane style
   =============================================== */

/* ===== CZCIONKI ===== */
@font-face {
	font-family: 'Source Sans 3 VF';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src:
		url('/files/fonts/SourceSans3VF-Upright.otf.woff2') format('woff2'),
		url('/files/fonts/SourceSans3VF-Upright.otf.woff') format('woff');
}

@font-face {
	font-family: 'Source Sans 3 VF';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src:
		url('/files/fonts/SourceSans3VF-Italic.otf.woff2') format('woff2'),
		url('/files/fonts/SourceSans3VF-Italic.otf.woff') format('woff');
}

@font-face {
	font-family: 'Source Serif 4 VF';
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src:
		url('/files/fonts/SourceSerif4Variable-Roman.otf.woff2') format('woff2'),
		url('/files/fonts/SourceSerif4Variable-Roman.otf.woff') format('woff');
}

@font-face {
	font-family: 'Source Serif 4 VF';
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src:
		url('/files/fonts/SourceSerif4Variable-Italic.otf.woff2') format('woff2'),
		url('/files/fonts/SourceSerif4Variable-Italic.otf.woff') format('woff');
}

@font-face {
	font-family: 'Anta Regular';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		url('/files/fonts/Anta-Regular.woff2') format('woff2'),
		url('/files/fonts/Anta-Regular.otf') format('otf');
}

/* ===== ZMIENNE CSS ===== */
:root {
	--primary-color: rgb(80 99 81);
	--secondary-color: rgb(163, 184, 164);
	--background-color: #f8f9fa;
	--text-color: #212529;
	--link-color: rgb(163, 184, 164);
	--link-hover-color: #0056b3;
	--font-family: 'Source Sans 3 VF', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-serif: 'Source Serif 4 VF', 'Georgia', 'Times New Roman', serif;
	--nav-bg: white;
	--footer-bg: rgb(45 50 44);
	--dropdown-bg: #fff;
	--dropdown-border: #eee;
}

[data-theme='dark'] {
	--primary-color: rgb(120, 150, 120);
	--secondary-color: rgb(80, 100, 80);
	--background-color: #1a1a1a;
	--text-color: #e9ecef;
	--nav-bg: #2d2d2d;
	--footer-bg: #1a1a1a;
	--dropdown-bg: #2d2d2d;
	--dropdown-border: #444;
}

/* ===== RESET I BAZOWE STYLE ===== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	font-size: 1.6rem;
	line-height: 1.6;
	background-color: var(--background-color);
	color: var(--text-color);
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

a.classic {
	display: inline;
}

a:hover span {
	text-decoration: wavy underline;
	text-decoration-color: var(--secondary-color);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ===== UTILITY CLASSES ===== */
.reset-margin {
	margin: 0;
}

.serif {
	font-family: var(--font-serif);
}

.anta {
	font-family: 'Anta Regular', sans-serif;
}

/* ===== LAYOUT ===== */
#wrapper {
	max-width: 120rem;
	min-height: 100vh;
	margin: 0 auto;
	padding: 0 2rem;
	animation: slideUpFade 400ms ease-out 200ms both;
}

#wrapper-contact {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	max-width: 120rem;
	margin-top: 3rem;
	margin-inline: auto;
	padding: 0 2rem;
	animation: slideUpFade 400ms ease-out 200ms both;
}

#main-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5vw;
	flex-grow: 1;
	padding: 2rem 0;
}

/* ===== PASEK INFORMACYJNY ===== */
#info-bar {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0.8rem;
	background-color: rgb(80 99 81);
	color: whitesmoke;
	font-weight: 500;
}

[data-theme='dark'] #info-bar {
	background-color: #2d5a3d;
}

.info-bar-container {
	flex: 0 1 auto;
	text-align: center;
	font-size: 1.15rem;
}

.info-bar-container:first-child {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.info-bar-container:last-child {
	display: flex;
	gap: 1rem;
}

#info-bar a {
	color: inherit;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.4rem 0.8rem;
	border-radius: 0.4rem;
	transition: all 0.3s ease;
	background-color: rgba(255, 255, 255, 0.1);
}

#info-bar a:hover {
	background-color: color-mix(in srgb, rgb(80 99 81) 70%, whitesmoke 30%);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] #info-bar a:hover {
	background-color: color-mix(in srgb, #2d5a3d 70%, #e6f0e8 30%);
}

/* ===== NAWIGACJA ===== */
#nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 0.5rem;
	background-color: var(--nav-bg);
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 120rem;
	margin: 0 auto;
	padding: 1rem 2rem;
	gap: 2rem;
}

.nav-logo img {
	height: 6vh;
	width: auto;
	object-fit: contain;
	transition: transform 0.2s ease;
}

.nav-logo:hover img {
	transform: scale(1.05);
}

.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
	flex: 1;
	justify-content: flex-end;
}

.nav-links li a {
	color: var(--text-color);
	padding: 1rem 1.5rem;
	border-radius: 0.4rem;
	position: relative;
	transition: color 0.3s ease;
}

[data-theme='dark'] .nav-links li a {
	color: #e6f0e8;
}

.nav-links li a:hover {
	color: var(--primary-color);
	background-color: var(--background-color);
}

[data-theme='dark'] .nav-links li a:hover {
	background-color: #2d332e;
}

.nav-links li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 0.2rem;
	background: var(--primary-color);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-links li a:hover::after {
	width: 70%;
}

.nav-links li#active {
	background-color: var(--primary-color);
	border-radius: 0.4rem;
}

[data-theme='dark'] .nav-links li#active {
	background-color: #3d8b58;
}

.nav-links li#active a {
	color: whitesmoke;
}

.nav-links li#active a:hover {
	color: var(--primary-color);
}

/* ===== DROPDOWN - DESKTOP ===== */
@media (min-width: 768px) {
	.nav-links .dropdown {
		position: relative;
	}

	.dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
		min-width: 25rem;
		background-color: var(--dropdown-bg);
		border: 0.1rem solid var(--dropdown-border);
		border-radius: 0.4rem;
		box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
		list-style: none;
		padding: 1rem 0;
		z-index: 1000;
	}

	[data-theme='dark'] .dropdown-menu {
		border: 1px solid #3a413c;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	}

	.dropdown-menu li a {
		padding: 1rem 2rem;
		font-size: 1.4rem;
		color: var(--text-color);
		white-space: nowrap;
		transition: all 0.2s ease;
	}

	[data-theme='dark'] .dropdown-menu li a {
		color: #e6f0e8;
	}

	.dropdown-menu li a:hover {
		background-color: #f8f9fa;
		color: var(--primary-color);
	}

	[data-theme='dark'] .dropdown-menu li a:hover {
		background-color: #353c36;
		color: #54ac71;
	}

	.nav-links .dropdown:hover .dropdown-menu {
		display: block;
	}
}

/* ===== KONTROLE NAWIGACJI ===== */
.nav-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 0 0 auto;
}

/* ===== PRZYCISK MOTYWU ===== */
.theme-toggle {
	position: relative;
	width: 5rem;
	height: 2.5rem;
	border: none;
	border-radius: 2.5rem;
	background: none;
	cursor: pointer;
	padding: 0;
	overflow: hidden;
}

.theme-toggle-track {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--secondary-color);
	border-radius: 2.5rem;
	transition: background-color 0.3s ease;
}

[data-theme='dark'] .theme-toggle-track {
	background-color: #3d8b58;
}

.theme-toggle i {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	transition: all 0.3s ease;
	color: white;
	z-index: 2;
}

.theme-toggle .bx-sun {
	left: 0.6rem;
	opacity: 1;
}

.theme-toggle .bx-moon {
	right: 0.6rem;
	opacity: 0;
}

[data-theme='dark'] .theme-toggle .bx-sun {
	opacity: 0;
}

[data-theme='dark'] .theme-toggle .bx-moon {
	opacity: 1;
}

.theme-toggle:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* ===== HAMBURGER ===== */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 3rem;
	height: 2rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
	z-index: 1001;
}

.hamburger .bar {
	width: 100%;
	height: 0.3rem;
	background-color: var(--text-color);
	border-radius: 0.3rem;
	transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
	transform: rotate(45deg) translate(0.6rem, 0.6rem);
}

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

.hamburger.active .bar:nth-child(3) {
	transform: rotate(-45deg) translate(0.6rem, -0.6rem);
}

/* ===== HEADER ===== */
.header,
header {
	height: 50vh;
	width: calc(100% - 2rem);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 2rem 1rem;
	overflow: hidden;
	border-radius: 2rem;
}

header {
	height: 25vh;
}

.background-color {
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	opacity: 0.85;
	z-index: 1;
}

.background {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.background.landing {
	background-image: url('/files/img/bg1.jpg');
}

.background.landing.o-mnie {
	background-image: url('/files/img/LW1.jpg');
}

.background.landing.cennik {
	background-image: url('/files/img/hajs-min.webp');
}

#header-wrapper {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header-container {
	width: 80%;
	max-width: 90rem;
	color: white;
	text-align: center;
	padding: 0 2rem;
}

.header-container h1 {
	font-size: clamp(2.4rem, 5vw + 1rem, 4rem);
	font-weight: 700;
	margin-bottom: 2rem;
	text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

.header-container p {
	font-size: clamp(1.4rem, 2.5vw + 0.8rem, 1.8rem);
	line-height: 1.8;
	text-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
}

.header-container h1,
header .header-container h1 {
	font-family: 'Anta Regular', sans-serif;
	font-size: clamp(2.4rem, 5vw + 1rem, 4rem);
	font-weight: 700;
	margin-bottom: 2rem;
	text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

/* ===== STRONA GŁÓWNA - KAFELKI ===== */
.home-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
	gap: 3rem;
	width: 100%;
}

.big-card {
	background-color: var(--nav-bg);
	border: 1px solid var(--dropdown-border);
	border-radius: 1.2rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.big-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	border-color: var(--secondary-color);
}

[data-theme='dark'] .big-card {
	background-color: #242a25;
}

.card-img {
	height: 20rem;
	width: 100%;
	background-color: var(--secondary-color);
	background-size: cover;
	background-position: center;
	position: relative;
}

.service-img {
	background-image: url('/files/img/bg1.jpg');
}

.training-img {
	background-image: url('/files/img/LW3.jpg');
}

.pricing-img {
	background-color: var(--primary-color);
	opacity: 0.8;
}

.card-body {
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card-body h3 {
	font-family: 'Anta Regular', sans-serif;
	font-size: 2.4rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.card-intro {
	font-weight: 600;
	margin-bottom: 1.5rem;
	font-size: 1.7rem;
}

.card-list {
	list-style: none;
	margin-bottom: 2.5rem;
	padding-left: 0.5rem;
	flex-grow: 1;
}

.card-list li {
	margin-bottom: 0.8rem;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	opacity: 0.9;
}

.card-list li::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background-color: var(--primary-color);
	border-radius: 50%;
}

.btn-card {
	align-self: flex-start;
	padding: 1rem 2rem;
	border: 2px solid var(--primary-color);
	border-radius: 3rem;
	font-weight: 600;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	width: 100%;
	justify-content: center;
}

.btn-card:hover {
	background-color: var(--primary-color);
	color: white !important;
	text-decoration: none;
}

/* ===== PASEK KONTAKTOWY ===== */
.contact-strip {
	background-color: var(--primary-color);
	color: white;
	padding: 4rem 3rem;
	border-radius: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	margin-bottom: 2rem;
}

.contact-content h3 {
	font-family: 'Anta Regular', sans-serif;
	font-size: 2.6rem;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.contact-content p {
	font-size: 1.7rem;
	opacity: 0.9;
	margin: 0;
}

.btn-cta {
	background-color: white;
	color: var(--primary-color) !important;
	padding: 1.2rem 3.5rem;
	border-radius: 3rem;
	font-weight: bold;
	font-size: 1.6rem;
	white-space: nowrap;
	transition: transform 0.2s;
}

.btn-cta:hover {
	transform: scale(1.05);
	background-color: #f0f0f0;
	text-decoration: none;
}

.contact-cta-container {
	display: flex;
	justify-content: center;
	padding: 2rem;
	background-color: var(--background-color);
}

.contact-cta {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 4rem;
	border-radius: 1.5rem;
	text-align: center;
	max-width: 80rem;
	width: 100%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-cta h3 {
	font-size: 2.8rem;
	margin-bottom: 1rem;
}

.contact-cta p {
	font-size: 1.8rem;
	margin-bottom: 2.5rem;
	opacity: 0.95;
}

.btn-primary {
	background-color: white;
	color: var(--primary-color) !important;
	padding: 1.4rem 4rem;
	border-radius: 3rem;
	font-weight: bold;
	font-size: 1.7rem;
	transition: all 0.3s;
	display: inline-flex;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== STOPKA ===== */
.footer-contact,
footer {
	background-color: var(--footer-bg);
	color: #e6f0e8;
	padding: 5rem 0 3rem;
}

.footer-container {
	max-width: 120rem;
	margin: 0 auto;
	padding: 0 2rem;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 4rem 3rem;
	place-items: center;
}

.footer-col h4 {
	color: #ffffff;
	font-size: 1.8rem;
	margin-bottom: 1.8rem;
	font-weight: 600;
}

.footer-col ul {
	list-style: none;
	padding: 0;
}

.footer-col ul li {
	margin-bottom: 1.2rem;
	font-size: 1.5rem;
}

.footer-col a {
	color: #c3d8c8;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: #ffffff;
}

.footer-contact-list i,
.footer-brand i {
	color: var(--primary-color);
	font-size: 2rem;
	margin-right: 1rem;
	vertical-align: middle;
}

.footer-logo-img {
	height: 7rem;
	margin-bottom: 2rem;
	display: block;
}

.white-logo {
	filter: brightness(0) invert(1);
}

.footer-certificates,
.footer-nip-regon {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.footer-certificates span {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-size: 1.4rem;
	border: 1px solid rgba(84, 172, 113, 0.3);
}

.footer-nip-regon .footer-nip-regon-span {
	background: rgba(146, 120, 96, 0.301);
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-size: 1.4rem;
	border: 1px solid rgba(172, 141, 84, 0.3);
}

.footer-nip-regon-span .serif {
	color: rgba(207, 188, 175, 0.822);
}

.footer-bottom {
	text-align: center;
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 1.45rem;
}

.footer-note {
	opacity: 0.8;
	font-size: 1.4rem;
}

.footer-box {
	text-align: center;
	padding: 2rem 0;
}

.footer-box p {
	margin: 0.5rem 0;
}

/* ===== STRONA O MNIE ===== */
.about-me {
	width: min(90%, 120rem);
	margin: 0 auto;
	padding: 1rem;
	color: var(--text-color);
	font-family: var(--font-family);
	line-height: 1.7;
	animation: slideUpFade 0.8s ease-out 0.3s both;
}

.about-me__header {
	text-align: center;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.about-me__title {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
	line-height: 1.2;
}

.name--highlight {
	color: var(--primary-color);
}

.about-me__intro {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	font-style: italic;
	color: var(--text-color);
	margin: 0;
}

.about-me__content {
	margin-bottom: 2rem;
}

.about-me__paragraph {
	margin-bottom: 1.5rem;
	text-align: justify;
	font-size: clamp(1.4rem, 1.5vw, 1.6rem);
}

.about-me__paragraph strong {
	color: var(--primary-color);
	font-weight: 600;
}

.about-me__summary {
	border-left: 0.5rem solid var(--primary-color);
	padding: 1.5rem 2rem;
	border-radius: 0 0.8rem 0.8rem 0;
	font-family: var(--font-serif);
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	margin: 2rem 0;
	background-color: color-mix(in srgb, var(--background-color) 90%, var(--primary-color) 10%);
}

[data-theme='dark'] .about-me__summary {
	background-color: color-mix(in srgb, var(--background-color) 95%, var(--primary-color) 5%);
}

.summary__name {
	font-size: clamp(1.6rem, 2vw, 2rem);
	font-weight: 700;
	color: var(--primary-color);
	margin: 0 0 0.5rem 0;
}

.summary__title {
	font-size: clamp(1.3rem, 1.5vw, 1.6rem);
	color: var(--secondary-color);
	font-weight: 600;
	margin: 0 0 1rem 0;
	font-style: italic;
}

.summary__qualifications {
	list-style: none;
	padding: 0;
	margin: 0;
}

.summary__qualifications li {
	padding: 0.3rem 0;
	position: relative;
	padding-left: 1.2rem;
	font-size: clamp(1.2rem, 1.3vw, 1.4rem);
}

.summary__qualifications li::before {
	content: '•';
	color: var(--primary-color);
	font-weight: bold;
	position: absolute;
	left: 0;
}

.about-me__image {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	padding-block: 2rem;
}

.about-me__image img {
	width: 30vw;
	height: auto;
	border-radius: 1rem;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	object-fit: cover;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.about-me__image img:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ===== STRONA BHPIOS ===== */
.main-container {
	max-width: 120rem;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section-title {
	font-family: var(--font-serif);
	font-size: 3.2rem;
	font-weight: 600;
	font-variation-settings: 'wght' 600;
	color: var(--primary-color);
	text-align: left;
	margin-bottom: 3rem;
	line-height: 1.2;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 0;
	width: 8rem;
	height: 0.4rem;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 0.2rem;
}

.text-content {
	font-size: 1.8rem;
	line-height: 1.7;
	color: var(--text-color);
}

.text-content p {
	margin-bottom: 2.5rem;
	text-align: justify;
	position: relative;
	padding-left: 2rem;
}

.text-content p::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--secondary-color);
	font-weight: bold;
}

.content-with-images {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 6rem;
	align-items: start;
	margin-bottom: 8rem;
	position: relative;
}

.text-section {
	padding-right: 2rem;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 2rem;
}

[data-theme='dark'] .text-section {
	background-color: color-mix(in srgb, var(--background-color) 98%, transparent 2%);
}

.images-section {
	position: relative;
	height: 75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.photo-collage {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 40rem;
}

.photo-frame {
	position: absolute;
	border-radius: 1.5rem;
	overflow: hidden;
	box-shadow:
		0 2rem 4rem rgba(0, 0, 0, 0.15),
		0 1rem 2rem rgba(0, 0, 0, 0.1);
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: 1rem solid white;
}

[data-theme='dark'] .photo-frame {
	border: 1rem solid color-mix(in srgb, transparent 80%, black 20%);
}

.photo-frame:hover {
	box-shadow:
		0 3rem 6rem rgba(0, 0, 0, 0.2),
		0 2rem 4rem rgba(0, 0, 0, 0.15);
}

.photo-1 {
	width: 175%;
	height: 65%;
	top: 5%;
	right: 0;
	transform: rotate(-5deg);
	z-index: -2;
}

.photo-2 {
	width: 70%;
	height: 60%;
	bottom: 5%;
	right: 0;
	transform: rotate(8deg);
	z-index: 1;
}

.photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.photo-frame:hover img {
	transform: scale(1.1);
}

.photo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(80, 99, 81, 0.1) 0%, rgba(163, 184, 164, 0.2) 50%, transparent 100%);
	mix-blend-mode: soft-light;
	transition: all 0.5s ease;
}

.photo-frame:hover .photo-overlay {
	background: linear-gradient(135deg, rgba(80, 99, 81, 0.2) 0%, rgba(163, 184, 164, 0.3) 50%, transparent 100%);
}

.floating-element {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	opacity: 0.1;
	animation: float 6s ease-in-out infinite;
}

.element-1 {
	width: 8rem;
	height: 8rem;
	top: -2rem;
	right: -1rem;
	animation-delay: 0s;
}

.element-2 {
	width: 5rem;
	height: 5rem;
	bottom: -1rem;
	left: -2rem;
	animation-delay: 3s;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-2rem) rotate(180deg);
	}
}

.services-section {
	margin-top: 6rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	margin-top: 4rem;
}

.service-card {
	background: white;
	padding: 3rem 2.5rem;
	border-radius: 1rem;
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-left: 0.4rem solid var(--primary-color);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 20rem;
	width: 100%;
}

[data-theme='dark'] .service-card {
	background: color-mix(in srgb, var(--background-color) 95%, white 5%);
	box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
	border-left: 0.4rem solid var(--secondary-color);
}

.service-card:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.service-card h3 {
	font-family: var(--font-serif);
	font-size: 2.2rem;
	font-weight: 600;
	font-variation-settings: 'wght' 600;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.service-card p {
	font-size: 1.6rem;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0;
}

/* ===== STRONA CENNIK ===== */
.cennik-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 3rem;
	justify-content: center;
}

.przycisk {
	padding: 1rem 2rem;
	background-color: var(--secondary-color);
	color: white;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	font-size: 1.4rem;
	font-weight: 600;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
}

.przycisk:hover {
	background-color: var(--primary-color);
	transform: translateY(-0.2rem);
	box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}

.przycisk.aktywny {
	background-color: var(--primary-color);
	box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.2);
}

.tabela {
	display: none;
	margin-bottom: 4rem;
	animation: fadeIn 0.5s ease;
}

.tabela.aktywna {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tabela h2 {
	color: var(--primary-color);
	margin-bottom: 2rem;
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
}

.tabela-container {
	width: 100%;
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
	border-radius: 1rem;
	overflow: hidden;
}

[data-theme='dark'] table {
	border: 1px solid var(--primary-color);
}

th,
td {
	padding: 1.5rem;
	text-align: left;
	border: 0.1rem solid #e0e0e0;
}

th {
	background-color: var(--primary-color);
	color: white;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
}

tbody tr:nth-child(even) {
	background-color: #f8f9fa;
}

[data-theme='dark'] tbody tr:nth-child(even) {
	background-color: color-mix(in srgb, transparent 95%, white 5%);
}

tbody tr:hover {
	background-color: #e9ecef;
	transition: background-color 0.3s ease;
}

[data-theme='dark'] tbody tr:hover {
	background-color: color-mix(in srgb, transparent 70%, var(--secondary-color) 30%);
	transition: background-color 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

td strong {
	color: var(--primary-color);
}

/* ===== STRONA KONTAKT ===== */
.contact-container {
	max-width: 120rem;
	margin: 2rem auto;
	padding: 0;
	width: 100%;
}

.contact-content {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.map-section {
	display: flex;
	flex-direction: row;
	width: 100%;
	gap: 4rem;
	align-items: flex-start;
	justify-content: space-between;
}

.map-section .contact-map {
	flex: 2;
	width: 100%;
	height: 450px;
	box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
	border-radius: 1rem;
}

.map-info {
	flex: 1;
	padding: 2rem;
	background-color: var(--background-color);
	border-radius: 1rem;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	border: 0.1rem solid #eee;
	width: 100%;
}

.info-header {
	color: var(--primary-color);
	font-weight: 650;
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: 2rem;
}

.company-info {
	margin-bottom: 2rem;
}

.company-details {
	margin-top: 2rem;
	padding: 1.5rem;
	background-color: color-mix(in srgb, var(--background-color) 90%, var(--primary-color) 10%);
	border-radius: 0.8rem;
	border-left: 0.4rem solid var(--primary-color);
}

[data-theme='dark'] .company-details {
	background-color: color-mix(in srgb, var(--background-color) 95%, var(--primary-color) 5%);
	border-left-color: var(--secondary-color);
}

.company-details p {
	font-size: 1.5rem;
	color: var(--text-color);
	margin: 0.5rem 0;
	font-family: 'Courier New', monospace;
}

.info-text-card {
	background-color: var(--background-color);
	border: 0.1rem solid var(--primary-color);
	border-radius: 1rem;
	padding: 1.5rem;
	margin: 1rem 0;
	transition: all 0.3s ease;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .info-text-card {
	background-color: var(--nav-bg);
	border-color: var(--secondary-color);
}

.info-text-card:hover {
	transform: translateY(-0.2rem);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.info-text-card a {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--text-color);
	text-decoration: none;
	font-size: 1.6rem;
	transition: all 0.3s ease;
}

.info-text-card a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

.info-text-card i {
	font-size: 2.5rem;
	color: var(--primary-color);
	transition: all 0.3s ease;
}

[data-theme='dark'] .info-text-card i {
	color: var(--secondary-color);
}

.info-text-card:hover i {
	transform: scale(1.1);
}

.info-text-card strong {
	font-weight: 600;
	flex: 1;
}

.contact-info {
	margin-block: 5rem;
}

.contact-info .info-section {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 2rem;
	justify-content: space-evenly;
	padding: 2rem;
	background-color: rgb(45, 50, 44);
	color: whitesmoke;
	border-radius: 1rem;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	border: 0.1rem solid var(--primary-color);
	transition: 0.3s ease;
}

.contact-links {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	font-weight: 500;
}

.contact-link {
	border: 0.1rem solid var(--primary-color);
	padding: 1rem;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	color: rgb(163, 184, 164);
	background-color: rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .contact-link {
	background-color: rgba(255, 255, 255, 0.08);
}

.contact-link:hover {
	background-color: var(--primary-color);
	color: whitesmoke;
	box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.15);
}

.info-title {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.info-text {
	font-size: 1.6rem;
	line-height: 1.6;
}

/* ===== STRONA DOKUMENTACJA I PODSTRONY BHPIOS ===== */
.content-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
	max-width: 120rem;
	margin: 0 auto;
	padding: 4rem 2rem;
	align-items: start;
}

.image {
	display: flex;
	justify-content: center;
	margin: 0;
	position: sticky;
	top: 10rem;
}

.image img {
	max-width: 100%;
	height: auto;
	border-radius: 1.5rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.image img:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}

.content {
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-size: 1.7rem;
	line-height: 1.8;
}

.content h2 {
	font-family: var(--font-serif);
	color: var(--primary-color);
	margin: 3rem 0 1.5rem;
	font-size: 2.8rem;
	font-weight: 700;
	position: relative;
	padding-bottom: 1rem;
}

.content h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 6rem;
	height: 0.3rem;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 0.2rem;
}

.content h3 {
	font-family: var(--font-serif);
	color: var(--primary-color);
	margin: 2.5rem 0 1rem;
	font-size: 2.2rem;
	font-weight: 600;
}

.content p {
	margin-bottom: 1.8rem;
	text-align: justify;
	color: var(--text-color);
}

.content p:first-of-type::first-letter {
	font-size: 4.5rem;
	font-weight: 700;
	color: var(--primary-color);
	float: left;
	line-height: 0.85;
	margin: 0.1em 0.15em 0 0;
	font-family: var(--font-serif);
}

.content ul {
	margin: 2rem 0;
	padding-left: 3rem;
}

.content ul li {
	margin-bottom: 1.2rem;
	line-height: 1.8;
	position: relative;
	padding-left: 1.5rem;
}

.content ul li::marker {
	color: var(--primary-color);
	font-weight: bold;
}

.content ul li::before {
	content: '▸';
	position: absolute;
	left: -1.5rem;
	color: var(--secondary-color);
	font-weight: bold;
	font-size: 1.2rem;
}

.content strong {
	color: var(--primary-color);
	font-weight: 700;
}

/* Mobile responsywność dla dokumentacji */
@media (max-width: 1024px) {
	.content-wrapper {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding: 2rem 1rem;
	}

	.image {
		position: static;
		order: -1;
	}

	.content h2 {
		font-size: 2.4rem;
	}

	.content h3 {
		font-size: 2rem;
	}
}

@media (max-width: 767px) {
	.content {
		font-size: 1.6rem;
	}

	.content h2 {
		font-size: 2.2rem;
		margin: 2rem 0 1rem;
	}

	.content h3 {
		font-size: 1.9rem;
	}

	.content p {
		text-align: left;
	}

	.content p:first-of-type::first-letter {
		font-size: 3rem;
	}
}

/* ===== ANIMACJE ===== */
@keyframes slideUpFade {
	from {
		opacity: 0;
		transform: translateY(3rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== RESPONSYWNOŚĆ - TABLET (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
	.content-with-images {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.images-section {
		height: 40rem;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.home-grid {
		grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
	}

	.map-section {
		flex-direction: column;
		gap: 2rem;
	}

	.map-info {
		width: 100%;
	}

	.contact-map {
		width: 100%;
		height: 400px;
	}

	.contact-info .info-section {
		flex-wrap: wrap;
		gap: 2rem;
	}
}

/* ===== RESPONSYWNOŚĆ - MOBILE (do 767px) ===== */
@media (max-width: 767px) {
	/* Nawigacja mobile */
	.dropdown-menu.open {
		max-height: 500px !important;
	}

	#nav {
		min-height: 70px;
		padding: 0;
	}

	.nav-container {
		min-height: 70px;
		padding: 0 1.5rem;
		align-items: center;
		gap: 1rem;
	}

	.nav-controls {
		order: 2;
		gap: 1.5rem;
	}

	.nav-logo img {
		height: 50px;
		min-height: 50px;
	}

	.hamburger {
		display: flex;
	}

	/* PŁYNNA ANIMACJA MENU */
	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		flex-direction: column;
		gap: 0;
		background-color: var(--nav-bg);
		box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition:
			max-height 0.3s ease-out,
			opacity 0.25s ease-out;
	}

	.nav-links.active {
		max-height: 80vh;
		opacity: 1;
		overflow-y: auto;
	}

	[data-theme='dark'] .nav-links {
		background-color: #242a25;
		border: 1px solid #3a413c;
		border-top: none;
	}

	.nav-links li {
		width: 100%;
		border-bottom: 0.1rem solid #eee;
	}

	[data-theme='dark'] .nav-links li {
		border-bottom: 1px solid #2d332e;
	}

	.nav-links li a {
		padding: 2rem 2.5rem;
		font-size: 1.7rem;
		min-height: 60px;
		display: flex;
		align-items: center;
		border-radius: 0;
	}

	/* POPRAWNY DROPDOWN NA MOBILE */
	.dropdown-menu {
		position: static !important;
		display: block !important;
		width: 100% !important;
		max-height: 0;
		overflow: hidden;
		transition:
			max-height 0.4s ease-in-out,
			opacity 0.3s ease-in-out; /* dłuższy i smoother timing */
		opacity: 0;
		background-color: var(--background-color) !important;
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.dropdown-menu.open {
		max-height: 1000px; /* duża wartość – zawsze wystarczy na całą zawartość */
		opacity: 1;
	}

	[data-theme='dark'] .dropdown-menu {
		background-color: #1e231f !important;
	}

	.dropdown-menu li {
		border-bottom: 1px solid var(--border-color);
	}

	[data-theme='dark'] .dropdown-menu li {
		border-bottom: 1px solid #2d332e;
	}

	.dropdown-menu li:last-child {
		border-bottom: none;
	}

	.dropdown-menu li a {
		padding: 1.6rem 3.5rem !important;
		font-size: 1.5rem !important;
		border-left: 4px solid transparent;
		transition: all 0.2s ease;
	}

	.dropdown-menu li a:hover {
		background-color: rgba(var(--primary-color-rgb), 0.05);
		border-left-color: var(--primary-color);
	}

	[data-theme='dark'] .dropdown-menu li a:hover {
		background-color: rgba(84, 172, 113, 0.1);
		border-left-color: #54ac71;
	}

	.nav-links li#active {
		border-radius: 0;
	}

	.nav-links li#active a {
		font-weight: 600;
		position: relative;
	}

	.nav-links li#active a::after {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 5px;
	}

	[data-theme='dark'] .nav-links li#active {
		background-color: #54ac71;
	}

	/* Layout mobile */
	#wrapper,
	#wrapper-contact {
		padding: 0 1rem;
	}

	.main-container {
		padding: 2rem 1rem;
	}

	/* Header mobile */
	.header,
	header {
		height: 50vh;
		margin: 1rem;
	}

	.header-container {
		width: 90%;
		padding: 0 1rem;
	}

	.header-container h1 {
		font-size: clamp(2rem, 4vw + 1rem, 2.8rem);
		margin-bottom: 1.5rem;
	}

	.header-container p {
		font-size: clamp(1.3rem, 2vw + 0.8rem, 1.6rem);
	}

	/* Home grid mobile */
	.home-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.contact-strip {
		flex-direction: column;
		text-align: center;
		padding: 3rem 2rem;
	}

	/* O mnie mobile */
	.about-me {
		padding: 0.5rem;
		min-height: auto;
	}

	.about-me__header {
		margin-bottom: 1.5rem;
		padding-bottom: 0.5rem;
	}

	.about-me__content {
		margin-bottom: 1.5rem;
	}

	.about-me__paragraph {
		margin-bottom: 1rem;
		text-align: left;
	}

	.about-me__summary {
		padding: 1rem;
		margin: 1.5rem 0;
	}

	.about-me__image {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		padding-block: 1.5rem;
	}

	.about-me__image img {
		width: 100%;
		max-width: 300px;
	}

	/* BHPiOS mobile */
	.content-with-images {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.text-section {
		padding-right: 0;
	}

	.section-title {
		font-size: 2.4rem;
		margin-bottom: 2rem;
		text-align: center;
	}

	.section-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.text-content {
		font-size: 1.6rem;
		text-align: left;
	}

	.text-content p::before {
		display: none;
	}

	.text-content p {
		padding-left: 0;
	}

	.images-section {
		height: 35rem;
	}

	.photo-collage {
		max-width: 30rem;
	}

	.photo-1 {
		width: 70%;
		height: 55%;
	}

	.photo-2 {
		width: 65%;
		height: 50%;
	}

	.floating-element {
		display: none;
	}

	.services-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.service-card {
		padding: 2rem 1.5rem;
		min-height: 15rem;
	}

	.service-card h3 {
		font-size: 1.8rem;
	}

	/* Cennik mobile */
	.cennik-buttons {
		flex-direction: column;
		align-items: center;
	}

	.przycisk {
		width: 100%;
		max-width: 30rem;
		text-align: center;
	}

	table {
		display: block;
		width: 90vw;
		overflow-x: auto;
		touch-action: pan-x pan-y;
	}

	th,
	td {
		padding: 1rem;
		font-size: 1.4rem;
	}

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

	/* Kontakt mobile */
	#wrapper-contact {
		margin-top: 5rem;
		padding: 0 1rem;
	}

	.contact-container {
		margin: 1rem auto;
		padding: 0;
	}

	.map-section {
		flex-direction: column;
		gap: 2rem;
	}

	.map-info {
		padding: 1.5rem;
		font-size: 1.4rem;
	}

	.info-header {
		font-size: 1.8rem;
		text-align: center;
	}

	.company-details {
		padding: 1.2rem;
		font-size: 1.4rem;
	}

	.company-details p {
		font-size: 1.4rem;
	}

	.contact-map {
		height: 300px;
	}

	.contact-info .info-section {
		flex-direction: column;
		gap: 2rem;
		padding: 1.5rem;
		margin-block: 2rem;
	}

	.info-text-card {
		padding: 1.2rem;
		margin: 0.8rem 0;
	}

	.info-text-card a {
		font-size: 1.4rem;
		gap: 0.8rem;
	}

	.info-text-card i {
		font-size: 2rem;
	}

	.contact-info {
		margin-block: 2rem;
		width: 100%;
	}

	.contact-links {
		gap: 0.8rem;
	}

	.contact-link {
		padding: 0.8rem;
		font-size: 1.4rem;
	}

	.contact-link i {
		font-size: 1.6rem;
	}

	.contact-link span {
		font-size: 1.3rem;
	}

	.info-title {
		font-size: 1.6rem;
		text-align: center;
	}

	.info-text {
		font-size: 1.4rem;
		text-align: center;
	}

	.summary__qualifications {
		padding-left: 1.5rem;
		font-size: 1.4rem;
	}

	.summary__qualifications li {
		margin: 0.3rem 0;
	}

	.summary__title {
		font-size: 1.5rem;
		text-align: center;
	}

	/* Footer mobile */
	.footer-columns {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3.5rem;
	}

	.footer-contact-list li,
	.footer-col ul li {
		justify-content: center;
	}

	.footer-logo-img {
		margin: 0 auto 2rem;
	}

	.footer-certificates {
		justify-content: center;
	}

	/* Content mobile */
	.content {
		padding: 1rem;
	}

	.content h2 {
		font-size: 2rem;
		margin: 2rem 0 1rem;
	}

	.content h3 {
		font-size: 1.8rem;
	}

	.content p {
		text-align: left;
	}

	html,
	body {
		overflow-x: hidden;
	}

	#wrapper {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}
}

/* ===== RESPONSYWNOŚĆ - BARDZO MAŁE EKRANY (do 480px) ===== */
@media (max-width: 480px) {
	.nav-container {
		padding: 0 1.2rem;
	}

	.nav-logo img {
		height: 45px;
	}

	.nav-links li a {
		padding: 1.8rem 2rem;
		font-size: 1.6rem;
	}

	.dropdown-menu li a {
		padding: 1.4rem 3rem !important;
	}

	.header,
	header {
		height: 40vh;
		margin: 0.5rem;
	}

	#main-content {
		padding: 0.5rem 0;
	}

	.header-container {
		width: 95%;
		padding: 0 0.5rem;
	}

	.header-container h1 {
		font-size: clamp(1.8rem, 3.5vw + 1rem, 2.4rem);
		margin-bottom: 1rem;
	}

	.header-container p {
		font-size: clamp(1.2rem, 1.8vw + 0.8rem, 1.4rem);
	}

	.about-me {
		padding: 0.25rem;
	}

	.about-me__header {
		margin-bottom: 1rem;
	}

	.about-me__content {
		margin-bottom: 1rem;
	}

	.about-me__paragraph {
		margin-bottom: 0.8rem;
	}

	.about-me__summary {
		margin: 1rem 0;
		padding: 0.8rem;
	}

	.about-me__image {
		padding-block: 1rem;
		gap: 0.8rem;
	}

	#wrapper-contact {
		margin-top: 4rem;
		padding: 0 0.5rem;
	}

	.map-section {
		gap: 1.5rem;
	}

	.map-info {
		padding: 1rem;
		font-size: 1.3rem;
	}

	.contact-map {
		height: 250px;
	}

	.info-header {
		font-size: 1.6rem;
	}

	.company-details {
		padding: 1rem;
	}

	.company-details p {
		font-size: 1.3rem;
	}

	.info-text-card {
		padding: 1rem;
		margin: 0.5rem 0;
	}

	.info-text-card a {
		font-size: 1.3rem;
		gap: 0.6rem;
	}

	.info-text-card i {
		font-size: 1.8rem;
	}

	.contact-info .info-section {
		padding: 1rem;
		margin-block: 1rem;
	}

	.contact-link {
		padding: 0.6rem;
	}

	.contact-link span {
		font-size: 1.2rem;
	}

	.summary__qualifications {
		padding-left: 1.5rem;
		font-size: 1.3rem;
	}

	.summary__qualifications li {
		margin: 0.3rem 0;
	}
}

/* ===== RESPONSYWNOŚĆ - JESZCZE MNIEJSZE EKRANY (do 360px) ===== */
@media (max-width: 360px) {
	.info-header {
		font-size: 1.4rem;
	}

	.info-text-card a {
		font-size: 1.2rem;
	}

	.contact-link {
		flex-direction: column;
		text-align: center;
		gap: 0.5rem;
	}

	.contact-link i {
		font-size: 1.8rem;
	}
}

/* ===== RESPONSYWNOŚĆ - DUŻE EKRANY (od 1200px) ===== */
@media (min-width: 1200px) {
	.section-title {
		font-size: 3.6rem;
	}

	.text-content {
		font-size: 1.9rem;
	}
}

/* ===== RESPONSYWNOŚĆ - BARDZO DUŻE EKRANY (od 1920px) ===== */
@media (min-width: 1920px) {
	body {
		font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
	}

	.nav-container,
	#wrapper,
	.footer-container {
		max-width: 140rem;
	}
}

/* ===== DOSTĘPNOŚĆ ===== */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* ===== DARK MODE - DODATKOWE POPRAWKI ===== */
@media (prefers-color-scheme: dark) {
	.photo-frame {
		border: 1rem solid color-mix(in srgb, transparent 80%, black 20%);
	}

	.text-section {
		background-color: color-mix(in srgb, var(--background-color) 98%, transparent 2%);
	}

	.service-card {
		background: color-mix(in srgb, var(--background-color) 95%, white 5%);
		box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
		border-left: 0.4rem solid var(--secondary-color);
	}

	table {
		border: 1px solid var(--primary-color);
	}

	tbody tr:nth-child(even) {
		background-color: color-mix(in srgb, transparent 95%, white 5%);
	}

	tbody tr:hover {
		background-color: color-mix(in srgb, transparent 70%, var(--secondary-color) 30%);
		transition: background-color 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
	}
}
