/* ═══════════════════════════════════════════
   VLAD SECURITY SERVICES — Global Styles
   Color scheme: Charcoal / Red / Silver
   ═══════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #0e0e12;
  --dark-light: #16161d;
  --dark-mid: #1e1e28;
  --dark-card: #1a1a22;
  --red: #c41e2a;
  --red-light: #e0333f;
  --red-dark: #9a1820;
  --silver: #a8adb5;
  --silver-light: #cdd1d6;
  --silver-dark: #6b7280;
  --white: #edeef0;
  --white-pure: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SUBTLE GRID OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,30,42,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,30,42,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ─── KEYFRAMES ─── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ═══════ HEADER ═══════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: var(--white-pure);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header.scrolled {
  background: var(--white-pure);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.5rem 3rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.12);
}
/* Force opaque header on inner pages */
.header.header-solid {
  background: var(--white-pure);
  backdrop-filter: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img {
  height: 70px; width: auto;
  transition: all 0.3s;
}
.header.scrolled .logo img { height: 55px; }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav a:hover, .nav a.active { color: var(--red); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown > a .dropdown-arrow {
  width: 10px; height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s;
}
.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white-pure);
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 2px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s ease;
  padding: 0.5rem 0;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 1.4rem !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  color: var(--dark) !important;
  transition: all 0.2s !important;
  white-space: nowrap;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.dropdown-menu a:hover {
  background: rgba(196,30,42,0.04) !important;
  color: var(--red) !important;
}
.dropdown-menu a:hover::before {
  opacity: 1;
}
.dropdown-menu .dropdown-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 0.3rem 1.2rem;
}

.nav-cta {
  background: var(--red) !important;
  border: 1px solid var(--red) !important;
  color: var(--white-pure) !important;
  padding: 0.6rem 1.5rem !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s !important;
  font-family: var(--sans);
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
  color: var(--white-pure) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}
.menu-toggle span {
  width: 28px; height: 2px;
  background: var(--red);
  transition: all 0.3s;
  display: block;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════ BUTTONS ═══════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--red);
  color: var(--white-pure);
  padding: 1rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,30,42,0.35);
}
.btn-primary:hover::before { left: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ═══════ LAYOUT ═══════ */
section { position: relative; z-index: 1; }
.section-dark { background: var(--dark); }
.section-alt { background: var(--dark-light); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--red);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white-pure);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-title em { font-style: normal; color: var(--red); }

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider backgrounds */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,14,18,0.92) 0%, rgba(14,14,18,0.65) 50%, rgba(14,14,18,0.85) 100%);
}

/* Slider content */
.hero-slider-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  max-width: 850px;
}
.hero-slide-text {
  display: none;
  opacity: 0;
}
.hero-slide-text.active {
  display: block;
  animation: slideTextIn 0.8s ease forwards;
}
.hero-slide-text.exiting {
  display: block;
  animation: slideTextOut 0.5s ease forwards;
}
@keyframes slideTextIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideTextOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(196,30,42,0.5);
  padding: 0.5rem 1.2rem;
  margin-bottom: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white-pure);
  margin-bottom: 0.5rem;
}
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--silver-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Slider dots */
.hero-slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.8rem;
}
.slider-dot {
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.slider-dot:hover {
  border-color: var(--white-pure);
}
.slider-dot.active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.15);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.slider-prev { left: 2rem; }
.slider-next { right: 2rem; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 3rem; right: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  animation: fadeIn 1.5s 1.5s both;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dark);
  writing-mode: vertical-lr;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: var(--red);
  animation: scrollPulse 2s infinite;
}

/* ═══════ PAGE HERO (inner pages) ═══════ */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--dark-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,30,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { justify-content: flex-start; }
.page-hero .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.7;
  max-width: 600px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}
.breadcrumb a {
  color: var(--silver-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--silver-dark); }
.breadcrumb .current { color: var(--red); }

/* ═══════ ABOUT ═══════ */
.about { padding: 7rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%; height: 500px;
  object-fit: cover; display: block;
}
.about-image::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: 15px; bottom: 15px;
  border: 1px solid var(--red);
  z-index: -1;
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 80px; height: 80px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 1.5rem;
}
.about-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--white);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(196,30,42,0.2);
}
.stat-item h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-item p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dark);
  margin-top: 0.4rem;
  margin-bottom: 0 !important;
}

