/* Landing: Jaja iz podnog uzgoja (page-templates/page-podni-uzgoj.php) */

.pu {
	--pu-green: #2b4034;
	--pu-green-soft: #506358;
	--pu-beige: #f5f3ef;
	--pu-cream: #efe6d2;
	--pu-shell: #f3dcc0;
	--pu-red: #d8392b;
	--pu-red-dark: #b02a1f;
	--pu-yellow: #fbc82f;
	--pu-text: #3e3d40;
	--pu-radius: 20px;
	--pu-shadow: 0 14px 40px rgba(43, 64, 52, .10);

	color: var(--pu-text);
	font-family: 'Poppins-Regular', 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow: hidden;
}

.pu *,
.pu *::before,
.pu *::after {
	box-sizing: border-box;
}

.pu h1,
.pu h2,
.pu h3,
.pu p,
.pu ul,
.pu ol {
	margin: 0;
	padding: 0;
}

.pu ul,
.pu ol {
	list-style: none;
}

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

.pu a {
	color: inherit;
}

.pu-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.pu-section {
	padding: 88px 0;
}

.pu-eyebrow {
	display: inline-block;
	margin-bottom: 12px !important;
	font-family: 'Poppins-Bold', 'Poppins', sans-serif;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pu-red);
}

.pu-title {
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(36px, 4.6vw, 56px);
	line-height: 1;
	letter-spacing: .01em;
	color: var(--pu-green);
}

.pu-heading {
	max-width: 680px;
	margin-bottom: 44px;
}

.pu-heading--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.pu-heading__lead {
	margin-top: 16px !important;
	font-size: 17px;
}

/* buttons */
.pu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 2px solid var(--pu-green);
	border-radius: 999px;
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 15px;
	text-decoration: none !important;
	transition: background-color .2s, color .2s, transform .2s, border-color .2s;
	cursor: pointer;
}

.pu-btn:hover {
	transform: translateY(-2px);
}

.pu-btn--primary {
	background: var(--pu-red);
	border-color: var(--pu-red);
	color: #fff !important;
}

.pu-btn--primary:hover {
	background: var(--pu-red-dark);
	border-color: var(--pu-red-dark);
}

.pu-btn--ghost {
	background: transparent;
	color: var(--pu-green) !important;
}

.pu-btn--ghost:hover {
	background: var(--pu-green);
	color: #fff !important;
}

/* hero */
.pu-hero {
	position: relative;
	padding: 72px 0 160px;
	background:
		radial-gradient(circle at 85% 20%, rgba(251, 200, 47, .28), transparent 42%),
		linear-gradient(180deg, var(--pu-beige) 0%, var(--pu-cream) 100%);
}

.pu-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 60px;
	background: #fff;
	clip-path: ellipse(150% 100% at 50% 100%);
}

/* walking hen */
.pu-hen {
	position: absolute;
	z-index: 2;
	bottom: 52px;
	left: 4%;
	width: 120px;
	pointer-events: none;
	animation: pu-hen-walk 32s linear infinite;
}

.pu-hen__face {
	animation: pu-hen-turn 32s linear infinite;
}

.pu-hen svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.pu-hen__leg path {
	fill: none;
	stroke: #e0a030;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pu-hen__leg--a {
	transform-origin: 54px 78px;
	animation: pu-hen-step .45s ease-in-out infinite alternate;
}

.pu-hen__leg--b {
	transform-origin: 66px 78px;
	animation: pu-hen-step .45s ease-in-out infinite alternate-reverse;
}

.pu-hen__body {
	animation: pu-hen-bob .45s ease-in-out infinite alternate;
}

.pu-hen__head {
	transform-origin: 78px 56px;
	animation: pu-hen-peck 32s linear infinite;
}

@keyframes pu-hen-walk {
	0% { left: 4%; }
	40% { left: calc(96% - 120px); }
	48% { left: calc(96% - 120px); }
	88% { left: 4%; }
	100% { left: 4%; }
}

