/* -------------------------------------
   FONTS
   ------------------------------------- */
@font-face {
  font-family: "Flood Std";
  src: url("../fonts/Flood Std Regular.woff2") format("woff2"),
       url("../fonts/Flood Std Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("../fonts/helveticaneuecyr_thin.woff2") format("woff2"),
       url("../fonts/helveticaneuecyr_thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("../fonts/helveticaneuecyr_ultralight.woff2") format("woff2"),
       url("../fonts/helveticaneuecyr_ultralight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("../fonts/helveticaneuecyr_ultralightitalic.woff2") format("woff2"),
       url("../fonts/helveticaneuecyr_ultralightitalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("../fonts/helveticaneuecyr_roman.woff2") format("woff2"),
       url("../fonts/helveticaneuecyr_roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("../fonts/helveticaneuecyr_black.woff2") format("woff2"),
       url("../fonts/helveticaneuecyr_black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("../fonts/Oswald-VariableFont_wght.woff2") format("woff2-variations"),
       url("../fonts/Oswald-VariableFont_wght.woff") format("woff");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------
   GLOBAL
   ------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue Cyr", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Oswald", "Helvetica Neue Cyr", Arial, sans-serif;
  line-height: 1.1;
  font-weight: 700;
}

.font-brand {
  font-family: "Flood Std", "Helvetica Neue Cyr", Arial, sans-serif;
  font-weight: 400;
}

/* -------------------------------------
   LANGUAGE SWITCHER
   ------------------------------------- */
.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-switcher button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
}

.lang-switcher button.is-active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* -------------------------------------
   LAYOUT
   ------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------
   HEADER
   ------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 24px 0;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.slogan {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* -------------------------------------
   HERO
   ------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 120px 20px 40px;
  box-sizing: border-box;
}

/* -------------------------------------
   FOOTER
   ------------------------------------- */
.site-footer {
  background: #000;
  color: #fff;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner p {
  font-size: 13px;
  opacity: 0.8;
}

.footer-policy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.footer-policy-btn:hover {
  border-color: #fff;
}

/* -------------------------------------
   MODAL
   ------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal.is-open {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-dialog {
  position: relative;
  max-width: 720px;
  margin: 5vh auto;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  scrollbar-width: thin;
  scrollbar-color: #000 #f0f0f0;
}

.modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 8px;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #000;
}

.modal-updated {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.modal-body h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 18px;
}

.modal-body p {
  margin-bottom: 12px;
  font-size: 14px;
}

.modal-body ul {
  margin: 0 0 12px 20px;
  font-size: 14px;
}

.modal-body ul li {
  margin-bottom: 4px;
}

/* -------------------------------------
   APPLY FORM (styled like an open modal, sitting in the hero)
   ------------------------------------- */
.apply-card {
  width: 100%;
  max-width: 640px;
  max-height: 100%;
  overflow-y: auto;
  background: #0a0a0ad0;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  padding: 40px;
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: #333 #0a0a0aea;
  backdrop-filter: blur(10px);
}

.apply-card::-webkit-scrollbar {
  width: 8px;
}

.apply-card::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 8px;
}

.apply-card::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 8px;
}

.apply-card::-webkit-scrollbar-thumb:hover {
  background: #444;
}

.apply-card h2 {
    color: #fff;
    margin-bottom: 16px;
    font-family: "Oswald", "Helvetica Neue Cyr", Arial, sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
}

.apply-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.apply-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ff4747;
  animation: apply-badge-pulse 1.6s infinite;
}

@keyframes apply-badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 71, 71, 0.6);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 71, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 71, 0);
  }
}

.apply-subtitle {
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 32px;
    font-family: "Oswald", "Helvetica Neue Cyr", Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
  .apply-subtitle {
    font-size: 20px;
  }
}

.apply-form {
  text-align: left;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #ebebeb;
  font-family: "Oswald", "Helvetica Neue Cyr", Arial, sans-serif;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 15px;
  padding: 8px 0;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-bottom-color: #ff4747;
}

.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.apply-submit {
  display: block;
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.apply-submit:hover {
  opacity: 0.85;
}

.apply-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.apply-status {
  margin-top: 24px;
  font-size: 15px;
}

.apply-status.is-success {
  color: #4ade80;
}

.apply-status.is-error {
  color: #f87171;
}

/* -------------------------------------
   THANK YOU PAGE
   ------------------------------------- */
.thankyou-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-icon svg {
  width: 28px;
  height: 28px;
}