/*
 * MADA Tech sections — Figma «Website Pages» (Home — Desktop 14:2 and the inner pages).
 * Loaded after inner.css, before motion.css. Uses the family tokens from tokens.css only.
 */

/* ---------- Family details ---------- */
/* Eyebrow line sits on the start side (right in RTL), as in Figma «Eyebrow». */
.mt-eyebrow::after { content: none; }
.mt-eyebrow::before {
	content: "";
	flex: none;
	width: 32px;
	height: 2px;
	background: currentColor;
}
.mt-heading--center .mt-eyebrow { justify-content: center; }

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

/* Blueprint grid + rings on navy sections (Figma ideas A + C). */
section.mt-on-dark { position: relative; }
section.mt-on-dark:not(.mt-page-hero) { background-color: var(--mt-bg-page); }
.mt-grid-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(111, 168, 236, 0.07) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(111, 168, 236, 0.07) 1px, transparent 1px) 0 0 / 48px 48px;
}
.mt-ring {
	position: absolute;
	border: 2px solid rgba(111, 168, 236, 0.16);
	border-radius: 50%;
	pointer-events: none;
}
.mt-ring--lg { width: 560px; height: 560px; inset-inline-end: -200px; top: -220px; }
.mt-ring--sm { width: 400px; height: 400px; inset-inline-end: -120px; top: -140px; }
.mt-on-dark > .mt-container { position: relative; z-index: 1; }

/* ---------- Page hero (navy band, Figma «Page Hero») ---------- */
.mt-page-hero--band {
	min-height: 0;
	padding-block: 88px;
	background: linear-gradient(150deg, #0c3b78 0%, var(--mt-navy-900) 100%);
	overflow: hidden;
}
.mt-page-hero--band::before { content: none; }
.mt-page-hero--band > .mt-container { gap: 14px; }
.mt-page-hero--band .mt-breadcrumb { color: var(--mt-slate-500); }
.mt-page-hero--band .mt-breadcrumb li:last-child { color: var(--mt-slate-300); }

/* ---------- Home hero (split) ---------- */
.mt-thero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 640px;
	min-height: 640px;
	background: var(--mt-bg-surface);
}
.mt-thero__text {
	display: flex;
	align-items: center;
	padding: 64px 80px 72px 64px;
	padding-inline-start: max(var(--mt-gutter), calc((100vw - var(--mt-container)) / 2));
}
.mt-thero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 640px;
}
.mt-thero__title {
	font-size: var(--mt-fs-h1);
	font-weight: 600;
	line-height: var(--mt-lh-heading);
}
.mt-thero__title em { font-style: normal; color: var(--mt-text-brand); }
.mt-thero__body {
	max-width: 560px;
	color: var(--mt-text-secondary);
	font-size: var(--mt-fs-body-lg);
	line-height: var(--mt-lh-body);
}
.mt-thero .mt-actions { margin-top: 16px; }
.mt-thero__media {
	position: relative;
	overflow: hidden;
	background: var(--mt-navy-800);
}
.mt-thero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mt-thero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(8, 28, 51, 0.45), rgba(8, 28, 51, 0));
}
/* Cut V corner (idea B) on the side that meets the text. */
.mt-thero__wedge {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	z-index: 1;
	width: 150px;
	height: 150px;
	background: var(--mt-bg-surface);
	clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.mt-thero__stats {
	position: absolute;
	bottom: 0;
	inset-inline-end: 0;
	z-index: 1;
	display: flex;
	background: var(--mt-bg-brand);
	color: var(--mt-white);
}
.mt-thero__stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 24px 36px;
	font-size: var(--mt-fs-small);
	color: rgba(255, 255, 255, 0.85);
}
.mt-thero__stat + .mt-thero__stat { border-inline-start: 1px solid rgba(255, 255, 255, 0.2); }
.mt-thero__num {
	font-family: var(--mt-font-latin);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--mt-white);
	text-align: start;
}

