:root {
	--crimson: #9d1b32;
	--crimson-deep: #6d1020;
	--brass: #d7b48a;
	--ink: #141013;
	--ink-soft: #2c2428;
	--paper: #f4efe8;
	--line: rgba(20, 16, 19, 0.12);
	--white: #fffcf8;
	--muted: #6d6166;
	--header: 74px;
	--font: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
	--font-display: "Changa", "IBM Plex Sans Arabic", sans-serif;
	--radius: 1.65rem 0.4rem;
	--shadow: 0 18px 40px rgba(20, 16, 19, 0.1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }

body {
	margin: 0;
	padding-top: var(--header);
	background:
		radial-gradient(circle at 100% 0, rgba(157, 27, 50, 0.06), transparent 28%),
		var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 0.96rem;
	line-height: 1.75;
}

body.admin-bar { padding-top: var(--header); }
body.dtec-nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.4em;
}
h1 { font-size: clamp(1.85rem, 1rem + 1.7vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1rem + 0.9vw, 2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.85em; }

.dtec-wrap {
	width: min(1180px, calc(100% - 2.2rem));
	margin-inline: auto;
}

.screen-reader,
.bhf-hidden,
.hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.skip {
	position: absolute;
	inset-inline-start: 1rem;
	top: -4rem;
	background: var(--crimson);
	color: white;
	padding: 0.5rem 1rem;
	z-index: 100;
}
.skip:focus { top: 1rem; }

.icon { width: 22px; height: 22px; display: block; }

.icon-badge {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 0.95rem 0.3rem;
	background: var(--crimson);
	color: white;
	transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.icon-badge .icon { width: 22px; height: 22px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.7rem;
	color: var(--crimson);
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
}
.eyebrow::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 0.2rem 0.05rem;
	background: currentColor;
	transform: rotate(20deg);
}

.lede { font-size: 0.98rem; color: var(--ink-soft); max-width: 36rem; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.65rem;
	padding: 0.5rem 1rem;
	font-size: 0.92rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--font-display);
	font-weight: 600;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 11H7.8l4.6-4.6L11 5l-7 7 7 7 1.4-1.4L7.8 13H19z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(-4px); }
.btn--solid { background: var(--crimson); color: white; box-shadow: 0 10px 24px rgba(157, 27, 50, 0.28); }
.btn--solid:hover { background: var(--crimson-deep); }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: white; }

.ehf-header #masthead,
#masthead {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 80;
	background: rgba(12, 9, 10, 0.96);
	color: white;
	border-bottom: 1px solid rgba(215, 180, 138, 0.28);
	transition: box-shadow 0.3s ease, background 0.3s ease;
}
body.admin-bar.ehf-header #masthead,
body.admin-bar #masthead { top: 32px; }
.is-stuck #masthead { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28); }

.site-header__bar {
	min-height: var(--header);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}
.brand { justify-self: start; }
.brand img {
	height: 58px;
	width: auto;
	background: none;
	transition: transform 0.3s ease;
}
.brand:hover img { transform: scale(1.04); }
.site-nav {
	display: flex;
	justify-content: center;
	gap: 0.15rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.92rem;
}
.site-nav a {
	position: relative;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	transition: background 0.25s ease, color 0.25s ease;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--brass); }
.header-cta { justify-self: end; }

.nav-toggle {
	display: none;
	justify-self: end;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 0.7rem 0.25rem;
	background: transparent;
	padding: 0;
}
.nav-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	margin: 5px auto;
	background: white;
}

