/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* =========================
	 Animacja fadein-rotate
========================= */
.animate-fadein-rotate {
	animation: fadeInRotate 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeInRotate {
	from {
		opacity: 0;
		transform: translateY(30px) rotate(-8deg) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) rotate(0deg) scale(1);
	}
}
/* =========================
	 Animacje wejścia sekcji
========================= */
.animate-fadein-slideup {
	animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.animate-fadein-scale {
	animation: fadeInScale 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* =========================
	 Hero background image
========================= */
.hero-bg-image {
	object-position: 70% 25%;
	filter: brightness(0.72) contrast(1.08) saturate(1.08);
}

@media (max-width: 1024px) {
	.hero-bg-image {
		object-position: 75% 22%;
		filter: brightness(0.68) contrast(1.08) saturate(1.08);
	}
}

@media (max-width: 640px) {
	.hero-bg-image {
		object-position: 82% 20%;
		filter: brightness(0.62) contrast(1.08) saturate(1.05);
	}
}

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

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* =========================
	 Header navigation links
========================= */
.primary-nav a,
.mobile-nav a {
	color: #ffffff;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.primary-nav a {
	position: relative;
	padding-bottom: 6px;
}

.primary-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: #f2b6cd;
	transition: width 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
	color: #f2b6cd;
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
	width: 100%;
}

.mobile-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.02);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
	color: #282929;
	background: #f2b6cd;
	border-color: #f2b6cd;
}

/* =========================
	 Team carousel
========================= */
.team-carousel {
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: 420px;
	margin: 0 auto;
	perspective: 1000px;
	overflow: hidden;
}

.team-track {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
	transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card {
	position: absolute;
	width: 260px;
	height: 360px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
	transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	background: #ffffff;
	cursor: pointer;
}

.team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card.is-center {
	z-index: 10;
	transform: scale(1.08) translateZ(0);
}

.team-card.is-left-1 {
	z-index: 6;
	transform: translateX(-180px) scale(0.92) translateZ(-80px);
	opacity: 0.85;
}

.team-card.is-right-1 {
	z-index: 6;
	transform: translateX(180px) scale(0.92) translateZ(-80px);
	opacity: 0.85;
}

.team-card.is-left-2 {
	z-index: 2;
	transform: translateX(-350px) scale(0.82) translateZ(-220px);
	opacity: 0.6;
}

.team-card.is-right-2 {
	z-index: 2;
	transform: translateX(350px) scale(0.82) translateZ(-220px);
	opacity: 0.6;
}

.team-card.is-left-1 img,
.team-card.is-left-2 img,
.team-card.is-right-1 img,
.team-card.is-right-2 img {
	filter: grayscale(100%);
}

.team-card.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.team-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: none;
	background: rgba(242, 182, 205, 0.2);
	color: #282929;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
	z-index: 12;
}

.team-nav:hover {
	background: rgba(242, 182, 205, 0.35);
	transform: translateY(-50%) scale(1.06);
}

.team-nav-left {
	left: 0;
}

.team-nav-right {
	right: 0;
}

.team-info {
	text-align: center;
	margin-top: 1.5rem;
	transition: opacity 0.3s ease;
}

.team-name {
	font-size: 2rem;
	font-weight: 700;
	color: #282929;
	position: relative;
	display: inline-block;
	margin-bottom: 0.25rem;
}

.team-name::before,
.team-name::after {
	content: '';
	position: absolute;
	top: 100%;
	width: 70px;
	height: 2px;
	background: rgba(40, 41, 41, 0.15);
}

.team-name::before {
	left: -90px;
}

.team-name::after {
	right: -90px;
}

.team-role {
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #64748b;
}

.team-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 1.75rem;
}

.team-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: none;
	background: rgba(40, 41, 41, 0.25);
	cursor: pointer;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.team-dot.is-active {
	background: #f2b6cd;
	transform: scale(1.3);
}

