/* ==========================================================================
   Edmirus Energy – main stylesheet
   1. Tokens  2. Base  3. Layout  4. Components  5. Header  6. Home sections
   7. Inner pages  8. Footer  9. Cursor  10. Utilities & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--navy-950: #0b1a2d;
	--navy-900: #0d1e33;
	--navy-800: #132a47;
	--navy: #1b3558;
	--navy-600: #243f68;
	--navy-500: #2e5280;
	--green: #2a6140;
	--green-600: #23553a;
	--green-400: #3a8057;
	--green-300: #5fa77a;
	--green-50: #eaf3ee;
	--silver: #7a8895;
	--silver-300: #a8b5bf;
	--line: #d8e0e5;
	--tint: #f4f6f8;
	--white: #fff;
	--text: #18243a;
	--muted: #506070;

	--font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-h3: clamp(1.35rem, 1.1rem + 0.7vw, 1.65rem);
	--fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
	--fs-h1: clamp(2.6rem, 1.6rem + 4.2vw, 5.25rem);

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 2px 8px rgba(13, 30, 51, 0.06);
	--shadow: 0 18px 40px -18px rgba(13, 30, 51, 0.28);
	--shadow-lg: 0 30px 60px -24px rgba(13, 30, 51, 0.4);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(72px, 9vw, 128px);
	--header-h: 132px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.no-scroll {
	overflow: hidden;
}

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

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.1em;
}

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

a:hover {
	color: var(--green-600);
}

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

ul,
ol {
	padding-left: 1.2em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--navy-900);
	color: var(--white);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 16px;
}

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

.container--narrow {
	max-width: calc(820px + var(--gutter) * 2);
}

.section {
	padding-block: var(--section);
}

.section--tint {
	background: var(--tint);
}

.section--dark {
	background: var(--navy-900);
	color: var(--silver-300);
}

.section--dark h2,
.section--dark h3 {
	color: var(--white);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-title {
	font-size: var(--fs-h2);
}

.section-intro {
	color: var(--muted);
	font-size: var(--fs-lg);
}

.section--dark .section-intro {
	color: var(--silver-300);
}

.section-split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-split .section-head {
	margin-bottom: 0;
}

.section-split__aside {
	max-width: 420px;
	margin: 0;
	color: var(--muted);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--green);
	font-family: var(--font-head);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}

.eyebrow--light,
.section--dark .eyebrow {
	color: var(--green-300);
}

.section-head--center .eyebrow {
	justify-content: center;
}

/* 4. Components ------------------------------------------------------------ */
.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.btn {
	--btn-bg: var(--green);
	--btn-fg: var(--white);
	--btn-bd: var(--green);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	overflow: hidden;
	border: 1.5px solid var(--btn-bd);
	border-radius: var(--radius-sm);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	isolation: isolate;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--navy-900);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease);
}

.btn:hover {
	color: var(--white);
	border-color: var(--navy-900);
}

.btn:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.btn .icon {
	transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
	transform: translateX(4px);
}

.btn--outline {
	--btn-bg: transparent;
	--btn-fg: var(--navy-900);
	--btn-bd: var(--navy-900);
}

.btn--light {
	--btn-bg: transparent;
	--btn-fg: var(--white);
	--btn-bd: rgba(255, 255, 255, 0.55);
}

.btn--light::before {
	background: var(--white);
}

