/*!
 * Bhoo Agrocare — content pages (loads only on the templates in page-templates/).
 * Enqueued from the list in bhoo_agrocare_page_templates(); see inc/enqueue.php.
 *
 * Source order: section shell -> shared blocks (cards, steps, checklist, strip,
 * panel) -> per-page blocks in page order (about, contact, dealer, quality,
 * downloads, gallery, faq, brands, crops) -> responsive (every breakpoint and
 * container query, one block per condition, widest first).
 *
 * The page hero itself lives in main.css: page.php uses it too.
 */

/* ==========================================================================
   Section shell
   ========================================================================== */

.pgsec { padding-block: var(--section-y); }
.pgsec--tight { padding-block: clamp(32px, 4.5vw, 60px); }
.pgsec--tint { background: var(--g-025); }

.pgsec--dark {
	background: linear-gradient(152deg, var(--g-950) 0%, var(--g-800) 100%);
	color: rgba(255, 255, 255, .8);
}
.pgsec--dark .section-head__title { color: #fff; }
.pgsec--dark .section-head__eyebrow { color: var(--g-300); }
.pgsec--dark .section-head__sub { color: rgba(255, 255, 255, .72); }

.pgsec__note { margin: clamp(18px, 2.2vw, 26px) 0 0; color: var(--muted); font-size: 14.4px; }
.pgsec__more { margin: clamp(24px, 3vw, 36px) 0 0; text-align: center; }

/* .entry-content carries a section's worth of bottom padding for page.php; on
   these templates the section owns the spacing instead. */
.entry-content--flush { padding-bottom: 0; }
.entry-content--flush > :last-child { margin-bottom: 0; }

/* A section header inside a column reads better ranged left than centred. */
.split .section-head,
.contact__col .section-head {
	text-align: left;
	margin-bottom: clamp(18px, 2.4vw, 26px);
}
.split .section-head__eyebrow,
.contact__col .section-head__eyebrow { justify-content: flex-start; }
.contact__col .section-head__sub { color: var(--ink-2); line-height: 1.75; }
.split .section-head__eyebrow span:last-child,
.contact__col .section-head__eyebrow span:last-child { display: none; }

/* Explains an empty section to whoever can fill it — never shown to visitors. */
.adminnote {
	margin: 0 0 10px;
	padding: 13px 17px;
	border: 1px dashed var(--g-300);
	border-radius: var(--r-sm);
	background: var(--g-025);
	color: var(--ink-2);
	font-size: 14px;
	line-height: 1.55;
}


/* ==========================================================================
   Two-column split (story + photo)
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}
.split--story { position: relative; }

.split__media img {
	width: 100%;
	border-radius: var(--r-lg);
	box-shadow: var(--sh-2);
}
.split__cta { margin: clamp(18px, 2.4vw, 26px) 0 0; }

/* A tinted panel offset behind the photo. Decorative, so it is drawn by the
   wrapper rather than added as a second image. */
.split__media--framed { position: relative; isolation: isolate; }
.split__media--framed::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: auto -14px -16px 26px;
	height: 72%;
	border-radius: var(--r-lg);
	background: linear-gradient(140deg, var(--g-300), var(--g-600));
}
.split__media--framed img { display: block; aspect-ratio: 4 / 3; object-fit: cover; }

/* Watermark behind the story column — never on a phone, where it would sit
   under the body copy rather than beside it. */
.split__leaf {
	position: absolute;
	left: -70px;
	top: -30px;
	z-index: -1;
	color: var(--g-050);
	pointer-events: none;
}

.mediabadge {
	position: absolute;
	right: clamp(-6px, 1vw, 16px);
	bottom: clamp(24px, 4vw, 44px);
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 20px;
	border-radius: var(--r-md);
	background: linear-gradient(140deg, var(--g-800), var(--g-600));
	box-shadow: var(--sh-3);
	color: #fff;
}
.mediabadge__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
}
.mediabadge__lines {
	display: grid;
	gap: 2px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}


/* ==========================================================================
   Icon cards
   ========================================================================== */

.cards { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--g-300); box-shadow: var(--sh-2); }

/* Sits next to an elevated card set, so it drops the chrome rather than
   repeating it two sections running. */
.card--plain { background: transparent; border-color: transparent; box-shadow: none; padding-inline: 0; }
.card--plain:hover { transform: none; border-color: transparent; box-shadow: none; }

.card__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 16px;
	border-radius: 16px;
	background: var(--g-050);
	color: var(--g-600);
}
.card__title { margin: 0 0 8px; font-size: clamp(17px, 1.8vw, 19px); }
.card__text { margin: 0; color: var(--ink-2); font-size: 14.8px; line-height: 1.62; text-wrap: pretty; }


/* ==========================================================================
   Photo cards — a .cards grid whose cells lead with a picture
   ========================================================================== */

.mcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.mcard:hover { transform: translateY(-3px); border-color: var(--g-300); box-shadow: var(--sh-2); }

.mcard__media { position: relative; }
.mcard__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Straddles the photo's lower edge, so it needs its own ground to stay legible
   over whatever the client uploads. */
.mcard__icon {
	position: absolute;
	left: 18px;
	bottom: -22px;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--g-600);
	box-shadow: var(--sh-2);
	color: #fff;
}

