/* ── VARIABLES ── */
:root {
  --navy: #1B2A4A;
  --teal: #0A7E8C;
  --teal-light: #12A5B6;
  --accent: #F0A500;
  --off-white: #F5F7FA;
  --white: #ffffff;
  --text: #2C3E50;
  --muted: #6B7A8D;
  --border: #DDE3EC;
  --red: #C0392B;
}

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

body {
  font-family: 'Segoe UI', Calibri, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-logo span { color: var(--teal-light); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { font-weight: 600; border-bottom: 2px solid var(--teal-light); padding-bottom: 2px; }

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

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--navy);
  z-index: 190;
  padding: 16px 0 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-drawer.open { display: block; }
.nav-drawer ul { list-style: none; }
.nav-drawer ul li a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.nav-drawer ul li a:hover,
.nav-drawer ul li a.active {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--teal-light);
  color: var(--white);
}

/* ── PAGE HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D3B5E 55%, var(--teal) 100%);
  color: var(--white);
  padding: 88px 48px 72px;
  text-align: center;
}
.hero .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 18px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
}

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D3B5E 100%);
  color: var(--white);
  padding: 52px 48px 44px;
}
.page-hero .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  max-width: 560px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); }

/* ── STATS BAND ── */
.stats-band {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .num {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.stat .label {
  font-size: 0.775rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── SECTION LAYOUT ── */
.section { padding: 64px 48px; }
.section-alt { background: var(--off-white); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  font-size: 0.9375rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.card-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.card h3 { font-size: 0.975rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

/* ── EQUIPMENT CARD ── */
.eq-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.2s;
}
.eq-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.eq-card-header {
  background: linear-gradient(135deg, var(--navy), #0D3B5E);
  color: var(--white);
  padding: 16px 18px;
}
.eq-card-header .tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 3px 7px;
  margin-bottom: 7px;
}
.eq-card-header h3 { font-size: 0.9375rem; font-weight: 600; }
.eq-card-body { padding: 16px 18px; }
.eq-card-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.badge {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 11px;
  font-size: 0.775rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin-bottom: 14px; }

.mission-block {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}
.mission-block::before {
  content: '"';
  position: absolute;
  top: -24px; left: 16px;
  font-size: 9rem;
  color: rgba(255,255,255,0.05);
  font-family: Georgia, serif;
  line-height: 1;
}
.mission-block .m-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.mission-block blockquote {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

/* ── FIRE SECTION ── */
.fire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.fire-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 20px;
}
.fire-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem;
}
.fire-list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.fire-highlight {
  background: linear-gradient(135deg, #C0392B, #96281B);
  color: var(--white);
  border-radius: 8px;
  padding: 30px;
}
.fire-highlight h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 12px; }
.fire-highlight p { font-size: 0.875rem; opacity: 0.9; margin-bottom: 8px; }

/* ── PROJECT TABLE ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead tr { background: var(--navy); color: var(--white); }
th { padding: 13px 16px; text-align: left; font-weight: 600; white-space: nowrap; }
td { padding: 12px 16px; vertical-align: top; }
tbody tr:nth-child(odd) { background: var(--white); }
tbody tr:nth-child(even) { background: var(--off-white); }
tbody tr { border-bottom: 1px solid var(--border); }
.year-cell { white-space: nowrap; font-weight: 600; color: var(--navy); }
.year-cell.ongoing { color: var(--teal); }
.contractor-cell { color: var(--muted); }

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.process-step h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.process-step p { font-size: 0.8rem; color: var(--muted); }

/* ── ORG CHART ── */
.org-wrap { text-align: center; }
.org-md {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 13px 30px;
  border-radius: 6px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.org-line {
  width: 2px; height: 26px;
  background: var(--border);
  margin: 0 auto 20px;
}
.org-depts {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
}
.org-dept {
  background: var(--white);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 13px; }
.c-icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.95rem;
}
.c-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal-light); margin-bottom: 2px; }
.c-val { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.services-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.services-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.875rem; color: rgba(255,255,255,0.8);
}
.services-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ── FOOTER ── */
footer {
  background: #0D1A2E;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.775rem;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; margin: 0 6px; }
footer a:hover { color: rgba(255,255,255,0.8); }

/* ── HERO BUTTONS ── */
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero, .page-hero { padding: 52px 24px 40px; }
  .section { padding: 48px 20px; }

  .about-grid,
  .fire-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }

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

  .fire-list { grid-template-columns: 1fr; }

  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  .page-hero { padding: 40px 24px 32px; }
}

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .hero { padding: 48px 16px 36px; }
  .section { padding: 40px 16px; }
  .page-hero { padding: 36px 16px 28px; }

  .process-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

  .contact-grid { gap: 32px; }

  table { font-size: 0.8rem; }
  th, td { padding: 10px 12px; }
}