.btn--light:hover {
	color: var(--navy-900);
	border-color: var(--white);
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.link-arrow .icon {
	color: var(--green);
	transition: transform 0.3s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(5px);
}

.checklist {
	display: grid;
	gap: 8px;
	margin: 0 0 1.4em;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.checklist .icon {
	margin-top: 0.2em;
	color: var(--green);
}

.checklist--sm {
	font-size: var(--fs-sm);
}

.socials {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.socials a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: inherit;
	transition: background 0.3s, color 0.3s;
}

.socials .icon {
	width: 16px;
	height: 16px;
}

.socials a:hover {
	background: var(--green);
	color: var(--white);
}

/* Sliders (scroll-snap) */
.slider {
	display: grid;
	grid-auto-columns: min(78vw, 380px);
	grid-auto-flow: column;
	gap: 24px;
	padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.slider::-webkit-scrollbar {
	display: none;
}

.slider > * {
	scroll-snap-align: start;
}

.slider--contained {
	grid-auto-columns: min(86vw, 520px);
	padding-inline: 0;
	scroll-padding-inline: 0;
	overflow-y: visible;
}

.slider-nav {
	display: flex;
	gap: 10px;
}

.slider-nav__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: transparent;
	color: var(--white);
	cursor: pointer;
	transition: background 0.3s, border-color 0.3s;
}

.slider-nav__btn:hover {
	background: var(--green);
	border-color: var(--green);
}

.slider-nav__btn--dark {
	border-color: var(--line);
	color: var(--navy-900);
}

.slider-nav__btn--dark:hover {
	color: var(--white);
}

/* Forms */
.form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.form__field {
	display: grid;
	gap: 6px;
}

.form__field--wide {
	grid-column: 1 / -1;
}

.form label {
	color: var(--navy-900);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--text);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form textarea {
	min-height: 130px;
	resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	border-color: var(--green-400);
	box-shadow: 0 0 0 4px rgba(58, 128, 87, 0.15);
	outline: none;
}

.form.was-validated :invalid {
	border-color: #c0392b;
}

.form__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--muted);
	font-weight: 400;
}

.form__consent input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--green);
}

.form__hp {
	position: absolute;
	left: -9999px;
}

.form__notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-weight: 500;
}

.form__notice--success {
	background: var(--green-50);
	color: var(--green-600);
}

.form__notice--error {
	background: #fdecea;
	color: #a1281b;
}

/* Accordion */
.accordion {
	display: grid;
	gap: 12px;
}

.accordion__item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: box-shadow 0.3s;
}

.accordion__item[open] {
	box-shadow: var(--shadow);
	border-color: transparent;
}

.accordion__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.accordion__item summary::-webkit-details-marker {
	display: none;
}

.accordion__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--green);
	transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}

.accordion__item[open] .accordion__icon {
	background: var(--green);
	color: var(--white);
	transform: rotate(45deg);
}

.accordion__item p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--muted);
}

/* 5. Header ---------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	transition: box-shadow 0.3s;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header.is-scrolled {
	box-shadow: 0 10px 30px -12px rgba(13, 30, 51, 0.25);
}

.topbar {
	background: var(--navy-900);
	color: var(--silver-300);
	font-size: var(--fs-xs);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
}

.topbar__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar__contact li,
.topbar__contact a,
.topbar__hours {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.topbar__contact a:hover {
	color: var(--white);
}

.topbar .icon {
	width: 15px;
	height: 15px;
	color: var(--green-300);
}

.topbar__meta {
	display: flex;
	align-items: center;
	gap: 18px;
}

.socials--topbar a {
	width: 28px;
	height: 28px;
}

.navbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 90px;
	transition: min-height 0.35s var(--ease);
}

.is-scrolled .navbar__inner {
	min-height: 74px;
}

.brand,
.custom-logo-link {
	display: block;
	flex: none;
}

.brand img,
.custom-logo {
	width: auto;
	height: 70px;
	transition: height 0.35s var(--ease);
}

.is-scrolled .brand img,
.is-scrolled .custom-logo {
	height: 58px;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav .menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .menu > li {
	position: relative;
}

.primary-nav .menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 14px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-nav .menu > li > a {
	position: relative;
}

.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 6px;
	left: 14px;
	height: 2px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--ease);
}

.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.primary-nav .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 270px;
	margin: 0;
	padding: 10px;
	border-top: 3px solid var(--green);
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-lg);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-nav .sub-menu a {
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-size: 1.0625rem;
	text-transform: none;
}

.primary-nav .sub-menu a:hover {
	background: var(--tint);
	color: var(--green);
}

.navbar__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.navbar__call {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.navbar__call-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green);
}

.navbar__call-text {
	display: grid;
	line-height: 1.15;
}

.navbar__call small {
	color: var(--muted);
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: 500;
}

.nav-toggle,
.nav-close {
	display: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--navy-900);
	cursor: pointer;
}

/* Mobile panel */
.mobile-panel {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.mobile-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 26, 45, 0.6);
	opacity: 0;
	transition: opacity 0.3s;
}