@keyframes pu-hen-turn {
	0%, 45.9% { transform: scaleX(1); }
	46%, 97.9% { transform: scaleX(-1); }
	98%, 100% { transform: scaleX(1); }
}

@keyframes pu-hen-peck {
	0%, 41% { transform: rotate(0); }
	42% { transform: rotate(38deg); }
	43% { transform: rotate(0); }
	44% { transform: rotate(38deg); }
	45%, 89% { transform: rotate(0); }
	90% { transform: rotate(38deg); }
	91% { transform: rotate(0); }
	92% { transform: rotate(38deg); }
	93%, 100% { transform: rotate(0); }
}

@keyframes pu-hen-step {
	from { transform: rotate(-20deg); }
	to { transform: rotate(20deg); }
}

@keyframes pu-hen-bob {
	from { transform: translateY(0); }
	to { transform: translateY(2px); }
}

.pu-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 48px;
}

.pu-hero__title {
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: clamp(56px, 8vw, 108px);
	line-height: .9;
	color: var(--pu-green);
}

.pu-hero__title span {
	display: block;
	color: var(--pu-red);
}

.pu-hero__lead {
	max-width: 520px;
	margin-top: 24px !important;
	font-size: 18px;
}

.pu-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.pu-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px !important;
}

.pu-hero__chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 13px;
	color: var(--pu-green);
}

.pu-hero__chips li::before {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--pu-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.pu-hero__visual {
	position: relative;
}

.pu-hero__photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%;
	box-shadow: var(--pu-shadow);
}

.pu-hero__illustration {
	width: 100%;
}

.pu-sticker {
	position: absolute;
	right: 4%;
	top: 2%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: var(--pu-red);
	color: #fff;
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-size: 30px;
	line-height: .95;
	text-align: center;
	transform: rotate(-10deg);
	box-shadow: 0 10px 24px rgba(216, 57, 43, .35);
	animation: pu-wobble 6s ease-in-out infinite;
}

.pu-sticker span {
	font-size: 19px;
	color: var(--pu-yellow);
}

@keyframes pu-wobble {
	0%, 100% { transform: rotate(-10deg); }
	50% { transform: rotate(-4deg) scale(1.04); }
}

/* about */
.pu-about__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	align-items: center;
	gap: 64px;
}

.pu-about__copy p,
.pu-richtext p {
	margin-top: 18px !important;
	font-size: 17px;
}

.pu-code-card {
	position: relative;
	padding: 40px 36px;
	border-radius: var(--pu-radius);
	background: var(--pu-green);
	color: #fff;
	text-align: center;
	box-shadow: var(--pu-shadow);
}

.pu-code-card p,
.pu-share__inner p,
.pu-scale .is-highlight span {
	color: #fff;
}

.pu-code-card__label {
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .8;
}

.pu-code-card .pu-code-card__number {
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-size: 180px;
	line-height: 1;
	color: var(--pu-yellow);
}

.pu-code-card__text {
	font-size: 17px;
}

.pu-code-card__link {
	display: inline-block;
	margin-top: 20px;
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	color: #fff !important;
	text-underline-offset: 4px;
}

/* benefits */
.pu-benefits {
	background: var(--pu-beige);
}

.pu-benefits__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.pu-benefit {
	padding: 32px 26px;
	border-radius: var(--pu-radius);
	background: #fff;
	transition: transform .25s, box-shadow .25s;
}

.pu-benefit:hover {
	transform: translateY(-6px);
	box-shadow: var(--pu-shadow);
}

.pu-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--pu-cream);
}

.pu-benefit__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: var(--pu-green);
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pu-benefit h3,
.pu-step h3,
.pu-decoder__panel h3 {
	margin-bottom: 8px !important;
	font-family: 'Poppins-Bold', 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 1.3;
	color: var(--pu-green);
}

.pu-benefit p,
.pu-step p {
	font-size: 15px;
}

