/* =========================================
   BEZPIECZNYGRUNT.PL - MAIN STYLESHEET
   Wersja Finalna: Ultra Mobile-Friendly
   ========================================= */

/* =========================================
   1. ZMIENNE I RESET (Design System)
   ========================================= */
:root {
	--color-primary: #0a2342;
	--color-accent: #cba368;
	--color-cta: #d96c1e;
	--color-text: #333333;
	--color-text-light: #555555;
	--color-bg-light: #f4f6f8;
	--color-white: #ffffff;
	--container-width: 1200px;
	--radius: 8px;
	--shadow-card:
		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);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	font-family: "Open Sans", sans-serif;
	color: var(--color-text);
	line-height: 1.6;
	background-color: var(--color-white);
}

h1,
h2,
h3,
h4 {
	font-family: "Montserrat", sans-serif;
	color: var(--color-primary);
	font-weight: 700;
	line-height: 1.2;
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	display: block;
}

/* =========================================
   2. KLASY UŻYTKOWE (Utilities)
   ========================================= */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.sectionPadding {
	padding: 4rem 0;
}

.sectionTitle {
	text-align: center;
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
}

.sectionSubtitle {
	text-align: center;
	color: var(--color-text-light);
	max-width: 700px;
	margin: 0 auto 3rem auto;
	font-size: 1.1rem;
}

.bgLight {
	background-color: var(--color-bg-light);
}

.textHighlight {
	color: var(--color-accent);
}

/* =========================================
   3. PRZYCISKI (Buttons)
   ========================================= */
.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	border-radius: var(--radius);
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	text-decoration: none;
	transition: 0.3s;
	border: 2px solid transparent;
}

.btnPrimary {
	background-color: var(--color-cta);
	color: var(--color-white);
	border-color: var(--color-cta);
}

.btnPrimary:hover {
	background-color: #bf5b15;
	border-color: #bf5b15;
}

.btnSecondary {
	background-color: transparent;
	color: var(--color-white);
	border-color: var(--color-white);
}

.btnSecondary:hover {
	background-color: var(--color-white);
	color: var(--color-primary);
}

.btnOutline {
	background-color: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btnOutline:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.btnLarge {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.btn-full-flex {
	width: 100%;
	text-align: center;
	justify-content: center;
	display: flex;
}

.btn-icon-left {
	margin-right: 8px;
}

.btn-copy {
	background: #eee;
	border: 1px solid #ccc;
	padding: 0 10px;
	cursor: pointer;
	font-size: 0.75rem;
	border-radius: 4px;
	font-weight: 600;
	color: #555;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-copy:hover {
	background: #ddd;
	color: #000;
}

.btn-no-margin {
	margin: 0 !important;
}

/* =========================================
   4. HEADER & NAV (Złote akcenty)
   ========================================= */
.header {
	background-color: var(--color-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 80px;
	display: flex;
	align-items: center;
}

.headerContainer {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logoLink {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logoImg {
	height: 50px;
	width: auto;
}

.logoText {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--color-primary);
	letter-spacing: -0.5px;
	white-space: nowrap;
}

.navList {
	display: flex;
	gap: 2rem;
}

.navLink {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--color-primary);
}

.navLink:hover {
	color: var(--color-accent);
}

.contact-icons-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-left: 10px;
}

.contact-icon-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	transition: all 0.3s ease;
}

.nav-icon-svg {
	width: 24px;
	height: 24px;
	fill: var(--color-primary);
	transition: fill 0.3s ease;
}

.contact-icon-link:hover .nav-icon-svg {
	fill: var(--color-accent);
	transform: scale(1.1);
}

.tooltip {
	position: absolute;
	top: 150%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-primary);
	color: #fff;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s,
		top 0.3s;
	pointer-events: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent var(--color-primary) transparent;
}

.contact-icon-link:hover .tooltip {
	opacity: 1;
	visibility: visible;
	top: 130%;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	transition: all 0.3s ease-in-out;
	background-color: var(--color-primary);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
	position: relative;
	height: 85vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	background-image: url("./assets/hero.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-color: var(--color-primary);
}

.heroOverlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(10, 35, 66, 0.85) 0%,
		rgba(10, 35, 66, 0.8) 100%
	);
}

.heroContent {
	position: relative;
	z-index: 2;
	color: var(--color-white);
	max-width: 800px;
}

.heroTitle {
	color: var(--color-white);
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.heroSubtitle {
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
}

.heroButtons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

.heroButtons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}

