/* =========================================================================
   peika.pl – stylesheet
   Brand colours: green #68ca1a (from the logo), dark green #1f3d10, sand #e3ce85.
   ========================================================================= */

/* ---------- Fonts (served from the site, no Google Fonts) ---------- */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/roboto-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/roboto-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Roboto Slab";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/roboto-slab-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Roboto Slab";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/roboto-slab-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables ---------- */
:root {
	--green: #68ca1a;
	--green-icon: #3f8f12;
	--green-text: #2f6f0c;
	--green-dark: #1f3d10;
	--green-bg: #eef8e4;
	--sand: #e3ce85;
	--sand-bg: #faf4df;
	--sand-border: #ecdca6;
	--text: #2f3a2b;
	--text-dark: #1f2a1a;
	--text-grey: #4a5446;
	--text-muted: #5b6457;
	--on-green: #13240a;
	--bg: #f4f6f1;
	--border: #e3e8de;
	--border-light: #eef1ea;
	--shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.12), 0 6px 30px 5px rgba(0, 0, 0, 0.08);
	--radius: 6px;
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-headings: "Roboto Slab", Georgia, serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
/* The hidden attribute must win over display rules (e.g. img above): WooCommerce mini cart
   keeps a second, hidden product image in each row. */
[hidden] {
	display: none !important;
}
a {
	color: var(--green-text);
}
a:hover {
	color: #1f4d07;
}
:focus-visible {
	outline: 3px solid var(--green-text);
	outline-offset: 2px;
}
h1,
h2,
h3 {
	color: var(--text-dark);
	line-height: 1.2;
}
h1,
h2 {
	font-family: var(--font-headings);
	font-weight: 700;
}
h2 {
	font-size: clamp(26px, 3vw, 34px);
	margin: 0 0 16px;
}
h3 {
	font-size: 20px;
	margin: 0 0 8px;
}
p {
	margin: 0 0 16px;
}
.container {
	width: 100%;
	max-width: 1202px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 10px 16px;
	background: #fff;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}
.text-small {
	font-size: 14px;
	color: var(--text-muted);
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Top bar ---------- */
.topbar {
	background: var(--green-dark);
	color: #e8f2df;
	font-size: 13px;
}
.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.topbar a {
	color: #e8f2df;
	text-decoration: none;
	margin-left: 16px;
}
.topbar a:first-child {
	margin-left: 0;
}
.topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

/* ---------- Header and menu ---------- */
.header {
	position: relative;
	z-index: 30;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.header__logo img {
	height: 44px;
	width: auto;
}
.menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu-link {
	display: block;
	padding: 10px 11px;
	border-bottom: 2px solid transparent;
	color: var(--text);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}
.menu-link:hover {
	color: var(--green-text);
}
.menu-link[aria-current="page"] {
	color: var(--green-text);
	border-bottom-color: var(--green);
}
.menu-link--secondary {
	color: var(--text-muted);
}
.menu-link--shop {
	margin-left: 6px;
	padding: 8px 18px;
	border: 2px solid var(--green);
	border-radius: 30px;
	color: var(--green-text);
	font-weight: 700;
}
.menu-link--shop:hover {
	background: var(--green);
	color: var(--on-green);
}
.menu-toggle {
	display: none;
}

@media (max-width: 1100px) {
	.js .menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding: 0 16px;
		border: 1px solid var(--border);
		border-radius: 30px;
		background: #fff;
		color: var(--text);
		font: inherit;
		font-weight: 500;
		cursor: pointer;
	}
	.menu-toggle__icon,
	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		display: block;
		width: 18px;
		height: 2px;
		background: currentColor;
		position: relative;
	}
	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		content: "";
		position: absolute;
		left: 0;
	}
	.menu-toggle__icon::before {
		top: -6px;
	}
	.menu-toggle__icon::after {
		top: 6px;
	}
	.menu {
		width: 100%;
	}
	.js .menu {
		display: none;
	}
	.js .menu.is-open {
		display: block;
	}
	.menu__list {
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0 12px;
	}
	.menu-link {
		padding: 12px 4px;
		border-bottom: 1px solid var(--border-light);
		font-size: 15px;
	}
	.menu-link[aria-current="page"] {
		border-bottom-color: var(--border-light);
		box-shadow: inset 4px 0 0 var(--green);
		padding-left: 14px;
	}
	.menu-link--shop {
		margin: 12px 0 0;
		text-align: center;
	}
}
@media (max-width: 640px) {
	.topbar__claim {
		display: none;
	}
	.header__logo img {
		height: 36px;
	}
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 26px;
	border: 2px solid transparent;
	border-radius: 30px;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}