.mcard__body {
	position: relative;
	flex: 1;
	padding: 34px clamp(18px, 2vw, 22px) clamp(18px, 2vw, 22px);
}
.mcard__title { margin: 0 0 8px; font-size: clamp(16.5px, 1.8vw, 18.5px); }
.mcard__text { margin: 0; color: var(--ink-2); font-size: 14.6px; line-height: 1.62; text-wrap: pretty; }
.mcard__go {
	position: absolute;
	right: clamp(18px, 2vw, 22px);
	bottom: clamp(16px, 2vw, 20px);
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--g-050);
	color: var(--g-700);
	transition: background .18s, color .18s;
}
.mcard__go:hover { background: var(--g-600); color: #fff; }

/* The arrow is positioned, so a linked card reserves the row it sits in —
   otherwise it lands on the last line of the description. */
.mcard--linked .mcard__body { padding-bottom: 58px; }


/* ==========================================================================
   Numbered steps
   ========================================================================== */

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.step {
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}
.step__num {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--g-600);
	color: #fff;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}
.step__title { margin: 0 0 8px; font-size: clamp(16.5px, 1.8vw, 18.5px); }
.step__text { margin: 0; color: var(--ink-2); font-size: 14.6px; line-height: 1.6; }

.pgsec--dark .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.pgsec--dark .step__num { background: var(--g-500); }
.pgsec--dark .step__title { color: #fff; }
.pgsec--dark .step__text { color: rgba(255, 255, 255, .72); }


/* ==========================================================================
   Process flow (six stages)
   ========================================================================== */

.flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}
.flow__item {
	padding: clamp(18px, 2.2vw, 26px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.flow__num {
	display: grid;
	place-items: center;
	width: 30px; height: 30px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--g-600);
	color: #fff;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
.flow__title { margin: 0 0 6px; font-size: 17px; }
.flow__text { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }


/* ==========================================================================
   Checklist
   ========================================================================== */

.checklist { display: grid; gap: 12px; }
.checklist--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }

.checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.55;
}
.checklist__mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 24px; height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--g-100);
	color: var(--g-700);
}


/* ==========================================================================
   Dark CTA strip
   ========================================================================== */

.strip {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.2vw, 26px);
	padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
	background: linear-gradient(100deg, var(--g-900) 0%, var(--g-700) 100%);
	border-radius: var(--r-lg);
	color: #fff;
}
.strip__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 58px; height: 58px;
	border: 1.6px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
}
.strip__body { flex: 1; min-width: 0; }
.strip__title { margin: 0 0 6px; color: #fff; font-size: clamp(19px, 2.2vw, 25px); }
.strip__text { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.strip--center { flex-direction: column; text-align: center; }
.strip--center .strip__actions { justify-content: center; }

/* The ghost button reads as invisible on the strip's own dark ground. */
.strip .btn--dark { --btn-bg: #fff; --btn-fg: var(--g-800); --btn-bd: #fff; }
.strip .btn--dark:hover { --btn-bg: var(--g-050); --btn-bd: var(--g-050); }


/* ==========================================================================
   Quality — copy, photo and the three assurances
   ========================================================================== */

.qual {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(240px, .72fr);
	align-items: center;
	gap: clamp(20px, 3vw, 44px);
}
.qual__copy .section-head { text-align: left; margin-bottom: clamp(14px, 1.8vw, 20px); }
.qual__copy .section-head__eyebrow { justify-content: flex-start; }
.qual__copy .section-head__eyebrow span:last-child { display: none; }
.qual__text { margin: 0 0 clamp(18px, 2.2vw, 24px); color: var(--ink-2); font-size: 15px; line-height: 1.66; }

.qual__media { position: relative; }
.qual__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--sh-2);
}
.qual__badge {
	position: absolute;
	left: -18px;
	bottom: 22px;
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--g-600);
	border: 4px solid var(--g-025);
	box-shadow: var(--sh-2);
	color: #fff;
}

.qual__list { display: grid; gap: clamp(10px, 1.4vw, 14px); }
.qfeat {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 14px 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
}
.qfeat__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--g-050);
	color: var(--g-600);
}
.qfeat__body { display: grid; gap: 2px; min-width: 0; }
.qfeat__title { font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.qfeat__text { color: var(--muted); font-size: 13.4px; line-height: 1.4; }


/* ==========================================================================
   Form panel
   ========================================================================== */

.panel {
	padding: clamp(20px, 2.6vw, 30px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-2);
}
.panel__title { margin: 0 0 8px; font-size: clamp(19px, 2.2vw, 23px); }
.panel__text { margin: 0 0 18px; color: var(--ink-2); font-size: 14.8px; line-height: 1.6; }

/* Third-party form plugins ship their own markup; these give the fields the
   theme's control shape without reaching into any one plugin's classes. */
.panel__form input[type="text"],
.panel__form input[type="email"],
.panel__form input[type="tel"],
.panel__form input[type="url"],
.panel__form input[type="number"],
.panel__form select,
.panel__form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
}
.panel__form textarea { min-height: 120px; resize: vertical; }
.panel__form input:focus,
.panel__form select:focus,
.panel__form textarea:focus {
	border-color: var(--g-400);
	outline: none;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}


/* ==========================================================================
   Dealer application form — [bhoo_agrocare_dealer_form]
   ========================================================================== */

