/*
 * MATCH-TEK theme styles.
 *
 * 1. Tokens        colours, spacing, fonts ( from the design system )
 * 2. Base          body, headings, helpers
 * 3. Components    buttons, cards, tags, section titles, placeholders
 * 4. Header / footer
 * 5. Page sections ( one block of rules per editable section )
 * 6. Inquiry form
 * 7. Product category page
 * 8. Product page
 * 9. Plain pages   page title bar, text pages, pagination
 * 10. Tablet       max-width 1023px
 * 11. Mobile       max-width 700px
 *
 * Every class starts with mt- so nothing clashes with WordPress or plugins.
 */

/* ---------- 1. Tokens ---------- */
:root {
	--navy-900: #100f71; --navy-950: #0b0a52; --blue-600: #2e63e8;
	--orange-500: #fa9100; --orange-600: #f45b39; --orange-ink: #a84e00; --violet-500: #7c32d6;
	--surface: #ffffff; --surface-alt: #f5f7fb; --surface-sunken: #eaeef5;
	--line: #dde2ec; --line-strong: #8a94a6;
	--ink: #2b3245; --ink-muted: #5b6478;
	--on-navy: #ffffff; --on-navy-muted: #b8bce0;
	--success: #1e7a46; --error: #c62828;
	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
	--radius-sm: 4px; --radius-md: 6px; --radius-lg: 12px; --radius-pill: 999px;
	--shadow-card: 0 1px 2px rgba(16, 15, 113, 0.06), 0 2px 8px rgba(16, 15, 113, 0.06);
	--shadow-raised: 0 8px 24px rgba(16, 15, 113, 0.12);
	--container-max: 1200px; --container-text: 720px; --gutter: 40px; --header-height: 80px;
	--font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
	--font-sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
	--font-mono: "IBM Plex Mono", Consolas, monospace;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 26px; color: var(--ink); background: var(--surface); }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.mt-alt { background: var(--surface-alt); }
.mt-in { max-width: var(--container-max); margin: 0 auto; padding: 96px var(--gutter); }
.mt-in--tight { padding-top: 72px; padding-bottom: 72px; }
.mt-in--medium { padding-top: 80px; padding-bottom: 80px; }
.mt-in--no-bottom { padding-bottom: 0; }
.mt-in--flush-top { padding-top: 64px; }
.mt-in--text { padding-top: 64px; padding-bottom: 96px; }
.mt-in--text > .mt-prose { max-width: var(--container-text); }

.mt-display, .mt-h2, .mt-h3, .mt-h4, .mt-eyebrow { font-family: var(--font-display); color: var(--navy-900); text-wrap: balance; }
.mt-display { font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -0.01em; }
.mt-h2 { font-size: 36px; line-height: 44px; font-weight: 700; }
.mt-h3 { font-size: 24px; line-height: 30px; font-weight: 600; }
.mt-h4 { font-size: 20px; line-height: 26px; font-weight: 600; }
.mt-eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); }
.mt-eyebrow--light { color: var(--on-navy-muted); }
.mt-lead { font-size: 18px; line-height: 30px; color: var(--ink-muted); }
.mt-sm { font-size: 14px; line-height: 22px; }
.mt-muted { color: var(--ink-muted); }

