/**
 * Mafron International — theme styles.
 *
 * Layout order mirrors the page: tokens, base, header, hero, homepage
 * sections, inner pages, footer, utilities, responsive.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--maf-gold: #c08d2d;
	--maf-gold-600: #a8761f;
	--maf-gold-100: #f6ecd9;
	--maf-accent: #e08a2c;

	--maf-ink: #171717;
	--maf-ink-2: #3d3d3d;
	--maf-muted: #6e6e6e;
	--maf-faint: #9a9a9a;

	--maf-bg: #ffffff;
	--maf-bg-soft: #faf7f2;
	--maf-bg-warm: #f6f2ea;
	--maf-dark: #1c1c1c;
	--maf-line: #ece5d9;

	--maf-shadow-sm: 0 4px 14px rgba(28, 28, 28, .06);
	--maf-shadow: 0 18px 44px rgba(28, 28, 28, .09);
	--maf-shadow-lg: 0 30px 70px rgba(28, 28, 28, .14);

	--maf-radius: 8px;
	--maf-radius-sm: 4px;

	--maf-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--maf-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--maf-container: 1200px;
	--maf-gutter: 24px;
	--maf-section-y: 92px;
	--maf-header-h: 82px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/*
 * The mobile drawer sits off-canvas at translateX(100%), which would otherwise
 * widen the document. `clip` suppresses that without creating a scroll
 * container, so the sticky header keeps working.
 */
html, body { overflow-x: clip; }

@supports not (overflow-x: clip) {
	body { overflow-x: hidden; }
}

body {
	margin: 0;
	font-family: var(--maf-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--maf-ink-2);
	background: var(--maf-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--maf-display);
	color: var(--maf-ink);
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 0 0 .6em;
	font-weight: 800;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--maf-gold-600); text-decoration: none; }
a:hover { color: var(--maf-gold); }

img { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

:focus-visible {
	outline: 2px solid var(--maf-gold);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 2000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	background: var(--maf-dark);
	color: #fff;
	border-radius: var(--maf-radius-sm);
}

.maf-container {
	width: 100%;
	max-width: var(--maf-container);
	margin: 0 auto;
	padding: 0 var(--maf-gutter);
}

.maf-section { padding: var(--maf-section-y) 0; }
.maf-section--specialize { padding-top: 74px; }

.maf-gold { color: var(--maf-gold); }

/* Section heading block */

.maf-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--maf-accent);
}
.maf-eyebrow a { color: inherit; }
.maf-eyebrow--center { text-align: center; }

.maf-sec-head { margin-bottom: 46px; }
.maf-sec-head--center { text-align: center; }

.maf-sec-head__title {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 36px);
}

.maf-rule {
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 18px;
	background: var(--maf-gold);
	border-radius: 2px;
}
.maf-sec-head--center .maf-rule { margin-left: auto; margin-right: auto; }

.maf-section__foot { margin-top: 44px; text-align: center; }

.maf-checklist {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 12px;
}
.maf-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 15px;
	color: var(--maf-ink-2);
}
.maf-checklist .maf-icon {
	width: 19px;
	height: 19px;
	margin-top: 3px;
	color: var(--maf-gold);
}
.maf-checklist--tight li { font-size: 14.5px; }

.maf-prose { max-width: 820px; }
.maf-prose h2 { font-size: 26px; margin-top: 1.7em; }
.maf-prose h3 { font-size: 20px; margin-top: 1.5em; }
.maf-prose > *:first-child { margin-top: 0; }
.maf-prose ul, .maf-prose ol { margin-bottom: 1.3em; }
.maf-prose li { margin-bottom: .45em; }
.maf-prose blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--maf-gold);
	font-size: 18px;
	color: var(--maf-ink);
}
.maf-prose img { border-radius: var(--maf-radius); }

/* ==========================================================================
   3. Header
   ========================================================================== */

