:root {
  --bg: #f5f7fa;
  --bg-2: #ffffff;
  --text: #101826;
  --muted: #5f6b7a;
  --card: rgba(255, 255, 255, 0.82);
  --card-border: rgba(16, 24, 38, 0.09);
  --nav: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --primary: #0b3472;
  --primary-2: #1f5ebc;
  --accent: #f39c12;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.86);
  --button-light: rgba(255, 255, 255, 0.93);
  --button-dark: #111827;
  --button-dark-text: #ffffff;
  --blue-block: #344b61;
}

body.dark {
  --bg: #07111d;
  --bg-2: #0b1624;
  --text: #f5f7fb;
  --muted: #a7b2c1;
  --card: rgba(12, 20, 33, 0.74);
  --card-border: rgba(255, 255, 255, 0.11);
  --nav: rgba(7, 17, 29, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  --primary: #5da0ff;
  --primary-2: #8ab9ff;
  --button-dark: rgba(255, 255, 255, 0.13);
  --button-dark-text: #ffffff;
  --blue-block: #132235;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled,
.career-body .navbar {
  background: var(--nav);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  min-width: 168px;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.nav-right,
.nav-links,
.controls {
  display: flex;
  align-items: center;
}

.nav-right { gap: 16px; }
.nav-links { gap: 22px; }
.controls { gap: 10px; }

.nav-links a {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.94;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.toggle-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(12px);
}

.toggle-group button {
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.toggle-group button.active {
  background: #ffffff;
  color: #111827;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--hero-text);
}

.hero-video,
.fallback-image,
.career-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fallback-image { z-index: 0; }
.hero-video {
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.video-ready .hero-video { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.46)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(5, 15, 28, 0.24), rgba(5, 15, 28, 0.18));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: auto;
  padding-top: 100px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 16px;
  font-weight: 800;
  color: var(--hero-muted);
  margin-bottom: 20px;
}

.hero h1,
.career-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.rotating-text {
  display: inline-block;
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.rotating-text.fade-out {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
}

.hero p,
.career-hero p {
  max-width: 780px;
  margin: 24px auto 0;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.7;
  color: var(--hero-muted);
}

.hero-actions,
.inline-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover { transform: translateY(-3px); }

.btn-light {
  background: var(--button-light);
  color: #111827;
}

.btn-dark {
  background: var(--button-dark);
  color: var(--button-dark-text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 24px;
  animation: bounceArrow 1.5s infinite ease-in-out;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.section {
  padding: 100px 24px;
  background: var(--bg);
  transition: background 0.35s ease;
}

.white-section {
  background: var(--bg-2);
}

.split-blue,
.final-cta {
  background: var(--blue-block);
  color: #ffffff;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.narrow { width: min(840px, 100%); }
.center { text-align: center; }

.top-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.section h2,
.step-card h2,
.next-box h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
}

.step-card h2,
.next-box h2 { font-size: clamp(26px, 3vw, 38px); }

.section p,
.step-card p,
.next-box p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px;
}

.split-blue p,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.image-stack {
  position: relative;
  min-height: 430px;
}

.stack-img {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  background: #ffffff;
}

.stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stack-1 { width: 350px; height: 360px; left: 0; top: 0; }
.stack-2 { width: 260px; height: 240px; left: 240px; top: 160px; }
.stack-3 { width: 230px; height: 170px; left: 130px; top: 30px; }
.right-stack .stack-1 { left: 160px; top: 0; }
.right-stack .stack-2 { left: 0; top: 130px; }
.right-stack .stack-3 { left: 80px; top: 250px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 44px;
  margin-top: 34px;
}

.feature-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--text);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.feature p {
  margin: 0;
  font-size: 16px;
}

.cta-box,
.contact-card,
.next-box {
  margin-top: 60px;
  padding: 40px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.05em;
}

.cta-box p,
.contact-card p { margin: 0; }

.final-cta .btn { margin-top: 30px; }

.footer {
  padding: 26px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
}

.career-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.career-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(7, 17, 29, 0.35), rgba(7, 17, 29, 0.12));
}

.career-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.career-section { margin-top: 0; }

.career-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  min-height: 560px;
  border-radius: 26px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.step-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 156, 18, 0.13);
  color: var(--accent);
  border: 1px solid rgba(243, 156, 18, 0.35);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.step-card ul {
  margin: 20px 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.note {
  font-size: 15px !important;
  font-style: italic;
}

.full-btn {
  width: 100%;
  margin-top: 14px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin: 22px 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.score-row strong {
  color: var(--text);
  font-size: 18px;
}

.center-actions { justify-content: center; }

.ro [data-en],
.en [data-ro] {
  display: none !important;
}

@media (max-width: 1100px) {
  .navbar {
    padding: 18px;
    align-items: flex-start;
  }

  .mobile-menu-btn { display: inline-flex; }

  .nav-right {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(7, 17, 29, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-right { display: flex; }

  .nav-links,
  .controls {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 980px) {
  .top-story,
  .section-grid,
  .career-steps,
  .contact-directory {
    grid-template-columns: 1fr;
  }

  .features { grid-template-columns: 1fr; }

  .image-stack { min-height: 520px; }
  .stack-1 { width: 280px; height: 320px; left: 0; top: 0; }
  .stack-2 { width: 230px; height: 220px; left: 145px; top: 220px; }
  .stack-3 { width: 200px; height: 150px; left: 165px; top: 45px; }
  .right-stack .stack-1 { left: 0; top: 0; }
  .right-stack .stack-2 { left: 145px; top: 220px; }
  .right-stack .stack-3 { left: 165px; top: 45px; }
}

@media (max-width: 640px) {
  .navbar { padding: 14px; }
  .site-notice-card { padding: 24px; }
  .logo { min-width: 132px; }
  .logo-img { height: 42px; }
  .hero-actions,
  .inline-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 76px 18px; }
  .cta-box,
  .contact-card,
  .next-box,
  .step-card { padding: 26px; }
  .image-stack { min-height: 440px; }
  .stack-1 { width: 220px; height: 270px; }
  .stack-2 { width: 178px; height: 180px; left: 95px; top: 210px; }
  .stack-3 { width: 160px; height: 120px; left: 120px; top: 35px; }
}


.notice-btn { min-width: 180px; }

.notice-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.site-notice {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.site-notice.hidden { display: none; }
.site-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}
.site-notice-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  border-radius: 28px;
  padding: 34px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-align: left;
}
.notice-chip {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(243, 156, 18, 0.13);
  color: var(--accent);
  border: 1px solid rgba(243, 156, 18, 0.32);
}
.site-notice-card h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.site-notice-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.contact-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.person-card {
  min-height: 260px;
  border-radius: 26px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.person-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.person-lines p {
  margin: 0 0 12px;
  color: var(--muted);
}
.person-lines strong, .person-lines a { color: var(--text); }
.contact-support-box { margin-top: 28px; }
.contact-hero .career-bg { filter: saturate(1.02); }
