/* ==========================================================================
   Inquina Oilfield Engineering – design system
   Deep navy authority · charcoal and steel · clean light surfaces · restrained gold
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy-950: #06111f;
	--navy-900: #0b1f3a;
	--navy-800: #10294b;
	--navy-700: #16345e;
	--ink: #12171f;
	--steel-700: #333c49;
	--steel-600: #4b5666;
	--steel-400: #8a94a3;
	--steel-200: #cdd3db;
	--line: #dde2e8;
	--paper: #f3f4f6;
	--paper-2: #e9ecf0;
	--white: #fff;
	--gold: #c9973f;
	--gold-soft: #e2c38a;
	--gold-ink: #85601b; /* gold for small text on light backgrounds (AA) */
	--signal: #c8102e;
	--ok: #1a7f37;
	--error: #b42318;

	--font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.875rem);
	--step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	--step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.375rem);
	--step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
	--step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
	--step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.75rem);
	--step-5: clamp(2.7rem, 1.9rem + 4vw, 5.6rem);

	--gutter: clamp(16px, 4vw, 40px);
	--container: 1320px;
	--section: clamp(64px, 9vw, 136px);
	--radius: 2px;
	--header-h: 84px;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--shadow: 0 24px 60px -30px rgba(6, 17, 31, 0.45);
}

/* ---------- Reset and base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-display);
	font-weight: 650;
	font-stretch: 88%;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: inherit;
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 1px;
}

::selection { background: var(--gold-soft); color: var(--navy-950); }

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

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--gold);
	color: var(--navy-950);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-main { display: block; outline: none; }

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

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

/* ---------- Typography helpers ---------- */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	color: var(--gold-ink);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 40px;
	height: 1px;
	background: currentColor;
	flex: none;
}
.eyebrow--light,
.section--dark .eyebrow,
.page-hero--image .eyebrow { color: var(--gold-soft); }

.display {
	font-size: var(--step-4);
	font-stretch: 82%;
	font-weight: 640;
	letter-spacing: -0.025em;
	max-width: 18ch;
}

.section-title {
	font-size: var(--step-3);
	max-width: 22ch;
}
.section-title--small { font-size: var(--step-2); }

.lead {
	font-size: var(--step-1);
	line-height: 1.55;
	color: var(--steel-700);
	max-width: 62ch;
}
.section--dark .lead { color: rgba(255, 255, 255, 0.78); }

.section-note {
	max-width: 46ch;
	color: var(--steel-600);
	font-size: var(--step--1);
	margin: 0;
}

.footnote {
	margin: 28px 0 0;
	color: var(--steel-600);
	font-size: var(--step--1);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	text-decoration: none;
	color: var(--navy-900);
	border-bottom: 1px solid var(--gold);
	padding-bottom: 4px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.section--dark .text-link { color: var(--white); }

.admin-note {
	padding: 12px 16px;
	background: #fff4d6;
	border-left: 3px solid var(--gold);
	color: #5c4300;
	font-size: var(--step--1);
}

/* ---------- Buttons ---------- */

.btn {
	--btn-bg: var(--gold);
	--btn-fg: var(--navy-950);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 14px 26px;
	border: 1px solid var(--btn-bg);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-weight: 650;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--navy-950);
	transform: translateY(101%);
	transition: transform 0.45s var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }
.btn:hover,
.btn:focus-visible { color: var(--white); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light::after { background: var(--white); }
.btn--ghost-light:hover,
.btn--ghost-light:focus-visible { color: var(--navy-950); border-color: var(--white); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); border-color: var(--navy-900); }
.btn--outline::after { background: var(--navy-900); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); border-color: var(--steel-200); }

.btn--small { min-height: 42px; padding: 10px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Header and navigation ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	color: var(--navy-900);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
	.site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px); }
}

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

.has-hero .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	backdrop-filter: none;
	border-bottom-color: rgba(255, 255, 255, 0.14);
	color: var(--white);
}
.has-hero .site-header.is-scrolled,
.has-hero .site-header.is-open {
	background: rgba(7, 18, 33, 0.94);
	border-bottom-color: transparent;
}
@supports (backdrop-filter: blur(10px)) {
	.has-hero .site-header.is-scrolled { background: rgba(7, 18, 33, 0.82); backdrop-filter: saturate(150%) blur(14px); }
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	padding: 8px 12px;
	background: var(--white);
	border-radius: var(--radius);
	line-height: 0;
}
.site-logo__img { width: 168px; height: auto; }

.primary-nav { margin-left: auto; }
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu-item--depth-0 { position: relative; display: flex; align-items: center; }
.menu-item--depth-0 > .menu-link {
	position: relative;
	display: block;
	padding: 10px 12px;
	font-size: 0.93rem;
	font-weight: 550;
	text-decoration: none;
	white-space: nowrap;
}
.menu-item--depth-0 > .menu-link::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}
.menu-item--depth-0.has-children > .menu-link { padding-right: 2px; }
.menu-item--depth-0.has-children > .menu-link::after { right: 2px; }
.menu-item--depth-0:hover > .menu-link::after,
.menu-item--depth-0.is-current > .menu-link::after,
.menu-item--depth-0 > .menu-link:focus-visible::after { transform: scaleX(1); }

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 36px;
	margin-left: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.primary-nav .submenu { margin: 0; padding: 0; list-style: none; }