/* The card sits beside the intro on desktop and full width on a phone, so the
   field pairing follows the form's own width, not the viewport's. Browsers
   without container queries keep the single-column default. */
.dform { container-type: inline-size; }

.dform__grid {
	display: grid;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 18px;
}
.dform__field { min-width: 0; margin: 0; }

/* The design puts each field's name inside the field, so the visible label is
   the placeholder and the real <label> is visually hidden. */
.dform__control { position: relative; }
.dform__ico,
.dform__chev {
	position: absolute;
	top: 50%;
	display: grid;
	transform: translateY(-50%);
	pointer-events: none;
}
.dform__ico { left: 14px; color: var(--g-800); }
.dform__chev { right: 14px; color: var(--ink-2); }
.dform__control--area .dform__ico { top: 13px; transform: none; }
.dform__control:focus-within .dform__ico { color: var(--g-600); }
/* While the themed menu is open focus sits in it, outside the field, so the
   open state is read off the select's aria-expanded instead of :focus-within. */
.dform__chev { transition: transform .2s var(--ease), color .2s var(--ease); }
.dform__control:has(select[aria-expanded="true"]) .dform__ico { color: var(--g-600); }
.dform__control:has(select[aria-expanded="true"]) .dform__chev { color: var(--g-600); transform: translateY(-50%) rotate(180deg); }

.dform__input {
	display: block;
	width: 100%;
	height: 42px;
	padding: 0 14px 0 42px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	transition: border-color .18s, box-shadow .18s;
}
textarea.dform__input { height: auto; min-height: 76px; padding-block: 11px; line-height: 1.5; resize: vertical; }
select.dform__input {
	padding-right: 38px;
	-webkit-appearance: none;
	appearance: none;
	text-overflow: ellipsis;
	cursor: pointer;
}
.dform__input::placeholder { color: var(--muted); opacity: 1; }
select.dform__input:has(option[value=""]:checked) { color: var(--muted); }
.dform__input:focus-visible {
	outline: none;
	border-color: var(--g-400);
	box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}
.dform [aria-invalid="true"] { border-color: var(--c-red); }

/* Tick-box group. The two columns size to their labels, as in the design, so
   the longer names get the wider column and wrap only when there is no room. */
.dform__group { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.dform__legend {
	float: left; /* lets the legend take a bottom margin like any block */
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	color: var(--g-700);
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.dform__checks {
	clear: both;
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 8px;
}
.dform__check {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--ink-2);
	font-size: 13px;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .18s, background-color .18s;
}
.dform__check:hover { border-color: var(--g-300); }
.dform__check:has(input:checked) { border-color: var(--g-400); background: var(--g-025); color: var(--g-800); }
.dform__check:has(input:focus-visible) { outline: 3px solid var(--g-400); outline-offset: 1px; }
.dform__check input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--g-600);
	cursor: pointer;
}
.dform__check input:focus-visible { outline: none; }

.dform__err {
	display: block;
	margin: 6px 4px 0;
	color: var(--c-red);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

/* The token set carries no error surface, so the two alert tints are literal. */
.dform__alert,
.cform__alert {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: var(--r-sm);
	font-size: 14.4px;
	line-height: 1.55;
}
.dform__alert--ok,
.cform__alert--ok { border: 1px solid var(--g-100); background: var(--g-050); color: var(--g-800); }
.dform__alert--bad,
.cform__alert--bad { border: 1px solid #f0c7cb; background: #fdf2f3; color: #8f2028; }

.dform__again { margin: 0; font-size: 14.4px; }
.dform__again a { color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dform__again a:hover { color: var(--g-600); }

.dform__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	color: var(--g-800);
	font-size: 13px;
	line-height: 1.5;
}
.dform__consent input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--g-600);
	cursor: pointer;
}
.dform__consent label { cursor: pointer; }
.dform__consent a { color: var(--g-700); text-decoration: underline; }
.dform__err--block { margin-top: 6px; }

.dform__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 46px;
	margin-top: 18px;
	border: 0;
	border-radius: var(--r-sm);
	background: var(--g-600);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.dform__submit:hover { background: var(--g-700); transform: translateY(-1px); box-shadow: var(--sh-2); }
.dform__submit .bhoo-icon { transition: transform .18s var(--ease); }
.dform__submit:hover .bhoo-icon { transform: translateX(3px); }
.dform__submit[aria-disabled="true"] { opacity: .7; cursor: progress; pointer-events: none; }

/* Off-screen rather than display:none — a hidden input some bots skip. */
.dform__hp,
.cform__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}


/* ==========================================================================
   Contact panel — header, enquiry form and direct routes
   ========================================================================== */

.panel--contact {
	padding: clamp(20px, 2.8vw, 32px);
	container-type: inline-size;
}

.panel__head {
	display: flex;
	align-items: flex-start;
	gap: clamp(14px, 2vw, 22px);
	margin-bottom: clamp(20px, 2.6vw, 28px);
}
.panel__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: clamp(52px, 5vw, 60px);
	height: clamp(52px, 5vw, 60px);
	border-radius: 16px;
	background: var(--g-mint);
	color: var(--g-900);
}
.panel__head .panel__title { margin: 2px 0 6px; font-size: clamp(22px, 2.3vw, 27px); }
.panel__head .panel__text { margin: 0; }

/* The panel is a sidebar on desktop and full width on a phone, so the field
   pairing follows the form's own width, not the viewport's. Browsers without
   container queries keep the single-column default. */