.btn:hover {
	opacity: 0.88;
}
.btn--green {
	background: var(--green);
	border-color: var(--green);
	color: var(--on-green);
}
.btn--green:hover {
	color: var(--on-green);
}
.btn--outline {
	background: transparent;
	border-color: var(--green);
	color: var(--green-text);
}
.btn--outline-light {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.btn--outline-light:hover {
	color: #fff;
}
.btn--dark {
	background: #2b2410;
	border-color: #2b2410;
	color: #fff;
}
.btn--dark:hover {
	color: #fff;
}
.btn--small {
	min-height: 40px;
	padding: 0 18px;
	font-size: 13px;
}
.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Badges ---------- */
.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 3px;
	background: var(--green-dark);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
}
.badge--light {
	background: var(--green-bg);
	color: var(--green-text);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	font-size: 13px;
}
.badge--sand {
	background: var(--sand);
	color: #2b2410;
}

/* ---------- Hero banner (home page) ---------- */
.hero {
	background: #1b2a14 url(../img/hero.webp?v=98d97bc638) center / cover no-repeat;
	position: relative;
	color: #fff;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 8, 0.64);
}
.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding-top: clamp(64px, 10vw, 120px);
	padding-bottom: clamp(120px, 14vw, 170px);
	text-align: center;
}
.hero h1 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(32px, 5vw, 54px);
}
.hero__lead {
	max-width: 760px;
	margin: 0;
	color: #eef3ea;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.55;
}
.hero__label {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--sand);
	border-radius: 999px;
	background: rgba(227, 206, 133, 0.18);
	color: #f3e7bd;
	font-size: 13px;
	font-weight: 500;
}
.hero .buttons {
	justify-content: center;
	margin-top: 8px;
}

/* ---------- Page header ---------- */
.page-header {
	position: relative;
	background: #1b2a14 center / cover no-repeat;
	color: #fff;
}
.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 8, 0.68);
}
.page-header--how-it-works {
	background-image: url(../img/header-how-it-works.webp?v=e91539e648);
}
.page-header--models {
	background-image: url(../img/header-models.webp?v=415bea95b4);
}
.page-header--isobus {
	background-image: url(../img/header-isobus.webp?v=a53c0d31b0);
	background-position: center 60%;
}
.page-header--gallery {
	background-image: url(../img/header-gallery.webp?v=1ca4e07257);
}
.page-header--contact {
	background-image: url(../img/header-contact.webp?v=3c6d844a4c);
}
.page-header--modernization {
	background-image: url(../img/gallery/caruelle.webp?v=5cd5570740);
}
.page-header__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: clamp(48px, 7vw, 88px);
	padding-bottom: clamp(110px, 12vw, 150px);
	text-align: center;
}
.page-header h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 4.5vw, 48px);
}
.page-header p {
	max-width: 760px;
	margin: 0;
	color: #eef3ea;
	font-size: clamp(17px, 2vw, 19px);
}
.page-header--simple {
	background: var(--green-dark);
}

/* ---------- White card on a photo (Hestia style) ---------- */
.main-card {
	position: relative;
	z-index: 2;
	margin-top: -80px;
}
.main-card__inner {
	padding: clamp(24px, 4vw, 56px);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--shadow);
}
.main-card__inner > .section:first-child {
	padding-top: 0;
}
.main-card__inner > .section:last-child {
	padding-bottom: 0;
}

