/* ============================================================
   Anyka EN — Modern theme (2026 redesign)
   Loaded after legacy public.css; all new components use .mk- prefix.
   Palette derived from the ANYKA logo: slate blue + amber accent.
   ============================================================ */

/* true bold for the site's self-hosted Roboto (legacy css only ships regular) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/enweb/fonts/Roboto-Bold-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/enweb/fonts/SpaceGrotesk-latin.woff2') format('woff2');
}

:root {
  --mk-navy: #0d1b2a;
  --mk-navy-2: #13253a;
  --mk-navy-3: #1b3350;
  --mk-slate: #56677d;
  --mk-accent: #f09d3a;
  --mk-accent-dark: #d9821c;
  --mk-ink: #16212e;
  --mk-muted: #5c6b7c;
  --mk-line: #e3e9f0;
  --mk-bg: #ffffff;
  --mk-bg-soft: #f5f7fa;
  --mk-radius: 14px;
  --mk-shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .07);
  --mk-shadow-lg: 0 2px 4px rgba(13, 27, 42, .08), 0 18px 48px rgba(13, 27, 42, .14);
  --mk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mk-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mk-chip: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mk-mono: "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
}

/* ---------- base polish (safe for legacy pages too) ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--mk-font);
  color: var(--mk-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mk-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mk-section { padding: 88px 0; }
.mk-section-soft { background: var(--mk-bg-soft); }

.mk-kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mk-accent-dark);
  margin-bottom: 14px;
}
.mk-h2 { font-family: var(--mk-display); font-size: clamp(28px, 4vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; margin: 0 0 14px; color: var(--mk-ink); }
.mk-sub { font-size: 17px; line-height: 1.65; color: var(--mk-muted); max-width: 640px; margin: 0 0 40px; }
.mk-center { text-align: center; }
.mk-center .mk-sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.mk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-family: var(--mk-display);
  font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.mk-btn svg { width: 16px; height: 16px; }
.mk-btn-primary { background: var(--mk-accent); color: #fff !important; }
.mk-btn-primary:hover { background: var(--mk-accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(240, 157, 58, .35); }
.mk-btn-ghost { border-color: rgba(255,255,255,.35); color: #fff !important; background: transparent; }
.mk-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.mk-btn-outline { border-color: var(--mk-line); color: var(--mk-ink) !important; background: #fff; }
.mk-btn-outline:hover { border-color: var(--mk-slate); transform: translateY(-1px); box-shadow: var(--mk-shadow); }

/* ---------- header ---------- */
.mk-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--mk-line);
}
.mk-header-inner { display: flex; align-items: center; gap: 36px; height: 72px; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mk-logo { flex: none; display: flex; align-items: center; }
.mk-logo img { height: 30px; width: auto; display: block; }

.mk-nav { flex: 1; display: flex; align-items: center; gap: 4px; }
.mk-nav > li { list-style: none; position: relative; }
.mk-nav > li > a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--mk-ink); text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.mk-nav > li > a:hover, .mk-nav > li.mk-active > a { color: var(--mk-accent-dark); background: rgba(240, 157, 58, .09); }

.mk-drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--mk-line); border-radius: 12px;
  box-shadow: var(--mk-shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mk-nav > li:hover .mk-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mk-drop a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--mk-ink); text-decoration: none; white-space: nowrap;
}
.mk-drop a:hover { background: var(--mk-bg-soft); color: var(--mk-accent-dark); }

.mk-header-tools { flex: none; display: flex; align-items: center; gap: 14px; }
.mk-search-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: var(--mk-slate); transition: background .15s, color .15s; }
.mk-search-link:hover { background: var(--mk-bg-soft); color: var(--mk-ink); }
.mk-search-link svg { width: 18px; height: 18px; }
.mk-lang { font-size: 13.5px; font-weight: 600; color: var(--mk-muted); }
.mk-lang a { color: var(--mk-muted); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.mk-lang a:hover { color: var(--mk-ink); background: var(--mk-bg-soft); }
.mk-lang .mk-lang-on { color: var(--mk-accent-dark); padding: 4px 6px; }

.mk-burger { display: none; flex: none; width: 42px; height: 42px; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.mk-burger span, .mk-burger span::before, .mk-burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--mk-ink); border-radius: 2px; position: relative; transition: transform .2s;
}
.mk-burger span::before { position: absolute; top: -6px; }
.mk-burger span::after { position: absolute; top: 6px; }