.mobile-panel__sheet {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: min(420px, 100%);
	padding: 20px 24px 32px;
	overflow-y: auto;
	background: var(--white);
	transform: translateX(100%);
	transition: transform 0.35s var(--ease);
}

.mobile-panel.is-open .mobile-panel__backdrop {
	opacity: 1;
}

.mobile-panel.is-open .mobile-panel__sheet {
	transform: none;
}

.mobile-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-panel__head .brand img {
	height: 56px;
}

.mobile-panel .nav-close {
	display: grid;
}

.mobile-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 600;
	text-decoration: none;
}

.mobile-menu .sub-menu {
	margin: 0;
	padding: 0 0 0 16px;
	list-style: none;
}

.mobile-menu .sub-menu a {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--muted);
}

.mobile-panel__contact {
	display: grid;
	gap: 14px;
	margin-top: auto;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--tint);
}

.mobile-panel__contact a,
.mobile-panel__contact p {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	color: var(--navy-900);
	text-decoration: none;
}

.mobile-panel__contact .icon {
	color: var(--green);
}

.mobile-panel__contact .btn {
	justify-content: center;
	color: var(--white);
}

/* 6. Home sections --------------------------------------------------------- */

/* Hero */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(860px, calc(100svh - var(--header-h)));
	overflow: hidden;
	background: var(--navy-950);
	color: var(--white);
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 18s var(--ease) both;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 26, 45, 0.92) 0%, rgba(11, 26, 45, 0.7) 45%, rgba(11, 26, 45, 0.2) 100%),
		linear-gradient(0deg, rgba(11, 26, 45, 0.85) 0%, transparent 40%);
}

@keyframes hero-zoom {
	from {
		transform: scale(1.12);
	}
	to {
		transform: scale(1);
	}
}

.hero__inner {
	padding-block: clamp(80px, 12vw, 150px) 48px;
}

.hero__content {
	max-width: 780px;
}

.hero__title {
	margin-bottom: 24px;
	color: var(--white);
	font-size: var(--fs-h1);
	line-height: 1;
	text-transform: uppercase;
}

.hero__text {
	max-width: 600px;
	margin-bottom: 36px;
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--fs-lg);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero__rail {
	padding-bottom: 0;
}

.hero-rail {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	list-style: none;
}

.hero-rail li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-rail a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 26px 24px;
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.35s;
}

.hero-rail a::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--green-400);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--ease);
}

.hero-rail a:hover {
	background: rgba(255, 255, 255, 0.06);
}

.hero-rail a:hover::before {
	transform: scaleX(1);
}

.hero-rail__num {
	color: var(--green-300);
	font-size: 0.95rem;
}

.hero-rail .icon {
	margin-left: auto;
	transition: transform 0.3s var(--ease);
}

.hero-rail a:hover .icon {
	transform: translateX(5px);
}

/* Services */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.service-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: transparent;
	box-shadow: var(--shadow-lg);
}

.service-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card__media img {
	transform: scale(1.07);
}

.service-card__icon {
	position: absolute;
	top: -32px;
	left: 28px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 4px solid var(--white);
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	transition: background 0.3s;
}

.service-card__icon .icon {
	width: 26px;
	height: 26px;
}

.service-card:hover .service-card__icon {
	background: var(--navy-900);
}

.service-card__body {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 48px 28px 30px;
}

.service-card__num {
	position: absolute;
	top: 18px;
	right: 26px;
	color: var(--line);
	font-family: var(--font-head);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}

.service-card__title {
	font-size: 1.75rem;
}

.service-card__title a {
	color: inherit;
	text-decoration: none;
}

.service-card__body > p {
	color: var(--muted);
}

.service-card .link-arrow {
	margin-top: auto;
}

