/* ==========================================================================
   AGRIAVA — theme styles (Bootstrap 5.3 layer)
   Palette: near-black ink, forest & brand greens, lime / harvest-yellow accents
   ========================================================================== */

:root {
	--ag-ink: #0a120b;
	--ag-ink-2: #111d12;
	--ag-ink-3: #182a19;
	--ag-forest: #163a1b;
	--ag-green-900: #214601;
	--ag-green: #258000;
	--ag-green-600: #1f6c00;
	--ag-leaf: #466d1c;
	--ag-lime: #afca0b;
	--ag-lime-600: #98b008;
	--ag-lime-300: #cbd886;
	--ag-sun: #e6e86b;
	--ag-cream: #f5f7ef;
	--ag-sand: #eaeedd;
	--ag-line: #dde3cf;
	--ag-text: #0b140d;
	--ag-muted: #566459;
	--ag-muted-dark: rgba(255, 255, 255, .68);

	--ag-radius: 1.25rem;
	--ag-radius-sm: .75rem;
	--ag-radius-lg: 2rem;
	--ag-shadow: 0 1.5rem 3rem -1.5rem rgba(10, 18, 11, .28);
	--ag-shadow-sm: 0 .5rem 1.5rem -.75rem rgba(10, 18, 11, .25);
	--ag-ease: cubic-bezier(.2, .7, .2, 1);
	--ag-header-h: 88px;

	--bs-body-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--bs-body-color: var(--ag-text);
	--bs-body-bg: #fff;
	--bs-body-font-size: 1.0625rem;
	--bs-body-line-height: 1.65;
	--bs-link-color: var(--ag-green);
	--bs-link-color-rgb: 37, 128, 0;
	--bs-link-hover-color: var(--ag-green-900);
	--bs-link-hover-color-rgb: 33, 70, 1;
	--bs-primary: var(--ag-green);
	--bs-primary-rgb: 37, 128, 0;
	--bs-border-color: var(--ag-line);
	--bs-focus-ring-color: rgba(175, 202, 11, .45);
	--bs-heading-color: var(--ag-text);
	--bs-emphasis-color: var(--ag-text);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ag-header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body:not(.ag-has-hero) .ag-main { padding-top: var(--ag-header-h); }
::selection { background: var(--ag-lime); color: var(--ag-ink); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
img { max-width: 100%; height: auto; }
a { transition: color .2s var(--ag-ease); }
:focus-visible { outline: 3px solid var(--ag-lime); outline-offset: 3px; }

.container-xxl { --bs-gutter-x: 2rem; max-width: 1360px; }
@media (min-width: 992px) { .container-xxl { --bs-gutter-x: 3rem; } }

.ag-skip { position: fixed; top: 1rem; left: 1rem; z-index: 2000; background: var(--ag-lime); color: var(--ag-ink); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.ag-overtitle {
	display: inline-flex; align-items: center; gap: .65rem;
	font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ag-green); margin-bottom: 1.1rem;
}
.ag-overtitle::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.ag-overtitle-lime { color: var(--ag-lime); }

.ag-h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.ag-h2-sm { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 700; line-height: 1.25; }
.ag-subtitle { font-size: 1.125rem; color: var(--ag-muted); max-width: 40rem; }
.ag-subtitle-lg { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--ag-text); line-height: 1.5; max-width: none; }
.ag-lead-strong { font-size: 1.25rem; font-weight: 600; color: var(--ag-text); line-height: 1.55; }
.ag-prose p { color: var(--ag-muted); }
.ag-prose-lg p { font-size: 1.1rem; }
.ag-prose h2, .ag-prose h3 { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn { --bs-btn-font-weight: 700; --bs-btn-border-radius: 999px; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .7rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; letter-spacing: -.005em; transition: all .25s var(--ag-ease); }
.btn-lg { --bs-btn-padding-x: 1.85rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 999px; }
.btn-sm { --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .5rem; --bs-btn-border-radius: 999px; }
.btn .bi { transition: transform .25s var(--ag-ease); }
.btn:hover .bi-arrow-right, .btn:hover .bi-arrow-up-right { transform: translateX(3px); }

.btn-ag-lime { --bs-btn-color: var(--ag-ink); --bs-btn-bg: var(--ag-lime); --bs-btn-border-color: var(--ag-lime); --bs-btn-hover-color: var(--ag-ink); --bs-btn-hover-bg: var(--ag-sun); --bs-btn-hover-border-color: var(--ag-sun); --bs-btn-active-color: var(--ag-ink); --bs-btn-active-bg: var(--ag-lime-600); --bs-btn-active-border-color: var(--ag-lime-600); --bs-btn-focus-shadow-rgb: 175, 202, 11; }
.btn-ag-green { --bs-btn-color: #fff; --bs-btn-bg: var(--ag-green); --bs-btn-border-color: var(--ag-green); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ag-green-900); --bs-btn-hover-border-color: var(--ag-green-900); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ag-ink); --bs-btn-active-border-color: var(--ag-ink); --bs-btn-focus-shadow-rgb: 37, 128, 0; }
.btn-ag-outline { --bs-btn-color: var(--ag-text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--ag-line); --bs-btn-hover-color: var(--ag-text); --bs-btn-hover-bg: var(--ag-sand); --bs-btn-hover-border-color: var(--ag-sand); --bs-btn-active-bg: var(--ag-line); --bs-btn-border-width: 2px; }
.btn-ag-ghost { --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .06); --bs-btn-border-color: rgba(255, 255, 255, .28); --bs-btn-hover-color: var(--ag-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-color: var(--ag-ink); --bs-btn-active-bg: var(--ag-cream); backdrop-filter: blur(6px); }

.ag-link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ag-green); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: .2rem; }
.ag-link-arrow .bi { transition: transform .25s var(--ag-ease); }
.ag-link-arrow:hover .bi { transform: translateX(4px); }
.ag-link-arrow-light { color: var(--ag-lime); }
.ag-link-arrow-light:hover { color: var(--ag-sun); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.ag-header {
	position: fixed; inset: 0 0 auto; z-index: 1030;
	transition: transform .35s var(--ag-ease);
}
.ag-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(10, 18, 11, .06);
	transition: background .35s var(--ag-ease), box-shadow .35s var(--ag-ease), border-color .35s var(--ag-ease);
}
.ag-header.is-menu-open,
.ag-header:has(.ag-offcanvas.showing, .ag-offcanvas.show, .ag-offcanvas.hiding) { z-index: 1045; transform: none; }
.ag-header .navbar { min-height: var(--ag-header-h); padding: 0; }
.ag-brand { padding: 0; margin-right: 2rem; display: inline-flex; align-items: center; position: relative; }
.ag-brand .ag-logo-img { height: 44px; width: auto; display: block; }
.ag-brand .ag-logo-light { display: none; }

.ag-nav { gap: .25rem; }
.ag-nav .nav-link { position: relative; font-weight: 600; font-size: .975rem; color: var(--ag-text); padding: .5rem .85rem !important; border-radius: 999px; }
.ag-nav .nav-link:hover { color: var(--ag-green); }
.ag-nav .nav-link.active, .ag-nav .current-menu-ancestor > .ag-nav-row > .nav-link { color: var(--ag-green); }
.ag-nav .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 2px; background: var(--ag-lime); border-radius: 2px; }
.ag-nav-row { display: flex; align-items: center; }
.ag-dropdown-toggle { border: 0; background: none; color: inherit; padding: .4rem .3rem; margin-left: -.55rem; line-height: 1; font-size: .7rem; color: var(--ag-muted); }
.ag-dropdown-toggle .bi { transition: transform .25s var(--ag-ease); display: inline-block; }
.ag-dropdown-toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }

