/* MADA Tech — header, footer and Home sections, built against Figma
   «Website Pages New» (Home 64:852). Values come from the Figma frames. */

/* ---------- Small utilities ---------- */
.mt-strong { font-weight: 600; color: var(--mt-text-primary); }
.mt-ltr { direction: ltr; unicode-bidi: isolate; }
.mt-btn--sm { min-height: var(--mt-btn-h-sm); padding-inline: 22px; }
.mt-btn--ghost {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--mt-white);
	background: transparent;
}
.mt-btn--ghost:hover { background: var(--mt-white); border-color: var(--mt-white); color: var(--mt-navy-900); }
.mt-on-dark .mt-btn--link { color: var(--mt-text-brand); }
.mt-on-dark .mt-btn--link:hover { color: var(--mt-white); }

/* Blueprint grid (brand idea C) on navy sections. */
.mt-blueprint {
	position: relative;
	background-color: var(--mt-navy-900);
	background-image:
		linear-gradient(rgba(111, 168, 236, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(111, 168, 236, 0.07) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: center top;
}

/* ---------- Header ---------- */
.mt-header {
	position: relative;
	z-index: 50;
	background: var(--mt-bg-surface);
	border-bottom: 1px solid var(--mt-border-default);
	transition: background-color 0.3s var(--mt-ease), box-shadow 0.3s var(--mt-ease);
}

.mt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mt-space-xl);
	height: var(--mt-header-h);
	transition: height 0.3s var(--mt-ease);
}

.mt-header .mt-logo img {
	width: auto;
	height: 44px;
}

.mt-logo--light { display: none; }

.mt-nav > ul {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
}

.mt-nav li { position: relative; list-style: none; }

.mt-nav > ul > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-block: 8px;
	color: var(--mt-text-primary);
	font-size: var(--mt-fs-label);
	font-weight: 600;
	line-height: var(--mt-lh-label);
}

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

.mt-nav > ul > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 0.25s var(--mt-ease);
}

.mt-nav > ul > li > a:hover,
.mt-nav .current-menu-item > a,
.mt-nav .current-menu-ancestor > a,
.mt-nav .current_page_parent > a { color: var(--mt-text-brand); }

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

/* Dropdown */
.mt-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: -20px;
	min-width: 240px;
	padding: 12px 0;
	list-style: none;
	background: var(--mt-white);
	border: 1px solid var(--mt-line-200);
	border-radius: var(--mt-radius-md);
	box-shadow: var(--mt-shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--mt-ease), transform 0.2s var(--mt-ease), visibility 0.2s;
}

.mt-nav li:hover > .sub-menu,
.mt-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mt-nav .sub-menu a {
	display: block;
	padding: 8px 20px;
	color: var(--mt-ink-900);
	font-size: var(--mt-fs-small);
	font-weight: 500;
	line-height: var(--mt-lh-small);
}

.mt-nav .sub-menu a:hover,
.mt-nav .sub-menu .current-menu-item > a { color: var(--mt-blue-500); background: var(--mt-blue-50); }

.mt-header__actions {
	display: flex;
	align-items: center;
	gap: var(--mt-space-md);
}

.mt-menu-toggle {
	display: none;
	padding: 6px;
	border: 0;
	background: none;
	color: var(--mt-text-primary);
	cursor: pointer;
}

/* Transparent header over a photo hero (Header/Transparent). */
.has-transparent-header .mt-header:not(.is-stuck) {
	position: absolute;
	inset: 0 0 auto;
	background: transparent;
	border-bottom-color: transparent;
}
.has-transparent-header .mt-header:not(.is-stuck) .mt-logo--dark { display: none; }
.has-transparent-header .mt-header:not(.is-stuck) .mt-logo--light { display: block; }
.has-transparent-header .mt-header:not(.is-stuck) .mt-nav > ul > li > a { color: var(--mt-white); }
.has-transparent-header .mt-header:not(.is-stuck) .mt-nav > ul > li > a:hover,
.has-transparent-header .mt-header:not(.is-stuck) .mt-nav .current-menu-item > a,
.has-transparent-header .mt-header:not(.is-stuck) .mt-nav .current-menu-ancestor > a { color: var(--mt-blue-300); }
.has-transparent-header .mt-header:not(.is-stuck) .mt-menu-toggle { color: var(--mt-white); }
.admin-bar.has-transparent-header .mt-header:not(.is-stuck) { top: 32px; }