@media (max-width: 900px) {
	.team-carousel {
		height: 360px;
	}

	.team-card {
		width: 220px;
		height: 300px;
	}

	.team-card.is-left-1 {
		transform: translateX(-140px) scale(0.9) translateZ(-80px);
	}

	.team-card.is-right-1 {
		transform: translateX(140px) scale(0.9) translateZ(-80px);
	}

	.team-card.is-left-2 {
		transform: translateX(-260px) scale(0.8) translateZ(-200px);
	}

	.team-card.is-right-2 {
		transform: translateX(260px) scale(0.8) translateZ(-200px);
	}
}

@media (max-width: 640px) {
	.team-carousel {
		height: 320px;
	}

	.team-card {
		width: 200px;
		height: 270px;
	}

	.team-card.is-left-1 {
		transform: translateX(-120px) scale(0.88) translateZ(-80px);
	}

	.team-card.is-right-1 {
		transform: translateX(120px) scale(0.88) translateZ(-80px);
	}

	.team-card.is-left-2 {
		transform: translateX(-210px) scale(0.78) translateZ(-200px);
	}

	.team-card.is-right-2 {
		transform: translateX(210px) scale(0.78) translateZ(-200px);
	}

	.team-name {
		font-size: 1.6rem;
	}

	.team-name::before,
	.team-name::after {
		width: 40px;
	}

	.team-name::before {
		left: -55px;
	}

	.team-name::after {
		right: -55px;
	}
}

/* =========================
	 Comment form polish
========================= */
.comment-respond,
.comments-area {
	margin-top: 2rem;
}

.comment-respond h3,
.comments-title {
	color: #0f172b;
	font-weight: 700;
}

.comment-reply-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172b;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.comment-reply-title::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 0.5rem;
	background: linear-gradient(90deg, #569528, transparent);
}

.comment-reply-title a {
	color: #569528;
	font-weight: 600;
}

.comment-reply-title a:hover {
	color: #0f172b;
}

.comment-form {
	margin-top: 1.25rem;
	display: grid;
	gap: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #0f172b;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	border: 1px solid #cbd5f5;
	border-radius: 12px;
	padding: 0.75rem 0.9rem;
	background: #f8fafc;
	color: #0f172b;
	font-size: 16px;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.comment-form textarea {
	min-height: 180px;
	resize: vertical;
}

.comment-form input[type='text']:focus,
.comment-form input[type='email']:focus,
.comment-form input[type='url']:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: #569528;
	box-shadow: 0 0 0 3px rgba(86, 149, 40, 0.15);
	background: #ffffff;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.95rem;
	color: #475569;
}

.comment-form-cookies-consent input[type='checkbox'] {
	margin-top: 0.2rem;
	width: 18px;
	height: 18px;
	accent-color: #569528;
}

.form-submit input[type='submit'],
.comment-form .submit,
#submit {
	border: 2px solid #0f172b;
	background: #0f172b;
	color: #ffffff;
	font-weight: 700;
	padding: 0.9rem 1.8rem;
	border-radius: 999px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0.3px;
	box-shadow: 0 12px 26px rgba(15, 23, 43, 0.25);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
}

.form-submit input[type='submit']:hover,
.comment-form .submit:hover,
#submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(15, 23, 43, 0.28);
	background: #1b2542;
	border-color: #1b2542;
}

.comment-list {
	margin-top: 1.5rem;
}

.comment-list .comment {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
}

.comment-list .comment .comment-meta,
.comment-list .comment .comment-metadata {
	color: #64748b;
	font-size: 0.9rem;
}

.comment-list .comment .reply a {
	color: #569528;
	font-weight: 600;
}

.comment-list .comment .reply a:hover {
	color: #0f172b;
}

/* =========================
	 Proste animacje wejścia
========================= */
.js-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

.js-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========================
	 Card hover (subtle)
========================= */
.card-hover {
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.card-hover:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 23, 43, 0.12);
}

/* =========================
	 Button hover (elegant)
========================= */
.btn-elegant {
	position: relative;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
	will-change: transform;
}