.maf-topbar {
	background: var(--maf-dark);
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
}
.maf-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 40px;
}
.maf-topbar__tag { margin: 0; letter-spacing: .02em; }
.maf-topbar__contact {
	list-style: none;
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
}
.maf-topbar__contact li { display: flex; align-items: center; gap: 8px; }
.maf-topbar__contact .maf-icon { width: 15px; height: 15px; color: var(--maf-gold); }
.maf-topbar__contact a { color: inherit; }
.maf-topbar__contact a:hover { color: #fff; }

.maf-header {
	background: #fff;
	border-bottom: 1px solid var(--maf-line);
	z-index: 900;
}
.maf-header-sticky .maf-header {
	position: sticky;
	top: 0;
}
.maf-header.is-stuck { box-shadow: var(--maf-shadow-sm); }

.maf-header__inner {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 20px;
	min-height: var(--maf-header-h);
}

.maf-header__brand { flex: none; }

.maf-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--maf-ink);
}
.maf-logo__mark { width: 38px; height: 38px; color: var(--maf-gold); flex: none; }
.maf-logo__mark svg { width: 100%; height: 100%; display: block; }
.maf-logo__text { display: flex; flex-direction: column; line-height: 1; }
.maf-logo__name {
	font-family: var(--maf-display);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: inherit;
}
.maf-logo__sub {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--maf-faint);
	margin-top: 4px;
}
.maf-logo--light { color: #fff; }
.maf-logo--light .maf-logo__sub { color: rgba(255, 255, 255, .6); }

.custom-logo-link img { max-height: 52px; width: auto; }

/* Navigation */

.maf-nav { margin-left: auto; min-width: 0; }

.maf-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.maf-nav__list > li { position: relative; }

.maf-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	padding: 10px 11px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--maf-ink-2);
	position: relative;
}
.maf-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	bottom: 2px;
	height: 2px;
	background: var(--maf-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.maf-nav__list > li > a:hover { color: var(--maf-ink); }
.maf-nav__list > li > a:hover::after,
.maf-nav__list > li.current-menu-item > a::after,
.maf-nav__list > li.current_page_item > a::after,
.maf-nav__list > li.current-menu-ancestor > a::after,
.maf-nav__list > li.current-menu-parent > a::after { transform: scaleX(1); }

.maf-nav__list > li.current-menu-item > a,
.maf-nav__list > li.current_page_item > a { color: var(--maf-ink); }

.maf-has-children > a { padding-right: 6px; }

.maf-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--maf-faint);
	cursor: pointer;
	transition: transform .25s;
}
.maf-submenu-toggle svg { width: 15px; height: 15px; }
.maf-submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.maf-submenu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 232px;
	list-style: none;
	margin: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius);
	box-shadow: var(--maf-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 20;
}
.maf-has-children:hover > .maf-submenu,
.maf-has-children:focus-within > .maf-submenu,
.maf-has-children.is-open > .maf-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.maf-submenu a {
	display: block;
	padding: 9px 13px;
	border-radius: var(--maf-radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: var(--maf-ink-2);
	transition: background-color .18s, color .18s;
}
.maf-submenu a:hover { background: var(--maf-bg-soft); color: var(--maf-gold-600); }

/* Header actions */

.maf-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.maf-icon-btn {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius-sm);
	background: #fff;
	color: var(--maf-ink-2);
	cursor: pointer;
	transition: border-color .18s, color .18s;
}
.maf-icon-btn:hover { border-color: var(--maf-gold); color: var(--maf-gold-600); }
.maf-icon-btn svg { width: 19px; height: 19px; }

.maf-header__quote {
	position: relative;
	flex: none;
	padding: 13px 20px;
	white-space: nowrap;
}

.maf-header__quote-ico { display: none; }
.maf-header__quote-ico .maf-icon { width: 18px; height: 18px; }

.maf-header__quote-badge {
	display: none;
	min-width: 21px;
	height: 21px;
	padding: 0 6px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .22);
	font-size: 12px;
	line-height: 21px;
	text-align: center;
}
.maf-header__quote.has-items .maf-header__quote-badge { display: inline-block; }

.maf-burger { display: none; }
.maf-burger__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 19px;
}
.maf-burger__bars i {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s, opacity .2s;
}
.maf-burger[aria-expanded="true"] .maf-burger__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.maf-burger[aria-expanded="true"] .maf-burger__bars i:nth-child(2) { opacity: 0; }
.maf-burger[aria-expanded="true"] .maf-burger__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Search panel */

.maf-search-panel {
	border-top: 1px solid var(--maf-line);
	background: var(--maf-bg-soft);
	padding: 20px 0;
}