.mt-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-md); background: var(--navy-900); color: var(--on-navy); text-decoration: none; }
.mt-skip:focus { top: 16px; }
.mt-ico { width: 24px; height: 24px; flex: none; }
.mt-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 3. Components ---------- */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-6); border: 2px solid transparent; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.mt-btn:focus-visible, .mt-link:focus-visible, .mt-nav a:focus-visible, a:focus-visible, button:focus-visible, .mt-field input:focus-visible, .mt-field select:focus-visible, .mt-field textarea:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.mt-btn--primary { background: var(--orange-500); color: var(--navy-900); }
.mt-btn--primary:hover { background: var(--orange-600); }
.mt-btn--secondary { background: var(--navy-900); color: var(--on-navy); }
.mt-btn--secondary:hover { background: var(--navy-950); }
.mt-btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.mt-btn--outline:hover { background: var(--navy-900); color: var(--on-navy); }
.mt-btn--light { color: var(--on-navy); border-color: var(--on-navy); }
.mt-btn--light:hover { background: var(--on-navy); color: var(--navy-900); }
.mt-btn--sm { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.mt-btn[disabled] { background: var(--surface-sunken); color: var(--ink-muted); border-color: transparent; cursor: not-allowed; }
.mt-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

.mt-link { color: var(--blue-600); font-weight: 600; text-decoration: none; }
.mt-link:hover, a:hover > .mt-link { text-decoration: underline; text-underline-offset: 3px; }
.mt-arrow { display: inline-block; transition: transform .2s ease; }
.mt-link:hover .mt-arrow, a:hover .mt-link .mt-arrow { transform: translateX(3px); }
.mt-go { color: var(--blue-600); }

.mt-section-title { display: grid; gap: var(--space-3); max-width: 720px; }
.mt-section-title .mt-lead { margin-top: var(--space-1); }
.mt-section-title--center { margin: 0 auto; text-align: center; justify-items: center; }

.mt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .2s ease, transform .2s ease; }
a.mt-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }

.mt-tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border-radius: var(--radius-sm); background: var(--surface-sunken); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-chip { padding: 4px 12px; border-radius: 999px; background: var(--surface-sunken); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--navy-900); }

/* Shown wherever a photo has not been uploaded yet. */
.mt-ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--surface-sunken) 0 14px, #e3e8f1 14px 28px); }
.mt-ph--dark { background: repeating-linear-gradient(135deg, #1c1b7a 0 16px, #18176f 16px 32px); }

.mt-service__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--blue-600); }
.mt-service__icon svg { width: 24px; height: 24px; }