.ag-dropdown { --bs-dropdown-border-radius: var(--ag-radius-sm); --bs-dropdown-border-color: transparent; --bs-dropdown-padding-y: .6rem; --bs-dropdown-padding-x: .6rem; --bs-dropdown-link-hover-bg: var(--ag-cream); --bs-dropdown-link-active-bg: var(--ag-cream); --bs-dropdown-link-active-color: var(--ag-green); --bs-dropdown-item-padding-y: .55rem; --bs-dropdown-item-padding-x: .85rem; --bs-dropdown-item-border-radius: .55rem; min-width: 18rem; box-shadow: var(--ag-shadow); }
.ag-dropdown .dropdown-item { font-weight: 600; font-size: .925rem; white-space: normal; display: flex; align-items: center; gap: .6rem; }
.ag-dropdown .dropdown-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ag-lime); flex-shrink: 0; transition: transform .2s; }
.ag-dropdown .dropdown-item:hover::before { transform: scale(1.5); }

.ag-header-cta { margin-left: 1rem; }

/* Transparent header over dark heroes */
.ag-has-hero .ag-header:not(.is-scrolled)::before { background: transparent; border-color: transparent; backdrop-filter: none; }
.ag-has-hero .ag-header:not(.is-scrolled) .ag-logo-light { display: block; }
.ag-has-hero .ag-header:not(.is-scrolled) .ag-logo-dark { display: none; }
@media (min-width: 1200px) {
	.ag-has-hero .ag-header:not(.is-scrolled) .ag-nav .nav-link,
	.ag-has-hero .ag-header:not(.is-scrolled) .ag-dropdown-toggle { color: #fff; }
	.ag-has-hero .ag-header:not(.is-scrolled) .ag-nav .nav-link:hover,
	.ag-has-hero .ag-header:not(.is-scrolled) .ag-nav .nav-link.active { color: var(--ag-lime); }
}
.ag-header.is-scrolled::before { box-shadow: 0 10px 30px -18px rgba(10, 18, 11, .35); }
.ag-header.is-hidden { transform: translateY(-100%); }

/* Burger */
.ag-burger { margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ag-ink); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ag-burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ag-ease); }
.ag-burger span:nth-child(2) { width: 12px; margin-left: 6px; background: var(--ag-lime); }
.ag-has-hero .ag-header:not(.is-scrolled) .ag-burger { background: rgba(255, 255, 255, .12); }