/* decoder */
.pu-decoder__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.pu-egg {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 380px);
	aspect-ratio: 4 / 5;
	margin: 0 auto;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: radial-gradient(circle at 35% 30%, #fff6ea 0%, var(--pu-shell) 55%, #e3bf98 100%);
	box-shadow: inset -18px -24px 40px rgba(160, 110, 60, .18), 0 30px 50px rgba(43, 64, 52, .14);
}

.pu-egg__stamp {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	transform: rotate(-6deg);
}

.pu-egg__stamp button {
	padding: 6px 10px;
	border: 2px dashed transparent;
	border-radius: 10px;
	background: transparent;
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1;
	letter-spacing: .04em;
	color: rgba(176, 42, 31, .82);
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}

.pu-egg__stamp button:hover,
.pu-egg__stamp button:focus-visible {
	border-color: rgba(176, 42, 31, .5);
	outline: none;
}

.pu-egg__stamp button.is-active {
	border-color: var(--pu-red);
	background: rgba(255, 255, 255, .7);
	color: var(--pu-red);
}

.pu-decoder__panel {
	min-height: 120px;
	padding: 28px 30px;
	border-left: 4px solid var(--pu-red);
	border-radius: 0 var(--pu-radius) var(--pu-radius) 0;
	background: var(--pu-beige);
	animation: pu-fade .35s ease;
}

.pu-decoder__panel[hidden] {
	display: none;
}

.pu-decoder__panel p {
	font-size: 17px;
}

.pu-scale {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 28px !important;
}

.pu-scale li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 8px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--pu-cream);
	text-align: center;
	font-size: 13px;
	line-height: 1.3;
}

.pu-scale b {
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: 34px;
	line-height: 1;
	color: var(--pu-green);
}

.pu-scale .is-highlight {
	background: var(--pu-green);
	border-color: var(--pu-green);
	color: #fff;
	transform: translateY(-6px);
	box-shadow: var(--pu-shadow);
}

.pu-scale .is-highlight b {
	color: var(--pu-yellow);
}

.pu-scale .is-muted {
	opacity: .55;
}

@keyframes pu-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

/* steps */
.pu-steps {
	padding-top: 0;
}

.pu-steps__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	counter-reset: pu-step;
}

.pu-step {
	position: relative;
	padding: 36px 28px 30px;
	border: 2px solid var(--pu-cream);
	border-radius: var(--pu-radius);
}

.pu-step__num {
	position: absolute;
	top: -22px;
	left: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pu-red);
	color: #fff;
	font-family: 'BebasNeue-Regular', 'Bebas Neue', sans-serif;
	font-size: 26px;
}

/* products: existing article filter module inside the landing */
.pu-products {
	background: var(--pu-beige);
}

.pu-products .module__article_filter {
	margin: 0;
	background: transparent;
}

.pu-products__more,
.pu-recipes__more {
	margin-top: 36px !important;
	text-align: center;
}

/* recipes */
.pu-carousel__nav {
	display: flex;
	gap: 10px;
}

.pu-carousel__btn {
	width: 48px;
	height: 48px;
	border: 2px solid var(--pu-green);
	border-radius: 50%;
	background: #fff;
	color: var(--pu-green);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s, color .2s, opacity .2s;
}

.pu-carousel__btn:hover {
	background: var(--pu-green);
	color: #fff;
}

.pu-carousel__btn[disabled] {
	opacity: .3;
	pointer-events: none;
}

.pu-carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 60px) / 4);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 12px !important;
	scrollbar-width: none;
}

.pu-carousel::-webkit-scrollbar {
	display: none;
}

.pu-recipe {
	scroll-snap-align: start;
}

.pu-recipe a {
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: var(--pu-radius);
	background: #fff;
	border: 1px solid var(--pu-cream);
	text-decoration: none !important;
	transition: box-shadow .25s, transform .25s;
}