/* ---------- About (photo + text) ---------- */
.mt-tabout__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 560px;
	align-items: center;
	gap: 96px;
}
.mt-tabout__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 624px;
}
.mt-tabout__text .mt-checklist { padding-top: 8px; }
.mt-tabout__media {
	position: relative;
	order: 2;
	padding: 0 24px 24px 0;
}
.mt-tabout__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	aspect-ratio: 536 / 476;
	object-fit: cover;
	border-radius: var(--mt-radius-md);
}
.mt-tabout__accent {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 200px;
	height: 200px;
	background: var(--mt-bg-brand);
	border-radius: var(--mt-radius-md);
}
[dir="rtl"] .mt-tabout__media { padding: 0 0 24px 24px; }
.mt-checklist__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(16, 82, 163, 0.1);
	color: var(--mt-icon-brand);
}
.mt-on-dark .mt-checklist__icon { background: rgba(111, 168, 236, 0.14); }
.mt-checklist--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.mt-checklist--ltr li span[dir="ltr"] { text-align: start; }

/* ---------- Product families (navy cards) ---------- */
.mt-tfam { overflow: hidden; background: var(--mt-bg-page); }
.mt-tfam .mt-section__head-row { align-items: flex-end; }
.mt-tfam__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.mt-fcard {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 340px;
	padding: 32px 28px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-sm);
	background: var(--mt-bg-surface);
	color: var(--mt-text-primary);
	transition: background-color 0.3s var(--mt-ease), border-color 0.3s var(--mt-ease), transform 0.3s var(--mt-ease);
}
.mt-fcard:hover { border-color: var(--mt-border-brand); transform: translateY(-4px); }
.mt-fcard.is-active { background: var(--mt-bg-brand); border-color: var(--mt-bg-brand); }
.mt-fcard__num {
	font-family: var(--mt-font-latin);
	font-size: var(--mt-fs-caption);
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--mt-text-brand);
}
.mt-fcard__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 18px 0;
	border: 1.5px solid var(--mt-border-brand);
	border-radius: 50%;
	color: var(--mt-icon-brand);
}
.mt-fcard__title { font-size: 22px; font-weight: 600; line-height: 1.65; }
.mt-fcard__text {
	flex: 1;
	margin-top: 6px;
	color: var(--mt-text-secondary);
	font-size: var(--mt-fs-small);
	line-height: 1.8;
}
.mt-fcard__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-top: 18px;
	font-size: var(--mt-fs-label);
	font-weight: 600;
}
.mt-fcard.is-active .mt-fcard__num,
.mt-fcard.is-active .mt-fcard__text { color: rgba(255, 255, 255, 0.85); }
.mt-fcard.is-active .mt-fcard__icon { border-color: var(--mt-white); color: var(--mt-white); }

/* ---------- Logistics process line ---------- */
.mt-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	list-style: none;
}
.mt-steps::before,
.mt-steps::after {
	content: "";
	position: absolute;
	top: 27px;
	inset-inline-start: calc(100% / 14);
	height: 2px;
}
.mt-steps::before { inset-inline-end: calc(100% / 14); background: var(--mt-border-default); }
.mt-steps::after {
	width: calc((100% - 100% / 7) * (var(--mt-steps-done) - 1) / 6);
	background: var(--mt-bg-brand);
	transition: width 1.4s var(--mt-ease);
}
.mt-steps__item {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-inline: 6px;
	text-align: center;
}
.mt-steps__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 2px solid var(--mt-border-default);
	border-radius: 50%;
	background: var(--mt-bg-surface);
	color: var(--mt-text-tertiary);
	font-family: var(--mt-font-latin);
	font-size: var(--mt-fs-step);
	font-weight: 600;
	transition: background-color 0.4s var(--mt-ease), border-color 0.4s var(--mt-ease), color 0.4s var(--mt-ease);
}
.mt-steps__item.is-done .mt-steps__dot { background: var(--mt-bg-brand); border-color: var(--mt-bg-brand); color: var(--mt-white); }
.mt-steps__item.is-current .mt-steps__dot { border-color: var(--mt-border-brand); color: var(--mt-text-brand); }
.mt-steps__label { font-weight: 600; line-height: 1.7; }
.mt-on-dark .mt-steps__dot { background: var(--mt-navy-900); }
.mt-on-dark .mt-steps__item.is-done .mt-steps__dot { background: var(--mt-bg-brand); }
.mt-tsteps { overflow: hidden; }

