/* ════════════════════════════════════════════════════════════
   MULTEQ ENGINEERING — style.css
   ════════════════════════════════════════════════════════════

   COLOUR TOKENS — change once, applies everywhere
   ──────────────────────────────────────────────── */
:root {
  --teal-dark:   #1a4a4a;
  --teal-mid:    #2a6b6a;
  --teal-light:  #3d8b8a;
  --teal-pale:   #e6f4f4;
  --gold:        #b8962e;
  --gold-light:  #d4b060;
  --gold-pale:   #f5edda;
  --charcoal:    #1e2a2a;
  --off-white:   #f7f4ef;
  --white:       #ffffff;

  /* FONT SIZES — adjust globally here */
  --fs-hero:     clamp(56px, 8vw, 100px);
  --fs-page-hero: clamp(36px, 5vw, 64px);
  --fs-section:  clamp(36px, 4vw, 56px);
  --fs-body:     16px;
  --fs-small:    13px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--off-white); color: var(--charcoal); overflow-x: hidden; }

/* ── TYPOGRAPHY UTILITIES ── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::after { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: var(--fs-section); line-height: 1;
  color: var(--teal-dark); letter-spacing: 1px; margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  background: var(--gold); color: var(--charcoal);
  border: none; padding: 14px 36px; cursor: pointer;
  transition: background 0.2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.35); padding: 14px 36px;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); }

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   To add a menu item: edit nav.js → NAV_CONFIG
   ════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,74,74,0.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 72px;
  border-bottom: 1px solid rgba(184,150,46,0.3);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(13,30,30,0.98); }
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.75); text-decoration: none;
  padding: 0 1.25rem; height: 72px; display: flex; align-items: center;
  cursor: pointer; transition: color 0.2s; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-item > a:hover, .nav-item > span:hover,
.nav-item.has-dropdown > span:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-item > a.active { color: var(--gold-light); border-bottom-color: var(--gold); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: rgba(13,30,30,0.98); border-top: 2px solid var(--gold);
  min-width: 220px; padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.75rem 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: all 0.15s; border-left: 2px solid transparent;
}
.dropdown a:hover { color: var(--gold-light); border-left-color: var(--gold); background: rgba(255,255,255,0.04); }
.dropdown-arrow { font-size: 9px; margin-left: 5px; opacity: 0.6; }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold-light); padding: 8px 22px; cursor: pointer; transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--charcoal); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  background: #0d1e1e; padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(184,150,46,0.2);
}
.footer-logo img { height: 38px; width: auto; }
.footer-tagline { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 6px; }
.footer-right { text-align: right; font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }
.footer-right div { margin-top: 4px; }

/* ════════════════════════════════════════════════════════════
   HERO — homepage
   ════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url("assets/hex-bg.png"); background-size: cover; background-position: center left; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,30,30,0.93) 0%, rgba(13,30,30,0.82) 55%, rgba(13,30,30,0.45) 100%); }
.hero-gold-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); }
.hero-content { position: relative; z-index: 2; padding: 0 4rem; max-width: 820px; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-logo { margin-bottom: 2.5rem; }
.hero-logo img { height: 80px; width: auto; }
.hero-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: var(--fs-hero); line-height: 0.95; color: var(--white); letter-spacing: 2px; margin-bottom: 1.5rem; }
.hero-title .accent { color: var(--gold-light); }
.hero-sub { font-size: 17px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.65); max-width: 560px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-pill { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(184,150,46,0.45); color: rgba(212,176,96,0.85); padding: 5px 14px; }
.hero-stats { position: absolute; right: 4rem; bottom: 4rem; z-index: 2; display: flex; flex-direction: column; gap: 2rem; animation: fadeUp 0.9s 0.3s ease both; }
.stat { text-align: right; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 44px; line-height: 1; color: var(--gold-light); }
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.stat-divider { width: 100%; height: 1px; background: rgba(184,150,46,0.2); }

/* ════════════════════════════════════════════════════════════
   PAGE HERO — inner pages
   ════════════════════════════════════════════════════════════ */
