/* SIMLINK AI — shared Solvek chrome (header / fullscreen menu / footer) */
:root {
  --sl-chrome-ink: #1d1d1d;
  --sl-chrome-cream: #ffffff;
}

/* ---------- Header: logo + hamburger only ---------- */
body.sl-home .proto3-header,
body.sl-home .proto3-header.header,
body.prototype-03.sl-home .proto3-header,
body.sl-chrome .proto3-header,
body.sl-chrome .proto3-header.header,
body.prototype-03.sl-chrome .proto3-header {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  padding: 18px clamp(1.25rem, 3vw, 2rem) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
body.sl-home .proto3-header::before,
body.sl-home .proto3-header.scrolled::before,
body.sl-home .proto3-header .header-bar,
body.sl-home .proto3-header .header-bar::before,
body.sl-chrome .proto3-header::before,
body.sl-chrome .proto3-header.scrolled::before,
body.sl-chrome .proto3-header .header-bar,
body.sl-chrome .proto3-header .header-bar::before {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
  content: none !important;
  box-shadow: none !important;
}
body.sl-home .proto3-header .header-container,
body.sl-chrome .proto3-header .header-container {
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
body.sl-home .proto3-header .header-nav,
body.sl-home .proto3-header .header-right,
body.sl-chrome .proto3-header .header-nav,
body.sl-chrome .proto3-header .header-right {
  display: none !important;
}
body.sl-home .proto3-header .menu-controller,
body.sl-chrome .proto3-header .menu-controller {
  display: block !important;
  width: 44px;
  height: 44px;
  min-width: 44px;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  z-index: 3;
  position: relative;
  overflow: visible;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body.sl-home .proto3-header .menu-controller__line,
body.sl-chrome .proto3-header .menu-controller__line {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  margin-top: -1.5px;
  border-radius: 2px;
  transform-origin: center center;
  transition: transform 0.3s ease, background 0.3s ease;
}
/* Dark hero / home top: white hamburger */
body.sl-home .proto3-header:not(.scrolled) .menu-controller__line,
body.sl-chrome.sl-chrome-dark-top .proto3-header:not(.scrolled) .menu-controller__line {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
/* Light pages / scrolled: dark hamburger */
body.sl-home .proto3-header.scrolled .menu-controller__line,
body.sl-chrome .proto3-header.scrolled .menu-controller__line,
body.sl-chrome:not(.sl-chrome-dark-top) .proto3-header .menu-controller__line {
  background: var(--sl-chrome-ink) !important;
  box-shadow: none;
}
body.sl-home .proto3-header .menu-controller__line--01,
body.sl-chrome .proto3-header .menu-controller__line--01 {
  transform: translateY(-5px);
}
body.sl-home .proto3-header .menu-controller__line--02,
body.sl-chrome .proto3-header .menu-controller__line--02 {
  transform: translateY(5px);
}
body.sl-home .proto3-header .header-logo,
body.sl-chrome .proto3-header .header-logo {
  flex-shrink: 0;
  z-index: 3;
  position: relative;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
body.sl-home .proto3-header .header-logo__img--dark,
body.sl-home .proto3-header .header-logo__img--light,
body.sl-chrome .proto3-header .header-logo__img--dark,
body.sl-chrome .proto3-header .header-logo__img--light {
  display: none !important;
}
body.sl-home .proto3-header .header-logo__img--brand,
body.sl-chrome .proto3-header .header-logo__img--brand {
  display: block !important;
  height: 32px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  transition: height 0.3s ease, max-width 0.3s ease, filter 0.3s ease;
  filter: none;
}
/* Dark hero / home top: white logo */
body.sl-home .proto3-header:not(.scrolled) .header-logo__img--brand,
body.sl-chrome.sl-chrome-dark-top .proto3-header:not(.scrolled) .header-logo__img--brand {
  filter: brightness(0) invert(1);
}
body.sl-home .proto3-header.scrolled .header-logo__img--brand,
body.sl-chrome .proto3-header.scrolled .header-logo__img--brand {
  height: 26px;
  max-width: min(160px, 42vw);
  filter: none;
}
body.sl-home .search-widget,
body.sl-chrome .search-widget {
  display: none !important;
}

/* Scrolled: pill logo + circle menu (header itself stays transparent) */
body.sl-home .proto3-header.scrolled,
body.sl-home .proto3-header.header.scrolled,
body.prototype-03.sl-home .proto3-header.scrolled,
body.sl-chrome .proto3-header.scrolled,
body.sl-chrome .proto3-header.header.scrolled,
body.prototype-03.sl-chrome .proto3-header.scrolled {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
body.sl-home .proto3-header.scrolled .header-logo,
body.sl-chrome .proto3-header.scrolled .header-logo {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
body.sl-home .proto3-header.scrolled .menu-controller,
body.sl-chrome .proto3-header.scrolled .menu-controller {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Menu open: header above black overlay */
body.sl-home.menu-open .proto3-header,
body.sl-chrome.menu-open .proto3-header {
  z-index: 1000021 !important;
}
body.sl-home.menu-open #site-popup-mount,
body.sl-chrome.menu-open #site-popup-mount {
  pointer-events: none !important;
  visibility: hidden !important;
}
body.sl-home.menu-open .proto3-header .header-logo,
body.sl-home.menu-open .proto3-header.scrolled .header-logo,
body.sl-home.menu-open .proto3-header .menu-controller,
body.sl-home.menu-open .proto3-header.scrolled .menu-controller,
body.sl-chrome.menu-open .proto3-header .header-logo,
body.sl-chrome.menu-open .proto3-header.scrolled .header-logo,
body.sl-chrome.menu-open .proto3-header .menu-controller,
body.sl-chrome.menu-open .proto3-header.scrolled .menu-controller {
  background: transparent !important;
  box-shadow: none !important;
}
body.sl-home.menu-open .proto3-header .header-logo__img--brand,
body.sl-chrome.menu-open .proto3-header .header-logo__img--brand {
  filter: brightness(0) invert(1) !important;
}
body.sl-home.menu-open .proto3-header .menu-controller__line,
body.sl-home.menu-open .proto3-header .menu-controller.open .menu-controller__line,
body.sl-home.menu-open .proto3-header.scrolled .menu-controller__line,
body.sl-chrome.menu-open .proto3-header .menu-controller__line,
body.sl-chrome.menu-open .proto3-header .menu-controller.open .menu-controller__line,
body.sl-chrome.menu-open .proto3-header.scrolled .menu-controller__line {
  background: #fff !important;
  box-shadow: none;
}
body.sl-home .proto3-header .menu-controller.open .menu-controller__line--01,
body.sl-chrome .proto3-header .menu-controller.open .menu-controller__line--01 {
  transform: translateY(0) rotate(45deg);
}
body.sl-home .proto3-header .menu-controller.open .menu-controller__line--02,
body.sl-chrome .proto3-header .menu-controller.open .menu-controller__line--02 {
  transform: translateY(0) rotate(-45deg);
}

/* ---------- Fullscreen menu ---------- */
body.sl-home .global-nav-overlay,
body.sl-chrome .global-nav-overlay {
  left: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  background: #000;
  transition: left 0.85s cubic-bezier(0.62, 0.02, 0, 0.99);
  z-index: 1000020;
  overflow: auto;
  pointer-events: none;
}
body.sl-home .global-nav-overlay.active,
body.sl-chrome .global-nav-overlay.active {
  left: 0;
  pointer-events: auto;
}
body.sl-home .global-nav-close,
body.sl-chrome .global-nav-close {
  display: none;
}
body.sl-home .global-nav-inner,
body.sl-chrome .global-nav-inner {
  position: relative;
  min-height: 100vh;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: clamp(5.5rem, 10vh, 7rem) clamp(1.25rem, 2.5vw, 2.5rem) 5rem;
  box-sizing: border-box;
  overflow: visible;
}
body.sl-home .global-nav-inner__content,
body.sl-chrome .global-nav-inner__content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  max-width: 1600px;
  min-width: 0;
}
body.sl-home .global-nav-column,
body.sl-chrome .global-nav-column {
  flex: 1 1 0;
  min-width: 14rem;
  max-width: none;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding-inline: 0.25rem;
}
body.sl-home .global-nav-column__title,
body.sl-chrome .global-nav-column__title {
  margin: 0 0 1.75rem;
  width: 100%;
  height: auto;
  min-height: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
  white-space: normal;
  word-break: keep-all;
}
body.sl-home .global-nav-column__title a,
body.sl-chrome .global-nav-column__title a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  display: inline-block;
  padding: 0;
}
body.sl-home .global-nav-column__title a:hover,
body.sl-chrome .global-nav-column__title a:hover {
  color: #d9d9d9 !important;
}
body.sl-home .global-nav-column__list,
body.sl-chrome .global-nav-column__list {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
body.sl-home .global-nav-column__list li,
body.sl-chrome .global-nav-column__list li {
  margin: 0;
  padding: 0;
}
body.sl-home .global-nav-column__list a,
body.sl-chrome .global-nav-column__list a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: keep-all;
}
body.sl-home .global-nav-column__list a:hover,
body.sl-chrome .global-nav-column__list a:hover {
  color: #fff !important;
}
body.sl-home .global-nav-actions,
body.sl-chrome .global-nav-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  display: flex !important;
  gap: 1.5rem;
  justify-content: center;
  border-top: none;
  padding: 0;
}
body.sl-home .global-nav-actions__link,
body.sl-chrome .global-nav-actions__link {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
body.sl-home .global-nav-actions__link:hover,
body.sl-chrome .global-nav-actions__link:hover {
  color: #fff !important;
}

@media (max-width: 900px) {
  body.sl-home .global-nav-inner__content,
  body.sl-chrome .global-nav-inner__content {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem 1.25rem;
  }
  body.sl-home .global-nav-column,
  body.sl-chrome .global-nav-column {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 180px;
  }
  body.sl-home .global-nav-column__title,
  body.sl-chrome .global-nav-column__title {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
  }
}
@media (max-width: 560px) {
  body.sl-home .global-nav-inner__content,
  body.sl-chrome .global-nav-inner__content {
    flex-direction: column;
    gap: 2rem;
  }
  body.sl-home .global-nav-column,
  body.sl-chrome .global-nav-column {
    flex: none;
    width: 100%;
  }
  body.sl-home .global-nav-column__title,
  body.sl-chrome .global-nav-column__title {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  body.sl-home .global-nav-column__list a,
  body.sl-chrome .global-nav-column__list a {
    font-size: 1.1rem;
  }
}

/* ---------- Bright page shell (sub) ---------- */
body.sl-chrome.business-sub {
  background: var(--sl-chrome-cream);
  color: var(--sl-chrome-ink);
}

/* ---------- Footer ---------- */
body.sl-home .proto3-footer,
body.sl-chrome .proto3-footer {
  background: var(--sl-chrome-cream);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 2rem;
  padding-bottom: 2rem;
}
body.sl-home .proto3-footer .footer-top,
body.sl-home .proto3-footer .footer-links,
body.sl-home .proto3-footer .footer-social,
body.sl-chrome .proto3-footer .footer-top,
body.sl-chrome .proto3-footer .footer-links,
body.sl-chrome .proto3-footer .footer-social {
  display: none;
}
body.sl-home .proto3-footer .footer-main,
body.sl-chrome .proto3-footer .footer-main {
  display: block;
  width: 100%;
}
body.sl-home .proto3-footer .footer-info,
body.sl-chrome .proto3-footer .footer-info {
  width: 100%;
  text-align: center;
}
body.sl-home .proto3-footer .footer-address,
body.sl-home .proto3-footer .footer-contact,
body.sl-chrome .proto3-footer .footer-address,
body.sl-chrome .proto3-footer .footer-contact {
  display: none;
}
body.sl-home .proto3-footer .footer-copyright,
body.sl-chrome .proto3-footer .footer-copyright {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.75rem;
  color: #9a9693;
  font-weight: 500;
  text-align: center;
}