/* Desktop dropdown / mega panel */
@media (min-width: 1101px) {
	.menu-item--depth-0 > .submenu {
		position: absolute;
		top: calc(100% + 18px);
		left: 50%;
		min-width: 280px;
		padding: 28px;
		background: var(--white);
		color: var(--ink);
		box-shadow: var(--shadow);
		border-top: 2px solid var(--gold);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 8px);
		transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	}
	.menu-item--depth-0 > .submenu::before {
		content: "";
		position: absolute;
		left: 0; right: 0;
		top: -22px;
		height: 22px;
	}
	.menu-item--depth-0.is-open > .submenu {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
	/* Mega panel when sub-items have children (e.g. Services › area › services) */
	.menu-item--depth-0 > .submenu:has(> .has-children) {
		display: grid;
		grid-template-columns: repeat(2, minmax(300px, 1fr));
		gap: 8px 40px;
		width: min(760px, 90vw);
		padding: 36px;
	}
	.menu-item--depth-1 > .menu-link {
		display: block;
		padding: 8px 0;
		font-weight: 600;
		text-decoration: none;
	}
	.has-children.menu-item--depth-1 > .menu-link {
		margin-bottom: 8px;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--line);
		font-family: var(--font-display);
		font-size: 1.15rem;
		font-stretch: 88%;
		color: var(--navy-900);
	}
	.menu-link__desc { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; color: var(--steel-600); font-stretch: 100%; }
	.menu-item--depth-2 > .menu-link {
		display: block;
		padding: 6px 0;
		color: var(--steel-700);
		font-size: 0.92rem;
		text-decoration: none;
		transition: color 0.2s, transform 0.3s var(--ease);
	}
	.menu-item--depth-1 > .menu-link:hover,
	.menu-item--depth-2 > .menu-link:hover { color: var(--gold-ink); }
	.menu-item--depth-2 > .menu-link:hover { transform: translateX(4px); }
	.primary-nav__mobile-extra { display: none; }
	.nav-toggle { display: none; }
}

.site-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: -10px; }
@media (min-width: 1101px) { .site-header__actions { margin-left: 8px; } }

.site-search {
	padding: 20px 0 28px;
	border-top: 1px solid rgba(127, 140, 160, 0.2);
}
.has-hero .site-search { color: var(--white); }

/* Mobile navigation */
@media (max-width: 1100px) {
	:root { --header-h: 72px; }
	/* backdrop-filter would make the fixed menu panel position relative to the header, so it is not used on small screens. */
	.site-header,
	.has-hero .site-header.is-scrolled { backdrop-filter: none !important; }
	.site-header { background: rgba(255, 255, 255, 0.98); }
	.has-hero .site-header.is-scrolled { background: rgba(7, 18, 33, 0.97); }
	.site-logo__img { width: 140px; }
	.site-header__cta { display: none; }
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 99;
		margin: 0;
		padding: 24px var(--gutter) 48px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--navy-950);
		color: var(--white);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu-item--depth-0 { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.menu-item--depth-0 > .menu-link { flex: 1; padding: 18px 0; font-family: var(--font-display); font-size: 1.5rem; font-stretch: 85%; }
	.menu-item--depth-0 > .menu-link::after { display: none; }
	.submenu-toggle { width: 48px; height: 48px; margin: 0; }
	.menu-item--depth-0 > .submenu { display: none; width: 100%; padding: 0 0 18px 0; }
	.menu-item--depth-0.is-open > .submenu { display: block; }
	.submenu .menu-link { display: block; padding: 10px 0; text-decoration: none; color: rgba(255, 255, 255, 0.86); }
	.menu-item--depth-1.has-children > .menu-link { color: var(--gold-soft); font-weight: 600; }
	.menu-link__desc { display: none; }
	.submenu--2 { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.15); margin-bottom: 8px; }
	.primary-nav__mobile-extra { display: grid; gap: 18px; margin-top: 32px; }
	.primary-nav__phone { display: inline-flex; gap: 10px; align-items: center; color: var(--white); text-decoration: none; }
	.primary-nav__phone .icon { width: 20px; color: var(--gold); }
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
	body.nav-open { overflow: hidden; }
	.site-header.is-open { color: var(--white); background: var(--navy-950); }
}

/* ---------- Search form ---------- */

.search-form {
	display: flex;
	align-items: stretch;
	max-width: 720px;
	border-bottom: 2px solid currentColor;
}
.search-form__input {
	flex: 1;
	min-width: 0;
	padding: 14px 0;
	border: 0;
	background: transparent;
	font-size: var(--step-1);
}
.search-form__input::placeholder { color: inherit; opacity: 0.6; }
.search-form__input:focus { outline: none; }
.search-form:focus-within { border-color: var(--gold); }
.search-form__submit { width: 52px; border: 0; background: none; color: inherit; cursor: pointer; }
.search-form__submit .icon { width: 24px; height: 24px; margin: auto; }
.search-again { margin-bottom: 40px; color: var(--navy-900); }

