/* =========================================================================
   AGRO INTERNATIONAL CORPORATION — Theme stylesheet
   "Editorial Harvest" — warm paper, espresso ink, a single clay accent.
   Type-led: Fraunces (display serif) + Inter (UI/body). No chips, sharp edges.
   ========================================================================= */

:root {
	--ink: #221C15;
	--ink-deep: #17110B;
	--clay: #C24A2C;
	--clay-deep: #A23C22;
	--clay-light: #E2693F;
	--paper: #F7F2E9;
	--sand: #EDE4D5;
	--muted: #6E6253;
	--line: #DCD2C2;
	--line-ink: rgba(247, 242, 233, .16);
	--white: #FFFFFF;

	--serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--header-h: 84px;
	--maxw: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	color: var(--ink);
	line-height: 1.08;
	margin: 0 0 .5em;
	font-weight: 600;
	letter-spacing: -0.012em;
	font-optical-sizing: auto;
	overflow-wrap: break-word;
}

p { margin: 0 0 1rem; }
a { color: var(--clay); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-deep); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--clay); color: var(--paper); }

/* ---------- Layout helpers ---------- */
.agro-container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 28px;
}

/* Overflow safety: let grid/flex children shrink instead of forcing page width */
.agro-hero__inner > *,
.agro-about__grid > *,
.agro-contact__grid > *,
.agro-cards > *,
.agro-products > *,
.agro-why__grid > *,
.agro-footer__grid > * { min-width: 0; }
.agro-label { flex-wrap: wrap; }
.agro-cookie__text { min-width: 0; }

.agro-section { padding-block: clamp(2.75rem, 1.75rem + 3vw, 4.5rem); position: relative; }
.agro-section--tint { background: var(--sand); }
.agro-section--ink { background: var(--ink); color: var(--paper); }
.agro-section--ink h2,
.agro-section--ink h3 { color: var(--paper); }

/* Hairline rule between sections */
.agro-divider {
	border: 0;
	height: 1px;
	background: var(--line);
	margin: 0;
}

/* ---------- Editorial section label (number + word, no chip) ---------- */
.agro-label {
	display: flex;
	align-items: baseline;
	gap: .75rem;
	font-family: var(--sans);
	font-size: .72rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--muted);
	margin: 0 0 1rem;
}
.agro-label__num {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0;
	color: var(--clay);
}
.agro-label__num::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: currentColor;
	vertical-align: middle;
	margin-left: .75rem;
	opacity: .55;
}
.agro-label__dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--clay); display: inline-block; align-self: center;
}
.agro-section--ink .agro-label { color: rgba(247, 242, 233, .6); }
.agro-section--center .agro-label { justify-content: center; }

/* Section heading block */
.agro-section__head { max-width: 760px; margin-bottom: 2.25rem; }
.agro-section--center .agro-section__head { margin-inline: auto; text-align: center; }
.agro-section__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); margin-bottom: .75rem; font-weight: 600; text-wrap: balance; }
.agro-section__lead { font-size: 1.18rem; line-height: 1.65; color: var(--muted); margin: 0; }
.agro-section--ink .agro-section__lead { color: rgba(247, 242, 233, .72); }

/* ---------- Buttons ---------- */
.agro-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--sans);
	font-weight: 600;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 1.05rem 1.9rem;
	border-radius: 0;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
	line-height: 1;
}
.agro-btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.agro-btn--primary:hover { background: var(--clay); color: var(--paper); border-color: var(--clay); }
.agro-btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.agro-btn--outline:hover { background: var(--ink); color: var(--paper); }
.agro-section--ink .agro-btn--outline { color: var(--paper); border-color: rgba(247,242,233,.5); }
.agro-section--ink .agro-btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.agro-btn i { font-size: 1.25em; }

