/* @media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
	html {
		transform: rotate(-90deg);
		transform-origin: left top;
		width: 100vh;
		overflow-x: hidden;
		position: absolute;
		top: 100%;
		left: 0;
	}
} */
@media only screen and (max-width: 767px) and (orientation: landscape) {
		body {
				display: none;
		}

		.landscape-warning {
				display: block;
		}
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
		.landscape-warning {
				display: none;
		}
}

.landscape-warning {
		display: none;
		text-align: center;
		padding: 20px;
		background-color: #f8d7da;
		color: #721c24;
		font-size: 18px;
}

header {
		width: 100%;
		text-align: center;
		min-height: 90px;
		background: #000;
		color: #fff;
		-webkit-box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.7);
		box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.7);
		display: block;
		top: 0;
		position: fixed;
		overflow: visible;
		-webkit-transition: all 0.4s ease-in-out;
		-moz-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
		padding: 15px 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		z-index: 1000;
}

header img {
	border-radius: 50%;
	position: relative;
	border: 0px solid #000;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 74px;
	height: auto;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	display: inline-block;
}

header img:hover {
	border-radius: 0%;
}

header nav {
	font-weight: bold;
	font-size: 0.9em;
	position: relative;
	top: 3px;
}

header nav a {
	padding: 10px 5px;
	font-size: 0.9em;
	transition: font-size 0.4s ease-in-out;
}


header.expand {
	padding-top: calc(25vh - 60px);
	min-height: 50vh;
	background: transparent;
	color: #000;
	-webkit-box-shadow: none;
	box-shadow: none;
	/* min-height: 90px; */
}

header.expand img {
	width: 120px;
}

header.expand nav a,
header.half nav a,
header.shrink nav a  {
	font-size: 1.3em;
}

header.half {
	background: #000;
	color: #fff;
	-webkit-box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 8px 50px 0px rgba(0, 0, 0, 0.7);
}

header.half nav a {
	color: #fff;
}

header.half nav a:hover {
	color: #d8c367;
}

header.half img:hover {
	border: 2px solid #fff;
	width: 74px;
}

section {
	margin: 0;
}

.plan-section{
	position:relative;
	background-color: #fff;
}

.section{
	z-index:2;
	position:relative;
}

#flood {
	float: left;
	position: absolute;
	top: calc(-145px + 50vh);
	height: 300px;
	width: 100%;
	background: transparent;
	pointer-events: none;
	width: 100%;
	height: auto;
	float: left;
	overflow-x: hidden; }
	#flood canvas {
		margin: 0;
		padding: 0;
		display: block;
		float: left;
		pointer-events: none;
		/*position: relative;
		top: -50%;*/
		background: transparent;
		-webkit-transform: rotate(180deg) scaleX(-1);
			 -moz-transform: rotate(180deg) scaleX(-1);
				-ms-transform: rotate(180deg) scaleX(-1);
						transform: rotate(180deg) scaleX(-1); }

#intro, footer {
	text-align: center;
	color: #000;
	display: block;
	/* float: left; */
	width: 100%; }

#intro {
	background: url(../img/sky.jpg) no-repeat center center;
	background-size: cover;
	position: relative;
	/* top: 50%; */
	/* top: calc(-145px + 50vh) !important; */
	-webkit-box-sizing: border-box;
		 -moz-box-sizing: border-box;
					box-sizing: border-box; }
	#intro a {
		color: #fff; }
	#intro h1 {
		width: 100%;
		float: left; }
	#intro video {
		margin-top: -150px; }
	
	#intro > div {
		position: relative;
		top: -10em;
	}
	
	@media only screen and (max-width: 767px) {
		#intro > div {
			position: relative;
			top: -12em;
	}
	
	#intro {
		z-index: 1;
		position: relative;
		/* pointer-events: auto; */
	}
	
	#intro .wp-block-button {
		pointer-events: auto;
		z-index: 10;
	}
	
	.wp-block-group.alignfull.main-prlx.is-layout-flow.wp-block-group-is-layout-flow {
		z-index: 0;
		position: relative;
		pointer-events: none;
	}
	
	.wp-block-group.alignfull.main-prlx.is-layout-flow.wp-block-group-is-layout-flow section {
		pointer-events: none;
	}
	}
footer {
	background: #fff;
	overflow: hidden; }

