/*===============================
Google Font + Reset
================================*/

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', sans-serif;
  color:#f5f7ff;
  background:
    radial-gradient(circle at top left, rgba(245,223,2,.10), transparent 28%),
    radial-gradient(circle at top right, rgba(255,255,255,.04), transparent 30%),
    linear-gradient(135deg, #000e2b 0%, #01153e 100%);
  overflow-x:hidden;
}

body.modal-open{
  overflow:hidden;
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

:root{
  --bg:#000e2b;
  --bg-2:#01153e;
  --card:#0b1c49;
  --card-2:#12285f;
  --gold:#e8cd02;
  --gold-soft:#f5df02;
  --text:#f5f7ff;
  --muted:#b7c1e0;
  --border:rgba(232,205,2,.16);
  --shadow:0 18px 50px rgba(0,0,0,.28);
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

/*===============================
Navbar
================================*/

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}

.navbar{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:rgba(0,14,43,.96);
  border-bottom:1px solid rgba(232,205,2,.16);
  backdrop-filter:blur(14px);
  padding:10px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo img{
  width:48px;
  height:48px;
  object-fit:contain;
}

.logo h2{
  font-family:'Cinzel', serif;
  color:#e8cd02;
  font-size:25px;
  letter-spacing:3px;
}

nav ul{
  display:flex;
  gap:26px;
  list-style:none;
  align-items:center;
  flex-wrap:wrap;
}

nav a{
  color:#f5f7ff;
  font-size:14px;
  font-weight:600;
  transition:.3s ease;
}

nav a:hover,
nav a.active{
  color:#e8cd02;
}

/*===============================
Hero
================================*/

.careers-hero{
  min-height:100vh;
  padding:125px 0 80px;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,14,43,1) 0%, rgba(0,14,43,.94) 45%, rgba(0,14,43,.62) 100%),
    radial-gradient(circle at right top, rgba(232,205,2,.16), transparent 28%);
}

.careers-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 80% 30%, rgba(232,205,2,.16), transparent 32%),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.05), transparent 22%);
  pointer-events:none;
}

.hero-content{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:40px;
  align-items:center;
  position:relative;
  z-index:2;
}

.eyebrow,
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(232,205,2,.08);
  border:1px solid rgba(232,205,2,.22);
  color:var(--gold);
  letter-spacing:2.8px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
}

.hero-copy h1{
  font-family:'Cinzel', serif;
  font-size:clamp(44px, 6vw, 86px);
  line-height:1.02;
  margin:18px 0 18px;
  color:#fff;
}

.hero-copy p{
  max-width:620px;
  color:rgba(233,239,255,.80);
  font-size:18px;
  line-height:1.9;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:28px;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.hero-badges span{
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(232,205,2,.14);
  color:#fff;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
}

.hero-card{
  padding:32px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(11,28,73,.96), rgba(18,40,95,.88));
  border:1px solid rgba(232,205,2,.16);
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}

.hero-card h3{
  font-family:'Cinzel', serif;
  font-size:30px;
  color:#fff;
  margin-bottom:18px;
}

.hero-card ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.hero-card li{
  position:relative;
  padding-left:26px;
  color:rgba(233,239,255,.78);
  line-height:1.7;
}

.hero-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(135deg, #fff1a6, var(--gold));
  box-shadow:0 0 12px rgba(232,205,2,.25);
}

/*===============================
Buttons
================================*/

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:.4px;
  transition:.3s ease;
  border:1px solid transparent;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-3px);
}