.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	min-height: max(34rem, calc(100vh - var(--header) - 5.5rem));
	padding: 2.4rem 0 2.8rem;
	overflow: hidden;
	color: white;
	background: #0c090a;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(8, 6, 7, 0.45), transparent 30%),
		linear-gradient(to left, rgba(8, 6, 7, 0.92) 0%, rgba(8, 6, 7, 0.72) 38%, rgba(8, 6, 7, 0.12) 70%);
}
.hero__grid { position: static; z-index: 2; display: block; }
.hero .dtec-wrap { position: static; }
.hero__copy {
	position: relative;
	z-index: 2;
	max-width: 34rem;
	padding: 1.25rem 1.25rem 1.1rem;
	background: rgba(12, 9, 10, 0.48);
	border: 1px solid rgba(215, 180, 138, 0.35);
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
}
.hero .eyebrow { color: var(--brass); }
.hero .lede { color: rgba(255, 255, 255, 0.84); }
.hero .btn--ghost { color: white; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn--ghost:hover { background: white; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.9rem; }
.hero__figure { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero__figure img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.1s ease;
}
.hero__figure img.is-active { opacity: 1; }
.hero__figure figcaption {
	position: absolute;
	z-index: 2;
	inset-inline-end: max(1.1rem, calc((100% - 1120px) / 2));
	bottom: 1.1rem;
	display: grid;
	gap: 0.1rem;
	max-width: 13rem;
	padding: 0.7rem 0.85rem;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(215, 180, 138, 0.4);
	border-radius: var(--radius);
	backdrop-filter: blur(12px);
}
.hero__figure figcaption strong { font-family: var(--font-display); }
.hero__figure figcaption span { color: rgba(255, 255, 255, 0.8); font-size: 0.84rem; }

.stats {
	position: relative;
	z-index: 3;
	margin: 0;
	background: #100c0e;
	color: white;
	border-bottom: 1px solid rgba(215, 180, 138, 0.25);
}
.stats__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stats article { padding: 0.95rem 1rem 1rem; }
.stats article + article { border-inline-start: 1px solid rgba(255, 255, 255, 0.1); }
.stats .icon-badge {
	width: 36px;
	height: 36px;
	margin-bottom: 0.45rem;
	background: rgba(215, 180, 138, 0.14);
	color: var(--brass);
}
.stats article:hover .icon-badge { transform: rotate(-8deg); background: var(--brass); color: #100c0e; }
.stats strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.3vw, 1.6rem);
	color: var(--brass);
	line-height: 1.1;
}
.stats span { color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; }

.section { padding: 3.2rem 0; }
.section--paper { background: rgba(255, 252, 248, 0.72); }
.section--ink {
	background:
		radial-gradient(circle at 0 0, rgba(157, 27, 50, 0.28), transparent 32%),
		#120d10;
	color: white;
}
.section--ink .eyebrow { color: var(--brass); }
.section__head { max-width: 34rem; margin-bottom: 1.4rem; }
.section__head h2 { max-width: 16ch; }
.section__head p:last-child { color: var(--muted); }
.section--ink .section__head p:last-child { color: rgba(255, 255, 255, 0.7); }

.slider-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}
.slider-head .section__head { margin-bottom: 0; }
.slider-controls { display: flex; gap: 0.45rem; }
.slider-controls button {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 0.85rem 0.25rem;
	background: white;
	color: var(--ink);
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.slider-controls button:hover { background: var(--crimson); color: white; transform: translateY(-2px); }
.slider-controls button[data-slider-dir="-1"] .icon { transform: rotate(180deg); }
.slider-progress {
	height: 3px;
	margin-top: 1rem;
	background: rgba(20, 16, 19, 0.1);
	border-radius: 99px;
	overflow: hidden;
}
.slider-progress span {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--crimson);
	transform: scaleX(0.2);
	transform-origin: inline-end;
	transition: transform 0.25s ease;
}
.section--ink .slider-controls button {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.28);
	color: white;
}
.section--ink .slider-controls button:hover { background: var(--brass); color: #100c0e; }
.slider-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; }
.slider-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: rgba(20, 16, 19, 0.22);
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}
.slider-dots button.is-active { width: 22px; background: var(--crimson); }
.section--ink .slider-dots button { background: rgba(255, 255, 255, 0.28); }
.section--ink .slider-dots button.is-active { background: var(--brass); }

