/* =============================================
   DeLeo Construction Company
   Main Stylesheet
   Brand: Charcoal/Black dominant · Navy #002060 as accent
   ============================================= */

/* --- CSS Variables --- */
:root {
  /* Dominant darks — used for nav, hero, footer, dark sections */
  --dark:         #111214;    /* Near-black charcoal */
  --dark-mid:     #1c1e22;    /* Slightly lighter charcoal */
  --dark-soft:    #25282e;    /* Card/panel charcoal */

  /* Navy — accent only: icons, buttons, tags, lines, highlights */
  --accent:       #002060;    /* DeLeo Logo Navy */
  --accent-light: #0a3080;    /* Lighter navy for hover */
  --accent-soft:  rgba(0, 32, 96, 0.10);  /* Tinted background */

  /* Neutrals */
  --neutral-800:  #111214;
  --neutral-700:  #2c2f35;
  --neutral-600:  #4a4d54;
  --neutral-500:  #72767e;
  --neutral-400:  #9fa3ab;
  --neutral-300:  #d0d3d8;
  --neutral-200:  #f0f2f5;
  --neutral-100:  #ffffff;

  /* Typography */
  --main-font:    'Inter', sans-serif;
  --heading-font: 'Oswald', sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.14);
  --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.20);

  /* Misc */
  --radius-sm:      3px;
  --radius-md:      6px;
  --radius-lg:      12px;
  --transition:     0.3s ease;
  --container-max:  1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--main-font);
  color: var(--neutral-600);
  background-color: var(--neutral-100);
  line-height: 1.6;
  overflow-x: hidden;
}

body::-webkit-scrollbar { width: 4px; }
body::-webkit-scrollbar-track { background: #e0e3e8; border-radius: 10px; }
body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--neutral-800); line-height: 1.2; font-weight: 600; }

/* --- Container --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid var(--accent);
  font-family: var(--heading-font);
}
.btn-primary:hover { background-color: var(--accent-light); border-color: var(--accent-light); color: #ffffff; transform: translateY(-1px); }
.btn-primary.large { padding: 15px 30px; font-size: 0.9375rem; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 0.7rem;
  transition: transform var(--transition);
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255,255,255,0.10);
  color: var(--neutral-100);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid rgba(255,255,255,0.30);
  transition: background-color var(--transition);
  font-family: var(--heading-font);
}
.btn-secondary:hover { background-color: rgba(255,255,255,0.20); color: var(--neutral-100); }
.btn-secondary.large { padding: 15px 30px; font-size: 0.9375rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--accent);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--accent);
  transition: background-color var(--transition), color var(--transition);
  font-family: var(--heading-font);
}
.btn-outline:hover { background-color: var(--accent); color: white; }
.btn-outline.dark { color: var(--neutral-100); border-color: rgba(255,255,255,0.45); }
.btn-outline.dark:hover { background-color: rgba(255,255,255,0.12); color: white; }

/* --- Section --- */
.section { padding: 100px 0; }

/* --- Subtitle / Section Headings --- */
.subtitle-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.subtitle-wrapper.centered { justify-content: center; }
/* Accent line uses navy */
.subtitle-line { width: 32px; height: 3px; background-color: var(--accent); flex-shrink: 0; }
.subtitle-line.white { background-color: rgba(255,255,255,0.45); }
.subtitle-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-family: var(--heading-font);
}
.subtitle-text.white { color: rgba(255,255,255,0.55); }