.maf-searchform { display: flex; gap: 10px; }
.maf-searchform__input {
	flex: 1;
	padding: 13px 16px;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius-sm);
	font: inherit;
	font-size: 15px;
	background: #fff;
}
.maf-searchform__input:focus {
	outline: none;
	border-color: var(--maf-gold);
	box-shadow: 0 0 0 3px rgba(192, 141, 45, .14);
}
.maf-searchform__submit {
	width: 50px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--maf-radius-sm);
	background: var(--maf-gold);
	color: #fff;
	cursor: pointer;
	transition: background-color .18s;
}
.maf-searchform__submit:hover { background: var(--maf-gold-600); }
.maf-searchform__submit svg { width: 19px; height: 19px; }

/* Button variant that only the theme uses */

.maf-btn--white {
	background: #fff;
	color: var(--maf-ink);
	border-color: var(--maf-line);
	box-shadow: var(--maf-shadow-sm);
}
.maf-btn--white:hover { background: #fff; border-color: var(--maf-gold); color: var(--maf-gold-600); }

/* ==========================================================================
   4. Hero
   ========================================================================== */

.maf-hero {
	position: relative;
	background: var(--maf-bg-warm);
	overflow: hidden;
	isolation: isolate;
}

.maf-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.maf-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
	display: block;
}
/* Sits over the image, which stays behind as the poster and the fallback. */
.maf-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
	display: block;
}
@media (prefers-reduced-motion: reduce) {
	.maf-hero__video { display: none; }
}
.maf-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg,
		rgba(252, 250, 246, .98) 0%,
		rgba(252, 250, 246, .95) 34%,
		rgba(252, 250, 246, .58) 52%,
		rgba(252, 250, 246, .06) 74%,
		rgba(252, 250, 246, 0) 100%);
}

.maf-hero__inner {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	padding-top: 76px;
	padding-bottom: 128px;
}

.maf-hero__content { max-width: 560px; }

.maf-hero__title {
	margin: 0 0 22px;
	font-size: clamp(34px, 4.6vw, 52px);
	line-height: 1.12;
}
.maf-hero__title-break { display: block; }

.maf-hero__text {
	margin: 0 0 32px;
	font-size: 16.5px;
	line-height: 1.8;
	color: var(--maf-muted);
	max-width: 460px;
}

.maf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   5. Feature strip
   ========================================================================== */

.maf-features {
	position: relative;
	margin-top: -76px;
	z-index: 5;
}

.maf-features__card {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #fff;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius);
	box-shadow: var(--maf-shadow);
	overflow: hidden;
}

.maf-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 26px;
	border-right: 1px solid var(--maf-line);
}
.maf-feature:last-child { border-right: 0; }

.maf-feature__icon {
	flex: none;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	color: var(--maf-gold);
}
.maf-feature__icon .maf-icon { width: 30px; height: 30px; }

.maf-feature__title {
	margin: 0 0 5px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.01em;
}
.maf-feature__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--maf-muted);
}

/* ==========================================================================
   6. Alternating category sections
   ========================================================================== */

.maf-catsections {
	padding: var(--maf-section-y) 0;
	background: var(--maf-bg-soft);
}

.maf-catsection { padding: 34px 0; }

.maf-catsection__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}

.maf-catsection.is-reverse .maf-catsection__media { order: 2; }
.maf-catsection.is-reverse .maf-catsection__content { order: 1; }

.maf-catsection__media { position: relative; }

.maf-catsection__frame {
	position: relative;
	z-index: 1;
	border-radius: var(--maf-radius);
	overflow: hidden;
	box-shadow: var(--maf-shadow);
	aspect-ratio: 4 / 3;
	background: var(--maf-bg-warm);
}
.maf-catsection__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Warm panel offset behind the image, flipping side with the layout. */
.maf-catsection__media::before {
	content: "";
	position: absolute;
	z-index: 0;
	width: 46%;
	height: 64%;
	bottom: -20px;
	left: -20px;
	background: var(--maf-gold-100);
	border-radius: var(--maf-radius);
}
.maf-catsection.is-reverse .maf-catsection__media::before {
	left: auto;
	right: -20px;
}

.maf-catsection__chip {
	position: absolute;
	top: 22px;
	left: 22px;
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	background: #fff;
	border-radius: 50%;
	box-shadow: var(--maf-shadow-sm);
	color: var(--maf-gold);
	z-index: 2;
}
.maf-catsection__chip .maf-icon { width: 25px; height: 25px; }

