/* Mirotech – site pages, header and footer.
   Concept: the equipment room. Brushed aluminium surfaces, a graphite rack, signal-red accents,
   green status LEDs, spec-sheet hairlines and model codes. Scoped to .mts. */
.mts {
	--paper: #f5f6f7;       /* page */
	--alu: #e6e9ec;         /* aluminium panels */
	--alu-2: #d6dade;
	--white: #ffffff;
	--ink: #121820;         /* graphite text */
	--ink-2: #39424e;
	--muted: #626c79;
	--line: #cdd2d8;        /* hairlines */
	--rack: #161b21;        /* rack body */
	--rack-2: #222932;
	--rack-line: #323a45;
	--red: #e1251b;         /* signal red */
	--red-d: #bf1d14;
	--led: #33c46b;         /* status LED */
	--f-display: "Karantina", "IBM Plex Sans Hebrew", "Arial Narrow", sans-serif;
	--f-body: "IBM Plex Sans Hebrew", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	direction: rtl;
	text-align: right;
	font-family: var(--f-body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	font-size: 17px;
	margin: 0 !important;
	-webkit-font-smoothing: antialiased;
}
.mts *, .mts *::before, .mts *::after { box-sizing: border-box; }
.mts h1, .mts h2, .mts h3 { font-family: var(--f-display); color: inherit; margin: 0; line-height: .92; font-weight: 700; letter-spacing: 0; text-wrap: balance; }
.mts h3 { font-family: var(--f-body); font-size: 19px; line-height: 1.3; font-weight: 600; }
.mts p { margin: 0; }
.mts a { text-decoration: none; color: inherit; }
.mts ul, .mts ol, .mts dl, .mts dd { margin: 0; padding: 0; list-style: none; }
.mts em { font-style: normal; color: var(--red); }
.mts-mono { font-family: var(--f-mono); letter-spacing: .02em; }
.mts-ico { width: 1em; height: 1em; flex: none; }
.mts a:focus-visible, .mts button:focus-visible, .mts summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* Hide Astra's own header/footer and page frame on our pages */
.mts-page #masthead, .mts-page .site-header, .mts-page #colophon, .mts-page .site-footer,
.mts-page .entry-header, .mts-page .ast-breadcrumbs-wrapper { display: none !important; }
.mts-page, .mts-page #page { background: #f5f6f7; }
.mts-page #primary, .mts-page .site-main, .mts-page .ast-article-single, .mts-page .entry-content { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.mts-page .site-content > .ast-container { max-width: 100%; padding: 0; display: block; }
.mts-page .entry-content > .mts { max-width: none; }

.mts-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- Buttons ---------- */
.mts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 1.3em; border-radius: 4px; font: 600 16px/1 var(--f-body);
	border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s;
	white-space: nowrap;
}
.mts-btn .mts-ico { width: 1.15em; height: 1.15em; transition: transform .2s; }
.mts-btn:hover .mts-ico:last-child { transform: translateX(-3px); }
.mts-btn--primary { background: var(--red); color: #fff !important; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.mts-btn--primary:hover { background: var(--red-d); }
.mts-btn--line { border-color: var(--ink); color: var(--ink) !important; }
.mts-btn--line:hover { background: var(--ink); color: #fff !important; }
.mts-btn--line-light { border-color: rgba(255,255,255,.5); color: #fff !important; }
.mts-btn--line-light:hover { background: #fff; color: var(--rack) !important; border-color: #fff; }
.mts-btn--block { width: 100%; }
.mts-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.mts-label { font: 500 13px/1.3 var(--f-mono); color: var(--muted); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.mts-label::before { content: ""; width: 18px; height: 2px; background: var(--red); flex: none; }
.mts-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.mts-go .mts-ico { width: 18px; height: 18px; transition: transform .2s; }

/* LEDs and screws */
.mts-led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4a5360; flex: none; }
.mts-led--on { background: var(--led); box-shadow: 0 0 0 3px rgba(51,196,107,.18), 0 0 8px var(--led); }
.mts-screw { display: block; width: 10px; height: 10px; border-radius: 50%; flex: none;
	background: radial-gradient(circle at 35% 35%, #9aa3ad, #5b636d 70%); position: relative; }
.mts-screw::after { content: ""; position: absolute; inset: 4px 1.5px; background: #2a3038; border-radius: 1px; transform: rotate(35deg); }

/* ---------- Header ---------- */
.mts-chrome { background: transparent; }
.mts-top { background: var(--rack); color: #b9c1cb; font-size: 13px; }
.mts-top__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.mts-top__status { display: inline-flex; align-items: center; gap: 9px; }
.mts-top__meta { display: inline-flex; gap: 20px; align-items: center; }
.mts-top__meta a { color: #fff; }
.mts-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.admin-bar .mts-header { top: 32px; }
.mts-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.mts-brand { display: inline-flex; align-items: center; gap: 10px; color: #3a3f45 !important; flex: none; }
.mts-brand__mark { width: 40px; height: 40px; display: block; }
.mts-brand__mark svg { width: 100%; height: 100%; display: block; }
.mts-brand__text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-family: "Rubik", var(--f-body); }
.mts-brand__text b { font-weight: 600; font-size: 21px; line-height: 1; letter-spacing: -.015em; }
.mts-brand__text small { font-weight: 500; font-size: 14px; line-height: 1; opacity: .8; }
.mts-brand__img { width: 44px; height: 44px; object-fit: contain; }
.mts-brand--light { color: #e8ecf0 !important; }
.mts-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.mts-nav a { padding: 8px 11px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); position: relative; white-space: nowrap; }
.mts-nav a::after { content: ""; position: absolute; right: 11px; left: 11px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.mts-nav a:hover { color: var(--ink); }
.mts-nav a:hover::after, .mts-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mts-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.mts-header__cta { flex: none; }
.mts-burger { display: none; position: relative; }
.mts-burger summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 4px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mts-burger summary::-webkit-details-marker { display: none; }
.mts-burger summary span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.mts-burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mts-burger[open] summary span:nth-child(2) { opacity: 0; }
.mts-burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mts-burger__nav { position: absolute; left: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 40px rgba(18,24,32,.16); padding: 10px; display: grid; gap: 2px; }
.mts-burger__nav a:not(.mts-btn) { padding: 12px 12px; border-radius: 4px; font-weight: 500; }
.mts-burger__nav a:not(.mts-btn):hover, .mts-burger__nav a[aria-current="page"] { background: var(--alu); }
.mts-burger__nav .mts-btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.mts-hero { padding-block: 72px 0; background: var(--paper); }
.mts-hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.mts-hero__text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.mts-hero h1 { font-size: clamp(64px, 8.6vw, 128px); line-height: .86; color: var(--ink); }
.mts-hero__lead { font-size: 19px; color: var(--ink-2); max-width: 34em; line-height: 1.65; }

/* The rack */
.mts-rack {
	background: linear-gradient(90deg, #0f1318 0 22px, var(--rack) 22px calc(100% - 22px), #0f1318 calc(100% - 22px));
	border-radius: 6px; padding: 10px 0; box-shadow: 0 30px 60px -20px rgba(18,24,32,.45), inset 0 0 0 1px #000;
	display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.mts-rack__cap { display: flex; justify-content: space-between; align-items: center; padding: 4px 34px 6px; color: #6e7884; font-size: 11px; letter-spacing: .14em; }
.mts-rack__cap--foot { justify-content: space-between; padding: 6px 30px 2px; }
.mts-unit {
	display: grid; grid-template-columns: 10px 58px minmax(0, 1fr) 54px 8px 10px; align-items: center; gap: 12px;
	margin: 0 10px; padding: 0 12px; height: 46px; border-radius: 2px;
	background: linear-gradient(180deg, #2a313b, var(--rack-2) 45%, #1c222a);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -1px 0 rgba(0,0,0,.5);
	color: #dfe4ea !important; transition: background .2s, transform .2s;
}
.mts-unit__code { font-size: 12px; color: #8f99a5; }
.mts-unit__name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mts-unit__vent { height: 18px; background: repeating-linear-gradient(90deg, #0d1115 0 3px, transparent 3px 6px); opacity: .9; border-radius: 1px; }
.mts-unit .mts-led { animation: mts-blink 3.2s steps(1) infinite; animation-delay: calc(var(--i) * -.37s); }
.mts-unit:hover { background: linear-gradient(180deg, #343c47, #2a313b 45%, #232a33); }
.mts-unit:hover .mts-unit__code { color: #fff; }
.mts-unit:hover .mts-led { background: var(--red); box-shadow: 0 0 0 3px rgba(225,37,27,.2), 0 0 10px var(--red); animation: none; }
@keyframes mts-blink {
	0%, 100% { background: var(--led); box-shadow: 0 0 0 3px rgba(51,196,107,.15), 0 0 8px var(--led); }
	8% { background: #1e7c43; box-shadow: none; }
	12% { background: var(--led); box-shadow: 0 0 0 3px rgba(51,196,107,.15), 0 0 8px var(--led); }
}

.mts-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 72px; }
.mts-facts li { padding: 22px 0 26px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); padding-left: 20px; }
.mts-facts li:last-child { border-left: 0; }
.mts-facts li + li { padding-right: 20px; }
.mts-facts b { font: 700 30px/1 var(--f-display); }
.mts-facts span { color: var(--muted); font-size: 15px; }

/* ---------- Sections ---------- */
.mts-section { padding-block: 104px; background: var(--paper); }
.mts-section--tight { padding-block: 48px 104px; }
.mts-section--alu { background: var(--alu); }
.mts-section--rack { background: var(--rack); color: #e3e8ee; }
.mts-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.mts-head h2 { font-size: clamp(46px, 5.4vw, 76px); }
.mts-head__sub { color: var(--muted); font-size: 18px; }
.mts-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.mts-split > .mts-head { margin-bottom: 0; position: sticky; top: 120px; }

/* Audience panes */
.mts-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mts-pane {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px;
	padding: 40px 40px 36px; min-height: 440px; border-radius: 6px; background: var(--alu); color: var(--ink) !important;
	border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.mts-pane:hover { transform: translateY(-4px); }
.mts-pane__word {
	position: absolute; left: -12px; bottom: -48px; font: 700 clamp(160px, 19vw, 260px)/1 var(--f-display);
	color: transparent; -webkit-text-stroke: 1.5px var(--alu-2); pointer-events: none; transition: -webkit-text-stroke-color .3s;
}
.mts-pane:hover .mts-pane__word { -webkit-text-stroke-color: rgba(225,37,27,.35); }
.mts-pane h3 { font: 700 clamp(38px, 3.6vw, 52px)/.95 var(--f-display); max-width: 11em; position: relative; }
.mts-pane ul { display: grid; gap: 8px; position: relative; }
.mts-pane li { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--ink-2); }
.mts-pane li::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }
.mts-pane .mts-go { margin-top: auto; position: relative; }
.mts-pane:hover .mts-go .mts-ico { transform: translateX(-5px); }
.mts-pane--dark { background: var(--rack); color: #eef1f4 !important; border-color: var(--rack); }
.mts-pane--dark .mts-pane__word { -webkit-text-stroke-color: var(--rack-line); }
.mts-pane--dark li { color: #b9c1cb; }
.mts-pane--dark .mts-label { color: #8f99a5; }

/* Definition table */
.mts-dl { display: grid; border-top: 1.5px solid var(--ink); }
.mts-dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mts-section--alu .mts-dl > div { border-bottom-color: var(--alu-2); }
.mts-dl dt { font: 700 34px/1 var(--f-display); }
.mts-dl dd { color: var(--ink-2); }

/* Signal path */
.mts-signal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.mts-signal::before { content: ""; position: absolute; top: 47px; right: 7px; left: 7px; height: 2px; background: repeating-linear-gradient(270deg, var(--ink) 0 10px, transparent 10px 16px); }
.mts-signal li { display: flex; flex-direction: column; gap: 12px; padding-left: 28px; position: relative; }
.mts-signal__ch { font-size: 12px; color: var(--muted); }
.mts-signal__node { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); position: relative; z-index: 1; margin: 2px 0 10px; }
.mts-signal li:last-child .mts-signal__node { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(225,37,27,.15); }
.mts-signal h3 { font: 700 34px/1 var(--f-display); }
.mts-signal p { color: var(--muted); font-size: 16px; max-width: 18em; }

/* ---------- Inner page head ---------- */
.mts-phead { background: var(--alu); border-bottom: 1px solid var(--alu-2); padding-block: 56px 48px; position: relative; overflow: hidden; }
.mts-phead::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%;
	background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(18,24,32,.05) 7px 8px); mask-image: linear-gradient(90deg, #000, transparent); -webkit-mask-image: linear-gradient(90deg, #000, transparent); pointer-events: none; }
.mts-phead__in { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.mts-crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.mts-crumb a:hover { color: var(--red); }
.mts-phead h1 { font-size: clamp(60px, 8vw, 116px); line-height: .86; max-width: 12em; }
.mts-phead__sub { font-size: 19px; color: var(--ink-2); max-width: 36em; }
.mts-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mts-tags li { font: 500 13px/1 var(--f-mono); padding: 8px 11px; border: 1px solid var(--alu-2); border-radius: 3px; background: var(--paper); color: var(--ink-2); }
.mts-tags--ink li { background: transparent; border-color: var(--line); font-family: var(--f-body); font-size: 14px; }

/* Spec rows */
.mts-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1.5px solid var(--ink); }
.mts-spec { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.mts-spec__ico { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 4px; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.mts-spec__ico .mts-ico { width: 22px; height: 22px; }
.mts-spec:hover .mts-spec__ico { background: var(--red); border-color: var(--red); color: #fff; }
.mts-spec h3 { margin-bottom: 6px; }
.mts-spec p { color: var(--muted); font-size: 16px; }

/* Feature split */
.mts-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.mts-feature__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.mts-feature__text h2 { font-size: clamp(44px, 5vw, 68px); }
.mts-feature__text > p { color: var(--ink-2); max-width: 34em; }
.mts-section--rack .mts-feature__text > p { color: #b9c1cb; }
.mts-section--rack .mts-label { color: #8f99a5; }
.mts-checks { display: grid; gap: 12px; }
.mts-checks li { display: flex; align-items: flex-start; gap: 12px; }
.mts-checks .mts-ico { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* Classroom drawing */
.mts-room { margin: 0; background: var(--paper); border: 1px solid var(--alu-2); border-radius: 6px; padding: 36px 32px 20px; display: flex; flex-direction: column; gap: 22px; }
.mts-room__board { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--rack); border-radius: 3px; box-shadow: 0 0 0 8px #2b323c, 0 18px 30px -12px rgba(18,24,32,.4); padding: 9% 10%; display: flex; flex-direction: column; gap: 9%; }
.mts-room__line { display: block; height: 7%; width: var(--w); background: #4c5562; border-radius: 2px; }
.mts-room__line:first-child { background: var(--red); }
.mts-room__cursor { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.85); left: 30%; top: 62%; box-shadow: 0 0 0 6px rgba(255,255,255,.15); animation: mts-touch 4s ease-in-out infinite; }
@keyframes mts-touch { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-60px, -30px); } 70% { transform: translate(40px, -10px); } }
.mts-room__floor { display: flex; justify-content: space-between; align-items: end; padding: 0 6%; }
.mts-room__spk { width: 26px; height: 40px; background: var(--rack-2); border-radius: 3px; position: relative; }
.mts-room__spk::after { content: ""; position: absolute; left: 50%; top: 60%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #5b6470; }
.mts-room__desk { width: 40%; height: 10px; background: var(--alu-2); border-radius: 2px; }
.mts-room figcaption { font-size: 11.5px; color: var(--muted); text-align: left; direction: ltr; border-top: 1px dashed var(--alu-2); padding-top: 12px; }

/* Service ticket */
.mts-ticket { background: var(--rack-2); border: 1px solid var(--rack-line); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.mts-ticket__row { display: flex; justify-content: space-between; font-size: 12px; color: #8f99a5; padding-bottom: 14px; border-bottom: 1px solid var(--rack-line); }
.mts-ticket__row span:last-child { color: var(--led); }
.mts-ticket__msg { font: 700 34px/1 var(--f-display); color: #fff; }
.mts-ticket__photo { display: flex; align-items: center; gap: 12px; background: #2b333d; border-radius: 4px; padding: 14px; font: 13px var(--f-mono); color: #9aa4b0; }
.mts-ticket__photo .mts-ico { width: 34px; height: 34px; color: #c7ced6; }
.mts-ticket__reply { display: flex; gap: 12px; align-items: center; color: #dfe4ea; font-size: 16px; }

/* FAQ */
.mts-faq { border-top: 1.5px solid var(--ink); }
.mts-faq details { border-bottom: 1px solid var(--line); }
.mts-faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mts-faq summary::-webkit-details-marker { display: none; }
.mts-faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat; transition: transform .2s; }
.mts-faq details[open] summary::after { transform: rotate(45deg); }
.mts-faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 40em; }

/* Products */
.mts-index { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 77px); z-index: 40; }
.admin-bar .mts-index { top: 109px; }
.mts-index__in { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.mts-index a { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: border-color .2s, background .2s; }
.mts-index a span { font-size: 11px; color: var(--red); }
.mts-index a:hover { border-color: var(--ink); background: var(--white); }
.mts-sheets { display: grid; border-top: 1.5px solid var(--ink); }
.mts-sheet { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 170px; }
.mts-sheet__id { display: flex; flex-direction: column; gap: 18px; }
.mts-sheet__code { font-size: 13px; color: var(--red); }
.mts-sheet__ico { width: 76px; height: 76px; display: grid; place-items: center; background: var(--rack); color: #fff; border-radius: 4px; transition: background .2s; }
.mts-sheet:hover .mts-sheet__ico { background: var(--red); }
.mts-sheet__ico .mts-ico { width: 36px; height: 36px; stroke-width: 1.5; }
.mts-sheet__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mts-sheet h2 { font-size: clamp(40px, 4.2vw, 58px); }
.mts-sheet__body > p { color: var(--ink-2); max-width: 36em; }
.mts-sheet__cta { padding-top: 10px; }

/* Gallery */
.mts-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mts-gallery a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--alu); border-radius: 4px; }
.mts-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.mts-gallery a:hover img { transform: scale(1.04); }
.mts-gallery span { position: absolute; inset: auto 0 0 0; padding: 28px 16px 12px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(18,24,32,.85)); }
.mts-admin-note { background: #fff7d6; border: 1px dashed #c9a400; padding: 14px 18px; border-radius: 4px; margin-bottom: 40px; color: #5a4800; }

.mts-prose { display: flex; flex-direction: column; gap: 18px; font-size: 19px; color: var(--ink-2); max-width: 36em; }
.mts-prose p:first-child { font-size: 23px; color: var(--ink); line-height: 1.5; }

/* Contact */
.mts-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.mts-contact__info { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.mts-dl--contact > div { grid-template-columns: 110px minmax(0, 1fr); padding: 18px 0; }
.mts-dl--contact dt { font: 500 13px/1.6 var(--f-mono); color: var(--muted); }
.mts-dl--contact dd { font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.mts-dl--contact dd a:hover { color: var(--red); }
.mts-dl--contact dd .mts-mono { font-size: 20px; }
.mts-map { width: 100%; height: 240px; border: 1px solid var(--line); border-radius: 4px; filter: grayscale(.85) contrast(1.05); }
.mts-form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 4px; padding: 36px; display: grid; gap: 18px; }
.mts-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 6px; }
.mts-form__head h2 { font-size: 52px; }
.mts-form__head span { font-size: 12px; color: var(--muted); }
.mts-form label { display: grid; gap: 7px; font: 500 13px/1.3 var(--f-mono); color: var(--ink-2); letter-spacing: .02em; }
.mts-form input, .mts-form select, .mts-form textarea {
	width: 100%; font: 400 17px/1.4 var(--f-body); color: var(--ink); background: var(--paper);
	border: 0; border-bottom: 1.5px solid var(--alu-2); border-radius: 3px 3px 0 0; padding: 13px 12px; transition: border-color .2s, background .2s; text-align: right;
}
.mts-form input[dir="ltr"] { text-align: left; }
.mts-form input:focus, .mts-form select:focus, .mts-form textarea:focus { outline: none; border-bottom-color: var(--red); background: var(--alu); }
.mts-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mts-form__alt { color: var(--muted); font-size: 15px; }
.mts-form__alt a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mts-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mts-alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 16px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.mts-alert .mts-ico { width: 20px; height: 20px; }
.mts-alert--ok { background: #e3f5ea; color: #17623a; }
.mts-alert--err { background: #fde9e7; color: #9c1b12; }

/* ---------- Footer ---------- */
.mts-footer { background: var(--rack); color: #b9c1cb; padding-block: 88px 28px; }
.mts-footer__call { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--rack-line); }
.mts-footer__call h2 { font-size: clamp(54px, 7vw, 100px); color: #fff; line-height: .88; }
.mts-footer__reach { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.mts-footer__phone { font-size: clamp(32px, 3.6vw, 48px); color: #fff !important; font-weight: 500; letter-spacing: -.01em; }
.mts-footer__phone:hover { color: var(--red) !important; }
.mts-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px; }
.mts-footer__grid h3 { font: 500 12px/1 var(--f-mono); color: #7d8793; letter-spacing: .08em; margin-bottom: 18px; }
.mts-footer__grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mts-footer__grid a { font-size: 15.5px; transition: color .15s; width: fit-content; }
.mts-footer__grid a:hover { color: #fff; }
.mts-footer__brand p { font-size: 15.5px; max-width: 24em; margin-top: 12px; }
.mts-footer__contact a, .mts-footer__contact > span { display: inline-flex; gap: 10px; align-items: center; font-size: 15.5px; overflow-wrap: anywhere; }
.mts-footer__contact .mts-ico { width: 17px; height: 17px; color: #7d8793; }
.mts-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rack-line); font-size: 13px; color: #7d8793; }
.mts-footer__base .mts-mono { font-size: 11px; letter-spacing: .1em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.mts *, .mts *::before, .mts *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
	.mts-nav, .mts-header__cta { display: none; }
	.mts-burger { display: block; margin-right: auto; }
}
@media (max-width: 1024px) {
	.mts-hero__in, .mts-feature, .mts-contact, .mts-split, .mts-footer__call { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.mts-split > .mts-head { position: static; }
	.mts-rack { max-width: 560px; }
	.mts-signal { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.mts-signal::before { display: none; }
	.mts-sheet { grid-template-columns: 110px minmax(0, 1fr); }
	.mts-sheet__cta { grid-column: 2; padding-top: 0; }
	.mts-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mts-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.mts { font-size: 16px; }
	.mts-wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
	.mts-top__meta span { display: none; }
	.mts-header__in { min-height: 66px; gap: 12px; }
	.mts-brand__mark { width: 34px; height: 34px; }
	.mts-brand__text b { font-size: 18px; }
	.mts-brand__text small { font-size: 12.5px; }
	.mts-index { top: calc(env(safe-area-inset-top, 0px) + 67px); }
	.mts-hero { padding-block: 44px 0; }
	.mts-hero h1 { font-size: clamp(56px, 17vw, 80px); }
	.mts-hero__lead { font-size: 17px; }
	.mts-unit { grid-template-columns: 8px 46px minmax(0, 1fr) 8px 8px; gap: 10px; margin: 0 6px; padding: 0 10px; height: 42px; }
	.mts-unit__vent { display: none; }
	.mts-unit__name { font-size: 14px; }
	.mts-rack__cap { padding-inline: 28px; }
	.mts-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
	.mts-facts li { border-left: 0 !important; padding: 18px 0 !important; border-bottom: 1px solid var(--line); }
	.mts-facts li:nth-child(odd) { padding-left: 12px !important; }
	.mts-section { padding-block: 68px; }
	.mts-section--tight { padding-block: 32px 68px; }
	.mts-head { margin-bottom: 32px; }
	.mts-panes, .mts-specs, .mts-signal, .mts-form__row, .mts-gallery, .mts-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.mts-pane { padding: 30px 24px; min-height: 380px; }
	.mts-dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.mts-dl--contact > div { grid-template-columns: 90px minmax(0, 1fr); }
	.mts-phead { padding-block: 40px 36px; }
	.mts-phead h1 { font-size: clamp(54px, 15vw, 76px); }
	.mts-phead__sub { font-size: 17px; }
	.mts-sheet { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 30px 0; }
	.mts-sheet__id { flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
	.mts-sheet__ico { width: 56px; height: 56px; }
	.mts-sheet__ico .mts-ico { width: 28px; height: 28px; }
	.mts-sheet__cta { grid-column: auto; }
	.mts-sheet__cta .mts-btn, .mts-actions .mts-btn { width: 100%; }
	.mts-form { padding: 24px 20px; }
	.mts-form__head h2 { font-size: 44px; }
	.mts-room { padding: 24px 20px 16px; }
	.mts-footer { padding-block: 64px 24px; }
	.mts-footer__call { padding-bottom: 44px; }
	.mts-footer__grid { padding-block: 40px; gap: 32px; }
}

/* ---------- File field ---------- */
.mts-file { position: relative; }
.mts-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; }
.mts-file__box { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--alu-2); border-radius: 4px; background: var(--paper); font: 400 15px/1.4 var(--f-body); color: var(--muted); transition: border-color .2s, background .2s; }
.mts-file__box .mts-ico { width: 24px; height: 24px; color: var(--ink); flex: none; }
.mts-file:hover .mts-file__box, .mts-file:focus-within .mts-file__box { border-color: var(--red); background: var(--alu); }
.mts-file:focus-within .mts-file__box { outline: 2px solid var(--red); outline-offset: 2px; }
.mts-file__name { overflow-wrap: anywhere; }
.mts-file__hint { font: 400 12px/1.3 var(--f-mono); color: var(--muted); }

/* ---------- Legal / statement ---------- */
.mts-legal { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.mts-legal h2 { font-size: 40px; margin-top: 28px; }
.mts-legal h2:first-child { margin-top: 0; }
.mts-legal p, .mts-legal li { color: var(--ink-2); }
.mts-legal ul { display: grid; gap: 8px; }
.mts-legal li { display: flex; gap: 12px; }
.mts-legal li::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; margin-top: .65em; }
.mts-legal .mts-dl { margin-top: 8px; }
.mts-legal__date { font-size: 13px; color: var(--muted); margin-top: 12px; }
.mts-footer__base a { color: #b9c1cb; text-decoration: underline; text-underline-offset: 3px; }
.mts-footer__base a:hover { color: #fff; }
#mts-main:focus { outline: none; }

/* ---------- School flagships (home) ---------- */
.mts-flags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mts-flag { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1); }
.mts-flag:hover { border-color: var(--ink); transform: translateY(-4px); }
.mts-flag__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%; background: var(--rack); color: #fff; overflow: hidden;
	background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; }
.mts-flag__media.has-photo { background: var(--alu); }
.mts-flag__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mts-flag:hover .mts-flag__photo { transform: scale(1.04); }
.mts-flag__ico { width: 104px; height: 104px; display: grid; place-items: center; border: 1.5px solid var(--rack-line); border-radius: 50%; transition: border-color .3s, background .3s; }
.mts-flag__ico .mts-ico { width: 46px; height: 46px; stroke-width: 1.4; }
.mts-flag:hover .mts-flag__ico { background: var(--red); border-color: var(--red); }
.mts-flag__code { position: absolute; top: 14px; right: 14px; font-size: 12px; padding: 5px 8px; background: rgba(18,24,32,.75); color: #fff; border-radius: 2px; }
.mts-flag__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; flex: 1; align-items: flex-start; }
.mts-flag__body h3 { font: 700 40px/.95 var(--f-display); }
.mts-flag__body h3 a:hover { color: var(--red); }
.mts-flag__body > p { color: var(--ink-2); font-size: 16px; }
.mts-flag__body .mts-checks { gap: 8px; margin-bottom: 6px; flex: 1; }
.mts-flag__body .mts-checks li { font-size: 15.5px; }
.mts-flag__body .mts-checks .mts-ico { width: 19px; height: 19px; }

.mts-also { margin-top: 48px; padding-top: 28px; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.mts-also ul { display: flex; flex-wrap: wrap; gap: 8px; }
.mts-also a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; font-size: 15px; font-weight: 500; background: var(--white); transition: border-color .2s, color .2s; }
.mts-also a .mts-ico { width: 18px; height: 18px; color: var(--muted); transition: color .2s; }
.mts-also a:hover { border-color: var(--ink); }
.mts-also a:hover .mts-ico { color: var(--red); }

.mts-unit--flag .mts-unit__code { color: #ff6b62; }

.mts-biz { background: var(--rack); color: #c9d0d8; }
.mts-biz__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 30px; }
.mts-biz b { color: #fff; }
.mts-biz .mts-go { color: #fff; }
.mts-biz .mts-go:hover .mts-ico { transform: translateX(-4px); }

.mts-photo-frame { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--alu); }
.mts-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.mts-about-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 120px; }
.mts-about-side .mts-head { position: static; margin-bottom: 0; }

@media (max-width: 1024px) {
	.mts-flags { grid-template-columns: minmax(0, 1fr); }
	.mts-flag { flex-direction: row; }
	.mts-flag__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 260px; }
	.mts-about-side { position: static; }
	.mts-also { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 680px) {
	.mts-flag { flex-direction: column; }
	.mts-flag__media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
	.mts-flag__ico { width: 84px; height: 84px; }
	.mts-flag__body { padding: 22px 20px 24px; }
	.mts-flag__body .mts-btn { width: 100%; }
	.mts-flag__body h3 { font-size: 36px; }
	.mts-also a { font-size: 14px; padding: 9px 12px; }
}
.mts .mts-flag__media { color: #fff; }
.mts-hero h1 { font-size: clamp(56px, 6.4vw, 98px); }
@media (max-width: 680px) { .mts-hero h1 { font-size: clamp(50px, 14vw, 68px); } }

/* ---------- AIDA home ---------- */
/* Attention: school-day board */
.mts-day { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 60px -28px rgba(18,24,32,.35); overflow: hidden; min-width: 0; }
.mts-day__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--rack); color: #c9d0d8; font-size: 13px; }
.mts-day__ok { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.mts-day__list { display: grid; }
.mts-day__list li { display: grid; grid-template-columns: 52px 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--alu); animation: mts-day-in .5s ease-out both; animation-delay: calc(var(--i) * .12s + .2s); }
.mts-day__list li:last-child { border-bottom: 0; }
.mts-day__list time { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mts-day__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--alu); color: var(--ink); }
.mts-day__ico .mts-ico { width: 20px; height: 20px; }
.mts-day__what { display: flex; flex-direction: column; font-size: 15px; color: var(--ink-2); min-width: 0; }
.mts-day__what b { font-weight: 600; color: var(--ink); font-size: 16px; }
.mts-day__st { font-size: 12px; padding: 5px 9px; border-radius: 999px; background: #e3f5ea; color: #17623a; white-space: nowrap; }
.mts-day__list li:last-child .mts-day__st { background: #fde9e7; color: var(--red-d); }
.mts-day__list li:last-child .mts-day__ico { background: var(--red); color: #fff; }
@keyframes mts-day-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Interest: problem → fix */
.mts-pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1.5px solid var(--ink); }
.mts-pain { display: grid; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.mts-pain__bad { display: flex; gap: 14px; align-items: flex-start; font: 700 30px/1.05 var(--f-display); color: var(--ink); }
.mts-pain__x { width: 22px; height: 22px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--alu);
	background-image: linear-gradient(45deg, transparent 45%, var(--red) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--red) 45% 55%, transparent 55%); background-size: 12px 12px; background-position: center; background-repeat: no-repeat; }
.mts-pain__good { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); padding-right: 36px; }
.mts-pain__good .mts-ico { width: 22px; height: 22px; color: #1f8a4c; flex: none; margin-top: 2px; }

/* Action band */
.mts-act { background: var(--red); color: #fff; }
.mts-act__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-block: 64px; }
.mts-act .mts-label { color: rgba(255,255,255,.85); }
.mts-act .mts-label::before { background: #fff; }
.mts-act h2 { font-size: clamp(46px, 5vw, 72px); margin: 10px 0 12px; }
.mts-act__text p:last-child { color: rgba(255,255,255,.9); max-width: 30em; }
.mts-act__steps { display: grid; gap: 10px; }
.mts-act__steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 17px; }
.mts-act__steps span { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); display: grid; place-items: center; font-size: 14px; flex: none; }
.mts-act .mts-btn--primary { background: #fff; color: var(--red-d) !important; box-shadow: none; }
.mts-act .mts-btn--primary:hover { background: var(--rack); color: #fff !important; }
.mts-act__btns { flex-direction: column; align-items: stretch; }

@media (max-width: 1024px) {
	.mts-act__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.mts-act__btns { flex-direction: row; }
	.mts-day { max-width: 560px; }
}
@media (max-width: 680px) {
	.mts-pains { grid-template-columns: minmax(0, 1fr); }
	.mts-pain__bad { font-size: 26px; }
	.mts-pain__good { padding-right: 0; }
	.mts-day__list li { grid-template-columns: 44px 34px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
	.mts-day__st { grid-column: 3; justify-self: start; }
	.mts-day__ico { width: 34px; height: 34px; }
	.mts-day__head { padding: 14px; }
	.mts-act__in { padding-block: 48px; }
	.mts-act__btns { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .mts-day__list li { animation: none; } }
.mts-home .mts-footer__call { display: none; }
.mts-home .mts-footer { padding-top: 24px; }

/* ---------- Google reviews ---------- */
.mts-reviews .mts-head h2 { color: #fff; }
.mts-reviews .mts-label { color: #8f99a5; }
.mts-reviews__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.mts-reviews__top .mts-head { margin-bottom: 0; }
.mts-gscore { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border: 1px solid var(--rack-line); border-radius: 6px; }
.mts-gscore b { font-size: 46px; line-height: 1; color: #fff; font-weight: 500; }
.mts-gscore div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #9aa4b0; }
.mts-stars { color: #f5b301; letter-spacing: 2px; font-size: 18px; line-height: 1; direction: ltr; display: inline-block; }
.mts-stars i { font-style: normal; color: #4a5360; }
.mts-revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mts-rev { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--rack-2); border: 1px solid var(--rack-line); border-radius: 6px; }
.mts-rev blockquote { margin: 0; flex: 1; }
.mts-rev blockquote p { color: #e3e8ee; font-size: 17px; line-height: 1.7; }
.mts-rev figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rack-line); }
.mts-rev figcaption > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mts-rev b { color: #fff; font-weight: 600; }
.mts-rev small { color: #8f99a5; font-size: 13px; }
.mts-rev__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; flex: none; }
.mts-rev__src { font-size: 11px; color: #7d8793; }
.mts-reviews__cta { margin-top: 36px; }
@media (max-width: 1024px) { .mts-revs { grid-template-columns: minmax(0, 1fr); } }
