/* ==========================================================================
   Agri trade theme — "Polder" design system

   Deep forest green, meadow green and a harvest-gold accent; Fraunces for
   display type, Inter for everything else. Square-edged editorial layout:
   full-bleed photography, hairline rules, dark feature bands.
   ========================================================================== */

:root {
	--c-ink: #10231F;
	--c-forest: #17332F;
	--c-forest-2: #214640;
	--c-meadow: #3C7F55;
	--c-leaf: #5FA36F;
	--c-sun: #E0A43B;
	--c-sun-deep: #C98A22;
	--c-paper: #FFFFFF;
	--c-mist: #F2F5F1;
	--c-sand: #F7F3EA;
	--c-line: #DCE3DB;
	--c-line-dark: rgba(255, 255, 255, 0.14);
	--c-text: #1C2A26;
	--c-muted: #5B6863;

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--r-sm: 4px;
	--r-md: 8px;
	--r-lg: 14px;
	--wrap: 1240px;
	--gutter: clamp(1rem, 3.5vw, 2rem);
	--shadow: 0 1px 2px rgba(16, 35, 31, 0.06), 0 8px 28px rgba(16, 35, 31, 0.08);
	--shadow-lift: 0 2px 4px rgba(16, 35, 31, 0.06), 0 22px 48px rgba(16, 35, 31, 0.16);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

.wp-site-blocks { padding: 0 !important; }

.wp-site-blocks > *,
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-template-part,
.site-main > * { margin-block-start: 0 !important; }

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

h1, h2, h3, h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.012em;
	color: var(--c-ink);
	margin: 0 0 0.6em;
	font-variation-settings: "opsz" 96;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

a {
	color: var(--c-meadow);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}

a:hover { color: var(--c-forest); }

:focus-visible {
	outline: 2px solid var(--c-sun);
	outline-offset: 3px;
}

.icon {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
}

.muted { color: var(--c-muted); }

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */

.section {
	padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
	background: var(--c-paper);
}

.section + .section:not(.section--dark):not(.section--cta):not(.section--tint) { padding-top: 0; }

.section--tint,
.page-content > .section:nth-of-type(3n+2):not(.section--dark):not(.section--cta) {
	background: var(--c-sand);
	padding-top: clamp(3.5rem, 7vw, 6rem);
}

.section--dark {
	background: var(--c-forest);
	color: rgba(255, 255, 255, 0.82);
}

.section--dark + .section,
.section--cta + .section { padding-top: clamp(3.5rem, 7vw, 6rem) !important; }

.section-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	min-width: 0;
}

.section--tight {
	max-width: 760px;
	margin: 0 auto;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	font-family: var(--f-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-meadow);
}

.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: var(--c-sun);
}

.eyebrow--light { color: #CFE3D2; }

.section-heading {
	max-width: 720px;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2 { margin-bottom: 0.4em; }

.section-heading p {
	color: var(--c-muted);
	font-size: 1.08rem;
	margin: 0;
}

.section-heading--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-heading--center .eyebrow { justify-content: center; }

.section-heading .btn { margin-top: 1.5rem; }

.section-heading-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	flex-wrap: wrap;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--c-line);
}

.section-heading-row .section-heading { margin-bottom: 0; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--c-forest);
	text-decoration: none;
	white-space: nowrap;
}

.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--c-meadow); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn,
.wpcf7-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	border: 1.5px solid transparent;
	border-radius: var(--r-sm);
	font-family: var(--f-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary,
.wpcf7-form .wpcf7-submit {
	background: var(--c-sun);
	color: var(--c-ink);
}

.btn--primary:hover,
.wpcf7-form .wpcf7-submit:hover {
	background: var(--c-sun-deep);
	color: var(--c-ink);
	box-shadow: 0 8px 20px rgba(201, 138, 34, 0.28);
}

.btn--dark {
	background: var(--c-forest);
	color: #fff;
}

.btn--dark:hover {
	background: var(--c-ink);
	color: #fff;
}

.btn--ghost,
.btn--outline {
	background: transparent;
	border-color: var(--c-forest);
	color: var(--c-forest);
}

.btn--ghost:hover,
.btn--outline:hover {
	background: var(--c-forest);
	color: #fff;
}

.btn--light-outline,
.btn--on-dark {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.btn--light-outline:hover,
.btn--on-dark:hover {
	background: #fff;
	border-color: #fff;
	color: var(--c-ink);
}

.btn--small {
	min-height: 2.5rem;
	padding: 0.5rem 1.1rem;
	font-size: 0.875rem;
}

.btn .icon { width: 1.05rem; height: 1.05rem; }

.btn.is-added { background: var(--c-meadow); border-color: var(--c-meadow); color: #fff; }
.btn.is-duplicate { border-color: var(--c-sun-deep); }

/* -------------------------------------------------------------------------
   Top bar + header
   ------------------------------------------------------------------------- */

.topbar {
	background: var(--c-ink);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8125rem;
}

.topbar__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0.5rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topbar__note,
.topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}

.topbar__links {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__links a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.topbar__links a:hover { color: var(--c-sun); }
.topbar .icon { color: var(--c-sun); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--c-line);
	backdrop-filter: saturate(1.4) blur(8px);
	transition: box-shadow 0.25s var(--ease);
}

.admin-bar .site-header { top: 32px; }

.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 35, 31, 0.08); }

.site-header__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-nav { margin-left: auto; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

/* Brand */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--c-ink);
	text-decoration: none;
	min-width: 0;
}

.brand:hover { color: var(--c-ink); }

.brand__mark {
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }

.brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.brand__name {
	font-family: var(--f-display);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.brand__tagline {
	margin-top: 0.2rem;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-muted);
	white-space: nowrap;
}

.brand__logo {
	max-height: 52px;
	width: auto;
}

.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand__tagline { color: rgba(255, 255, 255, 0.6); }
.brand--footer .brand__logo { max-height: 60px; }

/* Primary menu */

.primary-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li { position: relative; }

.primary-menu a {
	display: block;
	padding: 0.6rem 0.85rem;
	color: var(--c-text);
	font-size: 0.93rem;
	font-weight: 500;
	text-decoration: none;
	position: relative;
}

.primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0.85rem;
	right: 0.85rem;
	bottom: 0.25rem;
	height: 2px;
	background: var(--c-sun);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.primary-menu > li > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }

.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--c-forest); }

.primary-menu .menu-item-has-children > a { padding-right: 1.4rem; }

.primary-menu .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0.5rem;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--c-line);
	border-top: 3px solid var(--c-sun);
	box-shadow: var(--shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	padding: 0.55rem 0.75rem;
	border-radius: var(--r-sm);
	font-size: 0.9rem;
}