@media (min-width: 1200px) {
	.ag-offcanvas .offcanvas-body { display: flex; align-items: center; flex-grow: 1; justify-content: flex-end; }
	.ag-nav { flex-direction: row; }
	.ag-has-dropdown { position: relative; }
	.ag-has-dropdown > .ag-dropdown { position: absolute; top: calc(100% + .5rem); left: 0; margin: 0; display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ag-ease), transform .2s var(--ag-ease), visibility .2s; }
	.ag-has-dropdown > .ag-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }
	.ag-has-dropdown:hover > .ag-dropdown, .ag-has-dropdown:focus-within > .ag-dropdown, .ag-has-dropdown > .ag-dropdown.show { opacity: 1; visibility: visible; transform: none; }
	.ag-has-dropdown:hover .ag-dropdown-toggle .bi { transform: rotate(180deg); }
}

@media (max-width: 1199.98px) {
	:root { --ag-header-h: 76px; }
	.ag-brand .ag-logo-img { height: 38px; }
	.ag-offcanvas { --bs-offcanvas-width: min(420px, 100vw); --bs-offcanvas-bg: var(--ag-ink); --bs-offcanvas-color: #fff; --bs-offcanvas-padding-x: 1.75rem; --bs-offcanvas-padding-y: 1.5rem; background-color: var(--ag-ink); color: #fff; height: 100vh; height: 100dvh; max-height: none; }
	.ag-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.ag-offcanvas .offcanvas-header .ag-logo-img { height: 38px; width: auto; }
	.ag-offcanvas .offcanvas-body { display: flex; flex-direction: column; gap: 1.5rem; }
	.ag-offcanvas .ag-nav .nav-link { color: #fff; font-size: 1.35rem; font-weight: 700; padding: .65rem 0 !important; }
	.ag-offcanvas .ag-nav .nav-link.active::after { display: none; }
	.ag-offcanvas .ag-nav .nav-link.active { color: var(--ag-lime); }
	.ag-offcanvas .ag-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.ag-offcanvas .ag-nav-row { justify-content: space-between; }
	.ag-offcanvas .ag-dropdown-toggle { color: #fff; font-size: 1rem; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); }
	.ag-offcanvas .ag-dropdown { position: static !important; transform: none !important; background: transparent; box-shadow: none; padding: 0 0 1rem; min-width: 0; }
	.ag-offcanvas .ag-dropdown .dropdown-item { color: rgba(255, 255, 255, .75); padding-left: 0; }
	.ag-offcanvas .ag-dropdown .dropdown-item:hover, .ag-offcanvas .ag-dropdown .dropdown-item:focus { background: transparent; color: var(--ag-lime); }
	.ag-header-cta { margin: 0; align-self: flex-start; }
	.ag-offcanvas-foot { margin-top: auto; padding-top: 1rem; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.ag-section { padding: clamp(4.5rem, 3rem + 5vw, 8rem) 0; position: relative; }
.ag-section-cream { background: var(--ag-cream); }
.ag-section-dark { background: var(--ag-ink); color: #fff; overflow: hidden; }
.ag-section-dark::before { content: ""; position: absolute; width: 60rem; height: 60rem; right: -20rem; top: -30rem; background: radial-gradient(circle, rgba(37, 128, 0, .35), transparent 60%); pointer-events: none; }
.ag-section-dark .container-xxl { position: relative; }
.ag-section-dark .ag-h2, .ag-section-dark h3 { color: #fff; }
.ag-section-dark .ag-subtitle { color: var(--ag-muted-dark); }

/* Hero (home) */
.ag-hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	padding: calc(var(--ag-header-h) + 4rem) 0 5rem; color: #fff; overflow: hidden;
	background:
		radial-gradient(60rem 40rem at 85% 10%, rgba(175, 202, 11, .16), transparent 60%),
		radial-gradient(50rem 40rem at 0% 100%, rgba(37, 128, 0, .45), transparent 60%),
		linear-gradient(160deg, var(--ag-forest) 0%, var(--ag-ink) 60%);
}
.ag-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.ag-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 900px); }
.ag-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; mask-image: linear-gradient(to right, transparent 0%, #000 45%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%); }
.ag-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ag-ink) 0%, transparent 45%); }
.ag-hero .container-xxl { z-index: 2; }
.ag-hero-title { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; color: #fff; margin-bottom: 0; text-wrap: balance; }
.ag-hero-lead { margin-top: 3rem; }
.ag-hero-lead p { color: rgba(255, 255, 255, .78); font-size: 1.075rem; margin: 0; }
.ag-rule { display: block; width: 100%; max-width: 120px; height: 2px; background: linear-gradient(90deg, var(--ag-lime), transparent); margin-bottom: 1.25rem; }
.ag-scroll-cue { position: absolute; right: calc(var(--bs-gutter-x) * .5); bottom: 0; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; animation: ag-bob 2.4s ease-in-out infinite; }
.ag-scroll-cue:hover { background: var(--ag-lime); border-color: var(--ag-lime); color: var(--ag-ink); }
@keyframes ag-bob { 50% { transform: translateY(6px); } }
@media (max-width: 991.98px) {
	.ag-hero-bg { width: 100%; opacity: .45; }
	.ag-hero-bg img { mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); }
	.ag-scroll-cue { display: none; }
}

/* Page hero (inner pages) */
.ag-page-hero {
	position: relative; color: #fff; overflow: hidden;
	padding: calc(var(--ag-header-h) + clamp(4rem, 3rem + 4vw, 7rem)) 0 clamp(3.5rem, 2.5rem + 3vw, 6rem);
	background: linear-gradient(160deg, var(--ag-forest) 0%, var(--ag-ink) 65%);
}
body:not(.ag-has-hero) .ag-page-hero { padding-top: clamp(4rem, 3rem + 4vw, 7rem); }
.ag-page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; mix-blend-mode: luminosity; }
.ag-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ag-ink) 15%, rgba(10, 18, 11, .55) 60%, rgba(10, 18, 11, .2)), linear-gradient(to top, var(--ag-ink), transparent 50%); }
.ag-page-hero .container-xxl { z-index: 2; }
.ag-page-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; color: #fff; margin-bottom: 1.5rem; max-width: 18ch; text-wrap: balance; }
.ag-page-lead { font-size: 1.125rem; color: rgba(255, 255, 255, .78); max-width: 44rem; margin: 0; }
.ag-page-hero--compact .ag-page-title { margin-bottom: 0; }

