/* ==========================================================================
   EPOSLEASING — site styles (mobile first). Tokens come from theme.json:
   --wp--preset--color--{navy|green|white|pale-green|green-dark|slate|border}
   Contrast: white on green 4.75:1 (buttons, AA); green-dark links 6.6:1 on white and 6.0:1 on pale green;
   navy text 16:1 on white. Plain green (#16852B) is not used for small text on pale green (4.3:1).
   ========================================================================== */

:root {
	--el-navy: var(--wp--preset--color--navy, #0b2031);
	--el-green: var(--wp--preset--color--green, #16852b);
	--el-green-dark: var(--wp--preset--color--green-dark, #0f6b22);
	--el-green-light: #8fd9a0;
	--el-pale: var(--wp--preset--color--pale-green, #edf5ef);
	--el-icon-bg: #dcefe1;
	--el-slate: var(--wp--preset--color--slate, #44566c);
	--el-border: var(--wp--preset--color--border, #cfe3d5);
	--el-input-border: #62758b;
	--el-error: #b00710;
	--el-radius: 10px;
	--el-header-h: 4.5rem;
	--el-shadow: 0 1px 2px rgba(11, 32, 49, 0.06), 0 8px 22px rgba(11, 32, 49, 0.08);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--el-header-h) + 0.75rem);
}

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

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--el-green-dark);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

:where(.el-site-footer, .el-why, .el-panel--accent) :where(a, button, summary):focus-visible {
	outline-color: var(--el-green-light);
}

/* Template parts sit edge to edge. */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0; }

/* --------------------------------------------------------------------------
   DEMO banner
   -------------------------------------------------------------------------- */
.el-demo-banner {
	background: #fff4d6;
	color: var(--el-navy);
	border-bottom: 1px solid #e8d49a;
	font-size: 0.875rem;
	line-height: 1.45;
	padding: 0.5rem 1rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.el-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--el-border);
	transition: box-shadow 0.2s ease;
}
.admin-bar .el-site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .el-site-header { top: 32px; } }
.el-site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11, 32, 49, 0.12); }

.el-header {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1240px;
	min-height: var(--el-header-h);
	margin: 0 auto;
	padding: 0.4rem 1rem;
}

/* Supplied logo on its own white background, original proportions (873 × 207). */
.el-logo { display: inline-flex; flex-shrink: 0; line-height: 0; }
.el-logo img { width: auto; height: 52px; }