.primary-menu .sub-menu a:hover { background: var(--c-mist); }

.quote-list-indicator {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
	color: var(--c-forest);
	text-decoration: none;
}

.quote-list-indicator svg { width: 1.3rem; height: 1.3rem; }

.quote-list-indicator:hover { border-color: var(--c-forest); color: var(--c-forest); }

.quote-list-indicator__count {
	position: absolute;
	top: -0.45rem;
	right: -0.45rem;
	min-width: 1.3rem;
	height: 1.3rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: var(--c-sun);
	color: var(--c-ink);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3rem;
	text-align: center;
}

.quote-list-indicator__count[data-quote-count="0"] { background: var(--c-line); color: var(--c-muted); }

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.7rem;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
	background: #fff;
	cursor: pointer;
}

.mobile-menu-toggle span {
	display: block;
	height: 2px;
	background: var(--c-ink);
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	color: #fff;
	background: var(--c-forest);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 18s var(--ease) both;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 28, 24, 0.94) 0%, rgba(12, 28, 24, 0.78) 42%, rgba(12, 28, 24, 0.25) 100%),
		linear-gradient(0deg, rgba(12, 28, 24, 0.7) 0%, transparent 35%);
}

@keyframes hero-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.hero__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(4.5rem, 10vw, 8rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: end;
	gap: 3rem;
}

.hero__copy { max-width: 700px; }

.hero__copy > * {
	animation: rise 0.9s var(--ease) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

.hero__title {
	color: #fff;
	font-size: clamp(2.5rem, 5.6vw, 4.5rem);
	line-height: 1.02;
	margin-bottom: 1.5rem;
}

.hero__title em {
	font-style: italic;
	color: var(--c-sun);
}

.hero__lede {
	max-width: 590px;
	margin-bottom: 2.25rem;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	color: rgba(255, 255, 255, 0.84);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.hero__card {
	justify-self: end;
	width: 100%;
	max-width: 360px;
	padding: 1.75rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-top: 3px solid var(--c-sun);
	backdrop-filter: blur(14px);
	animation: rise 0.9s 0.35s var(--ease) both;
}

.hero__card-label {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-sun);
}

.hero__card-name {
	margin: 0;
	font-family: var(--f-display);
	font-size: 1.45rem;
	font-weight: 600;
	color: #fff;
}

.hero__card-role {
	margin: 0.3rem 0 1.25rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.hero__card-list {
	margin: 0;
	padding: 1rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: grid;
	gap: 0.6rem;
}

.hero__card-list a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: #fff;
	font-size: 0.92rem;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.hero__card-list a:hover { color: var(--c-sun); }
.hero__card-list .icon { color: var(--c-sun); }

.hero__strip {
	position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(10, 24, 21, 0.55);
	backdrop-filter: blur(6px);
}

.hero__strip-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hero__strip-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.35rem 1rem;
	color: #fff;
	text-decoration: none;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	transition: background-color 0.25s var(--ease);
}

.hero__strip-link:last-child { border-right: 1px solid rgba(255, 255, 255, 0.12); }

.hero__strip-link::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 3px;
	background: var(--cat-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}

.hero__strip-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.hero__strip-link:hover::before { transform: scaleX(1); }

.hero__strip-icon {
	width: 2rem;
	height: 2rem;
	color: var(--cat-accent);
}

.hero__strip-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.hero__strip-text strong { font-weight: 600; font-size: 0.97rem; }
.hero__strip-text span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }

/* -------------------------------------------------------------------------
   Page title bar + breadcrumbs
   ------------------------------------------------------------------------- */

.page-title-bar {
	position: relative;
	margin: 0 !important;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2.5rem, 5vw, 3.75rem);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(95, 163, 111, 0.28) 0%, transparent 55%),
		var(--c-forest);
	color: #fff;
	overflow: hidden;
}

.page-title-bar::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -80px;
	width: 380px;
	height: 380px;
	background: repeating-radial-gradient(circle at center, transparent 0 22px, rgba(255, 255, 255, 0.05) 22px 23px);
	pointer-events: none;
}

.page-title-bar__inner,
.page-title-bar .breadcrumbs__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.page-title-bar h1 {
	color: #fff;
	margin: 0;
	max-width: 900px;
}

.page-title-bar__lede,
.page-title-bar .wp-block-term-description {
	max-width: 720px;
	margin: 1rem 0 0 !important;
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.78);
}

.page-title-bar .wp-block-term-description p { margin: 0; }

.breadcrumbs {
	padding: 0.9rem var(--gutter);
	background: var(--c-mist);
	border-bottom: 1px solid var(--c-line);
	font-size: 0.84rem;
}

.breadcrumbs__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	color: var(--c-muted);
}

.breadcrumbs a {
	color: var(--c-forest);
	text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs__sep { opacity: 0.5; }

.page-title-bar .breadcrumbs {
	padding: 0 0 1.5rem;
	background: none;
	border: 0;
}

.page-title-bar .breadcrumbs__inner { color: rgba(255, 255, 255, 0.6); }
.page-title-bar .breadcrumbs a { color: rgba(255, 255, 255, 0.9); }

/* -------------------------------------------------------------------------
   Page content (core blocks, legal documents)
   ------------------------------------------------------------------------- */

.page-content > :not(.section):not(.alignfull) {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.legal-doc {
	max-width: 860px !important;
	margin: 0 auto !important;
	padding: clamp(3rem, 6vw, 5rem) var(--gutter) !important;
	font-size: 1rem;
}

.legal-doc > h2 {
	margin: 2.75rem 0 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--c-line);
	font-size: 1.45rem;
}

.legal-doc > h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
.legal-doc li { margin-bottom: 0.5rem; }
.legal-doc ul, .legal-doc ol { padding-left: 1.25rem; }

/* -------------------------------------------------------------------------
   Story / text blocks
   ------------------------------------------------------------------------- */

.story-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.story-split__title h2 { margin: 0; }

.story-split__text p {
	font-size: 1.1rem;
	color: var(--c-muted);
}

.story-split__text p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	font-family: var(--f-display);
	font-size: 3.6em;
	line-height: 0.8;
	color: var(--c-meadow);
}

/* Media + text */

.media-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: center;
}

.media-text--right .media-text__media { order: 2; }

.media-text__media {
	position: relative;
	min-width: 0;
}

.media-text__media::before {
	content: "";
	position: absolute;
	inset: 1.5rem -1.5rem -1.5rem 1.5rem;
	border: 1.5px solid var(--c-sun);
	z-index: 0;
	transition: transform 0.6s var(--ease);
}