.mt-disclaim { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.mt-disclaim .mt-ico { width: 20px; height: 20px; color: var(--blue-600); margin-top: 1px; }

/* ---------- 4. Header / footer ---------- */
.mt-top { position: sticky; top: 0; z-index: 50; }
.admin-bar .mt-top { top: 32px; }
.mt-header { position: relative; display: flex; align-items: center; gap: var(--space-8); height: var(--header-height); padding: 0 max(var(--gutter), calc((100% - 1120px) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.mt-top.is-stuck .mt-header { box-shadow: var(--shadow-card); border-bottom-color: transparent; }
.mt-header__logo { flex: none; }
.mt-header__logo img { display: block; height: 44px; width: auto; }
.mt-nav { margin-left: auto; }
.mt-nav ul { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.mt-nav a { position: relative; display: block; padding: 28px 0; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.mt-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--orange-500); transform: scaleX(0); transition: transform .2s ease; }
.mt-nav a:hover::after, .mt-nav a[aria-current]::after { transform: scaleX(1); }
.mt-nav a[aria-current] { font-weight: 600; }
.mt-burger { display: none; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--navy-900); cursor: pointer; }
.mt-burger__close, .mt-burger[aria-expanded="true"] .mt-burger__open { display: none; }
.mt-burger[aria-expanded="true"] .mt-burger__close { display: block; }
.mt-mobile-nav { display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-4) var(--space-6); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-raised); max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
.mt-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mt-mobile-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.mt-mobile-nav li a[aria-current] { color: var(--orange-ink); }

.mt-footer { background: var(--surface-alt); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.mt-footer__main { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--space-8); padding: var(--space-12) max(var(--gutter), calc((100% - 1120px) / 2)); }
.mt-footer__brand { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
.mt-footer__brand img { height: 40px; width: auto; }
.mt-footer h4 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-900); }
.mt-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.mt-footer a { color: var(--ink-muted); text-decoration: none; }
.mt-footer a:hover { color: var(--navy-900); text-decoration: underline; }
.mt-footer__bar { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) max(var(--gutter), calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; }

/* ---------- 5. Page sections ---------- */

/* Hero slideshow */
.mt-hero { position: relative; min-height: 640px; overflow: hidden; background: var(--navy-900); }
.mt-hero__slides, .mt-hero__shade { position: absolute; inset: 0; }
.mt-hero__slide { object-position: 70% 50%; opacity: 0; transition: opacity .9s ease; }
.mt-hero__slide.is-on { opacity: 1; }
.mt-hero__shade { background: linear-gradient(90deg, rgba(16,15,113,.92) 0%, rgba(16,15,113,.78) 38%, rgba(16,15,113,.35) 68%, rgba(16,15,113,.08) 100%); }
.mt-hero__in { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 128px var(--gutter) 120px; }
.mt-hero__content { display: grid; gap: 22px; max-width: 680px; }
.mt-hero h1 { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; color: var(--on-navy); letter-spacing: -.01em; text-wrap: balance; }
.mt-hero p { font-size: 18px; line-height: 30px; color: var(--on-navy-muted); }
.mt-hero__ctrl { position: absolute; left: 0; right: 0; bottom: 44px; }
.mt-hero__bar { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 16px; }
.mt-dots { display: flex; gap: 8px; }
.mt-dot { width: 36px; height: 20px; padding: 8px 0; border: 0; background: rgba(255,255,255,.35); background-clip: content-box; border-radius: 0; cursor: pointer; }
.mt-dot.is-on { background-color: var(--orange-500); }
.mt-pause { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: none; color: var(--on-navy); cursor: pointer; }
.mt-pause svg { width: 14px; height: 14px; }
.mt-pause__play, .mt-pause.is-paused .mt-pause__pause { display: none; }
.mt-pause.is-paused .mt-pause__play { display: block; }

/* Core services */
.mt-svc { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; margin-top: 48px; }
.mt-core { display: grid; gap: 18px; align-content: start; padding: 40px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-navy-muted); }
.mt-core h3 { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; color: var(--on-navy); }
.mt-core .mt-service__icon { background: rgba(255,255,255,.12); color: var(--on-navy); }
.mt-core .mt-btn { justify-self: start; margin-top: 6px; }
.mt-core__badge { justify-self: start; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--orange-500); color: var(--navy-900); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.mt-svc__row { display: grid; grid-template-columns: 48px 1fr 24px; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.mt-svc__row:last-child { border-bottom: 1px solid var(--line); }
.mt-svc__row > div:nth-child(2) { display: grid; gap: 6px; }
.mt-svc__row .mt-go { margin-top: 12px; transition: transform .2s ease; }
a.mt-svc__row:hover .mt-go { transform: translateX(3px); }

/* Process steps */
.mt-steps { display: grid; grid-template-columns: repeat(var(--mt-cols, 6), minmax(0, 1fr)); gap: var(--space-6); margin: 56px 0 0; padding: 0; list-style: none; }
.mt-step { position: relative; display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-6); border-top: 2px solid var(--line); }
.mt-step::before { position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--orange-500); content: ""; }
.mt-step__num { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--orange-ink); }
.mt-step--current { border-top-color: var(--navy-900); }
.mt-steps-note { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 14px; line-height: 22px; color: var(--ink-muted); }

/* Product focus areas ( category cards ) */
.mt-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.mt-in--flush-top > .mt-cats { margin-top: 0; }
.mt-cat { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: inherit; text-decoration: none; }
.mt-cat__img { position: relative; height: 200px; background: var(--surface-sunken); }
.mt-cat__body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 22px 24px 26px; }
.mt-cat__num { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 500; color: var(--orange-ink); }
.mt-cat .mt-link { margin-top: 6px; }

/* Image tiles ( sub-categories ) */
.mt-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.mt-sector { position: relative; display: block; height: 170px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); color: inherit; text-decoration: none; }
.mt-sector .mt-pic { transition: transform .4s ease; }
.mt-sector:hover .mt-pic { transform: scale(1.04); }
.mt-sector__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 18px; background: linear-gradient(0deg, rgba(16,15,113,.9), rgba(16,15,113,0)); font-family: var(--font-display); font-size: 22px; line-height: 26px; font-weight: 600; color: var(--on-navy); }
.mt-apps__more { margin: 28px 0 0; }
.mt-subcats .mt-sector { height: 190px; }