.cform { container-type: inline-size; }

.cform__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cform__field { margin: 0; }

/* The design puts each field's name inside the field, so the visible label is
   the placeholder and the real <label> is visually hidden. */
.cform__control { position: relative; }
.cform__ico,
.cform__chev {
	position: absolute;
	top: 50%;
	display: grid;
	color: var(--ink-2);
	transform: translateY(-50%);
	pointer-events: none;
}
.cform__ico { left: 16px; }
.cform__chev { right: 16px; }
.cform__control--area .cform__ico { top: 17px; transform: none; }
.cform__control:focus-within .cform__ico { color: var(--g-600); }
.cform__chev { transition: transform .2s var(--ease), color .2s var(--ease); }
.cform__control:has(select[aria-expanded="true"]) .cform__ico { color: var(--g-600); }
.cform__control:has(select[aria-expanded="true"]) .cform__chev { color: var(--g-600); transform: translateY(-50%) rotate(180deg); }

.cform__input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px 0 48px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	transition: border-color .18s, box-shadow .18s;
}
textarea.cform__input { height: auto; min-height: 124px; padding-block: 15px; line-height: 1.55; resize: vertical; }
select.cform__input {
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.cform__input::placeholder { color: var(--muted); opacity: 1; }
select.cform__input:has(option[value=""]:checked) { color: var(--muted); }
.cform__input:focus-visible {
	outline: none;
	border-color: var(--g-400);
	box-shadow: 0 0 0 3px rgba(76, 175, 80, .18);
}
.cform [aria-invalid="true"] { border-color: var(--c-red); }
.cform__err {
	display: block;
	margin: 6px 4px 0;
	color: var(--c-red);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.cform__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	margin-top: 18px;
	border: 0;
	border-radius: 12px;
	background: var(--g-600);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.cform__submit:hover { background: var(--g-700); transform: translateY(-1px); box-shadow: var(--sh-2); }
.cform__submit[aria-disabled="true"] { opacity: .7; cursor: progress; pointer-events: none; }


/* --------------------------------------------------------------------------
   Field checks — shared by the dealer and enquiry forms (assets/js/forms.js
   writes into the same slots the server fills after a failed send)
   -------------------------------------------------------------------------- */

.dform__err,
.cform__err { display: flex; align-items: flex-start; gap: 6px; }
.dform__err[hidden],
.cform__err[hidden] { display: none; }
.dform__err .bhoo-icon,
.cform__err .bhoo-icon { flex: none; margin-top: 1px; }

.dform__input[aria-invalid="true"]:focus-visible,
.cform__input[aria-invalid="true"]:focus-visible {
	border-color: var(--c-red);
	box-shadow: 0 0 0 3px rgba(192, 39, 45, .14);
}
.dform__consent input[aria-invalid="true"] { outline: 2px solid var(--c-red); outline-offset: 1px; }

/* A quiet tick once a checked field is right — only on single-line fields,
   where the right edge is free. */
input.dform__input.is-valid,
input.cform__input.is-valid {
	padding-right: 38px;
	border-color: var(--g-300);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.8 4.2 4.2L19 7.2'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}

/* Codes are printed in capitals; the server stores them that way too. */
.dform__input[data-rule="gstin"],
.dform__input[data-rule="licence"] { text-transform: uppercase; }
.dform__input[data-rule="gstin"]::placeholder,
.dform__input[data-rule="licence"]::placeholder { text-transform: none; }

.dform__count,
.cform__count {
	display: block;
	margin: 5px 4px 0;
	color: var(--muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.dform__count[hidden],
.cform__count[hidden] { display: none; }
.dform__count.is-near,
.cform__count.is-near { color: #a35a00; font-weight: 600; }


/* ==========================================================================
   Locations
   ========================================================================== */

.locs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}
.locs--stack { grid-template-columns: 1fr; }

.loc {
	padding: clamp(20px, 2.4vw, 28px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.loc__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px; height: 56px;
	border-radius: 16px;
	background: var(--g-mint);
	color: var(--g-900);
}
.loc__title { margin: 0 0 8px; font-size: 18px; }
.loc__addr { margin: 0 0 12px; color: var(--ink-2); font-size: 14.8px; line-height: 1.66; }
.loc__hours { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* A line of text keyed by a small icon in a fixed gutter, so a wrapped line
   hangs under the text rather than under the icon. */
.loc__row {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
}
.loc__ico { display: grid; place-items: center; height: 1.66em; color: var(--g-600); }
.loc__hours .loc__ico { height: 1.55em; color: var(--g-500); }

/* The Contact page card: the tile sits beside the text instead of above it. The
   title is capitalised here rather than in the data because the same two
   locations are read in sentence case on the About page. */
.loc--tile {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: clamp(16px, 2vw, 24px);
	align-items: start;
	padding: clamp(18px, 2.2vw, 28px);
}
.loc--tile .loc__title {
	margin: 4px 0 12px;
	font-size: clamp(18px, 1.7vw, 21px);
	text-transform: capitalize;
}
.loc--tile .loc__map { margin-left: 36px; }
.loc--tile .loc__body > :last-child { margin-bottom: 0; }
.loc__map {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
}

/* Photo beside the address instead of an icon above it. */
.loc--row {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(14px, 1.8vw, 20px);
	padding: clamp(14px, 1.6vw, 18px);
}
.loc__photo { display: block; overflow: hidden; border-radius: var(--r-md); }
.loc__photo img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 140px;
	object-fit: cover;
}
.loc__body { padding-block: 6px; }
.loc--row .loc__title { display: flex; align-items: center; gap: 8px; }
.loc__pin { display: inline-grid; place-items: center; flex: none; color: var(--g-600); }

.infrabar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(12px, 1.6vw, 20px);
	margin: clamp(16px, 2vw, 24px) 0 0;
	padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 26px);
	border-radius: var(--r-lg);
	background: var(--g-025);
	border: 1px solid var(--g-100);
}
.infrabar__item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink-2);
	font-size: 14.4px;
	line-height: 1.45;
}
.infrabar__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px; height: 38px;
	border-radius: 12px;
	background: var(--g-100);
	color: var(--g-700);
}


/* ==========================================================================
   Contact — two-column body, then the map
   ========================================================================== */

/* Map: one panel per location, switched by the tabs (pages.js). Without JS the
   tabs stay hidden and every panel shows, stacked. */
.cmap { display: grid; gap: 16px; }
.cmap__tabs { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; }
.js .cmap__tabs { display: flex; }
.cmap__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--white);
	color: var(--g-800);
	font-family: var(--font-head);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.cmap__tab:hover { border-color: var(--g-300); }
