/* Services showcase: tab list + animated product screens + keyword summary */

.services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.services__head p { color: var(--text-soft); font-size: 1.2rem; }

.show { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }

/* ---------- Tabs ---------- */
.show__tabs { display: grid; border-top: 1px solid var(--black); }
.show__tab {
  position: relative; display: block; width: 100%; text-align: left;
  padding: 15px 0; background: none; border: 0; border-bottom: 1px solid var(--mist);
  font: 400 1.1rem/1.3 var(--font); color: #7d8187; cursor: pointer;
  transition: color .25s, padding-left .35s var(--ease);
}
.show__tab:hover { color: var(--black); }
.show__tab[aria-selected="true"] { color: var(--black); font-weight: 500; padding-left: 16px; }
.show__tab::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .3s var(--ease);
}
.show__tab[aria-selected="true"]::before { transform: none; }
.show__tab i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
.show.is-auto .show__tab[aria-selected="true"] i { animation: tab-progress var(--auto, 8s) linear forwards; }
.show.is-auto.is-paused .show__tab[aria-selected="true"] i { animation-play-state: paused; }
@keyframes tab-progress { to { width: 100%; } }

/* ---------- Stage ---------- */
.show__panel[hidden] { display: none; }
.show__stage {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(400px, 40vw, 520px); padding: clamp(16px, 2.6vw, 32px);
  display: grid; place-items: center;
  background: var(--graphite); border-radius: 22px;
}
.show__stage::before {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -200px; top: -260px;
  background: radial-gradient(closest-side, rgba(79, 124, 255, .25), transparent);
}
.show__stage > * { animation: stage-in .55s var(--ease) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.show__info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 20px; }
.show__info p { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; max-width: 44ch; }
.show__info .tags { margin: 0; }

/* Shared helpers */
@keyframes mk-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(124, 156, 255, .55); } 100% { box-shadow: 0 0 0 10px rgba(124, 156, 255, 0); } }
.mk-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--accent); animation: blink 1s steps(1) infinite; }

/* Window chrome */
.mk-win { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--white); color: var(--black); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); }
.mk-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--paper); border-bottom: 1px solid var(--mist); }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d0d2d5; }
.mk-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: var(--white); font-size: .68rem; color: var(--steel); }

/* Toast used by several mocks */
.mk-toast2 {
  position: absolute; z-index: 5; top: 46px; right: 14px; display: flex; gap: 10px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 12px; background: rgba(26, 27, 30, .96); color: var(--white);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-10px) scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mk-toast2 b { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent); position: relative; }