.page-hero { position: relative; height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-image: url("assets/hex-bg.png"); background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,30,30,0.92) 0%, rgba(13,30,30,0.7) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 4rem 3.5rem; }
.page-hero-title { font-family: 'Bebas Neue', sans-serif; font-size: var(--fs-page-hero); line-height: 1; color: var(--white); letter-spacing: 2px; margin-top: 0.5rem; }

/* ════════════════════════════════════════════════════════════
   SECTION WRAPPERS — background variants
   ════════════════════════════════════════════════════════════ */
.content-section { padding: 5rem 4rem; }
.bg-white   { background: var(--white); }
.bg-dark    { background: var(--charcoal); }
.bg-teal    { background: var(--teal-dark); }
.bg-off     { background: var(--off-white); }
.bg-gold-pale { background: var(--gold-pale); border-top: 3px solid var(--gold); }
.content-inner { max-width: 1200px; margin: 0 auto; }
.content-inner p { font-size: var(--fs-body); line-height: 1.8; font-weight: 300; color: #3a4a4a; margin-top: 1.25rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
.about { background: var(--white); padding: 6rem 4rem; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-left p { font-size: 16px; line-height: 1.8; font-weight: 300; color: #3a4a4a; margin-top: 1.25rem; }
.about-emblem { display: flex; justify-content: center; }
.about-emblem img { width: 300px; max-width: 100%; }

/* ════════════════════════════════════════════════════════════
   SERVICES GRID
   ════════════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(184,150,46,0.18); }
.service-card { background: var(--charcoal); padding: 2.5rem 2rem; position: relative; transition: background 0.3s; }
.service-card:hover { background: #1a2e2e; }
.service-num { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; color: rgba(184,150,46,0.09); position: absolute; top: 1rem; right: 1.5rem; }
.service-icon { width: 44px; height: 44px; border: 1px solid rgba(184,150,46,0.4); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.service-card p { font-size: 14px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,0.52); }
.service-tag { display: inline-block; margin-top: 1.25rem; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(184,150,46,0.35); padding-bottom: 2px; }

/* ════════════════════════════════════════════════════════════
   DISCIPLINE PAGES
   ════════════════════════════════════════════════════════════ */
.step-list { margin-top: 2rem; }
.step-item { display: flex; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid rgba(42,107,106,0.15); align-items: flex-start; }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 30px; line-height: 1; color: var(--gold); min-width: 32px; }
.step-body h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 2px; }
.step-body p { font-size: 13px; line-height: 1.6; font-weight: 300; color: #4a6060; margin-top: 0 !important; }
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(184,150,46,0.15); }
.disc-card { background: var(--charcoal); padding: 2rem 1.75rem; transition: background 0.3s; }
.disc-card:hover { background: #1a2e2e; }
.disc-icon { font-size: 26px; margin-bottom: 1rem; }
.disc-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.disc-card p { font-size: 13px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,0.5); margin-top: 0 !important; }
.fire-tag { display: inline-block; margin-top: 1rem; font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(184,150,46,0.35); padding-bottom: 2px; }

/* ════════════════════════════════════════════════════════════
   CARD GRIDS (About values, etc.)
   ════════════════════════════════════════════════════════════ */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.value-card { background: rgba(255,255,255,0.04); border-left: 3px solid var(--gold); padding: 1.25rem 1.5rem; }
.value-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; }
.value-card p { font-size: 13px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,0.5); margin-top: 0 !important; }

/* ════════════════════════════════════════════════════════════
   INDUSTRIES
   ════════════════════════════════════════════════════════════ */
.industries { background: var(--teal-dark); padding: 6rem 4rem; }
.industries-header { max-width: 1200px; margin: 0 auto; }
.industries-header .section-label { color: var(--gold-light); }
.industries-header .section-title { color: var(--white); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 3rem auto 0; }
.industry-item { border: 1px solid rgba(184,150,46,0.2); padding: 2rem 1.5rem; transition: border-color 0.2s, background 0.2s; }
.industry-item:hover { border-color: rgba(184,150,46,0.6); background: rgba(255,255,255,0.03); }
.industry-icon { font-size: 26px; margin-bottom: 1rem; }
.industry-item h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.industry-item p { font-size: 13px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,0.45); }

