/*
 * Marfa General Trading (GT3001) - SeifWeb Light, calm round.
 * One brand colour (deep navy) with white, one soft grey and near-black text; Readex Pro (self-hosted) for everything;
 * inline line icons; a small fade on first view and hover states only (none with reduced motion).
 * Mobile first: 360-430 px phones, 640 px, 900 px, 1024 px (desktop menu), 1200 px. RTL and LTR from logical properties.
 */

:root {
	--primary: #1b2d4f;
	--primary-dark: #13213b;
	--primary-soft: #ebeff5;
	--primary-line: #cdd6e3;
	--secondary: #0f1a2e;
	--secondary-line: #26344f;
	--ink: #141c2b;
	--text: #2c3547;
	--muted: #566074;
	--line: #e1e5ec;
	--field: #c5cdd9;
	--surface: #f5f7fa;
	--white: #ffffff;
	--whatsapp: #128c4a;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow: 0 1px 2px rgba(15, 26, 46, 0.05), 0 10px 28px rgba(15, 26, 46, 0.07);
	--container: 1200px;
	--gutter: 16px;
	--header-h: 68px;
	--font: 'Readex Pro', 'Segoe UI', Tahoma, Arial, sans-serif;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
	:root {
		--gutter: 24px;
	}
}

@media (min-width: 1024px) {
	:root {
		--gutter: 32px;
		--header-h: 76px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text);
	background: var(--white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

ul,
ol {
	padding: 0;
}

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

[hidden] {
	display: none !important;
}

a {
	color: var(--primary);
	text-decoration: none;
}

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

:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

::selection {
	background: var(--primary-soft);
	color: var(--ink);
}

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

.mf-main:focus {
	outline: none;
}

.mf-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.mf-skip {
	position: absolute;
	inset-inline-start: 12px;
	top: -80px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--primary);
	color: var(--white);
	font-weight: 500;
}

.mf-skip:focus {
	top: 12px;
}

.mf-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

[dir="rtl"] .mf-icon--dir {
	transform: scaleX(-1);
}

.mf-icon-box {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--primary-soft);
	color: var(--primary);
}

.mf-icon-box .mf-icon {
	width: 22px;
	height: 22px;
}

.mf-center {
	margin-top: 32px;
	text-align: center;
}

.mf-note {
	margin-top: 16px;
	font-size: 0.875rem;
	color: var(--muted);
	line-height: 1.7;
}

/* ---------- Buttons and links ---------- */
.mf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.mf-actions--center {
	justify-content: center;
}

.mf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mf-btn .mf-icon {
	width: 18px;
	height: 18px;
}

.mf-btn--primary {
	background: var(--primary);
	color: var(--white);
}

.mf-btn--primary:hover {
	background: var(--primary-dark);
	color: var(--white);
}

.mf-btn--ghost {
	background: var(--white);
	border-color: var(--primary-line);
	color: var(--primary);
}

.mf-btn--ghost:hover {
	border-color: var(--primary);
	background: var(--primary-soft);
}

.mf-btn--light {
	background: var(--white);
	color: var(--primary);
}

.mf-btn--light:hover {
	background: var(--primary-soft);
	color: var(--primary-dark);
}

.mf-btn--on-dark {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--white);
}

.mf-btn--on-dark:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
}

.mf-btn--sm {
	min-height: 42px;
	padding: 0 16px;
	font-size: 0.875rem;
}

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

.mf-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--primary);
	font-weight: 500;
}

.mf-link .mf-icon {
	width: 18px;
	height: 18px;
}

.mf-link:hover > span:first-child {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--primary);
	line-height: 1.5;
}

.mf-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--primary);
}

/* ---------- Top strip and header ---------- */
.mf-topbar {
	display: none;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-size: 0.8125rem;
	color: var(--muted);
}

@media (min-width: 900px) {
	.mf-topbar {
		display: block;
	}
}

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

.mf-topbar__list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin-inline-start: auto;
}

.mf-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
}

a.mf-topbar__item:hover {
	color: var(--primary);
}

.mf-topbar .mf-icon {
	width: 16px;
	height: 16px;
	color: var(--primary);
}

.mf-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

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

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

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

.mf-header.is-scrolled {
	box-shadow: 0 6px 18px rgba(15, 26, 46, 0.06);
}

