/* =========================================
   Greywolf Solutions - Main Stylesheet
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gray-900: #0f1117;
  --gray-800: #1a1d27;
  --gray-700: #252836;
  --gray-600: #2e3347;
  --accent:   #d0d0d0;
  --accent-dk: #888888;
  --white:    #ffffff;
  --off-white: #f4f4f0;
  --text:     #e2e2dc;
  --muted:    #9a9a8e;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.45);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--gray-900);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dk); }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }

.section-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: .5rem;
  display: block;
}

.section-title { margin-bottom: 1rem; }
.section-title span { color: var(--accent); }
.section-desc { color: var(--muted); max-width: 640px; font-size: 1.05rem; }

/* --- Layout --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
section { padding: 5rem 0; }

/* --- Divider --- */
.divider {
  height: 3px;
  width: 60px;
  background: var(--accent);
  margin: 1rem 0 1.8rem;
  border-radius: 2px;
}
.divider.center { margin: 1rem auto 1.8rem; }

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.4rem 0;
}

#navbar.scrolled {
  background: rgba(15,17,23,.96);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
  padding: .8rem 0;
  backdrop-filter: blur(10px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .04em;
}

.nav-logo-img { height: 80px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--off-white);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav {
  background: var(--accent);
  color: var(--gray-900) !important;
  padding: .55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--accent-dk) !important; color: var(--gray-900) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center top;
  filter: brightness(.28);
  transform: scale(1.04);
  transition: transform 8s ease;
}

#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,17,23,.85) 0%, rgba(200,169,110,.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(200,169,110,.15);
  border: 1px solid rgba(200,169,110,.3);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.4); }
}

.hero-title { margin-bottom: 1.4rem; }
.hero-title em { font-style: normal; color: var(--accent); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 540px;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   STATS BAR
   ========================================= */
#stats {
  background: var(--gray-800);
  padding: 3rem 0;
  border-top: 1px solid rgba(200,169,110,.15);
  border-bottom: 1px solid rgba(200,169,110,.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-item .stat-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

/* =========================================
   ABOUT
   ========================================= */
#about { background: var(--gray-900); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
  height: 500px;
}

.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 78%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 58%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 4px solid var(--gray-900);
}

.about-badge {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--gray-900);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200,169,110,.4);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 2rem;
}

.value-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--gray-800);
  border: 1px solid rgba(200,169,110,.2);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .88rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--off-white);
}

.value-chip::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =========================================
   MISSION
   ========================================= */
#mission {
  background: linear-gradient(160deg, var(--gray-800) 0%, var(--gray-700) 100%);
  position: relative;
  overflow: hidden;
}

#mission::before {
  content: 'MISSION';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: 12vw;
  font-weight: 900;
  color: rgba(200,169,110,.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-quote {
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  background: rgba(200,169,110,.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.8;
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color var(--transition), transform var(--transition);
}

.pillar:hover {
  border-color: rgba(200,169,110,.4);
  transform: translateX(4px);
}

.pillar-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(200,169,110,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

.pillar h4 { font-size: .95rem; margin-bottom: .2rem; color: var(--white); }
.pillar p  { font-size: .85rem; color: var(--muted); }

/* =========================================
   SERVICES
   ========================================= */
#services { background: var(--gray-900); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 2.2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,169,110,.3);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(200,169,110,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.5rem;
}

.service-card h3 { margin-bottom: .8rem; font-size: 1.2rem; }
.service-card p  { color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* =========================================
   CULTURE
   ========================================= */
#culture {
  background: linear-gradient(160deg, var(--gray-800) 0%, var(--gray-700) 100%);
}

.culture-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.culture-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1rem; }

.pack-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.pack-value {
  background: rgba(200,169,110,.08);
  border: 1px solid rgba(200,169,110,.2);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  text-align: center;
}

.pack-value .pv-word {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .2rem;
}

.pack-value .pv-desc {
  font-size: .78rem;
  color: var(--muted);
}

.culture-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.culture-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition), filter var(--transition);
  filter: brightness(.85);
}

.culture-gallery img:hover { transform: scale(1.03); filter: brightness(1); }
.culture-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
}

/* =========================================
   CAREERS
   ========================================= */
#careers { background: var(--gray-900); }