/* ═══════ STATS BANNER ═══════ */
.stats-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--dark-mid), var(--dark-light));
  border-top: 1px solid rgba(196,30,42,0.1);
  border-bottom: 1px solid rgba(196,30,42,0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-grid .stat-box { position: relative; padding: 1.5rem; }
.stats-grid .stat-box::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%; width: 1px;
  background: rgba(196,30,42,0.2);
}
.stats-grid .stat-box:last-child::after { display: none; }
.stat-box h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-box p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dark);
  font-weight: 400;
}

/* ═══════ VISION / MISSION / VALUES ═══════ */
.vmv { padding: 7rem 0; }
.vmv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.vmv-card {
  padding: 3rem;
  border: 1px solid rgba(196,30,42,0.15);
  position: relative;
  background: rgba(22,22,29,0.6);
}
.vmv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--red);
}
.vmv-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.vmv-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--silver);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(196,30,42,0.1);
  transition: all 0.4s;
  position: relative;
  background: rgba(14,14,18,0.5);
}
.value-item:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.value-icon {
  width: 50px; height: 50px;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}
.value-icon svg {
  width: 22px; height: 22px;
  stroke: var(--red);
  fill: none;
  transform: rotate(-45deg);
  stroke-width: 1.5;
}
.value-item h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 0.8rem;
}
.value-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--silver-dark);
}

/* ═══════ SERVICES ═══════ */
.services { padding: 7rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(196,30,42,0.08);
  transition: all 0.4s;
  background: var(--dark);
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, var(--dark), transparent);
}
.service-card-body { padding: 1.5rem; }
.service-card-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 0.7rem;
  transition: color 0.3s;
}
.service-card:hover .service-card-body h3 { color: var(--red); }
.service-card-body p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--silver-dark);
}
.service-card-number {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.6;
  z-index: 2;
}

/* Service detail (services page) */
.service-detail {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(196,30,42,0.08);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail-grid > * {
  direction: ltr;
}
.service-detail-img { position: relative; }
.service-detail-img img {
  width: 100%; height: 380px;
  object-fit: cover; display: block;
}
.service-detail-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,30,42,0.15);
  transform: translate(10px, 10px);
  pointer-events: none;
}
.service-detail-content h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 1rem;
}
.service-detail-content .service-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.service-detail-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 1rem;
}
.service-detail-content ul {
  list-style: none;
  margin-top: 1.5rem;
}
.service-detail-content ul li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--silver-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.service-detail-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

/* ═══════ TECHNICAL ═══════ */
.technical { padding: 7rem 0; }
.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.technical-image { position: relative; }
.technical-image img {
  width: 100%; height: 450px;
  object-fit: cover;
}
.technical-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,30,42,0.2);
  transform: translate(12px, 12px);
}
.tech-list { list-style: none; margin: 2rem 0; }
.tech-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(196,30,42,0.08);
  font-size: 0.95rem;
  color: var(--silver-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tech-list li::before {
  content: '';
  width: 8px; height: 8px;
  border: 1px solid var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.tech-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(196,30,42,0.04);
  border: 1px solid rgba(196,30,42,0.1);
}
.tech-feature svg {
  width: 20px; height: 20px;
  stroke: var(--red);
  fill: none;
  flex-shrink: 0;
  stroke-width: 1.5;
}
.tech-feature span {
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 500;
}

/* ═══════ CERTIFICATIONS ═══════ */
.certs { padding: 5rem 0; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.cert-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(196,30,42,0.12);
  background: rgba(22,22,29,0.4);
  transition: all 0.4s;
}
.cert-card:hover {
  border-color: var(--red);
  background: rgba(196,30,42,0.03);
}
.cert-badge {
  width: 70px; height: 70px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cert-badge::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(196,30,42,0.3);
  border-radius: 50%;
}
.cert-badge svg {
  width: 28px; height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}
.cert-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.cert-card h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 500;
}
.cert-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--silver-dark);
}