.heroNote {
	font-size: 0.85rem;
	opacity: 0.7;
}

.heroNoteLink {
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* =========================================
   6. FEATURES
   ========================================= */
.featuresGrid {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.featureCard {
	flex: 1;
	min-width: 300px;
	padding: 2rem;
	background: var(--color-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	text-align: center;
	border: 1px solid #eee;
	transition: all 0.3s ease;
}

.featureCard:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
	border-color: var(--color-accent);
}

.featureCardIcon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.featureCardTitle {
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

/* =========================================
   7. OFFER
   ========================================= */
.offer {
	background-color: var(--color-primary);
	background-image:
		linear-gradient(rgba(10, 35, 66, 0.9), rgba(10, 35, 66, 0.9)),
		url("./assets/heroBlueprint.png");
	background-size: cover;
	background-position: center;
	color: var(--color-white);
}

.offer .sectionTitle {
	color: var(--color-white);
}

.offer .sectionSubtitle {
	color: rgba(255, 255, 255, 0.8);
}

.offerGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-top: 2rem;
}

.offerItem {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.offerCheck {
	color: var(--color-accent);
	font-weight: 800;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.offerText strong {
	display: block;
	color: var(--color-white);
	margin-bottom: 0.3rem;
	font-size: 1.1rem;
}

.offerText p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* =========================================
   8. PRICING & DISCOUNTS
   ========================================= */
.pricingGrid {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
	align-items: stretch;
	padding: 20px 0;
}

.pricingCard {
	background: var(--color-white);
	border: 1px solid #eee;
	border-radius: var(--radius);
	padding: 2rem;
	width: 350px;
	text-align: center;
	position: relative;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
}

.pricingCard button {
	margin-top: auto;
}

.pricingCardPopular {
	border: 2px solid var(--color-accent);
	transform: scale(1.05);
	z-index: 10;
	box-shadow: var(--shadow-hover);
}

.badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-accent);
	color: var(--color-primary);
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	z-index: 20;
}

.pricingCardName {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

.pricingCardPrice {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}

.pricingSmall {
	font-size: 1rem;
	font-weight: 400;
}

.pricingCardDesc {
	color: var(--color-text-light);
	margin-bottom: 2rem;
}

.pricingCardFeatures {
	text-align: left;
	margin-bottom: 2rem;
}

.pricingCardFeatures li {
	margin-bottom: 0.8rem;
	font-size: 0.95rem;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.pricingCardFeatures li.excluded {
	opacity: 0.5;
	text-decoration: line-through;
}

.list-icon {
	color: var(--color-accent);
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: 2px;
}

#btn-standard {
	background-color: var(--color-accent) !important;
	border: 2px solid var(--color-accent) !important;
	color: var(--color-white) !important;
	font-weight: 700;
	transition: all 0.3s ease;
}

#btn-standard:hover {
	background-color: var(--color-white) !important;
	color: var(--color-accent) !important;
}

/* Rabat */
.discount-wrapper {
	text-align: center;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background-color: var(--color-white);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #eee;
}

.discount-input-group {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-top: 0.5rem;
}

#discountInput {
	padding: 0.5rem 1rem;
	border: 1px solid #ccc;
	border-radius: var(--radius);
	font-size: 1rem;
	width: 60%;
	text-transform: uppercase;
}

.discount-msg {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	min-height: 1.5rem;
}

.msg-success {
	color: #27ae60;
}
.msg-error {
	color: #e74c3c;
}

/* Nowe klasy dla dynamicznych cen w JS */
.price-regular-label {
	font-size: 0.9rem;
	color: #999;
	font-weight: 400;
}
.price-crossed {
	text-decoration: line-through;
}
.price-promo-label {
	font-size: 1rem;
	font-weight: 400;
	color: #333;
}
.price-omnibus-label {
	font-size: 0.7rem;
	color: #aaa;
	margin-top: 5px;
	line-height: 1.2;
}

/* =========================================
   9. STEPS (Kroki Zamawiania)
   ========================================= */
.stepsGrid {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.stepItem {
	flex: 1;
	min-width: 280px;
	background: var(--color-white);
	padding: 2rem;
	border-radius: var(--radius);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	text-align: left;
	position: relative;
	overflow: hidden;
}

.stepNumber {
	font-family: "Montserrat", sans-serif;
	font-size: 5rem;
	font-weight: 800;
	color: rgba(203, 163, 104, 0.2);
	position: absolute;
	top: 0px;
	right: 10px;
	line-height: 1;
}

.stepTitle {
	font-size: 1.25rem;
	margin-bottom: 0.8rem;
	color: var(--color-primary);
	position: relative;
	z-index: 2;
}

.stepDesc {
	font-size: 0.95rem;
	color: var(--color-text-light);
	position: relative;
	z-index: 2;
}

.stepDesc a {
	color: var(--color-accent);
	font-weight: 600;
	text-decoration: underline;
}

/* =========================================
   10. REVIEWS (Opinie Karuzela)
   ========================================= */
.carousel-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 10px;
}

.reviews-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 15px 0;
	flex: 1;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
	display: none;
}