/* Values strip */
.ag-values { position: relative; z-index: 3; margin-top: -3.5rem; }
.ag-values .row { background: #fff; border-radius: var(--ag-radius); box-shadow: var(--ag-shadow); overflow: hidden; }
.ag-values-flat { margin-top: 0; padding-top: 3rem; }
.ag-values-flat .row { box-shadow: none; border: 1px solid var(--ag-line); }
.ag-value { display: flex; gap: 1.1rem; align-items: flex-start; padding: 2rem 2rem; height: 100%; transition: background .3s var(--ag-ease); }
.ag-values .col-md-4 + .col-md-4 .ag-value { border-left: 1px solid var(--ag-line); }
@media (max-width: 767.98px) { .ag-values .col-md-4 + .col-md-4 .ag-value { border-left: 0; border-top: 1px solid var(--ag-line); } }
.ag-value:hover { background: var(--ag-cream); }
.ag-value h5 { font-size: 1.15rem; margin-bottom: .25rem; }
.ag-value p { margin: 0; color: var(--ag-muted); font-size: .975rem; }
.ag-value-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-ink); color: var(--ag-lime); font-size: 1.4rem; }

/* Media */
.ag-media { position: relative; margin: 0; border-radius: var(--ag-radius-lg); overflow: hidden; background: var(--ag-sand); }
.ag-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ag-ease); }
.ag-media:hover img { transform: scale(1.03); }
.ag-media-tall { aspect-ratio: 509 / 640; }
.ag-media-sustain { aspect-ratio: 685 / 640; background: transparent; }
.ag-media-badge { position: absolute; left: 1.5rem; bottom: 1.5rem; width: 72px; height: 72px; border-radius: 50%; background: var(--ag-lime); color: var(--ag-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: var(--ag-shadow-sm); }
@media (min-width: 992px) { .ag-sticky { position: sticky; top: calc(var(--ag-header-h) + 2rem); } }

/* Features */
.ag-feature { height: 100%; padding: 1.75rem; border-radius: var(--ag-radius); background: var(--ag-cream); border: 1px solid transparent; transition: border-color .3s, transform .3s var(--ag-ease), background .3s; }
.ag-feature:hover { background: #fff; border-color: var(--ag-line); transform: translateY(-4px); box-shadow: var(--ag-shadow-sm); }
.ag-feature h5 { font-size: 1.15rem; margin: 1.1rem 0 .5rem; }
.ag-feature p { color: var(--ag-muted); margin: 0; font-size: .975rem; }
.ag-feature-icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-green); color: #fff; font-size: 1.3rem; }

/* Service tiles (home) */
.ag-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 1.75rem; border-radius: var(--ag-radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ag-ink-3); }
.ag-tile-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .9s var(--ag-ease); }
.ag-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 18, 11, .1) 20%, rgba(10, 18, 11, .92) 100%); transition: background .4s var(--ag-ease); }
.ag-tile:hover { color: #fff; }
.ag-tile:hover .ag-tile-img { transform: scale(1.07); }
.ag-tile:hover::before { background: linear-gradient(180deg, rgba(37, 128, 0, .25) 0%, rgba(10, 18, 11, .95) 100%); }
.ag-tile-num { position: absolute; top: 1.5rem; left: 1.75rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--ag-lime); }
.ag-tile-title { font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; padding-right: 3rem; }
.ag-tile-arrow, .ag-product-arrow { position: absolute; right: 1.5rem; bottom: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; transition: all .3s var(--ag-ease); }
.ag-tile:hover .ag-tile-arrow, .ag-product:hover .ag-product-arrow { background: var(--ag-lime); color: var(--ag-ink); transform: rotate(45deg); }