/* ---------- Home hero ---------- */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: max(640px, 100svh);
	max-height: 1100px;
	color: var(--white);
	background: var(--navy-950);
	overflow: hidden;
	isolation: isolate;
}
.hero__media,
.page-hero__media {
	position: absolute;
	inset: -6% 0 0 0;
	z-index: -2;
}
.hero__media img,
.hero__media video,
.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media img { animation: hero-zoom 18s var(--ease) both; }
.hero__video { position: absolute; inset: 0; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 17, 31, 0.92) 0%, rgba(6, 17, 31, 0.7) 38%, rgba(6, 17, 31, 0.15) 75%),
		linear-gradient(0deg, rgba(6, 17, 31, 0.85) 0%, rgba(6, 17, 31, 0) 40%);
}
.hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 120px 120px;
	mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero__inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero__eyebrow { animation: fade-up 0.9s var(--ease) 0.1s both; }
.hero__title {
	margin: 0 0 28px;
	font-size: var(--step-5);
	font-stretch: 78%;
	font-weight: 640;
	line-height: 0.98;
	letter-spacing: -0.03em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__line > span {
	display: inline-block;
	animation: line-up 1.1s var(--ease) both;
	animation-delay: calc(0.2s + var(--i) * 0.12s);
}
.hero__line:nth-child(2) > span { color: var(--gold-soft); }
.hero__text {
	max-width: 54ch;
	font-size: var(--step-1);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.84);
	animation: fade-up 1s var(--ease) 0.65s both;
}
.hero__actions { animation: fade-up 1s var(--ease) 0.8s both; }
.hero__footer { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero__footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	min-height: 64px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
}
.hero__locations { display: flex; gap: 0; margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--white); }
.hero__locations span + span::before { content: "·"; margin: 0 14px; color: var(--gold); }
@media (max-width: 480px) {
	.hero__locations { flex-wrap: wrap; letter-spacing: 0.12em; font-size: 0.72rem; }
	.hero__locations span + span::before { margin: 0 8px; }
	.hero__caption { display: none; }
}
.hero__caption { margin: 0; }
.hero__video-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.4); background: none; color: var(--white); font-size: 0.8rem; cursor: pointer; }
.hero__video-toggle .icon { width: 14px; height: 14px; }

@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero ---------- */

.page-hero { position: relative; isolation: isolate; }
.page-hero--image {
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 68vh, 760px);
	color: var(--white);
	background: var(--navy-950);
	overflow: hidden;
}
.page-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(6, 17, 31, 0.92) 0%, rgba(6, 17, 31, 0.45) 55%, rgba(6, 17, 31, 0.35) 100%), linear-gradient(90deg, rgba(6, 17, 31, 0.6), transparent 70%);
}
.page-hero__inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero--plain { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero--plain .page-hero__inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__title { font-size: var(--step-4); font-stretch: 80%; max-width: 20ch; margin-bottom: 20px; }
.page-hero__lead { max-width: 58ch; font-size: var(--step-1); line-height: 1.5; margin: 0; }
.page-hero--image .page-hero__lead { color: rgba(255, 255, 255, 0.85); }
.page-hero--plain .page-hero__lead { color: var(--steel-700); }
.page-hero__caption {
	position: absolute;
	right: var(--gutter);
	bottom: 16px;
	margin: 0;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs { margin-bottom: 28px; font-size: 0.8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; opacity: 0.8; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.breadcrumbs [aria-current] { opacity: 0.65; }

/* ---------- Sections ---------- */

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark .section-note { color: rgba(255, 255, 255, 0.7); }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
}
.section-head--split .section-title { margin-bottom: 0; }

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) {
	.split,
	.split--even { grid-template-columns: 1fr; }
	.split__aside { position: static; }
}

.glance {
	margin: 0;
	padding: 32px;
	background: var(--paper);
	border-top: 3px solid var(--gold);
}
.glance__label { margin-bottom: 18px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.glance__big { margin: 0; font-family: var(--font-display); font-size: var(--step-5); font-stretch: 75%; line-height: 1; color: var(--navy-900); }
.glance a:not(.btn) { color: var(--navy-900); font-weight: 600; }
.glance dt { font-weight: 650; color: var(--navy-900); margin-top: 14px; }
.glance dt:first-child { margin-top: 0; }
.glance dd { margin: 2px 0 0; color: var(--steel-700); }
.glance dd ul { margin: 4px 0 0; padding-left: 18px; }

/* ---------- Editor content (block styles) ---------- */

.entry-content > * { max-width: 780px; }
.entry-content--wide > *,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group,
.entry-content > .alignwide { max-width: none; }
.entry-content > .alignfull { max-width: none; margin-inline: calc(var(--gutter) * -1); }
.entry-content h2 { font-size: var(--step-3); margin-top: 1.6em; }
.entry-content h2:first-child,
.entry-content .is-style-inq-eyebrow + h2 { margin-top: 0; }
.entry-content h3 { font-size: var(--step-2); margin-top: 1.4em; }
.entry-content ul,
.entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: 0.35em; }
.entry-content a { color: var(--navy-700); text-decoration-color: var(--gold); }
.entry-content img { height: auto; }
.entry-content figcaption { font-size: 0.8rem; color: var(--steel-600); margin-top: 8px; }
.entry-content--prose { font-size: 1.05rem; }
.entry-content--prose h2 { font-size: var(--step-2); }

.is-style-inq-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 3em;
	color: var(--gold-ink);
	font-size: 0.78rem !important;
	font-weight: 650;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.is-style-inq-eyebrow:first-child { margin-top: 0; }
.is-style-inq-eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.is-style-inq-lead { font-size: var(--step-1); line-height: 1.55; color: var(--navy-900); }

.wp-block-columns.is-style-inq-cards,
.wp-block-columns.is-style-inq-numbered {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	margin: 32px 0;
	counter-reset: inq-card;
}
.is-style-inq-cards > .wp-block-column,
.is-style-inq-numbered > .wp-block-column {
	margin: 0 !important;
	padding: 28px;
	background: var(--paper);
	border-top: 3px solid var(--navy-900);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.section--paper .is-style-inq-cards > .wp-block-column { background: var(--white); }
.is-style-inq-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.is-style-inq-cards h3,
.is-style-inq-numbered h3 { margin: 0 0 10px; font-size: 1.25rem; }
.is-style-inq-cards p,
.is-style-inq-numbered p { margin: 0; font-size: 0.97rem; color: var(--steel-700); }
.is-style-inq-numbered > .wp-block-column { background: var(--navy-900); color: var(--white); border-top-color: var(--gold); }
.is-style-inq-numbered > .wp-block-column::before {
	counter-increment: inq-card;
	content: counter(inq-card, decimal-leading-zero);
	display: block;
	margin-bottom: 18px;
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 300;
	line-height: 1;
	color: var(--gold-soft);
}
.is-style-inq-numbered p { color: rgba(255, 255, 255, 0.78); }

ul.is-style-inq-ticks,
.ticks { padding: 0; list-style: none; }
ul.is-style-inq-ticks li,
.ticks li { position: relative; padding-left: 26px; }
ul.is-style-inq-ticks li::before,
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 9px;
	height: 9px;
	background: var(--gold);
}
.ticks li + li { margin-top: 12px; }
.ticks--columns { columns: 2 280px; column-gap: 48px; }
.ticks--columns li { break-inside: avoid; margin: 0 0 14px; }

ul.is-style-inq-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}
ul.is-style-inq-pills li {
	margin: 0 !important;
	padding: 8px 16px;
	background: var(--paper);
	border-left: 2px solid var(--gold);
	font-weight: 550;
}