.review-card {
	flex: 0 0 calc((100% - 40px) / 3);
	scroll-snap-align: center;
	background: var(--color-white);
	border: 1px solid #eee;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
}

.review-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.review-avatar {
	width: 40px;
	height: 40px;
	background-color: var(--color-primary);
	color: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem;
}

.review-meta {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.review-author {
	font-weight: 700;
	color: var(--color-primary);
	font-size: 0.95rem;
}

.review-date {
	font-size: 0.8rem;
	color: #888;
}

.review-google-icon i {
	color: #4285f4;
	font-size: 1.2rem;
}

.review-rating {
	margin-bottom: 12px;
	gap: 4px;
	display: flex;
}

.review-rating i {
	color: #ffd700;
	font-size: 1rem;
}

.review-content {
	font-size: 0.95rem;
	color: var(--color-text-light);
	font-style: italic;
	line-height: 1.6;
}

.carousel-btn {
	background: var(--color-white);
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	z-index: 10;
	top: 50%;
	transform: translateY(-50%);
	box-shadow: var(--shadow-card);
	color: var(--color-primary);
	transition: all 0.3s ease;
}

.carousel-btn:hover {
	background: var(--color-accent);
	color: var(--color-white);
	border-color: var(--color-accent);
}

.prev-btn {
	left: -15px;
}
.next-btn {
	right: -15px;
}

.reviews-actions {
	text-align: center;
	margin-top: 2rem;
}

/* Styl dla długich opinii (Pokaż więcej) */
.review-content-container {
	position: relative;
	display: flex;
	flex-direction: column;
}

.review-content.collapsed {
	max-height: 120px; /* Sztywna wysokość przed rozwinięciem */
	overflow: hidden;
	position: relative;
	transition: max-height 0.4s ease-out;
}

/* Efekt zanikania tekstu na dole */
.review-content.collapsed::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: linear-gradient(transparent, var(--color-white));
	pointer-events: none;
}

.read-more-btn {
	background: none;
	border: none;
	color: var(--color-accent);
	font-weight: 700;
	font-family: "Montserrat", sans-serif;
	font-size: 0.85rem;
	cursor: pointer;
	padding: 10px 0 0 0;
	text-align: left;
	align-self: flex-start;
}

.review-modal-content {
	max-width: 600px;
	padding: 2.5rem;
	line-height: 1.8;
	font-style: italic;
	color: var(--color-text);
}

/* =========================================
   11. ABOUT ME
   ========================================= */
.aboutContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
}

.aboutText {
	max-width: 800px;
}

.aboutText p {
	margin-bottom: 1rem;
}

/* =========================================
   12. FAQ (Złote akcenty)
   ========================================= */
.faq-wrapper {
	max-width: 800px;
	margin: 3rem auto 0;
}

.faq-item {
	background-color: var(--color-white);
	border-radius: var(--radius);
	margin-bottom: 1rem;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	border: 1px solid transparent;
	transition: all 0.3s ease;
}

.faq-item:hover {
	box-shadow: var(--shadow-card);
	transform: translateY(-2px);
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 1.5rem;
	font-size: 1.1rem;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	color: var(--color-primary);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color 0.3s ease;
}

.faq-question:hover {
	color: var(--color-accent);
}

.faq-icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	margin-left: 15px;
}

.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	background-color: var(--color-accent);
	transition: transform 0.3s ease;
	border-radius: 2px;
}

.faq-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
}

.faq-icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	margin-left: -1px;
}

.faq-item.active {
	border: 1px solid var(--color-accent);
}

.faq-item.active .faq-icon::after {
	transform: rotate(90deg);
}

.faq-item.active .faq-icon::before {
	transform: rotate(180deg);
	background-color: var(--color-accent);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	background-color: var(--color-white);
}