/* Sticky (Header/Sticky). */
.mt-header.is-stuck {
	position: fixed;
	inset: 0 0 auto;
	background: var(--mt-white);
	border-bottom-color: var(--mt-line-200);
	box-shadow: var(--mt-shadow-sm);
	animation: mt-header-in 0.35s var(--mt-ease);
}
.mt-header.is-stuck .mt-header__inner { height: var(--mt-header-sticky-h); }
.mt-header.is-stuck .mt-logo img { height: 38px; }
.admin-bar .mt-header.is-stuck { top: 32px; }

@keyframes mt-header-in {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

@media (max-width: 1180px) {
	.mt-nav { display: none; }
	.mt-menu-toggle { display: inline-flex; }
}

@media (max-width: 782px) {
	.admin-bar .mt-header.is-stuck,
	.admin-bar.has-transparent-header .mt-header:not(.is-stuck) { top: 46px; }
}

@media (max-width: 767px) {
	.mt-header .mt-logo img { height: 36px; }
	.mt-header__cta { display: none; }
}

/* ---------- Stats (Figma component Stat) ---------- */
.mt-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.mt-stat__num {
	font-family: var(--mt-font-latin);
	font-size: var(--mt-fs-stat);
	font-weight: 700;
	line-height: var(--mt-lh-num);
	color: var(--mt-text-primary);
}

.mt-stat__num::after {
	content: "";
	display: block;
	width: 24px;
	height: 3px;
	margin-top: 6px;
	background: var(--mt-amber-500);
}

.mt-stat__label {
	color: var(--mt-text-secondary);
	font-size: var(--mt-fs-small);
	line-height: var(--mt-lh-small);
}

/* ---------- Hero B ---------- */
.mt-home-hero {
	position: relative;
	display: flex;
	min-height: 880px;
	overflow: hidden;
	background: var(--mt-navy-900);
}

.mt-home-hero__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.mt-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(7, 27, 51, 0.55), rgba(7, 27, 51, 0) 45%),
		linear-gradient(to left, rgba(7, 27, 51, 0.88), rgba(7, 27, 51, 0.25));
}

.mt-home-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--mt-space-2xl);
	padding-top: calc(var(--mt-header-h) + var(--mt-space-3xl));
	padding-bottom: 80px;
}

.mt-home-hero__text {
	display: flex;
	flex-direction: column;
	gap: var(--mt-space-lg);
	max-width: 960px;
}

.mt-home-hero__title {
	display: flex;
	flex-direction: column;
	gap: 0;
	color: var(--mt-white);
}

.mt-home-hero__title .mt-display { line-height: 1.5; }
.mt-home-hero__title .mt-h1 { line-height: 1.6; }

.mt-home-hero__body {
	max-width: 700px;
	color: var(--mt-slate-300);
	font-size: var(--mt-fs-body-lg);
}

.mt-home-hero .mt-actions { margin-top: var(--mt-space-sm); }

.mt-glass-stats {
	flex: none;
	display: flex;
	gap: 32px;
	padding: 24px 40px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--mt-radius-md);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.mt-glass-stats .mt-stat + .mt-stat,
.mt-stat-card .mt-stat + .mt-stat {
	padding-inline-start: 32px;
	border-inline-start: 1px solid var(--mt-border-default);
}

.mt-glass-stats .mt-stat + .mt-stat { border-color: rgba(255, 255, 255, 0.2); }
.mt-glass-stats .mt-stat__num { color: var(--mt-white); }
.mt-glass-stats .mt-stat__label { color: var(--mt-slate-300); }

