/* =========================================================
   MPH PIPELINES LLC — Main Stylesheet
   Rugged · Industrial · High-End Civil Contractor
   ========================================================= */

/* ── 1. Custom Properties ────────────────────────────── */
:root {
  --black:        #050608;
  --bg:           #08090e;
  --bg2:          #0d0f17;
  --bg3:          #12141f;
  --card:         #14161f;
  --card-hover:   #1a1c28;
  --elevated:     #1f2130;

  --orange:       #f06000;
  --orange2:      #ff7520;
  --orange-dark:  #c94c00;
  --orange-glow:  rgba(240,96,0,0.18);
  --orange-dim:   rgba(240,96,0,0.08);

  --steel:        #1b3d5c;
  --steel2:       #24567e;
  --steel3:       #2e72a8;
  --steel-glow:   rgba(30,70,110,0.25);

  --text:         #e8e9f0;
  --text-2:       #acafc0;
  --muted:        #686b80;
  --border:       rgba(255,255,255,0.07);
  --border-o:     rgba(240,96,0,0.25);
  --border-s:     rgba(46,114,168,0.3);

  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:        72px;
  --max:          1200px;
  --radius:       3px;
  --radius-md:    6px;
}

/* ── 2. Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--orange); color: #fff; }

/* ── 3. Typography ───────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-2); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── 4. Layout Utilities ─────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--dark { background: var(--bg2); }
.section--darker { background: var(--black); }
.section--card { background: var(--bg3); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mt-sm { margin-top: .75rem; }
.mt-md { margin-top: 1.25rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }

.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header h2 { margin-top: .6rem; }
.section-header p { margin-top: .75rem; font-size: 1.05rem; }
.section-header--center { text-align: center; margin: 0 auto 3.5rem; }
.section-header--center .eyebrow { justify-content: center; }
.section-header--center .eyebrow::before { display: none; }

/* ── 5. Buttons ──────────────────────────────────────── */
.btn, .btn-outline, .btn-ghost, .btn-steel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 4px 20px rgba(240,96,0,0.25);
}
.btn:hover {
  background: var(--orange2);
  border-color: var(--orange2);
  box-shadow: 0 6px 28px rgba(240,96,0,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--border-o);
  padding: .6rem 1.4rem;
  font-size: .85rem;
}
.btn-ghost:hover {
  background: var(--orange-dim);
  border-color: var(--orange);
}

.btn-steel {
  background: var(--steel);
  color: #fff;
  border: 2px solid var(--steel2);
}
.btn-steel:hover {
  background: var(--steel2);
  border-color: var(--steel3);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; }

.btn-arrow::after { content: ' →'; }

/* ── 6. Caution / Accent Stripes ─────────────────────── */
.stripe {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg, var(--orange) 0, var(--orange) 8px,
    var(--bg) 8px, var(--bg) 16px
  );
}
.stripe--top { margin-bottom: 0; }
.stripe--steel {
  background: repeating-linear-gradient(
    -45deg, var(--steel2) 0, var(--steel2) 8px,
    var(--bg) 8px, var(--bg) 16px
  );
}

/* ── 7. Navigation ───────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(5,6,8,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.6); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg,
.footer-logo-icon svg {
  width: 17px;
  height: auto;
  display: block;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: .45rem .75rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--orange);
  background: var(--orange-dim);
}

.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--black);
  padding: 2rem;
  z-index: 999;
  overflow-y: auto;
  flex-direction: column;
  gap: .25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ── 8. Hero Sections ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: var(--nav-h);
}

/* Shared hero base */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  z-index: 0;
}

/* Grid texture — sits above photo and overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background-image:
    linear-gradient(rgba(240,96,0,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,96,0,0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Bottom page-merge fade — topmost layer */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  height: 38%;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,9,14,0.6) 60%, var(--bg) 100%);
  pointer-events: none;
}

/* ── Hero background photo ───────────────────────── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.38) saturate(0.72);
  animation: hero-zoom 28s ease-in-out infinite alternate;
  will-change: transform;
  display: block;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

@keyframes hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* ── Cinematic overlay stack (above photo, below grid) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Corner vignette */
    radial-gradient(ellipse 150% 100% at 50% 50%, transparent 28%, rgba(0,0,0,0.62) 100%),
    /* Nav area darkening */
    linear-gradient(to bottom, rgba(0,0,0,0.58) 0%, transparent 32%),
    /* Left/right edge crush with warm earth center */
    linear-gradient(
      to right,
      rgba(3,5,8,0.92) 0%,
      rgba(12,8,3,0.18) 28%,
      rgba(12,8,3,0.18) 72%,
      rgba(3,5,8,0.92) 100%
    ),
    /* Warm directional grade */
    linear-gradient(170deg, rgba(2,4,8,0.5) 0%, rgba(22,13,4,0.22) 52%, rgba(2,4,8,0.5) 100%);
}