.btn-elegant:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 43, 0.18);
	filter: brightness(1.03);
}

.btn-elegant:active {
	transform: translateY(0);
	box-shadow: 0 6px 16px rgba(15, 23, 43, 0.16);
}

/* =========================
	 Floating call CTA
========================= */
.floating-call-cta {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	border: 1px solid rgba(242, 182, 205, 0.65);
	background: #f2b6cd;
	color: #282929;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
	position: fixed;
	overflow: hidden;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.floating-call-cta::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -140%;
	width: 60%;
	height: 200%;
	background: rgba(255, 255, 255, 0.45);
	transform: skewX(-20deg);
	animation: cta-shimmer 6s ease-in-out infinite;
	pointer-events: none;
}

@keyframes cta-shimmer {
	0%,
	70% {
		transform: translateX(0) skewX(-20deg);
		opacity: 0;
	}
	80% {
		opacity: 1;
	}
	100% {
		transform: translateX(360%) skewX(-20deg);
		opacity: 0;
	}
}
.floating-call-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.floating-call-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

.floating-call-cta__text {
	line-height: 1;
}
.floating-call-cta__svg {
	width: 22px;
	height: 22px;
	color: #282929;
}

@media (min-width: 1024px) {
	.floating-call-cta {
		display: none;
	}
}

html {
	scroll-behavior: smooth;
}

/* Hide diagonal lines/decorative elements */
section::before,
section::after,
.ct-container::before,
.ct-container::after,
body::before,
body::after {
	display: none !important;
}

.min-h-screen::before,
.min-h-screen::after {
	display: none !important;
}

.contact-section::before,
.contact-section::after {
	content: none !important;
}

.contact-section {
	background-image: none !important;
	mask-image: none !important;
}

/* === LOGO CAROUSEL – CRUIP STYLE === */

.logo-track {
	animation: logo-scroll 40s linear infinite;
}

@keyframes logo-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}

.logo-img {
	height: 40px;
	width: auto;
	opacity: 0.7;
	filter: grayscale(100%);
	transition:
		opacity 0.3s ease,
		filter 0.3s ease;
}

.logo-img:hover {
	opacity: 1;
	filter: grayscale(0%);
}
@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

#logo-track {
	animation: scroll 30s linear infinite;
	align-items: center;
	will-change: transform;
}

#logo-track img {
	height: 40px;
	width: auto;
	object-fit: contain;
	opacity: 0.6;
}

.eleven h1 {
	font-size: 30px;
	text-align: center;
	line-height: 1.5em;
	padding-bottom: 45px;
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #111;
}
/* =========================
   TAILWIND NAV ANIMATION
========================= */

.primary-nav li {
	position: relative;
	list-style: none;
}

.primary-nav a {
	position: relative;
	padding: 6px 2px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	transition: color 0.2s ease;
}

/* UNDERLINE ANIMATION */
.primary-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background-color: #f2b6cd;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.primary-nav a:hover::after {
	transform: scaleX(1);
}

.primary-nav a:hover {
	color: #f2b6cd;
}