/* ════════════════════════════════════════════════════════════
   CTA / CONTACT TEASER
   ════════════════════════════════════════════════════════════ */
.cta-section { background: var(--gold-pale); border-top: 3px solid var(--gold); text-align: center; padding: 5rem 4rem; }
.cta-section .section-label { justify-content: center; }
.cta-section .section-label::after { display: none; }
.cta-section .section-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.cta-section .section-title { color: var(--teal-dark); }
.cta-section > p { font-size: 16px; font-weight: 300; color: #4a6060; max-width: 500px; margin: 1rem auto 2rem; }

/* ════════════════════════════════════════════════════════════
   CONTACT FORM & DETAILS
   ════════════════════════════════════════════════════════════ */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea { font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 300; background: var(--white); border: 1px solid rgba(42,107,106,0.25); padding: 12px 16px; color: var(--charcoal); width: 100%; outline: none; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal-mid); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.contact-detail-item span, .contact-detail-item a { font-size: 15px; font-weight: 300; color: var(--charcoal); text-decoration: none; }
.contact-detail-item a:hover { color: var(--teal-mid); }

/* ════════════════════════════════════════════════════════════
   HAMBURGER BUTTON
   ════════════════════════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 1px solid rgba(184,150,46,0.4);
  cursor: pointer; transition: border-color 0.2s;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: rgba(255,255,255,0.8);
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger:hover span { background: var(--gold-light); }

/* Animated X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   MOBILE DRAWER
   ════════════════════════════════════════════════════════════ */
.mobile-drawer {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  z-index: 99; overflow-y: auto;
  background: rgba(13,30,30,0.98);
  backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-top: 1px solid rgba(184,150,46,0.25);
}
.mobile-drawer.open { transform: translateX(0); }

/* Prevent background scroll when drawer is open */
body.nav-open { overflow: hidden; }

.mobile-drawer-inner {
  display: flex; flex-direction: column;
  padding: 1.5rem 1.75rem 3rem;
  gap: 0;
}

/* Plain links */
.mobile-nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.75);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--gold-light); }

/* Accordion parent button */
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-parent {
  width: 100%; background: none; border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer; transition: color 0.2s;
}
.mobile-nav-parent:hover { color: var(--gold-light); }
.mobile-arrow {
  font-size: 11px; opacity: 0.6;
  transition: transform 0.3s;
  display: inline-block;
}
.mobile-nav-parent[aria-expanded="true"] .mobile-arrow { transform: rotate(180deg); }
.mobile-nav-parent[aria-expanded="true"] { color: var(--gold-light); }

/* Accordion sub-links */
.mobile-sub-links {
  overflow: hidden; max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-sub-link {
  display: block; padding: 0.65rem 0 0.65rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none;
  border-left: 2px solid rgba(184,150,46,0.3);
  transition: all 0.15s;
}
.mobile-sub-link:last-child { margin-bottom: 0.75rem; }
.mobile-sub-link:hover { color: var(--gold-light); border-left-color: var(--gold); }

/* CTA button at bottom of drawer */
.mobile-nav-cta {
  margin-top: 1.75rem; align-self: flex-start;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold-light); padding: 10px 28px;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.mobile-nav-cta:hover { background: var(--gold); color: var(--charcoal); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }
  .content-section, .about, .industries, .cta-section { padding: 4rem 1.5rem; }
  .hero-content { padding: 0 1.5rem; }
  .hero-stats { display: none; }
  .page-hero-content { padding: 0 1.5rem 2.5rem; }
  .about-inner, .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid, .disc-grid { grid-template-columns: 1fr; }
  .industries-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; text-align: center; }
  .footer-right { text-align: center; }
}