.maf-catsection__badge {
	position: absolute;
	right: -14px;
	bottom: 26px;
	display: flex;
	flex-direction: column;
	padding: 15px 22px;
	background: var(--maf-dark);
	color: rgba(255, 255, 255, .72);
	border-radius: var(--maf-radius);
	box-shadow: var(--maf-shadow);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .04em;
	text-transform: uppercase;
	z-index: 2;
}
.maf-catsection__badge strong {
	font-family: var(--maf-display);
	font-size: 24px;
	color: var(--maf-gold);
	letter-spacing: -.01em;
	text-transform: none;
}
.maf-catsection.is-reverse .maf-catsection__badge { right: auto; left: -14px; }

.maf-catsection__index {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--maf-accent);
}
.maf-catsection__index span {
	font-family: var(--maf-display);
	font-size: 15px;
	letter-spacing: 0;
	color: var(--maf-gold);
	padding-right: 12px;
	border-right: 2px solid var(--maf-gold);
}

.maf-catsection__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 34px);
}
.maf-catsection__title a { color: var(--maf-ink); }
.maf-catsection__title a:hover { color: var(--maf-gold-600); }

.maf-catsection__text {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--maf-muted);
}

.maf-catsection__previews {
	list-style: none;
	margin: 0 0 28px;
	padding: 20px 0 0;
	border-top: 1px dashed var(--maf-line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.maf-catsection__previews a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	background: #fff;
	border: 1px solid var(--maf-line);
	border-radius: 32px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--maf-ink-2);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.maf-catsection__previews a:hover {
	border-color: var(--maf-gold);
	color: var(--maf-gold-600);
	transform: translateY(-2px);
	box-shadow: var(--maf-shadow-sm);
}
.maf-catsection__previews img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.maf-catsection__previews span {
	max-width: 168px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.maf-catsection__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   7. Why choose us
   ========================================================================== */

.maf-why__grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: 60px;
	align-items: center;
}

.maf-why__title {
	margin: 0 0 20px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.25;
}

.maf-why__text {
	margin: 0 0 26px;
	color: var(--maf-muted);
	line-height: 1.8;
}

.maf-why__visual { position: relative; display: flex; }

.maf-why__photo {
	margin-left: auto;
	width: 100%;
	border-radius: var(--maf-radius);
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background: var(--maf-bg-warm);
	box-shadow: var(--maf-shadow);
}
.maf-why__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.maf-stats {
	position: absolute;
	top: 50%;
	left: -46px;
	transform: translateY(-50%);
	display: grid;
	grid-template-columns: repeat(2, 152px);
	background: #fff;
	border-radius: var(--maf-radius);
	box-shadow: var(--maf-shadow-lg);
	overflow: hidden;
}

.maf-stat {
	padding: 24px 20px;
	border-right: 1px solid var(--maf-line);
	border-bottom: 1px solid var(--maf-line);
}
.maf-stat:nth-child(2n) { border-right: 0; }
.maf-stat:nth-last-child(-n+2) { border-bottom: 0; }

.maf-stat__icon { display: block; color: var(--maf-gold); margin-bottom: 12px; }
.maf-stat__icon .maf-icon { width: 26px; height: 26px; }

.maf-stat__num {
	display: block;
	font-family: var(--maf-display);
	font-size: 28px;
	font-weight: 800;
	color: var(--maf-ink);
	line-height: 1.1;
	letter-spacing: -.02em;
}
.maf-stat__lbl {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--maf-muted);
}

/* ==========================================================================
   8. Brands
   ========================================================================== */

.maf-brands {
	padding: 46px 0;
	background: var(--maf-bg-soft);
	border-top: 1px solid var(--maf-line);
	border-bottom: 1px solid var(--maf-line);
}

.maf-marquee {
	display: flex;
	align-items: center;
	gap: 16px;
}

.maf-marquee__nav {
	flex: none;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid var(--maf-line);
	border-radius: 50%;
	background: #fff;
	color: var(--maf-muted);
	cursor: pointer;
	transition: border-color .18s, color .18s;
}
.maf-marquee__nav:hover { border-color: var(--maf-gold); color: var(--maf-gold-600); }
.maf-marquee__nav svg { width: 17px; height: 17px; }