.card-cta {
	position: absolute;
	z-index: 2;
	inset-inline: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.4rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: white;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.88rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.service-card:hover .card-cta,
.service-card:focus-within .card-cta { opacity: 1; transform: none; }
.project .card-cta {
	position: static;
	inset: auto;
	width: auto;
	align-self: flex-start;
	margin-top: 0.85rem;
	opacity: 1;
	transform: none;
	background: var(--crimson);
	color: white;
}
.project .card-cta:hover { background: #5c0c18; color: white; }
	.card-cta:hover { background: var(--brass); }
@media (hover: none) {
	.card-cta { opacity: 1; transform: none; position: relative; inset: auto; margin-top: 0.8rem; }
	.service-card:hover em { opacity: 1; }
}

.divisions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem;
}
.card-slider {
	display: flex;
	gap: 0.9rem;
	margin-top: 1.3rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0.3rem 0.15rem 0.8rem;
}
.card-slider::-webkit-scrollbar { display: none; }

.division {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 280px;
	padding: 1.15rem 1.1rem 1rem;
	overflow: hidden;
	background: var(--white);
	color: var(--ink);
	border: 1px solid rgba(20, 16, 19, 0.08);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.division:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(20, 16, 19, 0.14); }
.division:hover .icon-badge { transform: rotate(-10deg) scale(1.06); }
.division__index {
	position: absolute;
	top: 0.7rem;
	inset-inline-end: 0.9rem;
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
	font-weight: 700;
	color: transparent;
	-webkit-text-stroke: 1px rgba(157, 27, 50, 0.4);
}
.division__code {
	margin-top: 0.85rem;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	color: var(--crimson);
}
.division h3 { margin: 0.25rem 0 0.35rem; }
.division p { color: var(--muted); font-size: 0.9rem; }
.more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: auto;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--crimson);
}
.more .icon { width: 16px; height: 16px; transition: transform 0.3s ease; }
.division:hover .more .icon { transform: translateX(-4px); }

.service-card {
	position: relative;
	isolation: isolate;
	flex: 0 0 min(300px, 78vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	padding: 1.2rem 1.2rem 4.8rem;
	overflow: hidden;
	color: white;
	background: #171215;
	border-radius: var(--radius);
}
.elementor .service-card img,
.service-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 8, 10, 0.05) 20%, rgba(12, 8, 10, 0.88) 100%);
}
.service-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset-inline: 1.1rem;
	bottom: 0;
	height: 3px;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: inline-end;
	transition: transform 0.4s ease;
}
.service-card:hover img { transform: scale(1.08); }
.service-card:hover::before { transform: scaleX(1); }
.service-card span,
.service-card strong,
.service-card em { position: relative; z-index: 1; }
.service-card span { color: var(--brass); font-family: var(--font-display); font-weight: 600; }
.service-card strong { display: block; margin: 0.2rem 0; font-size: 1.12rem; }
.service-card em { font-style: normal; color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; }

.split-cards,
.reasons { display: grid; gap: 0.85rem; }
.split-cards { grid-template-columns: 1.1fr 0.9fr; }
.reasons { grid-template-columns: repeat(4, 1fr); }
.split-cards article,
.reasons article {
	margin: 0;
	padding: 1.3rem 1.15rem;
	background: var(--white);
	border: 1px solid rgba(20, 16, 19, 0.08);
	border-radius: var(--radius);
	box-shadow: 0 10px 28px rgba(20, 16, 19, 0.05);
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.split-cards article:first-child {
	background: #141013;
	color: white;
	border-color: #141013;
}
.split-cards article:first-child .eyebrow,
.split-cards article:first-child p { color: rgba(255, 255, 255, 0.76); }
.split-cards article:hover,
.reasons article:hover { transform: translateY(-6px); }
.reasons article:hover { background: var(--crimson); color: white; }
.reasons article:hover .icon-badge { background: white; color: var(--crimson); }
.reasons article:hover p,
.reasons article:hover strong,
.reasons article:hover h3 { color: white; }
.reasons .icon-badge,
.process .icon-badge { margin-bottom: 0.8rem; }
.reasons strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--crimson);
	font-family: var(--font-display);
	font-size: 0.95rem;
}
.reasons p,
.split-cards p { color: var(--muted); }