/* Reasons list */
.mt-why { display: grid; grid-template-columns: repeat(var(--mt-cols, 4), minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.mt-why__item { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--navy-900); }

/* Light banner */
.mt-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; border-radius: var(--radius-lg); background: var(--surface-alt); border: 1px solid var(--line); }
.mt-alt .mt-banner { background: var(--surface); }
.mt-banner__text { display: grid; gap: 8px; max-width: 680px; }
.mt-banner .mt-btn { flex: none; }

/* Image and text */
.mt-about { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
.mt-about__media { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); }
.mt-about__text { display: grid; gap: 16px; align-content: center; }
.mt-about__text p { color: var(--ink-muted); }
.mt-about__text p.mt-eyebrow { color: var(--orange-ink); }

/* Call to action */
.mt-cta { background: var(--navy-900); }
.mt-cta__in { max-width: var(--container-max); margin: 0 auto; padding: 72px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.mt-cta h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 36px; line-height: 44px; font-weight: 700; color: var(--on-navy); text-wrap: balance; }
.mt-cta p { font-size: 18px; line-height: 30px; color: var(--on-navy-muted); max-width: 640px; }
.mt-cta .mt-btn { flex: none; }

/* Page header ( uses the category header styles from section 7 ) */
.mt-cathead__grid--solo { grid-template-columns: minmax(0, 820px); }
.mt-cathead .mt-keyspecs { margin-top: 2px; }

/* Check lists */
.mt-lists { display: grid; grid-template-columns: repeat(var(--mt-cols, 2), minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.mt-checks--plain .mt-ico { color: var(--line-strong); }

/* Questions and answers */
.mt-faqwrap { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.mt-faq { display: grid; gap: 12px; }
.mt-faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.mt-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 600; color: var(--navy-900); cursor: pointer; list-style: none; }
.mt-faq__item summary::-webkit-details-marker { display: none; }
.mt-faq__item summary .mt-ico { width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s ease; }
.mt-faq__item[open] summary .mt-ico { transform: rotate(180deg); }
.mt-faq__a { display: grid; gap: 10px; padding: 0 22px 20px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }

/* Seminar and case study cards ( built on the product card from section 7 ) */
.mt-entry .mt-prod__img { height: 200px; }
.mt-entry__text { display: grid; gap: 8px; align-content: start; }
.mt-entry__meta { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--ink); }
.mt-tag--live { background: var(--orange-500); }
.mt-group-title { margin-top: 48px; }
.mt-group-title + .mt-prods { margin-top: 24px; }
.mt-empty { max-width: 760px; margin-top: 40px; padding: 26px 30px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink-muted); }

/* Speaker box on a seminar page */
.mt-speaker { display: flex; gap: 14px; align-items: center; }
.mt-speaker__photo { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--surface-sunken); }

