/* Renova Agro — premium motion layer (additive, does not alter layout) */

/* ---------- Scroll reveal ---------- */
.r-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
	will-change: opacity, transform;
}
.r-reveal.r-visible {
	opacity: 1;
	transform: none;
}
.r-reveal.r-fade-only {
	transform: none;
}

/* ---------- Global hover micro-interactions ---------- */
.wp-block-button__link,
.nature21-btn-more a,
.nature21-round-btn a,
a.wp-block-button__link {
	transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease, background-color .32s ease, opacity .32s ease !important;
}
.wp-block-button__link:hover,
.nature21-btn-more a:hover,
a.wp-block-button__link:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 12px 28px -8px rgba(20,65,32,.45);
}
.nature21-round-btn a:hover {
	transform: scale(1.12) rotate(8deg);
}

main img,
.entry-content img,
.wp-block-image img {
	transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .6s ease;
}
.nature21-logo img,
.nature21-header-area img {
	transition: transform .3s ease;
}
.nature21-logo img:hover {
	transform: scale(1.04);
}
.nature21-header-area .nature21-logo,
.nature21-header-area .nature21-logo figure {
	overflow: visible;
}
.nature21-logo-img {
	max-width: none !important;
	width: 300px !important;
	height: auto !important;
	filter: drop-shadow(0 2px 5px rgba(0,0,0,.35));
}
@media (max-width: 782px) {
	.nature21-logo-img { width: 200px !important; }
}

.wp-block-image:not(.nature21-logo *) {
	overflow: hidden;
}

/* Nav link underline sweep */
.wp-block-navigation .wp-block-navigation-item > a,
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content {
	position: relative;
}
.wp-block-navigation .wp-block-navigation-item:not(.nature21-home-icon) > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0%;
	height: 2px;
	background: currentColor;
	opacity: .6;
	transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.wp-block-navigation .wp-block-navigation-item:not(.nature21-home-icon) > a:hover::after {
	width: 100%;
}

/* Card lift (used by homepage image-cards + product cards) */
.nature21-involvebox,
.nature21-prjct-bx-herbicides,
.nature21-prjct-bx-insecticides,
.nature21-prjct-bx-fungicides,
.nature21-prjct-bx-fertilizers,
.nature21-prjct-bx-seed-treatment,
.nature21-prjct-bx-pgr,
.renova-product-card {
	transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease;
}
.nature21-prjct-bx-herbicides:hover,
.nature21-prjct-bx-insecticides:hover,
.nature21-prjct-bx-fungicides:hover,
.nature21-prjct-bx-fertilizers:hover,
.nature21-prjct-bx-seed-treatment:hover,
.nature21-prjct-bx-pgr:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -18px rgba(20,65,32,.5);
}
.nature21-involvebox:hover img {
	transform: scale(1.08);
}

/* Page load fade */
body {
	animation: renovaBodyFade .5s ease;
}
@keyframes renovaBodyFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---------- Homepage "Let's Connect" category cards ---------- */
.nature21-card {
	position: relative;
	height: 420px;
	border-radius: 25px;
	overflow: hidden;
	display: block;
}
.nature21-card .nature21-card-bg,
.nature21-card .nature21-card-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.nature21-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10,30,10,.85) 0%, rgba(10,30,10,.35) 45%, rgba(10,30,10,0) 75%);
	z-index: 1;
	transition: background .4s ease;
}
.nature21-card:hover .nature21-card-bg img {
	transform: scale(1.1);
}
.nature21-card .nature21-build-area {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 24px 26px 26px;
	margin: 0 !important;
	float: none;
}
.nature21-card .wp-block-buttons {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .4s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}
.nature21-card:hover .wp-block-buttons,
.nature21-card:focus-within .wp-block-buttons {
	max-height: 60px;
	opacity: 1;
}
@media (max-width: 780px) {
	.nature21-card .wp-block-buttons { max-height: 60px; opacity: 1; }
	.nature21-card { height: 320px; }
}

/* ---------- Homepage ribbon: heading + button on one line ---------- */
.nature21-ribbon-row {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px;
}
.nature21-ribbon-row .wp-block-heading {
	margin: 0 !important;
	flex: 0 1 auto;
}
.nature21-ribbon-row .wp-block-buttons {
	margin: 0 !important;
	flex: 0 0 auto;
	width: auto;
}
.nature21-ribbon-row .wp-block-buttons .wp-block-button {
	width: auto;
}
.nature21-ribbon-row .nature21-round-btn a {
	white-space: nowrap;
}

/* ---------- Homepage "What We Offer" right-side photo ---------- */
.renova-offer-photo-col {
	display: flex;
	align-items: stretch;
}
.renova-offer-photo {
	width: 100%;
	height: 100%;
	min-height: 380px;
	overflow: hidden;
	box-shadow: 0 20px 45px -20px rgba(20,40,20,.45);
}
.renova-offer-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Theme bug: below 1023px, body.home .nature21-header-area switches from
   an absolute overlay (on top of the hero photo) to static positioning,
   but keeps a transparent background — exposing the plain white page
   background behind the logo/nav instead of the hero. Give it a matching
   green fallback so there's never a white gap. */