.btn-primary{
  background:linear-gradient(135deg, #fff1a6, var(--gold));
  color:#071225;
  box-shadow:0 14px 34px rgba(232,205,2,.18);
}

.btn-primary:hover{
  box-shadow:0 18px 40px rgba(232,205,2,.26);
}

.btn-secondary{
  background:rgba(255,255,255,.06);
  color:#fff;
  border-color:rgba(232,205,2,.24);
}

.btn-secondary:hover{
  background:rgba(232,205,2,.10);
  border-color:rgba(232,205,2,.40);
}

.btn-outline{
  background:transparent;
  color:#fff;
  border-color:rgba(232,205,2,.40);
}

.btn-outline:hover{
  background:rgba(232,205,2,.10);
  border-color:var(--gold);
}

/*===============================
Sections
================================*/

.section{
  padding:92px 0;
  position:relative;
}

.section-head{
  text-align:center;
  max-width:820px;
  margin:0 auto 48px;
}

.section-head.left{
  text-align:left;
  margin:0;
}

.section-head h2{
  font-family:'Cinzel', serif;
  font-size:clamp(34px, 5vw, 62px);
  line-height:1.08;
  color:#fff;
  margin:18px 0 16px;
}

.section-head p{
  color:rgba(233,239,255,.78);
  font-size:17px;
  line-height:1.9;
  max-width:760px;
  margin:0 auto;
}

.section-head.left p{
  margin:0;
}

/*===============================
Cards
================================*/

.grid{
  display:grid;
  gap:22px;
}

.cards-3{
  grid-template-columns:repeat(3, 1fr);
}

.cards-4{
  grid-template-columns:repeat(4, 1fr);
}

.info-card,
.mini-card,
.role-card,
.apply-card,
.timeline-step,
.modal-card,
.culture-copy,
.culture-card{
  background:linear-gradient(135deg, rgba(11,28,73,.95), rgba(18,40,95,.85));
  border:1px solid rgba(232,205,2,.14);
  border-radius:24px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}

.info-card{
  padding:28px;
  transition:.35s ease;
}

.info-card:hover,
.role-card:hover,
.timeline-step:hover,
.apply-card:hover{
  transform:translateY(-8px);
  border-color:rgba(245,223,2,.45);
}

.info-card h3{
  font-family:'Cinzel', serif;
  font-size:24px;
  margin-bottom:12px;
  color:#fff;
}

.info-card p{
  color:rgba(233,239,255,.76);
  font-size:14px;
  line-height:1.8;
}

.mini-card{
  padding:24px 18px;
  text-align:center;
  font-weight:700;
  color:#fff;
  letter-spacing:.4px;
}

/*===============================
Roles
================================*/

.roles-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}

.role-card{
  padding:28px;
  position:relative;
  overflow:hidden;
  transition:.35s ease;
}

.role-card::before{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-34px;
  top:-34px;
  background:rgba(232,205,2,.10);
  border-radius:50%;
}

.role-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  position:relative;
  z-index:1;
}

.role-chip,
.role-location{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.role-chip{
  color:var(--gold);
  border:1px solid rgba(232,205,2,.22);
  background:rgba(232,205,2,.06);
}

.role-location{
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
}

.role-card h3{
  font-family:'Cinzel', serif;
  font-size:27px;
  margin-bottom:10px;
  color:#fff;
  position:relative;
  z-index:1;
}

.role-card p{
  color:rgba(233,239,255,.76);
  font-size:14px;
  line-height:1.8;
  margin-bottom:16px;
  position:relative;
  z-index:1;
}

.role-card ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:22px;
  position:relative;
  z-index:1;
}

.role-card li{
  color:rgba(233,239,255,.80);
  font-size:14px;
  line-height:1.6;
  padding-left:22px;
  position:relative;
}

.role-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:linear-gradient(135deg, #fff1a6, var(--gold));
}

/*===============================
Culture Banner
================================*/

.culture-banner{
  padding:78px 0;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(232,205,2,.12), transparent 28%),
    radial-gradient(circle at 84% 26%, rgba(255,255,255,.05), transparent 26%);
}

.culture-wrap{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:stretch;
  position:relative;
  z-index:1;
}

.culture-copy,
.culture-card{
  border-radius:26px;
  border:1px solid rgba(232,205,2,.14);
  box-shadow:var(--shadow);
}

.culture-copy{
  padding:30px;
}

.culture-copy h2{
  font-family:'Cinzel', serif;
  font-size:clamp(32px, 4.2vw, 52px);
  line-height:1.06;
  color:#fff;
  margin:16px 0 14px;
  max-width:620px;
}

.culture-copy p{
  color:rgba(233,239,255,.78);
  font-size:16px;
  line-height:1.8;
  max-width:650px;
}

.culture-points{
  display:grid;
  gap:12px;
  margin-top:22px;
}

.culture-point{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(232,205,2,.10);
}

.culture-point strong{
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #fff1a6, var(--gold));
  color:#071225;
  font-size:13px;
  font-weight:900;
  flex-shrink:0;
}

.culture-point span{
  color:#fff;
  font-weight:600;
  font-size:14px;
  line-height:1.55;
}

.culture-card{
  padding:28px;
}

.culture-card h3{
  font-family:'Cinzel', serif;
  font-size:26px;
  color:#fff;
  margin-bottom:14px;
}

.culture-card ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.culture-card li{
  position:relative;
  padding-left:22px;
  color:rgba(233,239,255,.78);
  line-height:1.45;
  font-size:14px;
}

.culture-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:linear-gradient(135deg, #fff1a6, var(--gold));
}

/*===============================
Timeline
================================*/

.timeline{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:16px;
}

.timeline-step{
  padding:24px 18px;
  text-align:center;
  transition:.35s ease;
}