/* Product grid (home) */
.ag-products-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199.98px) { .ag-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .ag-products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
.ag-product { position: relative; display: flex; align-items: flex-end; aspect-ratio: 2 / 2.6; padding: 1.5rem; border-radius: var(--ag-radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--ag-ink-3); }
.ag-products-grid > .ag-product:nth-child(1), .ag-products-grid > .ag-product:nth-child(6) { grid-row: span 1; }
.ag-product-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .9s var(--ag-ease); }
.ag-product::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(10, 18, 11, .88)); }
.ag-product:hover { color: #fff; }
.ag-product:hover .ag-product-img { transform: scale(1.08); }
.ag-product-title { font-size: 1.2rem; font-weight: 700; line-height: 1.2; padding-right: 3rem; }
@media (max-width: 575.98px) { .ag-product { padding: 1rem; } .ag-product-title { font-size: 1rem; padding-right: 0; } .ag-product-arrow { display: none; } }

/* Checklist */
.ag-checklist { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.ag-checklist li { display: flex; gap: 1.1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ag-line); }
.ag-checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.ag-checklist h5 { font-size: 1.125rem; margin-bottom: .35rem; }
.ag-checklist p { color: var(--ag-muted); margin: 0; }
.ag-checklist-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-sand); color: var(--ag-green); font-size: 1.25rem; }

/* News */
.ag-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.ag-news-card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--ag-radius); overflow: hidden; transition: transform .35s var(--ag-ease), box-shadow .35s var(--ag-ease); }
.ag-news-card:hover { transform: translateY(-6px); box-shadow: var(--ag-shadow); }
.ag-news-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ag-sand); }
.ag-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ag-ease); }
.ag-news-card:hover .ag-news-img img { transform: scale(1.05); }
.ag-news-body { padding: 1.75rem; }
.ag-news-date { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; color: var(--ag-green); margin-bottom: .85rem; }
.ag-news-body h4 { font-size: 1.3rem; margin-bottom: .65rem; }
.ag-news-body p { color: var(--ag-muted); margin: 0; font-size: .975rem; }