@media (max-width: 1023px) {
	body.home .nature21-header-area {
		background-color: #6a9c4f;
	}
}

/* ---------- Homepage "Let's Connect" category slider ---------- */
.renova-slider {
	position: relative;
	z-index: 5;
	padding: 0 56px;
}
.renova-slider-viewport {
	overflow: hidden;
}
.renova-slider-track {
	display: flex;
	gap: 24px;
	transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.renova-slide {
	flex: 0 0 calc(33.333% - 16px);
	min-width: 0;
}
@media (max-width: 980px) {
	.renova-slide { flex-basis: calc(50% - 12px); }
}
@media (max-width: 620px) {
	.renova-slide { flex-basis: 100%; }
	.renova-slider { padding: 0 44px; }
}
.renova-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: #1c470f;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color .3s ease, transform .3s ease;
	z-index: 3;
}
.renova-slider-btn:hover {
	background: #66b406;
	transform: translateY(-50%) scale(1.1);
}
.renova-slider-btn:disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}
.renova-slider-prev { left: 0; }
.renova-slider-next { right: 0; }
.renova-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
}
.renova-slider-dots button {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #d7e3cc;
	padding: 0;
	cursor: pointer;
	transition: background-color .3s ease, transform .3s ease;
}
.renova-slider-dots button.is-active {
	background: #1c470f;
	transform: scale(1.25);
}

/* ---------- Premium Products page grid ---------- */
.renova-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}
@media (max-width: 780px) {
	.renova-product-grid { grid-template-columns: 1fr; }
}

.renova-product-card {
	position: relative;
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 10px 30px -18px rgba(20,40,20,.35);
	border: 1px solid #eef3ea;
	display: flex;
	flex-direction: column;
}
.renova-product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 26px 48px -20px rgba(20,65,32,.42);
}
.renova-product-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.renova-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.renova-product-card:hover .renova-product-card__media img {
	transform: scale(1.1);
}
.renova-product-card__num {
	position: absolute;
	top: 14px;
	right: 18px;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 42px;
	color: rgba(255,255,255,.85);
	text-shadow: 0 2px 12px rgba(0,0,0,.35);
	line-height: 1;
}
.renova-product-card__badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	background: #1c470f;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 999px;
	box-shadow: 0 8px 18px -6px rgba(20,65,32,.6);
	margin: 0;
}
.renova-product-card__body {
	padding: 24px 26px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.renova-product-card__body h3 {
	margin: 4px 0 10px;
}
.renova-product-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 12px 0 22px;
	padding: 0;
}
.renova-product-card__tags li {
	background: #f0f6ea;
	color: #1c470f;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: 999px;
	transition: background-color .3s ease, transform .3s ease;
}
.renova-product-card:hover .renova-product-card__tags li {
	background: #66b406;
	color: #fff;
}
.renova-product-card__body .wp-block-buttons {
	margin-top: auto;
}

.renova-pill-nav {
	gap: 10px;
	margin-bottom: 10px;
}
.renova-pill a,
.renova-pill a.wp-block-button__link {
	background-color: #fff !important;
	color: #1c470f !important;
	border: 1.5px solid #1c470f !important;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.renova-pill a:hover,
.renova-pill a.wp-block-button__link:hover {
	background-color: #1c470f !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.renova-process-grid {
	gap: 28px;
}
.renova-process-step {
	position: relative;
	padding: 10px 10px 10px 0;
}
.renova-step-num {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 44px;
	color: #e7f1dc;
	-webkit-text-stroke: 1.5px #66b406;
	margin: 0 0 6px;
	line-height: 1;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
	.r-reveal, .r-reveal.r-visible,
	.wp-block-button__link, .nature21-btn-more a, .nature21-round-btn a,
	main img, .renova-product-card, .nature21-involvebox {
		transition: none !important;
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* ---------- Footer contact info + opening hours ---------- */
.footer-contect-info .renova-contact-line {
	position: relative;
	margin: 0 0 11px;
	padding-left: 30px;
	line-height: 1.65;
}
.footer-contect-info .renova-contact-line::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 19px;
	height: 19px;
	background-color: #66b406;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 19px 19px;
	mask-size: 19px 19px;
}
.footer-contect-info .renova-contact-addr::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.footer-contect-info .renova-contact-phone::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}
.footer-contect-info .renova-contact-mail::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2.5'/%3E%3Cpath d='m22 7.5-10 6-10-6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2.5'/%3E%3Cpath d='m22 7.5-10 6-10-6'/%3E%3C/svg%3E");
}
.footer-contect-info .renova-contact-line a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(#66b406, #66b406);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size .35s cubic-bezier(.22,.61,.36,1), color .25s ease;
}
.footer-contect-info .renova-contact-line a:hover,
.footer-contect-info .renova-contact-line a:focus-visible {
	color: #1c470f;
	background-size: 100% 1px;
}