.mf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
}

.mf-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
}

.mf-logo__mark {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
}

.mf-logo__name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mf-logo__bg {
	fill: var(--primary);
}

.mf-logo__top {
	fill: #c0c7d3;
}

.mf-logo__base {
	fill: var(--white);
}

.mf-logo__quay {
	fill: #8d96a7;
}

.mf-logo--light {
	color: var(--white);
}

.mf-logo--light .mf-logo__bg {
	fill: var(--white);
}

.mf-logo--light .mf-logo__top,
.mf-logo--light .mf-logo__quay {
	fill: #9aa6ba;
}

.mf-logo--light .mf-logo__base {
	fill: var(--primary);
}

@media (min-width: 1200px) {
	.mf-logo {
		font-size: 1.125rem;
	}

	.mf-logo__mark {
		width: 40px;
		height: 40px;
	}
}

.mf-menu-btn {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
}

.mf-menu-btn .mf-icon {
	grid-area: 1 / 1;
	width: 22px;
	height: 22px;
}

.mf-menu-btn .mf-icon--close,
.mf-header.is-open .mf-menu-btn .mf-icon--menu {
	display: none;
}

.mf-header.is-open .mf-menu-btn .mf-icon--close {
	display: block;
}

.mf-nav__list {
	list-style: none;
}

.mf-nav__link {
	display: flex;
	align-items: center;
	color: var(--text);
	font-weight: 500;
}

.mf-nav__link:hover,
.mf-nav__link.is-active {
	color: var(--primary);
}

.mf-lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 10px;
	border-radius: 8px;
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 500;
}

.mf-lang:hover {
	background: var(--surface);
	color: var(--primary);
}

.mf-lang .mf-icon {
	width: 18px;
	height: 18px;
}

/* Phones and tablets: the menu opens under the header. */
@media (max-width: 1023.98px) {
	.mf-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		padding: 8px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 14px 28px rgba(15, 26, 46, 0.08);
	}

	.mf-header.is-open .mf-nav {
		display: block;
	}

	.mf-nav__link {
		min-height: 52px;
		border-bottom: 1px solid var(--line);
		font-size: 1rem;
	}

	.mf-nav__link.is-active {
		font-weight: 600;
	}

	.mf-nav__actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 16px;
	}

	.mf-nav__actions .mf-lang {
		justify-content: center;
		min-height: 48px;
		border: 1px solid var(--line);
	}

	.mf-nav__actions .mf-btn {
		min-height: 48px;
		font-size: 0.9375rem;
	}
}

/* Desktop: one row (compact from 1024 px, roomier from 1200 px). */
@media (min-width: 1024px) {
	.mf-header__inner {
		gap: 12px;
	}

	.mf-menu-btn {
		display: none;
	}

	.mf-nav {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.mf-nav__list {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	.mf-nav__link {
		position: relative;
		min-height: 44px;
		padding: 0 8px;
		border-radius: 8px;
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	.mf-nav__link:hover {
		background: var(--surface);
	}

	.mf-nav__link.is-active::after {
		content: "";
		position: absolute;
		inset-inline: 8px;
		bottom: 4px;
		height: 2px;
		border-radius: 2px;
		background: var(--primary);
	}

	.mf-nav__actions {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.mf-nav__actions .mf-btn,
	.mf-lang {
		white-space: nowrap;
	}
}

@media (min-width: 1200px) {
	.mf-header__inner {
		gap: 24px;
	}

	.mf-nav {
		gap: 20px;
	}

	.mf-nav__link {
		padding: 0 12px;
	}

	.mf-nav__link.is-active::after {
		inset-inline: 12px;
	}

	.mf-nav__actions {
		gap: 8px;
	}
}

/* ---------- Sections ---------- */
.mf-section {
	padding-block: clamp(56px, 3.2rem + 3.6vw, 104px);
}

.mf-section--soft {
	background: var(--surface);
}

.mf-section--tight {
	padding-block: clamp(32px, 4vw, 48px);
}

.mf-section,
.mf-entry,
.mf-form-card {
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.mf-head {
	max-width: 680px;
	margin: 0 auto clamp(32px, 4vw, 48px);
	text-align: center;
}

.mf-head--start {
	margin-inline: 0;
	text-align: start;
}

.mf-head--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	max-width: none;
	text-align: start;
}

@media (min-width: 900px) {
	.mf-head--split {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		align-items: end;
		gap: 48px;
	}

	.mf-head--split .mf-head__lead {
		padding-bottom: 6px;
	}
}

.mf-head__title {
	margin: 10px 0 12px;
	color: var(--ink);
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
	font-weight: 600;
	line-height: 1.4;
	text-wrap: balance;
}

.mf-head--split .mf-head__title {
	margin-bottom: 0;
}

.mf-head__lead {
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.85;
}

.mf-head__action {
	margin-top: 16px;
}

/* ---------- Home: hero and key figures ---------- */
.mf-hero {
	padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 6vw, 88px);
}

.mf-hero__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin-bottom: clamp(24px, 4vw, 44px);
}

@media (min-width: 1024px) {
	.mf-hero__head {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
		align-items: end;
		gap: 64px;
	}
}

.mf-hero__title {
	margin-top: 14px;
	color: var(--ink);
	font-size: clamp(2rem, 1.35rem + 2.9vw, 3.375rem);
	font-weight: 600;
	line-height: 1.3;
	text-wrap: balance;
}

.mf-hero__lead {
	max-width: 46ch;
	color: var(--muted);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.85;
}

.mf-hero__side .mf-actions {
	margin-top: 20px;
}

.mf-hero__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--primary-soft);
}

