/*
Theme Name: Enovra 2026
Theme URI: https://enovra.mu/
Author: Enovra Energy Solutions Ltd
Description: Fast, search-friendly theme for enovra.mu. Replaces the old child theme on a staging copy first. Includes the privacy-safe installations map and an optional feed from the Enovra Hub.
Version: 1.2.8
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary - Enovra Energy Solutions Ltd
Text Domain: enovra-2026

Brand colours
  Enovra Green  #124734
  Olive Lime    #A4B614
  Carbon Grey   #2E2E2E
  Soft White    #F9F9F9
The logo is a picture file and is never recoloured or edited by this theme.
*/

/* ---------- 1. Basics ---------- */
:root {
	--green: #124734;
	--green-dark: #0c3223;
	--green-soft: #e8f0ec;
	--lime: #a4b614;
	--lime-dark: #7f8d0e;
	--carbon: #2e2e2e;
	--text: #2e2e2e;
	--muted: #5b625e;
	--white: #ffffff;
	--soft: #f9f9f9;
	--line: #e3e7e4;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 6px 24px rgba(18, 71, 52, 0.10);
	--shadow-sm: 0 2px 10px rgba(18, 71, 52, 0.08);
	--container: 1180px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { color: var(--green); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	left: 8px; top: 8px; padding: 12px 18px; background: var(--white); color: var(--green); font-weight: 700;
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.centered { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.rounded { border-radius: var(--radius); }

/* ---------- 2. Buttons ---------- */
.btn {
	display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
	text-decoration: none; border: 2px solid transparent; line-height: 1.2; cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--lime); color: var(--green-dark); }
.btn--primary:hover { background: #b6c91a; color: var(--green-dark); }
.btn--light { background: var(--white); color: var(--green); }
.btn--light:hover { background: var(--green-soft); color: var(--green-dark); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }

/* ---------- 3. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }

.topbar { background: var(--green); color: var(--white); font-size: 0.88rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.topbar__lang { margin: 0; font-size: 0.85rem; }
.topbar__lang a { padding: 0 3px; }
.topbar__lang img { display: inline-block; }

.header-main__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.site-logo { flex: 0 0 auto; }
.site-logo img, .footer-logo img { width: auto; height: 52px; }
.custom-logo-link { display: inline-block; line-height: 0; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 12px; color: var(--carbon); font-weight: 600; font-size: 0.97rem; text-decoration: none; border-radius: var(--radius-sm); }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--green); background: var(--green-soft); }

.menu-item-has-children { display: flex; align-items: center; }
.menu a { white-space: nowrap; }

/*
 * The header buttons are written with a doubled selector on purpose. Pages that
 * are still built in Elementor load Elementor's global "button" style (teal
 * block, large padding), which would otherwise turn the small menu arrows into
 * big coloured blocks. These rules win over it and over similar add-on styles.
 */
body .site-header button.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; min-width: 0; height: 36px; min-height: 0; margin: 0 0 0 -4px; padding: 0;
	background: none; background-color: transparent; border: 0; border-radius: 6px; box-shadow: none;
	color: var(--carbon); font: inherit; line-height: 0; letter-spacing: normal; text-transform: none; cursor: pointer;
}
body .site-header button.submenu-toggle:hover,
body .site-header button.submenu-toggle:focus { background: var(--green-soft); background-color: var(--green-soft); color: var(--green); box-shadow: none; }
body .site-header button.submenu-toggle:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; }
.submenu-toggle svg { transition: transform 0.15s ease; }
.is-open > .submenu-toggle svg { transform: rotate(180deg); }

.sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 250px; background: var(--white); padding: 8px;
	border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 20;
}
.sub-menu a { padding: 9px 12px; font-weight: 500; }
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
/* Desktop: a menu item and its arrow always stay on one line, and items never shrink. */
.menu > li { flex: 0 0 auto; }
.menu-item-has-children { flex-wrap: nowrap; }

.site-nav__cta .btn { padding: 11px 20px; font-size: 0.95rem; white-space: nowrap; }

body .site-header button.nav-toggle {
	display: none; width: auto; min-width: 0; height: auto; min-height: 0; margin: 0 -10px 0 0; padding: 10px;
	background: none; background-color: transparent; border: 0; border-radius: 6px; box-shadow: none; line-height: 0; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px; content: ""; position: relative;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	html.js body .site-header button.nav-toggle { display: block; }
	.js .site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; max-height: calc(100vh - 120px); overflow-y: auto;
		border-top: 1px solid var(--line); box-shadow: var(--shadow);
	}
	.js .site-nav.is-open { display: flex; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > li { border-bottom: 1px solid var(--line); }
	.menu a { padding: 14px 4px; }
	.menu-item-has-children { flex-wrap: wrap; }
	.menu-item-has-children > a { flex: 1 1 auto; }
	body .site-header button.submenu-toggle { width: 44px; height: 48px; margin: 0; }
	.sub-menu { position: static; flex: 0 0 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; min-width: 0; }
	.menu-item-has-children.is-open > .sub-menu { display: block; }
	.menu-item-has-children:hover > .sub-menu { display: none; }
	.menu-item-has-children.is-open:hover > .sub-menu { display: block; }
	.site-nav__cta { padding-top: 16px; }
	.site-nav__cta .btn { display: block; text-align: center; }
	/* Without JavaScript the menu is simply shown in full. */
	html:not(.js) .site-nav { position: static; box-shadow: none; flex-direction: column; padding: 0 0 12px; }
	html:not(.js) .sub-menu { opacity: 1; visibility: visible; position: static; transform: none; box-shadow: none; border: 0; }
	html:not(.js) body .site-header button.submenu-toggle { display: none; }
}

@media (max-width: 640px) {
	.topbar__hide-sm { display: none; }
	.topbar__inner { min-height: 36px; }
	.site-logo img { height: 44px; }
	.header-main__inner { min-height: 66px; }
}