.media-text--right .media-text__media::before { inset: 1.5rem 1.5rem -1.5rem -1.5rem; }

.media-text:hover .media-text__media::before { transform: translate(-6px, -6px); }
.media-text--right:hover .media-text__media::before { transform: translate(6px, -6px); }

.media-text__frame {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 3.3;
	overflow: hidden;
	background: var(--c-mist);
}

.media-text__frame--circle { aspect-ratio: 1; border-radius: 50%; }
.media-text__frame--circle + .media-text__media::before { display: none; }

.media-text__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.media-text:hover .media-text__frame img { transform: scale(1.04); }

.media-text__copy h2 { margin-bottom: 0.7em; }

.media-text__copy p {
	color: var(--c-muted);
	font-size: 1.06rem;
}

.media-text__copy .link-arrow { margin-top: 0.5rem; }

/* Stats */

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.stats__item {
	padding: 2rem 1.5rem;
	border-left: 1px solid var(--c-line);
}

.stats__item:first-child { border-left: 0; padding-left: 0; }

.stats__figure {
	font-family: var(--f-display);
	font-size: clamp(2.4rem, 4.5vw, 3.4rem);
	font-weight: 600;
	line-height: 1;
	color: var(--c-forest);
	margin-bottom: 0.6rem;
}

.stats__label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
}

/* Features (dark band) */

.features {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.features__head { position: sticky; top: 120px; }

.features__heading { color: #fff; }

.features__text {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.05rem;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--c-line-dark);
	border: 1px solid var(--c-line-dark);
}

.feature {
	position: relative;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	background: var(--c-forest);
	transition: background-color 0.3s var(--ease);
}

.feature:hover { background: var(--c-forest-2); }

.feature__num {
	display: block;
	margin-bottom: 1.5rem;
	font-family: var(--f-display);
	font-size: 2.2rem;
	font-weight: 500;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--c-sun);
}

.feature__title {
	color: #fff;
	margin-bottom: 0.6rem;
}

.feature__text {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
}

/* CTA banner */

.section--cta { padding-top: 0; padding-bottom: clamp(3.5rem, 7vw, 6rem); background: transparent; }

.cta-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem 3rem;
	flex-wrap: wrap;
	padding: clamp(2rem, 5vw, 3.5rem);
	background: var(--c-sun);
	color: var(--c-ink);
	overflow: hidden;
}

.cta-banner::after {
	content: "";
	position: absolute;
	right: -40px;
	top: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

.cta-banner__copy {
	max-width: 680px;
	position: relative;
	z-index: 1;
}

.cta-banner h2 { margin-bottom: 0.4em; }
.cta-banner p { margin: 0; font-size: 1.05rem; color: rgba(16, 35, 31, 0.82); }
.cta-banner__actions { position: relative; z-index: 1; }

/* Testimonials (kept for editors who add the block) */

.carousel--testimonials .carousel__slide { flex-basis: min(480px, 88%); }

.testimonial-card {
	height: 100%;
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--c-line);
}

.testimonial-card__mark {
	display: block;
	font-family: var(--f-display);
	font-size: 4rem;
	line-height: 0.6;
	color: var(--c-sun);
}

.testimonial-card__quote { font-size: 1.05rem; }
.testimonial-card__byline { display: flex; gap: 0.8rem; align-items: center; }

.testimonial-card__avatar {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--c-forest);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
}

.testimonial-card__name { font-weight: 700; }
.testimonial-card__role { font-size: 0.85rem; color: var(--c-muted); }

/* -------------------------------------------------------------------------
   Category columns (home)
   ------------------------------------------------------------------------- */

.cat-columns {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.cat-column {
	position: relative;
	display: flex;
	min-height: 480px;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: var(--c-forest);
	isolation: isolate;
}

.cat-column:hover { color: #fff; }

.cat-column__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.cat-column__image,
.cat-column__media .img-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.cat-column__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 28, 24, 0.15) 0%, rgba(12, 28, 24, 0.5) 45%, rgba(12, 28, 24, 0.94) 100%);
	transition: opacity 0.4s var(--ease);
}

.cat-column:hover .cat-column__image { transform: scale(1.07); }

.cat-column__body {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 1.5rem;
}

.cat-column__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: auto;
}

.cat-column__num {
	font-family: var(--f-display);
	font-size: 1rem;
	font-weight: 500;
	padding-bottom: 0.2rem;
	border-bottom: 2px solid var(--cat-accent);
}

.cat-column__icon {
	width: 2.2rem;
	height: 2.2rem;
	padding: 0.45rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
}

.cat-column__name {
	font-family: var(--f-display);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 0.9rem;
}

.cat-column__list {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.8);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.4s var(--ease);
}

.cat-column__list span::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 0.55rem;
	vertical-align: middle;
	background: var(--cat-accent);
}

.cat-column:hover .cat-column__list,
.cat-column:focus-visible .cat-column__list {
	max-height: 260px;
	opacity: 1;
}

.cat-column__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--c-sun);
}

.cat-column__cta .icon { transition: transform 0.3s var(--ease); }
.cat-column:hover .cat-column__cta .icon { transform: translateX(5px); }

/* -------------------------------------------------------------------------
   Image placeholder
   ------------------------------------------------------------------------- */