.mf-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 62%;
}

@media (min-width: 640px) {
	.mf-hero__media {
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 1024px) {
	.mf-hero__media {
		aspect-ratio: 2 / 1;
	}
}

.mf-figures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-top: 16px;
	overflow: hidden;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--line);
}

.mf-figure {
	min-width: 0;
	padding: 18px 16px;
	background: var(--white);
}

.mf-figure__num {
	display: inline-block;
	color: var(--primary);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}

.mf-figure__label {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.mf-figures {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.mf-figure {
		padding: 22px 24px;
	}
}

@media (min-width: 1024px) {
	.mf-figures--over {
		position: relative;
		margin: -56px 40px 0;
		box-shadow: var(--shadow);
	}
}

/* ---------- Home: sectors ---------- */
.mf-sectors {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	list-style: none;
}

.mf-sector {
	position: relative;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 10px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-sector:hover {
	border-color: var(--primary-line);
	box-shadow: var(--shadow);
}

.mf-sector__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	background: var(--primary-soft);
}

.mf-sector__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.mf-sector:hover .mf-sector__media img {
	transform: scale(1.03);
}

.mf-sector__body {
	min-width: 0;
}

.mf-sector__icon {
	display: none;
}

.mf-sector__title {
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.45;
}

.mf-sector__link {
	color: inherit;
}

.mf-sector__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

@supports selector(:has(*)) {
	.mf-sector__link:focus-visible {
		outline: none;
	}

	.mf-sector:has(.mf-sector__link:focus-visible) {
		outline: 2px solid var(--primary);
		outline-offset: 3px;
	}
}

.mf-sector__text {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.mf-sector__more {
	display: none;
}

@media (min-width: 640px) {
	.mf-sectors {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	/* Cards of one row share a height; «التفاصيل» sits at the bottom of each. */
	.mf-sector {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 0;
	}

	.mf-sector__media {
		aspect-ratio: 3 / 2;
		border-radius: 0;
	}

	.mf-sector__body {
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 22px 22px;
	}

	.mf-sector__icon {
		display: inline-grid;
		place-items: center;
		width: 40px;
		height: 40px;
		margin-bottom: 14px;
		border-radius: 10px;
		background: var(--primary-soft);
		color: var(--primary);
	}

	.mf-sector__more {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin-top: auto;
		padding-top: 14px;
		color: var(--primary);
		font-size: 0.9375rem;
		font-weight: 500;
	}

	.mf-sector__more .mf-icon {
		width: 18px;
		height: 18px;
	}
}

@media (min-width: 1024px) {
	.mf-sectors {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ---------- Home: how we work ---------- */
.mf-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
}

.mf-step {
	position: relative;
	min-width: 0;
	padding-inline-start: 64px;
	padding-bottom: 28px;
}

.mf-step:last-child {
	padding-bottom: 0;
}

.mf-step::before {
	content: "";
	position: absolute;
	inset-inline-start: 22px;
	top: 52px;
	bottom: 8px;
	width: 1px;
	background: var(--line);
}

.mf-step:last-child::before {
	display: none;
}

.mf-step__num {
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 0.9375rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.mf-step__title {
	padding-top: 8px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
}

.mf-step__text {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.75;
}

@media (min-width: 900px) {
	.mf-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px;
	}

	.mf-step {
		padding: 0;
	}

	.mf-step__num {
		position: relative;
		margin-bottom: 20px;
	}

	.mf-step__title {
		padding-top: 0;
	}

	.mf-step::before {
		top: 22px;
		bottom: auto;
		inset-inline-start: 60px;
		inset-inline-end: -12px;
		width: auto;
		height: 1px;
	}
}

/* ---------- Home: markets ---------- */
.mf-markets {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.mf-markets__head {
	margin-bottom: 0;
}

.mf-markets__lists {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.mf-markets__group {
	min-width: 0;
	padding: 22px 22px 6px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-markets__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}

.mf-markets__list {
	list-style: none;
}

.mf-markets__list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.mf-markets__name {
	color: var(--ink);
	font-weight: 500;
	line-height: 1.5;
}

.mf-markets__note {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

@media (min-width: 640px) {
	.mf-markets__lists {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (min-width: 1024px) {
	.mf-markets {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		align-items: start;
		gap: 64px;
	}
}

/* ---------- Home: why us ---------- */
.mf-why {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.mf-why__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--primary-soft);
}

.mf-why__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mf-why__body {
	min-width: 0;
}

.mf-why__body .mf-head {
	margin-bottom: 28px;
}

.mf-points {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	list-style: none;
}

.mf-point {
	min-width: 0;
}

.mf-point__title {
	margin: 14px 0 4px;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.mf-point__text {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.75;
}

@media (min-width: 640px) {
	.mf-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 32px;
	}
}

@media (min-width: 1024px) {
	.mf-why {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		align-items: center;
		gap: 64px;
	}

	.mf-why--plain {
		grid-template-columns: minmax(0, 1fr);
	}

	.mf-why__media {
		aspect-ratio: 6 / 5;
	}
}

/* ---------- Home: testimonials ---------- */
.mf-reviews {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	list-style: none;
}

.mf-reviews__item {
	min-width: 0;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	color: var(--text);
}

.mf-review__text p {
	line-height: 1.85;
}

.mf-review__author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.mf-review__avatar {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
}

.mf-review__who {
	min-width: 0;
}

.mf-review__name {
	display: block;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.5;
}

.mf-review__role {
	display: block;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

@media (min-width: 900px) {
	.mf-reviews {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

/* ---------- Home: frequent questions ---------- */
.mf-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

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

@media (min-width: 1024px) {
	.mf-split {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		align-items: start;
		gap: 64px;
	}
}

.mf-faq {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.mf-faq__item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: border-color 0.2s ease;
}

.mf-faq__item[open] {
	border-color: var(--primary-line);
}

.mf-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 14px 20px;
	color: var(--ink);
	font-weight: 500;
	line-height: 1.6;
	list-style: none;
	cursor: pointer;
}

.mf-faq__q::-webkit-details-marker {
	display: none;
}

.mf-faq__q:focus-visible {
	outline-offset: -2px;
	border-radius: var(--radius);
}

.mf-faq__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--primary-soft);
	color: var(--primary);
	transition: transform 0.2s ease;
}

.mf-faq__icon .mf-icon {
	width: 18px;
	height: 18px;
}

.mf-faq__item[open] .mf-faq__icon {
	transform: rotate(45deg);
}

.mf-faq__a {
	padding: 0 20px 20px;
	color: var(--muted);
	line-height: 1.85;
}

/* ---------- Call to action ---------- */
.mf-cta {
	padding-block: 0 clamp(56px, 7vw, 96px);
}

.mf-section--soft + .mf-cta,
.mf-pagehead + .mf-cta {
	padding-top: clamp(56px, 7vw, 96px);
}

.mf-cta__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: clamp(28px, 5vw, 56px);
	border-radius: var(--radius-lg);
	background: var(--primary);
	color: var(--white);
}

.mf-cta__text {
	min-width: 0;
}

.mf-cta__title {
	color: var(--white);
	font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
	font-weight: 600;
	line-height: 1.4;
}

.mf-cta__text p {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.8;
}

.mf-cta .mf-actions {
	margin-top: 0;
}

.mf-cta :focus-visible,
.mf-footer :focus-visible {
	outline-color: var(--white);
}

@media (min-width: 900px) {
	.mf-cta__card {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 40px;
	}
}

/* ---------- Inner pages: head ---------- */
.mf-pagehead {
	padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 52px);
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.mf-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	color: var(--muted);
	font-size: 0.875rem;
}

.mf-breadcrumb li + li::before {
	content: "/";
	margin-inline-end: 8px;
	color: #8a93a5;
}

.mf-breadcrumb a {
	color: var(--muted);
}

.mf-breadcrumb a:hover {
	color: var(--primary);
	text-decoration: underline;
}

.mf-pagehead__title {
	margin-top: 12px;
	color: var(--ink);
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
	font-weight: 600;
	line-height: 1.3;
}

.mf-pagehead__lead {
	max-width: 60ch;
	margin-top: 10px;
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.8;
}

/* ---------- About ---------- */
.mf-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.mf-story__text {
	min-width: 0;
}

.mf-story__text > p:not(.mf-eyebrow) {
	margin-top: 14px;
	line-height: 1.9;
}

.mf-story__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--primary-soft);
}

.mf-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.mf-story {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: center;
		gap: 64px;
	}

	.mf-story--plain {
		grid-template-columns: minmax(0, 1fr);
	}
}

.mf-checks {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	list-style: none;
}

.mf-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.7;
}

.mf-checks .mf-icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--primary);
}

