:root {
  --bg-dark: #141414;
  --bg-darker: #0a0a0a;
  --bg-card: #1c1c1c;
  --bg-card-hover: #242424;
  --accent: #cc0000;
  --accent-bright: #ff1a1a;
  --accent-glow: rgba(204, 0, 0, 0.3);
  --accent-glow-strong: rgba(204, 0, 0, 0.6);
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-dim: #666;
  --border: #2a2a2a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --max-w: 1100px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-darker);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-bright); }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

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

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s, left 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 8vh 5vw;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, transparent 100%),
    url('images/hero-bg.png') center/cover no-repeat;
  background-color: #1a1e24;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section-alt {
  background: var(--bg-dark);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-heading-center {
  text-align: center;
}

.section-heading-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--text);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.highlight-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.15);
}

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.highlight-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CAPABILITIES
   ═══════════════════════════════════════ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.capability-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(204, 0, 0, 0.1);
}

.capability-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.capability-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 1.2rem;
  color: var(--text);
}

.capability-card li {
  color: var(--text-muted);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.92rem;
}

.capability-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ═══════════════════════════════════════
   CONTACT / FOOTER
   ═══════════════════════════════════════ */
footer {
  background: var(--bg-darker);
  padding: 6rem 1.5rem 2rem;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: -1rem 0 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.1);
}

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.contact-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.contact-card span,
.contact-card a {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.copyright {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-radius: 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-highlights {
    flex-direction: row;
    gap: 1rem;
  }

  .highlight-item {
    flex: 1;
  }

  .highlight-number {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  footer {
    padding: 4rem 1.25rem 2rem;
  }

  .hero {
    padding: 0 0 6vh 1.25rem;
    align-items: flex-end;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 0 0 5vh 1rem;
  }

  .logo img {
    width: 180px;
  }

  .about-highlights {
    flex-direction: column;
  }

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