.faq-answer p {
	padding: 0 1.5rem 1.5rem 1.5rem;
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer {
	background-color: var(--color-primary);
	color: #ccc;
	padding: 3rem 0 1rem 0;
}

.footerGrid {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	gap: 2rem;
}

.footerBrand p {
	margin-top: 1rem;
	max-width: 300px;
}

.footerContact h4 {
	color: var(--color-white);
	margin-bottom: 1rem;
}

.footerContact a:hover {
	color: var(--color-accent);
}

.footerContact p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0.8rem;
	line-height: 1.4;
}

.footerContact svg {
	flex-shrink: 0;
	fill: currentColor;
}

.footerContact a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footerLogoWrapper {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 0.5rem;
}

.footerLogoText {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--color-white);
	white-space: nowrap;
}

.logoFooter {
	height: 50px;
	width: auto;
	filter: brightness(0) invert(1);
}

.footerLegal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-bottom: 1rem;
	text-align: center;
	opacity: 0.7;
}

.legalLinks {
	margin-top: 0.5rem;
	text-align: center;
}

.legalLink {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.85rem;
	text-decoration: underline;
	transition: 0.3s;
}

.legalLink:hover {
	color: var(--color-accent);
}

.footerCopyright {
	font-size: 0.9rem;
	text-align: center;
	width: 100%;
	display: block;
}

.footerSocials {
	display: flex;
	gap: 15px;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footerSocials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	color: #ccc;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.footerSocials a:hover {
	background-color: var(--color-accent);
	color: var(--color-primary);
	transform: translateY(-3px);
}

/* =========================================
   14. MODALS, FORMS & COOKIES
   ========================================= */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s;
	padding: 10px;
}

.modal-content {
	background-color: var(--color-white);
	margin: 2rem auto;
	padding: 2rem;
	border-radius: var(--radius);
	width: 100%;
	max-width: 550px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	text-align: left;
}

.close-btn {
	color: #aaa;
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
	z-index: 10;
}

.close-btn:hover {
	color: var(--color-primary);
}

.modal-content h3 {
	margin-bottom: 1rem;
	padding-right: 20px;
}

.gate-box {
	background-color: #fff3cd;
	border: 1px solid #ffeeba;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	text-align: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gate-checkbox-row {
	margin: 15px 0;
}

.gate-checkbox {
	transform: scale(1.3);
	vertical-align: middle;
	margin-right: 8px;
}

.gate-label {
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 600;
}

.gate-box input:checked + label {
	color: #27ae60;
	transition: color 0.3s;
}

.locked-content {
	display: none;
	margin-top: 20px;
	animation: fadeIn 0.5s;
}

.order-id-box {
	background-color: #fff8e1;
	border: 2px dashed #f39c12;
	padding: 1rem;
	text-align: center;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
}

.big-id {
	font-size: 2rem;
	font-weight: 900;
	color: #333;
	letter-spacing: 2px;
	margin: 5px 0;
	font-family: monospace;
}

.id-warning {
	font-size: 0.85rem;
	color: #c0392b;
	font-weight: 700;
}

.step-box {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #eee;
}

.step-box:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.step-header {
	font-size: 1rem;
	color: var(--color-primary);
	margin-bottom: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	border-left: 4px solid var(--color-cta);
	padding-left: 10px;
	background: #fff3e0;
	padding-top: 6px;
	padding-bottom: 6px;
	border-radius: 0 4px 4px 0;
}

.modal-box {
	background: #f9f9f9;
	padding: 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
	border: 1px solid #eee;
}

.modal-box input,
.modal-box textarea {
	width: 100%;
	padding: 10px;
	margin: 5px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-family: inherit;
	background: #fff;
	resize: none;
	font-size: 0.9rem;
}

.input-bold {
	font-weight: bold;
	color: #333 !important;
}

.copy-input-group {
	display: flex;
	gap: 5px;
}

.full-width-btn {
	width: 100%;
	margin-top: 5px;
	padding: 8px;
}

.modal-btn-center {
	text-align: center;
	margin-top: 1rem;
}

.payment-box {
	background-color: #f0fdf4;
	padding: 1.5rem;
	border-radius: var(--radius);
	border: 1px solid #bbf7d0;
}

.payment-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.payment-row {
	display: flex;
	align-items: center;
	font-size: 0.95rem;
	color: #333;
	flex-wrap: nowrap;
}

.payment-label {
	min-width: 65px;
	margin-right: 10px;
	color: #666;
	font-weight: 500;
	white-space: nowrap;
}