/* ---------- Sections ---------- */
.section {
	padding-top: 48px;
	padding-bottom: 48px;
}
.section + .section {
	border-top: 1px solid var(--border);
}
.section--no-border {
	border-top: 0 !important;
}
.section__header {
	max-width: 720px;
	margin: 0 auto 32px;
	text-align: center;
}
.section__header p {
	margin: 0;
	color: var(--text-grey);
}
.section--tinted {
	padding-top: 72px;
	padding-bottom: 24px;
}
.text {
	max-width: 800px;
}
.lead {
	font-size: 19px;
	line-height: 1.65;
	color: var(--text);
}

/* ---------- Grids ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
}
.grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 32px 48px;
}
.grid--4 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 20px;
}
.two-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px 48px;
}
.two-columns > * {
	flex: 1 1 380px;
	min-width: 0;
}
.two-columns--top {
	align-items: flex-start;
}
/* Product photos and the app mockup: no frame and no shadow (white or transparent background). */
.illustration {
	width: 100%;
	height: auto;
}
.photo {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
	object-fit: cover;
}

/* ---------- Features (tiles) ---------- */
.feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}
.feature__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: var(--green-bg);
	color: var(--green-icon);
}
.feature h3 {
	margin: 4px 0 0;
	font-size: 19px;
}
.feature p {
	margin: 0;
	color: var(--text-grey);
}
.tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border-radius: var(--radius);
	background: #f6f8f3;
}
.tile h3 {
	margin: 4px 0 0;
}
.tile > .badge {
	align-self: flex-start;
}
.tile p {
	margin: 0;
	color: var(--text-grey);
}
.tile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--green-icon);
}

/* ---------- Model cards ---------- */
.model {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
}
.model--featured {
	border: 2px solid var(--green);
}
.model__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 180px;
	padding: 14px;
	background: #f3f5f0;
}
.model__photo img {
	max-height: 150px;
	width: auto;
	object-fit: contain;
}
.model__photo .badge {
	position: absolute;
	top: 12px;
	left: 12px;
}
.model__photo .badge--sand {
	left: auto;
	right: 12px;
}
.model__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 10px;
	padding: 20px;
}
.model__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.model__header h3 {
	margin: 0;
}
.model__outputs {
	flex-shrink: 0;
	color: var(--text-muted);
	font-size: 14px;
}
.model__description {
	flex-grow: 1;
	margin: 0;
	color: var(--text-grey);
}
.model__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.model__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid var(--border-light);
}
.model__footer a:not(.btn) {
	font-weight: 500;
	text-decoration: none;
}

/* ---------- Model details (Models page) ---------- */
.model-details {
	scroll-margin-top: 24px;
}
.model-details__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	border-radius: var(--radius);
	background: #f3f5f0;
}
.model-details__photo img {
	max-height: 260px;
	width: auto;
}
.spec {
	display: grid;
	grid-template-columns: minmax(130px, auto) 1fr;
	gap: 8px 20px;
	margin: 16px 0 20px;
}
.spec dt {
	color: var(--text-muted);
	font-size: 15px;
}
.spec dd {
	margin: 0;
	color: var(--text-dark);
	font-weight: 500;
}

/* ---------- Dark green band ---------- */
.band {
	background: var(--green-dark);
	color: #dfeed4;
}
.band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding-top: 48px;
	padding-bottom: 48px;
}
.band__text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.band h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 3vw, 32px);
}
.band p {
	margin: 0;
	font-size: 17px;
}
.section-cta {
	margin-top: 64px;
}

/* ---------- Reviews ---------- */
.review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.review blockquote {
	flex-grow: 1;
	margin: 0;
	color: var(--text);
}
.review figcaption {
	color: var(--text-dark);
	font-weight: 700;
}
.stars {
	color: #b8860b;
	font-size: 18px;
	letter-spacing: 2px;
}