/* ---------- About A ---------- */
.mt-home-about { background: var(--mt-bg-page); }

.mt-home-about__row {
	display: grid;
	grid-template-columns: 574fr 610fr;
	align-items: center;
	gap: 96px;
}

.mt-home-about__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--mt-space-lg);
}

.mt-home-about__media {
	position: relative;
	aspect-ratio: 610 / 670;
}

.mt-home-about__media img {
	position: absolute;
	object-fit: cover;
	border-radius: var(--mt-radius-md);
}

.mt-home-about__tall {
	top: 0;
	left: 0; /* physical sides: same geometry as the Figma frame */
	width: 78.7%;
	height: 83.6%;
}

.mt-home-about__small {
	right: 0;
	bottom: 0;
	width: 52%;
	height: 40%;
	z-index: 1;
	border: 8px solid var(--mt-bg-page);
	border-radius: 20px !important;
}

/*
 * Process line (brand idea E). The end nodes sit on the column edges (the first
 * one under the checklist icons, 6px in so their centres line up), the four
 * nodes are evenly spaced, and the end labels align to the edges instead of
 * centring past them.
 */
.mt-process {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-top: var(--mt-space-sm);
	padding-inline: 6px;
	padding-bottom: 38px; /* room for the labels under the nodes */
	list-style: none;
}

.mt-process::before {
	content: "";
	position: absolute;
	top: 7px;
	inset-inline: 14px;
	height: 2px;
	background: var(--mt-border-brand);
}

.mt-process li {
	position: relative;
	flex: none;
	width: 16px;
	font-size: var(--mt-fs-label);
	font-weight: 600;
	line-height: var(--mt-lh-label);
}

.mt-process__label {
	position: absolute;
	top: 32px;
	inset-inline-start: 50%;
	translate: 50% 0; /* RTL: centre the label under the node */
	white-space: nowrap;
}

.mt-process li:first-child .mt-process__label { inset-inline-start: 0; translate: none; }
.mt-process li:last-child .mt-process__label { inset-inline-start: auto; inset-inline-end: 0; translate: none; }

.mt-process__node {
	position: relative;
	z-index: 1;
	display: block;
	width: 16px;
	height: 16px;
	border: 2px solid var(--mt-border-brand);
	border-radius: 50%;
	background: var(--mt-bg-surface);
}

.mt-process .is-done .mt-process__node { background: var(--mt-blue-500); }

/* ---------- Vision & Mission ---------- */
.mt-vm {
	padding-block: var(--mt-space-4xl);
	background: var(--mt-bg-brand);
	color: var(--mt-white);
}

.mt-vm__cols {
	display: grid;
	grid-template-columns: 1fr 1px 1fr;
	gap: 64px;
}

.mt-vm__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--mt-space-lg);
}

.mt-vm__col h3 { color: var(--mt-white); }

.mt-vm__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.mt-vm__divider { background: rgba(255, 255, 255, 0.25); }

.mt-vm__more {
	display: flex;
	justify-content: center;
	margin-top: var(--mt-space-2xl);
}

.mt-vm .mt-btn--link { color: var(--mt-white); }
.mt-vm .mt-btn--link:hover { color: var(--mt-white); }

/* ---------- Services C: row list ---------- */
.mt-home-services .mt-heading { max-width: 560px; }

.mt-svc-list {
	list-style: none;
	border-top: 1px solid var(--mt-border-default);
}

.mt-svc-list li { border-bottom: 1px solid var(--mt-border-default); }

.mt-svc-row {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 32px 24px;
	color: inherit;
	transition: background-color 0.3s var(--mt-ease);
}

.mt-svc-row:hover { color: inherit; background: var(--mt-bg-muted); }

.mt-svc-row__num {
	flex: none;
	width: 56px;
	color: var(--mt-text-brand);
	font-family: var(--mt-font-latin);
	font-size: var(--mt-fs-step);
	font-weight: 700;
	line-height: var(--mt-lh-num);
}