.maf-marquee__track {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 4px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.maf-marquee__track::-webkit-scrollbar { display: none; }

.maf-marquee__item {
	flex: 0 0 auto;
	min-width: 148px;
	display: grid;
	place-items: center;
	padding: 10px 18px;
	scroll-snap-align: start;
}
.maf-marquee__item img {
	max-height: 40px;
	width: auto;
	filter: grayscale(1);
	opacity: .62;
	transition: filter .25s, opacity .25s;
}
.maf-marquee__item:hover img { filter: grayscale(0); opacity: 1; }

.maf-marquee__word {
	font-family: var(--maf-display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #8d8d8d;
	white-space: nowrap;
	transition: color .25s;
}
.maf-marquee__item:hover .maf-marquee__word { color: var(--maf-ink); }

/* ==========================================================================
   9. Catalogs section
   ========================================================================== */

.maf-catalogs-sec { background: var(--maf-bg-warm); }

.maf-catalogs-sec__grid {
	display: grid;
	grid-template-columns: minmax(190px, .34fr) minmax(0, 1.66fr);
	gap: 36px;
	align-items: center;
}

.maf-catalogs-sec__title {
	margin: 0 0 24px;
	font-size: clamp(23px, 2.4vw, 28px);
	line-height: 1.25;
}

.maf-catalogs-sec__intro .maf-btn { white-space: nowrap; padding: 12px 18px; }

.maf-catalogs-sec .maf-catalogs { gap: 14px; }
.maf-catalogs-sec .maf-catalog-card__media { flex: 0 0 30%; }
.maf-catalogs-sec .maf-catalog-card__body { padding: 15px 13px; gap: 6px; }
.maf-catalogs-sec .maf-catalog-card__title { font-size: 13.5px; line-height: 1.3; }
.maf-catalogs-sec .maf-catalog-card__title span { color: var(--maf-muted); font-weight: 600; }
.maf-catalogs-sec .maf-catalog-card__text { font-size: 12px; line-height: 1.5; }
.maf-catalogs-sec .maf-textlink { font-size: 10.5px; letter-spacing: .07em; }

/* ==========================================================================
   10. Closing CTA
   ========================================================================== */

.maf-cta-sec { padding-top: 0; }

.maf-cta {
	position: relative;
	border-radius: var(--maf-radius);
	overflow: hidden;
	isolation: isolate;
	background: var(--maf-dark);
}

.maf-cta__bg { position: absolute; inset: 0; z-index: -1; }
.maf-cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: .42;
}
.maf-cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 20, 20, .92) 0%, rgba(20, 20, 20, .74) 46%, rgba(20, 20, 20, .5) 100%);
}

.maf-cta__content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	flex-wrap: wrap;
	padding: 56px 52px;
}

.maf-cta__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(24px, 2.8vw, 32px);
}
.maf-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: 15.5px;
}

/* ==========================================================================
   11. Inner pages
   ========================================================================== */

.maf-page-hero {
	padding: 54px 0 46px;
	background: var(--maf-bg-soft);
	border-bottom: 1px solid var(--maf-line);
}
.maf-page-hero__title {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 40px);
}
.maf-page-hero__sub {
	margin: 14px 0 0;
	max-width: 640px;
	color: var(--maf-muted);
	font-size: 16px;
	line-height: 1.75;
}

.maf-crumbs { margin-bottom: 16px; font-size: 13px; }
.maf-crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}
.maf-crumbs li:not(:last-child)::after {
	content: "/";
	margin-left: 8px;
	color: #c9c2b5;
}
.maf-crumbs a { color: var(--maf-muted); }
.maf-crumbs a:hover { color: var(--maf-gold-600); }
.maf-crumbs [aria-current] { color: var(--maf-ink); font-weight: 600; }

.maf-page-figure { margin: 0 0 36px; }
.maf-page-figure img { width: 100%; border-radius: var(--maf-radius); }

.maf-layout { display: block; }
.maf-layout--sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 52px;
	align-items: start;
}

.maf-layout__aside .widget {
	margin-bottom: 30px;
	padding: 22px;
	background: var(--maf-bg-soft);
	border-radius: var(--maf-radius);
}
.widget-title { margin: 0 0 12px; font-size: 16px; }
.maf-layout__aside ul { list-style: none; padding: 0; margin: 0; }
.maf-layout__aside li { padding: 6px 0; border-bottom: 1px solid var(--maf-line); }

/* Product filters */

.maf-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--maf-line);
}