ol.is-style-inq-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 4px;
	padding: 0;
	margin: 32px 0;
	list-style: none;
	counter-reset: inq-step;
	max-width: none;
}
ol.is-style-inq-steps li {
	counter-increment: inq-step;
	position: relative;
	margin: 0 !important;
	padding: 24px 28px 24px 22px;
	background: var(--navy-900);
	color: var(--white);
	font-weight: 600;
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
ol.is-style-inq-steps li:nth-child(even) { background: var(--navy-700); }
ol.is-style-inq-steps li::before {
	content: counter(inq-step, decimal-leading-zero);
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 300;
	color: var(--gold-soft);
}

.wp-block-group.is-style-inq-dark {
	margin: 40px 0;
	padding: clamp(28px, 4vw, 48px);
	background: var(--navy-900);
	color: var(--white);
}
.is-style-inq-dark h2,
.is-style-inq-dark h3 { margin-top: 0; color: var(--white); }
.is-style-inq-dark p { color: rgba(255, 255, 255, 0.82); }
.is-style-inq-dark p:last-child { margin-bottom: 0; }
.is-style-inq-dark ul.is-style-inq-ticks { columns: 2 260px; column-gap: 40px; }
.is-style-inq-dark ul.is-style-inq-ticks li { break-inside: avoid; margin: 0 0 10px; }

.wp-block-group.is-style-inq-callout {
	margin: 0 0 32px;
	padding: 16px 20px;
	background: #fff6dd;
	border-left: 3px solid var(--gold);
	color: #4f3a00;
}
.is-style-inq-callout p { margin: 0; }

.is-style-inq-framed img { box-shadow: 18px 18px 0 var(--paper-2); }

/* ---------- Cards ---------- */

.cards {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: 20px;
}
.cards--2 { --cols: 2; }
.cards--4 { --cols: 4; }
@media (max-width: 1100px) { .cards--4 { --cols: 2; } .cards { --cols: 2; } }
@media (max-width: 640px) { .cards, .cards--4, .cards--2 { --cols: 1; } }

.card {
	position: relative;
	padding: clamp(24px, 3vw, 36px);
	background: var(--white);
	border-top: 3px solid var(--navy-900);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.section:not(.section--paper):not(.section--dark) .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--gold); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; color: var(--gold-ink); background: rgba(201, 151, 63, 0.12); }
.card__icon .icon { width: 26px; height: 26px; }
.card__num { display: block; margin-bottom: 18px; font-family: var(--font-display); font-size: 2.2rem; font-weight: 300; line-height: 1; color: var(--gold-ink); }
.card__title { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy-900); }
.card__text { margin: 0; font-size: 0.97rem; color: var(--steel-700); }
.cards--dark .card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-top: 3px solid var(--gold); }
.cards--dark .card__title { color: var(--white); }
.cards--dark .card__text { color: rgba(255, 255, 255, 0.78); }
.cards--dark .card__num { color: var(--gold-soft); }
.cards--dark .card:hover { box-shadow: none; background: rgba(255, 255, 255, 0.07); }

/* ---------- Home: intro ---------- */