/* inner hero pages (shorter) — gradient fallback, no photo */
.hero--page {
  min-height: 45vh;
  align-items: flex-end;
  padding-bottom: 4rem;
}
.hero--page .hero-bg {
  background:
    linear-gradient(175deg, rgba(0,0,0,0.88) 0%, rgba(5,12,22,0.7) 50%, rgba(0,0,0,0.88) 100%),
    linear-gradient(135deg, #06080e 0%, #0f1824 40%, #130e08 70%, #080a0c 100%);
}

@media (max-width: 768px) {
  .hero-bg-img {
    object-position: 62% 35%;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-home .hero-content { padding-top: 4rem; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 18vw, 16rem);
  font-weight: 700;
  line-height: .88;
  color: var(--orange);
  text-shadow: 0 0 100px rgba(240,96,0,0.35);
  letter-spacing: -.01em;
  text-transform: uppercase;
  user-select: none;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .75rem;
}

.hero-body {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin-top: 1.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-badge {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hero-badge-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.hero-badge-label {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* trust strip under hero */
.trust-bar {
  background: var(--steel);
  border-top: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-s);
  padding: .9rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.trust-item svg { color: var(--orange2); flex-shrink: 0; }

/* ── 9. Stats Counter ────────────────────────────────── */
.stats-section {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange2);
}
.stat-label {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
  display: block;
}
.stat-sub { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ── 10. Service Cards ───────────────────────────────── */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { border-color: var(--border-o); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--border-o); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--orange-dim);
  border: 1px solid var(--border-o);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.service-card h3 { color: var(--text); font-size: 1.1rem; }
.service-card p { font-size: .92rem; flex: 1; }
.service-card .link { color: var(--orange); font-size: .85rem; font-weight: 600; margin-top: .5rem; display: inline-flex; align-items: center; gap: .3rem; }
.service-card .link:hover { text-decoration: underline; }

/* ── 11. Project Cards ───────────────────────────────── */
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); border-color: var(--border-o); }

.project-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Real photo inside thumbnail */
.project-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  transition: transform 0.65s ease;
}
.project-card:hover .project-thumb-img {
  transform: scale(1.06);
}

.project-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  z-index: 2;
}
.project-tag {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.tag-orange { background: var(--orange); color: #fff; }
.tag-steel  { background: var(--steel2); color: #fff; }
.tag-dark   { background: rgba(0,0,0,0.75); color: var(--text-2); border: 1px solid var(--border); }

/* project thumbnail color treatments */
.pt-water  { background: linear-gradient(145deg, #061428 0%, #0d2640 40%, #061828 100%); }
.pt-sewer  { background: linear-gradient(145deg, #141410 0%, #201e15 40%, #141210 100%); }
.pt-storm  { background: linear-gradient(145deg, #091520 0%, #162030 40%, #0d1828 100%); }
.pt-excav  { background: linear-gradient(145deg, #1a1005 0%, #2e1c08 45%, #1a0e04 100%); }
.pt-comm   { background: linear-gradient(145deg, #0f0f18 0%, #1a1a28 40%, #0f0f18 100%); }
.pt-munic  { background: linear-gradient(145deg, #0e1a28 0%, #162640 40%, #0a1420 100%); }
.pt-subdiv { background: linear-gradient(145deg, #120f08 0%, #261e10 40%, #120f08 100%); }
.pt-dry    { background: linear-gradient(145deg, #101820 0%, #1a2830 40%, #101820 100%); }

/* Cinematic overlay + subtle diagonal texture above photo */
.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%),
    repeating-linear-gradient(
      -55deg, transparent 0, transparent 12px,
      rgba(255,255,255,0.012) 12px, rgba(255,255,255,0.012) 13px
    );
  pointer-events: none;
}

.project-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-info h3 { font-size: 1.05rem; color: var(--text); margin-bottom: .4rem; }
.project-info p { font-size: .9rem; flex: 1; }
.project-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
}
.project-meta span { display: flex; align-items: center; gap: .3rem; }

/* ── 12. Testimonials ────────────────────────────────── */
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--orange-dim);
  pointer-events: none;
}
.testi-stars { color: var(--orange); letter-spacing: .1rem; }
.testi-card blockquote { color: var(--text-2); font-style: italic; font-size: .97rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.testi-role { font-size: .78rem; color: var(--muted); }

/* ── 13. CTA Banner ──────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: var(--orange-dark);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, rgba(0,0,0,0.12) 0, rgba(0,0,0,0.12) 10px,
    transparent 10px, transparent 20px
  );
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-banner p { color: rgba(255,255,255,0.8); margin-top: .75rem; font-size: 1.1rem; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-banner .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.15); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.cta-phone {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* ── 14. Feature Rows ────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.feature-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.feature-content { display: flex; flex-direction: column; gap: .75rem; }
.feature-content h2 { color: var(--text); }
.feature-content p { font-size: 1rem; }

.check-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .93rem;
  color: var(--text-2);
}
.check-item::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--orange-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  line-height: 20px;
  text-align: center;
}

/* ── 15. Credential Badges ───────────────────────────── */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.cred-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color .2s;
}
.cred-card:hover { border-color: var(--border-s); }
.cred-icon {
  width: 44px; height: 44px;
  background: var(--steel-glow);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel3);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cred-info { flex: 1; }
.cred-info strong { display: block; font-size: .9rem; color: var(--text); line-height: 1.3; margin-bottom: .2rem; }
.cred-info span { font-size: .78rem; color: var(--muted); }

/* ── 16. Timeline ────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 120px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--steel2), transparent);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0 2rem 2.5rem;
  position: relative;
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  min-width: 80px;
  text-align: right;
  padding-top: .15rem;
  flex-shrink: 0;
}
.timeline-dot {
  position: absolute;
  left: 111px;
  top: 2rem;
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--bg2);
  box-shadow: 0 0 12px var(--orange-glow);
  flex-shrink: 0;
}
.timeline-content { flex: 1; padding-top: .1rem; }
.timeline-content h4 { color: var(--text); font-size: 1rem; margin-bottom: .3rem; }
.timeline-content p { font-size: .9rem; }

/* ── 17. Accordion ───────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: .5rem; }
.acc-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.acc-trigger:hover { background: var(--card-hover); color: var(--orange); }
.acc-trigger.open { color: var(--orange); background: var(--card-hover); }
.acc-icon { font-size: 1.2rem; transition: transform .3s; color: var(--muted); flex-shrink: 0; }
.acc-trigger.open .acc-icon { transform: rotate(45deg); color: var(--orange); }
.acc-body { display: none; padding: 0 1.5rem 1.5rem; }
.acc-body p { font-size: .93rem; }
.acc-item.open .acc-body { display: block; }

/* ── 18. Forms ───────────────────────────────────────── */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: .5rem; }

/* ── 19. Map Placeholder ─────────────────────────────── */
.map-placeholder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin { font-size: 3rem; }
.map-label {
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--muted);
}

/* ── 20. Info Boxes ──────────────────────────────────── */
.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.info-box h4 { color: var(--text); margin-bottom: 1rem; font-size: 1rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
  color: var(--orange);
  margin-top: .1rem;
}
.contact-detail a:hover { color: var(--orange); }

/* ── 21. Job Cards ───────────────────────────────────── */
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.job-card:hover { border-color: var(--border-o); transform: translateX(4px); }
.job-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
.job-meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.job-badge {
  font-size: .72rem;
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.job-badge--type { border-color: var(--border-o); color: var(--orange2); }
.job-desc { font-size: .9rem; margin-top: .5rem; }
.job-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }

/* ── 22. Safety Stats ────────────────────────────────── */
.safety-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border-top: 3px solid var(--orange);
}
.safety-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.safety-stat-label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .5rem; display: block; }

/* ── 23. Filter Tabs ─────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}
.filter-btn {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--card);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--border-o); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-item { transition: opacity .3s, transform .3s; }
.project-item.hidden { opacity: 0; pointer-events: none; position: absolute; }

/* ── 24. Progress Bars ───────────────────────────────── */
.progress-item { margin-bottom: 1.25rem; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-2);
  margin-bottom: .4rem;
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.progress-track {
  height: 6px;
  background: var(--elevated);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange2));
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}

/* ── 25. Scroll Reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── 26. Footer ──────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}
.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
}
.footer-logo-name small { display: block; font-size: .65rem; color: var(--muted); }
.footer-tagline { font-size: .85rem; max-width: 280px; }
.footer-contact-line { font-size: .88rem; display: flex; align-items: center; gap: .5rem; color: var(--text-2); }
.footer-contact-line a:hover { color: var(--orange); }
.footer-contact-icon { color: var(--orange); width: 16px; text-align: center; }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--orange); }

.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--muted);
  transition: all .2s;
}
.social-btn:hover { background: var(--orange-dim); border-color: var(--border-o); color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--orange); }
.roc-badge {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .1em;
  background: var(--elevated);
  border: 1px solid var(--border);
  padding: .3rem .75rem;
  border-radius: var(--radius);
  color: var(--text-2);
  text-transform: uppercase;
}

/* ── 27. Notification Toast ──────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--orange);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s ease;
  box-shadow: 0 8px 32px rgba(240,96,0,0.35);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── 28. Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item + .stat-item { border-left: none; }
  .stats-grid .stat-item:nth-child(odd) + .stat-item { border-left: 1px solid var(--border); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 70px; }
  .timeline-year { min-width: 50px; font-size: 1rem; }
  .timeline-dot { left: 61px; }
  .timeline-item { padding-left: 1.5rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row--reverse { direction: ltr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-tagline { font-size: clamp(4rem, 18vw, 9rem); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-badges { gap: 1rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .job-card { flex-direction: column; }
  .job-actions { flex-direction: row; align-items: center; }
  .cta-actions { flex-direction: column; }
  .cta-phone { font-size: 1.4rem; }
}