.maf-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid var(--maf-line);
	border-radius: 30px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--maf-ink-2);
	background: #fff;
	transition: border-color .18s, background-color .18s, color .18s;
}
.maf-filter span {
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 10px;
	background: var(--maf-bg-warm);
	color: var(--maf-muted);
}
.maf-filter:hover { border-color: var(--maf-gold); color: var(--maf-gold-600); }
.maf-filter.is-active {
	background: var(--maf-dark);
	border-color: var(--maf-dark);
	color: #fff;
}
.maf-filter.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }

/* Single product */

.maf-product-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin-bottom: 66px;
}

.maf-product-single__main {
	border-radius: var(--maf-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--maf-bg-warm);
	box-shadow: var(--maf-shadow-sm);
}
.maf-product-single__main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.maf-product-single__thumbs {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	flex-wrap: wrap;
}
.maf-product-single__thumbs button {
	width: 76px;
	height: 76px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--maf-radius-sm);
	overflow: hidden;
	background: none;
	cursor: pointer;
	transition: border-color .18s;
}
.maf-product-single__thumbs button.is-active,
.maf-product-single__thumbs button:hover { border-color: var(--maf-gold); }
.maf-product-single__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.maf-product-single__title { margin: 0 0 14px; font-size: clamp(26px, 3vw, 34px); }

.maf-product-single__lead {
	margin: 0 0 26px;
	font-size: 16.5px;
	line-height: 1.8;
	color: var(--maf-muted);
}

.maf-product-single__facts {
	list-style: none;
	display: grid;
	gap: 0;
	margin: 0 0 28px;
	padding: 0;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius);
	overflow: hidden;
}
.maf-product-single__facts li {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 18px;
	border-bottom: 1px solid var(--maf-line);
	font-size: 14.5px;
}
.maf-product-single__facts li:last-child { border-bottom: 0; }
.maf-product-single__facts li:nth-child(odd) { background: var(--maf-bg-soft); }
.maf-product-single__facts span { color: var(--maf-muted); }
.maf-product-single__facts strong { color: var(--maf-ink); }

.maf-product-single__buy {
	padding: 24px;
	background: var(--maf-bg-soft);
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius);
}
.maf-product-single__hint {
	margin: 14px 0 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--maf-muted);
}

.maf-product-single__detail {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 56px;
	padding-bottom: 66px;
	border-bottom: 1px solid var(--maf-line);
}

.maf-specs h2 { font-size: 22px; }
.maf-specs table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.maf-specs th, .maf-specs td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--maf-line); }
.maf-specs th { width: 45%; font-weight: 600; color: var(--maf-muted); background: var(--maf-bg-soft); }
.maf-specs td { color: var(--maf-ink); font-weight: 600; }

.maf-related { padding-top: 60px; }

/* Contact */

.maf-contact {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 56px;
	align-items: start;
	margin-bottom: 46px;
}

.maf-contact__heading { font-size: 26px; }
.maf-contact__intro { color: var(--maf-muted); line-height: 1.8; }

.maf-contact__list {
	list-style: none;
	margin: 30px 0;
	padding: 0;
	display: grid;
	gap: 22px;
}
.maf-contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.maf-contact__list h3 { margin: 0 0 3px; font-size: 14px; }
.maf-contact__list p { margin: 0; color: var(--maf-muted); font-size: 14.5px; }
.maf-contact__list a { color: var(--maf-ink-2); font-size: 14.5px; }
.maf-contact__list a:hover { color: var(--maf-gold-600); }

.maf-contact__icon {
	flex: none;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--maf-gold-100);
	color: var(--maf-gold-600);
}
.maf-contact__icon .maf-icon { width: 20px; height: 20px; }

.maf-map { border-radius: var(--maf-radius); overflow: hidden; box-shadow: var(--maf-shadow-sm); }

/* Posts */

.maf-posts { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.maf-post-card {
	background: #fff;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius);
	overflow: hidden;
	transition: box-shadow .25s, transform .25s;
}
.maf-post-card:hover { transform: translateY(-4px); box-shadow: var(--maf-shadow); }
.maf-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.maf-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.maf-post-card__body { padding: 24px; }
.maf-post-card__title { margin: 6px 0 10px; font-size: 20px; }
.maf-post-card__title a { color: var(--maf-ink); }
.maf-post-card__title a:hover { color: var(--maf-gold-600); }
.maf-post-card__excerpt { color: var(--maf-muted); font-size: 14.5px; margin-bottom: 16px; }

.maf-post-meta {
	margin: 0;
	font-size: 12.5px;
	color: var(--maf-faint);
	display: flex;
	gap: 8px;
	align-items: center;
}

.maf-single .maf-prose { margin-top: 26px; }

.maf-post-nav {
	margin-top: 46px;
	padding-top: 28px;
	border-top: 1px solid var(--maf-line);
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 15px;
}
.maf-post-nav span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--maf-faint); }