.intro__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px clamp(20px, 3vw, 48px);
	align-items: start;
}
.intro__lead { grid-column: 1 / span 7; }
.intro__body { grid-column: 1 / span 6; }
.intro__media { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.reasons {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: clamp(24px, 4vw, 56px) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.reasons__item { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.reasons__item + .reasons__item { padding-left: 28px; }
.reasons__item:last-child { border-right: 0; }
.reasons__num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 250; line-height: 1; color: var(--gold-ink); margin-bottom: 18px; }
.reasons__title { font-size: 1.2rem; color: var(--navy-900); }
.reasons p { margin: 0; color: var(--steel-700); font-size: 0.96rem; }
@media (max-width: 1000px) {
	.intro__lead, .intro__body { grid-column: 1 / -1; }
	.intro__media { grid-column: 1 / -1; grid-row: auto; }
	.reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reasons__item:nth-child(2) { border-right: 0; }
	.reasons__item:nth-child(3) { padding-left: 0; }
}
@media (max-width: 600px) {
	.reasons { grid-template-columns: 1fr; }
	.reasons__item, .reasons__item + .reasons__item { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.figure--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.figure figcaption { margin-top: 10px; font-size: 0.78rem; color: var(--steel-600); }
.section--dark .figure figcaption { color: rgba(255, 255, 255, 0.6); }

/* ---------- Home: service areas ---------- */

.areas { background: var(--navy-950); }
.areas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .areas__grid { grid-template-columns: 1fr; } }
.area {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 640px;
	overflow: hidden;
	background: var(--navy-800);
	isolation: isolate;
}
.area__media { position: absolute; inset: 0; z-index: -2; }
.area__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.area:hover .area__media img,
.area:focus-within .area__media img { transform: scale(1.08); }
.area::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(6, 17, 31, 0.97) 42%, rgba(6, 17, 31, 0.72) 68%, rgba(6, 17, 31, 0.35));
}
.area--fire-security::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--signal); }
.area--engineering-inspection::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.area__body { margin-top: auto; padding: clamp(28px, 4vw, 48px); }
.area__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--gold-soft); }
.area__icon .icon { width: 26px; height: 26px; }
.area__title { font-size: var(--step-3); }
.area__title a { text-decoration: none; }
.area__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.area__text { max-width: 52ch; color: rgba(255, 255, 255, 0.82); }
.area__list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 24px 0 28px;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.area__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.area__list a { display: block; padding: 11px 0; font-size: 0.9rem; text-decoration: none; color: rgba(255, 255, 255, 0.9); transition: color 0.2s, padding 0.3s var(--ease); }
.area__list a:hover { color: var(--gold-soft); padding-left: 6px; }
.area .btn { position: relative; z-index: 1; }
@media (max-width: 560px) { .area__list { grid-template-columns: 1fr; } .area { min-height: 0; } .area__body { padding-top: 220px; } }

/* ---------- Service index (editorial list) ---------- */

.service-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: none; }
.service-index__item { border-bottom: 1px solid var(--line); }
.service-index__link {
	position: relative;
	display: grid;
	grid-template-columns: 56px 48px minmax(200px, 1.1fr) minmax(0, 1.4fr) 40px;
	gap: 20px;
	align-items: center;
	padding: 26px 0;
	text-decoration: none;
	transition: padding 0.45s var(--ease), background 0.45s var(--ease);
}
.service-index__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--steel-600); }
.service-index__icon { color: var(--gold-ink); }
.service-index__icon .icon { width: 28px; height: 28px; }
.service-index__title { margin: 0; font-size: var(--step-2); color: var(--navy-900); }
.service-index__text { font-size: 0.95rem; color: var(--steel-600); }
.service-index__arrow { justify-self: end; color: var(--navy-900); transition: transform 0.4s var(--ease); }
.service-index__arrow .icon { width: 24px; height: 24px; }
.service-index__preview {
	position: absolute;
	right: 70px;
	top: 50%;
	z-index: 2;
	width: 240px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translate(0, -50%) rotate(-2deg) scale(0.92);
	transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
	box-shadow: var(--shadow);
}
.service-index__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1100px) {
	.service-index__link:hover { padding-inline: 16px; background: var(--paper); }
	.section--paper .service-index__link:hover { background: var(--white); }
	.service-index__link:hover .service-index__preview { opacity: 1; transform: translate(0, -50%) rotate(-2deg) scale(1); }
	.service-index__link:hover .service-index__text { opacity: 0.25; }
}
.service-index__link:hover .service-index__arrow,
.service-index__link:focus-visible .service-index__arrow { transform: translateX(6px); color: var(--gold-ink); }
@media (max-width: 900px) {
	.service-index__link { grid-template-columns: 40px minmax(0, 1fr) 28px; grid-template-rows: auto auto; gap: 6px 14px; padding: 22px 0; }
	.service-index__num { grid-row: 1; }
	.service-index__icon { display: none; }
	.service-index__title { grid-column: 2; }
	.service-index__text { grid-column: 2; grid-row: 2; }
	.service-index__arrow { grid-column: 3; grid-row: 1 / span 2; }
	.service-index__preview { display: none; }
}

/* ---------- Service cards ---------- */