/* ---------- 6. Inquiry form ---------- */
.mt-contact { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.mt-contact__info { display: grid; gap: 16px; }
.mt-next { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.mt-next li { display: grid; grid-template-columns: 30px 1fr; gap: 6px; font-size: 15px; line-height: 22px; color: var(--ink); }
.mt-next b { font-family: var(--font-mono); font-weight: 500; color: var(--orange-ink); }
.mt-cinfo { display: grid; gap: 14px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.mt-cinfo div { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.mt-cinfo a { color: inherit; text-decoration: none; }
.mt-cinfo a:hover { text-decoration: underline; }
.mt-cinfo .mt-ico { color: var(--blue-600); }

.mt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-field { display: grid; gap: var(--space-2); align-content: start; }
.mt-field--full { grid-column: 1 / -1; }
.mt-field > label:first-child:not(.mt-consent) { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.mt-field > label:first-child:not(.mt-consent) span { color: var(--error); }
.mt-field input:not([type="checkbox"]):not([type="file"]), .mt-field select, .mt-field textarea { width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background-color: var(--surface); font-family: var(--font-sans); font-size: 16px; line-height: 22px; color: var(--ink); }
.mt-field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--navy-900) 50%), linear-gradient(135deg, var(--navy-900) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.mt-field textarea { min-height: 120px; resize: vertical; }
.mt-field textarea.mt-short { min-height: 88px; }
.mt-field input::placeholder, .mt-field textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.mt-field.is-error input:not([type="checkbox"]), .mt-field.is-error select, .mt-field.is-error textarea, .mt-field.is-error .mt-drop { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.mt-field__msg { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--error); }

.mt-fgroup { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 600; color: var(--navy-900); }
.mt-fgroup ~ .mt-fgroup { margin-top: 8px; }
.mt-fgroup b, .mt-more b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-900); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }

.mt-drop { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); font-size: 14px; line-height: 18px; font-weight: 400; color: var(--ink); cursor: pointer; }
.mt-drop:hover { border-color: var(--blue-600); }
.mt-drop .mt-ico { color: var(--blue-600); width: 20px; height: 20px; }
.mt-drop span span { display: block; overflow-wrap: anywhere; }
.mt-drop small { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.mt-drop:has(+ input:focus-visible) { outline: 2px solid var(--blue-600); outline-offset: 2px; }

.mt-more { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 13px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface-alt); font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 600; color: var(--navy-900); text-align: left; cursor: pointer; }
.mt-more em { font-style: normal; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.mt-more .mt-ico { margin-left: auto; width: 20px; height: 20px; color: var(--blue-600); transition: transform .2s ease; }
.mt-more-fields { grid-column: 1 / -1; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mt-rsm.is-open .mt-more { padding: 0 0 10px; border-width: 0 0 1px; border-style: solid; border-color: var(--line); border-radius: 0; background: none; }
.mt-rsm.is-open .mt-more .mt-ico { transform: rotate(180deg); }
.mt-rsm.is-open .mt-more-fields { display: grid; }

.mt-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: 14px; line-height: 21px; font-weight: 400; color: var(--ink); cursor: pointer; }
.mt-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue-600); }
.mt-consent .mt-req { color: var(--error); }
.mt-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.mt-form__status { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--error); color: var(--error); font-size: 14px; line-height: 22px; font-weight: 500; }
.mt-privacy { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mt-privacy a { color: var(--blue-600); }
.mt-notice { grid-column: 1 / -1; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--success); background: var(--surface); color: var(--success); font-size: 16px; line-height: 24px; font-weight: 500; }
.mt-form.is-sending { opacity: .7; pointer-events: none; }

/* ---------- 7. Product category page ---------- */
.mt-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mt-crumb a { color: var(--blue-600); text-decoration: none; }
.mt-crumb a:hover { text-decoration: underline; }
.mt-crumb__sep { color: var(--line-strong); }

.mt-cathead { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.mt-cathead__in { max-width: var(--container-max); margin: 0 auto; padding: 28px var(--gutter) 72px; }
.mt-cathead__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; margin-top: 36px; }
.mt-cathead__text { display: grid; gap: 18px; align-content: start; }
.mt-cathead h1 { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; text-wrap: balance; }
.mt-cathead .mt-btns { margin-top: 6px; }
.mt-cathead .mt-lead { font-size: 17px; line-height: 28px; }
.mt-cathead__img { position: relative; height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); }

.mt-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.mt-count { flex: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

.mt-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.mt-prods--flush { margin-top: 0; }
.mt-prod { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: inherit; text-decoration: none; }
.mt-prod__img { position: relative; height: 240px; background: var(--surface-sunken); }
.mt-prod__body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 20px 22px 24px; }
.mt-prod .mt-tag { justify-self: start; }
.mt-specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-content: start; margin: 0; font-size: 14px; line-height: 20px; }
.mt-specs dt { color: var(--ink-muted); }
.mt-specs dd { margin: 0; color: var(--ink); }

.mt-catbody { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
.mt-aside { display: grid; gap: 20px; }
.mt-assess { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mt-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 22px; color: var(--ink); }
.mt-checks .mt-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--success); }
.mt-askbox { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-navy-muted); }
.mt-askbox h3 { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 700; color: var(--on-navy); }
.mt-askbox p { font-size: 15px; line-height: 23px; }
.mt-askbox .mt-btn { justify-self: start; margin-top: 4px; }