.img-placeholder {
	--ph-accent: var(--c-leaf);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background:
		repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--ph-accent) 9%, transparent) 14px 15px),
		linear-gradient(160deg, color-mix(in srgb, var(--ph-accent) 16%, #fff) 0%, color-mix(in srgb, var(--ph-accent) 30%, #fff) 100%);
	color: color-mix(in srgb, var(--ph-accent) 70%, #10231F);
	text-align: center;
}

.img-placeholder__icon {
	width: 3.25rem;
	height: 3.25rem;
	padding: 0.7rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.65);
}

.img-placeholder__label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.img-placeholder__label:empty { display: none; }

/* -------------------------------------------------------------------------
   Product cards, grids, carousels
   ------------------------------------------------------------------------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--c-line);
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card::before {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	height: 3px;
	z-index: 2;
	background: var(--cat-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}

.product-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow-lift);
	transform: translateY(-4px);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-mist);
}

.product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card__image { transform: scale(1.06); }

.product-card__chip {
	position: absolute;
	left: 0.85rem;
	top: 0.85rem;
	padding: 0.3rem 0.65rem;
	background: rgba(255, 255, 255, 0.94);
	border-left: 3px solid var(--cat-accent);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-ink);
}

.product-card__body {
	flex: 1 1 auto;
	padding: 1.3rem 1.3rem 0.5rem;
}

.product-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.product-card__title a {
	color: var(--c-ink);
	text-decoration: none;
}

.product-card__title a:hover { color: var(--c-meadow); }

.product-card__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--c-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-card__origin {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--c-forest);
}

.product-card__origin .icon { color: var(--cat-accent); }

.product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.75rem 1.3rem 0;
	padding: 0.9rem 0 1.1rem;
	border-top: 1px solid var(--c-line);
}

.product-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.87rem;
	font-weight: 600;
	color: var(--c-forest);
	text-decoration: none;
}

.product-card__link .icon { transition: transform 0.25s var(--ease); }
.product-card__link:hover .icon { transform: translateX(4px); }

.product-card__quote-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.8rem;
	border: 1.5px solid var(--c-forest);
	border-radius: var(--r-sm);
	background: transparent;
	color: var(--c-forest);
	font-family: var(--f-body);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.product-card__quote-btn svg { width: 0.95rem; height: 0.95rem; transition: transform 0.3s var(--ease); }

.product-card__quote-btn:hover {
	background: var(--c-forest);
	color: #fff;
}

.product-card__quote-btn:hover svg { transform: rotate(90deg); }

.product-card__quote-btn.is-added {
	background: var(--c-meadow);
	border-color: var(--c-meadow);
	color: #fff;
	animation: pop 0.45s var(--ease);
}

.product-card__quote-btn.is-duplicate { border-color: var(--c-sun-deep); }

@keyframes pop {
	40% { transform: scale(1.12); }
}

.category-products__heading { margin: 0; }

.carousel { position: relative; min-width: 0; }

.carousel__viewport {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0.5rem 0.25rem 1.5rem;
	margin: -0.5rem -0.25rem 0;
}

.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__slide {
	flex: 0 0 calc((100% - 4.5rem) / 4);
	min-width: 250px;
	scroll-snap-align: start;
}

.carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.carousel__btn {
	display: grid;
	place-items: center;
	width: 2.85rem;
	height: 2.85rem;
	border: 1.5px solid var(--c-forest);
	border-radius: 50%;
	background: #fff;
	color: var(--c-forest);
	font-size: 1.4rem;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
}

.carousel__btn svg { width: 1.2rem; height: 1.2rem; }
.carousel__btn:hover:not(:disabled) { background: var(--c-forest); color: #fff; }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }

.carousel--testimonials .carousel__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
}

.carousel--testimonials .carousel__btn--prev { left: -1rem; }
.carousel--testimonials .carousel__btn--next { right: -1rem; }

/* -------------------------------------------------------------------------
   Product page
   ------------------------------------------------------------------------- */

.product-hero {
	padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
	background: linear-gradient(180deg, var(--c-mist) 0%, var(--c-mist) 62%, #fff 62%);
}

.product-hero__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}

.product-hero__gallery { min-width: 0; }

.product-hero__copy {
	position: sticky;
	top: 110px;
	min-width: 0;
}

.product-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0.35rem 0.8rem 0.35rem 0.45rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-line);
	color: var(--c-forest);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
}

.product-hero__eyebrow .cat-icon {
	width: 1.6rem;
	height: 1.6rem;
	padding: 0.25rem;
	border-radius: 50%;
	background: var(--cat-accent);
	color: #fff;
}

.product-hero__eyebrow:hover { border-color: var(--c-forest); color: var(--c-forest); }

.product-hero__title {
	margin-bottom: 0.45em;
	font-size: clamp(2.2rem, 4.4vw, 3.3rem);
}

.product-hero__lede {
	font-size: 1.12rem;
	color: var(--c-muted);
	margin-bottom: 1.75rem;
}

.product-facts {
	margin: 0 0 2rem;
	border-top: 2px solid var(--c-ink);
}

.product-facts__row {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 0.93rem;
}

.product-facts dt {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-muted);
	padding-top: 0.15rem;
}

.product-facts dd { margin: 0; font-weight: 500; color: var(--c-ink); }

.product-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.product-hero__wa {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--c-meadow);
}

/* Single photo */

.agt-single-photo {
	margin: 0;
	aspect-ratio: 1 / 1;
	max-height: 640px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
}

.agt-single-photo__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: zoom-in;
	transition: transform 0.9s var(--ease);
}

.agt-single-photo:hover .agt-single-photo__image { transform: scale(1.03); }

/* Slider (2+ photos) */

.agt-slider {
	--agt-stage-height: 70vh;
	--agt-thumb-size: 84px;
	--agt-thumb-gap: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: var(--agt-thumb-gap);
	min-width: 0;
	max-width: 100%;
	outline: none;
}

.agt-slider:focus-visible { outline: 2px solid var(--c-sun); outline-offset: 4px; }
.agt-slider--thumbs-left { flex-direction: row-reverse; }
.agt-slider--thumbs-right { flex-direction: row; }

.agt-slider__stage {
	position: relative;
	flex: 1 1 auto;
	height: min(var(--agt-stage-height), 640px);
	min-height: 300px;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
	touch-action: pan-y;
}

.agt-slider__track {
	display: flex;
	height: 100%;
	will-change: transform;
	transition: transform 0.55s var(--ease);
}

.agt-slider__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	height: 100%;
	margin: 0;
}

.agt-slider__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
}

.agt-slider--fit-contain .agt-slider__image { object-fit: contain; }
.agt-slider--fit-cover .agt-slider__image { cursor: zoom-in; }
.agt-slider--fade .agt-slider__track { transition: none; transform: none !important; }

.agt-slider--fade .agt-slider__slide {
	position: absolute;
	inset: 0;
	flex: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}

.agt-slider--fade .agt-slider__slide.is-active { opacity: 1; visibility: visible; }

.agt-slider__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 1rem 0.9rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
	color: #fff;
	font-size: 0.9rem;
}

.agt-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--c-forest);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.25s var(--ease);
}

.agt-slider__arrow svg { width: 1.25rem; height: 1.25rem; }
.agt-slider__arrow--prev { left: 0.75rem; }
.agt-slider__arrow--next { right: 0.75rem; }
.agt-slider:hover .agt-slider__arrow,
.agt-slider:focus-within .agt-slider__arrow { opacity: 1; }
.agt-slider__arrow:disabled { opacity: 0 !important; pointer-events: none; }

.agt-slider__counter {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.25rem 0.6rem;
	background: rgba(16, 35, 31, 0.72);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
}

.agt-slider__thumbs {
	display: flex;
	flex: 0 0 auto;
	gap: var(--agt-thumb-gap);
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
}