/* ---------- Gallery ---------- */
/* Photo wall without captions: 3 columns (36 photos = full rows), 2 on phones. */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}
/* Single row of 4 photos (home page): 4 columns, 2 × 2 on narrower screens. */
.gallery--row {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
	.gallery--row {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
}
.gallery figure {
	margin: 0;
}
.gallery a {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
}
.gallery a[data-lightbox] {
	cursor: zoom-in;
}
.gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.25s ease;
}
.gallery a:hover img {
	transform: scale(1.03);
}
.gallery-brands {
	max-width: 800px;
	margin: 32px 0 0;
}

/* ---------- Films (YouTube) ---------- */
/* Cards with our own thumbnail; the film opens on YouTube (no player, nothing loaded from YouTube). */
.videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 24px;
	margin-top: 24px;
}
.videos--2 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.videos-heading {
	margin: 40px 0 0;
}
.video {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--text);
	text-decoration: none;
}
.video__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	margin-bottom: 6px;
	border-radius: var(--radius);
	background: var(--green-dark);
}
.video__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.25s ease;
}
/* Play button: dark green circle with a white triangle. */
.video__thumb::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(31, 61, 16, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat;
	transition: background-color 0.2s ease;
}
.video__duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
}
.video__title {
	color: var(--text-dark);
	font-family: var(--font-headings);
	font-weight: 700;
	line-height: 1.35;
}
.video__meta {
	color: var(--text-muted);
	font-size: 14px;
}
.video:hover .video__thumb img {
	transform: scale(1.03);
}
.video:hover .video__thumb::after {
	background-color: var(--green-text);
}
.video:hover .video__title {
	color: var(--green-text);
	text-decoration: underline;
}
.lightbox {
	max-width: min(1100px, 94vw);
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: #111;
}
.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.82);
}
.lightbox figure {
	margin: 0;
}
.lightbox img {
	max-height: 80vh;
	width: auto;
	margin: 0 auto;
}
.lightbox figcaption {
	padding: 10px 56px 12px 16px;
	color: #eee;
	font-size: 15px;
}
.lightbox figcaption:empty {
	display: none;
}
.lightbox__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

/* ---------- Tables ---------- */
.table {
	position: relative;
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin: 8px 0 24px;
}
.table table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
}
.table caption {
	padding: 16px 20px 8px;
	color: var(--text-dark);
	font-weight: 700;
	text-align: left;
}
.table th,
.table td {
	padding: 12px 18px;
	border-top: 1px solid var(--border-light);
	text-align: left;
	vertical-align: middle;
}
.table thead th {
	border-top: 0;
	background: var(--bg);
	color: var(--text-grey);
	font-weight: 500;
}
.table tbody th {
	font-weight: 500;
}
.table .yes {
	color: var(--green-text);
	font-weight: 700;
}

/* ---------- Lists ---------- */
.checklist {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.checklist li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 32px;
}
.checklist li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f8f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.checklist--two {
	columns: 2 300px;
	column-gap: 40px;
}
.checklist--two li {
	break-inside: avoid;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.chips li {
	padding: 8px 14px;
	border: 1px solid #cfd6c9;
	border-radius: 999px;
	font-weight: 500;
}
.chips li.chip--muted {
	border-color: transparent;
	background: var(--bg);
	color: var(--text-grey);
	font-weight: 400;
}
/* Terminal photos with captions (ISOBUS page): transparent images without a frame, captions on one line. */
.terminals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	align-items: end;
	gap: 32px 48px;
	margin: 32px 0 24px;
}
.terminals figure {
	margin: 0;
}
.terminals img {
	width: 100%;
	height: auto;
}
.terminals figcaption {
	margin-top: 12px;
	color: var(--text-dark);
	font-weight: 500;
	text-align: center;
}