.el-nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	background: #fff;
	color: var(--el-navy);
	border: 2px solid var(--el-navy);
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
}
.el-nav-toggle:hover { background: var(--el-pale); }
.el-nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.el-nav-toggle__icon::before,
.el-nav-toggle__icon::after,
.el-nav-toggle__icon span {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.el-nav-toggle__icon::before { top: 0; }
.el-nav-toggle__icon span { top: 5px; }
.el-nav-toggle__icon::after { top: 10px; }
.el-nav-toggle[aria-expanded="true"] .el-nav-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.el-nav-toggle[aria-expanded="true"] .el-nav-toggle__icon span { opacity: 0; }
.el-nav-toggle[aria-expanded="true"] .el-nav-toggle__icon::after { transform: translateY(-5px) rotate(-45deg); }

.el-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--el-border);
	box-shadow: 0 12px 24px rgba(11, 32, 49, 0.14);
	max-height: calc(100vh - var(--el-header-h));
	overflow-y: auto;
}
.el-site-header.is-open .el-nav { display: block; }
.el-nav__list { list-style: none; margin: 0; padding: 0.5rem 1rem 1rem; }
.el-nav__item a {
	display: block;
	padding: 0.85rem 0.25rem;
	color: var(--el-navy);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--el-border);
}
.el-nav__item a:hover,
.el-nav__item a.is-active { color: var(--el-green-dark); }
.el-nav__item--cta a {
	margin-top: 0.75rem;
	border: 0;
	border-radius: 6px;
	background: var(--el-green);
	color: #fff;
	font-weight: 700;
	text-align: center;
}
.el-nav__item--cta a:hover,
.el-nav__item--cta a.is-active { background: var(--el-green-dark); color: #fff; }

@media (min-width: 1200px) {
	.el-logo img { height: 60px; }
	.el-nav-toggle { display: none; }
	.el-nav {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		max-height: none;
		overflow: visible;
		background: transparent;
	}
	.el-nav__list { display: flex; align-items: center; gap: 0.1rem; padding: 0; }
	.el-nav__item a {
		padding: 0.5rem 0.55rem;
		border: 0;
		font-size: 0.875rem;
		white-space: nowrap;
		position: relative;
	}
	.el-nav__item:not(.el-nav__item--cta) a::after {
		content: "";
		position: absolute;
		left: 0.55rem;
		right: 0.55rem;
		bottom: 0.2rem;
		height: 2px;
		background: var(--el-green);
		transform: scaleX(0);
		transition: transform 0.2s ease;
	}
	.el-nav__item:not(.el-nav__item--cta) a:hover::after,
	.el-nav__item:not(.el-nav__item--cta) a.is-active::after { transform: scaleX(1); }
	.el-nav__item:not(.el-nav__item--cta) a:hover,
	.el-nav__item:not(.el-nav__item--cta) a.is-active { color: var(--el-navy); }
	.el-nav__item--cta { margin-left: 0.5rem; }
	.el-nav__item--cta a { margin: 0; padding: 0.7rem 1.2rem; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.el-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
.el-section--pale { background: var(--el-pale); }
.el-section--enquiry { background: #fff; }
.el-section--navy { background: var(--el-navy); color: #fff; }
.el-section--navy :where(h1, h2, h3, h4) { color: #fff; }

.el-section > .wp-block-heading:first-child,
.el-section .el-narrow > .wp-block-heading:first-child { margin-top: 0; }

.el-lead {
	color: var(--el-slate);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	max-width: 62ch;
	/* Constrained layout would centre the narrower lead; line it up with the 1200px column's left edge. */
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2)) !important;
}
.el-subhead { margin-top: var(--wp--preset--spacing--50); }

.el-narrow { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.el-center { justify-content: center; }

/* Hero (pale green) */
.el-section--hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 55% 65% at 88% 20%, rgba(22, 133, 43, 0.1), transparent 70%),
		var(--el-pale);
	border-bottom: 1px solid var(--el-border);
}
.el-hero__cols { gap: var(--wp--preset--spacing--50); }
.el-eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--el-border);
	color: var(--el-green-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.el-hero__title {
	font-size: var(--wp--preset--font-size--display);
	margin: 0;
}
.el-accent { color: var(--el-green); }
.el-hero__lead {
	color: var(--el-navy);
	font-size: var(--wp--preset--font-size--large);
	max-width: 52ch;
	margin-top: 1.25rem;
}
.el-hero__sub { color: var(--el-slate); max-width: 52ch; }
.el-hero__actions { margin-top: 2rem; gap: 0.85rem; }
@media (max-width: 599px) {
	.el-hero__actions .wp-block-button { width: 100%; }
	.el-hero__actions .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
}
.el-btn-xl .wp-block-button__link {
	padding: 1.15rem 2rem;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
}
.el-hero__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(11, 32, 49, 0.22), 0 0 0 1px rgba(11, 32, 49, 0.06);
}
.el-hero__img { margin: 0; }

/* Photos */
.el-photo { margin: 0; }
.el-photo img {
	display: block;
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
	box-shadow: var(--el-shadow);
}
.el-split { gap: var(--wp--preset--spacing--50); margin-top: var(--wp--preset--spacing--50); }
.el-split--intro { margin-top: 0; }
.el-split--industries .el-photo img { aspect-ratio: 3 / 4; }
@media (max-width: 781px) {
	.el-split--industries .el-photo img { aspect-ratio: 16 / 10; }
}
.el-split__intro .el-photo { margin-top: var(--wp--preset--spacing--40); }
.el-split__intro .el-photo img { aspect-ratio: 4 / 3; }
.el-split__media .el-photo img { aspect-ratio: 3 / 2; }
.el-split--intro .el-lead { margin-left: 0 !important; }
@media (max-width: 781px) {
	/* Text first on small screens, whichever side the photo sits on at desktop. */
	.el-split--reverse { flex-direction: column-reverse; }
}

/* Grids & cards */
.el-grid { margin-top: var(--wp--preset--spacing--40); gap: 1rem; }
.el-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--el-border);
	border-radius: var(--el-radius);
	padding: 1.35rem 1.35rem 1.25rem;
	box-shadow: 0 1px 2px rgba(11, 32, 49, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.el-card:hover { border-color: var(--el-green); box-shadow: var(--el-shadow); }
.el-card > * { margin: 0; }
.el-card > * + * { margin-top: 0.4rem; }
.el-card .wp-block-heading {
	font-size: 1.0625rem;
	line-height: 1.35;
	letter-spacing: -0.005em;
}
.el-card p { color: var(--el-slate); font-size: 0.95rem; line-height: 1.55; }

.el-ico { padding-top: 4.9rem; }
.el-ico::before,
.el-ico::after {
	content: "";
	position: absolute;
	top: 1.35rem;
	left: 1.35rem;
}
.el-ico::before {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 10px;
	background: var(--el-icon-bg);
}
.el-ico::after {
	top: calc(1.35rem + 0.5rem);
	left: calc(1.35rem + 0.5rem);
	width: 1.75rem;
	height: 1.75rem;
	background: var(--el-green);
	-webkit-mask: var(--el-icon) center / contain no-repeat;
	mask: var(--el-icon) center / contain no-repeat;
}
.el-ico--touchscreen-tills { --el-icon: url(../icons/touchscreen-tills.svg); }
.el-ico--complete-systems { --el-icon: url(../icons/complete-systems.svg); }
.el-ico--printers { --el-icon: url(../icons/printers.svg); }
.el-ico--barcode-scanners { --el-icon: url(../icons/barcode-scanners.svg); }
.el-ico--cash-drawers { --el-icon: url(../icons/cash-drawers.svg); }
.el-ico--handheld-epos { --el-icon: url(../icons/handheld-epos.svg); }
.el-ico--kiosks { --el-icon: url(../icons/kiosks.svg); }
.el-ico--kitchen-displays { --el-icon: url(../icons/kitchen-displays.svg); }
.el-ico--customer-displays { --el-icon: url(../icons/customer-displays.svg); }
.el-ico--label-printers { --el-icon: url(../icons/label-printers.svg); }
.el-ico--scales { --el-icon: url(../icons/scales.svg); }
.el-ico--connectivity { --el-icon: url(../icons/connectivity.svg); }
.el-ico--accessories { --el-icon: url(../icons/accessories.svg); }
.el-ico--flexible { --el-icon: url(../icons/flexible.svg); }
.el-ico--short-term { --el-icon: url(../icons/short-term.svg); }
.el-ico--leasing { --el-icon: url(../icons/leasing.svg); }
.el-ico--purchase { --el-icon: url(../icons/purchase.svg); }
.el-ico--restaurants { --el-icon: url(../icons/restaurants.svg); }
.el-ico--cafes { --el-icon: url(../icons/cafes.svg); }
.el-ico--retail { --el-icon: url(../icons/retail.svg); }
.el-ico--butchers { --el-icon: url(../icons/butchers.svg); }
.el-ico--hotels { --el-icon: url(../icons/hotels.svg); }
.el-ico--beauty { --el-icon: url(../icons/beauty.svg); }
.el-ico--events { --el-icon: url(../icons/events.svg); }
.el-ico--popups { --el-icon: url(../icons/popups.svg); }
.el-ico--multisite { --el-icon: url(../icons/multisite.svg); }
.el-ico--payments { --el-icon: url(../icons/payments.svg); }
.el-ico--configuration { --el-icon: url(../icons/configuration.svg); }
.el-ico--support { --el-icon: url(../icons/support.svg); }
.el-ico--software { --el-icon: url(../icons/software.svg); }
.el-ico--apps { --el-icon: url(../icons/apps.svg); }
.el-ico--upgrade { --el-icon: url(../icons/upgrade.svg); }
.el-ico--reporting { --el-icon: url(../icons/reporting.svg); }
.el-ico--package { --el-icon: url(../icons/package.svg); }
.el-ico--calendar { --el-icon: url(../icons/calendar.svg); }
.el-ico--cctv-camera { --el-icon: url(../icons/cctv-camera.svg); }
.el-ico--recorder { --el-icon: url(../icons/recorder.svg); }
.el-ico--detection { --el-icon: url(../icons/detection.svg); }
.el-ico--solar { --el-icon: url(../icons/solar.svg); }
.el-ico--tower { --el-icon: url(../icons/tower.svg); }
.el-ico--cabling { --el-icon: url(../icons/cabling.svg); }
.el-ico--warehouse { --el-icon: url(../icons/warehouse.svg); }
.el-ico--farm { --el-icon: url(../icons/farm.svg); }
.el-ico--takeaway { --el-icon: url(../icons/takeaway.svg); }

/* Compact horizontal cards for the industries list on wider screens */
@media (min-width: 600px) {
	.el-grid--industries .el-ico { padding: 1.1rem 1.1rem 1.1rem 4.6rem; }
	.el-grid--industries .el-ico::before { top: 1.1rem; left: 1.1rem; }
	.el-grid--industries .el-ico::after { top: 1.6rem; left: 1.6rem; }
}

/* Callout, notes, "Why" panel */
.el-callout {
	margin-top: var(--wp--preset--spacing--50);
	background: #fff;
	border: 1px solid var(--el-border);
	border-left: 5px solid var(--el-green);
	border-radius: var(--el-radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.el-callout p { margin: 0; max-width: 70ch; }
.el-callout__text > * { margin: 0; }
.el-callout__text > * + * { margin-top: 0.5rem; }
.el-callout__text .wp-block-heading { font-size: var(--wp--preset--font-size--large); }
.el-callout__strong { font-weight: 600; color: var(--el-navy); }
.el-callout .wp-block-buttons { margin: 0; }
@media (min-width: 900px) {
	.el-callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem 2rem; }
	.el-callout .wp-block-buttons { flex-shrink: 0; }
}
.el-section:not(.el-section--pale) .el-callout { background: var(--el-pale); }

.el-note {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: 1rem;
	border-top: 1px solid var(--el-border);
	color: var(--el-slate);
	font-size: 0.95rem;
}

.el-why {
	margin-top: var(--wp--preset--spacing--50);
	background: var(--el-navy);
	color: #fff;
	border-radius: 14px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-bottom: 6px solid var(--el-green);
}
.el-why .wp-block-heading { color: #fff; margin: 0; }
.el-why .wp-block-buttons { margin-top: 1.5rem; }
.el-why p { margin: 0.75rem 0 0; font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: #e6edf0; max-width: 70ch; }

.el-section-cta { margin-top: var(--wp--preset--spacing--50); }

.el-disclaimer {
	margin-top: var(--wp--preset--spacing--40) !important;
	padding: 0.9rem 1.1rem 0.9rem 2.9rem;
	position: relative;
	background: var(--el-pale);
	border-radius: 8px;
	color: var(--el-slate);
	font-size: 0.9rem;
	line-height: 1.55;
}
.el-disclaimer::before {
	content: "i";
	position: absolute;
	left: 1rem;
	top: 0.95rem;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--el-navy);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25rem;
	text-align: center;
}
.el-section--pale .el-disclaimer { background: #fff; }

.el-pair { margin-top: var(--wp--preset--spacing--50); gap: 1rem; }
.el-panel {
	background: var(--el-pale);
	border-radius: var(--el-radius);
	padding: clamp(1.25rem, 3vw, 1.75rem);
}
.el-panel > * { margin: 0; }
.el-panel > * + * { margin-top: 0.6rem; }
.el-panel .wp-block-heading { font-size: var(--wp--preset--font-size--large); }
.el-panel p { color: var(--el-slate); }
.el-panel--accent { background: var(--el-navy); border-bottom: 5px solid var(--el-green); }
.el-panel--accent .wp-block-heading { color: #fff; }
.el-panel--accent p { color: #e6edf0; }


/* How it works — steps */
.el-grid--steps { counter-reset: none; }
.el-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--el-border);
	border-radius: var(--el-radius);
	padding: 1.35rem;
	box-shadow: 0 1px 2px rgba(11, 32, 49, 0.04);
}
.el-step > * { margin: 0; }
.el-step > * + * { margin-top: 0.5rem; }
.el-step .wp-block-heading { font-size: 1.0625rem; line-height: 1.35; }
.el-step p { color: var(--el-slate); font-size: 0.95rem; line-height: 1.55; }
.el-step__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 0.85rem;
	border-radius: 50%;
	background: var(--el-green);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
}
.el-section--navy .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); }

/* FAQ accordion (core/details) */
.el-faq {
	background: #fff;
	border: 1px solid var(--el-border) !important;
	border-radius: 8px;
	margin-top: 0.75rem !important;
}
.el-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.1rem 3.5rem 1.1rem 1.25rem;
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--el-navy);
}
.el-faq summary::-webkit-details-marker { display: none; }
.el-faq summary::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: -0.75rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--el-navy), var(--el-navy)) center / 10px 2px no-repeat,
		linear-gradient(var(--el-navy), var(--el-navy)) center / 2px 10px no-repeat,
		var(--el-icon-bg);
	transition: transform 0.2s ease;
}
.el-faq[open] summary::after {
	background:
		linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
		var(--el-green);
}
.el-faq summary:hover { color: var(--el-green-dark); }
.el-faq > p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--el-slate); }

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */
.el-form,
.el-form-result {
	margin-top: var(--wp--preset--spacing--40);
	background: #fff;
	border: 1px solid var(--el-border);
	border-radius: 14px;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	box-shadow: var(--el-shadow);
}
.el-form__note { margin: 0 0 1rem; font-size: 0.9rem; color: var(--el-slate); }
.el-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.el-fieldset + .el-fieldset { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--el-border); }
.el-fieldset .el-fieldset { margin-top: 1.25rem; }
.el-fieldset .el-fieldset > legend { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.el-fieldset > legend {
	float: left; /* keeps the legend inside the fieldset instead of on its top border */
	width: 100%;
	padding: 0;
	margin-bottom: 0.85rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--el-navy);
}
.el-fieldset > legend + * { clear: both; }
.el-field { margin-top: 1rem; }
.el-field:first-child { margin-top: 0; }
.el-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.el-req { color: var(--el-error); }
.el-opt { font-weight: 400; color: var(--el-slate); font-size: 0.875rem; }
.el-field__hint { margin: -0.15rem 0 0.45rem; font-size: 0.875rem; color: var(--el-slate); }
.el-field__error { margin: 0 0 0.4rem; color: var(--el-error); font-weight: 600; font-size: 0.9rem; }