.cmap__tab[aria-selected="true"] {
	background: var(--g-600);
	border-color: var(--g-600);
	color: var(--white);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--g-600) 28%, transparent);
}
.cmap__tab:focus-visible { outline: 3px solid var(--g-300); outline-offset: 2px; }

.js .cmap__panel:not(.is-active) { display: none; }
.cmap__panel {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--g-050);
	box-shadow: var(--sh-2);
}
.cmap__frame { display: block; width: 100%; height: clamp(360px, 40vw, 500px); border: 0; }

/* The address card floats over the map's lower-left corner. */
.cmap__card {
	position: absolute;
	left: clamp(14px, 2vw, 24px);
	bottom: clamp(14px, 2vw, 24px);
	display: flex;
	gap: 14px;
	max-width: min(380px, calc(100% - 28px));
	padding: 18px 20px;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, .97);
	box-shadow: var(--sh-3);
}
.cmap__card-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--g-mint);
	color: var(--g-700);
}
.cmap__card-body { min-width: 0; }
.cmap__card-title { margin: 2px 0 6px; font-size: 17px; }
.cmap__card-addr { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.cmap__go { gap: 8px; padding: 10px 18px; font-size: 14px; }

.contact {
	display: grid;
	grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(24px, 3.4vw, 48px);
}


/* ==========================================================================
   Dealer — application section (intro beside the form card)
   ========================================================================== */

.apply {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(40px, 3.4vw, 60px);
	background: var(--g-025);
}

/* No photo uploaded: two soft colour pools stand in for one, so the section
   still has depth instead of reading as a flat tint. */
.apply:not(.apply--media) {
	background:
		radial-gradient(560px circle at 92% -8%, rgba(76, 175, 80, .14), transparent 65%),
		radial-gradient(460px circle at -6% 108%, rgba(196, 243, 86, .22), transparent 65%),
		var(--g-025);
}

/* Oversized, near-invisible leaf — texture standing in for the logo mark
   that used to anchor this corner. Only rendered when there is no photo. */
.apply__mark {
	position: absolute;
	top: -40px;
	right: -30px;
	z-index: -1;
	color: var(--g-100);
	pointer-events: none;
}

/* Pinned bottom-left, where the design puts its subject. The wash lays the
   section's own ground colour over a photo too busy to read the heading on. */
.apply__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left bottom;
}
.apply--media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--g-025);
	opacity: var(--apply-wash, 0);
	pointer-events: none;
}

.apply__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
	align-items: start;
	gap: clamp(28px, 4vw, 56px);
}
/* Every intro field cleared: the card stands alone, centred. */
.apply__grid--solo { grid-template-columns: minmax(0, 780px); justify-content: center; }

.apply__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	padding: 7px 16px 7px 8px;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--g-100), var(--g-050));
	color: var(--g-800);
	font-family: var(--font-head);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.apply__eyebrow-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--g-600);
	color: #fff;
}
.apply__title {
	margin: 0 0 clamp(16px, 1.8vw, 24px);
	font-size: clamp(32px, 3.6vw, 52px);
	line-height: 1.04;
	letter-spacing: -.025em;
	text-wrap: pretty;
}
.apply__text {
	max-width: 27em;
	margin: 0 0 clamp(18px, 1.8vw, 24px);
	color: var(--ink-2);
	font-size: clamp(15px, 1.1vw, 16px);
	line-height: 1.7;
	text-wrap: pretty;
}
.apply__points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}
.apply__point {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
	transition: transform .18s var(--ease), box-shadow .18s, border-color .18s;
}
.apply__point:hover { transform: translateY(-2px); border-color: var(--g-300); box-shadow: var(--sh-2); }
.apply__tick {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px; height: 32px;
	border-radius: 10px;
	background: linear-gradient(140deg, var(--g-100), var(--g-050));
	color: var(--g-700);
}