/* ---------- Brands + standards ---------- */
.mt-brands {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}
.mt-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 130px;
	padding: 24px 28px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-sm);
	background: var(--mt-bg-surface);
	transition: border-color 0.3s var(--mt-ease);
}
.mt-brand img {
	max-width: 100%;
	max-height: 56px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s var(--mt-ease), opacity 0.3s var(--mt-ease);
}
.mt-brand:hover { border-color: var(--mt-border-brand); }
.mt-brand:hover img { filter: none; opacity: 1; }
.mt-brands--large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mt-brands--large .mt-brand { height: 200px; }
.mt-brands--large .mt-brand img { max-height: 72px; }
.mt-brand__name { font-family: var(--mt-font-latin); font-size: 17px; font-weight: 600; color: var(--mt-text-secondary); }

.mt-stds { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mt-stds__label { font-weight: 600; margin-inline-end: 4px; }
.mt-std {
	display: inline-flex;
	align-items: center;
	padding: 6px 18px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-sm);
	background: var(--mt-bg-surface);
	font-family: var(--mt-font-latin);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
}
.mt-tbrands--stds-only .mt-brands { display: none; }
.mt-tbrands--stds-only { padding-block: 72px; }

.mt-std-cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}
.mt-std-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-page);
}
.mt-std-card__text { color: var(--mt-text-secondary); font-size: var(--mt-fs-small); line-height: 1.7; }

/* ---------- Group band ---------- */
.mt-tgroup { padding-block: 72px; }
.mt-tgroup__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}
.mt-tgroup__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 720px; }

/* ---------- CTA band (blue) ---------- */
.mt-tcta {
	position: relative;
	overflow: hidden;
	padding-block: 72px;
	background: var(--mt-bg-brand);
	color: var(--mt-white);
}
.mt-tcta__ring {
	position: absolute;
	inset-inline-end: -80px;
	top: -120px;
	width: 300px;
	height: 300px;
	border: 2px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
}
.mt-tcta__ring--lg { inset-inline-end: -140px; top: -180px; width: 420px; height: 420px; }
.mt-tcta__row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.mt-tcta__text { display: flex; flex-direction: column; gap: 8px; }
.mt-tcta__text p { opacity: 0.85; }
.mt-tcta .mt-btn--ghost { border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Products archive ---------- */
.mt-pgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.mt-pcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-surface);
	transition: border-color 0.3s var(--mt-ease), box-shadow 0.3s var(--mt-ease), transform 0.3s var(--mt-ease);
}
.mt-pcard:hover { border-color: var(--mt-border-brand); box-shadow: var(--mt-shadow-card); transform: translateY(-4px); }
.mt-pcard__media { display: block; aspect-ratio: 400 / 260; overflow: hidden; background: var(--mt-bg-muted); }
.mt-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--mt-ease); }
.mt-pcard:hover .mt-pcard__media img { transform: scale(1.04); }
.mt-pcard__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 24px 28px; }
.mt-pcard__num { font-family: var(--mt-font-latin); font-size: var(--mt-fs-caption); font-weight: 600; letter-spacing: 0.1em; color: var(--mt-text-brand); }
.mt-pcard__title { font-size: var(--mt-fs-h4); font-weight: 600; line-height: var(--mt-lh-h4); }
.mt-pcard__items { flex: 1; width: 100%; color: var(--mt-text-secondary); font-size: var(--mt-fs-small); line-height: 1.7; text-align: right; }
.mt-pcard__more { display: inline-flex; align-items: center; gap: 8px; padding-top: 8px; color: var(--mt-text-brand); font-size: var(--mt-fs-label); font-weight: 600; }

