/* =========================================================
   M&S Agrotech — main stylesheet
   Tokens mirror the Figma "Design 1.0" variables and text styles.
   ========================================================= */

:root {
	/* Colour */
	--g7: #1F6B32;   /* brand green */
	--g5: #3E9B45;
	--g9: #16301D;   /* dark forest */
	--g0: #EEF5EA;   /* green tint */
	--y: #F3C845;    /* accent yellow */
	--y0: #FDF6DC;
	--ink: #141B16;
	--ink-2: #545C56;
	--ink-3: #8A918B;
	--line: #E4E7E1;
	--sf: #F4F5F2;   /* surface grey */
	--white: #FFFFFF;

	/* Layout */
	--container: 1200px;
	--gutter: 120px;
	--section: 120px;     /* space between sections */
	--head-gap: 48px;     /* section head -> content */
	--radius: 16px;
	--radius-lg: 24px;

	/* Type */
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (max-width: 1360px) { :root { --gutter: 64px; } }
@media (max-width: 1024px) { :root { --gutter: 40px; --section: 96px; --head-gap: 40px; } }
@media (max-width: 640px)  { :root { --gutter: 20px; --section: 72px; --head-gap: 32px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 26px;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--g7); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: absolute; left: 16px; top: -48px; z-index: 100;
	background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Type (M&S/* text styles) ---------- */
.hero-title { font-size: 76px; line-height: 80px; font-weight: 600; letter-spacing: -0.04em; }
.display    { font-size: 56px; line-height: 62px; font-weight: 600; letter-spacing: -0.03em; }
.h1         { font-size: 48px; line-height: 54px; font-weight: 600; letter-spacing: -0.03em; }
.h2         { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.02em; }
.h3         { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.h4         { font-size: 20px; line-height: 28px; font-weight: 600; }
.body-l     { font-size: 18px; line-height: 28px; }
.body       { font-size: 16px; line-height: 26px; }
.body-m     { font-size: 16px; line-height: 26px; font-weight: 500; }
.small      { font-size: 14px; line-height: 22px; }
.small-m    { font-size: 14px; line-height: 22px; font-weight: 500; }
.caption    { font-size: 14px; line-height: 20px; font-weight: 500; }
.muted      { color: var(--ink-2); }
.subtle     { color: var(--ink-3); }

@media (max-width: 1024px) {
	.hero-title { font-size: 56px; line-height: 60px; }
	.display    { font-size: 44px; line-height: 50px; }
	.h1         { font-size: 40px; line-height: 46px; }
	.h2         { font-size: 34px; line-height: 40px; }
}
@media (max-width: 640px) {
	.hero-title { font-size: 40px; line-height: 44px; }
	.display    { font-size: 34px; line-height: 40px; }
	.h1         { font-size: 34px; line-height: 40px; }
	.h2         { font-size: 28px; line-height: 34px; }
	.h3         { font-size: 24px; line-height: 32px; }
	.body-l     { font-size: 16px; line-height: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 48px; padding: 0 24px; border-radius: 999px;
	font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap;
	border: 1px solid transparent; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary   { background: var(--g7); color: var(--white); }
.btn--primary:hover { background: var(--g9); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--ink-3); }
.btn--yellow    { background: var(--y); color: var(--ink); }
.btn--yellow:hover { background: #E8B92E; }
.btn--on-dark   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--on-dark:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-circle {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px; background: var(--g0); color: var(--g7);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--sf); }

.page-header { padding-top: 56px; padding-bottom: 64px; }
.page-header .h1 + .page-header__desc,
.page-header__desc { margin-top: 16px; max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.site-header__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 88px; padding-block: 18px;
}
.site-logo img { width: 231px; height: 52px; }

.site-nav ul { display: flex; gap: 36px; }
.site-nav a:not(.btn) {
	position: relative; display: block; padding-top: 8px; padding-bottom: 8px;
	font-size: 14px; line-height: 22px; font-weight: 500; color: var(--ink-2);
	transition: color .15s ease;
}
.site-nav a:not(.btn)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	border-radius: 1px; background: var(--g7); transform: scaleX(0); transition: transform .2s ease;
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav__cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.quote-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px;
	border: 1px solid var(--line); border-radius: 999px;
	font-size: 14px; line-height: 22px; font-weight: 500;
	transition: border-color .15s ease;
}
.quote-pill:hover { border-color: var(--ink-3); }
.quote-pill__count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	background: var(--y); font-size: 14px; line-height: 20px; font-weight: 500;
}
.quote-pill__count[hidden] { display: none; }

.menu-toggle {
	display: none; width: 48px; height: 48px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); cursor: pointer;
	align-items: center; justify-content: center;
}
.menu-toggle__close { display: none; }

@media (max-width: 1180px) {
	.site-nav ul { gap: 24px; }
}
@media (max-width: 1080px) {
	.site-header__bar { min-height: 72px; padding-block: 12px; }
	.site-logo img { width: 178px; height: 40px; }
	.menu-toggle { display: inline-flex; }
	.site-header__cta { display: none; }
	.site-nav {
		position: fixed; inset: 73px 0 0 0; z-index: 49;
		background: var(--white); padding: 24px var(--gutter) 32px;
		display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a:not(.btn) {
		font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink);
		padding: 16px 0; border-bottom: 1px solid var(--line);
	}
	.site-nav a:not(.btn)::after { display: none; }
	.site-nav a.is-active { color: var(--g7); }
	.site-nav__cta { display: inline-flex; width: 100%; }
	.site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.site-header.is-open .menu-toggle__open { display: none; }
	.site-header.is-open .menu-toggle__close { display: block; }
}
@media (max-width: 480px) {
	.quote-pill { width: 48px; padding: 0; justify-content: center; position: relative; }
	.quote-pill__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.quote-pill__count { position: absolute; top: -4px; right: -4px; }
}

/* ---------- Get in touch ---------- */
.git { padding-block: 96px; }
.git__inner { display: flex; align-items: center; justify-content: space-between; gap: 96px; }
.git__text { flex: 0 1 420px; display: flex; flex-direction: column; gap: 16px; }
.git__text .btn-row { padding-top: 8px; }
.git__channels { flex: 0 1 684px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.channel {
	display: flex; align-items: center; gap: 16px; padding: 20px;
	background: var(--white); border-radius: var(--radius);
}
.channel__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.channel__text a:hover { color: var(--g7); }

@media (max-width: 1024px) {
	.git__inner { flex-direction: column; align-items: stretch; gap: 40px; }
	.git__text, .git__channels { flex: none; }
}
@media (max-width: 640px) {
	.git { padding-block: 72px; }
	.git__channels { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: 80px; padding-bottom: 40px; background: var(--white); }
.site-footer__top { display: flex; justify-content: space-between; gap: 64px; }
.site-footer__brand { flex: 0 1 384px; display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { width: 231px; height: 52px; }
.site-footer__brand p { max-width: 300px; }
.site-footer__cols { display: flex; gap: 80px; }
.site-footer__cols h3 { margin-bottom: 16px; color: var(--ink); }
.site-footer__cols ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__cols li { font-size: 14px; line-height: 22px; color: var(--ink-2); }
.site-footer__cols a:hover { color: var(--g7); }
.site-footer__bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
	font-size: 14px; line-height: 22px; color: var(--ink-3);
}
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: var(--ink); }

@media (max-width: 1024px) {
	.site-footer__top { flex-direction: column; gap: 48px; }
	.site-footer__brand { flex: none; }
}
@media (max-width: 640px) {
	.site-footer { padding-top: 64px; }
	.site-footer__cols { flex-wrap: wrap; gap: 40px 48px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 48px; }
}

/* ---------- Prose (generic pages) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose a { color: var(--g7); text-decoration: underline; }

/* =========================================================
   Shared components
   ========================================================= */
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: var(--head-gap); }
.section-head__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 690px; }
.section-head__text p { max-width: 640px; }

.text-link {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	font-size: 16px; line-height: 26px; font-weight: 500; color: var(--g7);
}
.text-link .icon { transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--head-gap); }
.chip {
	height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--white);
	font-size: 14px; line-height: 22px; font-weight: 500; color: var(--ink);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--ink-3); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.icon-circle--sm { width: 40px; height: 40px; }