.mt-others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.mt-other { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--navy-900); text-decoration: none; font-family: var(--font-display); font-size: 18px; line-height: 22px; font-weight: 600; transition: box-shadow .2s ease, transform .2s ease; }
.mt-other:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.mt-other__num { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 500; color: var(--orange-ink); }
.mt-other .mt-go { height: 24px; }

/* ---------- 8. Product page ---------- */
.mt-ptop__in { max-width: var(--container-max); margin: 0 auto; padding: 28px var(--gutter) 88px; }
.mt-ptop__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; margin-top: 32px; }
.mt-gallery { display: grid; gap: 12px; }
.mt-gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-sunken); border: 1px solid var(--line); }
.mt-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.mt-thumb { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); cursor: pointer; }
.mt-thumb.is-on { border-color: var(--blue-600); box-shadow: 0 0 0 1px var(--blue-600); }
.mt-pinfo { display: grid; gap: 18px; align-content: start; }
.mt-pinfo .mt-tag { justify-self: start; }
.mt-pinfo h1 { font-family: var(--font-display); font-size: 44px; line-height: 48px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; text-wrap: balance; }
.mt-keyspecs { display: grid; grid-template-columns: 150px 1fr; margin: 0; border-top: 1px solid var(--line); }
.mt-keyspecs dt, .mt-keyspecs dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.mt-keyspecs dt { color: var(--ink-muted); }
.mt-keyspecs dd { color: var(--ink); font-weight: 500; }
.mt-pinfo .mt-btns { margin-top: 4px; align-items: center; }