.quotes blockquote {
	flex: 0 0 calc((100% - 1.8rem) / 3);
	scroll-snap-align: start;
	min-height: 240px;
	margin: 0;
	padding: 1.2rem 1rem 1.05rem;
	background: #141013;
	color: white;
	border: 0;
	border-radius: var(--radius);
	transition: transform 0.3s ease;
}
.quotes blockquote:hover { transform: translateY(-6px); }
.quotes .icon-badge { background: rgba(215, 180, 138, 0.16); color: var(--brass); margin-bottom: 0.9rem; }
.quotes p { color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; line-height: 1.75; }
.quotes footer { display: grid; margin-top: 0.8rem; }
.quotes strong { color: white; }
.quotes span { color: var(--brass); font-size: 0.86rem; }

.about {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 2.4rem;
	align-items: stretch;
}
.about figure { margin: 0; height: 100%; }
.about img {
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
	transition: transform 0.5s ease;
}
.about figure:hover img { transform: scale(1.03); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.3rem; }
.ticks li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--line);
}
.ticks li::before {
	content: "";
	flex: 0 0 1.15rem;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.28rem;
	background: var(--crimson);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.2 4.8 11.8l1.4-1.4 3 3 8-8 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.projects {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.9rem;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.9rem;
	margin-top: 1.3rem;
}
.services-grid .service-card { flex: none; min-height: 420px; }
.section-more { display: flex; justify-content: center; margin: 1.4rem 0 0; }
.faq { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.faq details {
	background: white;
	border: 1px solid rgba(20, 16, 19, 0.08);
	border-radius: var(--radius);
	padding: 0.95rem 1.15rem;
	box-shadow: 0 10px 24px rgba(20, 16, 19, 0.04);
}
.faq summary {
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
}
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }
.project {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
	background: white;
	border: 1px solid rgba(20, 16, 19, 0.08);
	border-radius: var(--radius);
	box-shadow: 0 14px 32px rgba(20, 16, 19, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20, 16, 19, 0.12); }
.elementor .project img,
.project img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.project:hover img { transform: scale(1.05); }
.project div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1rem 1.05rem 1.1rem;
	background: white;
}
.project p { margin: 0; color: var(--crimson); font-size: 0.82rem; font-weight: 600; }
.project span { color: var(--muted); font-size: 0.88rem; }
.project h3 { margin: 0.2rem 0 0.15rem; color: var(--ink); }

.process {
	position: relative;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	padding: 1.2rem 0 0;
	margin: 0;
	counter-reset: step;
}
.process::before {
	content: "";
	position: absolute;
	top: 2.55rem;
	inset-inline: 8%;
	height: 2px;
	background: linear-gradient(to left, var(--crimson), var(--brass));
}
.process li {
	position: relative;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid rgba(20, 16, 19, 0.08);
	padding: 1.35rem 1rem 1.1rem;
	box-shadow: 0 12px 28px rgba(20, 16, 19, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process li:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 16, 19, 0.1); }
.process .icon-badge {
	position: relative;
	z-index: 1;
	margin-bottom: 0.85rem;
	box-shadow: 0 0 0 6px var(--paper);
}
.process strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--crimson);
	font-family: var(--font-display);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
}

.page-hero {
	padding: 3rem 0 1.5rem;
	background:
		radial-gradient(circle at 100% 0, rgba(157, 27, 50, 0.35), transparent 36%),
		#120d10;
	color: white;
}
.page-hero .eyebrow { color: var(--brass); }
.page-hero .lede { color: rgba(255, 255, 255, 0.75); }