.icon-circle--white { width: 48px; height: 48px; background: var(--white); }

@media (max-width: 640px) {
	.section-head__meta, .section-head--row { flex-direction: column; align-items: flex-start; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
}

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card[hidden] { display: none; }
.product-card__well {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 282 / 300; border-radius: var(--radius); background: var(--sf); overflow: hidden;
}
.product-card__well img { width: 55%; height: 79%; object-fit: contain; transition: transform .3s ease; }
.product-card:hover .product-card__well img { transform: scale(1.04); }
.product-card__info { display: flex; align-items: center; gap: 12px; padding: 18px 4px 0; }
.product-card__text { flex: 1; min-width: 0; }
.product-card__text .h4 { overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.product-card__text a:hover { color: var(--g7); }
.product-card__text p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.add-btn {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--white); color: var(--ink);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.add-btn:hover { border-color: var(--g7); color: var(--g7); }
.add-btn__check { display: none; }
.add-btn.is-added { background: var(--g7); border-color: var(--g7); color: var(--white); }
.add-btn.is-added .add-btn__plus { display: none; }
.add-btn.is-added .add-btn__check { display: block; }

@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 640px)  {
	/* On phones the + sits on the photo corner, so the full card width is free for the name. */
	.product-card__info { display: block; padding: 12px 2px 0; }
	.product-card__text .h4 { font-size: clamp(14px, 4.2vw, 16px); line-height: 22px; }
	.product-card__text p { margin-top: 2px; }
	.product-card .add-btn {
		position: absolute; top: 8px; right: 8px; width: 36px; height: 36px;
		border-color: transparent; box-shadow: 0 2px 8px rgba(20,27,22,.10);
	}
	.product-card .add-btn.is-added { border-color: var(--g7); }
}

/* ---------- Toast ---------- */
.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 16px);
	display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px);
	padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white);
	font-size: 14px; line-height: 22px; font-weight: 500;
	opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--y); color: var(--ink); font-weight: 600; }

/* =========================================================
   Home
   ========================================================= */
.hero { position: relative; min-height: 848px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: -2; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,0) 72%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 104px; }
.hero__eyebrow { color: var(--g7); }
.hero__lead { max-width: 600px; }
.hero__actions { justify-content: center; }

.statement {
	max-width: 894px; margin-bottom: var(--head-gap);
	font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
}
.statement span { color: var(--ink-3); }
.photo-row { display: grid; grid-template-columns: 384fr 282fr 486fr; grid-template-rows: 480px; gap: 24px; margin-bottom: var(--head-gap); }
.photo-row > * { min-height: 0; overflow: hidden; }
.photo-row img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.promise-card {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
	padding: 32px; border-radius: var(--radius); background: var(--y); color: var(--ink);
}

