:root {
  --stk-color-dark: #0F212E;
  --stk-color-bright: #FFFFFF;
  --stk-color-accent: #1475E1;
  --stk-color-accent-hover: #2f87ea;
  --stk-color-bg: #1a2e39;
  --stk-color-text: #FFFFFF;
  --stk-color-muted: #B1BAD3;
  --stk-color-panel: #1A2C38;
  --stk-color-input: #0F1923;
  --stk-color-border: #2F4553;
  --stk-color-green: #00E701;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 0.5rem;
  --stk-header-height: 4rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--stk-color-bg);
  color: var(--stk-color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.stk-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--stk-color-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.stk-skip-link:focus {
  left: 0;
}

/* ===== Header ===== */
.stk-header {
  background: var(--stk-color-dark);
  border-bottom: 1px solid var(--stk-color-border);
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
}

.stk-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  min-height: var(--stk-header-height);
  position: relative;
}

.stk-logo {
  display: inline-flex;
  align-items: center;
  color: var(--stk-color-bright);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  flex-shrink: 0;
  max-height: 2.5rem;
}
.stk-logo img {
  max-height: 2.5rem;
  width: auto;
}

.stk-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.stk-header__ctas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ===== Nav (burger forced at all widths, since collapse_menu_to_burger=true) ===== */
.stk-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.stk-nav__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stk-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius);
  background: var(--stk-color-panel);
  border: 1px solid var(--stk-color-border);
  cursor: pointer;
  flex-shrink: 0;
  order: -1;
}

.stk-nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--stk-color-bright);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.stk-nav__checkbox:checked ~ .stk-nav__toggle .stk-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.stk-nav__checkbox:checked ~ .stk-nav__toggle .stk-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.stk-nav__checkbox:checked ~ .stk-nav__toggle .stk-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.stk-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  width: 100%;
}

.stk-nav__checkbox:checked ~ .stk-nav__list {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--stk-color-dark);
  border-bottom: 1px solid var(--stk-color-border);
  max-height: calc(100vh - var(--stk-header-height));
  overflow-y: auto;
  padding: 0.5rem 1rem 1rem;
  z-index: 400;
}

.stk-nav__item {
  width: 100%;
  border-bottom: 1px solid var(--stk-color-border);
}
.stk-nav__item:last-child {
  border-bottom: none;
}

.stk-nav__link {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--stk-color-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.stk-nav__link:hover,
.stk-nav__link:focus {
  color: var(--stk-color-bright);
  background: rgba(20, 117, 225, 0.08);
}

.stk-nav__link--active {
  color: var(--stk-color-bright);
  border-left-color: var(--stk-color-accent);
  background: rgba(20, 117, 225, 0.12);
}

/* Submenus - CSS only expandable via focus-within/hover for accessibility fallback */
.stk-nav__item--has-children > .stk-nav__submenu {
  list-style: none;
  margin: 0.25rem 0 0.25rem 0.75rem;
  padding: 0 0 0 0.75rem;
  border-left: 1px solid var(--stk-color-border);
  display: none;
}

.stk-nav__item--has-children:hover > .stk-nav__submenu,
.stk-nav__item--has-children:focus-within > .stk-nav__submenu {
  display: block;
}

.stk-nav__submenu .stk-nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 0.5rem;
}

/* Force burger at ALL widths — collapse_menu_to_burger = true */
.stk-nav__toggle {
  display: flex;
}

@media (min-width: 768px) {
  .stk-header__inner {
    flex-wrap: nowrap;
  }
}

/* ===== Language switcher ===== */
.stk-lang {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  background: var(--stk-color-input);
  border: 1px solid var(--stk-color-border);
  border-radius: var(--radius);
  padding: 0.25rem;
}

.stk-lang__item {
  display: flex;
}

.stk-lang__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  color: var(--stk-color-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: calc(var(--radius) - 0.25rem);
  transition: color 0.15s ease, background 0.15s ease;
}

.stk-lang__link:hover,
.stk-lang__link:focus {
  color: var(--stk-color-bright);
  background: rgba(255, 255, 255, 0.06);
}

.stk-lang__link--active {
  color: var(--stk-color-bright);
  background: var(--stk-color-accent);
}

/* ===== CTA buttons ===== */
.stk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}

.stk-cta--primary {
  background: var(--stk-color-accent);
  color: #fff;
}
.stk-cta--primary:hover,
.stk-cta--primary:focus {
  filter: brightness(1.08);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 0 3px rgba(20, 117, 225, 0.25);
}

.stk-cta--secondary {
  background: transparent;
  color: var(--stk-color-bright);
  border-color: var(--stk-color-border);
}
.stk-cta--secondary:hover,
.stk-cta--secondary:focus {
  background: var(--stk-color-panel);
  color: var(--stk-color-bright);
}

/* ===== Breadcrumbs ===== */
.stk-breadcrumbs {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.stk-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  color: var(--stk-color-muted);
}

.stk-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stk-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: var(--stk-color-border);
  margin-left: 0.35rem;
}

.stk-breadcrumbs__link {
  color: var(--stk-color-muted);
  text-decoration: none;
}
.stk-breadcrumbs__link:hover,
.stk-breadcrumbs__link:focus {
  color: var(--stk-color-bright);
  text-decoration: underline;
}

.stk-breadcrumbs [aria-current="page"] {
  color: var(--stk-color-bright);
  font-weight: 600;
}

/* ===== Main wrapper (no content styling beyond box) ===== */
.stk-main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Footer ===== */
.stk-footer {
  background: var(--stk-color-dark);
  border-top: 1px solid var(--stk-color-border);
  margin-top: 2rem;
}

.stk-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
}

.stk-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stk-color-border);
}

.stk-logo--footer {
  font-size: 1.1rem;
}

.stk-footer-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.stk-footer-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
}

.stk-footer-nav__item {
  display: flex;
}

.stk-footer-nav__link {
  color: var(--stk-color-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}
.stk-footer-nav__link:hover,
.stk-footer-nav__link:focus {
  color: var(--stk-color-bright);
  text-decoration: underline;
}

.stk-footer__ctas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stk-footer__address {
  font-style: normal;
  color: var(--stk-color-muted);
  font-size: 0.85rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.stk-footer__legal {
  color: var(--stk-color-muted);
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
}

/* ===== Responsive tweaks ===== */
@media (min-width: 480px) {
  .stk-header__inner {
    padding: 0.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .stk-header__inner {
    padding: 0.5rem 2rem;
  }
  .stk-footer__inner {
    padding: 2.5rem 2rem 1.5rem;
  }
}