/* ===== VARIABLES ===== */
:root {
  --blue-dark: #0b3556;
  --yellow: #f5b400;
  --text-main: #2b3340;
  --bg-body: #f4f6fb;
  --top-strip-h: 6px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-body);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 100%;
}

/* Yellow top strip */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--top-strip-h);
  background: var(--yellow);
}

/* ===== HEADER INNER ===== */
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding-top: calc(12px + var(--top-strip-h));
  padding-bottom: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 46px;
}

.logo-badge img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.logo-text {
  line-height: 1.2;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.logo-subtitle {
  font-size: 11px;
  opacity: 0.85;
}

/* ===== MAIN NAV ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
}

.main-nav a {
  color: #e7edf6;
  font-size: 16px;
  text-decoration: none;
  padding: 4px 0;
  font-weight: bold;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===== LANG SWITCH ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.lang-switch .lang {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.lang-switch .lang:hover {
  color: #f0b429;
}

.lang-switch .active {
  color: #ffffff;
  font-weight: 600;
  cursor: default;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  margin-left: 16px;
  background: var(--yellow);
  color: #2b2412;
  padding: 4px 20px;
  line-height: 1.4;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 0 0 4px rgba(245, 180, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(245, 180, 0, 0.45);
}

@media screen and (max-width: 1250px) {
  .header-inner {
    gap: 0;
  }

  /* ===== MAIN NAV ===== */
  .main-nav {
    flex-wrap: wrap;
    gap: 0 16px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .btn-cta {
    margin-left: auto;
  }

  .header-inner {
    padding: 0 16px;
  }

  .btn-cta {
    margin-left: 8px;
    font-size: 12px;
    padding: 4px 8px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 0px!important;
  }

  .logo-title {
    font-size: 12px;
  }

  .logo-subtitle {
    display: none;
  }
}