/* About */
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.about__media {
	position: relative;
	padding: 0 12% 18% 0;
}

.about__media--single {
	padding: 0;
}

.about__img {
	border-radius: var(--radius-lg);
	object-fit: cover;
}

.about__img--main {
	width: 100%;
	aspect-ratio: 4 / 4.4;
}

.about__media--single .about__img--main {
	aspect-ratio: 4 / 3.4;
}

.about__img--inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 52%;
	aspect-ratio: 4 / 3;
	border: 8px solid var(--tint);
	box-shadow: var(--shadow);
}

.about__badge {
	position: absolute;
	top: 32px;
	left: -20px;
	display: grid;
	gap: 2px;
	max-width: 190px;
	padding: 20px 22px;
	border-radius: var(--radius);
	background: var(--green);
	color: var(--white);
	box-shadow: var(--shadow);
}

.about__badge strong {
	font-family: var(--font-head);
	font-size: 2.5rem;
	line-height: 1;
}

.about__badge span {
	font-size: var(--fs-sm);
	line-height: 1.35;
}

.about__content > p {
	color: var(--muted);
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 32px 0 36px;
}

.feature {
	display: flex;
	gap: 16px;
}

.feature__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--green);
	box-shadow: var(--shadow-sm);
	transition: background 0.3s, color 0.3s;
}

.feature:hover .feature__icon {
	background: var(--green);
	color: var(--white);
}

.feature__title {
	margin-bottom: 4px;
	font-size: 1.25rem;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* Stats */
.stats {
	position: relative;
	padding-block: clamp(64px, 8vw, 104px);
	overflow: hidden;
	background: var(--navy-900);
	color: var(--white);
	isolation: isolate;
}

.stats__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}

.stats__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(13, 30, 51, 0.95), rgba(27, 53, 88, 0.85));
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
}

.stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	padding: 8px 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stat:first-child {
	border-left: 0;
	padding-left: 0;
}

.stat__value {
	display: flex;
	align-items: baseline;
	margin: 0;
	color: var(--white);
	font-family: var(--font-head);
	font-size: clamp(3rem, 2rem + 3.4vw, 5rem);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.stat__suffix {
	color: var(--green-300);
}

.stat__label {
	color: var(--silver-300);
	font-size: var(--fs-sm);
	letter-spacing: 0.04em;
}

/* Process */
.process__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.process__steps::before {
	content: "";
	position: absolute;
	top: 32px;
	right: 12%;
	left: 12%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}

.process-step {
	position: relative;
	padding: 0 8px;
	text-align: center;
}

.process-step__num {
	position: relative;
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin: 0 auto 22px;
	border: 2px solid var(--green);
	border-radius: 50%;
	background: var(--white);
	color: var(--green);
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	transition: background 0.3s, color 0.3s;
}

.process-step:hover .process-step__num {
	background: var(--green);
	color: var(--white);
}

.process-step__layer {
	margin-bottom: 4px;
	color: var(--green);
	font-family: var(--font-head);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.process-step__title {
	font-size: var(--fs-h3);
}

.process-step p:last-child {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.process__motto {
	margin: 48px 0 0;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
	font-weight: 600;
	text-align: center;
}

/* Projects */
.projects .section-title {
	color: var(--white);
}

.project-card a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 5;
	color: var(--white);
	text-decoration: none;
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.project-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(11, 26, 45, 0.95) 0%, rgba(11, 26, 45, 0.25) 55%, transparent 100%);
	transition: background 0.4s;
}

.project-card a:hover img {
	transform: scale(1.08);
}

.project-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 28px;
}

.project-card__meta {
	display: flex;
	gap: 12px;
	margin-bottom: 8px;
	color: var(--green-300);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.project-card__title {
	margin-bottom: 6px;
	color: var(--white);
	font-size: 1.6rem;
}

.project-card__scope {
	max-height: 0;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.75);
	font-size: var(--fs-sm);
	opacity: 0;
	transition: max-height 0.45s var(--ease), opacity 0.35s;
}

.project-card a:hover .project-card__scope,
.project-card a:focus-visible .project-card__scope {
	max-height: 60px;
	opacity: 1;
}