.mk-mobilenav { display: none; background: #fff; border-bottom: 1px solid var(--mk-line); }
.mk-mobilenav.mk-open { display: block; }
.mk-mobilenav ul { list-style: none; margin: 0; padding: 10px 24px 18px; }
.mk-mobilenav a { display: block; padding: 11px 4px; font-size: 16px; font-weight: 600; color: var(--mk-ink); text-decoration: none; border-bottom: 1px solid var(--mk-bg-soft); }
.mk-mobilenav .mk-msub a { padding-left: 18px; font-size: 14.5px; font-weight: 500; color: var(--mk-muted); }

/* ---------- hero ---------- */
.mk-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(240, 157, 58, .16), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(86, 103, 125, .35), transparent 60%),
    linear-gradient(160deg, var(--mk-navy) 0%, var(--mk-navy-2) 55%, var(--mk-navy-3) 100%);
  color: #fff;
}
.mk-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 520px at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 70% 40%, #000 0%, transparent 75%);
}
.mk-hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  top: -180px; right: -80px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,157,58,.28) 0%, rgba(240,157,58,.07) 45%, transparent 70%);
  filter: blur(10px);
  animation: mk-drift 11s ease-in-out infinite alternate;
}
@keyframes mk-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, 50px) scale(1.15); }
}

.mk-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; padding: 96px 0 104px; }