/* Chips */
.ag-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ag-chip { display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: 999px; background: var(--ag-cream); border: 1px solid var(--ag-line); color: var(--ag-text); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s var(--ag-ease); }
.ag-chip:hover { background: var(--ag-ink); border-color: var(--ag-ink); color: var(--ag-lime); }

/* Product cards (products page) */
.ag-card-media { height: 100%; display: flex; border-radius: var(--ag-radius); overflow: hidden; background: var(--ag-cream); border: 1px solid transparent; transition: all .35s var(--ag-ease); }
.ag-card-media:hover { background: #fff; border-color: var(--ag-line); box-shadow: var(--ag-shadow); }
.ag-card-media-img { position: relative; flex: 0 0 40%; min-height: 260px; background-size: cover; background-position: center; }
.ag-card-num { position: absolute; top: 1rem; left: 1rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ag-lime); color: var(--ag-ink); font-weight: 800; font-size: .8rem; letter-spacing: .06em; }
.ag-card-media-body { padding: 2rem; align-self: center; }
.ag-card-media-body h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.ag-card-media-body p { color: var(--ag-muted); margin: 0; }
@media (max-width: 575.98px) { .ag-card-media { flex-direction: column; } .ag-card-media-img { flex-basis: auto; min-height: 220px; } }

/* CTA band */
.ag-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-radius: var(--ag-radius-lg); color: #fff; background: radial-gradient(40rem 20rem at 100% 0, rgba(175, 202, 11, .25), transparent 60%), linear-gradient(135deg, var(--ag-green-900), var(--ag-ink)); }
.ag-cta-band-text { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; margin: 0; max-width: 34ch; line-height: 1.3; }

/* Services list */
.ag-service-list { display: grid; gap: 1.5rem; }
.ag-service { padding: 1.5rem; border-radius: var(--ag-radius-lg); background: var(--ag-cream); transition: background .35s var(--ag-ease), box-shadow .35s var(--ag-ease); }
.ag-service:hover { background: #fff; box-shadow: var(--ag-shadow); }
.ag-service-img { aspect-ratio: 4 / 3; border-radius: var(--ag-radius); background-size: cover; background-position: center; }
.ag-service-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.ag-service-num { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ag-green); }
.ag-service-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-ink); color: var(--ag-lime); font-size: 1.4rem; }
.ag-service h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin-bottom: .85rem; }
.ag-service p { color: var(--ag-muted); font-size: 1.075rem; margin: 0; max-width: 46rem; }
@media (min-width: 992px) { .ag-service { padding: 2rem 3rem 2rem 2rem; } }

/* Pillars (sustainability) */
.ag-pillar { position: relative; height: 100%; padding: 2.25rem; border-radius: var(--ag-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: all .35s var(--ag-ease); }
.ag-pillar:hover { background: rgba(175, 202, 11, .08); border-color: rgba(175, 202, 11, .4); transform: translateY(-6px); }
.ag-pillar-icon { width: 60px; height: 60px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-lime); color: var(--ag-ink); font-size: 1.6rem; margin-bottom: 2rem; }
.ag-pillar-num { position: absolute; top: 2.25rem; right: 2.25rem; font-weight: 800; color: rgba(255, 255, 255, .25); letter-spacing: .1em; }
.ag-pillar h3 { font-size: 1.4rem; margin-bottom: .85rem; }
.ag-pillar p { color: var(--ag-muted-dark); margin: 0; }

/* Quote */
.ag-quote { position: relative; margin: 2.5rem 0 0; padding: 2.25rem 2.25rem 2.25rem 2.5rem; border-radius: var(--ag-radius); background: var(--ag-ink); color: #fff; overflow: hidden; }
.ag-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--ag-lime), var(--ag-green)); }
.ag-quote .bi { font-size: 2.5rem; color: var(--ag-lime); line-height: 1; display: block; margin-bottom: .5rem; }
.ag-quote p { font-size: 1.15rem; line-height: 1.6; margin: 0; color: rgba(255, 255, 255, .88); }