.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .service-cards { grid-template-columns: 1fr; } }
.service-card { background: var(--white); }
.section:not(.section--paper):not(.section--dark) .service-card { background: var(--paper); }
.service-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s; }
.service-card__link:hover .service-card__media img { transform: scale(1.06); opacity: 0.85; }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 28px; }
.service-card__icon { position: absolute; top: -28px; right: 24px; display: grid; place-items: center; width: 56px; height: 56px; background: var(--gold); color: var(--navy-950); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { font-size: 1.35rem; color: var(--navy-900); padding-right: 56px; }
.service-card__text { color: var(--steel-700); font-size: 0.95rem; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 650; font-size: 0.9rem; color: var(--navy-900); }
.service-card__more .icon { width: 18px; transition: transform 0.35s var(--ease); }
.service-card__link:hover .service-card__more .icon { transform: translateX(5px); }

/* ---------- Sectors (home panels) ---------- */

.sector-panels { display: flex; gap: 10px; height: 560px; margin: 0; padding: 0; list-style: none; }
.sector-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; background: var(--navy-900); transition: flex 0.7s var(--ease); }
.sector-panel__link { position: absolute; inset: 0; display: block; color: var(--white); text-decoration: none; }
.sector-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 1.2s var(--ease), opacity 0.5s; }
.sector-panel__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 17, 31, 0.95) 10%, rgba(6, 17, 31, 0.1) 70%); }
.sector-panel__num { position: absolute; top: 22px; left: 24px; z-index: 1; font-family: var(--font-display); font-size: 0.9rem; color: var(--gold-soft); }
.sector-panel__body { position: absolute; left: 24px; right: 24px; bottom: 26px; z-index: 1; }
.sector-panel__title { display: block; font-family: var(--font-display); font-size: 1.5rem; font-stretch: 85%; font-weight: 640; line-height: 1.1; }
.sector-panel__text { display: block; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.4s; }
@media (hover: hover) and (min-width: 1000px) {
	.sector-panels:hover .sector-panel,
	.sector-panels:focus-within .sector-panel { flex: 0.8; }
	.sector-panels .sector-panel:hover,
	.sector-panels .sector-panel:focus-within { flex: 2.4; }
	.sector-panel:hover .sector-panel__img,
	.sector-panel:focus-within .sector-panel__img { transform: scale(1.05); opacity: 0.9; }
	.sector-panel:hover .sector-panel__text,
	.sector-panel:focus-within .sector-panel__text { max-height: 8em; opacity: 1; margin-top: 10px; }
}
@media (max-width: 999px), (hover: none) {
	.sector-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
	.sector-panel { aspect-ratio: 4 / 5; }
	.sector-panel__text { max-height: none; opacity: 1; margin-top: 8px; }
}
@media (max-width: 560px) { .sector-panels { grid-template-columns: 1fr; } .sector-panel { aspect-ratio: 16 / 11; } }

/* ---------- Process ---------- */

.process {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--steps, 6), minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.process::before {
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: 27px;
	height: 1px;
	background: var(--line);
}
.process::after {
	content: "";
	position: absolute;
	left: 0;
	top: 27px;
	height: 2px;
	width: 100%;
	background: var(--gold);
	transform: scaleX(var(--progress, 0));
	transform-origin: left;
	transition: transform 0.2s linear;
}
.section--dark .process::before { background: rgba(255, 255, 255, 0.18); }
.process__step { position: relative; padding: 0 22px 0 0; }
.process__num {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 26px;
	background: var(--navy-900);
	color: var(--gold-soft);
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
}
.process__title { font-size: 1.2rem; color: var(--navy-900); }
.section--dark .process__title { color: var(--white); }
.process__text { margin: 0; font-size: 0.93rem; color: var(--steel-700); }
.section--dark .process__text { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 1000px) {
	.process { grid-template-columns: 1fr; gap: 0; }
	.process::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	.process::after { left: 27px; top: 0; width: 2px; height: 100%; transform: scaleY(var(--progress, 0)); transform-origin: top; }
	.process__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; padding: 0 0 32px; }
	.process__num { grid-row: 1 / span 2; margin: 0; }
	.process__title { margin-top: 12px; }
}

/* ---------- Quality ---------- */

.quality__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .quality__grid { grid-template-columns: 1fr; } }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin: 36px 0; padding: 0; list-style: none; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 14px; }
.checklist__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: var(--navy-900); color: var(--gold-soft); }
.checklist__icon .icon { width: 18px; height: 18px; }
.checklist h3 { margin: 4px 0 6px; font-size: 1.05rem; color: var(--navy-900); }
.checklist p { margin: 0; font-size: 0.92rem; color: var(--steel-700); }
.standards { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; }
.standards span { padding: 6px 12px; border: 1px solid var(--steel-200); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy-900); }
.standards small { flex-basis: 100%; color: var(--steel-600); }

.cert-statement { display: flex; gap: 20px; max-width: 900px; margin-top: 48px; padding: 28px 32px; background: var(--paper); border-left: 3px solid var(--gold); }
.cert-statement > .icon { flex: none; width: 36px; height: 36px; color: var(--gold-ink); }
.cert-statement__title { font-size: 1.25rem; color: var(--navy-900); }
.cert-statement p { margin: 0; color: var(--steel-700); }

/* ---------- Regions ---------- */