/* The footer row under the button follows the card's width, like the form. */
.apply__card {
	position: relative;
	overflow: hidden;
	margin-top: clamp(0px, 1.6vw, 22px);
	padding: clamp(24px, 2.2vw, 32px) clamp(18px, 2.4vw, 36px) clamp(18px, 1.6vw, 24px);
	background: var(--white);
	border: 1px solid var(--g-100);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
	container-type: inline-size;
}
/* Clipped to the card's own corners by its overflow: hidden, above. */
.apply__card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--g-lime), var(--g-500) 50%, var(--g-700));
}
.apply__card-title { margin: 0 0 6px; font-size: clamp(24px, 2.2vw, 32px); }
.apply__card-text { margin: 0 0 clamp(18px, 1.8vw, 22px); color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

.apply__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin-top: 18px;
	font-size: 12.5px;
	line-height: 1.4;
}
.apply__safe {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--muted);
}
.apply__safe .bhoo-icon { color: var(--ink-2); }
.apply__wa {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0 6px 22px;
	border-left: 1px solid var(--line);
	color: var(--g-700);
}
.apply__wa:hover { color: var(--g-600); }
.apply__wa strong { font-weight: 700; }
.apply__wa .bhoo-icon:first-child { color: var(--g-600); }
.apply__wa .bhoo-icon:last-child { transition: transform .18s var(--ease); }
.apply__wa:hover .bhoo-icon:last-child { transform: translateX(3px); }

/* Territory and dealer downloads, under the section when either is set. */
.dlmore {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(24px, 3.4vw, 48px);
}
.dlmore__title { margin: 0 0 12px; font-size: 17px; }
.dlmore__text { margin: 0; color: var(--ink-2); font-size: 14.8px; line-height: 1.62; }


/* ==========================================================================
   Certificate wall
   ========================================================================== */

.certwall {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}
.cert {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	overflow: hidden;
}
.cert__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--g-025);
	border-bottom: 1px solid var(--line);
}
.cert__media img { width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.cert__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--g-300); }
.cert__body { display: block; padding: clamp(16px, 2vw, 22px); }
.cert__title { margin: 0 0 6px; font-size: 17px; }
.cert__issuer {
	margin: 0 0 8px;
	color: var(--g-700);
	font-family: var(--font-head);
	font-size: 13.5px;
	font-weight: 600;
}
.cert__note { margin: 0 0 10px; color: var(--ink-2); font-size: 14.4px; line-height: 1.58; }
.cert__valid { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.cert__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
}

.compliance {
	margin-top: clamp(22px, 3vw, 34px);
	padding: clamp(16px, 2vw, 22px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.compliance__licence {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: var(--g-700);
	font-family: var(--font-head);
	font-size: 14.5px;
	font-weight: 600;
}
.compliance__note { margin: 0; color: var(--muted); font-size: 13.6px; line-height: 1.66; }


/* ==========================================================================
   Documents
   ========================================================================== */

.docs { display: grid; gap: 12px; }

.doc {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.6vw, 18px);
	padding: clamp(14px, 1.8vw, 18px) clamp(16px, 2vw, 22px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	transition: border-color .18s, box-shadow .18s;
}
.doc:hover { border-color: var(--g-300); box-shadow: var(--sh-1); }
.doc[hidden] { display: none; }

.doc__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--g-050);
	color: var(--g-600);
}
.doc__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.doc__title { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; color: var(--g-900); }
.doc__note { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.doc__tag {
	padding: 3px 10px;
	border-radius: var(--r-pill);
	background: var(--g-050);
	color: var(--g-700);
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
}
.doc__file { color: var(--muted); font-size: 12.5px; }
.doc__cta { flex: none; padding: 11px 20px; font-size: 14px; }

.docs--compact .doc { padding: 12px 14px; }
.docs--compact .doc__icon { width: 38px; height: 38px; border-radius: 10px; }


/* ==========================================================================
   Filter bar (documents, gallery)
   ========================================================================== */

.filterbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(20px, 2.6vw, 30px);
}
/* display:flex would otherwise beat the [hidden] default, and the bar ships
   hidden so a no-JS visitor never sees pills that cannot filter. */
.filterbar[hidden] { display: none; }

.filterbar__pill {
	padding: 11px 18px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--white);
	color: var(--ink-2);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s;
}
.filterbar__pill:hover { border-color: var(--g-300); background: var(--g-025); color: var(--g-800); }
.filterbar__pill.is-on { background: var(--g-600); border-color: var(--g-600); color: #fff; }
.filterbar__empty { margin: clamp(20px, 2.4vw, 28px) 0 0; color: var(--muted); }


/* ==========================================================================
   Gallery
   ========================================================================== */

.galgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 18px);
}
.galitem[hidden] { display: none; }

.galitem__link {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--g-050);
}
.galitem__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.galitem__link:hover img { transform: scale(1.05); }

.galitem__cap {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 28px 14px 12px;
	background: linear-gradient(180deg, rgba(11, 36, 19, 0) 0%, rgba(11, 36, 19, .86) 100%);
	color: #fff;
}
.galitem__title { font-family: var(--font-head); font-size: 14.5px; font-weight: 600; }
.galitem__place { color: rgba(255, 255, 255, .78); font-size: 12.5px; }