.projects__more {
	margin-top: 24px;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.project-grid .project-card__scope {
	max-height: none;
	opacity: 1;
}

/* Testimonials */
.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 36px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
}

.testimonial__mark {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--green-50);
	color: var(--green);
}

.testimonial blockquote {
	flex: 1;
	margin: 0 0 28px;
	color: var(--navy-900);
	font-size: 1.1875rem;
	line-height: 1.6;
}

.testimonial figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.testimonial figcaption strong {
	display: block;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.25rem;
}

.testimonial figcaption small {
	color: var(--muted);
}

.testimonial__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
}

/* FAQ */
.faq__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.faq__media {
	position: relative;
}

.faq__media img {
	width: 100%;
	aspect-ratio: 4 / 4.6;
	border-radius: var(--radius-lg);
	object-fit: cover;
}

.faq__card {
	position: absolute;
	right: -24px;
	bottom: 40px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 26px;
	border-radius: var(--radius);
	background: var(--navy-900);
	color: var(--white);
	box-shadow: var(--shadow-lg);
}

.faq__card > .icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 50%;
	background: var(--green);
}

.faq__card small {
	display: block;
	color: var(--silver-300);
}

.faq__card a {
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 700;
	text-decoration: none;
}

/* Clients marquee */
.clients {
	padding-block: 56px;
	border-bottom: 1px solid var(--line);
}

.clients__label {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}

.marquee {
	display: flex;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
	display: flex;
	flex: none;
	gap: 72px;
	align-items: center;
	margin: 0;
	padding: 0 36px;
	list-style: none;
	animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

@keyframes marquee {
	to {
		transform: translateX(-100%);
	}
}

.client-logo img {
	width: auto;
	max-height: 48px;
	filter: grayscale(1);
	opacity: 0.65;
	transition: filter 0.3s, opacity 0.3s;
}

.client-logo:hover img {
	filter: none;
	opacity: 1;
}

.client-logo__wordmark {
	color: var(--silver);
	font-family: var(--font-head);
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.3s;
}

.client-logo:hover .client-logo__wordmark {
	color: var(--navy);
}

/* News */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
}

.post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--tint);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.06);
}

.post-card__cat {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: 100px;
	background: var(--green);
	color: var(--white);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px;
}

.post-card__date {
	margin-bottom: 8px;
	color: var(--silver);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-card__title {
	font-size: 1.5rem;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--green);
}

.post-card__excerpt {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.post-card .link-arrow {
	margin-top: auto;
}

/* Quote */
.quote {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
	background: var(--navy-900);
	color: var(--silver-300);
	isolation: isolate;
}

.quote__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
}

.quote__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 26, 45, 0.96) 0%, rgba(11, 26, 45, 0.88) 55%, rgba(11, 26, 45, 0.7) 100%);
}

.quote__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.quote__title {
	color: var(--white);
	font-size: var(--fs-h2);
}

.quote__text {
	font-size: var(--fs-lg);
}

.quote__points {
	display: grid;
	gap: 10px;
	margin: 28px 0 36px;
	padding: 0;
	list-style: none;
}

.quote__points li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--white);
}

.quote__points .icon {
	color: var(--green-300);
}

.quote__contact {
	display: grid;
	gap: 18px;
}

.quote__contact a {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 600;
	text-decoration: none;
	word-break: break-word;
}

.quote__contact small {
	display: block;
	color: var(--silver-300);
	font-family: var(--font-body);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.quote__contact-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--green-300);
	transition: background 0.3s, color 0.3s;
}

.quote__contact a:hover .quote__contact-icon {
	background: var(--green);
	color: var(--white);
}

.quote__form {
	padding: clamp(24px, 4vw, 48px);
	border-top: 4px solid var(--green);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-lg);
}

.quote__form-title {
	margin-bottom: 24px;
	font-size: 1.875rem;
}