.mt-svc-row__title {
	flex: 1;
	font-size: var(--mt-fs-h2);
	font-weight: 600;
	line-height: var(--mt-lh-heading);
}

.mt-svc-row__desc {
	flex: none;
	width: 360px;
	color: var(--mt-text-tertiary);
	font-size: var(--mt-fs-small);
	line-height: var(--mt-lh-small);
}

.mt-svc-row__thumb {
	flex: none;
	width: 0;
	height: 110px;
	overflow: hidden;
	border-radius: var(--mt-radius-sm);
	opacity: 0;
	transition: width 0.4s var(--mt-ease), opacity 0.3s var(--mt-ease);
}

.mt-svc-row__thumb img { width: 160px; height: 110px; object-fit: cover; }
.mt-svc-row:hover .mt-svc-row__thumb { width: 160px; opacity: 1; }

.mt-svc-row__arrow {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--mt-border-strong);
	border-radius: 50%;
	transition: background-color 0.25s var(--mt-ease), border-color 0.25s var(--mt-ease), color 0.25s var(--mt-ease);
}

.mt-svc-row:hover .mt-svc-row__arrow { background: var(--mt-bg-brand); border-color: var(--mt-bg-brand); color: var(--mt-white); }

/* ---------- Operating system ---------- */
.mt-opsys { padding-block: 112px; }
.mt-opsys .mt-heading { max-width: 920px; }

.mt-opsys__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	list-style: none;
}

.mt-opsys__steps::before {
	content: "";
	position: absolute;
	top: 31px;
	inset-inline: 10%;
	height: 2px;
	background: rgba(111, 168, 236, 0.4);
}

.mt-opsys__steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--mt-space-lg);
	text-align: center;
}

.mt-opsys__circle {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 1.5px solid var(--mt-border-brand);
	border-radius: 50%;
	background: var(--mt-navy-900);
	color: var(--mt-blue-300);
	font-family: var(--mt-font-latin);
	font-size: var(--mt-fs-step);
	font-weight: 600;
	line-height: 1;
}

.mt-opsys__steps .is-active .mt-opsys__circle { background: var(--mt-blue-500); color: var(--mt-white); }

.mt-opsys__title {
	max-width: 200px;
	color: var(--mt-white);
	font-size: var(--mt-fs-h4);
	font-weight: 600;
	line-height: var(--mt-lh-h4);
}

/* ---------- Why us A ---------- */
.mt-home-why { background: var(--mt-bg-page); }

.mt-home-why__row {
	display: grid;
	grid-template-columns: 624fr 560fr;
	align-items: center;
	gap: 96px;
}

.mt-home-why__text {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mt-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, auto);
	grid-auto-flow: column;
	gap: 24px 32px;
	list-style: none;
}

.mt-features li {
	display: flex;
	align-items: center;
	gap: 16px;
	font-weight: 600;
}

.mt-features__check {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mt-bg-muted);
	color: var(--mt-icon-brand);
}

.mt-features__check .mt-icon { stroke-width: 2; }

.mt-home-why__media {
	position: relative;
	padding-bottom: 80px;
}

.mt-home-why__media > img {
	width: 100%;
	aspect-ratio: 560 / 480;
	object-fit: cover;
	border-radius: var(--mt-radius-md);
}

.mt-stat-card {
	position: absolute;
	bottom: 0;
	inset-inline-end: -32px;
	display: flex;
	gap: 32px;
	padding: 24px 32px;
	background: var(--mt-bg-surface);
	border-radius: var(--mt-radius-md);
	box-shadow: var(--mt-shadow-card);
}

/* ---------- Sectors ---------- */
.mt-home-sectors { padding-block: 112px; }
.mt-home-sectors > .mt-container,
.mt-home-projects > .mt-container { gap: 56px; }
.mt-section__head-row .mt-btn--link { flex: none; }

.mt-sectors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	list-style: none;
}

.mt-sector-card {
	position: relative;
	height: 300px;
	overflow: hidden;
	border-radius: var(--mt-radius-md);
}

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