/* ═══════ CONTACT ═══════ */
.contact { padding: 7rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-info-list { list-style: none; margin-top: 2rem; }
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(196,30,42,0.08);
}
.contact-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px; height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}
.contact-info-list h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-info-list p, .contact-info-list a {
  font-size: 0.95rem;
  color: var(--silver-light);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info-list a:hover { color: var(--red); }

.contact-form {
  background: rgba(22,22,29,0.6);
  border: 1px solid rgba(196,30,42,0.12);
  padding: 3rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(14,14,18,0.6);
  border: 1px solid rgba(196,30,42,0.15);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--silver-dark); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-submit { width: 100%; margin-top: 0.5rem; }

.map-placeholder {
  margin-top: 2rem;
  height: 180px;
  background: var(--dark-mid);
  border: 1px solid rgba(196,30,42,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,30,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,30,42,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-placeholder svg {
  width: 30px; height: 30px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  position: relative;
}
.map-placeholder span {
  position: relative;
  margin-left: 0.8rem;
  font-size: 0.8rem;
  color: var(--silver-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════ CTA BANNER ═══════ */
.cta-banner {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--dark-mid), var(--dark));
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,30,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner h2 em { font-style: normal; color: var(--red); }
.cta-banner p {
  font-size: 1rem;
  color: var(--silver);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
}
.cta-banner .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

/* ═══════ FOOTER ═══════ */
.footer {
  padding: 4rem 0 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: var(--white-pure);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo {
  display: inline-flex;
}
.footer-brand .logo img {
  height: 40px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--silver-dark);
  margin-top: 1.2rem;
  max-width: 300px;
}
.footer h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 25px; height: 2px;
  background: var(--red);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  color: var(--silver-dark);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a::before {
  content: '';
  width: 4px; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.footer-links a:hover { color: var(--red); }
.footer-links a:hover::before { width: 12px; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  color: var(--silver-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact-item a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--silver-dark);
}
.footer-bottom p a {
  color: var(--red);
  text-decoration: none;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }
}
@media (max-width: 768px) {
  .header { padding: 1rem 1.5rem; }
  .header.scrolled { padding: 0.8rem 1.5rem; }
  .nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .nav.active { display: flex; }
  .nav a { font-size: 1rem; color: var(--dark); }
  .nav-dropdown { text-align: center; }
  .nav-dropdown > a { justify-content: center; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: transparent;
    min-width: auto;
    padding: 0.5rem 0 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a {
    justify-content: center;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    color: var(--silver-dark) !important;
  }
  .dropdown-menu a:hover { color: var(--red) !important; background: transparent !important; }
  .dropdown-menu .dropdown-divider { display: none; }
  .menu-toggle { display: flex; }
  .hero-content { padding: 0 2rem; }
  .hero-line, .hero-scroll { display: none; }
  .slider-arrow { display: none; }
  .hero-slider-content { padding: 0 2rem; }
  .about-grid, .vmv-top, .technical-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image::before { display: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat-item h3 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stats-grid .stat-box:nth-child(2)::after { display: none; }
  .certs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .container { padding: 0 1.5rem; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr; text-align: center; }
  .tech-features { grid-template-columns: 1fr; }
}
/* ═══════ CAREERS ═══════ */
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.vacancy-card {
  background: rgba(22, 22, 29, 0.65);
  border: 1px solid rgba(196, 30, 42, 0.15);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.vacancy-card:hover { transform: translateY(-4px); border-color: var(--red); }
.vacancy-card-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1rem;
}
.vacancy-dept { color: var(--red); }
.vacancy-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--white-pure);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 1rem;
}
.vacancy-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.vacancy-card p {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.vacancy-card .btn-primary { align-self: flex-start; }
.vacancy-empty {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px dashed rgba(196, 30, 42, 0.2);
  margin-top: 2rem;
}
.vacancy-empty h3 { font-family: var(--serif); color: var(--white-pure); margin-bottom: 0.75rem; font-size: 1.6rem; }
.vacancy-empty p { color: var(--silver); }
.vacancy-empty a { color: var(--red); }

.vacancy-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}
.vacancy-detail-body h3 {
  font-family: var(--serif);
  color: var(--white-pure);
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}
.vacancy-prose {
  color: var(--silver);
  line-height: 1.8;
  font-size: 1rem;
}
.vacancy-apply {
  background: rgba(22, 22, 29, 0.7);
  border: 1px solid rgba(196, 30, 42, 0.18);
  padding: 2rem;
  position: sticky;
  top: 100px;
  align-self: start;
}
.vacancy-apply h3 {
  font-family: var(--serif);
  color: var(--white-pure);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.apply-form label,
.admin-form label {
  display: block;
  margin-bottom: 1rem;
  color: var(--silver-light);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.apply-form input,
.apply-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.9rem;
  margin-top: 0.4rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-pure);
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
}
.apply-form input:focus,
.apply-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.apply-form button { margin-top: 0.5rem; }
.form-errors {
  background: rgba(196,30,42,0.1);
  border: 1px solid rgba(196,30,42,0.4);
  padding: 0.85rem 1rem;
  color: #ffb3b3;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.form-errors ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 768px) {
  .vacancy-detail-grid { grid-template-columns: 1fr; }
  .vacancy-apply { position: static; }
}

/* ═══════ ADMIN ═══════ */
.admin-body {
  background: #0f0f14;
  color: var(--silver-light);
  font-family: var(--sans);
  min-height: 100vh;
}
.admin-bar {
  background: #16161d;
  border-bottom: 1px solid rgba(196,30,42,0.2);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 2rem;
}
.admin-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white-pure);
  text-decoration: none;
}
.admin-brand span { color: var(--red); font-style: italic; }
.admin-nav { display: flex; gap: 1.5rem; }
.admin-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.admin-nav a:hover { color: var(--red); }
.admin-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--silver);
}
.admin-logout {
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-main { padding: 2.5rem 0; }
.admin-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.admin-container h1 {
  font-family: var(--serif);
  color: var(--white-pure);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.admin-subtitle { color: var(--silver); margin-bottom: 2rem; }
.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.admin-stat {
  background: #16161d;
  border-left: 3px solid var(--red);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.admin-stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--white-pure);
  line-height: 1;
}
.admin-stat-label {
  margin-top: 0.5rem;
  color: var(--silver);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-quick-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.admin-table-wrap {
  background: #16161d;
  border: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table thead { background: #1c1c25; }
.admin-table th {
  text-align: left;
  padding: 1rem;
  color: var(--silver);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--silver-light);
  vertical-align: middle;
}
.admin-table tr:hover { background: rgba(255,255,255,0.02); }
.admin-table small { color: var(--silver); font-size: 0.78rem; }
.admin-actions { display: flex; gap: 0.75rem; align-items: center; }
.admin-actions a, .admin-actions .link-btn {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.85rem;
}
.admin-actions a:hover, .admin-actions .link-btn:hover { color: var(--red); }
.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.link-btn-danger { color: #e57373; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
}
.badge-open, .badge-status-shortlisted { color: #6dd58c; border-color: #6dd58c; }
.badge-closed, .badge-status-rejected { color: #e57373; border-color: #e57373; }
.badge-status-new { color: #6db4d5; border-color: #6db4d5; }
.badge-status-reviewed { color: #d5b86d; border-color: #d5b86d; }
.admin-form { max-width: 900px; }
.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-filter select { padding: 0.5rem 0.75rem; background: #16161d; border: 1px solid rgba(255,255,255,0.1); color: var(--silver-light); }
.application-detail .application-meta {
  background: #16161d;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--red);
  margin-bottom: 1.5rem;
}
.application-detail .application-meta p { margin: 0.4rem 0; color: var(--silver-light); }
.application-detail h3 { font-family: var(--serif); color: var(--white-pure); margin: 1.5rem 0 0.75rem; }

.admin-login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #0a0a10;
}
.admin-login-card {
  background: #16161d;
  border: 1px solid rgba(196,30,42,0.2);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  border-top: 3px solid var(--red);
}
.admin-login-card h1 {
  font-family: var(--serif);
  color: var(--white-pure);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.admin-login-card h1 em { color: var(--red); font-style: italic; }
.admin-login-card > p { color: var(--silver); margin-bottom: 1.5rem; font-size: 0.9rem; }
.admin-login-card form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--silver);
  margin-bottom: 1rem;
}
.admin-login-card form input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-pure);
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.admin-login-card button { width: 100%; margin-top: 0.5rem; }
.admin-login-back { margin-top: 1.5rem; text-align: center; font-size: 0.85rem; }
.admin-login-back a { color: var(--silver); text-decoration: none; }

@media (max-width: 768px) {
  .admin-bar-inner { flex-wrap: wrap; gap: 1rem; padding: 1rem; }
  .admin-nav { order: 3; width: 100%; justify-content: center; }
  .admin-form .form-row { grid-template-columns: 1fr; }
  .admin-container { padding: 0 1rem; }
}