/* 7. Inner pages ----------------------------------------------------------- */
.page-banner {
	position: relative;
	padding-block: clamp(80px, 11vw, 150px) clamp(56px, 7vw, 96px);
	overflow: hidden;
	background: var(--navy-900);
	color: var(--white);
	isolation: isolate;
}

.page-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
	animation: hero-zoom 14s var(--ease) both;
}

.page-banner__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 26, 45, 0.94) 0%, rgba(11, 26, 45, 0.6) 100%);
}

.page-banner__title {
	max-width: 900px;
	color: var(--white);
	font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem);
	text-transform: uppercase;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--silver-300);
	font-size: var(--fs-sm);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--green-300);
}

.breadcrumbs a {
	color: var(--white);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--green-300);
}

.entry-content {
	font-size: var(--fs-lg);
}

.entry-content h2 {
	margin-top: 1.6em;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
}

.entry-content h3 {
	margin-top: 1.4em;
	font-size: var(--fs-h3);
}

.entry-content ul {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.entry-content ul li {
	position: relative;
	padding-left: 28px;
}

.entry-content ul li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 4px;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--green);
	transform: rotate(45deg);
}

.entry-content ul.is-style-columns {
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 32px;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-meta {
	color: var(--silver);
	font-weight: 600;
}

.entry-hero img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.entry-hero {
	margin: 0 0 32px;
}

.lead-tagline {
	color: var(--green);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 600;
}

.lead {
	color: var(--navy-900);
	font-size: 1.375rem;
	line-height: 1.5;
}

.feature-pills {
	grid-template-columns: repeat(2, 1fr);
	margin: 28px 0 8px;
}

.entry-content .feature-pills li {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 14px 18px;
	border-radius: var(--radius);
	background: var(--tint);
	color: var(--navy-900);
	font-size: var(--fs-base);
	font-weight: 600;
}

.entry-content .feature-pills li::before {
	display: none;
}

.feature-pills .icon {
	color: var(--green);
}

.layout-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: clamp(40px, 5vw, 72px);
}

.sidebar {
	position: sticky;
	top: 130px;
	display: grid;
	gap: 24px;
}

.sidebar__box {
	margin: 0;
	padding: 30px;
	border-radius: var(--radius-lg);
	background: var(--tint);
}

.sidebar__box--dark {
	background: var(--navy-900);
	color: var(--silver-300);
}

.sidebar__box--dark .sidebar__title {
	color: var(--white);
}

.sidebar__title {
	font-size: 1.5rem;
}

.sidebar__links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--navy-900);
	font-weight: 600;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}

.sidebar__links a:hover,
.sidebar__links .is-current a {
	background: var(--green);
	color: var(--white);
}

.sidebar__phone {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 20px;
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.sidebar__download {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border: 1.5px dashed var(--green);
	border-radius: var(--radius);
	color: var(--green);
	font-weight: 600;
	text-decoration: none;
}

.facts div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.facts div:last-child {
	border-bottom: 0;
}

.facts dt {
	color: var(--muted);
}

.facts dd {
	margin: 0;
	color: var(--navy-900);
	font-weight: 600;
	text-align: right;
}

.standards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.standard {
	padding: 28px;
	border-left: 3px solid var(--green);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.standard strong {
	display: block;
	margin-bottom: 4px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.5rem;
}

.standard span {
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* About page */
.vm-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.vm-card {
	padding: clamp(32px, 4vw, 52px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.vm-card--dark {
	background: var(--navy-900);
	color: var(--silver-300);
}

.vm-card--dark h2 {
	color: var(--white);
}

.vm-card h2 {
	font-size: 2rem;
}

.vm-card p {
	margin: 0;
	font-size: var(--fs-lg);
}

.vm-card__icon,
.value-card__icon,
.contact-card__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 22px;
	border-radius: var(--radius);
	background: var(--green);
	color: var(--white);
}

.purpose {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.purpose__quote {
	margin: 24px 0 0;
	padding: 20px 24px;
	border-left: 3px solid var(--green);
	background: var(--tint);
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 500;
}

.mandate {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mandate li {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--navy-900);
	font-weight: 500;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.mandate li:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
}

.mandate span {
	color: var(--green);
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
}

.values__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}

.value-card {
	grid-column: span 2;
	padding: 32px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.03);
	transition: background 0.35s, transform 0.45s var(--ease);
}

.value-card:nth-child(4) {
	grid-column: 2 / span 2;
}

.value-card:hover {
	background: rgba(255, 255, 255, 0.07);
	transform: translateY(-6px);
}

.value-card h3 {
	font-size: 1.5rem;
}

.value-card p {
	margin: 0;
	font-size: var(--fs-sm);
}

.leadership {
	text-align: center;
}

.leadership .eyebrow {
	justify-content: center;
}

.leadership__quote {
	margin: 0 0 20px;
	color: var(--navy-900);
	font-family: var(--font-head);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 500;
	line-height: 1.35;
}

/* Contact page */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0 0 clamp(48px, 6vw, 80px);
	padding: 0;
	list-style: none;
}

.contact-card {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: box-shadow 0.35s, border-color 0.35s;
}

.contact-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow);
}

