/* ── Reset & base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0B1F33;
  color: #FFFFFF;
  line-height: 1.6;
}

/* ── i18n: hide content until translations load ─ */
body:not(.i18n-loaded) [data-i18n],
body:not(.i18n-loaded) [data-i18n-html] { visibility: hidden; }

/* ── Language switcher UI ─────────────────────── */
.lang-nav {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(246,211,122,0.25);
  border-radius: 50px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  border-radius: 50px;
}
.lang-btn.active {
  background: linear-gradient(135deg, #C89B3C, #F6D37A);
  color: #0B1F33;
}

/* ── Nav ──────────────────────────────────────── */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(11,31,51,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.main-nav.scrolled {
  background: rgba(11,31,51,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-weight: 800;
  font-size: 0.95rem;
  color: #F6D37A;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 0.15rem;
  flex: 1;
}
.nav-link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: #F6D37A; background: rgba(246,211,122,0.1); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #F6D37A;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 700px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11,31,51,0.98);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(246,211,122,0.15);
    backdrop-filter: blur(12px);
    gap: 0.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.7rem 0.5rem; font-size: 1rem; }
}

/* ── Section shared ──────────────────────────── */
section { padding: 5rem 1.5rem; scroll-margin-top: 70px; }
.container { max-width: 900px; margin: 0 auto; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #F6D37A;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.btn-primary { background: linear-gradient(135deg, #C89B3C, #F6D37A); color: #0B1F33; }
.btn-outline { background: transparent; border: 2px solid #C89B3C; color: #F6D37A; }

/* ── Footer ──────────────────────────────────── */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(246,211,122,0.12);
}