.mk-toast2 b::after { content: ""; position: absolute; left: 10px; top: 6px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk-toast2 strong { display: block; font-size: .76rem; font-weight: 500; }
.mk-toast2 span { display: block; font-size: .66rem; color: var(--text-dim); }
.mk-toast2.is-on { opacity: 1; transform: none; }

/* ---------- Web: site + live CMS editing ---------- */
.mk-web__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 210px; }
.mk-site { min-width: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.mk-site__nav { display: flex; align-items: center; gap: 14px; font-size: .68rem; color: var(--steel); }
.mk-site__nav strong { font-size: .86rem; color: var(--black); font-weight: 600; letter-spacing: -0.01em; margin-right: auto; }
.mk-site__nav em { font-style: normal; padding: 5px 11px; border-radius: 999px; background: var(--black); color: var(--white); }
.mk-site__hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; padding: 6px 0; }
.mk-site__hero h4 { margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; border-radius: 6px; transition: background-color .4s, box-shadow .4s; min-height: 2.2em; }
.mk-site__hero h4.is-live { background: var(--accent-soft); box-shadow: 0 0 0 4px var(--accent-soft); }
.mk-site__hero p { margin: 8px 0 12px; font-size: .7rem; color: var(--steel); }
.mk-site__btns { display: flex; gap: 6px; font-size: .64rem; }
.mk-site__btns em { font-style: normal; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--white); }
.mk-site__btns span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--mist); }
.mk-site__shot { padding: 10px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--mist); }
.mk-site__shot-bar { width: 45%; height: 6px; border-radius: 3px; background: var(--graphite); }
.mk-site__shot-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.mk-site__shot-kpis b { height: 24px; border-radius: 6px; background: var(--white); }
.mk-site__shot-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.mk-site__shot-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--graphite); }
.mk-site__shot-bars i:last-child { background: var(--accent); }
.mk-site__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-site__feats div { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: var(--paper); }
.mk-site__feats b { width: 20px; height: 20px; border-radius: 6px; background: var(--black); margin-bottom: 4px; }
.mk-site__feats div:first-child b { background: var(--accent); }
.mk-site__feats i { height: 5px; border-radius: 3px; background: #d6d8db; }
.mk-site__feats i.s { width: 60%; }
.mk-site__logos { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--mist); font-size: .7rem; font-weight: 600; letter-spacing: .05em; color: #b9bcc1; }
.mk-cms { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #f7f7f8; border-left: 1px solid var(--mist); font-size: .7rem; }
.mk-cms__head { font-weight: 600; font-size: .74rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.mk-cms__head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mk-cms label { font-size: .62rem; color: var(--steel); margin-top: 4px; }
.mk-cms__field { min-height: 32px; padding: 7px 9px; border-radius: 8px; background: var(--white); border: 1px solid var(--mist); line-height: 1.35; }
.mk-cms__field.is-focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mk-cms__publish { position: relative; margin-top: auto; height: 34px; border-radius: 8px; background: var(--black); color: var(--white); font-weight: 500; transition: background-color .35s; }
.mk-cms__publish span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s; }
.mk-cms__publish span + span { opacity: 0; }
.mk-cms__publish.is-done { background: var(--accent); }
.mk-cms__publish.is-done span:first-child { opacity: 0; }
.mk-cms__publish.is-done span + span { opacity: 1; }
.mk-cms__publish.is-press { transform: scale(.96); }
.mk-badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--white);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .35), 0 0 0 1px var(--mist);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mk-badge.is-on { opacity: 1; transform: none; }
.mk-badge svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.mk-badge circle { fill: none; stroke: var(--mist); stroke-width: 4; }
.mk-badge .mk-badge__ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100.6; stroke-dashoffset: 100.6; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.mk-badge.is-on .mk-badge__ring { stroke-dashoffset: 0; }
.mk-badge strong { display: block; font-size: 1.05rem; line-height: 1; font-weight: 500; }
.mk-badge span { font-size: .64rem; color: var(--steel); }