.price-highlight {
	color: #27ae60;
	font-weight: 800;
	font-size: 1.2rem;
}

.bank-input-group {
	display: flex;
	gap: 5px;
	flex: 1;
	min-width: 0;
}

.bank-input {
	flex: 1;
	min-width: 0;
	margin: 0 !important;
	padding: 6px 8px !important;
	font-weight: bold;
	letter-spacing: 0.5px;
	color: #333;
	font-size: 0.85rem;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.legal-notice-box {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
	font-size: 0.8rem;
	color: #777;
	text-align: center;
}

.legal-notice-box a {
	color: var(--color-primary);
	text-decoration: underline;
}

.legal-small-print {
	font-size: 0.7rem;
	color: #999;
	margin-top: 5px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #0a2342;
	color: white;
	padding: 15px 0;
	z-index: 10000;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	display: none;
	animation: slideUp 0.5s ease-out;
}

.cookie-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cookie-banner p {
	font-size: 0.9rem;
	margin: 0;
	text-align: center;
	max-width: 800px;
	line-height: 1.5;
}

.cookie-banner a {
	color: #cba368;
	text-decoration: underline;
	white-space: nowrap;
}

.cookie-btn {
	white-space: nowrap;
	border: 1px solid #cba368;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* =========================================
   15. WORKBOOK (Samodzielny Audyt)
   ========================================= */
.workbook-section {
	background: var(--color-primary);
	padding: 4rem 0;
	color: var(--color-white);
}

.workbook-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	grid-template-rows: max-content 1fr;
	gap: 1.5rem 5rem;
	align-items: start;
}

.workbook-main-title {
	grid-column: 2;
	grid-row: 1;
	margin: 0 !important;
	text-align: left !important;
	color: var(--color-white);
}

.workbook-main-title .highlight {
	color: var(--color-accent) !important;
}

.workbook-image {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.workbook-content {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
}

.mockup-img {
	width: 100%;
	max-width: 400px;
	height: auto;
	filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

.price-box-overlay {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 10px 0 !important;
	text-align: center;
	margin-top: 15px;
}

.price-row {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 12px;
}

.price-new {
	color: var(--color-accent) !important;
	font-size: 3.5rem !important;
	font-weight: 700;
	line-height: 1;
}

.price-divider {
	width: 60px;
	height: 2px;
	background: var(--color-accent);
	margin: 15px auto 10px auto;
	box-shadow: 0 0 8px rgba(203, 163, 104, 0.5);
}

.workbook-desc {
	font-size: 1.1rem;
	color: #e0e0e0;
	margin-bottom: 2rem;
}

.workbook-features {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.workbook-features li {
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 5px;
	align-items: start;
}

.buy-action-box {
	width: 100%;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: auto;
}

.btn-glow {
	background: var(--color-accent);
	color: var(--color-primary) !important;
	width: 100%;
	height: 70px;
	font-weight: 800;
	font-size: 1.1rem;
	border-radius: var(--radius);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

.btn-glow:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(203, 163, 104, 0.4);
}

.payment-simple-info {
	height: 55px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.payment-simple-info p {
	margin: 5px 0 0 0 !important;
	font-size: 0.85rem;
	line-height: 1.2;
}

.guarantee-text {
	margin: 2px 0 0 0 !important;
	font-size: 0.8rem;
	color: #2ecc71;
	font-weight: 600;
}

.preview-container {
	margin-top: 15px;
	margin-bottom: 25px;
	text-align: center;
	width: 100%;
	max-width: 320px;
}

.preview-label {
	font-size: 0.8rem;
	color: var(--color-accent);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 10px;
}

.preview-grid {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.preview-grid a {
	flex: 1;
	display: block;
}

.preview-grid a:nth-child(n + 4) {
	display: none;
}

.preview-grid img {
	width: 100%;
	height: auto;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition:
		transform 0.2s,
		border-color 0.2s;
	cursor: pointer;
}

.preview-grid img:hover {
	transform: scale(1.05);
	border-color: var(--color-accent);
}

.lightbox {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 35, 66, 0.95);
	justify-content: center;
	align-items: center;
}

.lightbox-content {
	max-width: 90%;
	max-height: 85vh;
	border: 2px solid var(--color-accent);
	border-radius: 8px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s ease;
}

.lightbox-close {
	position: absolute;
	top: 15px;
	right: 25px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 100000;
}

.lightbox-prev,
.lightbox-next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: auto;
	padding: 15px 20px;
	color: white;
	font-weight: bold;
	font-size: 25px;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	border-radius: 5px;
	user-select: none;
	z-index: 100000;
	transition: 0.2s;
}

.lightbox-prev {
	left: 15px;
}
.lightbox-next {
	right: 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
	color: var(--color-accent);
	background: rgba(0, 0, 0, 0.8);
}

.mobile-buy-btn-wrapper {
	display: none;
}

/* =========================================
   16. LEGAL PAGE STYLES (legal.html)
   ========================================= */
.legal-content {
	max-width: 900px;
	margin: 0 auto;
	background-color: var(--color-white);
	padding: 3rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

.legal-section {
	margin-bottom: 6rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid #eee;
}

.legal-section:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.legal-content h1 {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--color-primary);
	border-bottom: 3px solid var(--color-accent);
	display: inline-block;
	padding-bottom: 10px;
	line-height: 1.2;
}

.legal-content h3 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	font-size: 1.3rem;
	color: var(--color-primary);
	border-left: 5px solid var(--color-accent);
	padding-left: 15px;
	background: linear-gradient(90deg, #f9f9f9 0%, #ffffff 100%);
	padding-top: 5px;
	padding-bottom: 5px;
}

.legal-content p {
	margin-bottom: 1rem;
	font-size: 1rem;
	color: #444;
	text-align: justify;
	line-height: 1.7;
}

.legal-content ul {
	list-style: disc;
	margin-left: 2rem;
	margin-bottom: 1.5rem;
	color: var(--color-primary);
}

.legal-content li {
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
	color: #444;
}

/* =========================================
   1KOSZYK OVERRIDE
   ========================================= */
#cart1-wrapper:not([data-open="true"]) {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* =========================================
   17. MEDIA QUERIES (Wszystko w jednym miejscu)
   ========================================= */

/* --- Powyżej 1200px --- */
@media (min-width: 1201px) {
	.contact-icons-item {
		position: relative;
		margin-left: 5px;
		padding-left: 20px;
	}
	.contact-icons-item::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		height: 20px;
		width: 1px;
		background-color: #ddd;
	}
}

/* --- Menu Hamburgerowe (Wszystko poniżej 1200px) --- */
@media (max-width: 1200px) {
	.hamburger {
		display: block;
		margin-left: auto;
		margin-right: 20px;
		z-index: 2000;
	}
	.navList {
		position: fixed;
		left: -100%;
		top: 80px;
		gap: 0;
		flex-direction: column;
		background-color: var(--color-white);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
		padding: 2rem 0;
		border-top: 1px solid #eee;
		height: auto;
	}
	.navList.active {
		left: 0;
	}
	.navItem {
		margin: 0.8rem 0;
	}
	.navLink {
		font-size: 1.2rem;
		font-weight: 700;
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}
	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.contact-icons-wrapper {
		justify-content: center;
		margin: 1rem 0;
		gap: 30px;
	}
	.contact-icons-item {
		width: 80%;
		margin: 1rem auto 0;
		padding-top: 1rem;
		border-top: 1px solid #eee;
	}
	.nav-icon-svg {
		width: 32px;
		height: 32px;
	}
	.tooltip {
		display: none;
	}
}

/* --- Tablety (769px - 1200px) --- */
@media (min-width: 769px) and (max-width: 1200px) {
	.sectionPadding {
		padding: 3rem 0;
	}
	.sectionTitle {
		font-size: 2rem;
		margin-bottom: 1rem;
	}
	.container {
		padding: 0 20px;
	}
	.heroTitle {
		font-size: 2.5rem;
	}
	.heroSubtitle {
		font-size: 1.1rem;
		margin-bottom: 1.5rem;
	}
	.pricingGrid {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
	}
	.pricingCard {
		width: 100%;
		max-width: 420px;
		padding: 1.5rem;
	}
	.pricingCardName {
		font-size: 1.3rem;
	}
	.pricingCardPrice {
		font-size: 2.2rem;
	}
	.stepsGrid {
		justify-content: center;
	}
	.stepItem {
		width: 100%;
		max-width: 500px;
		padding: 1.5rem;
		flex: none;
	}
	.stepNumber {
		font-size: 4rem;
		top: 5px;
		right: 10px;
	}
	.aboutContainer {
		gap: 2rem;
	}
	.aboutText p {
		font-size: 0.95rem;
	}
	.legal-content {
		padding: 3rem 2rem;
	}
}

/* --- Małe ekrany i Tablety (poniżej 900px) - Karuzela i Workbook --- */
@media (max-width: 900px) {
	/* Karuzela Opinii */
	.review-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}

	/* Workbook */
	.workbook-grid {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		align-items: center;
	}
	.workbook-main-title {
		order: 1;
		text-align: center !important;
		margin-bottom: 0 !important;
	}
	.preview-container {
		margin-top: 5px;
	}
	.workbook-image {
		order: 2;
		margin-bottom: 1.5rem;
	}
	.workbook-content {
		order: 3;
		align-items: center;
		text-align: center;
	}
	.workbook-features {
		text-align: left;
		max-width: 420px;
	}
	.price-box-overlay {
		margin-top: 0px;
		margin-bottom: 20px;
	}
	.mobile-buy-btn-wrapper {
		width: 100%;
		max-width: 480px;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-top: 0px;
		margin-bottom: 15px;
	}
	.payment-simple-info {
		height: 55px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		text-align: center;
	}
}

/* --- Ekrany mobilne (Poniżej 768px) - ULTRA ZOPTYMALIZOWANE --- */
@media (max-width: 768px) {
	/* Globalne odstępy i typografia */
	.sectionPadding {
		padding: 2.5rem 0;
	}
	.sectionTitle {
		font-size: 1.7rem;
		margin-bottom: 0.8rem;
	}
	.sectionSubtitle {
		font-size: 0.95rem;
		margin-bottom: 1.5rem;
	}

	/* Header */
	.header {
		height: 65px;
		padding: 0;
	}
	.headerContainer {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		height: 100%;
		padding: 0 15px;
	}
	.logoImg {
		height: 26px;
	}
	.logoText {
		font-size: 0.8rem;
		display: block;
		margin-left: 6px;
	}

	/* DODANO: align-items: center; - perfekcyjnie środkuje całą zawartość menu */
	.navList {
		top: 65px !important;
		height: calc(100vh - 65px);
		padding: 1.5rem 0;
		overflow-y: auto;
		align-items: center;
	}

	/* DODANO: width: 100%; dla zwykłych linków i specjalną klasę wymuszającą wyśrodkowanie ikonek */
	.navItem {
		margin: 0.6rem 0;
		width: 100%;
		text-align: center;
	}
	.navItem.contact-icons-item {
		margin: 1rem auto 0;
		width: 80%;
		display: flex;
		justify-content: center;
	}

	/* Hero */
	.hero {
		height: auto;
		min-height: 85vh;
		padding: 100px 0 50px;
	}
	.heroTitle {
		font-size: 1.8rem;
		margin-bottom: 1rem;
		line-height: 1.3;
	}
	.heroSubtitle {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}
	.heroButtons {
		flex-direction: column;
		width: 100%;
		gap: 10px;
		margin-top: 0;
	}
	.heroButtons .btn {
		width: 100%;
		margin: 0;
		padding: 14px;
		font-size: 1rem;
	}

	/* Features */
	.featuresGrid {
		gap: 1rem;
	}
	.featureCard {
		padding: 1.5rem 1rem;
		min-width: 100%;
	}
	.featureCardIcon {
		font-size: 2.5rem;
		margin-bottom: 0.5rem;
	}
	.featureCardTitle {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
	}
	.featureCardDesc {
		font-size: 0.95rem;
	}

	/* Offer / 360 */
	.offerGrid {
		gap: 1.5rem;
		margin-top: 1.5rem;
	}
	.offerItem {
		gap: 0.8rem;
	}
	.offerCheck {
		font-size: 1.2rem;
	}
	.offerText strong {
		font-size: 1.05rem;
		margin-bottom: 0.2rem;
	}
	.offerText p {
		font-size: 0.9rem;
	}

	/* Pricing & Discount */
	.discount-wrapper {
		padding: 1rem;
		margin-bottom: 1.5rem;
		width: 100%;
	}
	.discount-input-group {
		flex-direction: column;
		gap: 8px;
	}
	#discountInput {
		width: 100%;
		text-align: center;
	}
	.discount-btn {
		width: 100%;
	}

	.pricingGrid {
		gap: 1.2rem;
		padding: 0;
		flex-direction: column;
		align-items: center;
	}
	.pricingCard {
		padding: 1.5rem 1rem;
		width: 100%;
		max-width: 100%;
		border-radius: 12px;
	}
	.pricingCardName {
		font-size: 1.3rem;
	}
	.pricingCardPrice {
		font-size: 2.2rem;
	}
	.pricingCardDesc {
		margin-bottom: 1.5rem;
		font-size: 0.9rem;
	}
	.pricingCardFeatures li {
		font-size: 0.9rem;
		margin-bottom: 0.6rem;
	}
	.pricingCardPopular {
		transform: scale(1);
		border-width: 2px;
	}

	/* Steps */
	.stepsGrid {
		gap: 1.5rem;
		margin-top: 1.5rem;
		flex-direction: column;
		align-items: center;
	}
	.stepItem {
		padding: 2rem 1.2rem 1.5rem;
		text-align: center;
		width: 100%;
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.stepNumber {
		position: static;
		transform: none;
		font-size: 1.6rem;
		background-color: var(--color-accent); /* Złote tło */
		color: var(--color-primary); /* Granatowa cyfra */
		width: 50px;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 50%; /* Tworzy równe kółko */
		margin-bottom: 1rem;
		opacity: 1; /* Pełna widoczność */
		box-shadow: 0 4px 10px rgba(203, 163, 104, 0.3); /* Delikatny złoty cień */
	}
	.stepTitle {
		font-size: 1.15rem;
	}
	.stepDesc {
		font-size: 0.95rem;
	}
	/* About & Legal */
	.aboutContainer {
		gap: 1.5rem;
		flex-direction: column;
	}
	.aboutText p {
		font-size: 0.95rem;
		margin-bottom: 1rem;
		text-align: left;
	}

	/* FAQ */
	.faq-wrapper {
		margin-top: 1.5rem;
	}
	.faq-item {
		margin-bottom: 0.8rem;
	}
	.faq-question {
		font-size: 0.95rem;
		padding: 1.2rem 1rem;
	}
	.faq-answer p {
		padding: 0 1rem 1.2rem 1rem;
		font-size: 0.9rem;
	}

	/* Footer */
	.footer {
		padding: 2rem 0 1.5rem;
	}
	.footerGrid {
		gap: 1.5rem;
		flex-direction: column;
	}
	.footerLogoText {
		font-size: 1.2rem;
	}
	.footerContact p {
		font-size: 0.9rem;
		margin-bottom: 0.5rem;
	}
	.footerSocials {
		justify-content: center;
		gap: 15px;
		margin-top: 1rem;
	}

	/* Modals */
	.modal-content {
		padding: 1.5rem 1rem;
		margin: 1rem auto;
		width: 95%;
		max-height: 90vh;
		overflow-y: auto;
	}
	.big-id {
		font-size: 1.5rem;
	}
	.payment-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		margin-bottom: 10px;
	}
	.payment-label {
		font-size: 0.85rem;
		margin-bottom: 0;
	}
	.bank-input-group {
		width: 100%;
		flex-direction: column;
		gap: 5px;
	}
	.bank-input {
		font-size: 0.95rem;
		padding: 10px !important;
		text-align: center;
	}
	.btn-copy {
		width: 100%;
		padding: 10px;
	}

	/* Legal HTML Pages */
	.legal-content {
		padding: 1.5rem 1rem;
	}
	.legal-section {
		margin-bottom: 3rem;
		padding-bottom: 1.5rem;
	}
	.legal-content h1 {
		font-size: 1.4rem;
		white-space: normal;
		line-height: 1.3;
		margin-bottom: 1.2rem;
	}
	.legal-content h3 {
		font-size: 1.1rem;
		margin-top: 1.5rem;
	}
	.legal-content p,
	.legal-content li {
		font-size: 0.9rem;
		text-align: left !important;
		word-break: break-word;
	}

	/* Przycisk wracania z regulaminu */
	.headerCta .btnOutline {
		font-size: 0 !important;
		padding: 6px 14px !important;
		min-height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		border-width: 1px;
	}
	.headerCta .btnOutline::before {
		content: "Wróć";
		font-size: 0.85rem;
		font-weight: 700;
		display: block;
		letter-spacing: 0.5px;
	}
}

/* --- Małe Ekrany (Poniżej 600px) - Karuzela --- */
@media (max-width: 600px) {
	.review-card {
		flex: 0 0 100%;
	}
	.prev-btn {
		left: -5px;
	}
	.next-btn {
		right: -5px;
	}
	.carousel-btn {
		width: 35px;
		height: 35px;
	}
	.carousel-wrapper {
		padding: 0 5px;
		margin-top: 0px;
	}
}