/* Section titles — charcoal not navy */
.section-title {
  font-family: var(--heading-font);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title.centered { text-align: center; }
.section-title.white { color: var(--neutral-100); }

.section-intro-text { font-size: 1.0625rem; color: var(--neutral-500); max-width: 640px; line-height: 1.75; margin-bottom: 0; }
.section-subtext { font-size: 1.0625rem; color: var(--neutral-500); max-width: 600px; line-height: 1.7; margin-bottom: 60px; }
.section-subtext.centered { text-align: center; margin-left: auto; margin-right: auto; }
.body-text { font-size: 1.0625rem; color: var(--neutral-500); line-height: 1.75; margin-bottom: 20px; }
.body-text.white-muted { color: rgba(255,255,255,0.65); }
.section-header { margin-bottom: 56px; }
.section-header-centered { text-align: center; margin-bottom: 56px; }

/* ==================================================
   TOP BAR — charcoal, not navy
   ================================================== */
.top-bar {
  background-color: var(--dark);
  padding: 9px 0;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-left span,
.top-bar-right span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Icons in top bar get the navy accent */
.top-bar-left i, .top-bar-right i { color: var(--accent); font-size: 0.75rem; filter: brightness(2.5); }
.top-bar-left a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.top-bar-left a:hover { color: #ffffff; }
.top-bar-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  padding: 3px 10px;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.80) !important;
  font-family: var(--heading-font);
  letter-spacing: 0.06em;
}

/* ==================================================
   LOGO IMAGE
   The DeLeo logo has a dark/black background with
   blue "DELEO" text — it blends naturally into the
   dark charcoal nav, footer, and hero sections.
   No white pill wrapper needed.
   ================================================== */

/* Nav logo link */
.nav-logo-link {
  display: flex;
  align-items: center;
  z-index: 10;
  text-decoration: none;
  transition: opacity var(--transition);
}
.nav-logo-link:hover { opacity: 0.80; }

/* Transparent wrapper — no background box */
.nav-logo-wrap {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Footer logo — slightly smaller */
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* Hero logo stamp — brand anchor above headline */
.hero-logo-stamp {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
}
.hero-logo-stamp img {
  height: 56px;
  width: auto;
  display: block;
}

/* ==================================================
   NAVIGATION — charcoal background, navy accents
   ================================================== */
.navigation {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--dark-mid);
  border-bottom: 3px solid var(--accent);
  transition: top var(--transition), box-shadow var(--transition);
}
.navigation.scrolled {
  top: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo-link { display: flex; align-items: center; z-index: 10; }
.nav-logo { width: 124px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-link {
  padding: 8px 18px;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}
/* Navy underline on hover/active */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px; right: 18px;
  height: 3px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: #ffffff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-buttons { display: flex; align-items: center; gap: 12px; }
.nav-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}
.nav-menu-toggle:hover { background-color: rgba(255,255,255,0.08); }

/* ==================================================
   HERO SECTION — charcoal base, not solid navy
   ================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
  padding-top: 116px;
}
.hero-video-wrapper { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.30; }
/* Charcoal overlay — not navy tinted */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,16,18,0.94) 0%, rgba(15,16,18,0.80) 55%, rgba(15,16,18,0.60) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 48px;
  padding-top: 40px; padding-bottom: 80px;
}
.hero-text-wrapper { max-width: 700px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
/* Navy eyebrow line */
.eyebrow-line { display: block; width: 40px; height: 3px; background-color: var(--accent); }
.eyebrow-text {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
}
.hero-headline {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  color: var(--neutral-100);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-subtext {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  width: fit-content;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.stat-number {
  font-family: var(--heading-font);
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  font-family: var(--heading-font);
}
.scroll-line {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:0.4; } 50% { opacity:1; } }

/* ==================================================
   CLIENTS STRIP — dark charcoal band
   ================================================== */
.clients-strip {
  background-color: var(--dark-soft);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.clients-label {
  font-family: var(--heading-font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-bottom: 14px;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.client-logo-item {
  font-family: var(--heading-font);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  padding: 4px 20px;
  transition: color var(--transition);
}
.client-logo-item:hover { color: #ffffff; }
.client-logo-sep { color: rgba(255,255,255,0.18); font-size: 1.2rem; }

/* ==================================================
   SERVICES SECTION
   ================================================== */
.services-section { background-color: var(--neutral-200); }
.services-card { background-color: var(--neutral-100); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.services-card-inner { padding: 72px 64px; }
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 48px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.services-left, .services-right { display: flex; flex-direction: column; }
.service-card {
  display: block; padding: 40px 36px;
  background-color: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  transition: background-color var(--transition);
  position: relative; overflow: hidden;
}
/* Navy left-edge accent on hover */
.service-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background-color: var(--accent);
  transform: scaleY(0); transition: transform var(--transition); transform-origin: bottom;
}
.service-card:hover { background-color: #f4f5f7; }
.service-card:hover::before { transform: scaleY(1); }
/* Icon bg is soft, icon color is navy */
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--accent-soft);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.service-icon i { font-size: 1.375rem; color: var(--accent); }
/* Title is dark charcoal — not navy */
.service-title { font-family: var(--heading-font); font-size: 1.1rem; font-weight: 600; color: var(--neutral-800); margin-bottom: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.03em; }
.service-desc { font-size: 0.9375rem; color: var(--neutral-500); line-height: 1.7; margin-bottom: 20px; }
/* "Learn more" link uses navy */
.service-link { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.8rem; font-weight: 700; transition: gap var(--transition); font-family: var(--heading-font); letter-spacing: 0.08em; text-transform: uppercase; }
.service-card:hover .service-link { gap: 12px; }

/* ==================================================
   ABOUT SECTION
   ================================================== */
.about-section { background-color: var(--neutral-100); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-main-image { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-lg); }
/* Badge stays dark charcoal with accent border */
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background-color: var(--dark); color: white;
  border-radius: var(--radius-md); padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--accent);
}
.badge-inner { display: flex; flex-direction: column; align-items: center; }
.badge-number { font-family: var(--heading-font); font-size: 2.25rem; font-weight: 700; line-height: 1; color: #ffffff; }
.badge-label { font-size: 0.75rem; font-weight: 600; text-align: center; margin-top: 6px; opacity: 0.8; font-family: var(--heading-font); letter-spacing: 0.06em; text-transform: uppercase; }
.about-content-col { padding-right: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 40px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 500; color: var(--neutral-700); }
.feature-check { width: 22px; height: 22px; background-color: var(--accent-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-check i { color: var(--accent); font-size: 0.6rem; }

/* ==================================================
   STATS SECTION — dark charcoal band (was full navy)
   ================================================== */
.stats-section { padding: 0; }
.stats-bg {
  background: var(--dark-mid);
  padding: 80px 0;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.12); }
.stat-icon i { font-size: 1.5rem; color: rgba(255,255,255,0.80); }
.stat-value { font-family: var(--heading-font); font-size: 2.75rem; font-weight: 700; color: var(--neutral-100); line-height: 1; margin-bottom: 10px; }
.stat-label-large { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.45); font-family: var(--heading-font); letter-spacing: 0.05em; text-transform: uppercase; }

/* ==================================================
   SAFETY SECTION
   ================================================== */
.safety-section { background-color: var(--neutral-200); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.safety-items { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.safety-item { display: flex; gap: 18px; align-items: flex-start; }
.safety-icon { width: 48px; height: 48px; background-color: var(--accent-soft); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.safety-icon i { font-size: 1.25rem; color: var(--accent); }
/* Headings charcoal, not navy */
.safety-text h4 { font-family: var(--heading-font); font-size: 0.95rem; font-weight: 600; color: var(--neutral-800); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.safety-text p { font-size: 0.9375rem; color: var(--neutral-500); line-height: 1.7; }
.safety-image-stack { position: relative; }
.safety-image { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
/* Navy accent border */
.safety-image-accent { position: absolute; bottom: -16px; left: -16px; width: 60%; height: 60%; border: 4px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; }
/* Float badge is dark charcoal */
.safety-badge-float {
  position: absolute; top: 24px; right: -20px;
  background-color: var(--dark); color: #ffffff;
  border-radius: var(--radius-md); padding: 18px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent);
}
.safety-badge-float i { font-size: 1.5rem; }
.safety-badge-float span { font-family: var(--heading-font); font-size: 0.75rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; }

/* ==================================================
   PROJECTS SECTION
   ================================================== */
.projects-section { background-color: var(--neutral-100); }
.projects-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.projects-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.project-card { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; height: 380px; }
.project-card.large { height: 380px; }
.project-img-wrapper { width: 100%; height: 100%; }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.project-card:hover .project-img { transform: scale(1.05); }
/* Dark charcoal gradient overlay */
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,0.96) 0%, rgba(10,11,13,0.50) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  transition: background var(--transition);
}
.project-card:hover .project-overlay { background: linear-gradient(to top, rgba(10,11,13,0.99) 0%, rgba(10,11,13,0.68) 60%, transparent 100%); }
/* Navy tag */
.project-tag { display: inline-block; background-color: var(--accent); color: #ffffff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; width: fit-content; font-family: var(--heading-font); border: 1px solid rgba(255,255,255,0.2); }
.project-name { font-family: var(--heading-font); font-size: 1.0625rem; font-weight: 600; color: white; margin-bottom: 6px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.03em; }
.project-location { font-size: 0.8rem; color: rgba(255,255,255,0.60); margin-bottom: 6px; }
.project-location i { margin-right: 5px; color: rgba(255,255,255,0.65); }
.project-detail { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: #ffffff; transform: translateY(8px); opacity: 0; transition: transform var(--transition), opacity var(--transition); font-family: var(--heading-font); letter-spacing: 0.06em; text-transform: uppercase; }
.project-card:hover .project-link { transform: translateY(0); opacity: 1; }

/* ==================================================
   WHY SECTION
   ================================================== */
.why-section { background-color: var(--neutral-200); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-items { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon { width: 48px; height: 48px; background-color: var(--accent-soft); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon i { font-size: 1.25rem; color: var(--accent); }
/* Headings charcoal */
.why-text h4 { font-family: var(--heading-font); font-size: 0.95rem; font-weight: 600; color: var(--neutral-800); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.04em; }
.why-text p { font-size: 0.9375rem; color: var(--neutral-500); line-height: 1.7; }
.why-image-stack { position: relative; }
.why-image { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
/* Navy accent corner */
.why-image-accent { position: absolute; bottom: -16px; right: -16px; width: 60%; height: 60%; border: 4px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; }

/* ==================================================
   SERVICE AREA SECTION — charcoal instead of navy
   ================================================== */
.area-section { padding: 0; }
.area-bg {
  background: var(--dark-mid);
  padding: 100px 0;
  border-top: 4px solid var(--accent);
}
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.area-states { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.area-state { display: flex; align-items: flex-start; gap: 14px; }
.area-state i { color: var(--accent); font-size: 1rem; margin-top: 2px; flex-shrink: 0; filter: brightness(2.5); }
.area-state strong { display: block; font-family: var(--heading-font); font-size: 0.95rem; font-weight: 600; color: var(--neutral-100); letter-spacing: 0.04em; text-transform: uppercase; }
.area-state span { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.area-map-visual { display: flex; align-items: center; justify-content: center; }
.map-placeholder {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.map-placeholder i { font-size: 4rem; color: rgba(255,255,255,0.60); opacity: 0.8; }
.map-placeholder p { font-family: var(--heading-font); font-size: 1.375rem; font-weight: 700; color: var(--neutral-100); letter-spacing: 0.1em; }
.map-placeholder span { font-size: 0.8rem; color: rgba(255,255,255,0.35); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--heading-font); }

/* ==================================================
   CTA SECTION — charcoal card, not navy
   ================================================== */
.cta-section { background-color: var(--neutral-200); }
.cta-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg); overflow: hidden;
  background-color: var(--dark);
  border-top: 4px solid var(--accent);
}
.cta-content { padding: 72px 64px; }
.cta-content .subtitle-text { color: rgba(255,255,255,0.45); }
.cta-content .subtitle-line { background-color: var(--accent); }
.cta-content .section-title { color: var(--neutral-100); }
.cta-content .body-text { color: rgba(255,255,255,0.60); }
.cta-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.cta-image { position: relative; overflow: hidden; }
.cta-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.55; }
/* Charcoal fade overlay */
.cta-image-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--dark) 0%, transparent 60%); }

/* ==================================================
   FOOTER — dark charcoal (not navy)
   ================================================== */
.footer { background-color: var(--dark); }
.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 12px; }
.footer-safety-motto { font-family: var(--heading-font); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background-color: rgba(255,255,255,0.06);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.50); font-size: 0.875rem;
  transition: background-color var(--transition), color var(--transition);
}
.social-link:hover { background-color: var(--accent); color: #ffffff; }

.footer-nav-title { font-family: var(--heading-font); font-size: 0.85rem; font-weight: 700; color: var(--neutral-100); margin-bottom: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-link { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-nav-link:hover { color: #ffffff; }
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; }
.footer-contact-icon { color: rgba(255,255,255,0.55); font-size: 0.875rem; width: 16px; flex-shrink: 0; }
.footer-contact-link, .footer-contact-text { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-contact-link:hover { color: #ffffff; }
/* Footer bottom bar with a subtle navy accent line */
.footer-bottom { padding: 24px 0; border-top: 2px solid var(--accent); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { font-size: 0.8125rem; color: rgba(255,255,255,0.30); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-link { font-size: 0.8125rem; color: rgba(255,255,255,0.30); transition: color var(--transition); }
.footer-legal-link:hover { color: rgba(255,255,255,0.65); }

/* ==================================================
   ANIMATIONS
   ================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ==================================================
   PAGE HERO (inner pages) — charcoal not navy
   ================================================== */
.page-hero {
  background: var(--dark-mid);
  padding: 200px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/trench-excavation.jpg');
  background-size: cover; background-position: center;
  opacity: 0.10;
}
.page-hero .container { position: relative; z-index: 1; }

/* Logo shown above breadcrumb in page heroes */
.page-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.page-hero-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.page-hero h1 { font-family: var(--heading-font); font-size: clamp(2rem, 4vw, 3.25rem); color: var(--neutral-100); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,0.60); max-width: 560px; margin: 0 auto; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--heading-font); font-size: 0.75rem; color: rgba(255,255,255,0.40); margin-bottom: 20px; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb a { color: rgba(255,255,255,0.40); transition: color var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb span { color: rgba(255,255,255,0.85); }

/* ==================================================
   RESPONSIVE – TABLET
   ================================================== */
@media (max-width: 1024px) {
  .about-grid, .why-grid, .safety-grid, .area-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.large { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) { border-right: none; }
  .services-card-inner { padding: 48px 40px; }
  .about-badge { right: 0; bottom: -20px; }
  .why-image-col { order: -1; }
  .area-map-visual { display: none; }
  .area-grid { grid-template-columns: 1fr; }
  .top-bar-right { display: none; }
}

/* ==================================================
   RESPONSIVE – MOBILE
   ================================================== */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .top-bar { display: none; }
  .navigation { top: 0; }
  .hero-section { padding-top: 76px; }
  .nav-container { height: 68px; }
  .nav-menu {
    display: none; position: fixed; top: 68px; left: 0; width: 100%;
    background-color: var(--dark-mid); flex-direction: column;
    padding: 20px; gap: 4px; box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--accent);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; text-align: left; }
  .nav-menu-toggle { display: block; }
  .nav-buttons .btn-primary { display: none; }
  .hero-headline { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .hero-stats { flex-wrap: wrap; padding: 20px; gap: 12px; width: 100%; justify-content: center; }
  .hero-stat { padding: 0 12px; }
  .stat-divider { display: none; }
  .services-card-inner { padding: 32px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
  .about-main-image { height: 300px; }
  .about-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-content { padding: 48px 28px; }
  .cta-image { height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .cta-buttons, .hero-buttons { flex-direction: row; flex-wrap: wrap; }
  .nav-logo-img { height: 38px; }
  .clients-logos { gap: 8px; }
  .client-logo-sep { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .services-card-inner { padding: 24px 16px; }
  .cta-content { padding: 36px 20px; }
}
