/* ==========================================================================
   Agro Sphere Core — front-end styles
   Every rule is scoped under .asc so it cannot change the active theme's look,
   and is specific enough that theme styles (.entry-content h2, ul, a ...) do not break it.
   Colours come from the logo: deep green, green, lime leaf, orange.
   ========================================================================== */

@font-face {
	font-family: 'Hind Siliguri';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/HindSiliguri-Regular.woff') format('woff');
}
@font-face {
	font-family: 'Hind Siliguri';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/HindSiliguri-Medium.woff') format('woff');
}
@font-face {
	font-family: 'Hind Siliguri';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/HindSiliguri-SemiBold.woff') format('woff');
}
@font-face {
	font-family: 'Hind Siliguri';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/HindSiliguri-Bold.woff') format('woff');
}

/* ---------- Root, tokens, resets ---------- */
.asc {
	--deep: #14451a;
	--deep-2: #0e2f13;
	--green: #3e9e2f;
	--lime: #8bd04a;
	--orange: #f7841a;
	--orange-soft: #ffb35c;
	--cream: #fbf7ea;
	--paper: #fffdf6;
	--ink: #14231a;
	--muted: #4b5b45;
	--line: #e6dfc7;

	font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
.asc *,
.asc *::before,
.asc *::after { box-sizing: border-box; }

.asc ul { margin: 0; padding: 0; list-style: none; }
.asc li { margin: 0; padding: 0; }
.asc p { margin: 0; }
/* Themes often style ".entry-content ul/li/a" with the same weight as the resets above, so repeat them with classes. */
.asc .asc-ticker__set,
.asc .asc-stats__card { margin: 0; list-style: none; }
.asc .asc-ticker__item,
.asc .asc-stat { margin: 0; list-style: none; }
.asc .asc-btn,
.asc .asc-btn:hover,
.asc .asc-btn:focus { text-decoration: none; box-shadow: none; }
.asc img,
.asc svg,
.asc video { max-width: 100%; }
.asc svg { display: block; }
.asc a,
.asc a:hover,
.asc a:focus { color: inherit; text-decoration: none; box-shadow: none; border-bottom: 0; }
.asc a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Full-width bands even inside a narrow theme content column */
.asc.asc-bleed {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
body:has(.asc-bleed) { overflow-x: hidden; }

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

/* ---------- Buttons ---------- */
.asc .asc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.asc .asc-btn:hover { transform: translateY(-2px); }
.asc .asc-btn--orange,
.asc .asc-btn--orange:hover,
.asc .asc-btn--orange:focus { background: var(--orange); color: var(--ink); }
.asc .asc-btn--orange:hover { background: #ff9632; }
.asc .asc-btn--ghost { border-color: #fff; background: transparent; color: #fff; }
.asc .asc-btn--ghost:hover,
.asc .asc-btn--ghost:focus { background: #fff; color: var(--deep); }

/* ---------- Price ticker ---------- */
.asc.asc-ticker {
	background: var(--ink);
	color: var(--cream);
	font-size: 15px;
	line-height: 1.5;
}
.asc .asc-ticker__in { display: flex; align-items: center; gap: 16px; padding-block: 9px; }
.asc .asc-ticker__label {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-right: 16px;
	border-right: 1px solid rgba(255, 255, 255, .22);
	color: var(--orange-soft);
	font-weight: 700;
}
.asc .asc-ticker__track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.asc .asc-ticker__move { display: flex; width: max-content; animation: asc-marquee 38s linear infinite; }
.asc .asc-ticker__track:hover .asc-ticker__move { animation-play-state: paused; }
.asc .asc-ticker__set { display: flex; gap: 36px; padding: 0 36px 0 0; }
.asc .asc-ticker__item { white-space: nowrap; }
.asc .asc-ticker__item b { margin-left: 8px; color: #ffd08a; font-weight: 700; }

/* ---------- Hero ---------- */
.asc.asc-hero {
	isolation: isolate;
	overflow: hidden;
	padding: 72px 0 120px;
	color: #fff;
	background:
		radial-gradient(900px 520px at 82% 18%, rgba(62, 158, 47, .55), transparent 62%),
		linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 78%);
}
.asc.asc-hero--with-stats { padding-bottom: 170px; }

.asc .asc-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.asc.asc-hero.has-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(14, 47, 19, .55), rgba(14, 47, 19, .88));
}

.asc .asc-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 48px;
}

.asc .asc-hero__badge {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 18px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 16px;
}
.asc .asc-hero__badge i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--orange);
	animation: asc-pulse 2s infinite;
}
.asc .asc-hero__title {
	margin: 22px 0 0;
	padding: 0;
	border: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(2.6rem, 6.4vw, 4.8rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
}
.asc .asc-hero__title span { display: block; color: var(--lime); }
.asc .asc-hero__text {
	max-width: 36em;
	margin: 22px 0 0;
	color: #ede6d0;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.7;
}
.asc .asc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.asc .asc-hero__art {
	position: relative;
	width: 100%;
	max-width: 480px;
	margin-inline: auto;
	aspect-ratio: 1;
}
.asc .asc-sphere { width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.asc .asc-orbit { transform-origin: 200px 200px; animation: asc-spin 48s linear infinite; }
.asc .asc-sun { transform-origin: 272px 156px; animation: asc-sun 6s ease-in-out infinite alternate; }
.asc .asc-stalk {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: asc-sway 3.2s ease-in-out infinite alternate;
	animation-delay: var(--d, 0s);
}

.asc .asc-leaf {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px 10px 14px;
	border-radius: 6px 26px 6px 26px;
	background: var(--paper);
	color: var(--deep);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
	animation: asc-float 5s ease-in-out infinite alternate;
}
.asc .asc-leaf i { width: 10px; height: 10px; border-radius: 50% 0 50% 0; background: var(--green); }
.asc .asc-leaf--1 { left: -4%; top: 12%; }
.asc .asc-leaf--2 { right: -4%; top: 46%; animation-delay: -1.6s; }
.asc .asc-leaf--3 { left: 6%; bottom: 6%; animation-delay: -3.2s; }

.asc .asc-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 90px;
	max-width: none;
	color: var(--cream);
}

@media (max-width: 900px) {
	.asc.asc-hero { padding: 48px 0 100px; }
	.asc.asc-hero--with-stats { padding-bottom: 150px; }
	.asc .asc-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.asc .asc-hero__art { order: -1; max-width: 340px; }
}
@media (max-width: 560px) {
	.asc .asc-leaf { padding: 8px 12px; font-size: 13px; }
	.asc .asc-leaf--1 { left: 0; }
	.asc .asc-leaf--2 { right: 0; }
}

/* ---------- Counter strip ---------- */
.asc.asc-stats { z-index: 2; padding: 24px 0; }
.asc-hero--with-stats + .asc-stats { margin-top: -84px; padding-top: 0; }

.asc .asc-stats__card {
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: 0 24px 50px rgba(20, 69, 26, .14);
}
.asc .asc-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 28px 20px 24px;
	text-align: center;
}
.asc .asc-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 40px;
	height: 4px;
	margin-left: -20px;
	border-radius: 0 0 4px 4px;
	background: var(--orange);
}
.asc .asc-stat + .asc-stat { border-left: 1px solid var(--line); }
.asc .asc-stat__num {
	color: var(--deep);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
}
.asc .asc-stat__label { color: var(--muted); font-size: 17px; }

@media (max-width: 760px) {
	.asc .asc-stats__card { grid-template-columns: repeat(2, 1fr); }
	.asc .asc-stat:nth-child(3) { border-left: 0; }
	.asc .asc-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Animations ---------- */
@keyframes asc-marquee { to { transform: translateX(-50%); } }
@keyframes asc-spin { to { transform: rotate(360deg); } }
@keyframes asc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(247, 132, 26, .6); }
	70% { box-shadow: 0 0 0 10px rgba(247, 132, 26, 0); }
	100% { box-shadow: 0 0 0 0 rgba(247, 132, 26, 0); }
}
@keyframes asc-sway { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
@keyframes asc-float { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes asc-sun { from { transform: scale(1); } to { transform: scale(1.07); } }

@media (prefers-reduced-motion: reduce) {
	.asc *,
	.asc *::before,
	.asc *::after { animation: none !important; transition: none !important; }
	.asc .asc-ticker__track { overflow-x: auto; }
	.asc .asc-ticker__set[aria-hidden="true"] { display: none; }
}