.cta > a {
	font-size: 1.2em;
	display: inline-block;
	font-weight: bold;
	margin: 13px 0;
	text-transform: uppercase;
	padding: 0.5em 1em;
	-webkit-box-sizing: border-box;
		 -moz-box-sizing: border-box;
					box-sizing: border-box;
	border: 2px solid #fff;
	-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	-moz-transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	overflow: hidden;
	position: relative;
	vertical-align: middle;
	z-index: 1; 
}
	
.cta > a span {
	-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	-moz-transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	display: block;
	vertical-align: middle; 
}
	
.cta > a::before {
	background: none repeat scroll 0 0 #d8c367;
	content: attr(data-text);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	padding: calc(0.7rem - 1px) calc(1rem - 1px) calc(0.6rem - 1px) 0;
	-webkit-transform: translate3d(-100%, 0px, 0px);
		 -moz-transform: translate3d(-100%, 0px, 0px);
					transform: translate3d(-100%, 0px, 0px);
	width: 100.5%;
	-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	-moz-transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s;
	transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s, -moz-transform 0.3s cubic-bezier(0.75, 0, 0.125, 1) 0s; 
}

.cta > a:hover::before {
	-webkit-transform: translate3d(0px, 0px, 0px);
		 -moz-transform: translate3d(0px, 0px, 0px);
					transform: translate3d(0px, 0px, 0px); 
}

.cta > a:hover span {
	-webkit-transform: translate3d(0px, 200%, 0px);
		 -moz-transform: translate3d(0px, 200%, 0px);
					transform: translate3d(0px, 200%, 0px); 
}

.wp-block-group-is-layout-flow {
	margin-top: 0;
}

.main-prlx {
	position: relative;
}

header.shrink {
    background: transparent !important;
    box-shadow: none !important;
	color: #000 !important;
}
header.wp-container-core-columns-is-layout-28f84493{
	justify-content: center;
}

header.shrink .wp-block-columns.is-layout-flex > .wp-block-column:nth-child(1),
header.shrink .wp-block-columns.is-layout-flex > .wp-block-column:nth-child(3),
header.half .wp-block-columns.is-layout-flex > .wp-block-column:nth-child(1),
header.half .wp-block-columns.is-layout-flex > .wp-block-column:nth-child(3) {
  flex: 0 0 46% !important;
}

header.shrink 
  .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow:has(> .custom_logo),
header.half 
  .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow:has(> .custom_logo) {
    flex: 0 0 6% !important;
}

header .wp-block-columns.is-layout-flex > .wp-block-column {
  transition: all 0.6s ease-in-out;
}
header .custom_logo img {
  transition: width 0.6s ease-in-out;
}
/* Typing headline – scoping żeby nie gryzło się z motywem */
.typing-headline {
  text-align: left;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-size: clamp(2rem, 3vw + 2rem, 5rem);
  max-width: 70ch;
}

.typing-headline .muted {
  color: #6b7280; /* delikatnie przygaszony */
  font-weight: 600;
}

.typing-headline.typed-line {
  display: inline-flex;
  align-items: baseline;
  gap: .1em;
  white-space: nowrap;
}

.typing-headline .word {
  display: inline-block;
  min-width: .5ch;
}

/* kursor stoi obok <strong class="word">, dziedziczy kolor tekstu */
.typing-headline .cursor {
  display: inline-block;
  width: 0.075em;
  height: 1em;
  background: currentColor; /* dziedziczy kolor tekstu */
  transform: translateY(.15em);
  margin-left: .1em;
  animation: typingBlink 1s steps(1, end) infinite;
}

@keyframes typingBlink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typing-headline .cursor { animation: none; }
}

/* domyślnie (średnie ekrany) */
#intro { 
  padding-top: 25vh;       /* fallback */
  padding-top: 25dvh;      /* lepsze na mobile (iOS/Android) */
}


@media (max-width: 1600px) {
  #intro { 
	padding-top: 25dvh;
	top: calc(-55px + 50vh) !important;
}
}
/* niższe ekrany (np. laptopy 13–14") – daj WIĘCEJ paddingu */
@media (max-width: 900px) {
  #intro { padding-top: 30dvh; }
}
/* bardzo wysokie ekrany – trochę MNIEJ, żeby nie „uciekało” w dół */
@media (min-width: 1800px) {
  #intro {
	padding-top: 20dvh;
	top: calc(-75px + 50vh) !important;
 }
}