button[data-mobile-menu-button] {
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

button[data-mobile-menu-button] svg {
	transition: transform 0.25s ease;
}

button[data-mobile-menu-button].is-open {
	transform: scale(0.96);
	box-shadow: 0 10px 24px rgba(15, 23, 43, 0.16);
}

button[data-mobile-menu-button].is-open svg {
	transform: rotate(90deg);
}

/* =========================
   SUBMENU – MOBILE FIRST
========================= */

.primary-nav .menu-item {
	position: relative;
}

/* Ukryte submenu domyślnie */

.primary-nav .sub-menu,
.mobile-nav .sub-menu {
	display: block;
	flex-direction: column;
	gap: 6px;
	padding-left: 12px;
	margin-top: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	pointer-events: none;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0s linear 0.2s;
}

/* Pokazanie po kliknięciu (mobile) */
.primary-nav .submenu-open > .sub-menu,
.mobile-nav .submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Linki submenu */
.primary-nav .sub-menu a,
.mobile-nav .sub-menu a {
	font-size: 14px;
	color: #282929;
	padding: 4px 0;
}

.primary-nav .sub-menu a:hover,
.mobile-nav .sub-menu a:hover {
	color: #f2b6cd;
}
@media (min-width: 1024px) {
	.primary-nav .menu-item {
		padding-bottom: 6px;
	}

	.primary-nav .menu-item > a {
		padding-bottom: 8px;
	}

	.primary-nav .sub-menu,
	.mobile-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		background: #fff;
		padding: 12px;
		border-radius: 12px;
		box-shadow: 0 14px 34px rgba(15, 23, 43, 0.12);
		min-width: 200px;
	}

	.primary-nav .menu-item:hover > .sub-menu,
	.primary-nav .menu-item:focus-within > .sub-menu,
	.primary-nav .sub-menu:hover,
	.mobile-nav .menu-item:hover > .sub-menu,
	.mobile-nav .menu-item:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
		transition-delay: 0s;
	}

	.primary-nav .sub-menu .sub-menu,
	.mobile-nav .sub-menu .sub-menu {
		left: 100%;
		top: 0;
	}

	.primary-nav .menu-item > a::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: -10px;
		height: 10px;
	}
}

/* =========================
   MOBILE SUBMENU – HARD RESET
========================= */

@media (max-width: 1023px) {
	.mobile-nav {
		padding: 6px 0;
	}

	.mobile-nav .menu-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding: 4px 0;
	}

	.mobile-nav .sub-menu {
		margin-top: 6px;
		padding: 0;
		border-radius: 0;
		background: transparent;
		border: 0;
	}

	.mobile-nav .sub-menu a {
		color: #ffffff;
		padding: 10px 6px;
		border-radius: 8px;
	}

	.mobile-nav .sub-menu a:hover,
	.mobile-nav .sub-menu a:focus {
		color: #f2b6cd;
		background: transparent;
	}

	.mobile-nav .menu-item:last-child {
		border-bottom: none;
	}

	.mobile-nav a {
		font-size: 16px;
		padding: 14px 6px;
		color: #ffffff;
	}
	.mobile-nav {
		gap: 6px;
	}

	.mobile-nav a {
		font-size: 16px;
		padding: 10px 6px;
	}

	.mobile-nav .menu-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
	/* Rodzic */
	.primary-nav .menu-item-has-children,
	.mobile-nav .menu-item-has-children {
		position: relative;
		width: 100%;
	}

	/* Link rodzica */
	.primary-nav .menu-item-has-children > a,
	.mobile-nav .menu-item-has-children > a {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		gap: 10px;
		padding-right: 44px;
	}

	/* Strzałka */
	.primary-nav .submenu-toggle,
	.mobile-nav .submenu-toggle {
		position: absolute;
		right: 8px;
		top: 50%;
		transform: translateY(-50%) rotate(0deg);
		margin-left: 0;
		width: 24px;
		height: 24px;
		font-size: 0;
		cursor: pointer;
		padding: 0;
		border-radius: 999px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: #f2b6cd;
		color: transparent;
		border: 1px solid rgba(242, 182, 205, 0.6);
		box-shadow: 0 6px 14px rgba(15, 23, 43, 0.16);
		transition:
			background 0.2s ease,
			transform 0.2s ease;
	}

	.primary-nav .submenu-toggle.rotate-180,
	.mobile-nav .submenu-toggle.rotate-180,
	.primary-nav .submenu-toggle[aria-expanded='true'],
	.mobile-nav .submenu-toggle[aria-expanded='true'] {
		background: #f2b6cd;
		border-color: rgba(242, 182, 205, 0.8);
	}

	.mobile-nav .menu-item-has-children > .submenu-toggle,
	.mobile-nav .menu-item-has-children > .submenu-toggle:hover,
	.mobile-nav .menu-item-has-children > .submenu-toggle:focus {
		background: #f2b6cd;
		border-color: rgba(242, 182, 205, 0.8);
	}

	.primary-nav .submenu-toggle::before,
	.mobile-nav .submenu-toggle::before {
		content: '';
		width: 10px;
		height: 10px;
		background: #ffffff;
		transform: rotate(0deg);
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
			no-repeat center / contain;
	}

	.primary-nav .submenu-open > .submenu-toggle,
	.mobile-nav .submenu-open > .submenu-toggle {
		background: #e2e8f0;
		transform: translateY(-50%) rotate(180deg);
	}

	.primary-nav .submenu-open > .submenu-toggle::before,
	.mobile-nav .submenu-open > .submenu-toggle::before {
		transform: rotate(180deg);
	}

	.primary-nav .submenu-open > .submenu-toggle::before,
	.mobile-nav .submenu-open > .submenu-toggle::before {
		background: #fff;
	}

	.primary-nav .submenu-toggle:hover,
	.mobile-nav .submenu-toggle:hover {
		background: #0f172b;
	}

	/* SUBMENU DOMYŚLNIE UKRYTE */
	.primary-nav .sub-menu,
	.mobile-nav .sub-menu {
		max-height: 0;
		overflow: hidden;
		padding-left: 12px;
		margin-top: 6px;
		opacity: 0;
		transform: translateY(4px);
		border-left: 2px solid rgba(15, 23, 43, 0.12);
		transition:
			max-height 0.25s ease,
			opacity 0.2s ease,
			transform 0.2s ease;
	}

	/* Po kliknięciu */
	.primary-nav .submenu-open > .sub-menu,
	.mobile-nav .submenu-open > .sub-menu {
		max-height: 600px;
		opacity: 1;
		transform: translateY(0);
	}
}