/* Family rows (mechanical, fiber) */
.mt-frow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 80px;
}
.mt-frow__media { order: 2; }
.mt-frow--flip .mt-frow__media { order: 0; }
.mt-frow__media img { display: block; width: 100%; aspect-ratio: 600 / 420; object-fit: cover; border-radius: var(--mt-radius-md); }
.mt-frow__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* ---------- Product line (single) ---------- */
.mt-pline {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 80px;
}
.mt-pline__media { order: 2; position: sticky; top: calc(var(--mt-header-sticky-h) + 24px); }
.mt-pline__media img { display: block; width: 100%; aspect-ratio: 620 / 520; object-fit: cover; border-radius: var(--mt-radius-md); }
.mt-pline__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mt-stdbox {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 20px 24px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-surface);
}
.mt-stdbox__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mt-text-primary); }
.mt-stdbox__label .mt-icon { color: var(--mt-icon-brand); }
.mt-stdbox__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-stdbox .mt-std { font-size: 15px; padding: 4px 14px; background: var(--mt-bg-page); }

/* ---------- Logistics cards ---------- */
.mt-lgrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
}
.mt-lcard {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 28px 24px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-surface);
}
.mt-lcard__top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 8px; }
.mt-lcard__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(16, 82, 163, 0.08);
	color: var(--mt-icon-brand);
}
.mt-lcard__num { font-family: var(--mt-font-latin); font-size: var(--mt-fs-step); font-weight: 600; color: var(--mt-text-tertiary); }
.mt-lcard__title { font-size: var(--mt-fs-h4); font-weight: 600; line-height: var(--mt-lh-h4); }
.mt-lcard__text { color: var(--mt-text-secondary); font-size: var(--mt-fs-small); line-height: 1.8; }

/* ---------- About: milestones ---------- */
.mt-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
}
.mt-timeline::before {
	content: "";
	position: absolute;
	top: 11px;
	inset-inline: calc(100% / 6);
	height: 2px;
	background: var(--mt-border-default);
}
.mt-timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.mt-timeline__dot { width: 24px; height: 24px; border: 6px solid var(--mt-bg-surface); border-radius: 50%; background: var(--mt-bg-brand); box-shadow: 0 0 0 1px var(--mt-border-brand); }
.mt-timeline__date { font-size: var(--mt-fs-h4); font-weight: 600; color: var(--mt-text-brand); }
.mt-timeline__text { max-width: 320px; color: var(--mt-text-secondary); }

/* ---------- Quote page ---------- */
.mt-quote {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	align-items: start;
	gap: 64px;
}
.mt-quote__form { display: flex; flex-direction: column; gap: 32px; }
.mt-quote__card {
	position: sticky;
	top: calc(var(--mt-header-sticky-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px;
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-page);
	overflow: hidden;
}
.mt-clist { display: flex; flex-direction: column; gap: 18px; list-style: none; }
.mt-clist li { display: flex; align-items: flex-start; gap: 14px; }
.mt-clist li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.mt-clist small { color: var(--mt-text-tertiary); font-size: var(--mt-fs-small); }
.mt-clist a { color: var(--mt-text-primary); font-weight: 600; }
.mt-clist a:hover { color: var(--mt-text-brand); }
.mt-clist a[dir="ltr"] { text-align: end; align-self: flex-start; }
.mt-clist__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(111, 168, 236, 0.14);
	color: var(--mt-icon-brand);
}
.mt-quote__map { overflow: hidden; border-radius: var(--mt-radius-sm); }
.mt-quote__map iframe { display: block; width: 100%; height: 220px; border: 0; }
.mt-quote__map--empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 180px;
	border: 1px dashed var(--mt-border-default);
	color: var(--mt-text-tertiary);
	font-size: var(--mt-fs-small);
}

/* File field */
.mt-field__label { font-weight: 600; }
.mt-file {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 96px;
	padding: 16px;
	border: 1px dashed var(--mt-border-default);
	border-radius: var(--mt-radius-sm);
	background: var(--mt-bg-muted);
	color: var(--mt-text-tertiary);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.25s var(--mt-ease), color 0.25s var(--mt-ease);
}
.mt-file .mt-icon { color: var(--mt-icon-brand); flex: none; }
.mt-file:hover,
.mt-file.is-drag { border-color: var(--mt-border-brand); color: var(--mt-text-primary); }
.mt-file.has-file { color: var(--mt-text-primary); border-style: solid; }
.mt-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.mt-thero { grid-template-columns: minmax(0, 1fr) 46%; }
	.mt-tabout__row { grid-template-columns: minmax(0, 1fr) 44%; gap: 56px; }
	.mt-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mt-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-std-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mt-quote { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
}