.mt-sector-card:hover img { transform: scale(1.05); }

.mt-sector-card::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 130px;
	background: var(--mt-overlay-card);
}

.mt-sector-card__title {
	position: absolute;
	z-index: 1;
	inset: auto 24px 24px;
	color: var(--mt-white);
	font-size: var(--mt-fs-h4);
}

/* ---------- Projects B: editorial grid ---------- */
.mt-home-projects > .mt-container { gap: 48px; }

.mt-proj-grid {
	display: grid;
	grid-template-columns: 560fr 680fr;
	grid-template-rows: 304px 304px 360px;
	gap: 32px 40px;
}

.mt-proj-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	padding: 32px;
	border-radius: var(--mt-radius-md);
	color: var(--mt-white);
}

.mt-proj-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--mt-ease);
}

.mt-proj-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 27, 51, 0.85), rgba(7, 27, 51, 0) 55%);
}

.mt-proj-tile:hover { color: var(--mt-white); }
.mt-proj-tile:hover img { transform: scale(1.04); }

.mt-proj-tile__text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mt-proj-tile__cat { color: var(--mt-amber-500); font-weight: 600; }
.mt-proj-tile__title { font-size: var(--mt-fs-h3); font-weight: 600; line-height: var(--mt-lh-h3); }

.mt-proj-tile--1 { grid-column: 1; grid-row: 1 / 3; }
.mt-proj-tile--2 { grid-column: 2; grid-row: 1; }
.mt-proj-tile--3 { grid-column: 2; grid-row: 2; }
.mt-proj-tile--4 { grid-column: 1 / -1; grid-row: 3; }

/* ---------- CTA B (CTA / Photo) ---------- */
.mt-cta-photo {
	position: relative;
	overflow: hidden;
	padding-block: var(--mt-space-5xl);
	background: var(--mt-navy-900);
	text-align: center;
}

.mt-cta-photo__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.mt-cta-photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--mt-overlay-cta);
}

.mt-cta-photo .mt-container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--mt-space-lg);
}

.mt-cta-photo__accent { width: 56px; height: 3px; background: var(--mt-amber-500); }
.mt-cta-photo h2 { color: var(--mt-white); }
.mt-cta-photo p { color: var(--mt-slate-300); }
.mt-cta-photo .mt-actions { justify-content: center; margin-top: var(--mt-space-sm); }

/* ---------- Footer ---------- */
.mt-footer {
	padding-top: var(--mt-space-4xl);
	background-color: var(--mt-navy-900);
	background-image:
		linear-gradient(rgba(111, 168, 236, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(111, 168, 236, 0.06) 1px, transparent 1px);
	background-size: 40px 40px;
	color: var(--mt-slate-300);
}

.mt-footer__cols {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr;
	gap: var(--mt-space-3xl);
}

.mt-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--mt-space-lg);
	max-width: 320px;
}

.mt-footer__brand .mt-logo img { width: auto; height: 48px; }

.mt-footer__title {
	margin-bottom: var(--mt-space-lg);
	color: var(--mt-white);
	font-size: var(--mt-fs-h4);
}

.mt-footer__links,
.mt-footer ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
}

.mt-footer a { color: var(--mt-slate-300); }
.mt-footer a:hover { color: var(--mt-white); }

.mt-footer .mt-social {
	flex-direction: row;
	gap: 10px;
}

.mt-footer .mt-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--mt-line-dark);
	border-radius: 50%;
	color: var(--mt-white);
	transition: background-color 0.25s var(--mt-ease), border-color 0.25s var(--mt-ease);
}

.mt-footer .mt-social a:hover { background: var(--mt-blue-500); border-color: var(--mt-blue-500); }

.mt-footer__contact ul { gap: var(--mt-space-lg); margin-bottom: var(--mt-space-lg); }

.mt-footer__contact li {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mt-footer__contact li > span:last-child {
	display: flex;
	flex-direction: column;
}

.mt-footer__contact small { color: var(--mt-slate-500); font-size: var(--mt-fs-caption); line-height: 1.7; }
.mt-footer__contact a { color: var(--mt-white); font-weight: 600; }

.mt-footer__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mt-navy-700);
	color: var(--mt-blue-300);
}

