:root {
  --sye-navy: #031a33;
  --sye-navy-soft: #0a2949;
  --sye-gold: #c9a24f;
  --sye-ink: #10243b;
  --sye-paper: #f5f7fa;
  --sye-line: rgba(15, 39, 65, .12);
  --sye-radius: 22px;
}

html { scroll-padding-top: 88px; }
body { background: var(--sye-paper); color: var(--sye-ink); }
body.sye-shell-active > header:not(.sye-universal-header),
body.sye-shell-active .site-header,
body.sye-shell-active .ecosystem-bar,
body.sye-shell-active > .lang-switch-floating { display: none !important; }

.sye-universal-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  color: #fff;
  background: rgba(3, 26, 51, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 12px 34px rgba(0, 15, 31, .18);
  -webkit-backdrop-filter: saturate(135%) blur(18px);
  backdrop-filter: saturate(135%) blur(18px);
}
.sye-universal-inner {
  width: min(1380px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(215px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
}
.sye-universal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.sye-universal-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .18);
}
body.sye-section-academy .sye-universal-brand img,
body.sye-section-career .sye-universal-brand img,
body.sye-section-view .sye-universal-brand img {
  outline: 2px solid rgba(201, 162, 79, .72);
  outline-offset: 2px;
}
body.sye-section-blue .sye-universal-brand img {
  outline: 2px solid rgba(57, 176, 224, .78);
  outline-offset: 2px;
}
.sye-universal-brand span {
  font: 800 12.5px/1.15 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.sye-universal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.sye-universal-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font: 720 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
}
.sye-nav-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.sye-universal-nav a:hover,
.sye-universal-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}
.sye-universal-tools { display: flex; align-items: center; gap: 9px; }
.sye-universal-language {
  height: 36px;
  padding: 0 28px 0 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font: 800 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.sye-universal-language option { color: var(--sye-navy); background: #fff; }
.sye-universal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #07182a;
  background: var(--sye-gold);
  font: 820 12.5px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.sye-universal-mobile { display: none; }

body.sye-premium main h1,
body.sye-premium main h2 {
  text-wrap: balance;
  letter-spacing: -.035em;
}
body.sye-premium main h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 600;
}
body.sye-premium main h2 { font-weight: 720; }
body.sye-premium main p { text-wrap: pretty; }
body.sye-premium .card,
body.sye-premium .form-card,
body.sye-premium article {
  border-radius: var(--sye-radius);
}
body.sye-premium .button,
body.sye-premium .btn-primary,
body.sye-premium .btn-secondary,
body.sye-premium .header-cta {
  min-height: 44px;
  border-radius: 999px;
}
body.sye-premium .hero {
  min-height: min(720px, 76vh);
  display: flex;
  align-items: center;
  background-size: cover !important;
}
body.sye-premium.sye-course-page .hero { min-height: 500px; }
.academy-catalog-hero {
  padding: 0 !important;
  overflow: hidden;
}
.academy-catalog-hero picture,
.academy-catalog-hero picture img {
  display: block;
  width: 100%;
}
.academy-catalog-hero picture img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.academy-catalog-hero > div { padding: clamp(24px, 4vw, 42px); }
.sye-hero-alt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  html { scroll-padding-top: 70px; }
  .sye-universal-inner {
    width: min(100% - 28px, 1380px);
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .sye-universal-brand img { width: 39px; height: 39px; }
  .sye-universal-brand span { max-width: 178px; overflow: hidden; text-overflow: ellipsis; }
  .sye-universal-nav,
  .sye-universal-tools .sye-universal-cta { display: none; }
  .sye-universal-mobile { display: block; position: relative; }
  .sye-universal-mobile summary {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
    font-size: 0;
  }
  .sye-universal-mobile summary::-webkit-details-marker { display: none; }
  .sye-universal-mobile summary::before { content: "☰"; font-size: 19px; }
  .sye-universal-mobile[open] summary::before { content: "×"; font-size: 25px; }
  .sye-universal-mobile nav {
    position: absolute;
    top: 49px;
    right: 0;
    width: min(310px, calc(100vw - 28px));
    padding: 12px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: #061f3a;
    box-shadow: 0 24px 54px rgba(0, 0, 0, .28);
  }
  .sye-universal-mobile nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .86);
    font: 750 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
  }
  .sye-universal-mobile .sye-nav-logo { width: 28px; height: 28px; flex-basis: 28px; }
  .sye-universal-mobile nav a[aria-current="page"],
  .sye-universal-mobile nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  body.sye-premium .hero { min-height: 620px; }
  body.sye-premium.sye-course-page .hero { min-height: 440px; }
}

@media (max-width: 560px) {
  .sye-universal-brand span { display: none; }
  .sye-universal-language { height: 34px; padding-left: 10px; }
  body.sye-premium .hero { min-height: 560px; }
  body.sye-premium.sye-course-page .hero { min-height: 380px; }
}