.contact-card__title {
	font-size: 1.375rem;
}

.contact-card p,
.contact-card a {
	margin: 0;
	color: var(--muted);
	text-decoration: none;
	word-break: break-word;
}

.contact-card a:hover {
	color: var(--green);
}

.contact-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(40px, 5vw, 72px);
}

.contact-layout__map iframe {
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
	border-radius: var(--radius-lg);
	filter: grayscale(0.4);
}

.empty-state {
	text-align: center;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-weight: 600;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--navy-900);
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--green);
	border-color: var(--green);
	color: var(--white);
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 24px auto;
}

.search-form .search-field {
	flex: 1;
	min-height: 50px;
	padding: 0 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
}

.search-form .search-submit {
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--green);
	color: var(--white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
	background: var(--navy-950);
	color: var(--silver-300);
	font-size: var(--fs-sm);
}

.site-footer__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: 64px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__cta .eyebrow {
	margin-bottom: 8px;
}

.site-footer__cta-title {
	margin: 0;
	color: var(--white);
	font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
}

.site-footer__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 48px;
	padding-block: 72px;
}

.footer-wordmark {
	display: inline-block;
	margin-bottom: 18px;
	color: var(--white);
	font-family: var(--font-head);
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
}

.footer-wordmark span {
	display: block;
	margin-top: 4px;
	color: var(--green-300);
	font-size: 0.95rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.footer-wordmark:hover {
	color: var(--white);
}

.site-footer__brand p {
	max-width: 340px;
}

.socials--footer a {
	border: 1px solid rgba(255, 255, 255, 0.15);
	width: 40px;
	height: 40px;
}

.site-footer__title {
	position: relative;
	margin-bottom: 24px;
	padding-bottom: 14px;
	color: var(--white);
	font-size: 1.375rem;
}

.site-footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 2px;
	background: var(--green-400);
}

.site-footer__links,
.site-footer__contact {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: var(--silver-300);
	text-decoration: none;
	transition: color 0.25s;
}

.site-footer a:hover {
	color: var(--white);
}

.site-footer__links a {
	display: inline-flex;
	transition: color 0.25s, transform 0.3s var(--ease);
}

.site-footer__links a:hover {
	transform: translateX(4px);
}

.site-footer__contact li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.site-footer__contact .icon {
	margin-top: 2px;
	color: var(--green-300);
}

.site-footer__contact a {
	word-break: break-word;
}

.site-footer__download {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-top: 20px;
	color: var(--green-300) !important;
	font-weight: 600;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 22px;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s, background 0.3s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--navy-900);
	color: var(--white);
}

/* 9. Custom cursor (fine pointers only; JS adds .has-cursor) -------------- */
.cursor {
	display: none;
}

.has-cursor .cursor {
	display: block;
}

.cursor__ring,
.cursor__dot {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	will-change: transform;
}

.cursor.is-active .cursor__ring,
.cursor.is-active .cursor__dot {
	opacity: 1;
}

.cursor__ring {
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 1.5px solid var(--green-400);
	transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s, border-color 0.3s, opacity 0.3s;
}