/* staggered entrance */
@keyframes mk-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.mk-hero-badge  { animation: mk-rise .6s ease .05s both; }
.mk-hero h1     { animation: mk-rise .7s ease .15s both; }
.mk-hero-copy p { animation: mk-rise .7s ease .28s both; }
.mk-hero-ctas   { animation: mk-rise .7s ease .4s both; }
.mk-hero-visual { animation: mk-rise .9s ease .3s both; }
.mk-hero-stats  { animation: mk-rise .8s ease .55s both; }
.mk-hero-copy { flex: 1 1 58%; }
.mk-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-family: var(--mk-display);
  font-size: 12.5px; font-weight: 500; letter-spacing: .07em; color: #dbe4ee;
  margin-bottom: 26px;
}
.mk-hero-badge em { font-style: normal; color: var(--mk-accent); }
.mk-hero h1 {
  font-family: var(--mk-display);
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em;
  margin: 0 0 22px; color: #fff;
}
.mk-hero h1 .mk-grad {
  background: linear-gradient(92deg, #f6b45e 0%, var(--mk-accent) 30%, #ffd9a0 50%, var(--mk-accent) 70%, #f6b45e 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mk-shimmer 5.5s linear infinite;
}
@keyframes mk-shimmer { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }
.mk-hero p { font-size: 18px; line-height: 1.7; color: #b9c6d4; max-width: 560px; margin: 0 0 34px; }
.mk-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.mk-hero-visual { flex: 1 1 42%; position: relative; text-align: center; }
.mk-hero-visual::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 380px; height: 380px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,157,58,.30) 0%, rgba(240,157,58,.08) 50%, transparent 72%);
  animation: mk-pulse 4.5s ease-in-out infinite;
}
@keyframes mk-pulse {
  0%, 100% { opacity: .65; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}
.mk-hero-visual img {
  position: relative;
  max-width: min(400px, 100%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  animation: mk-float 7s ease-in-out infinite;
}
@keyframes mk-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

@media (prefers-reduced-motion: reduce) {
  .mk-hero::after, .mk-hero-visual::before, .mk-hero-visual img, .mk-hero h1 .mk-grad,
  .mk-hero-badge, .mk-hero h1, .mk-hero-copy p, .mk-hero-ctas, .mk-hero-visual, .mk-hero-stats {
    animation: none !important;
  }
}

.mk-hero-stats { position: relative; display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.mk-hero-stats > div { flex: 1; padding: 26px 18px; text-align: center; }
.mk-hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.mk-hero-stats b { display: block; font-family: var(--mk-display); font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.mk-hero-stats span { font-size: 13.5px; color: #9fb0c2; }

/* ---------- value props ---------- */
.mk-props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mk-prop {
  background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.mk-prop:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow-lg); }
.mk-prop-icn {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(240,157,58,.16), rgba(240,157,58,.06));
  color: var(--mk-accent-dark); margin-bottom: 18px;
}
.mk-prop-icn svg { width: 24px; height: 24px; }
.mk-prop h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--mk-ink); }
.mk-prop p { font-size: 14.5px; line-height: 1.6; color: var(--mk-muted); margin: 0; }

/* ---------- product family cards ---------- */
.mk-families { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.mk-family {
  position: relative; display: block; text-decoration: none;
  background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
  padding: 28px 24px 24px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mk-family:hover { transform: translateY(-5px); box-shadow: var(--mk-shadow-lg); border-color: rgba(240,157,58,.5); }
.mk-family-chip { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mk-family-chip img { max-height: 110px; max-width: 82%; transition: transform .25s ease; }
.mk-family:hover .mk-family-chip img { transform: scale(1.07) rotate(-2deg); }
.mk-family h3 { font-family: var(--mk-chip); font-size: 18px; font-weight: 700; letter-spacing: .01em; color: var(--mk-ink); margin: 0 0 6px; }
.mk-family p { font-size: 13.5px; color: var(--mk-muted); margin: 0 0 14px; line-height: 1.55; }
.mk-family-more { font-size: 13.5px; font-weight: 700; color: var(--mk-accent-dark); }
.mk-family-more::after { content: " →"; transition: margin .15s; }
.mk-family:hover .mk-family-more::after { margin-left: 4px; }

/* ---------- applications grid ---------- */
.mk-apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mk-app {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 118px; padding: 20px 12px; text-align: center; text-decoration: none;
  background: #fff; border: 1px solid var(--mk-line); border-radius: 12px;
  font-family: var(--mk-display);
  font-size: 14.5px; font-weight: 600; color: var(--mk-ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s;
}
.mk-app:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow); border-color: rgba(86,103,125,.45); color: var(--mk-accent-dark); }
.mk-app svg { width: 30px; height: 30px; color: var(--mk-slate); transition: color .16s; }
.mk-app:hover svg { color: var(--mk-accent-dark); }

/* ---------- about band ---------- */
.mk-about { display: flex; align-items: center; gap: 56px; }
.mk-about-copy { flex: 1 1 55%; }
.mk-about-copy .mk-sub { margin-bottom: 26px; max-width: none; }
.mk-about-img { flex: 1 1 45%; }
.mk-about-img img { width: 100%; border-radius: var(--mk-radius); box-shadow: var(--mk-shadow-lg); }
.mk-ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.mk-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--mk-ink); font-weight: 500; }
.mk-ticks svg { flex: none; width: 19px; height: 19px; color: var(--mk-accent-dark); margin-top: 1px; }

/* ---------- CTA band ---------- */
.mk-cta {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(240,157,58,.22), transparent 60%),
    linear-gradient(150deg, var(--mk-navy), var(--mk-navy-3));
  border-radius: 20px; color: #fff;
  padding: 64px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.mk-cta h2 { font-family: var(--mk-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em; }
.mk-cta p { color: #b9c6d4; font-size: 16px; margin: 0; max-width: 520px; }
.mk-cta-actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }

/* ---------- footer ---------- */
.mk-footer { background: var(--mk-navy); color: #9fb0c2; margin-top: 0; }
.mk-footer-top { display: flex; gap: 48px; padding: 64px 0 48px; }
.mk-footer-brand { flex: 0 0 300px; }
.mk-footer-brand img { height: 30px; margin-bottom: 18px; }
.mk-footer-brand p { font-size: 14px; line-height: 1.7; margin: 0; }
.mk-footer-cols { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.mk-footer-cols h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e6ecf3; margin: 0 0 14px; }
.mk-footer-cols a { display: block; font-size: 14px; color: #9fb0c2; text-decoration: none; padding: 4px 0; }
.mk-footer-cols a:hover { color: var(--mk-accent); }
.mk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size: 12.5px; color: #7e8fa2;
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
}
.mk-footer-bottom a { color: #7e8fa2; text-decoration: none; }
.mk-footer-bottom a:hover { color: #c6d2df; }
.mk-footer-bottom img { height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ---------- inner-page hero (breadcrumb banner) ---------- */
.mk-pagehero {
  background: linear-gradient(150deg, var(--mk-navy), var(--mk-navy-3));
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.mk-pagehero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.mk-pagehero h1 { position: relative; font-family: var(--mk-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 8px; letter-spacing: -.025em; }
.mk-pagehero .mk-crumbs { position: relative; font-size: 13.5px; color: #9fb0c2; }
.mk-pagehero .mk-crumbs a { color: #c6d2df; text-decoration: none; }
.mk-pagehero .mk-crumbs a:hover { color: var(--mk-accent); }

/* ---------- product list ---------- */
.mk-prodgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mk-prodcard {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.mk-prodcard:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow-lg); border-color: rgba(240,157,58,.5); }
.mk-prodcard-img { background: var(--mk-bg-soft); height: 190px; display: flex; align-items: center; justify-content: center; }
.mk-prodcard-img img { max-height: 150px; max-width: 70%; }
.mk-prodcard-body { padding: 22px 24px 24px; }
.mk-prodcard-body h3 { font-family: var(--mk-chip); font-size: 19px; font-weight: 700; letter-spacing: .02em; color: var(--mk-ink); margin: 0 0 8px; }
.mk-prodcard-body p { font-size: 14px; line-height: 1.6; color: var(--mk-muted); margin: 0 0 14px; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tag {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(86,103,125,.09); color: var(--mk-slate);
}

/* ---------- family tabs ---------- */
.mk-famtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.mk-famtabs a {
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  font-family: var(--mk-chip);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mk-slate);
  background: #fff; border: 1.5px solid var(--mk-line);
  transition: border-color .15s, color .15s, background .15s;
}
.mk-famtabs a:hover { border-color: var(--mk-slate); color: var(--mk-ink); }
.mk-famtabs a.mk-on { background: var(--mk-navy); border-color: var(--mk-navy); color: #fff; }

/* ---------- product detail ---------- */
.mk-detail-top { display: flex; gap: 56px; align-items: flex-start; }
.mk-detail-img {
  flex: 0 0 40%; background: var(--mk-bg-soft); border-radius: var(--mk-radius);
  display: flex; align-items: center; justify-content: center; padding: 44px; min-height: 320px;
}
.mk-detail-img img { max-width: 100%; max-height: 300px; }
.mk-detail-info { flex: 1; }
.mk-detail-info h1 { font-family: var(--mk-chip); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin: 0 0 14px; color: var(--mk-ink); letter-spacing: .01em; }
.mk-detail-desc { font-size: 16px; line-height: 1.75; color: var(--mk-muted); margin-bottom: 26px; }
.mk-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

.mk-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.mk-spec {
  background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; padding: 18px 20px;
}
.mk-spec h4 { font-family: var(--mk-display); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-accent-dark); margin: 0 0 6px; }
.mk-spec p { font-size: 14.5px; line-height: 1.6; color: var(--mk-ink); margin: 0; white-space: pre-line; }

.mk-blockdiag { margin-top: 56px; }
.mk-blockdiag h2, .mk-related h2 { font-size: 24px; font-weight: 800; margin: 0 0 22px; color: var(--mk-ink); }
.mk-blockdiag-frame { background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); padding: 36px; text-align: center; }
.mk-blockdiag-frame img { max-width: 100%; }
.mk-related { margin-top: 56px; }

/* ---------- shared breadcrumb block (pos/pos2 include) ---------- */
.mk-pos { padding: 14px 0 2px; }
.mk-pos-crumbs { font-size: 13.5px; color: var(--mk-muted); margin-bottom: 10px; }
.mk-pos-crumbs a { color: var(--mk-muted); text-decoration: none; }
.mk-pos-crumbs a:hover { color: var(--mk-accent-dark); }
.mk-pos-crumbs i { font-style: normal; margin: 0 6px; color: var(--mk-line); }
.mk-pos-crumbs span { color: var(--mk-ink); font-weight: 600; }
.mk-pos-title { font-family: var(--mk-display); font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.025em; color: var(--mk-ink); margin: 0 0 10px; }

/* ---------- legacy form modernization (contact + dev-board forms) ---------- */
.fybdinput, .fybditext, .fylyinpt, .fylytex {
  border: 1.5px solid var(--mk-line) !important;
  border-radius: 10px !important;
  font-family: var(--mk-font) !important;
  transition: border-color .15s, box-shadow .15s;
  background: #fff !important;
}
.fybdinput:focus, .fybditext:focus, .fylyinpt:focus, .fylytex:focus {
  outline: none;
  border-color: var(--mk-accent) !important;
  box-shadow: 0 0 0 3px rgba(240, 157, 58, .18);
}
.fytjbtn, .fysqtjbtn {
  background: var(--mk-accent) !important;
  border-radius: 10px !important;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.fytjbtn:hover, .fysqtjbtn:hover { background: var(--mk-accent-dark) !important; transform: translateY(-1px); }

/* ---------- contact page world map + offices ---------- */
.mk-contact { padding-bottom: 48px; }
.mk-worldmap {
  background:
    radial-gradient(600px 280px at 80% 10%, rgba(240,157,58,.12), transparent 60%),
    linear-gradient(150deg, var(--mk-navy), var(--mk-navy-3));
  border-radius: var(--mk-radius);
  padding: 16px 20px;
  box-shadow: var(--mk-shadow-lg);
  margin-bottom: 18px;
}
.mk-worldmap img { width: 100%; max-width: 580px; margin: 0 auto; display: block; }

.mk-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.mk-office {
  background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
  padding: 20px 22px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.mk-office:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); }
.mk-office h3 {
  font-family: var(--mk-display);
  font-size: 16.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em;
  color: var(--mk-ink); margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--mk-accent);
}
.mk-office-row { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; line-height: 1.55; color: var(--mk-muted); }
.mk-office-row:last-child { margin-bottom: 0; }
.mk-office-row svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--mk-accent-dark); }
.mk-office-row a { color: var(--mk-slate); text-decoration: none; word-break: break-all; }
.mk-office-row a:hover { color: var(--mk-accent-dark); }

/* ---------- legacy page softening ---------- */
/* Content pages produced by the CMS editor keep their inline styles; give
   them breathing room and modern typography without touching layout. */
.fymain { font-family: var(--mk-font); }
.fybjq { line-height: 1.75; color: #2a3644; }
.page a, .page span { border-radius: 8px !important; }

/* ---------- responsive ---------- */
/* compact desktop: keep the full nav on one line down to the burger breakpoint */
@media (max-width: 1340px) {
  .mk-header-inner { gap: 20px; }
  .mk-nav { gap: 0; }
  .mk-nav > li > a { padding: 9px 10px; font-size: 14px; }
  .mk-logo img { height: 26px; }
}

@media (max-width: 1160px) {
  .mk-nav { display: none; }
  .mk-burger { display: flex; }
}

@media (max-width: 1080px) {
  .mk-props { grid-template-columns: repeat(2, 1fr); }
  .mk-apps { grid-template-columns: repeat(3, 1fr); }
  .mk-prodgrid { grid-template-columns: repeat(2, 1fr); }
  .mk-nav { display: none; }
  .mk-burger { display: flex; }
  .mk-hero-inner { flex-direction: column; text-align: center; padding: 72px 0 80px; }
  .mk-hero p { margin-left: auto; margin-right: auto; }
  .mk-hero-ctas { justify-content: center; }
  .mk-about { flex-direction: column; }
  .mk-cta { flex-direction: column; text-align: center; padding: 48px 28px; }
  .mk-footer-top { flex-direction: column; gap: 36px; }
}
@media (max-width: 640px) {
  .mk-header-inner { gap: 12px; padding: 0 16px; }
  .mk-logo img { height: 22px; }
  .mk-header-tools { gap: 8px; }
  .mk-search-link { width: 34px; height: 34px; }
  .mk-section { padding: 60px 0; }
  .mk-props { grid-template-columns: 1fr; }
  .mk-apps { grid-template-columns: repeat(2, 1fr); }
  .mk-prodgrid { grid-template-columns: 1fr; }
  .mk-hero-stats { flex-wrap: wrap; }
  .mk-hero-stats > div { flex: 1 1 50%; }
  .mk-hero-stats > div:nth-child(3) { border-left: none; }
  .mk-hero-stats > div:nth-child(1), .mk-hero-stats > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
