:root {
  --kshell-ink: #0d2b38;
  --kshell-copy: #526a76;
  --kshell-teal: #178e8b;
  --kshell-line: rgba(23, 142, 139, .15);
  --kshell-display: "Plus Jakarta Sans", Inter, ui-sans-serif, sans-serif;
  --kshell-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kshell-header,
.kshell-header *,
.kshell-footer,
.kshell-footer * {
  box-sizing: border-box;
}

.kshell-header a,
.kshell-footer a {
  color: inherit;
  text-decoration: none;
}

.kshell-header {
  position: sticky;
  z-index: 900;
  top: 0;
  width: 100%;
  min-height: 74px;
  border-bottom: 1px solid var(--kshell-line);
  background: rgba(248, 251, 251, .94);
  box-shadow: 0 9px 30px rgba(8, 39, 51, .045), inset 0 1px rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px) saturate(140%);
}

body.admin-bar .kshell-header {
  top: 32px;
}

.kshell-header-inner {
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  min-height: 74px;
  margin-inline: auto;
}

.kshell-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 315px;
}

.kshell-brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.kshell-brand-copy {
  display: grid;
  line-height: 1.05;
}

.kshell-brand-name {
  color: var(--kshell-ink);
  font: 700 15px/1 var(--kshell-display);
  letter-spacing: .12em;
}

.kshell-brand-tagline {
  max-width: 285px;
  margin-top: 5px;
  color: #70848d;
  font: 500 7.5px/1.25 var(--kshell-body);
}

.kshell-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.kshell-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #3b5360;
  font: 680 12px/1.2 var(--kshell-body);
  white-space: nowrap;
  transition: color .2s;
}

.kshell-nav-link::after {
  position: absolute;
  right: 100%;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--kshell-teal);
  content: "";
  transition: right .2s;
}

.kshell-nav-link[aria-current="page"],
.kshell-nav-link:hover {
  color: var(--kshell-teal);
}

.kshell-nav-link[aria-current="page"]::after,
.kshell-nav-link:hover::after {
  right: 0;
}

.kshell-contact-nav-link {
  display: none;
}

.kshell-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: 28px;
  padding: 0 18px;
  border: 1px solid var(--kshell-ink);
  border-radius: 10px;
  color: #fff !important;
  background: var(--kshell-ink);
  font: 700 12px/1 var(--kshell-body);
  transition: transform .2s, background .2s, box-shadow .2s;
}

.kshell-header-cta:hover {
  background: #123f4c;
  box-shadow: 0 18px 38px rgba(8, 39, 51, .2);
  transform: translateY(-2px);
}

.kshell-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(13, 43, 56, .14);
  border-radius: 10px;
  color: var(--kshell-ink);
  background: rgba(255, 255, 255, .82);
  cursor: pointer;
}

.kshell-menu-lines,
.kshell-menu-lines::before,
.kshell-menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.kshell-menu-lines {
  position: relative;
}

.kshell-menu-lines::before,
.kshell-menu-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.kshell-menu-lines::before {
  top: -6px;
}

.kshell-menu-lines::after {
  top: 6px;
}

.kshell-menu-toggle[aria-expanded="true"] .kshell-menu-lines {
  background: transparent;
}

.kshell-menu-toggle[aria-expanded="true"] .kshell-menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.kshell-menu-toggle[aria-expanded="true"] .kshell-menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.kshell-header a:focus-visible,
.kshell-header button:focus-visible,
.kshell-footer a:focus-visible {
  outline: 3px solid rgba(23, 142, 139, .28);
  outline-offset: 3px;
}

.kshell-footer {
  position: relative;
  width: 100%;
  color: #294852;
  background: linear-gradient(135deg, #f4f8f8, #eaf3f4);
  font-family: var(--kshell-body);
}

.kshell-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 48px));
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 143, 136, .38) 12%, #39aaa3 50%, rgba(0, 143, 136, .38) 88%, transparent);
  content: "";
  transform: translateX(-50%);
}

.kshell-footer-container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.kshell-footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
  padding-top: 30px;
}

.kshell-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.kshell-footer-brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.kshell-footer-brand-copy {
  display: grid;
  line-height: 1.05;
}

.kshell-footer-brand-copy strong {
  color: var(--kshell-ink);
  font: 700 15px/1 var(--kshell-display);
  letter-spacing: .12em;
}

.kshell-footer-brand-copy small {
  margin-top: 5px;
  color: #70848d;
  font-size: 7.5px;
  line-height: 1.25;
  white-space: nowrap;
}

.kshell-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.6vw, 24px);
  white-space: nowrap;
}

.kshell-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #476069;
  font-size: 9px;
  font-weight: 650;
}

.kshell-footer nav a:hover {
  color: var(--kshell-teal);
}

.kshell-footer-bottom {
  margin-top: 18px;
  padding: 11px 0 14px;
  border-top: 1px solid rgba(8, 39, 51, .11);
  text-align: center;
}

.kshell-footer-bottom p {
  margin: 0;
  color: #6b8188;
  font-size: 9px;
}

@media (max-width: 1120px) {
  .kshell-brand {
    min-width: 215px;
  }

  .kshell-brand-tagline {
    display: none;
  }

  .kshell-nav {
    gap: 15px;
  }

  .kshell-header-cta {
    margin-left: 18px;
    padding-inline: 14px;
  }
}

@media (max-width: 920px) {
  .kshell-header-cta {
    display: none;
  }

  .kshell-menu-toggle {
    display: inline-flex;
  }

  .kshell-header-inner {
    position: relative;
  }

  .kshell-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 9px;
    border: 1px solid rgba(13, 43, 56, .11);
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 34px rgba(18, 57, 70, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }

  .kshell-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .kshell-nav-link {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  .kshell-nav-link::after {
    display: none;
  }

  .kshell-contact-nav-link {
    display: inline-flex;
  }

  .kshell-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kshell-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 782px) {
  body.admin-bar .kshell-header {
    top: 46px;
  }
}

@media (max-width: 620px) {
  .kshell-header,
  .kshell-header-inner {
    min-height: 66px;
  }

  .kshell-header-inner,
  .kshell-footer-container {
    width: calc(100% - 28px);
  }

  .kshell-brand {
    min-width: 0;
  }

  .kshell-brand-logo {
    width: 35px;
    height: 35px;
  }

  .kshell-footer::before {
    width: calc(100% - 28px);
  }

  .kshell-footer-brand-copy small {
    max-width: 225px;
    white-space: normal;
  }

  .kshell-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    white-space: normal;
  }

  .kshell-footer nav a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kshell-header *,
  .kshell-footer * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .kshell-header,
  .kshell-footer {
    display: none !important;
  }
}