/* Offices */
.ag-office { height: 100%; padding: 2rem; border-radius: var(--ag-radius); border: 1px solid var(--ag-line); background: #fff; transition: all .35s var(--ag-ease); }
.ag-office:hover { border-color: var(--ag-green); box-shadow: var(--ag-shadow); transform: translateY(-4px); }
.ag-office-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; }
.ag-office-head h3 { font-size: 1.4rem; margin: 0; }
.ag-office-icon { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-lime); color: var(--ag-ink); font-size: 1.2rem; }
.ag-office-company { font-weight: 800; font-size: .95rem; letter-spacing: .02em; margin-bottom: .85rem; }
.ag-office-line { display: flex; gap: .65rem; color: var(--ag-muted); margin-bottom: .5rem; }
.ag-office-line .bi { color: var(--ag-green); margin-top: .15rem; }
.ag-office-line a { color: var(--ag-text); font-weight: 600; text-decoration: none; }
.ag-office-line a:hover { color: var(--ag-green); }

.ag-mini-contacts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem; }
.ag-mini-contacts li { display: flex; align-items: center; gap: .75rem; }
.ag-mini-contacts .bi { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ag-green); }
.ag-mini-contacts a { color: var(--ag-text); font-weight: 700; text-decoration: none; }
.ag-mini-contacts a:hover { color: var(--ag-green); }