.galitem__zoom {
	position: absolute;
	top: 10px; right: 10px;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--g-800);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .2s, transform .2s var(--ease);
}
.galitem__link:hover .galitem__zoom,
.galitem__link:focus-visible .galitem__zoom { opacity: 1; transform: none; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 48px);
	background: rgba(11, 36, 19, .93);
}
/* .lightbox sets display:grid, which would otherwise beat the [hidden] default. */
.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; text-align: center; }
.lightbox__img {
	max-width: min(1100px, 100%);
	max-height: 76vh;
	width: auto;
	border-radius: var(--r-md);
	box-shadow: var(--sh-3);
}
.lightbox__cap {
	max-width: 60ch;
	margin: 14px auto 0;
	color: rgba(255, 255, 255, .86);
	font-size: 14.5px;
}
.lightbox__close,
.lightbox__nav {
	position: absolute;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	cursor: pointer;
	transition: background-color .18s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: clamp(12px, 2vw, 22px); right: clamp(12px, 2vw, 22px); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(8px, 2vw, 26px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 26px); }

body.lightbox-open { overflow: hidden; }


/* ==========================================================================
   FAQ
   ========================================================================== */

.faqgroup + .faqgroup { margin-top: clamp(28px, 3.6vw, 44px); }
.faqgroup__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: clamp(19px, 2.2vw, 24px);
}
.faqgroup__mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px; height: 34px;
	border-radius: 10px;
	background: var(--g-050);
	color: var(--g-600);
}

.faqlist { display: grid; gap: 10px; }

.faqitem {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
}
.faqitem[open] { border-color: var(--g-300); box-shadow: var(--sh-1); }

.faqitem__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px clamp(16px, 2vw, 22px);
	list-style: none;
	cursor: pointer;
	font-family: var(--font-head);
	font-size: 15.6px;
	font-weight: 600;
	color: var(--g-900);
	transition: color .18s;
}
.faqitem__q::-webkit-details-marker { display: none; }
.faqitem__q::marker { content: ""; }
.faqitem__q:hover { color: var(--g-600); }
.faqitem__mark { flex: none; color: var(--g-500); transition: transform .22s var(--ease); }
.faqitem[open] .faqitem__mark { transform: rotate(180deg); }

.faqitem__a {
	padding: 0 clamp(16px, 2vw, 22px) 18px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.66;
}


/* ==========================================================================
   Brands
   ========================================================================== */

.brandgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 22px);
}
.brandcard { display: flex; }
.brandcard__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: clamp(20px, 2.4vw, 26px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
	transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.brandcard__link:hover { transform: translateY(-3px); border-color: var(--g-300); box-shadow: var(--sh-2); }

.brandcard__mark {
	display: grid;
	place-items: center;
	width: 84px; height: 84px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--g-025);
}
.brandcard__mark img { max-width: 70px; max-height: 70px; width: auto; object-fit: contain; }
.brandcard__initial { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--g-500); }

.brandcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brandcard__name { font-family: var(--font-head); font-size: 17.5px; font-weight: 700; color: var(--g-900); }
.brandcard__text { color: var(--ink-2); font-size: 14.4px; line-height: 1.58; }
.brandcard__go {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 10px;
	color: var(--g-600);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
}
.brandcard__go .bhoo-icon { transition: transform .18s var(--ease); }
.brandcard__link:hover .brandcard__go .bhoo-icon { transform: translateX(3px); }


/* ==========================================================================
   Crop Solutions hub
   ========================================================================== */

.crophub {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 18px);
}
.crophub__item { display: flex; }
.crophub__card {
	display: block;
	flex: 1;
	padding: clamp(10px, 1.2vw, 14px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.crophub__card:hover { transform: translateY(-3px); border-color: var(--g-300); box-shadow: var(--sh-2); }

.crophub__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--r-sm);
	background: var(--g-025);
}
.crophub__media img { width: 100%; height: 100%; object-fit: contain; }

.crophub__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}
.crophub__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--font-head);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--g-900);
}
.crophub__go {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--g-050);
	color: var(--g-700);
	transition: background-color .18s, color .18s;
}
.crophub__card:hover .crophub__go { background: var(--g-600); color: #fff; }


/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline {
	position: relative;
	display: grid;
	gap: clamp(18px, 2.4vw, 28px);
	max-width: 780px;
	margin-inline: auto;
	padding-left: 34px;
}
.timeline::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--g-400), var(--g-100));
}
.timeline__item { position: relative; }
.timeline__dot {
	position: absolute;
	left: -34px;
	top: 3px;
	width: 20px; height: 20px;
	border: 3px solid var(--g-500);
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 0 0 4px var(--g-050);
}
.timeline__year {
	margin: 0 0 4px;
	color: var(--g-600);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
}
.timeline__title { margin: 0 0 6px; font-size: 18px; }
.timeline__text { margin: 0; color: var(--ink-2); font-size: 14.8px; line-height: 1.62; }

/* Inside .miles the timeline is a column, not the whole section. */
.timeline--flush { max-width: none; margin-inline: 0; }


/* ==========================================================================
   Milestones — timeline beside the leadership card
   ========================================================================== */

.miles {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
	align-items: start;
	gap: clamp(24px, 3.4vw, 52px);
}