.careers-intro {
  max-width: 680px;
  margin-bottom: 3rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}

.job-card {
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,169,110,.35);
}

.job-type {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.job-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.job-card p  { color: var(--muted); font-size: .88rem; flex: 1; margin-bottom: 1.4rem; }

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.25);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 50px;
}

/* =========================================
   TRAINING
   ========================================= */
#training {
  background: linear-gradient(160deg, var(--gray-700) 0%, var(--gray-800) 100%);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.training-steps { display: flex; flex-direction: column; gap: 1.2rem; }

.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--gray-900);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h4 { font-size: .98rem; margin-bottom: .3rem; }
.step-body p  { font-size: .85rem; color: var(--muted); }

.training-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.training-image img {
  width: 100%; height: 420px;
  object-fit: cover;
  filter: brightness(.85);
}

.training-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,17,23,.6) 0%, transparent 50%);
}

/* =========================================
   PHOTO GALLERY
   ========================================= */
#gallery { background: var(--gray-900); padding-bottom: 4rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(.8);
}

.gallery-item:hover img { transform: scale(1.07); filter: brightness(1); }

.gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }

/* =========================================
   APPLY CTA BANNER
   ========================================= */
#apply-cta {
  background: linear-gradient(135deg, var(--accent-dk) 0%, var(--accent) 100%);
  padding: 4.5rem 0;
  text-align: center;
}

#apply-cta h2 { color: var(--gray-900); margin-bottom: .8rem; }
#apply-cta p  { color: rgba(15,17,23,.7); max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }

.btn-dark {
  background: var(--gray-900);
  color: var(--accent);
  border-color: var(--gray-900);
}
.btn-dark:hover {
  background: var(--gray-800);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: var(--gray-800);
  border-top: 1px solid rgba(200,169,110,.15);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { color: var(--muted); font-size: .88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p { font-size: .8rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); font-size: .8rem; }
.footer-bottom a:hover { color: var(--accent); }

.footer-legal { display: flex; gap: 1.5rem; }

.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200,169,110,.08);
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* =========================================
   APPLY PAGE
   ========================================= */
.page-hero {
  min-height: 38vh;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  padding-top: 7rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(200,169,110,.12) 0%, transparent 65%);
}

.page-hero-content { position: relative; z-index: 2; }

#apply-section { background: var(--gray-900); }

.apply-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: flex-start;
}

.apply-info h2 { margin-bottom: .8rem; }
.apply-info p  { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }

.apply-perks { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.5rem; }

.perk {
  display: flex;
  gap: .8rem;
  align-items: center;
  font-size: .88rem;
  color: var(--muted);
}
.perk::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(200,169,110,.15);
  border: 1px solid rgba(200,169,110,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
  line-height: 24px;
  text-align: center;
}

.form-card {
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--off-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray-700);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,169,110,.12);
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--gray-700); }

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit { width: 100%; padding: 1rem; font-size: 1rem; margin-top: .5rem; justify-content: center; }

/* Notification */
.notification {
  display: none;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
  color: #86efac;
  font-size: .92rem;
}

.notification.show { display: flex; }
.notification.error {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.3);
  color: #fca5a5;
}

.notif-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }

/* =========================================
   TERMS & PRIVACY PAGES
   ========================================= */
.legal-section { background: var(--gray-900); }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 3rem 3.5rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  color: var(--white);
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: .7rem;
}

.legal-content p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: .4rem;
}

.legal-content ul li strong { color: var(--off-white); }

.legal-updated {
  display: inline-block;
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.2);
  color: var(--accent);
  font-size: .8rem;
  font-family: var(--font-head);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about-grid,
  .mission-inner,
  .training-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-images { height: 340px; }
  .culture-layout { grid-template-columns: 1fr; }
  .culture-gallery { grid-template-rows: 180px 180px; }

  .apply-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,17,23,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    backdrop-filter: blur(10px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 1001; }

  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: max-content; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: span 1; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: .5rem; }

  .legal-content { padding: 2rem 1.5rem; }

  section { padding: 3.5rem 0; }
  .pack-values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .culture-gallery { grid-template-columns: 1fr; grid-template-rows: 200px 200px 200px; }
  .culture-gallery img:first-child { grid-row: span 1; height: 200px; }
}