/* Forms */
.ag-form-card { padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-radius: var(--ag-radius-lg); background: #fff; box-shadow: var(--ag-shadow); }
.form-control, .form-select { border-radius: var(--ag-radius-sm); border-color: var(--ag-line); background-color: var(--ag-cream); }
.form-control:focus, .form-select:focus { background-color: #fff; border-color: var(--ag-green); box-shadow: 0 0 0 .25rem rgba(175, 202, 11, .3); }
.form-floating > label { color: var(--ag-muted); }
.form-check-input:checked { background-color: var(--ag-green); border-color: var(--ag-green); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(175, 202, 11, .3); border-color: var(--ag-green); }
.ag-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ag-alert { border-radius: var(--ag-radius-sm); border: 0; font-weight: 600; }
.ag-alert .bi { font-size: 1.2rem; }
[data-ag-form].is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* Join block */
.ag-join { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0 clamp(4rem, 3rem + 4vw, 7rem); }
.ag-join-card { position: relative; border-radius: var(--ag-radius-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--ag-ink); }
.ag-join-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--ag-join-bg); background-size: cover; background-position: 70% center; }
.ag-join-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 16, 10, .9) 0%, rgba(8, 16, 10, .78) 46%, rgba(8, 16, 10, .62) 100%); }
.ag-join-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: center; width: 100%; padding: clamp(2.5rem, 1.75rem + 3vw, 4.25rem) clamp(2.25rem, 1.5rem + 3vw, 4.5rem); }
.ag-join-title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: #fff; margin-bottom: 1rem; }
.ag-join-text { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 36rem; margin-bottom: 0; }
.ag-join-form { width: 100%; }
.ag-join-form .ag-subscribe { width: 100%; }
.ag-join-form .ag-subscribe-row,
.ag-join-form .ag-subscribe .ag-alert { max-width: none; }
.ag-subscribe-row { display: flex; gap: .5rem; padding: .4rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); max-width: 34rem; backdrop-filter: blur(10px); }
.ag-subscribe-row .form-control { background: transparent; border: 0; color: #fff; padding-left: 1.25rem; border-radius: 999px; min-width: 0; flex: 1; }
.ag-subscribe-row .form-control::placeholder { color: rgba(255, 255, 255, .6); }
.ag-subscribe-row .form-control:focus { box-shadow: none; background: transparent; color: #fff; }
.ag-subscribe-row .btn { flex-shrink: 0; white-space: nowrap; }
.ag-subscribe .ag-alert { max-width: 34rem; }
@media (max-width: 991.98px) {
	.ag-join-body { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) { .ag-subscribe-row { flex-direction: column; border-radius: var(--ag-radius); } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.ag-footer { background: var(--ag-ink); color: rgba(255, 255, 255, .7); font-size: .975rem; position: relative; overflow: hidden; }
.ag-footer::before { content: ""; position: absolute; left: -10rem; bottom: -25rem; width: 50rem; height: 50rem; background: radial-gradient(circle, rgba(37, 128, 0, .28), transparent 60%); pointer-events: none; }
.ag-footer .container-xxl { position: relative; }
.ag-footer-top { padding: 5rem 0 3.5rem; }
.ag-footer-brand .ag-logo-img { height: 46px; width: auto; }
.ag-footer-text { margin-top: 1rem; max-width: 26rem; }
.ag-footer-title { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1.4rem; }
.ag-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ag-footer .menu a, .ag-footer-offices a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.ag-footer .menu a:hover, .ag-footer-offices a:hover { color: var(--ag-lime); }
.ag-footer .menu .current-menu-item > a { color: #fff; }
.ag-footer-offices { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.ag-footer-offices li { display: grid; gap: .15rem; }
.ag-footer-office-country { color: #fff; font-weight: 700; }
.ag-footer-offices .bi { margin-right: .45rem; color: var(--ag-lime); }
.ag-footer-widget + .ag-footer-widget { margin-top: 2rem; }
.ag-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.ag-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0; }
.ag-legal a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.ag-legal a:hover { color: var(--ag-lime); }
.ag-to-top { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: all .25s var(--ag-ease); }
.ag-to-top:hover { background: var(--ag-lime); color: var(--ag-ink); transform: translateY(-3px); }

.ag-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.ag-social-link { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: all .25s var(--ag-ease); }
.ag-social-link:hover { background: var(--ag-lime); color: var(--ag-ink); }

/* --------------------------------------------------------------------------
   Misc templates
   -------------------------------------------------------------------------- */
.ag-404 { min-height: 80vh; display: flex; align-items: center; }
.ag-404-code { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: clamp(8rem, 20vw, 20rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(175, 202, 11, .25); pointer-events: none; }
.ag-result-card { display: block; height: 100%; padding: 2rem; border-radius: var(--ag-radius); background: var(--ag-cream); color: var(--ag-text); text-decoration: none; transition: all .3s var(--ag-ease); }
.ag-result-card:hover { background: #fff; color: var(--ag-text); box-shadow: var(--ag-shadow); }
.ag-result-card p { color: var(--ag-muted); }
.ag-result-type { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ag-green); }
.ag-sidebar .ag-side-widget { padding: 1.75rem; border-radius: var(--ag-radius); background: var(--ag-cream); margin-bottom: 1.5rem; }
.ag-side-title { font-size: 1.05rem; margin-bottom: 1rem; }
.ag-pagination .nav-links { display: flex; gap: .5rem; justify-content: center; }
.ag-pagination .page-numbers { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ag-cream); color: var(--ag-text); text-decoration: none; font-weight: 700; }
.ag-pagination .page-numbers.current, .ag-pagination .page-numbers:hover { background: var(--ag-ink); color: var(--ag-lime); }

/* WordPress core */
.alignwide { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: .875rem; color: var(--ag-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* --------------------------------------------------------------------------
   Reveal on scroll (enabled by JS; content visible without JS)
   -------------------------------------------------------------------------- */
.ag-js [data-ag-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ag-ease), transform .8s var(--ag-ease); }
.ag-js [data-ag-reveal].is-visible { opacity: 1; transform: none; }
.ag-js [data-ag-delay="1"] { transition-delay: .08s; }
.ag-js [data-ag-delay="2"] { transition-delay: .16s; }
.ag-js [data-ag-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ag-js [data-ag-reveal] { opacity: 1; transform: none; }
}

/* Hero visual (brand collage) */
.ag-hero-visual { position: relative; max-width: 560px; margin-left: auto; }
.ag-hero-visual::before { content: ""; position: absolute; inset: 12% -8% -6% 18%; background: radial-gradient(closest-side, rgba(175, 202, 11, .35), transparent); filter: blur(30px); z-index: -1; }
.ag-hero-visual img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
@media (max-width: 991.98px) { .ag-hero-visual { max-width: 420px; margin: 0 auto; } }

/* Collage images from the brand kit: keep them whole */
.ag-media-tall, .ag-media-sustain { aspect-ratio: auto; background: transparent; border-radius: 0; overflow: visible; }
.ag-media-tall img, .ag-media-sustain img { height: auto; object-fit: contain; }
.ag-media-tall { max-width: 509px; }
.ag-news-img { aspect-ratio: 2 / 1; }

/* Gutters never wider than the container padding (no sideways scroll on phones) */
@media (max-width: 991.98px) { .g-5, .gx-5 { --bs-gutter-x: 2rem; } }

/* Mobile refinements */
@media (max-width: 575.98px) {
	.ag-tile { aspect-ratio: 4 / 3; }
	.ag-value { padding: 1.5rem; }
	.ag-hero { padding-bottom: 6rem; }
	.ag-hero-lead { margin-top: 2rem; }
	.ag-join-body { padding: 2rem 1.5rem; }
	.ag-service { padding: 1rem; }
	.ag-service-num { font-size: 2.25rem; }
}