.pu-recipe a:hover {
	transform: translateY(-4px);
	box-shadow: var(--pu-shadow);
}

.pu-recipe__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--pu-beige);
}

.pu-recipe__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.pu-recipe a:hover .pu-recipe__image img {
	transform: scale(1.06);
}

.pu-recipe__copy {
	display: block;
	padding: 18px 20px 22px;
}

.pu-recipe__cat {
	display: block;
	margin-bottom: 6px;
	font-family: 'Poppins-Bold', 'Poppins', sans-serif;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pu-red);
}

.pu-recipe__title {
	display: block;
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.35;
	color: var(--pu-green);
}

/* faq */
.pu-faq {
	background: var(--pu-beige);
}

.pu-faq__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
}

.pu-faq__item {
	border-bottom: 1px solid rgba(43, 64, 52, .15);
}

.pu-faq__item summary {
	position: relative;
	padding: 22px 48px 22px 0;
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 17px;
	color: var(--pu-green);
	list-style: none;
	cursor: pointer;
}

.pu-faq__item summary::-webkit-details-marker {
	display: none;
}

.pu-faq__item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	line-height: 1;
	transition: transform .25s, background-color .25s, color .25s;
}

.pu-faq__item[open] summary::after {
	transform: rotate(45deg);
	background: var(--pu-red);
	color: #fff;
}

.pu-faq__item p {
	padding: 0 48px 22px 0 !important;
	animation: pu-fade .3s ease;
}

/* share */
.pu-share {
	padding: 72px 0;
}

.pu-share__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px 40px;
	padding: 48px 56px;
	border-radius: 28px;
	background: var(--pu-green);
	color: #fff;
}

.pu-share .pu-title {
	color: #fff;
}

.pu-share__inner p {
	margin-top: 10px !important;
	opacity: .9;
}

.pu-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pu-share__btn {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 20px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-family: 'Poppins-Medium', 'Poppins', sans-serif;
	font-size: 14px;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}

.pu-share__btn:hover,
.pu-share__btn.is-done {
	background: #fff;
	border-color: #fff;
	color: var(--pu-green) !important;
}

.pu-share__follow {
	grid-column: 1 / -1;
	font-size: 14px;
}

.pu-share__follow a {
	font-family: 'Poppins-Bold', 'Poppins', sans-serif;
	color: var(--pu-yellow) !important;
}

/* reveal on scroll */
.pu.pu-js [data-pu-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}

.pu.pu-js [data-pu-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.pu *,
	.pu *::before,
	.pu *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.pu.pu-js [data-pu-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* tablet */
@media (max-width: 960px) {
	.pu-section {
		padding: 64px 0;
	}

	.pu-hero {
		padding: 40px 0 140px;
	}

	.pu-hero__grid,
	.pu-about__grid,
	.pu-decoder__grid,
	.pu-faq__grid,
	.pu-share__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.pu-hero__visual {
		max-width: 480px;
		margin: 0 auto;
	}

	.pu-benefits__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.pu-carousel {
		grid-auto-columns: calc((100% - 20px) / 2);
	}

	.pu-steps__list {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

/* mobile */
@media (max-width: 640px) {
	.pu-wrap {
		padding: 0 18px;
	}

	.pu-heading {
		margin-bottom: 32px;
	}

	.pu-heading--row {
		align-items: flex-start;
	}

	.pu-hero__actions .pu-btn {
		width: 100%;
	}

	.pu-hen {
		width: 84px;
		bottom: 54px;
	}

	.pu-sticker {
		width: 104px;
		height: 104px;
		font-size: 24px;
	}

	.pu-sticker span {
		font-size: 15px;
	}

	.pu-benefits__list {
		grid-template-columns: 1fr;
	}

	.pu-scale {
		grid-template-columns: repeat(2, 1fr);
	}

	.pu-carousel {
		grid-auto-columns: 78%;
	}

	.pu-share__inner {
		padding: 40px 18px;
		border-radius: 0;
	}
}