.agt-slider--thumbs-left .agt-slider__thumbs,
.agt-slider--thumbs-right .agt-slider__thumbs {
	flex-direction: column;
	height: min(var(--agt-stage-height), 640px);
	min-height: 300px;
	overflow-x: hidden;
	overflow-y: auto;
}

.agt-slider__thumb {
	flex: 0 0 auto;
	width: var(--agt-thumb-size);
	height: var(--agt-thumb-size);
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	line-height: 0;
	opacity: 0.55;
	transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}

.agt-slider__thumb:hover { opacity: 1; }
.agt-slider__thumb.is-active { opacity: 1; border-color: var(--c-sun); }

.agt-slider__thumb-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
}

.agt-slider--placeholder {
	aspect-ratio: 1 / 1;
	max-height: 640px;
	box-shadow: var(--shadow);
}

/* Product tabs */

.product-tabs {
	padding: clamp(1rem, 3vw, 2rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
}

.product-tabs__inner {
	max-width: var(--wrap);
	margin: 0 auto;
}

.product-tabs__list {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--c-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.product-tabs__list[hidden] { display: none; }
.product-tabs__list::-webkit-scrollbar { display: none; }

.product-tabs__tab {
	position: relative;
	flex: 0 0 auto;
	padding: 1rem 1.25rem;
	border: 0;
	background: none;
	font-family: var(--f-body);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--c-muted);
	cursor: pointer;
	white-space: nowrap;
}

.product-tabs__tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--c-sun);
	transform: scaleX(0);
	transition: transform 0.3s var(--ease);
}

.product-tabs__tab:hover { color: var(--c-ink); }
.product-tabs__tab[aria-selected="true"] { color: var(--c-ink); }
.product-tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }

.product-tabs__panel {
	max-width: 880px;
	padding-bottom: 2.5rem;
}

.product-tabs.is-enhanced .product-tabs__panel {
	padding-bottom: 0;
	animation: rise 0.45s var(--ease) both;
}

.product-tabs.is-enhanced .product-tabs__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.product-tabs__heading { font-size: 1.6rem; }

.product-tabs__content {
	font-size: 1.04rem;
	color: var(--c-text);
}

.product-tabs__content ul {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
}

.product-tabs__content li {
	position: relative;
	padding-left: 1.6rem;
}

.product-tabs__content li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.7rem;
	height: 0.7rem;
	border: 2px solid var(--c-meadow);
	border-radius: 50%;
}

.product-tabs__content h3 { margin-top: 1.75rem; }

.spec-table {
	margin: 0 0 1.25rem;
	border-top: 2px solid var(--c-ink);
}

.spec-table__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 1.5rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 0.97rem;
}

.spec-table__row:nth-child(even) { background: linear-gradient(90deg, var(--c-mist), transparent); }

.spec-table dt { font-weight: 600; color: var(--c-ink); padding-left: 0.5rem; }
.spec-table dd { margin: 0; color: var(--c-text); }

.spec-table__caption {
	font-size: 0.85rem;
	color: var(--c-muted);
	font-style: italic;
}

.section--related { background: var(--c-mist); padding-top: clamp(3.5rem, 7vw, 5.5rem) !important; }

/* -------------------------------------------------------------------------
   Forms (Contact Form 7)
   ------------------------------------------------------------------------- */

.wpcf7-form p { margin: 0 0 1.1rem; }

.wpcf7-form label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--c-ink);
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.4rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea,
.quote-list-item__notes {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid #C9D2C8;
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 0.97rem;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.quote-list-item__notes:focus {
	outline: none;
	border-color: var(--c-meadow);
	box-shadow: 0 0 0 3px rgba(60, 127, 85, 0.18);
}

.wpcf7-form textarea { min-height: 120px; resize: vertical; }

.wpcf7-form .wpcf7-submit { width: 100%; margin-top: 0.25rem; }
.wpcf7-form .wpcf7-submit:disabled { opacity: 0.6; cursor: wait; }

.wpcf7-spinner { display: block; margin: 0.75rem auto 0; }

.wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: #B3402A;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border: 0;
	border-left: 3px solid var(--c-sun);
	background: var(--c-sand);
	font-size: 0.9rem;
}

.wpcf7 form.sent .wpcf7-response-output { border-left-color: var(--c-meadow); background: #EAF4EC; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-left-color: #B3402A; background: #FBEDEA; }

.h-captcha { margin: 0.25rem 0 1rem; }

/* Quote form + quote list pages */

.quote-form--centered h1 { font-size: clamp(2rem, 4vw, 2.75rem); }

.quote-form__prefill-note,
.quote-form__list-notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-left: 3px solid var(--c-sun);
	background: var(--c-sand);
}

.quote-form__list-notice p { margin-bottom: 0.75rem; }

.quote-form__list-note {
	margin-top: 1.5rem;
	font-size: 0.9rem;
	color: var(--c-muted);
}

.quote-list-empty {
	padding: 2.5rem;
	text-align: center;
	border: 1.5px dashed #C9D2C8;
	background: var(--c-mist);
}

.quote-list-items {
	display: grid;
	gap: 0.6rem;
	margin-bottom: 2.5rem;
	counter-reset: qitem;
}

.quote-list-item {
	padding: 0.9rem 1.1rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-meadow);
}

.quote-list-item__row {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.quote-list-item__title {
	flex: 1 1 auto;
	font-weight: 600;
	color: var(--c-ink);
}

.quote-list-item__title::before {
	counter-increment: qitem;
	content: counter(qitem, decimal-leading-zero);
	margin-right: 0.85rem;
	font-family: var(--f-display);
	color: var(--c-meadow);
}

.quote-list-item__toggle-notes {
	border: 0;
	background: none;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--c-meadow);
	cursor: pointer;
}

.quote-list-item__remove {
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--c-muted);
	cursor: pointer;
}

.quote-list-item__remove:hover { border-color: #B3402A; color: #B3402A; }

.quote-list-item__notes { margin-top: 0.75rem; min-height: 80px; }

[data-quote-list-form] {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--c-mist);
}

[data-quote-list-form] h2 { font-size: 1.5rem; }

/* Contact page */

.contact-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	box-shadow: var(--shadow-lift);
}

.contact-panel__card {
	padding: clamp(2rem, 4vw, 3rem);
	background: var(--c-forest);
	color: rgba(255, 255, 255, 0.8);
}

.contact-panel__card .contact-panel__title { color: #fff; }

.contact-panel__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.4em; }

.contact-panel__intro { margin-bottom: 2rem; font-size: 0.97rem; }

.contact-panel__form .contact-panel__intro { color: var(--c-muted); }

