/*
 * HiTech Energy 2026 — design system
 * Toronto HVAC theme, intentionally isolated in a WPVibe draft.
 */

:root {
	--ink: #071a2b;
	--ink-soft: #23384a;
	--blue: #1268e5;
	--blue-deep: #08489f;
	--sky: #63b7ff;
	--orange: #f58a20;
	--orange-deep: #c85d05;
	--paper: #ffffff;
	--mist: #f4f7fb;
	--line: #dbe5ee;
	--success: #16794b;
	--shadow-sm: 0 10px 30px rgba(7, 26, 43, 0.08);
	--shadow-lg: 0 28px 80px rgba(2, 18, 34, 0.22);
	--radius-sm: 14px;
	--radius: 24px;
	--radius-lg: 36px;
	--container: 1200px;
	--display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
	--body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

[x-cloak] {
	display: none !important;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

button {
	color: inherit;
}

::selection {
	background: var(--orange);
	color: #fff;
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.section {
	position: relative;
	padding: 112px 0;
}

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

.section--ink {
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.section--compact {
	padding: 72px 0;
}

.skip-link {
	position: fixed;
	z-index: 9999;
	top: 12px;
	left: 12px;
	transform: translateY(-150%);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	padding: 10px 16px;
	font-weight: 800;
	box-shadow: var(--shadow-sm);
}

.skip-link:focus {
	transform: translateY(0);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
}

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

.section--ink .eyebrow {
	color: var(--sky);
}

.display-title,
.section-title,
.card-title {
	margin: 0;
	font-family: var(--display);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.display-title {
	max-width: 970px;
	color: #fff;
	font-size: clamp(3rem, 6.3vw, 5.7rem);
	font-weight: 750;
	text-wrap: balance;
}

.section-title {
	max-width: 820px;
	font-size: clamp(2.2rem, 4.2vw, 4rem);
	font-weight: 720;
	text-wrap: balance;
}

.card-title {
	font-size: 1.35rem;
	font-weight: 700;
}

.text-accent {
	background: linear-gradient(105deg, var(--sky), #b5ddff 52%, #fff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.text-orange {
	color: var(--orange);
}

.lead {
	max-width: 760px;
	margin: 24px 0 0;
	color: #526679;
	font-size: clamp(1.05rem, 1.55vw, 1.25rem);
	line-height: 1.8;
}

.section--ink .lead {
	color: #b9c7d3;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 56px;
}

.section-head__copy {
	max-width: 800px;
}

.section-head__aside {
	max-width: 360px;
	color: #66798a;
}

.btn {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 11px;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 14px 23px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.mobile-toggle:focus-visible {
	outline: 3px solid rgba(99, 183, 255, 0.55);
	outline-offset: 3px;
}

.btn--primary {
	background: var(--blue);
	box-shadow: 0 14px 34px rgba(18, 104, 229, 0.32);
	color: #fff;
}

.btn--primary:hover {
	background: #0b5bcf;
	box-shadow: 0 18px 38px rgba(18, 104, 229, 0.4);
}

.btn--light {
	background: #fff;
	color: var(--ink);
}

.btn--outline {
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	backdrop-filter: blur(8px);
}

.btn--ghost {
	border-color: var(--line);
	background: #fff;
	color: var(--ink);
}

.btn svg,
.link-arrow svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* Header */
.site-header {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	padding: 18px 0;
	pointer-events: none;
}

.nav-shell {
	display: grid;
	min-height: 72px;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.91);
	padding: 9px 10px 9px 18px;
	box-shadow: 0 20px 58px rgba(7, 26, 43, 0.16);
	backdrop-filter: blur(18px);
	pointer-events: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.brand img {
	width: 58px;
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.brand__name {
	display: grid;
	margin-left: -6px;
	line-height: 1;
	text-transform: uppercase;
}

.brand__name strong {
	font-family: var(--display);
	font-size: 14px;
	letter-spacing: -0.03em;
}

.brand__name small {
	margin-top: 4px;
	color: var(--blue);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.brand__fallback {
	font-family: var(--display);
	font-weight: 800;
}

.primary-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.nav-link {
	border-radius: 999px;
	padding: 10px 13px;
	color: #31485b;
	font-size: 13px;
	font-weight: 750;
	transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover {
	background: #eaf3ff;
	color: var(--blue);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 9px;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 800;
}

.header-phone svg {
	width: 17px;
	height: 17px;
	color: var(--orange);
}

.header-actions .btn {
	min-height: 50px;
	padding-inline: 19px;
}

.mobile-toggle {
	display: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
}

.mobile-toggle svg {
	width: 22px;
	height: 22px;
}

.mobile-panel {
	display: none;
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	min-height: 920px;
	align-items: end;
	overflow: hidden;
	background: var(--ink);
	padding: 185px 0 86px;
}

.hero__media,
.hero__overlay,
.hero__glow {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
	filter: saturate(0.86) contrast(1.03);
}

.hero__overlay {
	background:
		linear-gradient(90deg, rgba(2, 15, 28, 0.97) 0%, rgba(3, 21, 39, 0.88) 42%, rgba(3, 19, 34, 0.3) 76%, rgba(3, 19, 34, 0.56) 100%),
		linear-gradient(0deg, rgba(3, 18, 31, 0.92) 0%, transparent 42%);
}

.hero__glow {
	background:
		radial-gradient(circle at 84% 16%, rgba(18, 104, 229, 0.3), transparent 30%),
		radial-gradient(circle at 60% 78%, rgba(245, 138, 32, 0.13), transparent 23%);
}

.hero__content {
	position: relative;
	z-index: 2;
}

.hero__copy {
	max-width: 980px;
}

.hero .eyebrow {
	color: #a9d7ff;
}

.hero__lead {
	max-width: 720px;
	margin: 28px 0 0;
	color: #d2dce5;
	font-size: clamp(1.08rem, 1.65vw, 1.34rem);
	line-height: 1.75;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 35px;
}

.hero__proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 770px;
	margin-top: 52px;
}

.proof-item {
	display: flex;
	align-items: center;
	gap: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	padding-top: 17px;
	color: #dfe8ef;
	font-size: 13px;
	font-weight: 700;
}

.proof-item svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	color: var(--sky);
}

.hero__side-note {
	position: absolute;
	right: -25px;
	bottom: 170px;
	display: flex;
	align-items: center;
	gap: 12px;
	transform: rotate(-90deg);
	transform-origin: center;
	color: rgba(255, 255, 255, 0.63);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero__side-note::before {
	width: 48px;
	height: 1px;
	background: currentColor;
	content: "";
}

/* Quick access */
.quick-access {
	position: relative;
	z-index: 5;
	margin-top: -34px;
}

.quick-access__shell {
	display: grid;
	grid-template-columns: 1.15fr repeat(4, 1fr);
	overflow: hidden;
	border: 1px solid rgba(219, 229, 238, 0.9);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--shadow-lg);
}

.quick-access__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--blue);
	padding: 28px;
	color: #fff;
}

.quick-access__intro span {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.quick-access__intro strong {
	margin-top: 4px;
	font-family: var(--display);
	font-size: 1.25rem;
	line-height: 1.2;
}

.quick-link {
	display: flex;
	min-height: 112px;
	align-items: center;
	gap: 13px;
	border-left: 1px solid var(--line);
	padding: 20px;
	transition: background 180ms ease, color 180ms ease;
}

.quick-link:hover {
	background: #f2f7fe;
	color: var(--blue);
}

.quick-link svg {
	width: 29px;
	height: 29px;
	flex: 0 0 auto;
	color: var(--blue);
}

.quick-link span {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
}

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

.service-card {
	position: relative;
	display: flex;
	min-height: 330px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	padding: 28px;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
	transform: translateY(-7px);
	border-color: #bdd7f4;
	box-shadow: 0 24px 55px rgba(7, 26, 43, 0.12);
}

.service-card__top {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 15px;
}

.service-card__icon {
	display: grid;
	width: 56px;
	height: 56px;
	place-items: center;
	border-radius: 18px;
	background: #eaf3ff;
	color: var(--blue);
}

.service-card__icon svg {
	width: 27px;
	height: 27px;
}

.service-card__number {
	color: #a6b5c2;
	font-family: var(--display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.service-card h3 {
	margin: 38px 0 0;
	font-family: var(--display);
	font-size: 1.42rem;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.service-card p {
	margin: 14px 0 28px;
	color: #607386;
	font-size: 14px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	color: var(--blue);
	font-size: 13px;
	font-weight: 800;
}

.link-arrow svg {
	transition: transform 180ms ease;
}

.service-card:hover .link-arrow svg {
	transform: translateX(4px);
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
	align-items: center;
	gap: clamp(55px, 8vw, 110px);
}

.media-stack {
	position: relative;
	min-height: 610px;
}

.media-stack__main {
	position: absolute;
	inset: 0 75px 50px 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.media-stack__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-stack__detail {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 45%;
	overflow: hidden;
	border: 10px solid #fff;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.media-stack__detail img {
	width: 100%;
	aspect-ratio: 0.98;
	object-fit: cover;
}

.media-badge {
	position: absolute;
	top: 28px;
	right: 28px;
	display: grid;
	width: 120px;
	height: 120px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	text-align: center;
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(12px);
}

.media-badge strong {
	display: block;
	color: var(--blue);
	font-family: var(--display);
	font-size: 1rem;
	line-height: 1.1;
}

.media-badge span {
	display: block;
	margin-top: 5px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1.3;
	text-transform: uppercase;
}

.check-list {
	display: grid;
	gap: 13px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #405669;
	font-weight: 650;
}

.check-list svg {
	width: 21px;
	height: 21px;
	flex: 0 0 auto;
	margin-top: 3px;
	color: var(--success);
}

.about-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 36px;
}

/* Credentials */
.credentials {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.credentials::before {
	position: absolute;
	top: -220px;
	right: -180px;
	width: 600px;
	height: 600px;
	border: 1px solid rgba(99, 183, 255, 0.12);
	border-radius: 50%;
	box-shadow: 0 0 0 80px rgba(99, 183, 255, 0.035), 0 0 0 160px rgba(99, 183, 255, 0.025);
	content: "";
}

.credentials-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 76px;
}

.credential-copy p {
	color: #b8c7d3;
}

.credential-board {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 14px;
}

.credential-card {
	display: grid;
	min-height: 190px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.96);
	padding: 20px;
}

.credential-card--wide {
	grid-column: span 2;
	min-height: 210px;
}

.credential-card img {
	max-width: 100%;
	max-height: 165px;
	object-fit: contain;
}

.credential-card--statement {
	display: flex;
	min-height: 145px;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	text-align: left;
}

.credential-card--statement strong {
	font-family: var(--display);
	font-size: 1.08rem;
}

.credential-card--statement span {
	margin-top: 8px;
	color: #b8c7d3;
	font-size: 13px;
	line-height: 1.65;
}

.credential-note {
	margin-top: 17px;
	color: #8fa2b1;
	font-size: 12px;
}

/* Process */
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	counter-reset: process;
}

.process-card {
	position: relative;
	border-top: 2px solid var(--line);
	padding: 30px 20px 5px 0;
	counter-increment: process;
}

.process-card::before {
	display: grid;
	width: 45px;
	height: 45px;
	place-items: center;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	content: "0" counter(process);
	font-family: var(--display);
	font-size: 11px;
	font-weight: 800;
}

.process-card::after {
	position: absolute;
	top: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--blue);
	content: "";
	transition: width 250ms ease;
}

.process-card:hover::after {
	width: 100%;
}

.process-card h3 {
	margin: 22px 0 10px;
	font-family: var(--display);
	font-size: 1.18rem;
	letter-spacing: -0.025em;
}

.process-card p {
	margin: 0;
	color: #66798a;
	font-size: 14px;
}

/* Work gallery */
.work-grid {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	grid-template-rows: repeat(2, 280px);
	gap: 18px;
}

.work-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #c9d6e1;
}

.work-card:first-child {
	grid-row: span 2;
}

.work-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover img {
	transform: scale(1.045);
}

.work-card__label {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 16px;
	background: rgba(5, 23, 40, 0.78);
	padding: 15px 17px;
	color: #fff;
	backdrop-filter: blur(10px);
}

.work-card__label strong {
	font-family: var(--display);
	font-size: 14px;
}

.work-card__label span {
	color: #c4d1dc;
	font-size: 11px;
}

/* Areas */
.area-grid {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 70px;
	align-items: center;
}

.area-map {
	position: relative;
	min-height: 470px;
	overflow: hidden;
	border: 1px solid #cbd9e5;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
		repeating-linear-gradient(22deg, #dce7f1 0, #dce7f1 1px, transparent 1px, transparent 34px);
	box-shadow: var(--shadow-sm);
}

.area-map::before,
.area-map::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.area-map::before {
	inset: 78px 90px;
	border: 1px solid rgba(18, 104, 229, 0.2);
	background: rgba(18, 104, 229, 0.08);
	box-shadow: 0 0 0 50px rgba(18, 104, 229, 0.04), 0 0 0 100px rgba(18, 104, 229, 0.025);
}

.area-map::after {
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	transform: translate(-50%, -50%);
	background: var(--orange);
	box-shadow: 0 0 0 9px rgba(245, 138, 32, 0.2);
}

.area-map__label {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 25px);
	font-family: var(--display);
	font-size: 1.1rem;
	font-weight: 800;
	text-align: center;
}

.area-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.area-chip {
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	padding: 9px 14px;
	color: #425a6c;
	font-size: 13px;
	font-weight: 700;
}

/* FAQ */
.faq-layout {
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: 75px;
}

.faq-aside {
	position: sticky;
	top: 128px;
	align-self: start;
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-question {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border: 0;
	background: transparent;
	padding: 25px 0;
	cursor: pointer;
	text-align: left;
}

.faq-question span:first-child {
	font-family: var(--display);
	font-size: 1.04rem;
	font-weight: 680;
	letter-spacing: -0.018em;
}

.faq-toggle {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--blue);
	transition: transform 180ms ease, background 180ms ease;
}

.faq-toggle svg {
	width: 16px;
	height: 16px;
}

.faq-question[aria-expanded="true"] .faq-toggle {
	transform: rotate(45deg);
	background: #eaf3ff;
}

.faq-answer {
	padding: 0 55px 24px 0;
	color: #5f7283;
}

/* Contact */
.contact-wrap {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--ink);
	box-shadow: var(--shadow-lg);
	color: #fff;
}

.contact-wrap::before {
	position: absolute;
	right: -130px;
	bottom: -210px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(18, 104, 229, 0.52), rgba(18, 104, 229, 0) 68%);
	content: "";
}

.contact-grid {
	position: relative;
	display: grid;
	grid-template-columns: 0.88fr 1.12fr;
	gap: 60px;
	padding: clamp(36px, 6vw, 78px);
}

.contact-copy .section-title {
	font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.contact-copy p {
	color: #b7c5d0;
}

.contact-details {
	display: grid;
	gap: 13px;
	margin-top: 35px;
}

.contact-detail {
	display: flex;
	align-items: center;
	gap: 13px;
	font-weight: 750;
}

.contact-detail__icon {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--sky);
}

.contact-detail__icon svg {
	width: 19px;
	height: 19px;
}

.quote-form {
	border-radius: 24px;
	background: #fff;
	padding: 30px;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
	color: var(--ink);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 17px;
}

.form-field {
	display: grid;
	gap: 7px;
}

.form-field--full {
	grid-column: 1 / -1;
}

.form-field label {
	color: #364c5f;
	font-size: 12px;
	font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	border: 1px solid #ccd9e4;
	border-radius: 12px;
	background: #f9fbfd;
	color: var(--ink);
	padding: 12px 13px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input,
.form-field select {
	min-height: 48px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--blue);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(18, 104, 229, 0.13);
}

.form-consent {
	margin: 14px 0 18px;
	color: #687b8c;
	font-size: 11px;
	line-height: 1.55;
}

.form-notice {
	margin: 0 0 17px;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
}

.form-notice--success {
	background: #e7f7ef;
	color: #12633c;
}

.form-notice--error {
	background: #fff0eb;
	color: #9b351d;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
}

/* Footer */
.site-footer {
	background: #04121f;
	color: #b2c1cc;
	padding: 78px 0 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.75fr 0.75fr 1fr;
	gap: 50px;
}

.footer-brand img {
	width: 120px;
	height: 66px;
	object-fit: contain;
	object-position: left center;
	filter: brightness(0) invert(1);
}

.footer-brand p {
	max-width: 360px;
	margin: 18px 0 0;
	color: #8fa3b3;
	font-size: 13px;
}

.footer-column h2 {
	margin: 0 0 18px;
	color: #fff;
	font-family: var(--display);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: #a9bbc8;
	font-size: 13px;
	transition: color 160ms ease;
}

.footer-links a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 58px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 24px;
	color: #738898;
	font-size: 11px;
}

.footer-bottom__links {
	display: flex;
	gap: 18px;
}

/* Inner pages */
.page-hero {
	background: var(--ink);
	color: #fff;
	padding: 190px 0 95px;
}

.page-hero h1 {
	max-width: 900px;
	margin: 0;
	font-family: var(--display);
	font-size: clamp(2.6rem, 5vw, 4.8rem);
	letter-spacing: -0.05em;
	line-height: 1.06;
}

.page-hero p {
	max-width: 700px;
	color: #b9c8d4;
}

.content-shell {
	width: min(calc(100% - 40px), 850px);
	margin-inline: auto;
	padding: 80px 0 110px;
}

.content-shell h2,
.content-shell h3 {
	font-family: var(--display);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.content-shell h2 {
	margin: 0 0 25px;
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.content-shell h3 {
	margin: 45px 0 14px;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.content-shell p,
.content-shell li {
	color: #405669;
	font-size: 1.04rem;
}

.content-shell p {
	margin: 0 0 22px;
}

.content-shell ul,
.content-shell ol {
	display: grid;
	gap: 10px;
	margin: 22px 0 32px;
	padding-left: 24px;
}

.content-shell li::marker {
	color: var(--blue);
}

.content-shell a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-list {
	display: grid;
	gap: 22px;
}

.post-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	padding: 34px;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.post-card__meta,
.post-hero__meta {
	color: var(--sky);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.post-card h2 {
	margin: 8px 0 13px;
	font-family: var(--display);
	font-size: clamp(1.5rem, 3vw, 2.3rem);
	letter-spacing: -0.04em;
	line-height: 1.2;
}

.post-card__excerpt {
	color: #53687a;
}

.navigation.pagination {
	margin-top: 25px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	min-height: 42px;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 7px 12px;
}

.page-numbers.current {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

.article-image {
	overflow: hidden;
	margin: 0 0 42px;
	border-radius: var(--radius);
}

.article-image img {
	width: 100%;
	height: auto;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	border-top: 1px solid var(--line);
	padding: 30px 0 80px;
}

.post-navigation a {
	max-width: 45%;
	color: var(--blue);
	font-weight: 800;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
	.reveal {
		animation: reveal-up 700ms both;
	}

	.reveal--delay {
		animation-delay: 120ms;
	}

	@keyframes reveal-up {
		from {
			opacity: 0;
			transform: translateY(24px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Responsive */
@media (max-width: 1080px) {
	.nav-shell {
		grid-template-columns: auto 1fr auto;
	}

	.primary-nav,
	.header-phone {
		display: none;
	}

	.mobile-toggle {
		display: inline-flex;
	}

	.mobile-panel {
		position: fixed;
		z-index: 999;
		top: 104px;
		right: 20px;
		left: 20px;
		display: grid;
		gap: 7px;
		border: 1px solid var(--line);
		border-radius: 24px;
		background: rgba(255, 255, 255, 0.98);
		padding: 18px;
		box-shadow: var(--shadow-lg);
		backdrop-filter: blur(18px);
		pointer-events: auto;
	}

	.mobile-panel .nav-link {
		padding: 13px 14px;
		font-size: 15px;
	}

	.mobile-panel .btn {
		margin-top: 7px;
	}

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

	.quick-access__intro {
		grid-column: span 2;
	}

	.quick-link {
		border-top: 1px solid var(--line);
	}

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

	.about-grid,
	.credentials-grid,
	.area-grid,
	.faq-layout,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.faq-aside {
		position: static;
	}

	.footer-grid {
		grid-template-columns: 1.35fr repeat(2, 0.8fr);
	}

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

@media (max-width: 760px) {
	.container {
		width: min(calc(100% - 28px), var(--container));
	}

	.section {
		padding: 78px 0;
	}

	.section--compact {
		padding: 52px 0;
	}

	.site-header {
		padding: 11px 0;
	}

	.nav-shell {
		min-height: 61px;
		gap: 10px;
		padding: 6px 7px 6px 14px;
	}

	.brand img {
		width: 50px;
		height: 42px;
	}

	.brand__name strong {
		font-size: 12px;
	}

	.header-actions .btn {
		display: none;
	}

	.mobile-panel {
		top: 84px;
		right: 14px;
		left: 14px;
	}

	.hero {
		min-height: 820px;
		padding: 150px 0 65px;
	}

	.hero__media img {
		object-position: 62% center;
	}

	.hero__overlay {
		background:
			linear-gradient(90deg, rgba(2, 15, 28, 0.96), rgba(3, 21, 39, 0.72)),
			linear-gradient(0deg, rgba(3, 18, 31, 0.96), transparent 48%);
	}

	.display-title {
		font-size: clamp(2.75rem, 12.5vw, 4.25rem);
	}

	.hero__lead {
		font-size: 1.02rem;
	}

	.hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.hero__proof {
		grid-template-columns: 1fr;
		gap: 9px;
		margin-top: 36px;
	}

	.proof-item {
		padding-top: 12px;
	}

	.hero__side-note {
		display: none;
	}

	.quick-access {
		margin-top: -18px;
	}

	.quick-access__shell {
		grid-template-columns: 1fr;
		border-radius: 19px;
	}

	.quick-access__intro {
		grid-column: auto;
	}

	.quick-link {
		min-height: 78px;
		border-left: 0;
	}

	.section-head {
		display: block;
		margin-bottom: 40px;
	}

	.section-head__aside {
		margin-top: 18px;
	}

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

	.service-card {
		min-height: 285px;
	}

	.media-stack {
		min-height: 470px;
	}

	.media-stack__main {
		inset: 0 42px 38px 0;
	}

	.media-stack__detail {
		width: 48%;
		border-width: 7px;
	}

	.media-badge {
		top: 18px;
		right: 12px;
		width: 96px;
		height: 96px;
	}

	.credentials-grid {
		gap: 42px;
	}

	.credential-board {
		grid-template-columns: 1fr;
	}

	.credential-card--wide {
		grid-column: auto;
	}

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

	.work-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(3, 290px);
	}

	.work-card:first-child {
		grid-row: auto;
	}

	.area-map {
		min-height: 380px;
	}

	.area-map::before {
		inset: 80px 65px;
	}

	.faq-layout {
		gap: 40px;
	}

	.faq-answer {
		padding-right: 10px;
	}

	.contact-grid {
		gap: 38px;
		padding: 30px 19px 20px;
	}

	.quote-form {
		padding: 21px 16px;
	}

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

	.form-field--full {
		grid-column: auto;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 35px 28px;
	}

	.footer-brand,
	.footer-column:last-child {
		grid-column: 1 / -1;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.page-hero {
		padding: 150px 0 72px;
	}
}

@media (max-width: 430px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-brand,
	.footer-column:last-child {
		grid-column: auto;
	}
}