.leader { display: grid; gap: clamp(14px, 1.8vw, 18px); }
.leader__media { position: relative; }
.leader__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--sh-2);
}
.leader__badge {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 11px 15px;
	border-radius: var(--r-md);
	background: linear-gradient(140deg, var(--g-800), var(--g-600));
	color: #fff;
}
.leader__badge-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
}
.leader__name { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.leader__role { display: block; color: rgba(255, 255, 255, .78); font-size: 13px; }

.leader__quote {
	position: relative;
	margin: 0;
	padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 24px) clamp(18px, 2.2vw, 24px) 52px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-1);
}
.leader__quote p { margin: 0; color: var(--ink-2); font-size: 15px; font-style: italic; line-height: 1.6; }
.leader__mark { position: absolute; left: 18px; top: clamp(16px, 2vw, 22px); color: var(--g-300); }


/* ==========================================================================
   Responsive — one block per condition, widest first
   Container queries come first: they follow the width of the form panel, not
   the viewport, because the panel is a sidebar on desktop and full width on a
   phone.
   ========================================================================== */

@container (min-width: 440px) {
	/* Contact panel — the theme's own enquiry form */
	.cform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cform__field { grid-column: 1 / -1; }
	.cform__field--half { grid-column: span 1; }
}

@container (min-width: 560px) {
	/* Dealer application form — fields pair up; the tick boxes need this much
	   room before they fit two to a row inside half the form */
	.dform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dform__field { grid-column: 1 / -1; }
	.dform__field--half { grid-column: span 1; }
}

@container (max-width: 639px) {
	/* Dealer application card — the reassurance and WhatsApp line stack before
	   either has to wrap inside its half of the row */
	.apply__foot { flex-direction: column; align-items: flex-start; }
	.apply__wa { padding-left: 0; border-left: 0; }
}

@media (min-width: 901px) {
	/* Contact — the form column stays in view while the page scrolls */
	/* The header collapses to 64px once the page scrolls, so 84px clears it. */
	.contact__col--form { position: sticky; top: 84px; }
}

@media (max-width: 1080px) {
	/* Dealer application — the intro sits above the card */
	.apply__grid { grid-template-columns: 1fr; }
	.apply__intro { max-width: 640px; }
	.apply__card { margin-top: 0; }

	/* Quality */
	.qual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.qual__list { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }

	/* Crop hub */
	.crophub { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	/* Gallery */
	.galgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	/* Brands */
	.brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	/* Icon cards */
	.cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Numbered steps */
	.steps:not(.steps--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	/* Split (story + photo) */
	.split { grid-template-columns: 1fr; }
	.split__media { order: -1; }
	.split__leaf { display: none; }

	/* Dealer application — the intro stacks full-width, so the corner mark
	   would sit behind the heading instead of beside it */
	.apply__mark { display: none; }

	/* Process flow */
	.flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Contact — the two columns stack */
	.contact { grid-template-columns: 1fr; }

	/* Certificate wall */
	.certwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Milestones */
	.miles { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	/* Icon cards */
	.cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Numbered steps */
	.steps--3 { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	/* Quality */
	.qual { grid-template-columns: 1fr; }
	.qual__list { grid-template-columns: 1fr; }
	.qual__badge { left: auto; right: 18px; bottom: -18px; }

	/* Locations */
	.locs { grid-template-columns: 1fr; }

	/* Gallery */
	.galgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Brands */
	.brandgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Crop hub */
	.crophub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
	/* CTA strip */
	.strip { flex-direction: column; align-items: flex-start; }
	.strip--center { align-items: center; }
	.strip__actions { width: 100%; }
	.strip__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 620px) {
	/* Checklist */
	.checklist--split { grid-template-columns: 1fr; }

	/* Locations */
	.loc--row { grid-template-columns: 1fr; }
	.loc__photo img { min-height: 170px; }
	.infrabar { grid-template-columns: 1fr; }

	/* Certificate wall */
	.certwall { grid-template-columns: 1fr; }

	/* Documents */
	.doc { flex-wrap: wrap; }
	.doc__cta { width: 100%; }

	/* Contact map — the address card sits under the map instead of over it */
	.cmap__frame { height: 300px; }
	.cmap__card {
		position: static;
		max-width: none;
		border-top: 1px solid var(--line);
		border-radius: 0;
		box-shadow: none;
	}
}

@media (max-width: 560px) {
	/* Split (story + photo) */
	.mediabadge { position: static; margin-top: 14px; }
	.split__media--framed::before { display: none; }

	/* Icon cards */
	.cards--3, .cards--4 { grid-template-columns: 1fr; }
	.card__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px; }
	.card__icon svg { width: 26px; height: 26px; }

	/* Numbered steps */
	.steps { grid-template-columns: 1fr; }

	/* Process flow */
	.flow { grid-template-columns: 1fr; }

	/* Crop hub */
	.crophub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	/* Gallery */
	.galgrid { grid-template-columns: 1fr; }
	.lightbox__nav { width: 42px; height: 42px; }
	.lightbox__img { max-height: 64vh; }

	/* Brands */
	.brandgrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	/* Contact panel */
	.cform__input,
	.cform__submit { transition: none; }
	.cform__submit:hover { transform: none; }

	/* Dealer application */
	.dform__input,
	.dform__check,
	.dform__submit,
	.dform__submit .bhoo-icon,
	.apply__wa .bhoo-icon:last-child { transition: none; }
	.dform__submit:hover,
	.dform__submit:hover .bhoo-icon,
	.apply__wa:hover .bhoo-icon:last-child { transform: none; }
}