.cursor__dot {
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	background: var(--green);
	transition: width 0.2s, height 0.2s, margin 0.2s, opacity 0.2s, background 0.3s;
}

.cursor.is-hover .cursor__ring {
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-color: transparent;
	background: rgba(58, 128, 87, 0.18);
}

.cursor.is-hover .cursor__dot {
	width: 4px;
	height: 4px;
	margin: -2px 0 0 -2px;
}

.cursor.is-dark-bg .cursor__ring {
	border-color: rgba(255, 255, 255, 0.7);
}

.cursor.is-dark-bg .cursor__dot {
	background: var(--white);
}

.cursor.is-dark-bg.is-hover .cursor__ring {
	background: rgba(255, 255, 255, 0.15);
}

.cursor.is-down .cursor__ring {
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
}

.cursor.is-text .cursor__ring,
.cursor.is-text .cursor__dot {
	opacity: 0;
}

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1280px) {
	.navbar__call-text {
		display: none;
	}
}

@media (max-width: 1099px) {
	.primary-nav,
	.navbar__call {
		display: none;
	}

	.nav-toggle {
		display: grid;
	}

	.navbar__actions {
		margin-left: auto;
		gap: 12px;
	}

	.topbar__address,
	.topbar__hours {
		display: none !important;
	}

	.service-grid,
	.card-grid,
	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 0;
	}

	.stat:nth-child(3) {
		border-left: 0;
		padding-left: 0;
	}

	.process__steps {
		grid-template-columns: repeat(2, 1fr);
		gap: 48px 24px;
	}

	.process__steps::before {
		display: none;
	}

	.layout-sidebar {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.contact-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.values__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.value-card,
	.value-card:nth-child(4) {
		grid-column: auto;
	}

	.value-card:last-child {
		grid-column: 1 / -1;
	}

	.stats__bg {
		background-attachment: scroll;
	}
}

@media (max-width: 860px) {
	:root {
		--header-h: 112px;
	}

	.about__grid,
	.faq__grid,
	.quote__grid,
	.purpose,
	.vm-grid,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.about__media {
		max-width: 560px;
	}

	.about__badge {
		left: 12px;
	}

	.faq__card {
		right: 12px;
	}

	.hero-rail {
		grid-template-columns: 1fr;
	}

	.hero-rail li + li {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
	}

	.hero-rail a {
		padding: 18px 0;
	}

	.standards__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.navbar__inner {
		min-height: 76px;
	}

	.brand img,
	.custom-logo {
		height: 58px;
	}
}

@media (max-width: 640px) {
	.topbar__inner {
		justify-content: center;
	}

	.topbar__meta {
		display: none;
	}

	.topbar__contact {
		justify-content: center;
		gap: 4px 18px;
	}

	.navbar__actions .btn {
		display: none;
	}

	.service-grid,
	.card-grid,
	.project-grid,
	.feature-grid,
	.standards__grid,
	.contact-cards,
	.values__grid,
	.site-footer__grid,
	.form__grid,
	.process__steps {
		grid-template-columns: 1fr;
	}

	.feature-pills,
	.entry-content ul.is-style-columns {
		grid-template-columns: 1fr;
	}

	.stats__grid {
		grid-template-columns: 1fr 1fr;
	}

	.stat {
		padding: 0 0 0 16px;
	}

	.stat:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.hero__actions .btn {
		flex: 1 1 100%;
	}

	.site-footer__cta-actions .btn {
		flex: 1 1 100%;
	}

	.slider-nav__btn {
		width: 44px;
		height: 44px;
	}

	.testimonial {
		padding: 26px;
	}

	.to-top {
		right: 16px;
		bottom: 16px;
	}
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.marquee__track {
		animation: none;
	}

	.marquee {
		flex-wrap: wrap;
		justify-content: center;
		mask-image: none;
	}

	.marquee__track[aria-hidden="true"] {
		display: none;
	}

	[data-aos] {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Without JS, never hide AOS content. */
html:not(.js) [data-aos] {
	opacity: 1 !important;
	transform: none !important;
}