/* ---------- 4. Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--soft { background: var(--soft); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-title { margin-bottom: 0.35em; }
.section-title--sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--green .section-intro { color: rgba(255, 255, 255, 0.85); }
.section-more { text-align: center; margin-top: 28px; font-weight: 600; }

.eyebrow {
	margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-dark);
}
.eyebrow--light, .section--green .eyebrow { color: var(--lime); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--green-dark); overflow: hidden; }
.hero__media, .page-hero__media { position: absolute; inset: 0; }
.hero__img, .page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after, .page-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(95deg, rgba(12, 50, 35, 0.92) 0%, rgba(18, 71, 52, 0.78) 48%, rgba(18, 71, 52, 0.35) 100%);
}
.hero__inner {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 40px; align-items: center;
	padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px);
}
.hero__title { color: var(--white); font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin-bottom: 0.4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: rgba(255, 255, 255, 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
	background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
	padding: 6px 14px; font-size: 0.88rem; font-weight: 600;
}
.chips li::before { content: "\2713"; color: var(--lime); margin-right: 7px; font-weight: 800; }

.hero__card {
	justify-self: end; background: rgba(255, 255, 255, 0.96); color: var(--carbon); border-radius: var(--radius);
	padding: 26px 28px; max-width: 320px; box-shadow: var(--shadow);
}
.hero__card-number { font-size: 3.4rem; line-height: 1; font-weight: 800; color: var(--green); margin: 0 0 6px; }
.hero__card-label { margin: 0 0 12px; color: var(--muted); }
.hero__card-link { font-weight: 700; text-decoration: none; }

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__card { justify-self: start; }
	.hero__media::after, .page-hero__media::after { background: linear-gradient(180deg, rgba(12, 50, 35, 0.88), rgba(18, 71, 52, 0.8)); }
}

/* Inner page banner */
.page-hero { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.page-hero__inner { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 76px); max-width: var(--container); }
.page-hero__title { color: var(--white); margin-bottom: 0.3em; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero__lead { max-width: 720px; color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; margin: 0; }

/* ---------- 6. Cards and grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px; box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card--link:hover, .card--photo:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cdd6d1; color: var(--text); }
.card__title { font-size: 1.25rem; margin-bottom: 0.4em; }
.card__title a { text-decoration: none; color: var(--green); }
.card__title a:hover { text-decoration: underline; }
.card p { color: var(--muted); }
.card__more { margin-top: auto; font-weight: 700; color: var(--green); text-decoration: none; }
.card__more:hover { text-decoration: underline; }
.card__meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }

.card--photo { padding: 0; }
.card__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card--row { flex-direction: row; }
.card--row .card__photo { width: 42%; aspect-ratio: auto; height: 100%; min-height: 220px; flex: 0 0 42%; }
@media (max-width: 640px) {
	.card--row { flex-direction: column; }
	.card--row .card__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; flex: none; }
}

.why__item { padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); }
.why__item h3 { margin-bottom: 0.3em; }
.why__item p { color: var(--muted); margin: 0; }

.steps__list {
	list-style: none; counter-reset: step; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.steps__list li { counter-increment: step; position: relative; padding-top: 58px; }
.steps__list li::before {
	content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
	background: var(--lime); color: var(--green-dark); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center;
}
.steps__list h3 { color: var(--white); font-size: 1.1rem; }
.steps__list p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.steps__cta { text-align: center; margin: 36px 0 0; }
@media (max-width: 960px) { .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps__list { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 56px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel--green { background: var(--green); border-color: var(--green); color: var(--white); }
.panel--green .panel__title { color: var(--white); }
.panel__title { font-size: 1.3rem; }

.partners__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.press ul { list-style: none; padding: 0; margin: 0; }
.press li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.press a { text-decoration: none; font-weight: 600; }
.press a:hover { text-decoration: underline; }
@media (max-width: 760px) { .partners__inner { grid-template-columns: 1fr; gap: 24px; } }

.cta-band { background: var(--green); color: var(--white); padding: 52px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band__title { color: var(--white); margin-bottom: 0.25em; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.88); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 7. Page content, articles, WooCommerce ---------- */
.page-content--text { padding-top: 48px; padding-bottom: 72px; }
.page-content--builder { padding: 0; }
.page-content--builder > .elementor { margin: 0; }
.woo-wrap { padding-top: 36px; padding-bottom: 64px; }

.entry-content img { border-radius: var(--radius-sm); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.97rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--green-soft); color: var(--green-dark); }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--muted); }
.alignwide { max-width: var(--container); }

.article__header { padding: clamp(36px, 6vw, 64px) 0 20px; background: var(--soft); }
.article__title { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0; }
.article__image { max-width: 960px; margin-top: 28px; }
.article__image img { width: 100%; max-height: 480px; object-fit: cover; }
.article__body { padding-top: 32px; padding-bottom: 24px; }
.article__cta { padding-bottom: 72px; }

.notice { background: #fff8d6; border: 1px solid #ecd96a; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.92rem; }

.navigation.pagination { margin-top: 36px; text-align: center; }
.page-numbers { display: inline-block; padding: 8px 14px; margin: 2px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px auto 0; }
.search-form label { flex: 1; }
.search-field, .entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content textarea, .entry-content select {
	width: 100%; padding: 12px 14px; border: 1px solid #c5cdc8; border-radius: var(--radius-sm); font: inherit; background: var(--white);
}
.search-submit { background: var(--green); color: var(--white); border: 0; border-radius: var(--radius-sm); padding: 0 18px; font-weight: 700; cursor: pointer; }

/* WooCommerce: keep it tidy and on-brand without changing how it works. */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .single_add_to_cart_button {
	background: var(--green); color: var(--white); border-radius: 999px; padding: 12px 22px; font-weight: 700;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--green-dark); color: var(--white); }
.woocommerce .price, .woocommerce ul.products li.product .price { color: var(--green); font-weight: 700; }