.mt-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--mt-space-md);
	margin-top: var(--mt-space-3xl);
	padding-block: 24px 32px;
	border-top: 1px solid var(--mt-line-dark);
	font-size: var(--mt-fs-small);
}

.mt-footer__tagline {
	color: var(--mt-slate-300);
	font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.mt-home-about__row,
	.mt-home-why__row { gap: var(--mt-space-2xl); }
	.mt-svc-row__desc { width: 260px; }
}

@media (max-width: 1024px) {
	.mt-home-hero { min-height: 760px; }
	.mt-home-hero__inner { flex-direction: column; align-items: flex-start; }
	.mt-home-about__row,
	.mt-home-why__row { grid-template-columns: 1fr; }
	.mt-home-about__media { max-width: 610px; width: 100%; }
	.mt-home-why__media { max-width: 560px; margin-inline-start: 32px; }
	.mt-svc-row__desc,
	.mt-svc-row__thumb { display: none; }
	.mt-opsys__steps { grid-template-columns: 1fr; gap: var(--mt-space-xl); }
	.mt-opsys__steps::before { top: 32px; bottom: 32px; inset-inline: auto; inset-inline-start: 31px; width: 2px; height: auto; }
	.mt-opsys__steps li { flex-direction: row; text-align: start; }
	.mt-opsys__title { max-width: none; }
	.mt-sectors { grid-template-columns: repeat(2, 1fr); }
	.mt-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
	.mt-home-hero { min-height: 720px; }
	.mt-home-hero__inner { padding-bottom: var(--mt-space-2xl); flex-direction: column-reverse; align-items: stretch; }
	.mt-home-hero .mt-actions { flex-direction: column; }
	.mt-home-hero .mt-btn,
	.mt-cta-photo .mt-btn { width: 100%; }
	.mt-glass-stats { align-self: flex-start; padding: 16px 24px; }
	.mt-stat__num { font-size: 2.5rem; }
	.mt-vm__cols { grid-template-columns: 1fr; gap: var(--mt-space-xl); }
	.mt-vm__divider { height: 1px; }
	.mt-svc-row { gap: 16px; padding: 24px 4px; }
	.mt-svc-row__title { font-size: var(--mt-fs-h3); }
	.mt-svc-row__num { width: auto; font-size: 1.125rem; }
	.mt-features { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 16px; }
	.mt-home-why__media { margin-inline-start: 16px; }
	.mt-stat-card { inset-inline-end: -16px; padding: 16px 20px; gap: 20px; }
	.mt-stat-card .mt-stat + .mt-stat { padding-inline-start: 20px; }
	.mt-section__head-row { flex-direction: column; align-items: flex-start; }
	.mt-sectors { gap: 12px; }
	.mt-sector-card { height: 150px; }
	.mt-sector-card__title { inset: auto 12px 12px; font-size: 1rem; }
	.mt-proj-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 16px; }
	.mt-proj-tile { min-height: 280px; padding: 24px; }
	.mt-proj-tile--1,
	.mt-proj-tile--2,
	.mt-proj-tile--3,
	.mt-proj-tile--4 { grid-column: auto; grid-row: auto; }
	.mt-cta-photo { padding-block: var(--mt-space-3xl); }
	.mt-cta-photo .mt-actions { flex-direction: column; width: 100%; }
	.mt-footer__cols { grid-template-columns: 1fr; gap: var(--mt-space-2xl); }
	.mt-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Eyebrow line sits on the right of the label (Figma Eyebrow Row), for Arabic (RTL) and the Latin tagline (LTR). */
.mt-eyebrow::after { order: -1; }

/* Floating contact: left edge, vertically centred (Figma: x 24, y 420 on the Home frame). */
@media (min-width: 768px) {
	.mt-floating { top: 50%; bottom: auto; transform: translateY(-50%); }
}