/* Editorial text link (underline grows on hover) */
.agro-btn--link {
	padding: 0; border: 0; background: transparent; color: var(--ink);
	position: relative;
}
.agro-btn--link::after {
	content: ""; position: absolute; left: 0; bottom: -6px;
	width: 100%; height: 1px; background: var(--ink);
	transform: scaleX(1); transform-origin: left; transition: transform .25s ease;
}
.agro-btn--link:hover { color: var(--clay); }
.agro-btn--link:hover::after { background: var(--clay); transform: scaleX(.6); }
.agro-section--ink .agro-btn--link { color: var(--paper); }
.agro-section--ink .agro-btn--link::after { background: rgba(247,242,233,.5); }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
header.wp-block-template-part,
body > header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}
.agro-header {
	background: rgba(247, 242, 233, .9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.agro-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
}
.agro-brand { display: inline-flex; align-items: center; }
.agro-logo {
	display: block;
	width: 108px; height: 74px;
	background: url('../images/logo.png') no-repeat center;
	background-size: contain;
}

.agro-nav { display: flex; align-items: center; gap: 1.75rem; }
.agro-nav__list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.agro-nav__link {
	font-family: var(--sans);
	font-weight: 500; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink);
	position: relative; padding-block: .4rem;
}
.agro-nav__link::after {
	content: ""; position: absolute; left: 0; bottom: -1px;
	width: 0; height: 1px; background: var(--clay); transition: width .22s ease;
}
.agro-nav__link:hover { color: var(--clay); }
.agro-nav__link:hover::after,
.agro-nav__link.is-active::after { width: 100%; }
.agro-nav__link.is-active { color: var(--ink); }

.agro-header__actions { display: flex; align-items: center; gap: 1.1rem; }

/* Language toggle — plain editorial text, no boxes */
.agro-lang { display: inline-flex; align-items: center; gap: .1rem; }
.agro-lang__btn {
	font-family: var(--sans); font-weight: 600; font-size: .76rem; letter-spacing: .08em;
	background: transparent; color: var(--muted);
	border: 0; padding: .35rem .35rem; cursor: pointer; line-height: 1;
	transition: color .2s ease;
}
.agro-lang__btn + .agro-lang__btn { border-left: 1px solid var(--line); padding-left: .55rem; margin-left: .2rem; }
.agro-lang__btn:hover { color: var(--ink); }
.agro-lang__btn.is-active { color: var(--clay); }

/* Mobile menu button */
.agro-burger {
	display: none; background: transparent; border: 0; cursor: pointer;
	font-size: 1.7rem; color: var(--ink); line-height: 1; padding: .25rem;
}

/* =========================================================================
   HERO — editorial, type-led, on paper
   ========================================================================= */
.agro-hero {
	position: relative;
	background: var(--ink) url('../images/hero-bg.jpg') center / cover no-repeat;
	overflow: hidden;
	isolation: isolate;
}
.agro-hero::before {
	content: "";
	position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(18,12,7,.52) 0%, rgba(18,12,7,.72) 65%, rgba(18,12,7,.82) 100%);
}
.agro-hero__inner {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; justify-content: center;
	max-width: 780px;
	min-height: 80vh;
	padding-block: clamp(4rem, 2.5rem + 6vw, 6.5rem);
}
.agro-hero .agro-label { color: rgba(247, 242, 233, .8); }
.agro-hero__title {
	color: #fff;
	font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: .4rem 0 1.4rem;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	text-wrap: balance;
}
.agro-hero__title em { color: var(--clay-light); font-style: italic; display: block; }
.agro-hero__lead { font-size: 1.2rem; line-height: 1.65; color: rgba(247, 242, 233, .88); margin: 0 0 2rem; max-width: 56ch; }
.agro-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; }
.agro-hero .agro-btn--primary { background: var(--clay); border-color: var(--clay); color: #fff; }
.agro-hero .agro-btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.agro-hero .agro-btn--link { color: #fff; }
.agro-hero .agro-btn--link::after { background: rgba(255, 255, 255, .55); }
.agro-hero__stats {
	display: flex;
	border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 1.5rem;
}
.agro-hero__stats > div { padding-right: 2.5rem; }
.agro-hero__stats > div + div { padding-left: 2.5rem; border-left: 1px solid rgba(255, 255, 255, .22); padding-right: 0; }
.agro-hero__stat-num { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; color: #fff; line-height: 1; }
.agro-hero__stat-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 242, 233, .74); margin-top: .5rem; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.agro-about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center; }
.agro-about__media { margin: 0; }
.agro-about__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border: 1px solid var(--line); }
.agro-about__caption {
	display: flex; align-items: baseline; gap: .7rem;
	margin-top: 1rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.agro-about__caption strong { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1.05rem; color: var(--clay); }
.agro-about__text p { font-size: 1.08rem; color: var(--ink); }
.agro-about__values { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; }
.agro-about__values li { display: flex; gap: 1.1rem; align-items: flex-start; padding: .9rem 0; border-top: 1px solid var(--line); }
.agro-about__values li:last-child { border-bottom: 1px solid var(--line); }
.agro-about__values i { color: var(--clay); font-size: 1.4rem; flex: none; margin-top: .15rem; }
.agro-about__values b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); display: block; margin-bottom: .15rem; }
.agro-about__values span span { color: var(--muted); font-size: .98rem; }