/* ---------- 8. Footer ---------- */
.site-footer { background: var(--carbon); color: #d8ddd9; font-size: 0.96rem; }
.site-footer a:not(.btn) { color: #d8ddd9; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { display: inline-block; background: var(--white); padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.footer-logo img { height: 44px; }
.footer-brand p { color: #b9c0bb; max-width: 320px; }
.footer-col__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-contact address { font-style: normal; margin-bottom: 14px; }
.footer-contact address p { margin: 0 0 10px; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 16px 0 0; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--white); }
.social a:hover { background: var(--lime); color: var(--green-dark); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; font-size: 0.88rem; color: #aeb5b0; }
.footer-bottom p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.to-top {
	position: fixed; right: 18px; bottom: 90px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white);
	display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s; z-index: 40; box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--green-dark); color: var(--white); }

/* ---------- 9. Third-party widgets stay out of the way ---------- */
.joinchat { z-index: 45; }

/* ---------- 10. Opening video, numbers and trust logos (home page) ---------- */
.hero__video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 0.9s ease;
}
.hero__video.is-playing { opacity: 1; }
body button.hero__pause {
	position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 42px; height: 42px; min-width: 0; min-height: 0; padding: 0;
	display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
	background: rgba(12, 50, 35, 0.72); color: var(--white); box-shadow: none; cursor: pointer; line-height: 0;
}
body button.hero__pause:hover { background: var(--green-dark); }
.hero__pause[hidden] { display: none; }
.hero__pause-icon { display: block; width: 14px; height: 16px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.hero__pause.is-paused .hero__pause-icon { width: 0; height: 0; border: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; margin-left: 3px; }

.proof { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat { background: var(--green-soft); border-radius: var(--radius); padding: 20px 22px; text-align: center; }
.stat__n { display: block; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; color: var(--green); line-height: 1.1; }
.stat__l { display: block; margin-top: 4px; color: var(--muted); font-size: 0.97rem; }
.stats__note { max-width: 860px; margin: 14px auto 0; text-align: center; font-size: 0.82rem; color: var(--muted); }

.trust-strip { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; }
.trust-strip a { display: flex; align-items: center; gap: 12px; color: var(--carbon); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.trust-strip a:hover { color: var(--green); }
.trust-strip img { width: auto; height: 46px; max-width: 130px; object-fit: contain; }
.trust-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 0.97rem; }
.muted { color: var(--muted); font-size: 0.95rem; }

/* ---------- 11. Inner pages: breadcrumbs, buttons row, ticks, choice cards ---------- */
.breadcrumbs { margin: 0 0 18px; font-size: 0.88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #9aa39e; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--carbon); font-weight: 600; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.grid--1 { grid-template-columns: minmax(0, 680px); justify-content: center; }

.split--top { align-items: start; }
.split--top .section-head, .split__copy > .section-head { text-align: left; margin: 0 0 18px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1em; }
.tick-list li { position: relative; padding: 6px 0 6px 32px; }
.tick-list li::before {
	content: "\2713"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--green-soft); color: var(--green); font-size: 0.8rem; font-weight: 800; display: grid; place-items: center;
}
.tick-list--no li::before { content: "\2715"; background: #f6efe0; color: #8a5a00; }

.choose { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.choose__item {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 22px; background: var(--white);
	border: 2px solid var(--green-soft); border-radius: var(--radius); color: var(--text); text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.choose__item:hover { border-color: var(--lime); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--text); }
.choose__label { font-size: 1.2rem; font-weight: 800; color: var(--green); }
.choose__label::after { content: " \2192"; }
.choose__text { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .choose { grid-template-columns: 1fr; } }

.where .card { align-items: flex-start; }
.where .card p { flex: 1; }

/* Commercial projects */
.case { gap: 0; }
.case__status {
	align-self: flex-start; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #eef3c4; color: #4a5206;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
}
.case__sector { margin: 0 0 10px; color: var(--muted); font-size: 0.92rem; }
.case__facts { margin: 0 0 12px; }
.case__facts dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime-dark); font-weight: 700; }
.case__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--carbon); }
.case__facts dd + dt { margin-top: 10px; }

