/* MK Robotik navigation proportions; MKKILabs branding and destinations. */
@font-face {
  font-family: "MK DM Sans";
  src: url('/assets/fonts/dm-sans-400-700-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "MK Lato";
  src: url('/assets/fonts/lato-700-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --group-ink: #17191d;
  --group-muted: #555;
  --group-paper: #fff;
  --group-surface: #f4f4f4;
  --group-accent: #ffcf22;
  --group-gutter: 40px;
  --group-header-logo-width: 190px;
  --group-footer-logo-width: 190px;
  --group-link-hover: #8a6900;
  --group-footer-background: #f6f6f6;
  --group-footer-line: #ddd;
}

.site-header.group-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  background: var(--group-paper);
  color: var(--group-ink);
  border: 0;
  border-bottom: 1px solid #eee; /* taste-skill-ignore: match the requested MK Robotik header */
  box-shadow: none; /* taste-skill-ignore: MK Robotik uses a flat header */
  font-family: "MK DM Sans", Arial, sans-serif;
}

.group-header-inner {
  width: calc(100% - clamp(32px, 4vw, 96px));
  min-height: 90px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr) 160px;
  align-items: center;
  gap: 22px;
}

.group-header .brand { display: inline-flex; flex: none; width: auto; max-width: 100%; margin: 0; }
.group-header .brand img { width: var(--group-header-logo-width); height: auto; object-fit: contain; }

.site-header.group-header nav#site-nav {
  position: static;
  display: flex;
  width: 100%;
  flex: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: clamp(24px, 2.7vw, 44px);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none; /* taste-skill-ignore: reset the previous navigation shadow */
}

.site-header.group-header .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 90px;
  padding: 0;
  border: 0;
  color: var(--group-ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.group-header-tools { display: flex; width: 100%; align-items: center; justify-content: flex-end; gap: 12px; }
.group-header-tools a, .group-header .menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  color: var(--group-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.group-header svg { width: 24px; height: 24px; flex: none; }
.group-header .menu-toggle { display: none; margin: 0; }
.group-header .menu-close { display: none; }
.group-header .menu-toggle[aria-expanded="true"] .menu-lines { display: none; }
.group-header .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
.group-header a:hover, .group-header .menu-toggle:hover { color: var(--group-ink); background: var(--group-surface); }
.site-header.group-header .nav-link:hover, .site-header.group-header .nav-link[aria-current="page"] { color: var(--group-link-hover); text-decoration: none; background: transparent; }
.group-header :is(a, button):focus-visible, .group-footer a:focus-visible { outline: 3px solid var(--group-ink); outline-offset: 4px; }

.site-footer.group-footer {
  padding: 60px 0 20px;
  background: var(--group-footer-background);
  color: var(--group-ink);
  border: 0;
  border-top: 1px solid var(--group-footer-line); /* taste-skill-ignore: match the requested MK Robotik footer */
  font-family: "MK DM Sans", Arial, sans-serif;
  line-height: 1.5;
}

.site-footer.group-footer .footer-inner {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.group-footer .footer-brand { min-width: 0; grid-column: auto; }
.group-footer .footer-home { display: block; width: fit-content; max-width: 100%; }
.group-footer .footer-brand img { width: var(--group-header-logo-width); height: auto; max-width: 100%; object-fit: contain; }
.site-footer.group-footer .footer-brand > p { max-width: none; margin: 0 0 13px; color: var(--group-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
.group-footer-contact, .group-footer-address { margin: 0; font-size: 13px; font-style: normal; line-height: 1.5; }
.group-footer-contact a { display: block; min-height: 0; margin: 0 0 9px; padding: 0; overflow-wrap: anywhere; }
.group-footer .footer-brand .footer-instagram { margin: 0; gap: 8px; font-size: 13px; line-height: 1.5; }
.group-footer .footer-brand .footer-instagram a { min-height: 0; margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
.group-footer .footer-brand .footer-instagram svg { width: 18px; height: 18px; }
.group-footer .group-footer-address { margin-bottom: 13px; color: var(--group-muted); }

.site-footer.group-footer .footer-column { display: block; min-width: 0; }
.site-footer.group-footer .footer-column h2 { margin: 0 0 15px; color: var(--group-ink); font-family: "MK Lato", Arial, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.12; letter-spacing: .04em; text-transform: uppercase; }
.site-footer.group-footer .footer-column > a { display: block; min-height: 0; margin: 0 0 9px; padding: 0; color: var(--group-muted); font-size: 13px; line-height: 1.5; }
.group-footer a:hover { color: var(--group-ink); text-decoration: underline; text-underline-offset: 4px; }
.group-footer .footer-column .footer-companies { width: 190px; max-width: 100%; gap: 9px; margin: 0; padding: 0; }
.group-footer .footer-column .footer-companies a { display: block; min-height: 0; margin: 0; padding: 0; }
.group-footer .footer-companies img { width: var(--group-footer-logo-width); max-width: 100%; height: auto; }
.group-footer .footer-companies a:hover { outline: 0; opacity: .75; }

.site-footer.group-footer .footer-bottom {
  display: block;
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  margin-top: 43px;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid var(--group-footer-line); /* taste-skill-ignore: MK Robotik copyright divider */
  color: var(--group-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 901px) and (max-width: 1199px) {
  :root { --group-header-logo-width: 150px; }
  .group-header-inner { grid-template-columns: 160px minmax(0, 1fr) 110px; gap: 12px; min-height: 80px; width: calc(100% - 36px); }
  .site-header.group-header nav#site-nav { gap: clamp(10px, 1.5vw, 20px); }
  .site-header.group-header .nav-link { min-height: 80px; font-size: clamp(14px, 1.3vw, 16px); }
}

@media (max-width: 900px) {
  :root { --group-gutter: 24px; --group-header-logo-width: 130px; }
  .group-header-inner { display: flex; width: calc(100% - 32px); min-height: 68px; gap: 8px; }
  .group-header-tools { flex: none; width: auto; order: 1; margin-left: auto; }
  .group-header .menu-toggle { display: inline-flex; order: 2; }
  .site-header.group-header nav#site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; width: 100%; padding: 16px 22px 24px; flex: none; flex-direction: column; align-items: stretch; gap: 0; white-space: normal; max-height: calc(100dvh - 68px); overflow-y: auto; background: var(--group-paper); box-shadow: 0 18px 28px rgb(0 0 0 / 12%); /* taste-skill-ignore: mobile navigation is an overlay */ }
  .site-header.group-header nav#site-nav.is-open { display: flex; }
  .site-header.group-header .nav-link { min-height: 48px; padding: 10px 0; font-size: 15px; font-weight: 400; }
}

@media (max-width: 1100px) {
  .site-footer.group-footer .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

@media (max-width: 760px) {
  .site-footer.group-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer.group-footer .footer-inner, .site-footer.group-footer .footer-bottom { width: calc(100% - 32px); }
}

@media (max-width: 600px) {
  :root { --group-gutter: 20px; }
  .site-footer.group-footer .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  :root { --group-header-logo-width: 120px; }
}

@media (max-width: 380px) {
  :root { --group-gutter: 16px; }
}

@media (max-width: 350px) {
  :root { --group-header-logo-width: 96px; }
}