.mf-values {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	list-style: none;
}

.mf-value {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-value__title {
	margin: 16px 0 6px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
}

.mf-value__text {
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.75;
}

@media (min-width: 640px) {
	.mf-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (min-width: 1024px) {
	.mf-values {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
}

.mf-team {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
}

.mf-member {
	min-width: 0;
	padding: 24px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	text-align: center;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-avatar {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
}

.mf-member__name {
	margin-top: 14px;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.mf-member__role {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

@media (min-width: 1024px) {
	.mf-team {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
}

.mf-credits {
	padding: 40px 0 56px;
	border-top: 1px solid var(--line);
}

.mf-credits__title {
	color: var(--ink);
	font-size: 1rem;
	font-weight: 600;
}

.mf-credits__text {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.875rem;
}

.mf-credits__list {
	display: grid;
	gap: 8px;
	margin-top: 16px;
	list-style: none;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.7;
}

.mf-credits__list li {
	overflow-wrap: anywhere;
}

.mf-credits__list a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mf-credits__sep {
	margin-inline: 6px;
	color: #8a93a5;
}

/* ---------- Sectors and services page ---------- */
.mf-catalog {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	list-style: none;
}

.mf-entry {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-entry:target {
	border-color: var(--primary);
}

.mf-entry__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--primary-soft);
}

.mf-entry__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mf-entry__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 22px 22px 18px;
}

.mf-entry__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mf-entry__title {
	color: var(--ink);
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.4;
}

.mf-entry__text {
	margin-top: 12px;
	color: var(--muted);
	line-height: 1.8;
}

.mf-entry__subtitle {
	margin-top: 18px;
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.mf-entry__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px 16px;
	width: 100%;
	margin-top: 10px;
	list-style: none;
}

.mf-entry__items li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.mf-entry__items .mf-icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--primary);
}

.mf-entry__link {
	margin-top: auto;
	padding-top: 16px;
}

@media (min-width: 480px) {
	.mf-entry__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.mf-catalog {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

.mf-services {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.mf-services__intro {
	min-width: 0;
}

.mf-services__intro .mf-head {
	margin-bottom: 0;
}

.mf-services__media {
	aspect-ratio: 3 / 2;
	margin-top: 24px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--primary-soft);
}

.mf-services__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mf-services__list {
	display: grid;
	gap: 12px;
	list-style: none;
}

.mf-service {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-service__body {
	min-width: 0;
}

.mf-service__title {
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.5;
}

.mf-service__text {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.75;
}

@media (min-width: 1024px) {
	.mf-services {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
		gap: 64px;
	}

	.mf-services--plain {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The intro and its photo stay in view beside the list, only where the screen is tall enough to show them whole. */
@media (min-width: 1024px) and (min-height: 760px) {
	.mf-services__intro {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.mf-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 18px 20px;
	border: 1px solid var(--primary-line);
	border-radius: var(--radius);
	background: var(--primary-soft);
	color: var(--ink);
	line-height: 1.8;
}

.mf-notice .mf-icon {
	margin-top: 4px;
	color: var(--primary);
}

/* ---------- Contact ---------- */
.mf-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

.mf-contact__info {
	min-width: 0;
}

.mf-contact__title,
.mf-form-card__title {
	color: var(--ink);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.4;
}

.mf-contact__intro,
.mf-form-card__intro {
	margin-top: 6px;
	color: var(--muted);
	line-height: 1.8;
}

.mf-form-card__intro {
	font-size: 0.9375rem;
}

.mf-contact__list {
	display: grid;
	margin-top: 16px;
	list-style: none;
}

.mf-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.mf-contact__item > div {
	min-width: 0;
}

.mf-contact__label {
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.mf-contact__value {
	color: var(--ink);
	font-weight: 500;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.mf-contact__value a {
	color: inherit;
}

.mf-contact__value a:hover {
	color: var(--primary);
	text-decoration: underline;
}

.mf-tips {
	margin-top: 24px;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--surface);
}

.mf-tips__title {
	color: var(--ink);
	font-weight: 600;
}

.mf-tips .mf-checks {
	margin-top: 12px;
	font-size: 0.9375rem;
}

.mf-form-card {
	min-width: 0;
	padding: clamp(20px, 4vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
}

.mf-form {
	position: relative;
	display: grid;
	gap: 16px;
	margin-top: 20px;
}

.mf-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

@media (min-width: 560px) {
	.mf-form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.mf-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.mf-field label {
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
}

.mf-req {
	color: #b3261e;
}

.mf-field input,
.mf-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--field);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-field textarea {
	min-height: 120px;
	resize: vertical;
}

.mf-field input::placeholder,
.mf-field textarea::placeholder {
	color: #6b7487;
	opacity: 1;
}

.mf-field input:focus,
.mf-field textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(27, 45, 79, 0.18);
	outline: none;
}

[dir="rtl"] .mf-field input[dir="ltr"] {
	text-align: right;
}

.mf-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.mf-form__privacy {
	color: var(--muted);
	font-size: 0.8125rem;
	text-align: center;
}

.mf-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 10px;
	line-height: 1.7;
}

.mf-alert .mf-icon {
	margin-top: 3px;
}

.mf-alert--success {
	background: #e8f4ec;
	color: #1d5a32;
}

.mf-alert--error {
	background: #fbeaea;
	color: #8a1f1f;
}

@media (min-width: 1024px) {
	.mf-contact {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		align-items: start;
		gap: 48px;
	}
}

.mf-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* ---------- Other pages and not found ---------- */
.mf-prose {
	max-width: 760px;
	line-height: 1.9;
}

.mf-prose h2,
.mf-prose h3 {
	margin: 1.6em 0 0.5em;
	color: var(--ink);
	line-height: 1.4;
}

.mf-prose p,
.mf-prose ul,
.mf-prose ol {
	margin: 0 0 1em;
}

.mf-prose ul,
.mf-prose ol {
	padding-inline-start: 1.25em;
}

.mf-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mf-notfound__inner {
	max-width: 600px;
	text-align: center;
}

.mf-notfound__code {
	color: var(--primary-line);
	font-size: clamp(3rem, 2rem + 4vw, 5rem);
	font-weight: 600;
	line-height: 1;
}

.mf-notfound__title {
	margin-top: 14px;
	color: var(--ink);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
	font-weight: 600;
	line-height: 1.4;
}

.mf-notfound__text {
	margin-top: 12px;
	color: var(--muted);
	line-height: 1.85;
}

/* ---------- Footer ---------- */
.mf-footer {
	padding-top: clamp(48px, 6vw, 72px);
	background: var(--secondary);
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.9375rem;
}

.mf-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
}

.mf-footer__grid > * {
	min-width: 0;
}

.mf-footer__brand,
.mf-footer__contact {
	grid-column: 1 / -1;
}

.mf-footer__desc {
	max-width: 42ch;
	margin-top: 16px;
	line-height: 1.85;
}

.mf-footer__title {
	margin-bottom: 12px;
	color: var(--white);
	font-size: 1rem;
	font-weight: 600;
}

.mf-footer__links {
	display: grid;
	list-style: none;
}

.mf-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: rgba(255, 255, 255, 0.74);
	line-height: 1.5;
}

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

.mf-footer__contact-list {
	display: grid;
	gap: 10px;
	list-style: none;
}

.mf-footer__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	line-height: 1.7;
}

.mf-footer__contact-list .mf-icon {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: #9aa6ba;
}

.mf-footer__contact-list span,
.mf-footer__contact-list a {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mf-footer__contact-list a {
	color: rgba(255, 255, 255, 0.86);
}

.mf-footer__contact-list a:hover {
	color: var(--white);
	text-decoration: underline;
}

.mf-footer__chat {
	margin: 18px 0 12px;
}

.mf-footer a.mf-btn--on-dark {
	margin-top: 4px;
	color: var(--white);
}

.mf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
	list-style: none;
}

.mf-social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--secondary-line);
	border-radius: 10px;
	color: var(--white);
}

.mf-social a:hover {
	background: rgba(255, 255, 255, 0.08);
}

.mf-social--dark a {
	border-color: var(--line);
	color: var(--primary);
}

.mf-social--dark a:hover {
	background: var(--primary-soft);
}

.mf-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 40px;
	padding: 20px 0 88px;
	border-top: 1px solid var(--secondary-line);
	font-size: 0.875rem;
}

.mf-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.mf-footer__meta a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: rgba(255, 255, 255, 0.74);
}

.mf-footer__meta a:hover {
	color: var(--white);
	text-decoration: underline;
}

@media (min-width: 640px) {
	.mf-footer__bottom {
		padding-bottom: 28px;
	}
}

@media (min-width: 900px) {
	.mf-footer__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.35fr);
		gap: 40px;
	}

	.mf-footer__brand,
	.mf-footer__contact {
		grid-column: auto;
	}
}