/* Search results */

.maf-search-again { max-width: 560px; margin-bottom: 40px; }

.maf-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.maf-result { padding: 24px 0; border-bottom: 1px solid var(--maf-line); }
.maf-result__type {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--maf-gold-600);
}
.maf-result__title { margin: 0 0 8px; font-size: 20px; }
.maf-result__title a { color: var(--maf-ink); }
.maf-result__title a:hover { color: var(--maf-gold-600); }
.maf-result__excerpt { margin: 0; color: var(--maf-muted); font-size: 15px; }

/* 404 */

.maf-404 { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 0 20px; }
.maf-404__code {
	margin: 0;
	font-family: var(--maf-display);
	font-size: clamp(72px, 12vw, 128px);
	font-weight: 800;
	line-height: 1;
	color: var(--maf-gold-100);
	letter-spacing: -.04em;
}
.maf-404__title { margin: -12px 0 14px; font-size: clamp(24px, 3vw, 32px); }
.maf-404__text { color: var(--maf-muted); margin-bottom: 28px; }
.maf-404__search { margin-bottom: 28px; }
.maf-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Pagination */

.maf-pagination, .navigation.pagination { margin-top: 52px; }
.nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--maf-line);
	border-radius: var(--maf-radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--maf-ink-2);
	background: #fff;
	transition: border-color .18s, background-color .18s, color .18s;
}
.page-numbers:hover { border-color: var(--maf-gold); color: var(--maf-gold-600); }
.page-numbers.current {
	background: var(--maf-gold);
	border-color: var(--maf-gold);
	color: #fff;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.maf-footer {
	background: var(--maf-bg-soft);
	border-top: 1px solid var(--maf-line);
}

.maf-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.15fr 1.15fr 1.4fr;
	gap: 40px;
	padding-top: 66px;
	padding-bottom: 52px;
}

.maf-footer__about {
	margin: 20px 0 22px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--maf-muted);
	max-width: 280px;
}

.maf-footer__title {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--maf-ink);
}

.maf-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
}
.maf-footer__menu a {
	font-size: 14px;
	color: var(--maf-muted);
	transition: color .18s, padding-left .18s;
}
.maf-footer__menu a:hover { color: var(--maf-gold-600); padding-left: 4px; }

.maf-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}
.maf-footer__contact li { display: flex; gap: 13px; align-items: flex-start; font-size: 14px; color: var(--maf-muted); }
.maf-footer__contact a { color: var(--maf-muted); }
.maf-footer__contact a:hover { color: var(--maf-gold-600); }

.maf-footer__ico {
	flex: none;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--maf-gold-100);
	color: var(--maf-gold-600);
}
.maf-footer__ico .maf-icon { width: 15px; height: 15px; }

.maf-social {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.maf-social a {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--maf-line);
	color: var(--maf-muted);
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.maf-social a:hover {
	background: var(--maf-gold);
	border-color: var(--maf-gold);
	color: #fff;
	transform: translateY(-2px);
}
.maf-social svg { width: 17px; height: 17px; }
.maf-social--contact { margin-top: 26px; }

.maf-footer__bar { border-top: 1px solid var(--maf-line); }
.maf-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 13px;
	color: var(--maf-faint);
}
.maf-footer__bar p { margin: 0; }
.maf-footer__credit { display: flex; align-items: center; gap: 6px; }
.maf-footer__heart { color: var(--maf-gold); }

.maf-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: var(--maf-radius-sm);
	background: var(--maf-gold);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(192, 141, 45, .34);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s, transform .25s, background-color .2s;
	z-index: 800;
}
.maf-to-top.is-visible { opacity: 1; transform: translateY(0); }
.maf-to-top:hover { background: var(--maf-gold-600); }
.maf-to-top svg { width: 19px; height: 19px; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.maf-stats { left: -20px; grid-template-columns: repeat(2, 138px); }
	.maf-catsection__inner { gap: 44px; }
}