/* =========================
   TAILWIND NAV ANIMATION
========================= */

.primary-nav li {
	position: relative;
	list-style: none;
}

.primary-nav a {
	position: relative;
	padding: 6px 2px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	transition: color 0.2s ease;
}

/* UNDERLINE ANIMATION */
.primary-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 2px;
	background-color: #f2b6cd;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.primary-nav a:hover::after {
	transform: scaleX(1);
}

.primary-nav a:hover {
	color: #f2b6cd;
}

/* =========================
   TYPOGRAFIA STRON INFORMACYJNYCH – PREMIUM V2
========================= */

.content-legal {
	font-size: 19px;
	line-height: 1.85;
	color: #334155;
	max-width: 900px;
	margin: 0 auto;
}

.content-legal p {
	margin-bottom: 1.6em;
}

/* ===== H2 ===== */
.content-legal h2 {
	font-size: 30px;
	font-weight: 600;
	color: #0f172a;
	margin-top: 3em;
	margin-bottom: 0.8em;
	position: relative;
	padding-bottom: 12px;
}

.content-legal h2::after {
	content: '';
	display: block;
	width: 70px;
	height: 2px;
	background: linear-gradient(90deg, #569528, transparent);
	margin-top: 12px;
}

/* ===== H3 ===== */
.content-legal h3 {
	font-size: 22px;
	font-weight: 600;
	margin-top: 2.2em;
	margin-bottom: 0.5em;
	color: #1e293b;
}

/* ===== LISTY ===== */
.content-legal ul {
	padding-left: 1.4em;
	margin: 1.5em 0;
}

.content-legal li {
	margin-bottom: 0.5em;
}

.content-legal li::marker {
	color: #569528;
}

/* ===== STRONG ===== */
.content-legal strong {
	color: #0f172a;
}

/* ===== LINKI ===== */
.content-legal a {
	color: #569528;
	text-decoration: none;
}

.content-legal a:hover {
	text-decoration: underline;
}

/* ===== CYTATY ===== */
.content-legal blockquote {
	border-left: 4px solid #569528;
	padding-left: 20px;
	margin: 2em 0;
	color: #475569;
	font-style: italic;
	background: #f8fafc;
	padding: 20px;
	border-radius: 6px;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fadein-slideup {
	animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.animate-fadein-scale {
	animation: fadeInScale 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}