/* ---------- Sand box ---------- */
.box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 28px;
	border: 1px solid var(--sand-border);
	border-radius: var(--radius);
	background: var(--sand-bg);
	color: #3e3518;
}
.box__body {
	flex: 1 1 480px;
	min-width: 0;
}
.box h2,
.box h3 {
	color: #2b2410;
}
.box p:last-child {
	margin-bottom: 0;
}
.box--grey {
	border-color: transparent;
	background: var(--bg);
	color: var(--text);
}

/* ---------- FAQ ---------- */
.faq {
	border-top: 1px solid var(--border);
}
.faq details {
	padding: 16px 4px;
	border-bottom: 1px solid var(--border);
}
.faq summary {
	color: var(--text-dark);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}
.faq details p,
.faq details ul {
	margin: 10px 0 0;
	color: var(--text-grey);
}
.faq a[href^="tel:"],
.gallery-brands a[href^="tel:"] {
	white-space: nowrap;
}

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	aspect-ratio: 16 / 10;
	padding: 16px;
	border: 2px dashed #b9c4b1;
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text-muted);
	text-align: center;
}

/* ---------- Contact and form ---------- */
.contact-details a {
	text-decoration: none;
}
.contact-details__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--text-dark) !important;
	font-size: 26px;
	font-weight: 700;
}
.contact-details__email {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 500;
}
.form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}
.form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 14px;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
}
.field input,
.field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cfd6c9;
	border-radius: 4px;
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
}
.field textarea {
	min-height: 130px;
	resize: vertical;
}
.field input:focus,
.field textarea:focus {
	border-color: var(--green);
	outline: 2px solid rgba(104, 202, 26, 0.35);
	outline-offset: 0;
}
.form__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form .btn {
	align-self: flex-start;
}
.error-message {
	padding: 12px 16px;
	border-radius: 4px;
	background: #fbebeb;
	color: #7a1f1f;
}

/* ---------- Footer ---------- */
.footer {
	margin-top: 72px;
	background: #1c2418;
	color: #c9d3c3;
	font-size: 14px;
}
.footer__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 32px 48px;
	padding-top: 48px;
	padding-bottom: 32px;
}
.footer__col--about img {
	height: 36px;
	width: auto;
	margin-bottom: 12px;
}
.footer__heading {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 700;
}
.footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer li {
	margin-bottom: 8px;
}
.footer a {
	color: #e6eee0;
	text-decoration: none;
}
.footer a:hover {
	color: #fff;
	text-decoration: underline;
}
.footer__bottom {
	border-top: 1px solid #2f3a2a;
	padding: 16px 0;
	color: #a9b5a2;
	font-size: 13px;
}

/* ---------- Cookie consent bar (assets/js/consent.js) ---------- */
.consent {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	padding: 16px 0;
	border-top: 3px solid var(--green);
	background: #fff;
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.15);
	color: var(--text);
	font-size: 15px;
	line-height: 1.5;
}
.consent[hidden] {
	display: none;
}
.consent__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
}
.consent__text {
	flex: 1 1 520px;
	margin: 0;
}
.consent__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.consent__buttons .btn {
	min-width: 140px;
}
.footer__consent {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.footer__consent:hover {
	color: #fff;
}
@media (max-width: 640px) {
	.consent__buttons {
		width: 100%;
	}
	.consent__buttons .btn {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* ---------- "Call" button on phones ---------- */
.call-button {
	display: none;
}
@media (max-width: 767px) {
	.call-button {
		position: fixed;
		right: 12px;
		bottom: 12px;
		left: 12px;
		z-index: 50;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 52px;
		border-radius: 30px;
		background: var(--green);
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
		color: var(--on-green);
		font-size: 16px;
		font-weight: 700;
		text-decoration: none;
	}
	.call-button:hover {
		color: var(--on-green);
	}
	body {
		padding-bottom: 76px;
	}
	/* The consent bar covers the bottom of the screen; the call button returns after a choice. */
	.consent-visible .call-button {
		display: none;
	}
	.footer {
		margin-top: 48px;
	}
	.section {
		padding-top: 36px;
		padding-bottom: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		transition: none !important;
	}
}