/* ---------- SaaS dashboard ---------- */
.mk-saas__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); }
.mk-side { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; background: var(--paper); border-right: 1px solid var(--mist); }
.mk-side__logo { width: 22px; height: 22px; border-radius: 7px; background: var(--black); margin-bottom: 8px; }
.mk-side i { width: 16px; height: 16px; border-radius: 5px; background: #d6d8db; }
.mk-side i.on { background: var(--accent); }
.mk-saas__main { min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mk-saas__head { display: flex; justify-content: space-between; align-items: center; }
.mk-saas__head strong { font-size: .92rem; font-weight: 500; }
.mk-saas__head span { font-size: .62rem; padding: 4px 9px; border: 1px solid var(--mist); border-radius: 999px; color: var(--steel); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-kpis div { padding: 8px 10px; border: 1px solid var(--mist); border-radius: 10px; }
.mk-kpis span { display: block; font-size: .6rem; color: var(--steel); }
.mk-kpis strong { display: block; font-size: 1.05rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.mk-kpis em { font-style: normal; font-size: .6rem; font-weight: 500; color: var(--accent); }
.mk-area { position: relative; flex: 1; min-height: 70px; }
.mk-area svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-area__grid { stroke: #eceef0; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.mk-area__line { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; }
.mk-area__fill { opacity: 0; }
.show__panel.is-active .mk-area__line { animation: draw-line 1.5s var(--ease) .5s forwards; }
.show__panel.is-active .mk-area__fill { animation: mk-fade-in .8s ease 1.3s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.mk-area__tip { position: absolute; right: 0; top: -2px; padding: 5px 9px; border-radius: 8px; background: var(--black); color: var(--white); font-size: .62rem; opacity: 0; }
.mk-area__tip strong { font-weight: 500; margin-right: 6px; }
.mk-area__tip span { color: var(--text-dim); }
.show__panel.is-active .mk-area__tip { animation: mk-fade-in .4s ease 1.9s forwards; }
.mk-subs { display: grid; gap: 2px; }
.mk-sub { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 40px; gap: 8px; align-items: center; padding: 5px 6px; border-radius: 8px; font-size: .66rem; transition: background-color .6s; }
.mk-sub b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: .52rem; font-weight: 600; }
.mk-sub em { font-style: normal; color: var(--steel); }
.mk-sub strong { font-weight: 500; text-align: right; }
.mk-sub--new { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, padding .5s, background-color 1.2s; }
.mk-sub--new.is-on { max-height: 40px; padding-top: 5px; padding-bottom: 5px; opacity: 1; background: var(--accent-soft); }
.mk-sub--new.is-on.is-settled { background: transparent; }

/* ---------- Mobile apps ---------- */
.mk-phones { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.mk-phone { position: relative; height: 100%; max-height: 430px; aspect-ratio: 9 / 18.5; padding: 8px; border-radius: 40px; background: #0a0a0b; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .75), inset 0 0 0 1.5px #3a3d42; }
.mk-phone--back { position: absolute; transform: translateX(-62%) rotate(-9deg) scale(.86); opacity: .95; }
.mk-phone--front { transform: translateX(22%); }
.mk-phone__island { position: absolute; z-index: 6; top: 16px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 999px; background: #0a0a0b; }
.mk-screen { position: absolute; inset: 8px; border-radius: 32px; background: var(--white); color: var(--black); overflow: hidden; display: flex; flex-direction: column; }
.mk-screen--login { padding: 54px 18px 18px; gap: 10px; align-items: stretch; }
.mk-applogo { width: 42px; height: 42px; border-radius: 13px; background: var(--black); align-self: center; margin-bottom: 8px; position: relative; }
.mk-applogo::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 3px solid var(--accent-on-dark); }
.mk-screen--login strong { text-align: center; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.mk-input { height: 30px; border-radius: 9px; background: var(--paper); }
.mk-screen--login em { font-style: normal; margin-top: 6px; padding: 9px; border-radius: 10px; background: var(--accent); color: var(--white); text-align: center; font-size: .7rem; font-weight: 500; }
.mk-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-size: .62rem; font-weight: 600; position: relative; z-index: 2; }
.mk-status__icons { display: flex; gap: 3px; }
.mk-status__icons i { width: 12px; height: 7px; border-radius: 2px; background: var(--black); }
.mk-status__icons i:first-child { width: 9px; opacity: .6; }
.mk-minimap { margin-top: -28px; height: 46%; background: #eef0f2; }
.mk-minimap svg { width: 100%; height: 100%; display: block; }
.mm-road { fill: none; stroke: var(--white); stroke-width: 12; }
.mm-route { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.mm-dest { fill: var(--accent); stroke: var(--white); stroke-width: 2.5; }
.mm-car { fill: var(--black); stroke: var(--white); stroke-width: 2.5; }
.mk-eta { flex: 1; margin-top: -14px; padding: 14px 14px 12px; border-radius: 18px 18px 0 0; background: var(--white); display: flex; flex-direction: column; gap: 4px; position: relative; box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .3); }
.mk-eta > span { font-size: .6rem; color: var(--steel); }
.mk-eta > strong { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-driver { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px; border-radius: 12px; background: var(--paper); }
.mk-driver b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--graphite); color: var(--white); font-size: .56rem; font-weight: 600; }
.mk-driver strong { display: block; font-size: .7rem; font-weight: 500; }
.mk-driver span { display: block; font-size: .58rem; color: var(--steel); }
.mk-driver i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--black); position: relative; }
.mk-driver i::after { content: ""; position: absolute; inset: 9px; border-radius: 2px; border: 2px solid var(--white); border-top-color: transparent; border-left-color: transparent; transform: rotate(45deg); }
.mk-progress { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: .5rem; color: var(--steel); text-align: center; }
.mk-progress li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--mist); margin-bottom: 5px; transition: background-color .4s; }
.mk-progress li.on { color: var(--black); }
.mk-progress li.on::before { background: var(--accent); }
.mk-push {
  position: absolute; z-index: 7; top: 40px; left: 14px; right: 14px; display: flex; gap: 9px; align-items: center;
  padding: 10px 12px; border-radius: 18px; background: rgba(28, 29, 32, .94); color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-30px) scale(.95); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mk-push.is-on { opacity: 1; transform: none; }
.mk-push b { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--black); position: relative; box-shadow: inset 0 0 0 1px #3a3d42; }
.mk-push b::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2.5px solid var(--accent-on-dark); }
.mk-push strong { display: block; font-size: .66rem; font-weight: 500; }
.mk-push span { display: block; font-size: .58rem; color: var(--text-dim); }

/* ---------- AI: document + chat ---------- */
.mk-ai__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.mk-doc { display: flex; flex-direction: column; gap: 7px; padding: 16px; background: #fafafa; border-right: 1px solid var(--mist); overflow: hidden; }
.mk-doc__title { display: flex; align-items: center; gap: 7px; font-size: .64rem; color: var(--steel); margin-bottom: 6px; }
.mk-doc__title b { width: 12px; height: 15px; border-radius: 2px; border: 1.5px solid var(--steel); }
.mk-doc i { height: 6px; border-radius: 3px; background: #e3e5e8; }
.mk-doc i.s { width: 68%; }
.mk-doc strong { margin-top: 8px; font-size: .72rem; font-weight: 600; }
.mk-doc p { margin: 0 -6px; padding: 6px; border-radius: 6px; font-size: .68rem; line-height: 1.5; background: linear-gradient(var(--accent-soft), var(--accent-soft)) 0 0 / 0% 100% no-repeat; transition: background-size .9s var(--ease), box-shadow .4s; }
.mk-doc p.is-on { background-size: 100% 100%; box-shadow: inset 2px 0 0 var(--accent); }
.mk-chat { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-width: 0; }
.mk-msg { max-width: 88%; padding: 9px 13px; font-size: .76rem; line-height: 1.45; border-radius: 15px; }
.mk-msg--me { align-self: flex-end; background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
.mk-msg--ai { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; display: none; }
.mk-msg--ai.is-on { display: block; }
.mk-src { display: none; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .64rem; font-weight: 500; width: max-content; }
.mk-src::before { content: ""; width: 7px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; }
.mk-src.is-on { display: flex; animation: mk-fade-in .3s ease; }
.mk-typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 15px; background: var(--paper); }
.mk-typing.is-on { display: flex; }
.mk-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--steel); animation: blink-dot 1s infinite; }
.mk-typing i:nth-child(2) { animation-delay: .15s; }
.mk-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink-dot { 50% { opacity: .25; } }
.mk-action { align-self: flex-start; display: flex; gap: 9px; align-items: center; padding: 8px 12px 8px 8px; border: 1px solid var(--mist); border-radius: 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mk-action.is-on { opacity: 1; transform: none; }
.mk-action b { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); position: relative; }
.mk-action b::after { content: ""; position: absolute; left: 9px; top: 5px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mk-action strong { display: block; font-size: .7rem; font-weight: 500; }
.mk-action span { display: block; font-size: .62rem; color: var(--steel); }

/* ---------- GPS tracking ---------- */
.mk-map { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65); }
.mk-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-ground { fill: #e9ebee; }
.c-blocks rect { fill: #dde0e4; }
.c-blocks .c-park { fill: #d9dfdb; }
.c-river { fill: none; stroke: #d3dbea; stroke-width: 26; stroke-linecap: round; }
.c-main { fill: none; stroke: #f7f8f9; stroke-width: 12; }
.c-route-bg { fill: none; stroke: rgba(79, 124, 255, .18); stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.c-route { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.c-fence { fill: rgba(79, 124, 255, .12); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 5; }
.c-dest { fill: var(--accent); stroke: var(--white); stroke-width: 3; }
.c-other circle { fill: #8b8f96; stroke: var(--white); stroke-width: 2; }
.c-halo { fill: rgba(79, 124, 255, .25); transform-box: fill-box; transform-origin: center; animation: halo 1.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.c-truck { fill: var(--black); stroke: var(--white); stroke-width: 3; }
.mk-tele { position: absolute; bottom: 14px; right: 14px; width: 200px; padding: 12px; border-radius: 14px; background: var(--white); color: var(--black); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .35); }
.mk-tele__head { display: flex; gap: 9px; align-items: center; }
.mk-tele__head b { width: 30px; height: 30px; border-radius: 9px; background: var(--black); position: relative; }
.mk-tele__head b::after { content: ""; position: absolute; left: 7px; right: 7px; top: 11px; height: 8px; border-radius: 2px; background: var(--white); }
.mk-tele__head strong { display: block; font-size: .8rem; font-weight: 500; }
.mk-tele__head span { display: block; font-size: .6rem; color: var(--steel); }
.mk-tele dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 0; }
.mk-tele dl div { padding: 6px 8px; border-radius: 8px; background: var(--paper); }
.mk-tele dt { font-size: .56rem; color: var(--steel); }
.mk-tele dd { margin: 0; font-size: .8rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.mk-map__alert { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--black); color: var(--white); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mk-map__alert b { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-on-dark); animation: pulse-ring 1.4s infinite; }
.mk-map__alert strong { display: block; font-size: .76rem; font-weight: 500; }
.mk-map__alert span { display: block; font-size: .62rem; color: var(--text-dim); }
.mk-map__alert.is-on { opacity: 1; transform: none; }

/* ---------- Custom system (ERP) ---------- */
.mk-erp__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); }
.mk-erp__nav { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; background: var(--graphite); color: var(--text-dim); font-size: .68rem; }
.mk-erp__nav strong { color: var(--white); font-size: .82rem; font-weight: 500; padding: 0 8px; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.mk-erp__nav strong::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.mk-erp__nav span { padding: 7px 8px; border-radius: 7px; }
.mk-erp__nav span.on { background: rgba(255, 255, 255, .09); color: var(--white); }
.mk-erp__main { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.mk-erp__head { display: flex; justify-content: space-between; align-items: center; }
.mk-erp__head strong { font-size: .92rem; font-weight: 500; }
.mk-erp__head em { font-style: normal; font-size: .62rem; padding: 5px 11px; border-radius: 999px; background: var(--black); color: var(--white); }
.mk-erp__filters { display: flex; gap: 6px; font-size: .6rem; }
.mk-erp__filters span { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--mist); color: var(--steel); }
.mk-erp__filters span.on { background: var(--paper); color: var(--black); border-color: var(--paper); }
.mk-po { display: grid; grid-template-columns: .8fr 1.5fr .8fr 82px; gap: 8px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--mist); font-size: .7rem; border-radius: 6px; transition: background-color .6s; }
.mk-po--head { font-size: .6rem; color: var(--steel); padding-top: 4px; }
.mk-po__sup { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; }
.mk-po__sup b { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: .5rem; font-weight: 600; }
.mk-po.is-flash { background: var(--accent-soft); }
.mk-chip { position: relative; height: 22px; }
.mk-chip em { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 999px; font-style: normal; font-size: .62rem; font-weight: 500; transition: opacity .3s, transform .35s var(--ease); }
.mk-chip em:first-child { background: var(--paper); color: var(--steel); }
.mk-chip em:last-child { background: var(--accent-soft); color: var(--accent); opacity: 0; transform: scale(.8); }
.mk-chip.on em:first-child { opacity: 0; }
.mk-chip.on em:last-child { opacity: 1; transform: none; }
.mk-erp__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .62rem; color: var(--steel); }
.mk-erp__foot strong { color: var(--black); font-size: .74rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.mk-erp__meter { flex: 1; height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.mk-erp__meter i { display: block; height: 100%; width: var(--m, 0%); background: var(--accent); border-radius: 3px; transition: width .5s var(--ease); }

/* ---------- Integrations ---------- */
.mk-int { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.mk-int__net { position: relative; }
.mk-int__net svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-int .ln { fill: none; stroke: #4a4d53; stroke-width: 2; vector-effect: non-scaling-stroke; }
.mk-int .pk { fill: var(--accent-on-dark); }
.mk-svc { position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--white); color: var(--black); white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); transition: box-shadow .3s, transform .3s var(--ease); }
.mk-svc.is-ping { box-shadow: 0 0 0 3px var(--accent-on-dark), 0 14px 30px -14px rgba(0, 0, 0, .6); transform: scale(1.04); }
.mk-svc b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--black); color: var(--white); font-size: .8rem; font-weight: 600; }
.mk-svc strong { display: block; font-size: .76rem; font-weight: 500; }
.mk-svc span { display: block; font-size: .6rem; color: var(--steel); }
.mk-hub { position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: .84rem; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 10px rgba(79, 124, 255, .16), 0 0 0 22px rgba(79, 124, 255, .07); }
.mk-hub b { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse-ring 1.4s infinite; }
.mk-log { height: 92px; overflow: hidden; padding: 8px 12px; border-radius: 12px; background: #1a1b1e; box-shadow: inset 0 0 0 1px #2c2e33; font: 400 .66rem/1.5 var(--mono); color: #c9cbcf; }
.mk-log div { display: flex; gap: 10px; padding: 3px 0; white-space: nowrap; animation: log-in .4s var(--ease); }
.mk-log time { color: #6b6f76; }
.mk-log b { color: var(--accent-on-dark); font-weight: 400; }
.mk-log em { font-style: normal; color: #9a9ea5; overflow: hidden; text-overflow: ellipsis; }
@keyframes log-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Cloud ---------- */
.mk-win--term { background: #0d0e10; color: var(--white); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px #26282c; }
.mk-win--term .mk-bar { background: #16171a; border-bottom-color: #26282c; }
.mk-win--term .mk-bar i { background: #3a3d42; }
.mk-win--term .mk-bar span { background: #0d0e10; color: #7d8187; }
.mk-pipe { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 20px 14px; }
.mk-step { position: relative; display: grid; justify-items: center; gap: 9px; font-size: .74rem; color: #7d8187; transition: color .3s; }
.mk-step::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: #2c2e33; transition: background-color .4s; }
.mk-step:first-child::before { display: none; }
.mk-step b { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #3a3d42; background: #0d0e10; transition: background-color .3s, border-color .3s; }
.mk-step b::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity .2s; }
.mk-step.run b { border-color: var(--accent-on-dark); border-top-color: transparent; animation: spin .8s linear infinite; }
.mk-step.on { color: var(--white); }
.mk-step.on b { background: var(--accent); border-color: var(--accent); animation: none; }
.mk-step.on b::after { opacity: 1; }
.mk-step.on::before, .mk-step.run::before { background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.mk-cloud__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; padding: 0 18px; flex: 1; min-height: 0; }
.mk-term { margin: 0; padding: 10px 12px; border-radius: 10px; background: #16171a; font: 400 .66rem/1.65 var(--mono); color: #9a9ea5; overflow: hidden; white-space: pre; }
.mk-term .ok { color: var(--accent-on-dark); }
.mk-term .cmd { color: var(--white); }
.mk-regions { display: flex; flex-direction: column; gap: 9px; padding: 10px 12px; border-radius: 10px; background: #16171a; font-size: .7rem; color: #c9cbcf; }
.mk-regions > span { font-size: .6rem; color: #6b6f76; }
.mk-regions div { display: flex; align-items: center; gap: 9px; }
.mk-regions i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d42; transition: background-color .3s; }
.mk-regions i.on { background: var(--accent-on-dark); animation: pulse-ring 1.6s infinite; }
.mk-uptime { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; padding: 12px 18px 16px; }
.mk-uptime__bars { grid-column: 1 / -1; display: flex; gap: 3px; height: 24px; }
.mk-uptime__bars i { flex: 1; border-radius: 2px; background: var(--accent-on-dark); opacity: .85; }
.mk-uptime__bars i:nth-child(17) { opacity: .4; }
.mk-uptime span { font-size: .66rem; color: #7d8187; }
.mk-uptime strong { font-size: 1.2rem; font-weight: 500; }

/* ---------- E-commerce ---------- */
.mk-shop__body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.mk-pdp { height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; padding: 18px; align-items: center; }
.mk-pdp__img { position: relative; height: 100%; min-height: 170px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #ffffff, var(--paper) 70%); display: grid; place-items: center; }
.mk-pdp__img::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 14%; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .14); filter: blur(6px); }
.mk-watch { position: relative; z-index: 1; height: 64%; max-width: 58%; aspect-ratio: .62; display: grid; place-items: center; transform: rotate(-8deg); }
.show__panel.is-active .mk-watch { animation: watch-in .8s var(--ease) .1s both; }
@keyframes watch-in { from { opacity: 0; transform: translateY(14px) rotate(-14deg); } }
.mk-watch__strap { position: absolute; left: 22%; right: 22%; top: 0; bottom: 0; border-radius: 22px; background: linear-gradient(90deg, #2f3236, var(--graphite) 40%, #1b1c1f); }
.mk-watch__case { position: relative; width: 100%; aspect-ratio: .86; border-radius: 30%; background: linear-gradient(145deg, #4a4d53, #111214); padding: 7%; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); }
.mk-watch__crown { position: absolute; right: -5%; top: 30%; width: 7%; height: 18%; border-radius: 4px; background: #3a3d42; }
.mk-watch__screen { height: 100%; border-radius: 26%; background: #050505; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--white); }
.mk-watch__screen svg { width: 44%; transform: rotate(-90deg); margin-bottom: 4px; }
.mk-watch__screen circle { fill: none; stroke: #26282c; stroke-width: 4.5; }
.mk-watch__screen circle.r { stroke: var(--accent-on-dark); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; }
.show__panel.is-active .mk-watch__screen circle.r { animation: watch-ring 1.4s var(--ease) .3s both; }
@keyframes watch-ring { from { stroke-dashoffset: 100; } }
.mk-watch__screen strong { font-size: .95rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.mk-watch__screen span { font-size: .48rem; color: var(--steel); }
.mk-swatch { display: flex; gap: 6px; margin-bottom: 4px; }
.mk-swatch i { width: 16px; height: 16px; border-radius: 50%; background: var(--graphite); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px transparent; }
.mk-swatch i:nth-child(2) { background: #d4d6d9; }
.mk-swatch i:nth-child(3) { background: #8b8f96; }
.mk-swatch i.on { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--black); }
.mk-card { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--mist); border-radius: 10px; font-size: .66rem; }
.mk-card b { width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--graphite), #4a4d53); }
.mk-card span { margin-right: auto; }
.mk-card em { font-style: normal; color: var(--accent); font-weight: 500; }
.mk-pdp__info { display: flex; flex-direction: column; gap: 6px; }
.mk-pdp__info > span { font-size: .64rem; color: var(--steel); }
.mk-pdp__info > strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.mk-pdp__info > em { font-style: normal; font-size: .9rem; margin-bottom: 6px; }
.mk-sizes { display: flex; gap: 6px; margin-bottom: 10px; }
.mk-sizes i { padding: 0 10px; height: 30px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--mist); font-style: normal; font-size: .66rem; transition: background-color .25s, color .25s, border-color .25s; }
.mk-sizes i.on { background: var(--black); border-color: var(--black); color: var(--white); }
.mk-btn { position: relative; height: 40px; border-radius: 10px; background: var(--black); color: var(--white); font-size: .74rem; font-weight: 500; transition: transform .15s, background-color .3s; }
.mk-btn span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s; }
.mk-btn span + span { opacity: 0; }
.mk-btn.is-press { transform: scale(.96); }
.mk-btn.is-done { background: var(--accent); }
.mk-btn.is-done span:first-child { opacity: 0; }
.mk-btn.is-done span + span { opacity: 1; }
.mk-cart { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--white); border-left: 1px solid var(--mist); box-shadow: -24px 0 40px -28px rgba(0, 0, 0, .4); transform: translateX(105%); transition: transform .55s var(--ease); }
.mk-cart.is-on { transform: none; }
.mk-cart > strong { font-size: .86rem; font-weight: 500; }
.mk-cart__item { display: flex; align-items: center; gap: 9px; font-size: .68rem; padding-bottom: 10px; border-bottom: 1px solid var(--mist); }
.mk-cart__item b { width: 38px; height: 38px; border-radius: 9px; background: var(--paper); position: relative; }
.mk-cart__item b::after { content: ""; position: absolute; left: 12px; right: 12px; top: 7px; bottom: 7px; border-radius: 6px; background: var(--graphite); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px #4a4d53; }
.mk-cart__item div { margin-right: auto; }
.mk-cart__item span { display: block; font-weight: 500; }
.mk-cart__item em { display: block; font-style: normal; color: var(--steel); font-size: .6rem; }
.mk-cart__row { display: flex; justify-content: space-between; font-size: .66rem; color: var(--text-soft); }
.mk-cart__total { color: var(--black); font-weight: 500; font-size: .76rem; padding-top: 8px; border-top: 1px solid var(--mist); }
.mk-btn--pay { margin-top: auto; }
.mk-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--white); text-align: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.mk-done.is-on { opacity: 1; }
.mk-done b { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); position: relative; margin-bottom: 6px; transform: scale(.6); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.mk-done.is-on b { transform: none; }
.mk-done b::after { content: ""; position: absolute; left: 17px; top: 10px; width: 9px; height: 18px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.mk-done strong { font-size: .84rem; font-weight: 500; }
.mk-done span { font-size: .64rem; color: var(--steel); }

/* ---------- Keyword summary ---------- */
.kw { margin-top: clamp(72px, 9vw, 120px); }
.kw__lead { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 14px; }
.kw__list { display: flex; flex-wrap: wrap; gap: 0 .3em; font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.12; letter-spacing: -0.035em; }
.kw__list li:not(:last-child)::after { content: ","; color: #c4c6ca; }
.kw__list li:last-child::after { content: "."; color: #c4c6ca; }
.kw__list button {
  padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
  font: inherit; letter-spacing: inherit; font-weight: 500; color: #c4c6ca;
  background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 3px; background-position: 0 92%; background-repeat: no-repeat;
  transition: color .35s, background-size .4s var(--ease);
}
.kw__list button:hover { color: var(--black); background-size: 100% 3px; }
.kw__list button.is-current { color: var(--black); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mk-web__body { grid-template-columns: minmax(0, 1fr) 170px; }
  .mk-site__hero { grid-template-columns: 1fr; }
  .mk-site__shot { display: none; }
  .mk-erp__body { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; }
  .show__tabs {
    display: flex; gap: 8px; overflow-x: auto; border-top: 0; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  }
  .show__tabs::-webkit-scrollbar { display: none; }
  .show__tab { flex: none; width: auto; white-space: nowrap; padding: 9px 16px; border: 1px solid #cfd1d4; border-radius: 999px; font-size: .95rem; }
  .show__tab[aria-selected="true"] { padding-left: 16px; background: var(--black); border-color: var(--black); color: var(--white); }
  .show__tab::before, .show__tab i { display: none; }
}
@media (max-width: 640px) {
  .show__stage { height: 420px; padding: 12px; border-radius: 18px; }
  .mk-web__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .mk-cms { order: -1; border-left: 0; border-bottom: 1px solid var(--mist); padding: 10px 12px; }
  .mk-cms label:nth-of-type(2), .mk-cms__field:nth-of-type(2), .mk-cms__publish { display: none; }
  .mk-site__nav span { display: none; }
  .mk-badge { left: auto; right: 12px; bottom: 12px; }
  .mk-saas__body { grid-template-columns: 1fr; }
  .mk-side { display: none; }
  .mk-kpis div:nth-child(3) { display: none; }
  .mk-kpis { grid-template-columns: 1fr 1fr; }
  .mk-phone--back { display: none; }
  .mk-phone--front { transform: none; }
  .mk-ai__body { grid-template-columns: 1fr; }
  .mk-doc { display: none; }
  .mk-tele { width: 160px; padding: 10px; }
  .mk-tele dl div:nth-child(n+3) { display: none; }
  .mk-erp__body { grid-template-columns: 1fr; }
  .mk-erp__nav { display: none; }
  .mk-po { grid-template-columns: 1.3fr .9fr 78px; }
  .mk-po span:first-child { display: none; }
  .mk-svc { padding: 6px 10px 6px 6px; gap: 6px; }
  .mk-svc b { width: 24px; height: 24px; font-size: .7rem; }
  .mk-svc span { display: none; }
  .mk-hub { padding: 9px 14px; font-size: .74rem; }
  .mk-cloud__grid { grid-template-columns: 1fr; }
  .mk-regions { display: none; }
  .mk-pdp { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .mk-pdp__img { min-height: 120px; }
  .mk-cart { width: 100%; }
  .show__info p { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-area__line { stroke-dashoffset: 0; }
  .mk-area__fill, .mk-area__tip { opacity: 1; }
}