@media (max-width: 991px) {
	.mt-tfam__cards,
	.mt-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-frow,
	.mt-pline,
	.mt-quote { grid-template-columns: 1fr; gap: 40px; }
	.mt-frow__media,
	.mt-frow--flip .mt-frow__media,
	.mt-pline__media { order: 0; position: static; }
	.mt-quote__card { position: static; }
}

@media (max-width: 767px) {
	.mt-thero { grid-template-columns: 1fr; min-height: 0; }
	.mt-thero__text { padding: 48px var(--mt-gutter) 40px; }
	.mt-thero__media { order: 2; height: 300px; }
	.mt-thero__wedge { width: 72px; height: 72px; }
	.mt-thero__stats { inset-inline: 0; }
	.mt-thero__stat { flex: 1; padding: 16px 20px; }
	.mt-thero__num { font-size: 32px; }
	.mt-thero .mt-actions { margin-top: 8px; }
	.mt-thero .mt-actions .mt-btn { flex: 1; }

	.mt-tabout__row { grid-template-columns: 1fr; gap: 40px; }
	.mt-tabout__media { order: 0; }
	.mt-tabout__accent { width: 120px; height: 120px; }

	.mt-tfam .mt-section__head-row,
	.mt-tgroup__row,
	.mt-tcta__row { flex-direction: column; align-items: flex-start; }
	.mt-tfam__cards,
	.mt-pgrid,
	.mt-lgrid,
	.mt-checklist--2col { grid-template-columns: 1fr; }
	.mt-fcard { min-height: 0; }

	/* Steps turn vertical with the line on the start side. */
	.mt-steps { grid-template-columns: 1fr; gap: 20px; }
	.mt-steps::before,
	.mt-steps::after { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; }
	.mt-steps::after { bottom: auto; height: calc((100% - 56px) * (var(--mt-steps-done) - 1) / 6); }
	.mt-steps__item { flex-direction: row; gap: 16px; text-align: start; padding: 0; }
	.mt-steps__dot { flex: none; }

	.mt-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mt-brand { height: 100px; padding: 18px; }
	.mt-brands--large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-brands--large .mt-brand { height: 150px; }
	.mt-std-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.mt-timeline { grid-template-columns: 1fr; gap: 28px; }
	.mt-timeline::before { top: 12px; bottom: 12px; inset-inline-start: 11px; inset-inline-end: auto; width: 2px; height: auto; }
	.mt-timeline li { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: start; }
	.mt-timeline__text { flex-basis: 100%; padding-inline-start: 36px; }

	.mt-page-hero--band { padding-block: 48px; }
	.mt-tcta,
	.mt-tgroup { padding-block: 56px; }
	.mt-tcta .mt-actions { width: 100%; }
	.mt-quote__card { padding: 24px 20px; }
}

/* Quote form card (Figma «Quote — Desktop»): white card, submit button sized to its label at the end. */
.mt-quote__form {
	padding: 40px;
	border: 1px solid var(--mt-border-default);
	border-radius: var(--mt-radius-md);
	background: var(--mt-bg-surface);
}
.mt-quote__form .mt-form > .mt-btn--block { width: auto; align-self: flex-end; }
@media (max-width: 767px) {
	.mt-quote__form { padding: 24px 20px; }
	.mt-quote__form .mt-form > .mt-btn--block { width: 100%; align-self: stretch; }
}

/* Mobile hero as in Figma «Home — Mobile»: stacked full-width buttons, photo then the stats strip below it. */
@media (max-width: 767px) {
	.mt-thero .mt-actions { flex-direction: column; width: 100%; }
	.mt-thero .mt-actions .mt-btn { width: 100%; }
	.mt-thero__media { display: flex; flex-direction: column; height: auto; }
	.mt-thero__media img { position: relative; height: 260px; }
	.mt-thero__media::after { bottom: auto; height: 260px; }
	.mt-thero__stats { position: static; }
	.mt-stds__label { flex-basis: 100%; }
}