.regions { background: var(--navy-950); overflow: hidden; }
.regions__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .regions__grid { grid-template-columns: 1fr; } .regions__map { max-width: 420px; } }
.region-map { margin: 0; color: var(--white); }
.region-map svg { width: 100%; height: auto; overflow: visible; }
.region-map figcaption { margin-top: 8px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.region-map__route { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
	.region-map__route { animation: dash 30s linear infinite; }
	.region-map__node--hq circle:first-child { transform-origin: 200px 90px; animation: pulse 3s var(--ease) infinite; }
}
@keyframes dash { to { stroke-dashoffset: -400; } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.offices--dark { border-top-color: rgba(255, 255, 255, 0.16); }
@media (max-width: 700px) { .offices { grid-template-columns: 1fr; } }
.office { padding: 28px 24px 8px 0; }
.office + .office { padding-left: 24px; border-left: 1px solid var(--line); }
.offices--dark .office + .office { border-left-color: rgba(255, 255, 255, 0.16); }
@media (max-width: 700px) { .office + .office { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .offices--dark .office + .office { border-top-color: rgba(255, 255, 255, 0.16); } }
.office__label { margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.offices--dark .office__label { color: var(--gold-soft); }
.office__city { font-size: 1.5rem; margin-bottom: 10px; }
.office address { font-style: normal; color: var(--steel-700); margin-bottom: 12px; }
.offices--dark address { color: rgba(255, 255, 255, 0.78); }
.office__link { margin: 0 0 8px; }
.office__link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.office__link a:hover { text-decoration: underline; }
.office__link .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Home contact ---------- */

.home-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .home-contact__grid { grid-template-columns: 1fr; } }
.home-contact__phone a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--navy-900); text-decoration: none; }
.home-contact__phone .icon { width: 26px; height: 26px; color: var(--gold-ink); }

/* ---------- CTA band ---------- */

.cta-band { position: relative; padding-block: clamp(64px, 8vw, 112px); background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(270deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band__title { font-size: var(--step-4); font-stretch: 80%; max-width: 18ch; }
.cta-band__text { max-width: 56ch; margin: 0; color: rgba(255, 255, 255, 0.78); }
.cta-band__actions { display: grid; gap: 22px; justify-items: start; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.cta-band__phone .icon { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Methods index ---------- */

.methods__search { display: grid; gap: 8px; width: min(420px, 100%); }
.methods__search label { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-600); }
.methods__search input { width: 100%; padding: 14px 16px; border: 1px solid var(--steel-200); background: var(--white); border-radius: var(--radius); }
.methods__search input:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy-900); }
.methods__count { min-height: 1.5em; font-size: 0.85rem; color: var(--steel-600); }
.methods__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) { .methods__groups { grid-template-columns: 1fr; } }
.methods__group-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); font-size: 1.3rem; color: var(--navy-900); }
.methods__n { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--gold-ink); }
.methods__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.methods__list li { padding: 8px 14px; background: var(--paper); border-left: 2px solid var(--gold); font-size: 0.92rem; transition: background 0.25s; }
.methods__list li.is-match { background: var(--gold-soft); }
.methods__list li[hidden] { display: none; }
.methods__empty { margin-top: 24px; font-weight: 600; }

/* ---------- Gallery and lightbox ---------- */

.gallery { display: grid; grid-template-columns: repeat(var(--g, 3), minmax(0, 1fr)); gap: 16px; }
.gallery--1 { --g: 1; }
.gallery--2 { --g: 2; }
@media (max-width: 700px) { .gallery { --g: 1; } }
.gallery__item { margin: 0; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: var(--navy-900); cursor: zoom-in; overflow: hidden; }
.gallery__open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.gallery__open:hover img { transform: scale(1.04); opacity: 0.9; }
.gallery__item figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--steel-600); }