.crop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.crop-card { display: flex; flex-direction: column; padding: 8px; border-radius: 20px; background: var(--white); transition: box-shadow .2s ease, transform .2s ease; }
.crop-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20, 27, 22, .08); }
.crop-card img { width: 100%; aspect-ratio: 266 / 190; object-fit: cover; border-radius: 14px; }
.crop-card__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 12px 14px; color: var(--g7); }
.crop-card__name .h4 { color: var(--ink); }

.split { display: grid; grid-template-columns: 588fr 516fr; gap: 96px; align-items: center; }
.split--top { grid-template-columns: 516fr 588fr; align-items: stretch; }
.split__content { display: flex; flex-direction: column; gap: 16px; }
.split__photo { width: 100%; height: 100%; min-height: 480px; object-fit: cover; border-radius: var(--radius); }

.pack-stage { position: relative; aspect-ratio: 588 / 520; border-radius: 20px; background: var(--sf); overflow: hidden; }
.pack-stage img { position: absolute; object-fit: contain; }
.pack-stage__a { width: 32%; height: 56%; left: 10%; bottom: 14%; }
.pack-stage__b { width: 39%; height: 67%; left: 31%; bottom: 10%; z-index: 1; }
.pack-stage__c { width: 41%; height: 52%; right: 6%; bottom: 12%; }

.proof-list { padding-top: 16px; }
.proof-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }

.service-list { padding-top: 16px; }
.service-list li > a { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.service-list li > a:hover .h4 { color: var(--g7); }
.service-list__text { display: flex; flex-direction: column; gap: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: var(--head-gap); counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink); }
.steps li > .h3 { color: var(--g7); }

.dealer-card {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 540px; padding: 56px; border-radius: var(--radius-lg);
	display: flex; align-items: center; color: var(--white);
}
.dealer-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dealer-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(22,48,29,.85) 0%, rgba(22,48,29,.55) 45%, rgba(22,48,29,0) 80%);
}
.dealer-card__content { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.dealer-card__content .body-l { max-width: 500px; }
.dealer-card__content .btn-row { padding-top: 8px; }

@media (max-width: 1024px) {
	.hero { min-height: 720px; }
	.hero__content { padding-top: 80px; }
	.statement { font-size: 32px; line-height: 40px; }
	.photo-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.photo-row img { aspect-ratio: 4 / 5; }
	.photo-row__b { grid-column: 1 / -1; aspect-ratio: 16 / 9 !important; }
	.promise-card { aspect-ratio: auto; }
	.crop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split, .split--top { grid-template-columns: 1fr; gap: 48px; }
	.split__photo { min-height: 0; aspect-ratio: 4 / 3; }
	.dealer-card { min-height: 460px; padding: 40px; }
}
@media (max-width: 640px) {
	.hero { min-height: 640px; }
	.hero__content { padding-top: 56px; gap: 20px; }
	.hero__actions { flex-direction: column; width: 100%; }
	.hero__actions .btn { width: 100%; }
	.statement { font-size: 24px; line-height: 32px; }
	.photo-row { grid-template-columns: 1fr; gap: 16px; }
	.photo-row img, .photo-row__b { aspect-ratio: 4 / 3 !important; }
	.promise-card { padding: 24px; }
	.crop-grid { gap: 12px; }
	.crop-card { padding: 6px; border-radius: 16px; }
	.crop-card img { border-radius: 12px; }
	.crop-card__name { padding: 12px 6px 8px; }
	.crop-card__name .h4 { font-size: 15px; line-height: 22px; }
	.crop-card__name .icon { display: none; }
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.dealer-card { min-height: 520px; padding: 28px; align-items: flex-end; }
	.dealer-card::before { background: linear-gradient(0deg, rgba(22,48,29,.92) 0%, rgba(22,48,29,.6) 55%, rgba(22,48,29,.1) 100%); }
}

/* =========================================================
   Utilities
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-3); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-3); }
.page-header .h1 + .page-header__desc { margin-top: 16px; }
.link-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--g7); }
.link-btn:hover { text-decoration: underline; }
.section-head--center { align-items: center; }

/* =========================================================
   Products page
   ========================================================= */
.catalogue { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 48px; align-items: start; }

.filters { position: relative; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.filters__close, .filters__apply { display: none; }
.filter-group { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.filter-group summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .icon { color: var(--ink-2); transition: transform .2s ease; }
.filter-group[open] summary .icon { transform: rotate(180deg); }
.filter-group__options { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }

.check { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--line); background: var(--white); color: transparent;
	transition: background-color .15s ease, border-color .15s ease;
}
.check:hover .check__box { border-color: var(--ink-3); }
.check input:checked + .check__box { background: var(--g7); border-color: var(--g7); color: var(--white); }
.check input:focus-visible + .check__box { outline: 2px solid var(--g7); outline-offset: 2px; }
.check__count { margin-left: auto; }

.results { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.toolbar { display: flex; gap: 12px; }
.search {
	flex: 1; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px;
	border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: border-color .15s ease;
}
.search:focus-within { border-color: var(--g7); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; line-height: 26px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.sort { position: relative; flex: none; width: 176px; }
.sort select {
	appearance: none; width: 100%; height: 52px; padding: 0 44px 0 20px; cursor: pointer;
	border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	font-size: 14px; line-height: 22px; font-weight: 500;
}
.sort .icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }
.filters-toggle { display: none; height: 52px; }
.filters-toggle__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--y); font-size: 13px; }
.filters-toggle__n[hidden] { display: none; }

.price-note { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--sf); }
.price-note .icon { flex: none; color: var(--g7); }
.results__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; flex-wrap: wrap; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.active-chip {
	display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
	background: var(--g0); color: var(--g7); font-size: 14px; line-height: 22px; font-weight: 500; border: 0;
}
button.active-chip { cursor: pointer; }
button.active-chip:hover { background: #E1EEDB; }

.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px; border-radius: var(--radius); border: 1px dashed var(--line); }
.empty-state .btn-row { padding-top: 8px; }
.empty-state[hidden], .results__end[hidden] { display: none; }
.results__end { text-align: center; padding-top: 16px; }