.prose, .contact {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 1.6rem;
	align-items: start;
}
.prose img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.gallery { margin: 0; }
.gallery__main { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); background: #171215; }
.gallery__thumbs {
	display: flex;
	gap: 0.45rem;
	margin-top: 0.55rem;
	overflow-x: auto;
}
.gallery__thumbs button {
	flex: 0 0 76px;
	width: 76px;
	height: 58px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.55rem;
	overflow: hidden;
	background: #171215;
	cursor: pointer;
}
.gallery__thumbs button.is-active { border-color: var(--crimson); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.contact > div:first-child {
	background: #171215;
	color: white;
	padding: 1.7rem 1.4rem;
	border-radius: var(--radius);
}
.contact > div:first-child .eyebrow { color: var(--brass); }
.contact > div:first-child p { color: rgba(255, 255, 255, 0.78); }
.contact__facts { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.contact__facts li {
	display: grid;
	grid-template-columns: auto 4.4rem 1fr;
	gap: 0.7rem;
	align-items: center;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact .icon-badge {
	width: 34px;
	height: 34px;
	background: rgba(215, 180, 138, 0.16);
	color: var(--brass);
}
.contact__facts a { color: white; }

.form {
	display: grid;
	gap: 0.75rem;
	background: var(--white);
	padding: 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.form input,
.form textarea {
	width: 100%;
	border: 1px solid rgba(20, 16, 19, 0.18);
	border-radius: 0.75rem;
	padding: 0.75rem 0.85rem;
	font: inherit;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--crimson);
	box-shadow: 0 0 0 3px rgba(157, 27, 50, 0.12);
}
.form__note,
.form__alert { margin: 0; padding: 0.7rem 0.8rem; border-radius: 0.5rem; }
.form__note { background: #e7f3ea; }
.form__alert { background: #fde8ec; color: var(--crimson-deep); }
.field-error { min-height: 1.1em; color: var(--crimson); font-size: 0.8rem; font-weight: 500; }
.form input.is-invalid,
.form textarea.is-invalid { border-color: var(--crimson); }

.site-footer {
	background: #0e0a0c;
	color: white;
	padding: 3.4rem 0 1.2rem;
	border-top: 1px solid rgba(215, 180, 138, 0.35);
}
.phone { direction: ltr; unicode-bidi: isolate; text-align: end; }
.site-footer a { display: block; color: rgba(255, 255, 255, 0.82); margin-bottom: 0.35rem; transition: color 0.2s ease, transform 0.2s ease; }
.site-footer a:hover { color: var(--brass); transform: translateX(-3px); }
.site-footer a.site-footer__logo-link,
.site-footer a.site-footer__logo-link:hover { display: inline-block; margin-bottom: 1rem; color: inherit; transform: none; }
.site-footer .eyebrow { color: var(--brass); }
.elementor .site-footer__logo,
.site-footer__logo {
	display: block;
	height: 58px;
	width: auto;
	max-width: 190px;
	max-height: 58px;
	object-fit: contain;
	background: none;
	margin-bottom: 0;
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 0.7fr 1.1fr 1fr;
	gap: 1.8rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__lead,
.site-footer__contact p { color: rgba(255, 255, 255, 0.68); }
.site-footer__base {
	display: flex;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	padding-top: 1rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.88rem;
}

.home .elementor-26 > .e-con { --gap: 0px; gap: 0 !important; }
.elementor-widget-container > .section,
.elementor-widget-container > .stats,
.elementor-widget-container > .page-hero,
.elementor-widget-container > .site-header,
.elementor-widget-container > .site-footer { margin: 0; }
.elementor-widget-dtec_hero,
.elementor-widget-dtec_stats,
.elementor-widget-dtec_divisions,
.elementor-widget-dtec_about,
.elementor-widget-dtec_vision,
.elementor-widget-dtec_reasons,
.elementor-widget-dtec_services,
.elementor-widget-dtec_projects,
.elementor-widget-dtec_quotes,
.elementor-widget-dtec_process,
.elementor-widget-dtec_contact,
.elementor-widget-dtec_page_hero,
.elementor-widget-dtec_prose { --padding: 0; }

.motion [data-reveal] { opacity: 0; }
.motion [data-reveal].is-in {
	animation: rise 0.7s ease forwards;
	animation-delay: var(--d, 0s);
}
/* Elementor canvas: keep sections visible while editing. */
body.elementor-editor-active .motion [data-reveal],
body.elementor-editor-preview .motion [data-reveal],
.elementor-editor-active .motion [data-reveal],
.elementor-editor-preview .motion [data-reveal] {
	opacity: 1;
	transform: none;
	animation: none;
}
body.elementor-editor-active .hero__figure img,
body.elementor-editor-preview .hero__figure img {
	opacity: 1;
}
@keyframes rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1440px) {
	.dtec-wrap { width: min(1100px, calc(100% - 2rem)); }
	.site-nav { font-size: 0.86rem; }
	.brand img { height: 52px; }
}

@media (max-height: 820px) {
	.hero {
		min-height: 30rem;
		height: 30rem;
		padding: 1.6rem 0 1.4rem;
	}
	.hero__copy { padding: 1rem 1rem 0.9rem; }
	.hero__figure figcaption { bottom: 0.8rem; }
	.stats article { padding: 0.7rem 0.85rem 0.75rem; }
	.section { padding: 2.2rem 0; }
	.service-card,
	.services-grid .service-card { min-height: 440px; }
	.division { min-height: 250px; }
	.project img { height: 260px; }
	h1 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
	h2 { font-size: clamp(1.25rem, 1.5vw, 1.6rem); }
}

@media (max-width: 782px) {
	body.admin-bar { padding-top: var(--header); }
	body.admin-bar.ehf-header #masthead,
	body.admin-bar #masthead { top: 46px; }
}

@media (max-width: 980px) {
	.about,
	.prose,
	.contact,
	.process,
	.divisions,
	.projects,
	.services-grid,
	.stats__row,
	.reasons,
	.split-cards,
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.quotes blockquote { flex-basis: calc((100% - 0.9rem) / 2); }
	.process::before { display: none; }
	.prose img { height: 320px; }
	.prose .gallery__main { height: 320px; }
	.prose .gallery__thumbs img { height: 100%; }
	.hero__figure img { height: 100%; }
}

@media (max-width: 760px) {
	.site-header__bar { display: flex; }
	.nav-toggle { display: inline-block; margin-inline-start: auto; }
	.header-cta { display: none; }
	.ehf-header #masthead .e-con,
	.ehf-header #masthead .elementor-widget,
	.ehf-header #masthead .elementor-widget-container,
	.ehf-header #masthead .site-header { overflow: visible; }
	body.dtec-nav-open { overflow: hidden; }
	.site-nav {
		position: fixed;
		top: var(--header);
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 0.35rem 1.1rem 1.4rem;
		background: #120d10;
		color: #fff;
		z-index: 200;
		font-size: 1.15rem;
		overflow: auto;
	}
	body.admin-bar .site-nav { top: calc(var(--header) + 46px); }
	.site-nav.is-open { display: flex; }
	.site-nav a {
		display: block;
		width: 100%;
		padding: 0.9rem 0.2rem;
		border-radius: 0;
		color: #fff;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	.slider-head { align-items: flex-start; flex-direction: column; }
	.hero { min-height: 0; height: auto; padding: 0 0 1.1rem; }
	.hero::after { background: linear-gradient(to top, rgba(8, 6, 7, 0.25), transparent 40%); }
	.hero__figure { position: relative; order: -1; height: 240px; }
	.about figure { order: -1; height: 220px; }
	.about img { height: 220px; min-height: 0; }
	.hero__figure figcaption { inset-inline-end: 0.7rem; bottom: 0.7rem; }
	.hero__grid { display: flex; flex-direction: column; padding-top: 0; }
	.hero__copy {
		background: transparent;
		border: 0;
		border-radius: 0;
		padding: 1rem 0 0;
		backdrop-filter: none;
		max-width: none;
	}
	.stats__row { grid-template-columns: 1fr 1fr; }
	.stats article { padding: 0.85rem 0.75rem 0.9rem; }
	.stats article,
	.stats article + article { border-inline-start: 0; border-top: 0; }
	.stats article:nth-child(even) { border-inline-start: 1px solid rgba(255, 255, 255, 0.1); }
	.stats article:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
	.about,
	.prose,
	.contact,
	.process,
	.divisions,
	.projects,
	.services-grid,
	.reasons,
	.split-cards,
	.site-footer__top,
	.site-footer__base { grid-template-columns: 1fr; }
	.quotes blockquote { flex-basis: 86vw; }
	.site-footer__base { display: grid; }
	.project img { height: 220px; }
	.page-hero { padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.motion [data-reveal] { opacity: 1; }
	.motion [data-reveal].is-in { animation: none; }
	.btn:hover,
	.division:hover,
	.service-card:hover img,
	.project:hover img,
	.reasons article:hover,
	.process li:hover,
	.quotes blockquote:hover { transform: none; }
}