/* ---------- Floating buttons ---------- */
.mf-float {
	position: fixed;
	bottom: 16px;
	z-index: 40;
	display: grid;
	place-items: center;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(15, 26, 46, 0.18);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.mf-float.is-left {
	left: 16px;
}

.mf-float.is-right {
	right: 16px;
}

.mf-float.is-end {
	inset-inline-end: 16px;
}

.mf-wa {
	width: 52px;
	height: 52px;
	background: var(--whatsapp);
	color: var(--white);
}

.mf-wa:hover {
	background: #0e7a3f;
	color: var(--white);
}

.mf-wa .mf-icon {
	width: 26px;
	height: 26px;
}

.mf-top {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--primary);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.2s ease;
}

.mf-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.mf-top:hover {
	background: var(--primary-soft);
}

/* ---------- First-view fade (only when the script allows motion) ---------- */
.mf-anim .mf-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.mf-anim .mf-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Hover on cards: a border and the one soft shadow, no movement. */
.mf-value:hover,
.mf-member:hover,
.mf-service:hover,
.mf-entry:hover,
.mf-markets__group:hover {
	border-color: var(--primary-line);
	box-shadow: var(--shadow);
}

/* ---------- Touch: tap targets of at least 44 px ---------- */
@media (pointer: coarse) {
	.mf-btn--sm,
	.mf-lang {
		min-height: 44px;
	}

	.mf-footer__links a,
	.mf-footer__meta a {
		min-height: 44px;
	}

	.mf-breadcrumb a {
		display: inline-block;
		padding-block: 10px;
	}

	.mf-breadcrumb ol {
		align-items: center;
	}
}

/* ---------- English (Latin) adjustments ---------- */
html[lang="en"] .mf-hero__title,
html[lang="en"] .mf-pagehead__title {
	line-height: 1.18;
	letter-spacing: -0.01em;
}

html[lang="en"] .mf-head__title,
html[lang="en"] .mf-cta__title {
	line-height: 1.25;
}

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.mf-anim .mf-reveal {
		opacity: 1;
		transform: none;
	}

	.mf-sector:hover .mf-sector__media img {
		transform: none;
	}

	.mf-top {
		transform: none;
	}
}