.help-card { display: grid; grid-template-columns: 680fr 520fr; border-radius: 20px; background: var(--sf); overflow: hidden; min-height: 440px; }
.help-card__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 56px; }
.help-card__text .h2 { max-width: 568px; }
.help-card__text p { max-width: 480px; }
.help-card__text .btn-row { padding-top: 8px; }
.help-card__photo { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1180px) {
	.catalogue { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
	.product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.catalogue { grid-template-columns: 1fr; }
	.filters-toggle { display: inline-flex; }
	.filters {
		position: fixed; inset: auto 0 0 0; top: auto; z-index: 90; max-height: 85vh;
		background: var(--white); border-radius: 20px 20px 0 0; padding: 20px var(--gutter) 0;
		transform: translateY(100%); transition: transform .25s ease; box-shadow: 0 -12px 40px rgba(20,27,22,.12);
		overflow-y: auto; scrollbar-width: none;
	}
	.filters.is-open { transform: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filters__head { gap: 16px; }
	.filters__head .h4 { margin-right: auto; }
	.filters__close { display: inline-flex; border: 0; background: none; cursor: pointer; padding: 4px; }
	.filters__apply { display: block; position: sticky; bottom: 0; padding: 16px 0 20px; background: var(--white); border-top: 1px solid var(--line); }
	.filters__apply .btn { width: 100%; }
	.filters-backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(20,27,22,.4); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
	.filters.is-open + .filters-backdrop { opacity: 1; visibility: visible; }
	.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.help-card { grid-template-columns: 1fr; }
	.help-card__photo { aspect-ratio: 16 / 9; order: -1; }
}
@media (min-width: 1025px) { .filters-backdrop { display: none; } }
@media (max-width: 760px) {
	.product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.toolbar { flex-wrap: wrap; }
	.search { flex-basis: 100%; }
	.sort { flex: 1; width: auto; }
	.filters-toggle { flex: 1; }
	.help-card__text { padding: 28px; }
}

/* =========================================================
   Single product
   ========================================================= */
.product-hero { padding: 56px 0 var(--section); }
.product-hero__row { display: grid; grid-template-columns: 588fr 516fr; gap: 96px; align-items: start; }
.product-hero__image {
	position: sticky; top: 112px;
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 588 / 620; border-radius: 20px; background: var(--sf);
}
.product-hero__image img { width: 51%; height: 74%; object-fit: contain; }
.product-hero__info { display: flex; flex-direction: column; gap: 28px; padding-top: 16px; }
.product-hero__info > .h1 { margin-top: -16px; }
.product-hero__info > .body-l { margin-top: -16px; }
.product-hero__eyebrow { color: var(--g7); }
.benefits { display: flex; flex-direction: column; gap: 12px; }
.benefits li { display: flex; align-items: center; gap: 12px; }
.tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--g0); color: var(--g7); }
.tick .icon { stroke-width: 2.5; }
.tick--white { width: 18px; height: 18px; background: var(--white); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.options { display: flex; flex-wrap: wrap; gap: 40px; }
.option { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.option legend { padding: 0; margin-bottom: 12px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { cursor: pointer; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .15s ease; }
.size:hover span { border-color: var(--ink-3); }
.size input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size input:focus-visible + span { outline: 2px solid var(--g7); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; height: 48px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.stepper button:hover { background: var(--sf); }
.stepper input { width: 40px; border: 0; text-align: center; font-size: 16px; font-weight: 500; -moz-appearance: textfield; background: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.notes { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 18px 20px; border-radius: 12px; background: var(--sf); }
.notes li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.notes .tick { color: var(--g7); }

.tabs { display: flex; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: var(--head-gap); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
	position: relative; flex: none; padding: 0 0 14px; border: 0; background: none; cursor: pointer;
	font-size: 16px; line-height: 26px; font-weight: 500; color: var(--ink-2);
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .2s ease; }
.tab:hover, .tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.details { display: grid; grid-template-columns: 618fr 486fr; gap: 96px; align-items: start; }
.tab-panel { display: flex; flex-direction: column; gap: 20px; }
.tab-panel[hidden] { display: none; }
.prose-tight > * + * { margin-top: 20px; }
.how-list { display: flex; flex-direction: column; gap: 16px; }
.how-list li { display: flex; gap: 16px; }
.how-list .h4 { color: var(--g7); flex: none; width: 24px; }
.crop-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.crop-tags a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; }
.crop-tags a .icon { color: var(--g7); }
.crop-tags a:hover { box-shadow: inset 0 0 0 1px var(--g7); }
.doc-link { display: inline-flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); background: var(--white); }
.doc-link > span:last-child { display: flex; flex-direction: column; }
.key-facts { margin: 0; padding: 12px 28px; border-radius: var(--radius); background: var(--white); }
.key-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 14px; line-height: 22px; }
.key-facts div + div { border-top: 1px solid var(--line); }
.key-facts dt { color: var(--ink-2); }
.key-facts dd { margin: 0; font-weight: 500; text-align: right; }
.key-facts a { color: var(--g7); }

@media (max-width: 1024px) {
	.product-hero__row, .details { grid-template-columns: 1fr; gap: 40px; }
	.product-hero__image { position: static; aspect-ratio: 4 / 3; }
	.product-hero__image img { width: 40%; height: 80%; }
}
@media (max-width: 640px) {
	.product-hero { padding-top: 32px; }
	.product-hero__image { aspect-ratio: 1 / 1; }
	.product-hero__image img { width: 50%; }
	.product-hero__info { gap: 24px; padding-top: 0; }
	.options { gap: 24px; }
	.product-hero__info .btn-row .btn { flex: 1; }
	.tabs { gap: 28px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.key-facts { padding: 4px 20px; }
}

/* =========================================================
   Forms
   ========================================================= */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field input, .field textarea, .select select {
	width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--white);
	font-size: 16px; line-height: 26px; color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover, .select select:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus, .select select:focus { outline: 0; border-color: var(--g7); box-shadow: 0 0 0 3px rgba(31,107,50,.12); }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field-error { color: #B42318; font-size: 14px; line-height: 20px; }
.field-error[hidden] { display: none; }
.select { position: relative; display: block; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select select:invalid, .select select option[value=""] { color: var(--ink-3); }
.select .icon, .select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 0; padding: 0; margin: 0; }
.choice { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s ease; }
.choice:hover { border-color: var(--ink-3); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__radio { flex: none; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--line); transition: border .15s ease; }
.choice__text { display: flex; flex-direction: column; gap: 2px; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 .5px var(--ink); }
.choice input:checked + .choice__radio { border: 6px solid var(--ink); }
.choice input:focus-visible + .choice__radio { outline: 2px solid var(--g7); outline-offset: 2px; }

/* =========================================================
   Your quote
   ========================================================= */
.quote { display: grid; grid-template-columns: 768fr 384fr; gap: 48px; align-items: start; }
.quote__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.panel { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 20px; border: 1px solid var(--line); }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; white-space: nowrap; padding-bottom: 8px; margin-bottom: -12px; }
.green-link { display: inline-flex; align-items: center; gap: 4px; color: var(--g7); }
.green-link:hover { text-decoration: underline; }

.quote-items[hidden] { display: none; }
.quote-item { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.quote-item__well { flex: none; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 12px; background: var(--sf); }
.quote-item__well img { width: 58%; height: 88%; object-fit: contain; }
.quote-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.quote-item__text a:hover { color: var(--g7); }
.quote-item__controls { display: flex; align-items: center; gap: 20px; }
.select--pill select { height: 44px; width: 104px; border-radius: 999px; padding: 0 36px 0 14px; font-size: 14px; font-weight: 500; }
.select--pill svg { right: 12px; }
.stepper--sm { height: 42px; padding: 0 4px; }
.stepper--sm button { width: 32px; height: 32px; }
.stepper--sm input { width: 34px; }
.quote-item__remove { width: 36px; height: 36px; border-radius: 999px; border: 0; background: none; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.quote-item__remove:hover { background: var(--sf); color: #B42318; }
.quote-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.quote-empty[hidden] { display: none; }
.quote-empty .btn { margin-top: 8px; }

.quote__summary { position: sticky; top: 112px; }
.summary { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: var(--sf); }
.summary dl { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; }
.summary__buttons { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.summary__buttons .btn { width: 100%; }
.form-alert { padding: 12px 14px; border-radius: 10px; background: #FEF3F2; color: #B42318; }
.form-alert[hidden] { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.quote-bar { display: none; }

/* Sent overlay with background blur */
.sent {
	position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
	background: rgba(244,245,242,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	animation: sent-in .25s ease;
}
.sent[hidden] { display: none; }
.sent__card {
	width: 100%; max-width: 720px; max-height: calc(100vh - 48px); overflow-y: auto;
	display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
	padding: 56px; border-radius: 24px; border: 1px solid var(--line); background: var(--white);
	box-shadow: 0 24px 64px rgba(20,27,22,.14); animation: sent-card .3s ease;
}
.sent__card .body-l { max-width: 606px; }
.sent__check { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: var(--g0); color: var(--g7); }
.sent__check .icon { stroke-width: 2.2; }
.sent__ref { display: inline-flex; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--sf); }
.sent__ref strong { font-weight: 500; }
.sent__steps { align-self: stretch; text-align: left; padding: 12px 0 4px; }
.sent__steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 26px; }
.sent__steps li:last-child { border-bottom: 1px solid var(--line); }
.sent__steps span { color: var(--g7); font-weight: 500; width: 12px; }
.sent__card .btn-row { justify-content: center; padding-top: 8px; }
@keyframes sent-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sent-card { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
	.quote { grid-template-columns: 1fr; gap: 24px; }
	.quote__summary { position: static; }
	.quote-bar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		justify-content: space-between; align-items: center; gap: 16px;
		padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
		background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20,27,22,.06);
	}
	.quote-bar > div { display: flex; flex-direction: column; }
	.quote.is-empty .quote-bar { display: none; }
	body:has(.quote-bar) .site-footer { padding-bottom: 120px; }
}
@media (max-width: 760px) {
	.panel { padding: 20px; border-radius: 16px; }
	.form-grid, .choice-row { grid-template-columns: 1fr; gap: 16px; }
	.quote-item { flex-wrap: wrap; gap: 12px 16px; }
	.quote-item__well { width: 64px; height: 64px; }
	.quote-item { position: relative; }
	.quote-item__text { padding-right: 36px; }
	.quote-item__controls { width: 100%; gap: 12px; padding-left: 80px; }
	.quote-item__remove { position: absolute; top: 12px; right: -8px; }
	.summary { padding: 24px; }
	.sent__card { padding: 32px 20px; gap: 16px; }
	.sent__card .btn-row { flex-direction: column; width: 100%; }
	.sent__card .btn-row .btn { width: 100%; }
}

/* =========================================================
   Crop guide
   ========================================================= */
.guide-header { padding: 56px 0 32px; border-bottom: 1px solid var(--line); }
.crop-select { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.crop-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.crop-pills .chip { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; }
.article-wrap { padding: 64px 0 var(--section); }
.article-grid { display: grid; grid-template-columns: 282px minmax(0, 720px); gap: 120px; align-items: start; }
.toc { position: sticky; top: 120px; display: flex; flex-direction: column; }
.toc > .body-m { margin-bottom: 16px; }
.toc__list a {
	display: block; padding: 10px 0 10px 16px; border-left: 2px solid var(--line);
	font-size: 16px; line-height: 26px; color: var(--ink-2); transition: color .15s ease, border-color .15s ease;
}
.toc__list a:hover { color: var(--ink); }
.toc__list a.is-active { border-left-color: var(--g7); color: var(--ink); font-weight: 500; }
.toc__help { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--sf); }

.article { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.article__head { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 120px; }
.article__meta { display: flex; gap: 12px; color: var(--ink-3); }
.article__meta .small-m { color: var(--g7); }
.article__photo { width: 100%; height: auto; aspect-ratio: 720 / 420; object-fit: cover; border-radius: 20px; }
.draft-note { padding: 16px 20px; border-radius: 12px; background: var(--y0); color: var(--ink); }
.stage { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; scroll-margin-top: 120px; }
.use-list { display: flex; flex-direction: column; gap: 16px; }
.use-item { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: var(--radius); background: var(--sf); }
.use-item__well { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 84px; border-radius: 12px; background: var(--white); }
.use-item__well img { width: 64%; height: 83%; object-fit: contain; }
.use-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.use-item__text .h4 a:hover { color: var(--g7); }
.tip { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--g0); }
.tip > div { display: flex; flex-direction: column; gap: 6px; }
.icon-circle--white.icon-circle--sm { width: 40px; height: 40px; }
.summary-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-table__row { display: grid; grid-template-columns: 200px 200px 1fr; gap: 20px; padding: 14px 20px; }
.summary-table__row + .summary-table__row { border-top: 1px solid var(--line); }
.summary-table__head { background: var(--sf); font-size: 14px; line-height: 22px; font-weight: 500; }
.article__actions { padding-top: 8px; }

.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide-card { display: flex; flex-direction: column; padding: 8px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20,27,22,.08); }
.guide-card img { width: 100%; height: auto; aspect-ratio: 368 / 220; object-fit: cover; border-radius: 14px; }
.guide-card__text { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 16px; }

@media (max-width: 1180px) { .article-grid { gap: 64px; grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 1024px) {
	.crop-select { flex-direction: column; align-items: flex-start; gap: 12px; }
	.crop-pills { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.crop-pills::-webkit-scrollbar { display: none; }
	.crop-pills .chip { flex: none; }
	.article-grid { grid-template-columns: 1fr; gap: 0; }
	.toc { display: none; }
	.guide-cards { grid-template-columns: 1fr 1fr; }
	.guide-cards .guide-card:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
	.guide-header { padding: 32px 0 24px; }
	.article-wrap { padding-top: 32px; }
	.article, .article__head { gap: 20px; }
	.use-item { align-items: flex-start; gap: 14px; padding: 14px; position: relative; }
	.use-item__well { width: 60px; height: 70px; }
	.use-item__text { padding-right: 44px; }
	.use-item .add-btn { position: absolute; top: 14px; right: 14px; }
	.summary-table__head { display: none; }
	.summary-table__row { grid-template-columns: 1fr; gap: 2px; }
	.summary-table__row span:nth-child(2)::before { content: "Goal: "; }
	.summary-table__row span:nth-child(3)::before { content: "Use: "; }
	.article__actions { flex-direction: column; }
	.article__actions .btn { width: 100%; }
	.guide-cards { grid-template-columns: 1fr; }
	.guide-cards .guide-card:nth-child(3) { display: flex; }
}

/* =========================================================
   Services
   ========================================================= */
.green { color: var(--g7); }
.icon-circle--lg { width: 48px; height: 48px; }
.service-rows { display: flex; flex-direction: column; gap: 96px; }
.service-row { display: grid; grid-template-columns: 516fr 588fr; gap: 96px; align-items: center; scroll-margin-top: 120px; }
.service-row--flip { grid-template-columns: 588fr 516fr; }
.service-row--flip .service-row__photo { order: -1; }
.service-row__text { display: flex; flex-direction: column; gap: 20px; }
.service-row__head { display: flex; align-items: center; gap: 16px; }
.service-row__photo { width: 100%; aspect-ratio: 588 / 440; object-fit: cover; border-radius: 20px; }
.included { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.included ul { display: flex; flex-direction: column; gap: 12px; }
.included li { display: flex; align-items: center; gap: 12px; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; border-radius: 20px; background: var(--g9); color: var(--white); }
.cta-band > div { display: flex; flex-direction: column; gap: 16px; max-width: 600px; }

.dealer { display: grid; grid-template-columns: 618fr 486fr; gap: 96px; align-items: start; scroll-margin-top: 100px; }
.dealer__text { display: flex; flex-direction: column; gap: 24px; }
.dealer__text .tick { background: var(--g0); }
.dealer__photo { width: 100%; aspect-ratio: 618 / 300; object-fit: cover; border-radius: var(--radius); }
.form-card { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.form-card__head { display: flex; flex-direction: column; gap: 4px; }
.form-grid--tight { gap: 16px; }
.btn--block { width: 100%; }
.form-card .btn[type="submit"] { margin-top: 8px; }
.form-done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; text-align: center; border-radius: 20px; background: var(--white); animation: sent-in .25s ease; }
.form-done[hidden] { display: none; }
.sent__check--sm { width: 56px; height: 56px; }

@media (max-width: 1024px) {
	.service-rows { gap: 72px; }
	.service-row, .service-row--flip { grid-template-columns: 1fr; gap: 32px; }
	.service-row__photo, .service-row--flip .service-row__photo { order: -1; aspect-ratio: 16 / 10; }
	.cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
	.dealer { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
	.service-row__text .btn-row { flex-direction: column; }
	.service-row__text .btn-row .btn { width: 100%; }
	.cta-band { padding: 28px 24px; }
	.cta-band .btn { width: 100%; }
	.form-card { padding: 24px 20px; }
	.form-grid--tight { grid-template-columns: 1fr; }
}

/* =========================================================
   About & contact
   ========================================================= */
.about-split { display: grid; grid-template-columns: 486fr 618fr; gap: 96px; align-items: center; }
.about-split--flip { grid-template-columns: 618fr 486fr; }
.about-split__photo { width: 100%; object-fit: cover; border-radius: 24px; }
.about-split__photo--founder { aspect-ratio: 486 / 560; background: var(--sf); }
.about-split__photo--story { aspect-ratio: 486 / 600; }
.about-split__text { display: flex; flex-direction: column; gap: 32px; }
.about-split__head { display: flex; flex-direction: column; gap: 12px; }
.about-split__body { display: flex; flex-direction: column; gap: 16px; }
.proof-list--detail { padding: 0; }
.proof-list--detail li { align-items: flex-start; gap: 20px; padding: 20px 0; }
.proof-list--detail li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.section-head__desc { max-width: 640px; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.member { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.member img { width: 100%; aspect-ratio: 384 / 440; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--white); }
.member figcaption { display: flex; flex-direction: column; gap: 4px; }

.docs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.doc { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .15s ease, box-shadow .15s ease; }
a.doc:hover { border-color: var(--g7); box-shadow: 0 8px 24px rgba(20,27,22,.06); }
.doc__preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 240 / 300; border-radius: 10px; background: var(--sf); color: var(--ink-3); overflow: hidden; }
.doc__preview img { width: 100%; height: 100%; object-fit: cover; }
.doc__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.doc__meta .green { display: inline-flex; align-items: center; gap: 4px; }

.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--white); }
.icon-circle--line { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.contact-card__text a.h4:hover, .contact-card__text a.green:hover { text-decoration: underline; }
.contact-row { display: block; }
.contact-row .form-card { border: 1px solid var(--line); }
.map { min-height: 450px; border-radius: 20px; overflow: hidden; background: var(--white); }
.map iframe { width: 100%; height: 100%; min-height: 450px; border: 0; display: block; }
.map__empty { height: 100%; min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 20px; background: var(--sf); }

@media (max-width: 1024px) {
	.about-split, .about-split--flip { grid-template-columns: 1fr; gap: 40px; }
	.about-split--flip .about-split__photo { order: -1; }
	.about-split__photo--founder, .about-split__photo--story { aspect-ratio: 4 / 3; object-position: top; max-height: 560px; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.docs-grid, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-row { grid-template-columns: 1fr; }
	.map, .map iframe, .map__empty { min-height: 320px; }
}
@media (max-width: 640px) {
	.about-split__photo--founder { aspect-ratio: 4 / 5; }
	.team-grid { grid-template-columns: 1fr; }
	.member img { aspect-ratio: 4 / 4.4; }
	.docs-grid { gap: 12px; }
	.doc { padding: 12px; }
	.contact-cards { grid-template-columns: 1fr; gap: 12px; }
	.contact-card { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
}

/* ---------- Generic pages & 404 ---------- */
.prose h2 { font-size: 24px; line-height: 32px; font-weight: 600; margin-top: 40px; }
.prose p { font-size: 18px; line-height: 28px; color: var(--ink-2); }
.not-found__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }

.founder-quote { margin: 8px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--g7); font-size: 20px; line-height: 30px; font-weight: 500; color: var(--ink); }
@media (max-width: 640px) { .founder-quote { font-size: 18px; line-height: 28px; } }

/* ---------- Home: services list with photo preview ---------- */
.service-stage { position: relative; min-height: 480px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.service-stage img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.04); transition: opacity .45s ease, transform .7s ease;
}
.service-stage img.is-active { opacity: 1; transform: none; }
.service-list .h4 { transition: color .2s ease; }
.service-list .icon-circle { transition: background-color .2s ease, color .2s ease; }
.service-list__arrow { margin-left: auto; flex: none; color: var(--g7); opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .25s ease; }
.service-list li.is-active .h4 { color: var(--g7); }
.service-list li.is-active .icon-circle { background: var(--g7); color: var(--white); }
.service-list li.is-active .service-list__arrow { opacity: 1; transform: none; }
.service-list__reveal { display: none; }

@media (max-width: 1024px) {
	.service-stage { display: none; }
	.service-list__arrow { opacity: 1; transform: rotate(90deg); color: var(--ink-3); }
	.service-list li.is-open .service-list__arrow { transform: rotate(-90deg); color: var(--g7); }
	.service-list li.is-open .h4 { color: var(--g7); }
	.service-list li.is-open .icon-circle { background: var(--g7); color: var(--white); }
	.service-list__reveal { display: flex; flex-direction: column; gap: 12px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding-bottom .35s ease; }
	.service-list li.is-open .service-list__reveal { max-height: 560px; padding-bottom: 20px; }
	.service-list__reveal img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
}

/* Sent overlay: sleeker card + close button */
.sent { background: rgba(20,27,22,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sent__card { position: relative; max-width: 520px; padding: 44px 40px 36px; gap: 14px; border: 0; border-radius: 24px; box-shadow: 0 30px 80px rgba(20,27,22,.18); }
.sent__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--sf); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease; }
.sent__close:hover { background: var(--line); color: var(--ink); }
.sent__check { width: 56px; height: 56px; margin-bottom: 4px; }
.sent__card .body { max-width: 400px; }
.sent__ref { margin-top: 4px; padding: 8px 14px; font-size: 13px; }
.sent__steps { padding: 10px 0 0; display: flex; flex-direction: column; gap: 10px; }
.sent__steps li, .sent__steps li:last-child { border: 0; padding: 0; gap: 12px; align-items: center; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.sent__steps span { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--g0); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.sent__card .btn-row { width: 100%; padding-top: 14px; flex-wrap: nowrap; }
.sent__card .btn-row .btn { flex: 1; }
@media (max-width: 640px) { .sent__card { padding: 40px 20px 24px; } .sent__card .btn-row { flex-direction: column; } }

/* Sent overlay: more breathing room + order-style progress tracker */
.sent__card { gap: 18px; padding: 52px 44px 40px; }
.sent__card .body { margin-bottom: 4px; }
.sent__ref { margin-bottom: 8px; }
.track { align-self: stretch; text-align: left; display: flex; flex-direction: column; padding: 22px 22px 6px; margin: 4px 0 10px; border-radius: 18px; background: var(--sf); }
.track__step { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.track__step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.track__step.is-done::before { background: var(--g7); }
.track__icon { position: relative; z-index: 1; flex: none; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.track__step.is-done .track__icon { background: var(--g7); color: var(--white); box-shadow: none; }
.track__step.is-active .track__icon { background: var(--y); color: var(--ink); box-shadow: none; animation: track-pulse 1.8s ease-out infinite; }
.track__text { display: flex; flex-direction: column; gap: 2px; padding-top: 7px; }
.track__title { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink-3); }
.track__step.is-done .track__title, .track__step.is-active .track__title { color: var(--ink); }
.track__sub { font-size: 13px; line-height: 20px; color: var(--ink-3); }
.track__step.is-active .track__sub { color: var(--ink-2); }
.track__badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--y0); color: #7a5b00; font-size: 12px; font-weight: 600; vertical-align: 1px; }
@keyframes track-pulse { 0% { box-shadow: 0 0 0 0 rgba(243,200,69,.6); } 70% { box-shadow: 0 0 0 10px rgba(243,200,69,0); } 100% { box-shadow: 0 0 0 0 rgba(243,200,69,0); } }
@media (prefers-reduced-motion: reduce) { .track__step.is-active .track__icon { animation: none; } }
@media (max-width: 640px) { .sent__card { padding: 48px 20px 24px; } .track { padding: 18px 16px 4px; } }
.sent__check { flex: none; width: 56px !important; height: 56px !important; min-height: 56px; aspect-ratio: 1; }
.track__badge { margin: 4px 0 0; display: table; }

.sent__card:focus { outline: none; }
.sent__cta { height: 52px; margin-top: 4px; box-shadow: none; }
.sent__cta:focus:not(:focus-visible) { outline: none; }

/* Language toggle (EN / FR) */
.lang-toggle { display: inline-flex; align-items: center; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s ease; }
.lang-toggle:hover { border-color: var(--ink-3); }
.lang-toggle > span { display: inline-flex; align-items: center; gap: 8px; }
.lang-toggle svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-toggle__en, html.lang-fr .lang-toggle__fr { display: none !important; }
html.lang-fr .lang-toggle__en { display: inline-flex !important; }
@media (max-width: 480px) { .lang-toggle { height: 44px; padding: 0 10px; } }
/* Hide Google Translate's own bar and popups */
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* Bilingual header labels + no wrapping */
.l-fr { display: none; }
html.lang-fr .l-en { display: none; }
html.lang-fr .l-fr { display: inline; }
.site-nav a, .quote-pill, .site-header__cta, .lang-toggle { white-space: nowrap; }
html.lang-fr .site-nav ul { gap: 26px; }
@media (max-width: 1360px) { html.lang-fr .site-header__cta { display: none; } }
@media (max-width: 1180px) { html.lang-fr .site-nav ul { gap: 18px; } }
.lang-toggle svg { width: 20px; height: 14px; flex: none; }