.timeline-step span{
  width:52px;
  height:52px;
  margin:0 auto 16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:'Cinzel', serif;
  font-size:20px;
  font-weight:700;
  color:#071225;
  background:linear-gradient(135deg, #fff1a6, var(--gold));
  box-shadow:0 12px 28px rgba(232,205,2,.20);
}

.timeline-step h3{
  font-family:'Cinzel', serif;
  font-size:22px;
  color:#fff;
  margin-bottom:10px;
}

.timeline-step p{
  color:rgba(233,239,255,.75);
  font-size:14px;
  line-height:1.8;
}

/*===============================
Benefits
================================*/

.mini-card{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/*===============================
Modal
================================*/

.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:2000;
}

.modal.active{
  display:flex;
}

.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.68);
  backdrop-filter:blur(8px);
}

.modal-card{
  position:relative;
  width:min(760px, 100%);
  max-height:90vh;
  overflow-y:auto;
  padding:28px;
  z-index:1;
}

.modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.modal-head{
  margin-bottom:18px;
}

.modal-head h3{
  font-family:'Cinzel', serif;
  font-size:30px;
  color:#fff;
  margin:14px 0 8px;
}

.modal-head p{
  color:rgba(233,239,255,.76);
  font-size:14px;
  line-height:1.7;
}

.modal-form .field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}

.modal-form label{
  color:var(--gold);
  font-size:11px;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.modal-form input,
.modal-form textarea{
  width:100%;
  background:#081736;
  border:1px solid rgba(232,205,2,.18);
  color:#f5f7ff;
  border-radius:14px;
  padding:12px 14px;
  font:inherit;
  outline:none;
  transition:.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus{
  border-color:rgba(245,223,2,.55);
  box-shadow:0 0 0 4px rgba(232,205,2,.10);
  background:#0b1c42;
}

.modal-form input[disabled]{
  opacity:.8;
  cursor:not-allowed;
}

.dynamic-fields{
  margin:6px 0 12px;
}

.role-fields{
  display:none;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}

.role-fields.active{
  display:grid;
}

.apply-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}

/*===============================
Footer
================================*/

.footer{
  padding:60px 0 25px;
  background:#00091f;
  border-top:1px solid var(--border);
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px;
}

.footer h2{
  font-family:'Cinzel', serif;
  color:var(--gold);
  font-size:45px;
}

.footer h3{
  margin-bottom:20px;
}

.footer p,
.footer a{
  color:var(--muted);
  font-size:14px;
  line-height:2;
  text-decoration:none;
  display:block;
}

.footer a:hover{
  color:var(--gold);
}

.footer-social i{
  margin-right:10px;
  color:var(--gold);
}

.footer-bottom{
  margin-top:40px;
  padding-top:20px;
  text-align:center;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}

/*===============================
Responsive
================================*/

@media(max-width:1200px){
  .hero-content,
  .culture-wrap{
    grid-template-columns:1fr;
  }

  .cards-3,
  .roles-grid,
  .timeline{
    grid-template-columns:repeat(2, 1fr);
  }

  .cards-4{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
}

@media(max-width:768px){
  .site-header{
    position:static;
  }

  .navbar{
    min-height:auto;
    padding:16px 0;
    flex-direction:column;
    gap:14px;
  }

  .careers-hero{
    padding-top:36px;
    min-height:auto;
  }

  .hero-copy{
    text-align:center;
  }

  .hero-copy p,
  .section-head p{
    font-size:15px;
  }

  .hero-actions,
  .hero-badges{
    justify-content:center;
  }

  .cards-3,
  .roles-grid,
  .timeline,
  .cards-4,
  .form-grid,
  .role-fields{
    grid-template-columns:1fr;
  }

  .section{
    padding:72px 0;
  }

  .info-card,
  .role-card,
  .timeline-step,
  .mini-card,
  .hero-card,
  .culture-copy,
  .culture-card,
  .modal-card{
    padding:22px;
  }

  .section-head.left{
    text-align:center;
  }

  .section-head.left p{
    margin:0 auto;
  }

  nav ul{
    justify-content:center;
    gap:16px;
  }

  .modal-card{
    max-height:88vh;
  }
}

@media(max-width:480px){
  .container{
    width:min(1180px, calc(100% - 22px));
  }

  .logo h2{
    font-size:22px;
  }

  .hero-copy h1{
    font-size:38px;
  }

  .section-head h2{
    font-size:32px;
  }

  .btn{
    width:100%;
  }

  .hero-actions,
  .apply-actions{
    flex-direction:column;
  }

  .role-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .modal-head h3{
    font-size:26px;
  }
}