/* =========================================================================
   SERVICES — hairline columns, no rounded cards
   ========================================================================= */
.agro-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
	border-top: 1px solid var(--line);
}
.agro-card {
	background: transparent;
	padding: 1.75rem 1.6rem;
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	transition: background .25s ease;
}
.agro-card:nth-child(3n) { border-right: 0; }
.agro-card:hover { background: var(--paper); }
.agro-section--tint .agro-card:hover { background: rgba(247, 242, 233, .55); }
.agro-card__icon {
	width: 48px; height: 48px;
	display: grid; place-items: center;
	color: var(--clay);
	font-size: 1.9rem; margin-bottom: 1rem; margin-left: -2px;
}
.agro-card h3 { font-size: 1.3rem; margin-bottom: .5rem; font-weight: 600; }
.agro-card p { color: var(--muted); margin-bottom: 1.1rem; font-size: .98rem; }
.agro-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.agro-card__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.agro-card__list i { color: var(--clay); font-size: 1.1rem; margin-top: .12rem; flex: none; }

/* =========================================================================
   PRODUCTS — image with editorial caption beneath (no overlay chip)
   ========================================================================= */
.agro-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.agro-product { margin: 0; }
.agro-product__img {
	position: relative; overflow: hidden;
	aspect-ratio: 3 / 3.6; border: 1px solid var(--line);
}
.agro-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.agro-product:hover .agro-product__img img { transform: scale(1.05); }
.agro-product__index {
	position: absolute; top: 0; left: 0;
	font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--paper);
	background: var(--ink); padding: .35rem .65rem; line-height: 1;
}
.agro-product__cap { display: flex; align-items: baseline; gap: .65rem; padding-top: .8rem; }
.agro-product__cap i { color: var(--clay); font-size: 1.3rem; flex: none; align-self: center; }
.agro-product__cap h3 { font-size: 1.25rem; margin: 0; font-weight: 600; }
.agro-product__cap span { display: block; color: var(--muted); font-size: .82rem; letter-spacing: .04em; }

/* =========================================================================
   WHY US / STATS — the one dark (ink) section
   ========================================================================= */
.agro-why__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	border-top: 1px solid var(--line-ink);
}
.agro-why__item {
	text-align: left; padding: 1.5rem 1.5rem 1.6rem;
	border-bottom: 1px solid var(--line-ink);
	border-right: 1px solid var(--line-ink);
}
.agro-why__item:nth-child(4n) { border-right: 0; }
.agro-why__item i { color: var(--clay); font-size: 1.9rem; margin-bottom: .75rem; display: block; }
.agro-why__item h3 { color: var(--paper); font-size: 1.2rem; margin-bottom: .4rem; font-weight: 600; }
.agro-why__item p { color: rgba(247, 242, 233, .68); font-size: .93rem; margin: 0; }

.agro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line-ink); }
.agro-stat { text-align: center; }
.agro-stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); color: var(--clay); line-height: 1; }
.agro-stat__label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 242, 233, .7); margin-top: .7rem; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.agro-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: start; }
.agro-contact__list { list-style: none; margin: 1.5rem 0 1.5rem; padding: 0; display: grid; gap: 0; }
.agro-contact__list li { display: flex; gap: 1.1rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--line); }
.agro-contact__list li:last-child { border-bottom: 1px solid var(--line); }
.agro-contact__list i {
	color: var(--clay); font-size: 1.45rem; flex: none; margin-top: .1rem;
}
.agro-contact__list b { font-family: var(--sans); font-weight: 600; color: var(--ink); display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .1rem; }
.agro-contact__list span { color: var(--ink); font-size: 1.02rem; word-break: break-word; }
.agro-contact__list b + span { color: var(--ink); }
.agro-contact__map { overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; }
.agro-contact__map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.4) sepia(.12); }
.agro-contact__maps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.agro-contact__maps .agro-contact__map { margin-top: 0; display: flex; flex-direction: column; }
.agro-contact__maps .agro-contact__map iframe { height: 180px; }
.agro-contact__cap { font-family: var(--sans); font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .55rem .7rem; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .agro-contact__maps { grid-template-columns: 1fr; } }