.contact-panel__list {
	display: grid;
	gap: 1.35rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.contact-panel__row {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-panel__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--c-sun);
}

.contact-panel__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow-wrap: anywhere;
}

.contact-panel__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 0.15rem;
}

.contact-panel__value { color: #fff; line-height: 1.5; text-decoration: none; }
a.contact-panel__value:hover { color: var(--c-sun); }
.contact-panel__value .muted { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; }

.contact-panel__reg {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel__reg dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.contact-panel__reg dd { margin: 0.15rem 0 0; color: #fff; font-weight: 600; font-size: 0.95rem; }

.contact-panel__form {
	padding: clamp(2rem, 4vw, 3rem);
	background: #fff;
}

.contact-panel__form .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
}

.contact-panel__form .wpcf7-form > p:has([data-name="your-subject"]),
.contact-panel__form .wpcf7-form > p:has([data-name="your-message"]),
.contact-panel__form .wpcf7-form > p:has(.wpcf7-submit),
.contact-panel__form .wpcf7-form > .h-captcha,
.contact-panel__form .wpcf7-form > div,
.contact-panel__form .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }

/* 404 */

.not-found {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(4rem, 10vw, 7rem) var(--gutter);
	text-align: center;
}

.not-found__code {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 600;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px var(--c-sun);
}

/* -------------------------------------------------------------------------
   Modal, lightbox, toast
   ------------------------------------------------------------------------- */

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 24, 21, 0.72);
	backdrop-filter: blur(3px);
}

.modal__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: #fff;
	border-top: 4px solid var(--c-sun);
	transform: translateY(24px);
	transition: transform 0.35s var(--ease);
}

.modal.is-open .modal__dialog { transform: none; }

.modal__dialog h2 { font-size: 1.8rem; margin-bottom: 0.3em; }
.modal__intro { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: var(--c-ink);
}

.modal__close:hover { background: var(--c-ink); color: #fff; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 210;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 16, 0.92); }

.lightbox__image {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 1;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background: #fff;
	font-size: 1.6rem;
	cursor: pointer;
}

.quote-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 220;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: max-content;
	max-width: calc(100vw - 2rem);
	padding: 0.85rem 0.9rem 0.85rem 1rem;
	background: var(--c-ink);
	color: #fff;
	box-shadow: var(--shadow-lift);
	transform: translate(-50%, 140%);
	opacity: 0;
	transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}

.quote-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

.quote-toast__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--c-meadow);
}

.quote-toast.is-warning .quote-toast__icon { background: var(--c-sun-deep); }
.quote-toast__icon svg { width: 1.1rem; height: 1.1rem; }
.quote-toast__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.quote-toast__title { font-size: 0.92rem; }
.quote-toast__meta { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }

.quote-toast__link {
	padding: 0.45rem 0.8rem;
	background: var(--c-sun);
	color: var(--c-ink);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.quote-toast__link:hover { background: #fff; color: var(--c-ink); }

.quote-toast__close {
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.3rem;
	cursor: pointer;
}

/* -------------------------------------------------------------------------
   Floating widgets
   ------------------------------------------------------------------------- */

.whatsapp-button {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 100;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
	transition: transform 0.25s var(--ease);
}

.whatsapp-button::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid #25D366;
	animation: ping 2.4s var(--ease) infinite;
}

.whatsapp-button svg { width: 1.8rem; height: 1.8rem; }
.whatsapp-button:hover { transform: scale(1.08); color: #fff; }

@keyframes ping {
	0% { transform: scale(1); opacity: 0.8; }
	80%, 100% { transform: scale(1.6); opacity: 0; }
}

.scroll-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 5.5rem;
	z-index: 99;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	color: var(--c-forest);
	box-shadow: var(--shadow);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.scroll-to-top svg { width: 1.2rem; height: 1.2rem; }
.scroll-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-to-top:hover { background: var(--c-forest); color: #fff; }

.cookie-banner {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 150;
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 480px;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-sun);
	box-shadow: var(--shadow-lift);
	font-size: 0.85rem;
}

.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
	background: var(--c-ink);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.93rem;
}

.footer-cta {
	background: var(--c-forest);
	border-bottom: 1px solid var(--c-line-dark);
}

.footer-cta__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
}

.footer-cta__heading {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 2.8vw, 2.2rem);
	max-width: 620px;
}

.footer-cta .eyebrow { margin-bottom: 0.6rem; }

.footer-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.footer-main__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
	gap: 2.5rem;
}

.footer-col { min-width: 0; }

.footer-tagline {
	margin: 1.25rem 0 1.5rem;
	max-width: 380px;
	line-height: 1.6;
}

.footer-heading {
	margin: 0 0 1.25rem;
	font-family: var(--f-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-sun);
}