.el-form input[type="text"],
.el-form input[type="email"],
.el-form input[type="tel"],
.el-form input[type="number"],
.el-form input[type="date"],
.el-form select,
.el-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.85rem;
	border: 2px solid var(--el-input-border);
	border-radius: 6px;
	background: #fff;
	color: var(--el-navy);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
}
.el-form textarea { min-height: 6rem; resize: vertical; }
.el-form select {
	appearance: none;
	padding-right: 2.5rem;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2031' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 1.1rem no-repeat;
	cursor: pointer;
}
.el-form input:focus,
.el-form select:focus,
.el-form textarea:focus { border-color: var(--el-navy); outline: 3px solid var(--el-green-dark); outline-offset: 1px; }
.el-form input[type="file"] {
	display: block;
	width: 100%;
	padding: 0.65rem;
	border: 2px dashed var(--el-input-border);
	border-radius: 6px;
	background: var(--el-pale);
	font: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
}
.el-field--short input { max-width: 14rem; }
.el-field--error input,
.el-field--error textarea,
.el-form [aria-invalid="true"] { border-color: var(--el-error) !important; }
.el-field--error { border-left: 4px solid var(--el-error); padding-left: 0.85rem; }
.el-choices.el-field--error { padding-left: 0.85rem; }

.el-grid-2,
.el-grid-3 { display: grid; gap: 1rem 1.25rem; }
.el-grid-2 > .el-field,
.el-grid-3 > .el-field { margin-top: 0; }
@media (min-width: 640px) { .el-grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .el-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.el-choices__grid { display: grid; gap: 0.6rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .el-choices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .el-choices__grid { grid-template-columns: repeat(3, 1fr); } }
.el-choice { display: flex; align-items: flex-start; gap: 0.65rem; }
.el-choice input {
	flex-shrink: 0;
	width: 1.3rem;
	height: 1.3rem;
	margin: 0.15rem 0 0;
	accent-color: var(--el-green-dark);
	cursor: pointer;
}
.el-choice label { font-weight: 400; font-size: 0.975rem; line-height: 1.45; cursor: pointer; }
.el-choice--single { margin-top: 1rem; flex-wrap: wrap; }
.el-choice--single .el-field__error { flex-basis: 100%; }
.el-choice--single label { flex: 1; }
@media (min-width: 560px) {
	.el-choices--inline .el-choices__grid { grid-template-columns: repeat(auto-fill, minmax(11rem, max-content)); gap: 0.5rem 2rem; }
}

/* Google reCAPTCHA (only rendered when keys are configured). Space is reserved to avoid layout shift. */
.el-recaptcha { margin-top: 1.75rem; }
.el-recaptcha--v2 { padding-top: 1.75rem; border-top: 1px solid var(--el-border); }
.el-recaptcha--v2.el-field--error { padding-left: 0.85rem; }
.el-recaptcha:focus { outline: none; }
.el-recaptcha:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.el-recaptcha__widget { max-width: 100%; }
.el-recaptcha--v2 .el-recaptcha__widget { min-height: 78px; }
.el-recaptcha--v2 .el-recaptcha__widget--compact { min-height: 144px; }
.el-recaptcha--v3 .el-recaptcha__widget:empty { min-height: 60px; }
.el-recaptcha .el-recaptcha__js-error,
.el-recaptcha noscript .el-field__error { margin-top: 0.4rem; }
.el-recaptcha + .el-form__submit { margin-top: 1.5rem; }

.el-form__submit { margin-top: 2rem; }
.el-form__submit .wp-block-button__link {
	border: 0;
	cursor: pointer;
	width: 100%;
	padding: 1.1rem 2rem;
	font-size: 1.0625rem;
}
@media (min-width: 640px) { .el-form__submit .wp-block-button__link { width: auto; } }
.el-form__submit .wp-block-button__link[disabled] { opacity: 0.7; cursor: progress; }

.el-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.el-error-summary {
	border: 4px solid var(--el-error);
	border-radius: 8px;
	padding: 1.1rem 1.25rem;
	margin-bottom: 1.5rem;
}
.el-error-summary:focus { outline: 3px solid var(--el-navy); outline-offset: 2px; }
.el-error-summary h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.el-error-summary ul { margin: 0; padding-left: 1.1rem; }
.el-error-summary a { color: var(--el-error); font-weight: 600; }

.el-form-result { border-left: 6px solid #1d7a3a; }
.el-form-result:focus { outline: 3px solid var(--el-navy); outline-offset: 2px; }
.el-form-result h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Legal / generic pages
   -------------------------------------------------------------------------- */
.el-page {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--60);
}
.el-page .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--30); }
.el-page h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2rem; }
.el-draft-notice {
	background: #fff4d6;
	border: 1px solid #e8d49a;
	border-left: 5px solid #c79a00;
	border-radius: 8px;
	padding: 1rem 1.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.el-site-footer { background: var(--el-navy); color: #dbe4ea; }
.el-footer { max-width: 1200px; margin: 0 auto; padding: var(--wp--preset--spacing--60) 1rem 1.5rem; box-sizing: border-box; font-size: 0.95rem; }
.el-footer a { color: #fff; }
.el-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
/* The supplied logo keeps its white background: it sits on a white panel. */
.el-footer__logo-panel {
	display: inline-block;
	background: #fff;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	line-height: 0;
}
.el-footer__logo { display: block; width: 300px; max-width: 100%; height: auto; }
.el-footer__inner { display: grid; gap: 2rem; }
@media (min-width: 800px) { .el-footer__inner { grid-template-columns: 2fr 1.2fr 1fr; } }
.el-footer__tagline { margin: 1rem 0 0; font-size: 1rem; color: #fff; max-width: 36ch; line-height: 1.5; }
.el-footer__tagline strong { font-weight: 800; letter-spacing: 0.02em; }
.el-footer__heading { margin: 0 0 0.75rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.el-footer__list { list-style: none; margin: 0; padding: 0; }
.el-footer__list li + li { margin-top: 0.45rem; }
.el-footer__address { margin-top: 0.75rem; font-style: normal; line-height: 1.6; }
.el-footer__bottom {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(143, 217, 160, 0.35);
	font-size: 0.85rem;
	color: #c5d0d8;
}
.el-footer__bottom p { margin: 0; }
.el-footer__bottom p + p { margin-top: 0.5rem; }
.el-footer__regulatory { max-width: 90ch; }

/* --------------------------------------------------------------------------
   Consent banner (only rendered when a GA4 ID is configured)
   -------------------------------------------------------------------------- */
.el-consent {
	position: fixed;
	z-index: 200;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	color: var(--el-navy);
	border: 1px solid var(--el-border);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 16px 40px rgba(11, 32, 49, 0.25);
	font-size: 0.95rem;
}
.el-consent[hidden] { display: none; }
.el-consent p { margin: 0 0 1rem; }
.el-consent__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.el-btn {
	flex: 1 1 12rem;
	min-height: 44px;
	padding: 0.7rem 1rem;
	border: 2px solid var(--el-navy);
	border-radius: 6px;
	background: var(--el-navy);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Larger screens
   -------------------------------------------------------------------------- */
@media (min-width: 782px) {
	:root { --el-header-h: 4.75rem; }
	.el-section--hero { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
}

/* --------------------------------------------------------------------------
   Card grids: balanced rows (no single orphan card)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
	.el-grid.el-grid--benefits,
	.el-grid.el-grid--epos,
	.el-grid.el-grid--cctv,
	.el-grid.el-grid--steps,
	.el-grid.el-grid--industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.el-grid.el-grid--benefits,
	.el-grid.el-grid--epos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.el-grid.el-grid--cctv,
	.el-grid.el-grid--steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Industries photo: portrait beside the card grid on wide screens. */
@media (min-width: 782px) {
	.el-split.el-split--industries .el-split__intro .el-photo { margin-top: 0; }
	.el-split.el-split--industries .el-split__intro .el-photo img { aspect-ratio: 4 / 5; }
}
.el-section--pale .el-split--industries { margin-top: var(--wp--preset--spacing--40); }

/* Project details: inputs line up even when one label has a hint. */
@media (min-width: 900px) {
	.el-grid-3 { align-items: end; }
}
