/* ===== GOOGLE FONTS — must be first ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@700;800;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0c0f;
  --bg2: #111318;
  --bg3: #181b22;
  --card: #1c2029;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --gold: #f0a500;
  --gold-dim: rgba(240,165,0,0.12);
  --gold-dark: #c98800;
  --white: #ffffff;
  --gray: #6b7280;
  --light: #b0b6c3;
  --font-display: 'Barlow Condensed', 'Arial Black', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,12,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border-strong);
  background: var(--bg3);
}

.nav-brand-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}

.nav-brand-text span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
}

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

.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--light);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: #000 !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; color: #000 !important; }

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--white);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 6rem 3rem 10rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,12,15,0.97) 38%, rgba(11,12,15,0.55) 75%, rgba(11,12,15,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.8rem 0.3rem 0.5rem;
  border: 1px solid rgba(240,165,0,0.3);
  border-radius: 100px;
  background: rgba(240,165,0,0.07);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--gold); display: block; }

.hero-sub {
  font-size: 1rem;
  color: var(--light);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  border-top: 1px solid var(--border);
  background: rgba(11,12,15,0.75);
  backdrop-filter: blur(10px);
}

.hero-stat {
  flex: 1;
  padding: 1.4rem 2rem;
  border-right: 1px solid var(--border);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
section { padding: 5rem 3rem; }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--light);
  max-width: 500px;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== DIVISIONS GRID ===== */
.divisions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.division-card {
  position: relative;
  background: var(--card);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.division-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.4s, transform 0.5s;
}

.division-card:hover img { opacity: 0.7; transform: scale(1.04); }

.division-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,12,15,0.98) 35%, rgba(11,12,15,0.15) 100%);
  transition: opacity 0.3s;
}

.division-card:hover .division-card-overlay {
  background: linear-gradient(to top, rgba(11,12,15,0.98) 50%, rgba(11,12,15,0.25) 100%);
}

.division-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(11,12,15,0.75);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.division-card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  transition: transform 0.3s;
}

.division-card:hover .division-card-body { transform: translateY(-4px); }

.division-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.division-card-body p {
  font-size: 0.83rem;
  color: var(--light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap 0.2s;
  letter-spacing: 0.04em;
}

.learn-more:hover { gap: 0.7rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light);
  font-size: 0.85rem;
}

.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,165,0,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-item strong { display: block; color: var(--white); font-size: 0.88rem; }

/* ===== CONTACT INFO BAR ===== */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-bar-item {
  background: var(--bg2);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-bar-item .icon {
  font-size: 1.2rem;
  color: var(--gold);
}

.contact-bar-item strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-bar-item span {
  font-size: 0.88rem;
  color: var(--light);
}

/* ===== CONTACT FORM ===== */
.contact-section { background: var(--bg); }

.contact-form-wrap {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--white);
  padding: 0.78rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--bg2); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 5rem 3rem;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cta-section p { color: var(--light); margin-bottom: 2.5rem; font-size: 0.95rem; }

.cta-emails {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.email-pill:hover { transform: translateY(-1px); }
.email-pill.primary { background: var(--gold); color: #000; }
.email-pill.primary:hover { background: var(--gold-dark); }
.email-pill.outline { border: 1px solid var(--border-strong); color: var(--light); }
.email-pill.outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* ===== FOOTER ===== */
footer {
  background: #080909;
  border-top: 1px solid var(--border);
  padding: 4rem 3rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--bg3);
}

.footer-logo strong {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray);
}

/* ===== DIVISION PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 3rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,12,15,0.98) 20%, rgba(11,12,15,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1rem;
  color: var(--light);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== CAPABILITIES ===== */
.capabilities-section { padding: 5rem 3rem; }

.capabilities-header {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.capabilities-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  flex-shrink: 0;
}

.capabilities-header p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cap-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--light);
  transition: border-color 0.2s, background 0.2s;
}

.cap-item:hover {
  border-color: rgba(240,165,0,0.3);
  background: rgba(240,165,0,0.04);
}

.cap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===== GALLERY ===== */
.gallery-section { padding: 2rem 3rem 5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: opacity 0.25s, transform 0.3s;
  background: var(--bg3);
}

.gallery-grid img:hover { opacity: 0.85; transform: scale(1.01); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 1rem 3rem;
  font-size: 0.78rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: var(--bg2);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb span { color: var(--gold); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(240,165,0,0.35);
}

.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .divisions-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .trust-bar { flex-wrap: wrap; gap: 1.5rem; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 40%; }
  .capabilities-header { gap: 2rem; }
}

@media (max-width: 640px) {
  .nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(11,12,15,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    backdrop-filter: blur(16px);
  }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  section { padding: 3rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 10rem; min-height: auto; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .divisions-grid { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-section { padding: 1.5rem 1.25rem 3rem; }
  .divisions-header { flex-direction: column; }
  .capabilities-header { flex-direction: column; gap: 1rem; }
  .hero-stats { display: none; }
  .breadcrumb { padding: 0.75rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .trust-bar { padding: 2rem 1.25rem; }
  .cta-section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 3rem 1.25rem; }
  .capabilities-section { padding: 3rem 1.25rem; }
}