/* ---------- 12. About: the CEO ---------- */
.ceo { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ceo__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ceo__portrait, .ceo__talk { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ceo__portrait { background: linear-gradient(165deg, var(--green) 0%, var(--green-dark) 100%); }
.ceo__cutout, .ceo__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ceo__cutout { object-fit: contain; object-position: center bottom; }
.ceo__img { object-fit: cover; object-position: center top; }
.ceo__caption { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.ceo__caption strong { color: var(--green); }
@media (max-width: 860px) {
	.ceo { grid-template-columns: 1fr; }
	.ceo__photos { max-width: 480px; }
}

/* ---------- 13. Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.contact-cards { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-cards--single { grid-template-columns: 1fr; }
.contact-card {
	display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; background: var(--soft); border: 1px solid var(--line);
	border-radius: var(--radius-sm); overflow-wrap: anywhere;
}
.contact-card__label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime-dark); font-weight: 700; }
.contact-card a { font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card__note { font-size: 0.85rem; color: var(--muted); }
.contact-form { padding: clamp(20px, 3vw, 34px); }
.form-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
.social-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; }
.social-row a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); }
.social-row a:hover { background: var(--lime); color: var(--green-dark); }
.contact-info .trust-strip { justify-content: flex-start; margin-top: 24px; }

/* Contact Form 7 on the contact page */
.contact-form .wpcf7 form p { margin: 0 0 16px; }
.contact-form .wpcf7 label { display: block; font-weight: 600; font-size: 0.95rem; }
.contact-form .wpcf7 input[type="text"], .contact-form .wpcf7 input[type="email"], .contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 input[type="url"], .contact-form .wpcf7 input[type="number"], .contact-form .wpcf7 select, .contact-form .wpcf7 textarea {
	display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #c5cdc8; border-radius: var(--radius-sm);
	font: inherit; background: var(--white); color: var(--text);
}
.contact-form .wpcf7 textarea { min-height: 140px; }
.contact-form .wpcf7 input[type="file"] { display: block; margin-top: 6px; max-width: 100%; }
.contact-form .wpcf7 input:focus, .contact-form .wpcf7 select:focus, .contact-form .wpcf7 textarea:focus { outline: 3px solid rgba(164, 182, 20, 0.45); border-color: var(--green); }
body .contact-form .wpcf7 input[type="submit"], body .contact-form .wpcf7 .wpcf7-submit {
	background: var(--lime); color: var(--green-dark); border: 0; border-radius: 999px; padding: 14px 30px; font: inherit; font-weight: 700; cursor: pointer;
}
body .contact-form .wpcf7 input[type="submit"]:hover { background: #b6c91a; }
.contact-form .wpcf7-not-valid-tip { margin-top: 4px; color: #b3261e; font-size: 0.85rem; }
.contact-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
/* Office map (shown only when an address or map code is set in Enovra settings) */
.contact-map__frame { margin-top: 18px; width: 100%; height: clamp(280px, 36vw, 420px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #f3f5ef; }
.contact-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-map .section-intro a { font-weight: 700; margin-left: 6px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

.steps-simple { list-style: none; counter-reset: simple; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-simple li { counter-increment: simple; position: relative; padding-top: 58px; }
.steps-simple li::before {
	content: counter(simple); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
	background: var(--lime); color: var(--green-dark); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center;
}
.steps-simple p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps-simple { grid-template-columns: 1fr; } }

/* ---------- 14. FAQ pages ---------- */
.chip-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.chip-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.chip-nav a:hover { background: var(--green); color: var(--white); }
.faq-group { margin: 38px 0 14px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); scroll-margin-top: 120px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item[open] { border-color: #cdd6d1; box-shadow: var(--shadow-sm); }
.faq-item summary { position: relative; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--green); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--lime-dark); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 18px 16px; }
.faq-item__body p { margin: 0 0 0.7em; }
.faq-item__links { font-size: 0.92rem; color: var(--muted); }
.faq-note { margin-top: 32px; padding: 14px 16px; background: var(--soft); border-left: 4px solid var(--lime); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.92rem; color: var(--muted); }

.section-more--tight { margin-top: -8px; }
.site-footer .btn { text-align: center; justify-content: center; padding-left: 18px; padding-right: 18px; }
.social-label { margin: 18px 0 0; font-weight: 700; color: var(--green); }
.social-label + .social-row { margin-top: 8px; }
.btn-row--center { justify-content: center; }

/* ======================================================================
   15. Version 1.2
   ====================================================================== */

/* ---- Opening video: no flash of the old picture ---- */
.hero__media { background: linear-gradient(120deg, var(--green-dark), var(--green) 55%, #1d5a43); }
.hero__img { transition: opacity 0.7s ease; }
.hero--video-pending .hero__img { opacity: 0; }
.hero--video-pending .hero__media { animation: heroGlow 2.2s ease-in-out infinite alternate; }
@keyframes heroGlow { from { filter: brightness(0.92); } to { filter: brightness(1.12); } }

/* ---- Trust logos: bigger, in their own card ---- */
.proof .trust-strip {
	margin-top: 26px; padding: 18px 28px; gap: 18px 64px; background: var(--white);
	border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.trust-strip a { gap: 16px; font-size: 1rem; }
.trust-strip img { height: 76px; max-width: 220px; }
@media (max-width: 520px) { .trust-strip img { height: 60px; max-width: 150px; } .proof .trust-strip { padding: 14px 16px; gap: 14px 28px; } }

/* ---- Header: grant link, Shop, room for one more menu item ---- */
.topbar__inner { flex-wrap: wrap; row-gap: 4px; }
.topbar a.topbar__grant {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
	background: var(--lime); color: var(--green-dark); font-weight: 700; font-size: 0.82rem; text-decoration: none; white-space: nowrap;
}
.topbar a.topbar__grant:hover { background: #b6c91a; text-decoration: none; }
@media (max-width: 760px) { .topbar a.topbar__grant { order: -1; flex: 1 0 100%; justify-content: center; border-radius: 0; margin: 0 -20px; padding: 6px 12px; } }
.menu > li.menu-item--shop > a { background: var(--green); color: var(--white); border-radius: 999px; padding: 9px 18px; }
.menu > li.menu-item--shop > a:hover, .menu > li.menu-item--shop.current-menu-item > a { background: var(--green-dark); color: var(--white); }
@media (max-width: 1320px) and (min-width: 1081px) {
	.menu a { padding: 10px 8px; font-size: 0.93rem; }
	.menu > li.menu-item--shop > a { padding: 9px 14px; }
	.site-nav { gap: 12px; }
	.site-nav__cta .btn { padding: 10px 15px; font-size: 0.9rem; }
}
@media (max-width: 1080px) { .menu > li.menu-item--shop > a { display: inline-block; margin: 10px 0; padding: 10px 20px; } }

.shop-bar { background: #f1f6f3; border-top: 1px solid var(--line); }
.shop-bar__inner { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.shop-bar__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green); text-decoration: none; }
.shop-bar__brand svg { flex: none; }
.shop-bar__cats { display: flex; flex-wrap: wrap; gap: 2px 16px; list-style: none; margin: 0; padding: 0; flex: 1 1 260px; }
.shop-bar__cats a { color: var(--carbon); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.shop-bar__cats a:hover { color: var(--green); text-decoration: underline; }
.shop-bar__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.shop-bar__search { display: flex; gap: 6px; }
.shop-bar__search input[type="search"] { min-width: 0; width: 170px; padding: 7px 12px; border: 1px solid #cdd6d1; border-radius: 999px; font: inherit; font-size: 0.92rem; background: var(--white); }
.shop-bar__search button { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.shop-bar__link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid #cdd6d1; background: var(--white); color: var(--green); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.shop-bar__link:hover { border-color: var(--green); }
.shop-bar__count { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--green-dark); font-size: 0.78rem; text-align: center; }
.shop-bar__link { white-space: nowrap; }
@media (max-width: 640px) { .shop-bar__tools { flex-wrap: wrap; width: 100%; margin-left: 0; } .shop-bar__search { flex: 1 1 100%; } .shop-bar__search input[type="search"] { flex: 1; width: auto; } .shop-bar__link { flex: 1 1 0; justify-content: center; } }

/* ---- Government grant band ---- */
.grant-band { background: #f5f8dd; border-top: 1px solid #e1e8a8; border-bottom: 1px solid #e1e8a8; }
.grant-band__inner { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.grant-band__icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--lime); display: grid; place-items: center; }
.grant-band__copy { flex: 1 1 380px; min-width: 0; }
.grant-band__eyebrow { margin: 0 0 2px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-dark); }
body .grant-band__title { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.25; color: var(--green); }
.grant-band__text { margin: 6px 0 0; max-width: 780px; font-size: 0.97rem; color: var(--carbon); }
.grant-band__actions { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.grant-band__dbm { font-weight: 700; color: var(--green); }
.grant-band--compact .grant-band__inner { padding-top: 14px; padding-bottom: 14px; }
.grant-band--compact .grant-band__icon { width: 46px; height: 46px; }
.grant-band--compact .grant-band__icon svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .grant-band__icon { display: none; } }

/* ---- News page: small, friendly cards ---- */
.page-hero--compact .page-hero__inner { padding-top: clamp(26px, 4vw, 42px); padding-bottom: clamp(26px, 4vw, 42px); }
body .page-hero--compact .page-hero__title { font-size: clamp(1.65rem, 3.2vw, 2.25rem); }
.page-hero--compact .page-hero__lead { font-size: 1rem; }

.news-top { background: var(--white); border-bottom: 1px solid var(--line); padding: 14px 0; }
.news-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topic { display: inline-block; padding: 7px 15px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 0.88rem; text-decoration: none; border: 1.5px solid transparent; }
.topic:hover { border-color: var(--green); color: var(--green); }
.topic.is-current { background: var(--green); color: var(--white); }
.news-search { display: flex; gap: 6px; }
.news-search input[type="search"] { width: 190px; max-width: 100%; padding: 8px 14px; border: 1px solid #cdd6d1; border-radius: 999px; font: inherit; font-size: 0.92rem; }
.news-search button { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; }

.news { background: var(--soft); }
.news-featured__label, body .news-more { margin: 0 0 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-dark); }
.news-featured { margin-bottom: 34px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd6d1; }
.news-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-soft); }
.news-card__media img, .news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--green); background: linear-gradient(135deg, #e8f0ec, #d3e4db); }
.news-card__placeholder--amber { color: #a56a00; background: linear-gradient(135deg, #fff4d6, #ffe7a8); }
.news-card__placeholder--blue { color: #1c4f82; background: linear-gradient(135deg, #e6f0fb, #cfe1f5); }
.news-card__placeholder--lime { color: #6c7a0b; background: linear-gradient(135deg, #f3f7d5, #e3eca3); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 16px; }
.news-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 8px; font-size: 0.78rem; color: var(--muted); }
body .news-card__title { margin: 0 0 6px; font-size: 1.06rem; line-height: 1.3; }
.news-card__title a { color: var(--green); text-decoration: none; }
.news-card__title a:hover { text-decoration: underline; }
.news-card__excerpt { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 0 0; font-size: 0.8rem; color: var(--muted); }
.news-card__more { font-weight: 800; color: var(--green); text-decoration: none; white-space: nowrap; }
.news-card__more:hover { text-decoration: underline; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em; }
.tag--green { background: #dcefe4; color: #0f5a3a; }
.tag--amber { background: #fff0c9; color: #7a5200; }
.tag--blue { background: #dfeafa; color: #1c4f82; }
.tag--lime { background: #eef4c4; color: #566208; }

@media (min-width: 761px) {
	.news-card--featured { flex-direction: row; }
	.news-card--featured .news-card__media { width: 46%; flex: none; aspect-ratio: auto; min-height: 240px; }
	.news-card--featured .news-card__body { justify-content: center; padding: 22px 28px; }
	body .news-card--featured .news-card__title { font-size: 1.45rem; }
	.news-card--featured .news-card__excerpt { font-size: 1rem; -webkit-line-clamp: 4; }
}
/* On phones the small cards become a tidy list: thumbnail left, text right. */
@media (max-width: 640px) {
	.news-grid { grid-template-columns: 1fr; gap: 12px; }
	.news-grid .news-card { flex-direction: row; }
	.news-grid .news-card__media { width: 120px; min-height: 120px; flex: none; aspect-ratio: auto; }
	.news-grid .news-card__body { padding: 12px 14px; }
	.news-grid .news-card__excerpt { display: none; }
	.news-grid .news-card__foot span { display: none; }
	.news-grid .news-card__foot { justify-content: flex-start; }
}

ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0; }
ul.page-numbers > li { margin: 0; }
.navigation.pagination { margin-top: 30px; }

/* ---- Articles: calmer type, always readable titles ---- */
.article__header { padding: clamp(26px, 4vw, 40px) 0 18px; }
body .article .article__title { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.22; margin: 0; color: var(--green) !important; }
.article__crumbs { margin: 0 0 10px; font-size: 0.88rem; }
.article__byline { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }
.article__image { max-width: 860px; margin-top: 24px; }
.article__image img { max-height: 380px; border-radius: 14px; }
.article .article__body { font-size: 1.02rem; line-height: 1.72; padding-top: 26px; }
body .article .entry-content h1 { font-size: 1.5rem; }
body .article .entry-content h2 { font-size: 1.32rem; margin-top: 1.7em; }
body .article .entry-content h3 { font-size: 1.12rem; margin-top: 1.4em; }
body .article .entry-content h4 { font-size: 1rem; }
.article__related { margin-top: 24px; }

/* ---- Social and photo rail, Gallery page, follow buttons ---- */
.rail { position: relative; margin-top: 26px; }
.rail__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rail__track { display: flex; gap: 14px; width: max-content; padding: 4px 14px 4px 0; list-style: none; margin: 0; animation: railSlide calc(var(--n, 8) * 6s) linear infinite; }
.rail:hover .rail__track, .rail:focus-within .rail__track, .rail.is-paused .rail__track { animation-play-state: paused; }
@keyframes railSlide { to { transform: translateX(-50%); } }
.rail__item { flex: none; width: 210px; position: relative; border-radius: 16px; overflow: hidden; background: var(--green-soft); box-shadow: var(--shadow-sm); }
.rail__item a, .rail__item figure { display: block; margin: 0; position: relative; aspect-ratio: 4 / 5; color: var(--white); text-decoration: none; }
.rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rail__item a:hover img { transform: scale(1.05); }
.rail__badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(12, 50, 35, 0.78); font-size: 0.74rem; font-weight: 700; }
.rail__badge svg { width: 14px; height: 14px; }
.rail__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(180deg, transparent, rgba(8, 32, 22, 0.86)); font-size: 0.86rem; font-weight: 600; line-height: 1.3; }
.rail__controls { display: flex; justify-content: flex-end; margin-top: 10px; }
body button.rail__pause { padding: 6px 14px; border: 1px solid #cdd6d1; border-radius: 999px; background: var(--white); color: var(--green); font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; min-height: 0; min-width: 0; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
	.rail__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
	.rail__track { animation: none; width: auto; }
	.rail__item { scroll-snap-align: start; }
	.rail__item--clone, .rail__controls { display: none; }
}
@media (max-width: 520px) { .rail__item { width: 160px; } }

.follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.follow__link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--green); color: var(--green); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.follow__link:hover { background: var(--green); color: var(--white); }
.follow__icon { display: inline-flex; line-height: 0; }
.follow__icon svg { width: 18px; height: 18px; }

.gallery { columns: 3 230px; column-gap: 16px; margin-top: 28px; }
.gallery__item { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 14px; overflow: hidden; background: var(--green-soft); box-shadow: var(--shadow-sm); }
.gallery__item a { display: block; color: var(--white); text-decoration: none; }
.gallery__item img { width: 100%; height: auto; }
.gallery__item .rail__cap { font-size: 0.84rem; }

/* ---- Solutions, Products, Shop: three doors ---- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.door { display: flex; flex-direction: column; padding: 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.door:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.door.is-here { border-top-color: var(--green); background: var(--green-soft); }
.door__title { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; color: var(--green); }
.door__text { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.door__more { margin-top: auto; font-weight: 800; color: var(--green); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* Supplier line: one quiet sentence on the home page, above the final call to action. */
.supplier-note { background: var(--white); border-top: 1px solid var(--line); padding: 18px 0; }
.supplier-note__text { margin: 0; text-align: center; font-size: 0.92rem; color: var(--muted); }

/* Page banner with a smaller photo: framed beside the title so it stays sharp. */
.page-hero--framed .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px 48px; align-items: center; }
.page-hero__photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); border: 3px solid rgba(255, 255, 255, 0.9); aspect-ratio: 16 / 10; background: var(--green-dark); }
.page-hero__pic { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero--compact.page-hero--framed .page-hero__photo { aspect-ratio: 16 / 9; }
@media (max-width: 860px) {
	.page-hero--framed .page-hero__inner { grid-template-columns: 1fr; }
	.page-hero__photo { aspect-ratio: 16 / 9; max-height: 220px; }
}

/* Floating social icons (replaces the old bar from the previous site, which has no styling here). */
.floating-social { display: none !important; }
.enovra-float { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 90; }
.enovra-float ul { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-left: 0; border-radius: 0 14px 14px 0; box-shadow: 0 6px 20px rgba(18, 71, 52, 0.16); }
.enovra-float__link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--green); color: var(--white); transition: background-color 0.15s ease, color 0.15s ease; }
.enovra-float__link:hover, .enovra-float__link:focus-visible { background: var(--lime); color: var(--green); }
.enovra-float__link svg { width: 22px; height: 22px; }
/* v1.2.2: only where there is free space beside the page content (it covered the footer logo and text on narrower screens); the same links are in the footer. */
@media (max-width: 1259px) { .enovra-float { display: none; } }
@media print { .enovra-float { display: none; } }

.shop-bar__link--quote { background: var(--lime); color: var(--green); padding: 6px 14px; border-radius: 999px; }
.shop-bar__link--quote:hover { background: var(--lime-dark); color: var(--white); }

/* Meet Nova: copy beside a click-to-play video. */
.nova-video__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 56px; align-items: center; }
.nova-video__note { font-size: 0.95rem; color: var(--muted); }
.nova-video__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.nova-video__actions [hidden] { display: none; }
.nova-video__player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--green-dark); box-shadow: 0 12px 34px rgba(18, 71, 52, 0.22); }
.nova-video__poster { position: absolute; inset: 0; display: block; }
.nova-video__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nova-video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--lime); color: var(--green); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); transition: transform 0.15s ease; }
.nova-video__poster:hover .nova-video__play, .nova-video__poster:focus-visible .nova-video__play { transform: scale(1.08); }
.nova-video__play svg { margin-left: 4px; }
.nova-video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .nova-video__inner { grid-template-columns: 1fr; } }

/* Free assessment form page (MetForm inside the Enovra layout). */
.assessment-form { max-width: 900px; margin: 8px auto 0; }
.assessment-form .mf-form-wrapper, .assessment-form .metform-form-content { max-width: 100%; }
.assessment-form .elementor-section, .assessment-form .elementor-container, .assessment-form .e-con { max-width: 100%; }
.assessment-form__note { max-width: 900px; margin: 24px auto 0; color: var(--muted); }

/* The scrolling Enovra + supplier logo strip that sits inside some Elementor pages (for example the shop page).
   Hidden everywhere: the supplier is named once, in a single quiet line on the home page. */
.enovra-logo-marquee { display: none !important; }
.e-con:has(> .e-con-inner > .elementor-widget:only-child .enovra-logo-marquee) { display: none !important; }

/* Scroll effects (see main.js): hidden only after the script has decided to animate, so no script = everything visible. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal.is-in { opacity: 1; transform: none; will-change: auto; }
@media (max-width: 860px) { .reveal--left, .reveal--right { transform: translateY(28px); } }
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; z-index: 200; pointer-events: none; }
.site-header { transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(18, 71, 52, 0.1); }
.stat__n { font-variant-numeric: tabular-nums; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .scroll-progress { display: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-progress { display: none; } }

/* ---- v1.2.2: Servotech logo in the trust strip ---- */
.trust-strip__supplier a span { max-width: 9em; line-height: 1.25; }

/* ---- v1.2.2: footer headings on pages built with Elementor ----
   Elementor pages load Elementor's own heading style (dark navy, large), which
   is more specific than the footer's own rule and made the footer headings
   almost invisible on the shop and product pages. This keeps them as designed. */
body .site-footer h2.footer-col__title {
	font-family: inherit; font-size: 0.85rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.1em;
	text-transform: uppercase; color: var(--lime); margin: 0 0 14px;
}

/* ---- v1.2.2: the scroll effects slide some boxes in from the side; stop that starting offset from ever widening the page ---- */
body.enovra-motion .split, body.enovra-motion .nova-video { overflow-x: clip; }

/* ---- v1.2.2: Solar Panels page, datasheet downloads ---- */
.chips--center { justify-content: center; margin: 4px 0 14px; }
.datasheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.datasheet-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 14px; box-shadow: var(--shadow-sm); }
.datasheet-group__title { margin: 0 0 12px; font-size: 1.15rem; }
.datasheet-list { list-style: none; margin: 0; padding: 0; }
.datasheet-list li + li { border-top: 1px solid var(--line); }
.datasheet { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; color: var(--carbon); text-decoration: none; }
.datasheet__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: var(--white); transition: background-color 0.15s ease, color 0.15s ease; }
.datasheet:hover .datasheet__icon, .datasheet:focus-visible .datasheet__icon { background: var(--lime); color: var(--green); }
.datasheet__text { display: flex; flex-direction: column; min-width: 0; }
.datasheet__name { font-weight: 700; line-height: 1.3; }
.datasheet__note { font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
.datasheet__meta { font-size: 0.82rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.datasheet:hover .datasheet__name { text-decoration: underline; }
.datasheets__note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 960px) { .datasheets { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

/* ---------- 1.2.3: tagline, one-line logo row, globe language picker ---------- */
.hero__tagline { font-size: 0.9rem; letter-spacing: 0.08em; line-height: 1.35; max-width: 34em; }
.footer-brand .footer-brand__tagline { color: var(--lime); font-weight: 700; font-size: 1rem; line-height: 1.35; margin: 0 0 8px; max-width: 320px; }

/* The four approval and partner logos sit on one line at the same visual size.
   Each logo gets the same box and is scaled to fit it, so a wide logo does not look bigger than a tall one. */
.trust-strip { flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 14px 28px; }
.trust-strip li { flex: 0 1 auto; min-width: 0; }
.trust-strip a { flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.85rem; line-height: 1.25; }
.trust-strip img { width: 150px; height: 60px; max-width: 100%; object-fit: contain; }
.trust-strip__supplier a span { max-width: none; }
/* CEB: the picture is square with white margins; fill the shared box so the mark matches the others' visual size (display only). */
.trust-strip__trim img { object-fit: cover; object-position: 50% 50%; }
.contact-info .trust-strip { flex-wrap: wrap; justify-content: flex-start; }
/* Contact page: the logos sit in a half-width column, so show them 2 by 2 rather than 3 and 1. */
@media (min-width: 861px) { .contact-info .trust-strip li { flex: 0 0 calc(50% - 14px); } }
@media (max-width: 860px) { .trust-strip { gap: 12px 18px; } .trust-strip img { width: 118px; height: 52px; } .trust-strip a { font-size: 0.8rem; } }
@media (max-width: 640px) {
	.trust-strip, .proof .trust-strip { flex-wrap: wrap; gap: 16px 12px; }
	.proof .trust-strip { padding: 14px 12px; }
	.trust-strip li { flex: 0 0 calc(50% - 8px); }
	.trust-strip img { width: 130px; height: 56px; }
}

/* Globe language picker (the plain GTranslate switcher stays as the fallback until the script is ready). */
.langpicker { display: none; position: relative; }
html.has-langpicker .langpicker { display: block; }
.langpicker__native { display: block; }
html.has-langpicker .langpicker__native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.langpicker__btn {
	display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 12px 5px 9px; cursor: pointer;
	font: inherit; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white);
	background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.langpicker__btn:hover, .langpicker.is-open .langpicker__btn { background: rgba(255, 255, 255, 0.26); }
.langpicker__btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.langpicker__globe { flex: none; transition: transform 0.6s ease; }
.langpicker__btn:hover .langpicker__globe, .langpicker.is-open .langpicker__globe { transform: rotate(360deg); }
.langpicker__chev { flex: none; transition: transform 0.2s ease; opacity: 0.85; }
.langpicker.is-open .langpicker__chev { transform: rotate(180deg); }
.langpicker__panel {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 130; width: 248px; max-width: calc(100vw - 24px);
	padding: 14px 10px 10px; background: var(--white); color: var(--carbon); border: 1px solid var(--line); border-radius: 16px;
	box-shadow: 0 14px 34px rgba(18, 71, 52, 0.22); transform-origin: top right; animation: langpicker-pop 0.18s ease-out;
}
.langpicker__panel[hidden] { display: none; }
.langpicker.is-left .langpicker__panel { left: 0; right: auto; transform-origin: top left; }
.langpicker__title { margin: 0 8px 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime-dark); }
.langpicker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.langpicker__opt {
	display: grid; grid-template-columns: 24px 1fr 16px; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 9px 10px; cursor: pointer;
	font: inherit; font-size: 0.98rem; font-weight: 600; text-align: left; color: var(--carbon); background: transparent; border: 0; border-radius: 10px;
}
.langpicker__opt:hover, .langpicker__opt:focus-visible { background: #eef3ea; outline: none; }
.langpicker__opt.is-current { background: #e3efdc; color: var(--green); }
.langpicker__opt img { width: 24px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.langpicker__opt:not(:has(img)) .langpicker__name { grid-column: 1 / 3; }
.langpicker__tick { font-weight: 800; color: var(--green); text-align: right; }
.langpicker__note { margin: 10px 8px 2px; font-size: 0.76rem; line-height: 1.35; color: var(--muted); }
@keyframes langpicker-pop { from { opacity: 0; transform: translateY(-6px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.langpicker__panel { animation: none; }
	.langpicker__globe, .langpicker__chev { transition: none; }
	.langpicker__btn:hover .langpicker__globe, .langpicker.is-open .langpicker__globe { transform: none; }
}
@media print { .langpicker { display: none !important; } }

/* ---------- 24. Phone text sizes (1.2.7) ----------
   Phones only (640 px and narrower). Computers and tablets keep their sizes.
   Slightly smaller type and tighter spacing so a screen shows more than a heading and one sentence. */
@media (max-width: 640px) {
	body { font-size: 16px; line-height: 1.6; }
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.4rem; }
	h3 { font-size: 1.1rem; }
	.lead { font-size: 1.04rem; }
	.section-intro { font-size: 0.97rem; }
	.eyebrow { font-size: 0.76rem; }
	.btn { padding: 12px 22px; font-size: 0.95rem; }
	.card__title { font-size: 1.1rem; }
	.card__meta, .choose__text, .ceo__caption { font-size: 0.9rem; }
	.stat__n { font-size: 1.7rem; }
	.stat__l, .trust-note { font-size: 0.92rem; }
	.cta-band__title { font-size: 1.3rem; }
	.page-hero__title { font-size: 1.7rem; }
	body .page-hero--compact .page-hero__title { font-size: 1.5rem; }
	.page-hero__lead { font-size: 1rem; }
	.steps__list h3 { font-size: 1.02rem; }
	.panel__title { font-size: 1.15rem; }
	.hero__inner { padding-top: 36px; padding-bottom: 40px; }
	.hero__title { font-size: 1.875rem; margin-bottom: 0.35em; }
	.hero__lead { font-size: 0.97rem; line-height: 1.55; }
	.hero__actions { gap: 10px; margin: 20px 0 18px; }
	.chips { gap: 6px; }
	.chips li { padding: 5px 12px; font-size: 0.8rem; }
}

/* ---------- 25. Home packages on the Solutions page (1.2.8) ----------
   Six package cards, a "how to choose" panel with a real photo, a "what is included" panel and the small print. */
.pkg-intro, .pkg-included {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
	overflow: hidden; margin-bottom: 28px;
}
.pkg-intro__photo, .pkg-included__photo { margin: 0; height: 100%; min-height: 240px; }
.pkg-intro__photo img, .pkg-included__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-intro__text, .pkg-included > div:last-child { padding: 28px 32px 28px 0; }
.pkg-intro h3, .pkg-included h3 { margin-bottom: 0.6em; }
.pkg-choose { margin: 0; padding-left: 1.2em; }
.pkg-choose li { margin-bottom: 10px; color: var(--muted); }
.pkg-choose strong { color: var(--green); }
.pkg-included { margin-top: 28px; }
.pkg-included__products { display: flex; align-items: flex-end; gap: 18px; margin: 18px 0 0; }
.pkg-included__product { margin: 0; min-width: 0; }
.pkg-included__product img { display: block; width: 100%; height: auto; }
.pkg-included__product--inv { flex: 0 0 38%; }
.pkg-included__product--bat { flex: 1 1 0; }
.pkg-included__caption { margin: 10px 0 0; font-size: 0.8rem; color: var(--muted); max-width: 560px; }
.pkg-included__list li { margin-bottom: 8px; color: var(--muted); break-inside: avoid; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pkg {
	display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px; box-shadow: var(--shadow-sm); min-width: 0;
}
.pkg__head { margin-bottom: 14px; }
.pkg__tag { margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-dark, #7d8a0e); }
.pkg__title { margin: 0; font-size: 1.2rem; line-height: 1.25; color: var(--green); }
.pkg__draw { display: block; height: 52px; width: auto; max-width: 100%; margin-bottom: 14px; }
.pkg__price { margin: 0; color: var(--muted); }
.pkg__price strong { display: block; font-size: 1.85rem; line-height: 1.15; color: var(--green); }
.pkg__from { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pkg__upto { margin: 4px 0 16px; font-size: 0.9rem; color: var(--muted); }
.pkg__spec { list-style: none; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg__spec li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 0.93rem; }
.pkg__spec span { color: var(--muted); }
.pkg__spec b { text-align: right; font-weight: 600; color: var(--carbon); }
.pkg__est { margin: 0 0 14px; }
.pkg__est div { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.pkg__est div:last-child { border-bottom: 0; }
.pkg__est dt { font-size: 0.85rem; color: var(--muted); }
.pkg__est dd { margin: 2px 0 0; font-weight: 700; color: var(--carbon); }
.pkg__est div:last-child dd { color: var(--green); }
.pkg__cta { margin: auto 0 0; padding-top: 6px; }
.pkg__cta .btn { width: 100%; text-align: center; }
.pkg__ref { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); text-align: center; }

.pkg-notes { margin: 28px auto 0; max-width: 860px; padding-left: 1.2em; font-size: 0.88rem; color: var(--muted); }
.pkg-notes li { margin-bottom: 8px; }
.pkg-more { margin-top: 28px; padding: 26px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pkg-more p { margin: 0 0 6px; }
.pkg-more .btn-row { margin-top: 16px; }

@media (max-width: 960px) {
	.pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pkg-intro, .pkg-included { grid-template-columns: 1fr; gap: 0; }
	.pkg-intro__photo, .pkg-included__photo { min-height: 0; height: 220px; }
	.pkg-intro__text, .pkg-included > div:last-child { padding: 22px; }
}
@media (max-width: 640px) {
	.pkg-grid { grid-template-columns: 1fr; gap: 18px; }
	.pkg { padding: 20px; }
	.pkg__price strong { font-size: 1.65rem; }
	.pkg__title { font-size: 1.1rem; }
	.pkg-included__list { columns: 1; }
	.pkg-included__products { gap: 12px; }
	.pkg-notes { font-size: 0.85rem; }
	.pkg-intro__photo, .pkg-included__photo { height: 180px; }
}

/* ---------- 26. Commercial systems and delivery (1.2.8) ----------
   System diagram and parts list, an example configuration, the typical programme, the safety and handover panels. */
.com-system {
	display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; align-items: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
	padding: 28px; margin-bottom: 24px;
}
.com-system__draw { margin: 0; }
.com-system__draw svg { display: block; width: 100%; height: auto; }
.com-system__draw figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.com-system__text h3 { margin-bottom: 0.6em; }
.com-parts { list-style: none; margin: 0; padding: 0; }
.com-parts li { margin-bottom: 14px; color: var(--muted); }
.com-parts strong { display: block; color: var(--green); }

.com-example { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 28px; }
.com-example__head { margin: 0 0 14px; }
.com-example__head strong { color: var(--green); }
.com-example__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.com-example__item { background: var(--green-soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.com-example__item strong { display: block; font-size: 1.2rem; color: var(--green); line-height: 1.25; }
.com-example__item span { color: var(--muted); font-size: 0.92rem; }
.com-example__note { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }

.com-programme { margin-top: 32px; }
.com-programme h3, .com-safe h3, .com-checks h3, .com-needs h3 { margin-bottom: 0.6em; }
.com-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.com-timeline li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--muted); }
.com-timeline strong { display: block; color: var(--green); margin-bottom: 6px; }
.com-timeline__when { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-dark); font-weight: 700; margin-bottom: 4px; }
.com-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }

.com-safe { margin-top: 36px; }
.com-safe__head p { max-width: 760px; color: var(--muted); }
.com-safe .why { margin-top: 18px; }
.why__item h4 { margin: 0 0 0.3em; }

.com-checks, .com-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }

@media (max-width: 960px) {
	.com-system { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
	.com-timeline { grid-template-columns: 1fr; }
	.com-checks, .com-needs { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
	.com-example__items { grid-template-columns: 1fr; }
	.com-example { padding: 18px; }
}

/* Banner photo: show the lower part of a tall photo (panels and horizon) (1.2.8) */
.page-hero--focus-low .page-hero__pic { object-position: center 58%; }

/* "How to choose" panel: the photo is upright (3:4), so its frame is upright too and the whole picture shows, centred (1.2.8) */
.pkg-intro { grid-template-columns: clamp(240px, 30vw, 360px) minmax(0, 1fr); gap: 28px; }
.pkg-intro__photo { position: relative; height: auto; min-height: 0; aspect-ratio: 3 / 4; }
.pkg-intro__photo img { position: absolute; inset: 0; object-position: center; }
@media (max-width: 699px) {
	.pkg-intro { grid-template-columns: 1fr; gap: 0; }
	.pkg-intro__photo { width: min(100%, 300px); margin: 22px auto 0; border-radius: 10px; overflow: hidden; }
	.pkg-intro__text { padding: 22px; }
}

/* Home page "What we install" cards: the three photos are upright, so the picture area is upright too (1.2.8) */
.card__photo--portrait { aspect-ratio: 4 / 5; object-position: center; }
.com-sizes-title { margin: 8px 0 14px; }

/* ---------- 27. Photo frames that suit the picture (1.2.8) ---------- */
/* Most photos in the library are upright phone photos (3:4). A wide frame cuts them to a strip, so frames are square or upright
   unless a photo is wide. The theme marks each photo with data-shape (portrait, square or landscape). */

/* Page banner picture beside the title */
.page-hero__photo--portrait { aspect-ratio: 1 / 1; }
.page-hero--compact.page-hero--framed .page-hero__photo--portrait { aspect-ratio: 5 / 4; }
.page-hero__photo--portrait .page-hero__pic { object-position: center 55%; }
@media (max-width: 860px) {
	.page-hero__photo, .page-hero--compact.page-hero--framed .page-hero__photo { aspect-ratio: 4 / 3; max-height: none; }
	.page-hero__photo--portrait, .page-hero--compact.page-hero--framed .page-hero__photo--portrait { aspect-ratio: 1 / 1; width: min(100%, 320px); margin-inline: auto; }
}

/* Cards: square suits a mix of upright and wide photos (each loses at most a quarter). Row cards on the Products page stack below 1100px. */
.card__photo { aspect-ratio: 1 / 1; }
.card__photo.card__photo--portrait { aspect-ratio: 4 / 5; }
@media (max-width: 1100px) {
	.card--row { flex-direction: column; }
	.card--row .card__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; min-height: 0; flex: none; }
}

/* News and guide cards */
.news-card__media { aspect-ratio: 1 / 1; }

/* About page team photo: upright, shown nearly whole */
.split__media img[data-shape="portrait"] { aspect-ratio: 4 / 5; max-width: 440px; display: block; margin-inline: auto; }

/* "What every package includes" photo: upright, shown whole on tablets and phones */
@media (max-width: 960px) {
	.pkg-included__photo { height: auto; min-height: 0; aspect-ratio: 3 / 4; width: min(100%, 300px); margin: 22px auto 0; border-radius: 10px; overflow: hidden; }
}

/* Products page, side-by-side cards: a wide photo gets a wider picture column so less of it is cut */
@media (min-width: 1101px) {
	.card--row .card__photo[data-shape="landscape"] { width: 55%; flex-basis: 55%; }
}