@media (max-width: 1080px) {
	:root { --maf-section-y: 72px; }

	.maf-topbar__tag { display: none; }
	.maf-features__card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.maf-feature:nth-child(2n) { border-right: 0; }
	.maf-feature:nth-child(-n+2) { border-bottom: 1px solid var(--maf-line); }
	.maf-catalogs-sec__grid { grid-template-columns: 1fr; gap: 32px; }
	.maf-product-single__grid, .maf-product-single__detail { grid-template-columns: 1fr; gap: 40px; }
	.maf-contact { grid-template-columns: 1fr; gap: 40px; }
	.maf-layout--sidebar { grid-template-columns: 1fr; gap: 40px; }
	.maf-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 1080px) {
	.maf-header__inner { gap: 14px; }
	.maf-burger { display: grid; }

	.maf-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(340px, 86vw);
		background: #fff;
		box-shadow: -20px 0 50px rgba(0, 0, 0, .16);
		padding: 84px 22px 34px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .3s ease;
		z-index: 950;
		margin-left: 0;
	}
	.maf-nav.is-open { transform: translateX(0); }

	.maf-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.maf-nav__list > li { border-bottom: 1px solid var(--maf-line); }
	.maf-nav__list > li > a { padding: 14px 4px; font-size: 14px; }
	.maf-nav__list > li > a::after { display: none; }

	.maf-has-children { display: grid; grid-template-columns: 1fr auto; align-items: center; }
	.maf-has-children > .maf-submenu { grid-column: 1 / -1; }

	.maf-submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--maf-line);
		border-radius: 0;
		padding: 0 0 10px 12px;
		margin-bottom: 8px;
		display: none;
	}
	.maf-has-children.is-open > .maf-submenu { display: block; }
	.maf-has-children:hover > .maf-submenu { display: none; }
	.maf-has-children.is-open:hover > .maf-submenu { display: block; }

	.maf-nav-backdrop {
		position: fixed;
		inset: 0;
		background: rgba(20, 20, 20, .48);
		z-index: 940;
		opacity: 0;
		transition: opacity .3s;
	}
	.maf-nav-backdrop.is-visible { opacity: 1; }

	/* Collapse to a cart icon once the label no longer fits. */
	.maf-header__quote-label,
	.maf-header__quote-arrow { display: none; }
	.maf-header__quote-ico { display: inline-flex; }
	.maf-header__quote { padding: 12px 15px; gap: 7px; }

	.maf-hero__inner { min-height: auto; padding-top: 56px; padding-bottom: 110px; }
	.maf-hero__veil {
		background: linear-gradient(180deg, rgba(252, 250, 246, .97) 0%, rgba(252, 250, 246, .93) 62%, rgba(252, 250, 246, .82) 100%);
	}

	.maf-catsection__inner { grid-template-columns: 1fr; gap: 36px; }
	.maf-catsection.is-reverse .maf-catsection__media { order: 0; }
	.maf-catsection.is-reverse .maf-catsection__content { order: 0; }
	.maf-catsection__media::before { display: none; }
	.maf-catsection__badge { right: 16px; bottom: -18px; }
	.maf-catsection.is-reverse .maf-catsection__badge { left: auto; right: 16px; }

	.maf-why__grid { grid-template-columns: 1fr; gap: 40px; }
	.maf-why__visual { flex-direction: column; }
	.maf-stats {
		position: static;
		transform: none;
		margin-top: -34px;
		margin-left: 20px;
		margin-right: 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maf-cta__content { padding: 40px 32px; }
	.maf-posts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	:root { --maf-gutter: 18px; --maf-section-y: 56px; }

	.maf-topbar__contact { gap: 16px; font-size: 12px; }
	.maf-topbar__contact li:nth-child(2) { display: none; }

	.maf-features { margin-top: -60px; }
	.maf-features__card { grid-template-columns: 1fr; }
	.maf-feature { border-right: 0 !important; border-bottom: 1px solid var(--maf-line); }
	.maf-feature:last-child { border-bottom: 0; }

	.maf-hero__actions .maf-btn { flex: 1 1 100%; }

	.maf-catsection__previews span { max-width: 120px; }
	.maf-catsection__actions .maf-btn { flex: 1 1 100%; }

	.maf-stats { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
	.maf-stat { border-right: 0; }

	.maf-cta__content { padding: 32px 22px; }
	.maf-cta__content .maf-btn { width: 100%; }

	.maf-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.maf-footer__about { max-width: none; }

	.maf-product-single__facts li { flex-direction: column; gap: 3px; }
	.maf-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}