.mt-pdetail { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
.mt-pdetail--specs-only { grid-template-columns: minmax(0, 720px); }
.mt-pdetail--specs-only .mt-aside { grid-template-columns: 1fr; }
.mt-spectable { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mt-spectable dl { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; margin: 0; }
.mt-spectable dt, .mt-spectable dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.mt-spectable dt { color: var(--ink-muted); }
.mt-spectable dd { color: var(--ink); }
.mt-spectable__note { font-size: 13px; line-height: 19px; color: var(--ink-muted); }

.mt-video { position: relative; max-width: 960px; aspect-ratio: 16 / 9; margin: 40px auto 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); cursor: pointer; }
.mt-video .mt-pic { opacity: .72; }
.mt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mt-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: var(--orange-500); color: var(--navy-900); cursor: pointer; }
.mt-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.mt-video__cap { position: absolute; left: 20px; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(16,15,113,.75); font-size: 13px; line-height: 18px; color: #fff; }

.mt-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.mt-howto li { display: grid; gap: 8px; align-content: start; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mt-howto b { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 500; color: var(--orange-ink); }

/* ---------- 9. Plain pages ---------- */
.mt-pagehead { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.mt-pagehead__in { display: grid; gap: 18px; max-width: var(--container-max); margin: 0 auto; padding: 28px var(--gutter) 56px; }
.mt-pagehead .mt-crumb { margin-bottom: 18px; }
.mt-pagehead h1 { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; text-wrap: balance; }
.mt-pagehead .mt-lead, .mt-pagehead .mt-disclaim { max-width: 760px; }

/* Text written in the editor: long descriptions, articles, plain pages. */
.mt-prose { display: grid; gap: 14px; }
.mt-prose > * { margin: 0; min-width: 0; }
.mt-prose h2 { margin-top: 18px; font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; color: var(--navy-900); }
.mt-prose h3 { margin-top: 10px; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 600; color: var(--navy-900); }
.mt-prose > :first-child { margin-top: 0; }
.mt-prose p, .mt-prose li { font-size: 16px; line-height: 27px; color: var(--ink); }
.mt-prose ul, .mt-prose ol { padding-left: 20px; display: grid; gap: 6px; }
.mt-prose a { color: var(--blue-600); font-weight: 600; text-decoration: none; }
.mt-prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mt-prose img { border-radius: var(--radius-lg); }
.mt-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mt-prose th, .mt-prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mt-prose blockquote { padding-left: 20px; border-left: 3px solid var(--orange-500); color: var(--ink-muted); }

/* Text blocks placed between full-width sections on a page. */
.mt-blocks > :not(.mt-section) { max-width: calc(var(--container-text) + 2 * var(--gutter)); margin: 24px auto; padding: 0 var(--gutter); }

.mt-pagination { margin-top: 40px; }
.mt-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mt-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 15px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.mt-pagination .page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.mt-pagination a.page-numbers:hover { border-color: var(--navy-900); }
.mt-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 10. Tablet ---------- */
@media (max-width: 1023px) {
	.mt-nav, .mt-header__cta { display: none; }
	.mt-burger { display: grid; }
	.mt-hero h1 { font-size: 46px; line-height: 50px; }
	.mt-svc, .mt-about, .mt-contact, .mt-catbody, .mt-pdetail { grid-template-columns: 1fr; gap: 40px; }
	.mt-about__media { min-height: 320px; }
	.mt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-8); }
	.mt-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-cats, .mt-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-others { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mt-other { min-height: 120px; }
	.mt-cathead__grid, .mt-ptop__grid { grid-template-columns: 1fr; gap: 32px; }
	.mt-cathead__img { height: 300px; }
	.mt-aside { grid-template-columns: 1fr 1fr; align-items: start; }
	.mt-aside > :only-child { grid-column: 1 / -1; }
	.mt-faqwrap { grid-template-columns: 1fr; gap: 32px; }
	.mt-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .mt-top { top: 46px; }
}

/* ---------- 11. Mobile ---------- */
@media (max-width: 700px) {
	:root { --gutter: 16px; --header-height: 64px; }
	.admin-bar .mt-top { top: 0; }
	.mt-in { padding-top: 56px; padding-bottom: 56px; }
	.mt-in--no-bottom { padding-bottom: 0; }
	.mt-in--flush-top { padding-top: 32px; }
	.mt-h2 { font-size: 28px; line-height: 34px; }
	.mt-lead { font-size: 16px; line-height: 26px; }
	.mt-header__logo img { height: 32px; }
	.mt-btns { flex-direction: column; gap: 12px; }
	.mt-btns .mt-btn { width: 100%; }

	.mt-hero__shade { background: linear-gradient(180deg, rgba(16,15,113,.82) 0%, rgba(16,15,113,.86) 60%, rgba(16,15,113,.93) 100%); }
	.mt-hero__in { padding: 56px var(--gutter) 128px; }
	.mt-hero__content { gap: 18px; }
	.mt-hero h1 { font-size: 36px; line-height: 40px; }
	.mt-hero p { font-size: 16px; line-height: 26px; }
	.mt-hero__ctrl { bottom: 56px; }

	.mt-svc { gap: 24px; margin-top: 32px; }
	.mt-core { padding: 28px 24px; }
	.mt-core h3 { font-size: 28px; line-height: 34px; }
	.mt-svc__row { grid-template-columns: 48px 1fr 20px; gap: 16px; padding: 20px 0; }

	.mt-steps { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
	.mt-step { grid-template-columns: 36px 1fr; column-gap: 8px; row-gap: 2px; padding: 16px 0; }
	.mt-step__num { grid-row: span 2; padding-top: 3px; }
	.mt-steps-note { margin-top: 24px; text-align: left; }

	.mt-cats { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
	.mt-cat { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: none; }
	.mt-cat__img { height: auto; min-height: 148px; }
	.mt-cat__body { gap: 5px; padding: 14px 16px 16px; }
	.mt-cat .mt-h4 { font-size: 17px; line-height: 21px; }
	.mt-cat .mt-link { margin-top: 2px; }

	.mt-grid3 { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
	.mt-sector, .mt-subcats .mt-sector { height: 130px; }
	.mt-sector__name { padding: 32px 12px 12px; font-size: 17px; line-height: 21px; }
	.mt-subcats .mt-sector__name { padding: 28px 10px 10px; font-size: 15px; line-height: 19px; }
	.mt-apps__more { margin-top: 20px; }

	.mt-why { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
	.mt-banner { flex-direction: column; align-items: stretch; padding: 28px 24px; gap: 20px; }
	.mt-about { gap: 28px; }
	.mt-about__media { min-height: 220px; }
	.mt-cta__in { flex-direction: column; align-items: stretch; padding: 56px var(--gutter); gap: 24px; }
	.mt-cta h2 { font-size: 28px; line-height: 34px; }
	.mt-cta p { font-size: 16px; line-height: 26px; }

	.mt-contact { gap: 32px; }
	.mt-form { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
	.mt-form__foot .mt-btn { width: 100%; }
	.mt-fgroup { font-size: 16px; }
	.mt-more { font-size: 16px; padding: 12px 14px; }
	.mt-more-fields { grid-template-columns: 1fr; gap: 20px; }

	.mt-cathead__in { padding: 16px var(--gutter) 40px; }
	.mt-cathead__grid { gap: 24px; margin-top: 20px; }
	.mt-cathead h1, .mt-pagehead h1 { font-size: 34px; line-height: 38px; }
	.mt-cathead .mt-lead { font-size: 16px; line-height: 25px; }
	.mt-cathead__img { height: 200px; }
	.mt-pagehead__in { padding: 16px var(--gutter) 40px; }
	.mt-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }

	.mt-prods { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
	.mt-prod { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: none; }
	.mt-prod__img { height: auto; min-height: 150px; }
	.mt-prod__body { gap: 6px; padding: 14px 16px 16px; }
	.mt-prod .mt-h4 { font-size: 17px; line-height: 21px; }
	.mt-specs { font-size: 13px; line-height: 18px; gap: 2px 10px; }

	.mt-catbody, .mt-pdetail { gap: 32px; }
	.mt-aside { grid-template-columns: 1fr; }
	.mt-prose h2 { font-size: 24px; line-height: 30px; }
	.mt-prose p, .mt-prose li { font-size: 15px; line-height: 25px; }
	.mt-assess, .mt-askbox, .mt-spectable { padding: 22px 20px; }
	.mt-askbox .mt-btn { justify-self: stretch; }
	.mt-others { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
	.mt-other { grid-template-columns: 30px 1fr 20px; grid-template-rows: none; align-items: center; min-height: 0; padding: 16px; font-size: 17px; }

	.mt-ptop__in { padding: 16px var(--gutter) 48px; }
	.mt-ptop__grid { gap: 24px; margin-top: 16px; }
	.mt-thumbs { gap: 8px; }
	.mt-pinfo { gap: 16px; }
	.mt-pinfo h1 { font-size: 32px; line-height: 36px; }
	.mt-keyspecs { grid-template-columns: 112px 1fr; }
	.mt-keyspecs dt, .mt-keyspecs dd { padding: 9px 0; font-size: 14px; line-height: 20px; }
	.mt-video { margin-top: 24px; }
	.mt-video__play { width: 60px; height: 60px; }
	.mt-video__play svg { width: 24px; height: 24px; }
	.mt-howto { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
	.mt-howto li { padding: 18px 20px; }

	.mt-lists { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
	.mt-faqwrap { gap: 24px; }
	.mt-faq__item summary { padding: 14px 16px; font-size: 17px; line-height: 23px; }
	.mt-faq__a { padding: 0 16px 16px; }
	.mt-entry .mt-prod__img { height: auto; }
	.mt-group-title { margin-top: 32px; }
	.mt-empty { margin-top: 24px; padding: 20px; }

	.mt-footer__main { gap: 32px 24px; padding-top: 40px; padding-bottom: 40px; }
	.mt-footer__brand, .mt-footer__contact { grid-column: 1 / -1; }
	.mt-footer__brand img { height: 32px; }
	.mt-footer__bar { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mt-card, .mt-btn, .mt-nav a::after, .mt-arrow, .mt-hero__slide, .mt-sector .mt-pic, .mt-other, .mt-faq__item summary .mt-ico { transition: none; }
	a.mt-card:hover, .mt-other:hover, .mt-sector:hover .mt-pic { transform: none; }
}