.lightbox { width: min(1400px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(6, 17, 31, 0.92); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox p { margin: 12px 0 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
.lightbox__close { position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.4); background: var(--navy-950); color: var(--white); cursor: pointer; }
.lightbox__close .icon { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--steel-200); }
.faq__item { border-bottom: 1px solid var(--steel-200); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; width: 22px; height: 22px; color: var(--gold-ink); transition: transform 0.35s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { margin: 0 0 24px; max-width: 70ch; color: var(--steel-700); }

/* ---------- Sector rows ---------- */

.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip-nav a { padding: 10px 18px; border: 1px solid var(--steel-200); font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--navy-900); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip-nav a:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.sector-row__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sector-row--flip .sector-row__media { order: 2; }
@media (max-width: 900px) { .sector-row__grid { grid-template-columns: 1fr; } .sector-row--flip .sector-row__media { order: 0; } }
.sector-row .ticks { margin: 0 0 32px; }

/* ---------- Projects ---------- */

.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__btn { padding: 8px 16px; border: 1px solid var(--steel-200); background: var(--white); font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.filter__btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }
.project-card[hidden] { display: none; }
.project-card a { display: block; text-decoration: none; }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card a:hover img { transform: scale(1.05); }
.project-card__meta { margin: 16px 0 6px; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.project-card__title { font-size: 1.35rem; color: var(--navy-900); }
.case-block { padding: 28px 0; border-top: 1px solid var(--line); }
.case-block__title { font-size: 1.4rem; color: var(--navy-900); }

/* ---------- Posts ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--paper); }
.post-card__link { display: block; height: 100%; text-decoration: none; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card__link:hover img { transform: scale(1.05); }
.post-card__body { padding: 24px 26px 28px; }
.post-card__meta { margin-bottom: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.post-card__title { font-size: 1.3rem; color: var(--navy-900); }
.post-card__text { margin: 0; font-size: 0.93rem; color: var(--steel-700); }
.empty-state { max-width: 640px; padding: 48px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--steel-200); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: grid; gap: 4px; text-decoration: none; }
.post-nav__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-ink); }
.post-nav__title { font-weight: 600; color: var(--navy-900); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .offices { grid-template-columns: 1fr; }
.contact-grid .office + .office { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
.tabs__tab { padding: 10px 16px; border: 1px solid var(--steel-200); border-bottom: 0; background: var(--paper); font-size: 0.88rem; font-weight: 600; color: var(--steel-700); cursor: pointer; }
.tabs__tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.tabs__panel[hidden] { display: none; }

/* ---------- Forms ---------- */

.form-panel { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.section--paper .form-panel { border-color: transparent; border-top-color: var(--gold); }
.inq-form__title { font-size: var(--step-2); color: var(--navy-900); }
.inq-form__required-note { font-size: 0.82rem; color: var(--steel-600); }
.inq-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { .inq-form__grid { grid-template-columns: 1fr; } }
.inq-field { grid-column: 1 / -1; display: grid; gap: 6px; align-content: start; }
.inq-field--half { grid-column: span 1; }
@media (max-width: 640px) { .inq-field--half { grid-column: 1 / -1; } }
.inq-field label { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); }
.inq-req { color: var(--error); }
.inq-opt { font-weight: 400; color: var(--steel-600); font-size: 0.8rem; }
.inq-field input,
.inq-field select,
.inq-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--steel-400);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.inq-field textarea { min-height: 140px; resize: vertical; }
.inq-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.inq-field input:focus,
.inq-field select:focus,
.inq-field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(201, 151, 63, 0.55); }
.inq-help { margin: 0; font-size: 0.8rem; color: var(--steel-600); }
.inq-form__error { margin: 0; min-height: 0; font-size: 0.82rem; font-weight: 600; color: var(--error); }
.inq-form__error:empty { display: none; }
.has-error input,
.has-error select,
.has-error textarea { border-color: var(--error); }
.inq-form__consent { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; margin-top: 22px; font-size: 0.88rem; color: var(--steel-700); }
.inq-form__consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--navy-900); }
.inq-form__consent .inq-form__error { grid-column: 2; }
.inq-form__consent a { color: var(--navy-900); }
.inq-form__actions { margin-top: 26px; }
.inq-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq-form__status:focus { outline: none; }
.inq-form__msg { padding: 14px 18px; font-weight: 600; font-size: 0.93rem; }
.inq-form__msg--ok { background: #e7f4ec; border-left: 3px solid var(--ok); color: #0f5a26; }
.inq-form__msg--error { background: #fdecea; border-left: 3px solid var(--error); color: #8a1c12; }
.inq-form.is-sending .inq-form__submit { opacity: 0.7; }
.inq-form.is-sending .inq-form__submit::before { content: ""; width: 16px; height: 16px; margin-right: 4px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */

.site-footer { position: relative; padding-top: clamp(64px, 8vw, 104px); background: var(--navy-950); color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__logo { margin-bottom: 24px; }
.site-footer__tagline { max-width: 40ch; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.site-footer__regions { margin-top: 16px; }
.site-footer strong { color: var(--white); font-weight: 600; }
.footer-nav__title { margin-bottom: 18px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.footer-nav__list,
.legal-nav__list { margin: 0; padding: 0; list-style: none; }
.footer-nav__list li + li { margin-top: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0; font-size: 0.82rem; }
.site-footer__legal { margin: 0; }
.legal-nav__list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__note { margin: 0; padding-bottom: 32px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.social { display: flex; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); }
.social .icon { width: 18px; height: 18px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; background: var(--gold); color: var(--navy-950) !important; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top .icon { width: 20px; height: 20px; }

/* ---------- 404, sitemap ---------- */

.error-404 { padding-block: clamp(80px, 12vw, 160px); background: var(--paper); }
.error-404__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
@media (max-width: 800px) { .error-404__inner { grid-template-columns: 1fr; } }
.error-404__code { margin: 0; font-family: var(--font-display); font-size: clamp(6rem, 18vw, 14rem); font-weight: 200; font-stretch: 70%; line-height: 0.85; color: var(--navy-900); }
.link-list { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; list-style: none; }
.link-list a { font-weight: 600; color: var(--navy-900); }
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.sitemap__title { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 2px solid var(--navy-900); color: var(--navy-900); }
.sitemap ul { padding: 0; list-style: none; }
.sitemap li { padding: 6px 0; }
.sitemap a { color: var(--navy-700); }
.credits { margin-top: 56px; font-size: 0.85rem; color: var(--steel-700); }
.credits ul { padding-left: 18px; }
.credits li { margin-bottom: 6px; word-break: break-word; }

/* ---------- Consent banner ---------- */

.inq-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 980px; margin-inline: auto; padding: 20px 24px; background: var(--white); color: var(--ink); border-top: 3px solid var(--gold); box-shadow: 0 20px 60px -20px rgba(6, 17, 31, 0.55); }
.inq-consent__text { flex: 1 1 380px; margin: 0; font-size: 0.9rem; }
.inq-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	[data-parallax] { transform: none !important; }
	.process::after { transform: none; display: none; }
}

/* ---------- Print ---------- */

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.back-to-top,
	.inq-form,
	.hero__media,
	.page-hero__media { display: none !important; }
	.hero,
	.page-hero--image,
	.section--dark { background: none !important; color: #000 !important; min-height: 0 !important; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