.footer-links {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a,
.footer-contact a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.footer-contact {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-contact__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.footer-contact__item .icon { margin-top: 0.2rem; color: var(--c-sun); }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-contact .muted { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }

.footer-reg {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-reg__item {
	padding: 0.35rem 0.65rem;
	border: 1px solid var(--c-line-dark);
	font-size: 0.78rem;
}

.footer-reg__item strong { color: #fff; font-weight: 600; }

.footer-bottom { border-top: 1px solid var(--c-line-dark); }

.footer-bottom__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 1.25rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	font-size: 0.83rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom__legal { display: flex; gap: 1.5rem; }
.footer-bottom__legal a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-bottom__legal a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view { opacity: 1; transform: none; }

.editor-styles-wrapper .reveal,
.block-editor-block-list__layout .reveal { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.site-header__cta { display: none; }
	.primary-menu a { padding: 0.6rem 0.6rem; }
	.hero__strip-icon { display: none; }
	.cat-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-column:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.cat-column { min-height: 400px; }
	.cat-column__name { font-size: 1.6rem; }
	.cat-column__list { max-height: 260px; opacity: 1; }
	.carousel__slide { flex-basis: calc((100% - 3rem) / 3); }
	.footer-main__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.topbar__note { display: none; }
	.topbar__inner { justify-content: center; }

	.mobile-menu-toggle { display: flex; }

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
	}

	.primary-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		padding: 0.5rem var(--gutter) 1.25rem;
		background: #fff;
		border-bottom: 1px solid var(--c-line);
		box-shadow: 0 20px 40px rgba(16, 35, 31, 0.12);
	}

	.primary-menu.is-open { display: flex; animation: rise 0.3s var(--ease) both; }

	.primary-menu a { padding: 0.85rem 0; border-bottom: 1px solid var(--c-line); font-size: 1rem; }
	.primary-menu > li > a::after,
	.primary-menu .menu-item-has-children > a::before { display: none; }

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 1rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu .sub-menu a { font-size: 0.95rem; color: var(--c-muted); }

	.hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
	.hero__card { justify-self: start; max-width: 460px; }
	.hero__strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
	.hero__strip-link { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 1.2rem 1.25rem; }
	.hero__strip-icon { display: block; }
	.hero__strip-link:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
	.hero__strip-link:last-child { border-right: 0; }
	.hero__strip-link:last-child:nth-child(odd) { grid-column: 1 / -1; }

	.story-split,
	.media-text,
	.features,
	.product-hero__inner,
	.contact-panel { grid-template-columns: minmax(0, 1fr); }

	.media-text--right .media-text__media { order: 0; }
	.media-text__media { margin-right: 1.5rem; }
	.media-text--right .media-text__media { margin: 0 0 0 1.5rem; }

	.features__head { position: static; }

	.product-hero { background: var(--c-mist); }
	.product-hero__copy { position: static; }

	.stats__item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
	.site-header__inner { min-height: 68px; gap: 1rem; }
	.brand__mark { width: 38px; height: 38px; }
	.brand__name { font-size: 1.05rem; white-space: normal; }
	.brand__tagline { display: none; }

	.topbar__links { gap: 1rem; }
	.topbar__links li:nth-child(2) span { display: none; }

	.hero__strip-inner { grid-template-columns: minmax(0, 1fr); }
	.hero__strip-link:nth-child(odd) { border-right: 0; }

	.cat-columns { grid-template-columns: minmax(0, 1fr); }
	.cat-column { min-height: 340px; }

	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats__item,
	.stats__item:first-child,
	.stats__item:nth-child(odd) { padding: 1.5rem 1rem; border-left: 0; }
	.stats__item:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--c-line); }
	.stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }

	.features__grid { grid-template-columns: minmax(0, 1fr); }

	.carousel__slide { flex-basis: 82%; min-width: 0; }

	.product-facts__row,
	.spec-table__row { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }

	.contact-panel__form .wpcf7-form { grid-template-columns: minmax(0, 1fr); }
	.contact-panel__reg { grid-template-columns: minmax(0, 1fr); }

	.footer-main__inner { grid-template-columns: minmax(0, 1fr); }

	.cookie-banner {
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.75rem;
		max-width: none;
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.whatsapp-button { width: 3.1rem; height: 3.1rem; right: 0.9rem; bottom: 0.9rem; }
	.scroll-to-top { right: 1.05rem; bottom: 4.7rem; }

	.quote-list-item__row { flex-wrap: wrap; }
	.quote-list-item__title { flex-basis: 100%; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.reveal { opacity: 1; transform: none; }
}


/* AgroModern — Slate, Sage & Coral visual system */
:root {
    --c-ink: #203547;
    --c-forest: #2B4354;
    --c-forest-2: #405B6D;
    --c-meadow: #6F897B;
    --c-leaf: #9CAF9C;
    --c-sun: #E2765B;
    --c-sun-deep: #C65E49;
    --c-paper: #F6F2EA;
    --c-mist: #ECEFEA;
    --c-sand: #F6F2EA;
    --c-line: #D9DEDE;
    --c-line-dark: rgba(255, 255, 255, 0.17);
    --c-text: #2B3D49;
    --c-muted: #687780;
}

/* Slate navigation and footer replace the former forest-green treatment. */
.site-header--agromodern {
    background: #2B4354;
    border-bottom: 1px solid rgba(255,255,255,.16);
    backdrop-filter: none;
}
.site-header--agromodern .site-header__inner { position: relative; }
.site-header--agromodern .site-nav { position: absolute; left: 50%; margin-left: 0; transform: translateX(-50%); }
.site-header--agromodern .site-header__actions { margin-left: auto; }
.site-header--agromodern .brand,
.site-header--agromodern .brand:hover,
.site-header--agromodern .brand__tagline,
.site-header--agromodern .quote-list-indicator { color: #fff; }
.site-header--agromodern .primary-menu a,
.site-header--agromodern .primary-menu a:hover,
.site-header--agromodern .primary-menu .current-menu-item > a { color: #fff; }
.site-header--agromodern .primary-menu > li > a::after { background: #E2765B; }
.site-header--agromodern .primary-menu .sub-menu a { color: #2B4354; }
.site-header--agromodern .site-header__cta { display: inline-flex; background: #E2765B; color: #fff; border-color: #E2765B; }
.site-header--agromodern .site-header__cta:hover { background: #F6F2EA; border-color: #F6F2EA; color: #2B4354; }
.site-header--agromodern .mobile-menu-toggle span { background: #fff; }

/* New hero: warm editorial canvas, asymmetric copy/image split, no dark overlay or floating contact card. */
.agromodern-hero {
    position: relative;
    display: block;
    min-height: 0;
    padding: clamp(3.25rem, 6vw, 6rem) var(--gutter) 2rem;
    background: #F6F2EA;
    color: #2B4354;
}
.agromodern-hero__inner {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: clamp(2rem, 5.5vw, 5rem);
}
.agromodern-hero__copy { max-width: 660px; padding: .5rem 0 1.5rem; }
.agromodern-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.35rem;
    color: #6F897B;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
}
.agromodern-hero__eyebrow::before { content: ""; width: 1.9rem; height: 2px; background: #E2765B; }
.agromodern-hero__title {
    max-width: 700px;
    margin: 0 0 1.2rem;
    color: #2B4354;
    font-family: var(--f-display);
    font-size: clamp(2.9rem, 5.4vw, 5.25rem);
    font-weight: 600;
    line-height: .99;
    letter-spacing: -.045em;
}
.agromodern-hero__title em { color: #E2765B; font-weight: 500; }
.agromodern-hero__intro { max-width: 590px; margin-bottom: 1.75rem; color: #566875; font-size: 1.03rem; line-height: 1.75; }
.agromodern-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.agromodern-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 3.15rem;
    padding: .85rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.agromodern-hero__button:hover { transform: translateY(-2px); }
.agromodern-hero__button--primary { background: #2B4354; color: #fff; }
.agromodern-hero__button--primary:hover { background: #405B6D; color: #fff; }
.agromodern-hero__button--secondary { border-color: #BFC9C6; background: transparent; color: #2B4354; }
.agromodern-hero__button--secondary:hover { border-color: #2B4354; color: #2B4354; }
.agromodern-hero__note { display: flex; align-items: center; gap: .55rem; margin: 1.35rem 0 0; color: #6F897B; font-size: .78rem; font-weight: 600; }
.agromodern-hero__note span { color: #E2765B; font-size: .58rem; }
.agromodern-hero__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 0 1.5rem 1.5rem;
}
.agromodern-hero__visual::before {
    content: "";
    position: absolute;
    inset: 1.5rem 1.5rem 0 0;
    border: 1px solid #9CAF9C;
    border-radius: 30px 8px 30px 8px;
}
.agromodern-hero__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.03;
    max-height: 650px;
    border-radius: 30px 8px 30px 8px;
    object-fit: cover;
    object-position: 72% center;
}
.agromodern-hero__image-caption {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 205px;
    padding: 1rem 1.25rem;
    border-left: 3px solid #E2765B;
    background: #fff;
    box-shadow: 0 10px 30px rgba(32,53,71,.12);
    color: #2B4354;
}
.agromodern-hero__caption-index { color: #6F897B; font-size: .62rem; font-weight: 700; letter-spacing: .15em; }
.agromodern-hero__image-caption strong { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; }
.agromodern-hero__visual-mark {
    position: absolute;
    z-index: 2;
    top: -.65rem;
    right: -.4rem;
    display: grid;
    place-items: center;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 50%;
    background: #E2765B;
    color: #fff;
    font-family: var(--f-display);
    font-size: .9rem;
    font-weight: 700;
}
.agromodern-hero__ticker {
    max-width: var(--wrap);
    margin: clamp(2.5rem, 5vw, 4rem) auto 0;
    padding: 1.1rem 0 .2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    border-top: 1px solid #D9DEDE;
    color: #566875;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.agromodern-hero__ticker i { width: 5px; height: 5px; border-radius: 50%; background: #E2765B; }

/* Product and content sections inherit the new color system. */
.site-footer,
.site-footer .footer-cta,
.site-footer .footer-main,
.site-footer .footer-bottom { background-color: #2B4354; color: #fff; }
.site-footer a,
.site-footer .footer-links a,
.site-footer .footer-contact a,
.site-footer .footer-bottom__legal a { color: #fff; }
.site-footer .footer-heading { color: #E2765B; }
.footer-main__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agromodern-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agromodern-stats .stats__figure { font-family: var(--wp--preset--font-family--secondary); color: #2B4354; }
.agromodern-stats .stats__label { display: block; margin-top: .25rem; }
.agromodern-feature-grid .grid-container { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.agromodern-feature-grid .feature-title { color: #fff; font-family: var(--wp--preset--font-family--secondary); }
.agromodern-feature-grid .feature-desc { color: rgba(255,255,255,.82); }

/* Four-column product grids and the supplied product-card rules. */
.agromodern-products-grid .card-grid,
.single-products .section--related .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { background: #fff; border: 1px solid #eaeaea; padding: 1rem; display: flex; flex-direction: column; position: relative; }
.product-category-tag { position: absolute; top: 1.5rem; left: 1.5rem; background: rgba(255,255,255,0.9); font-size: 0.75rem; padding: 0.25rem 0.5rem; text-transform: uppercase; z-index: 10; font-weight: bold; }
.product-image-container { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1rem; }
.product-image-container img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-family: 'Fraunces', serif; font-size: 1.25rem; margin-bottom: 0.5rem; }
.product-origin { font-size: 0.8rem; color: #687780; display: flex; align-items: center; gap: 5px; margin-bottom: 1rem; }
.product-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eaeaea; padding-top: 1rem; }
.btn-quote { border: 1px solid var(--wp--preset--color--primary); background: transparent; padding: 0.5rem 1rem; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.product-card__media { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
.product-card__chip { top: 1.5rem; left: 1.5rem; padding: .25rem .5rem; border-left: 0; background: rgba(255,255,255,.9); }
.product-card__title { font-family: 'Fraunces', serif; }
.product-card__origin { margin-bottom: 1rem; }
.product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid #eaeaea; }
.product-card__quote-btn { border-radius: 0; }

/* Retain the product page's two-column layout and quote-list controls. */
.product-hero { padding-left: 0; padding-right: 0; background: linear-gradient(180deg, #ECEFEA 0%, #ECEFEA 62%, #F6F2EA 62%); }
.product-hero__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: none; }
.product-hero__gallery { align-self: stretch; }
.product-hero__copy { padding: clamp(2rem, 5vw, 4rem); }
.product-hero__actions .btn--ghost { background: #fff; }
.product-hero__actions .btn--ghost::before { content: "+"; font-size: 1.2em; line-height: 1; }

.agromodern-text-image .media-text__media { margin: 0 !important; }
.agromodern-text-image .media-text__media::before { display: none; }
.agromodern-text-image .media-text__frame,
.agromodern-text-image .media-text__frame--circle { border-radius: 0; }
.agromodern-text-image .media-text__copy h2 { font-family: var(--wp--preset--font-family--secondary); }
.agromodern-text-image .media-text__copy .eyebrow { display: flex; flex-direction: column; align-items: flex-start; }
.agromodern-text-image .media-text__copy .eyebrow::before { content: none; }
.agromodern-text-image .media-text__copy .eyebrow::after { content: ""; display: block; width: 30px; height: 0; border-top: 2px solid var(--wp--preset--color--secondary); order: -1; margin-bottom: .65rem; }

@media (max-width: 1180px) {
    .agromodern-products-grid .card-grid,
    .single-products .section--related .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .site-header--agromodern .site-nav { position: absolute; left: 0; right: 0; transform: none; }
    .site-header--agromodern .primary-menu { background: #2B4354; border-color: rgba(255,255,255,.2); }
    .site-header--agromodern .primary-menu a { color: #fff; border-color: rgba(255,255,255,.2); }
    .site-header--agromodern .primary-menu .sub-menu a { color: rgba(255,255,255,.8); }
    .agromodern-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 2rem; }
    .agromodern-hero__title { font-size: clamp(2.8rem, 5vw, 4rem); }
    .product-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .product-hero__copy { padding: 2rem var(--gutter); }
}
@media (max-width: 720px) {
    .agromodern-stats,
    .agromodern-feature-grid .grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .agromodern-hero { padding-top: 3rem; }
    .agromodern-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .agromodern-hero__copy { max-width: none; }
    .agromodern-hero__title { max-width: 600px; font-size: clamp(2.75rem, 11vw, 4rem); }
    .agromodern-hero__visual { max-width: 620px; margin-left: auto; }
    .agromodern-hero__visual img { aspect-ratio: 1.12 / 1; }
    .agromodern-hero__ticker { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .agromodern-products-grid .card-grid,
    .single-products .section--related .card-grid { grid-template-columns: minmax(0, 1fr); }
    .agromodern-hero__ticker { font-size: .63rem; gap: .65rem; }
}