.renova-hours {
	margin-top: 24px;
	padding: 15px 18px 14px;
	border-radius: 16px;
	border: 1px solid #dbe8cf;
	background: linear-gradient(180deg, #f5faef 0%, #edf4e4 100%);
	box-shadow: 0 12px 26px -20px rgba(28,71,15,.6);
}
.renova-hours__head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 11px;
}
.renova-hours__icon {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: #66b406;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.2 1.9'/%3E%3C/svg%3E") center/18px 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5.2l3.2 1.9'/%3E%3C/svg%3E") center/18px 18px no-repeat;
}
.renova-hours__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #1c470f;
}
.renova-hours__status {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 9px;
	border-radius: 999px;
	border: 1px solid #dbe8cf;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	color: #3f7a0c;
}
.renova-hours__status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #66b406;
	box-shadow: 0 0 0 3px rgba(102,180,6,.18);
	animation: renova-hours-pulse 2.4s ease-in-out infinite;
}
.renova-hours__status.is-closed {
	color: #8c6316;
	border-color: #ecdfc4;
}
.renova-hours__status.is-closed::before {
	background: #d9a13c;
	box-shadow: 0 0 0 3px rgba(217,161,60,.18);
	animation: none;
}
@keyframes renova-hours-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(102,180,6,.18); }
	50%      { box-shadow: 0 0 0 5px rgba(102,180,6,.06); }
}

.renova-hours__list {
	margin: 0;
	display: grid;
	gap: 4px;
}
.renova-hours__row {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0;
	padding: 3px 8px;
	border-radius: 9px;
	transition: background-color .3s ease;
}
.renova-hours__row dt,
.renova-hours__row dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	white-space: nowrap;
}
.renova-hours__row dt {
	color: #4a5943;
}
.renova-hours__row dd {
	flex: 1 1 auto;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
	gap: 9px;
	font-weight: 600;
	color: #1c470f;
}
/* Dotted leader between the day range and the times. */
.renova-hours__row dd::before {
	content: "";
	flex: 1 1 auto;
	min-width: 14px;
	height: 0;
	align-self: center;
	border-bottom: 1px dotted #c4d7b3;
}
.renova-hours__row.is-closed dd {
	font-weight: 500;
	color: #8a9683;
}
.renova-hours__row.is-today {
	background: rgba(102,180,6,.11);
}
.renova-hours__row.is-today dt {
	color: #1c470f;
	font-weight: 600;
}

@media (max-width: 781px) {
	.renova-hours {
		margin-top: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.renova-hours__status::before {
		animation: none !important;
	}
	.footer-contect-info .renova-contact-line a {
		transition: none !important;
	}
}

/* ---------- Homepage: hero ribbon overlaps the banner image ----------
   The green "Grow Smarter" bar is pulled up so roughly half of it sits over
   the hero photo. Tune the lift with the custom property below. */
:root {
	--renova-ribbon-lift: 55px;
	--renova-cropwise-lift: 70px;
}
.nature21-banner .nature21-green-bar-area {
	position: relative;
	z-index: 1000; /* above .nature21-banner img, which sits at 999 */
	margin-top: calc(var(--renova-ribbon-lift) * -1);
}

/* ---------- Homepage: "Cropwise Solutions" sits higher on its photo ---------- */
.nature21-projects .nature21-projects-large-text {
	position: relative;
	z-index: 9;
	margin-top: calc(var(--renova-cropwise-lift) * -1);
}

@media (max-width: 1023px) {
	:root {
		--renova-ribbon-lift: 46px;
		--renova-cropwise-lift: 45px;
	}
}
@media (max-width: 781px) {
	:root {
		--renova-ribbon-lift: 38px;
		--renova-cropwise-lift: 28px;
	}
}

/* ---------- Hero ribbon: "Discover more" + circular arrow ----------
   Label sits directly on the green ribbon, followed by a white arrow disc. */
.renova-discover-btn a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 0 !important;
	margin: 0;
	width: auto !important;
	background: transparent !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
	text-decoration: none !important;
}
.renova-discover-btn a.wp-block-button__link::after {
	content: "";
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c470f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/19px 19px no-repeat;
	box-shadow: 0 6px 16px -8px rgba(12,45,20,.65);
	transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease;
}
.renova-discover-btn a.wp-block-button__link:hover::after,
.renova-discover-btn a.wp-block-button__link:focus-visible::after {
	transform: translateX(4px) scale(1.08);
	box-shadow: 0 10px 22px -8px rgba(12,45,20,.7);
}
.renova-discover-btn a.wp-block-button__link:hover {
	color: #fff !important;
	background: transparent !important;
}
@media (max-width: 781px) {
	.renova-discover-btn a.wp-block-button__link {
		gap: 11px;
		font-size: 16px;
	}
	.renova-discover-btn a.wp-block-button__link::after {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
		background-size: 17px 17px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.renova-discover-btn a.wp-block-button__link::after {
		transition: none !important;
		transform: none !important;
	}
}