.agro-form { background: var(--paper); border: 1px solid var(--line); padding: 2rem; }
.agro-section--tint .agro-form { background: var(--white); }
.agro-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.agro-field { margin-bottom: 1.3rem; }
.agro-field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; font-family: var(--sans); }
.agro-field input,
.agro-field textarea {
	width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	font-family: inherit; font-size: 1.02rem; color: var(--ink); background: transparent;
	transition: border-color .2s ease;
}
.agro-field input::placeholder,
.agro-field textarea::placeholder { color: #ab9f8e; }
.agro-field input:focus,
.agro-field textarea:focus { outline: none; border-bottom-color: var(--clay); }
.agro-field textarea { min-height: 130px; resize: vertical; }
.agro-form .agro-btn { width: 100%; justify-content: center; margin-top: .5rem; }
.agro-form__note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

/* Submission status banner */
.agro-form__alert { padding: .9rem 1rem; margin-bottom: 1.4rem; font-size: .92rem; font-weight: 500; line-height: 1.45; }
.agro-form__alert--ok { background: #eef0e0; color: var(--ink); border-left: 3px solid var(--clay); }
.agro-form__alert--err { background: #f6e6df; color: #7a2410; border-left: 3px solid #b8502e; }

/* Honeypot */
.agro-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.agro-footer { background: var(--ink-deep); color: rgba(247, 242, 233, .72); padding-block: 3rem 1.5rem; }
.agro-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line-ink); }
.agro-footer h4 { color: var(--paper); font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.3rem; font-weight: 600; }
.agro-footer__brand-link { display: inline-flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.agro-footer__brandname { font-family: var(--serif); font-weight: 600; color: var(--paper); font-size: 1.65rem; letter-spacing: -0.01em; }
.agro-footer__brandsub { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--clay); margin-top: 4px; }
.agro-footer__about { font-size: .95rem; margin: 1.3rem 0 1.5rem; max-width: 36ch; }
.agro-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.agro-footer__list a { color: rgba(247, 242, 233, .72); font-size: .93rem; }
.agro-footer__list a:hover { color: var(--clay); }
.agro-footer__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; min-width: 0; }
.agro-footer__list li i { color: var(--clay); margin-top: .15rem; flex: none; }
.agro-footer__list span,
.agro-footer__list a { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.agro-footer__social { display: flex; gap: .7rem; margin-top: 1.25rem; }
.agro-footer__social a {
	width: 42px; height: 42px; display: grid; place-items: center;
	border: 1px solid var(--line-ink); color: var(--paper); font-size: 1.2rem;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.agro-footer__social a:hover { background: var(--clay); color: var(--paper); border-color: var(--clay); }
.agro-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: .82rem; letter-spacing: .02em; color: rgba(247, 242, 233, .5); }

/* =========================================================================
   LANGUAGE VISIBILITY (FR default)
   ========================================================================= */
[data-en] { }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
	.agro-hero__inner { min-height: 70vh; }
	.agro-about__grid { grid-template-columns: 1fr; }
	.agro-about__media { max-width: 540px; }
	.agro-cards { grid-template-columns: 1fr 1fr; }
	.agro-card:nth-child(3n) { border-right: 1px solid var(--line); }
	.agro-card:nth-child(2n) { border-right: 0; }
	.agro-products { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
	.agro-why__grid { grid-template-columns: 1fr 1fr; }
	.agro-why__item:nth-child(4n) { border-right: 1px solid var(--line-ink); }
	.agro-why__item:nth-child(2n) { border-right: 0; }
	.agro-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.agro-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
	.agro-nav { display: none; }
	.agro-nav.is-open {
		display: block;
		position: fixed; inset: var(--header-h) 0 auto 0;
		background: var(--paper);
		border-top: 2px solid var(--clay);
		box-shadow: 0 18px 34px -18px rgba(17, 17, 17, .45);
		padding: .25rem 0 .5rem; z-index: 99;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.agro-nav.is-open .agro-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.agro-nav.is-open .agro-nav__link {
		display: block; padding: 1rem 28px;
		font-size: .9rem; letter-spacing: .14em;
		border-bottom: 1px solid var(--line);
	}
	.agro-nav.is-open .agro-nav__list li:last-child .agro-nav__link { border-bottom: 0; }
	.agro-nav.is-open .agro-nav__link::after { display: none; }
	.agro-nav.is-open .agro-nav__link:hover,
	.agro-nav.is-open .agro-nav__link.is-active {
		background: var(--sand);
		box-shadow: inset 3px 0 0 var(--clay);
	}
	.agro-burger { display: block; }
	.agro-stats { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.agro-form__row { grid-template-columns: 1fr; }
	.agro-container { padding-inline: 22px; }
	.agro-form { padding: 1.75rem; }
}

@media (max-width: 540px) {
	:root { --header-h: 72px; }
	.agro-cards { grid-template-columns: 1fr; }
	.agro-card { border-right: 0 !important; }
	.agro-products { grid-template-columns: 1fr 1fr; }
	.agro-why__grid { grid-template-columns: 1fr; }
	.agro-why__item { border-right: 0 !important; }
	.agro-hero__stats { flex-wrap: wrap; }
	.agro-hero__stats > div { padding-right: 1.5rem; }
	.agro-hero__stats > div + div { padding-left: 1.5rem; }
	.agro-hero__stat-num { font-size: 2rem; }
	.agro-hero__actions { flex-direction: column; align-items: stretch; gap: 1rem; width: 100%; }
	.agro-hero__actions .agro-btn--primary { width: 100%; justify-content: center; }
	.agro-hero__actions .agro-btn--link { align-self: flex-start; }
	.agro-btn { padding: .95rem 1.2rem; letter-spacing: .08em; font-size: .78rem; }
	.agro-container { padding-inline: 18px; }
	.agro-header__inner { gap: .75rem; }
	.agro-header__actions { gap: .6rem; }
	.agro-about__media { max-width: 100%; }
	.agro-section__lead, .agro-hero__lead { font-size: 1.08rem; }
	.agro-footer__bottom { flex-direction: column; gap: .5rem; }
}

@media (max-width: 400px) {
	.agro-products { grid-template-columns: 1fr; }
	.agro-hero__stats { flex-wrap: wrap; }
	.agro-logo { width: 92px; height: 63px; }
}

/* Larger tap targets on touch devices */
@media (hover: none) {
	.agro-nav__link, .agro-btn, .agro-lang__btn, .agro-burger { -webkit-tap-highlight-color: transparent; }
}

/* =========================================================================
   404, LEGAL PAGE, COOKIE BANNER, FOOTER LEGAL LINKS
   ========================================================================= */
.agro-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.agro-404__inner { max-width: 580px; }
.agro-404__code { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(5rem, 2rem + 16vw, 11rem); color: var(--clay); line-height: 1; letter-spacing: -0.03em; }
.agro-404 h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin: .25rem 0 1rem; }
.agro-404 p { color: var(--muted); margin-bottom: 2rem; }

.agro-legal { max-width: 760px; }
.agro-legal h2 { font-size: 1.7rem; margin: 2.5rem 0 .75rem; }
.agro-legal h2:first-child { margin-top: 0; }
.agro-legal p { color: var(--muted); margin-bottom: 1rem; }
.agro-legal a { color: var(--clay); font-weight: 600; }

.agro-footer__legal { display: inline-flex; gap: .9rem; flex-wrap: wrap; }
.agro-footer__legal a { color: rgba(247, 242, 233, .5); }
.agro-footer__legal a:hover { color: var(--clay); }

.agro-cookie {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
	background: var(--ink); color: var(--paper);
	box-shadow: 0 -8px 30px -14px rgba(0, 0, 0, .35);
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.1rem 28px; flex-wrap: wrap;
}
.agro-cookie[hidden] { display: none; }
.agro-cookie__text { margin: 0; font-size: .92rem; color: rgba(247, 242, 233, .82); max-width: 68ch; }
.agro-cookie__actions { display: flex; align-items: center; gap: 1.5rem; }
.agro-cookie__link { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); font-weight: 600; white-space: nowrap; }
.agro-cookie__link:hover { color: var(--clay); }
.agro-cookie .agro-btn--primary { background: var(--clay); border-color: var(--clay); }
.agro-cookie .agro-btn--primary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.agro-cookie__accept { padding: .75rem 1.6rem; }
@media (max-width: 540px) {
	.agro-cookie { padding: 1rem 18px; gap: 1rem; }
	.agro-cookie__actions { width: 100%; justify-content: space-between; }
}
