/* =============================================================
   Lynch & Associates - Engineering Consultants, LLC
   Site Stylesheet  |  Version 1.0
   Easy to update: edit CSS variables in :root to change the
   entire color scheme. Section comments mark each component.
   ============================================================= */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS CUSTOM PROPERTIES (Edit these to restyle everything) ---- */
:root {
  /* Brand Colors - Lynch & Associates Official Palette */
  --navy:          #3D4D55;   /* PMS 5463U  Dark slate - backgrounds  */
  --navy-dark:     #2A3840;   /* Deepest shade for hero/footer        */
  --navy-light:    #5C6F7C;   /* PMS 7545U  Logo slate - mid tone     */
  --orange:        #B8B308;   /* PMS 398U   Logo olive/gold accent    */
  --orange-light:  #C8B853;   /* PMS 7759U  Warm golden               */
  --orange-dark:   #7E7C41;   /* PMS 392U   Dark olive                */

  /* Neutral Scale */
  --gray-900: #1E293B;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F8F9FA;
  --white:    #FFFFFF;

  /* Typography */
  --font-heading: 'Jost', 'Futura PT', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 12px rgba(0,0,0,.10);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);

  /* Border radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition: all 0.25s ease;

  /* Layout */
  --container: 1200px;
  --section-v:  96px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--gray-600); line-height: 1.75; }

/* ---- LAYOUT UTILITIES ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-v) 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--navy-dark); color: var(--white); }

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section__title {
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 48px;
}

.section--dark .section__title { color: var(--white); }
.section--dark p, .section--dark .section__subtitle { color: rgba(255,255,255,0.75); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(184,179,8,.30);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(184,179,8,.35); }

.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(61,77,85,.3);
}
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn--ghost {
  color: var(--navy);
  border: 2px solid var(--gray-300);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--gray-50); }

.btn svg { width: 18px; height: 18px; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
}

.nav--scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav__logo-mark {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--white);
  transition: var(--transition);
}

.nav--scrolled .nav__logo-text { color: var(--navy); }

.nav__logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  font-family: var(--font-body);
}

/* Real logo image - white-bg PNG in a pill that blends on scroll */
.nav__logo-img {
  height: 64px;
  max-width: 320px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: var(--transition);
}
.nav--scrolled .nav__logo-img {
  box-shadow: none;
}

/* Footer logo */
.footer__logo-wrap {
  display: inline-block;
  background: var(--white);
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav--scrolled .nav__link { color: var(--gray-700); }
.nav--scrolled .nav__link:hover { color: var(--navy); background: var(--gray-100); }
.nav__link--active { color: var(--orange) !important; }

/* Dropdown */
.nav__item { position: relative; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-top: 3px solid var(--orange);
}

.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; }

.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav__dropdown a:hover { background: var(--gray-50); color: var(--navy); padding-left: 24px; }
.nav__dropdown a span { font-size: 1.1rem; }

.nav__cta { margin-left: 12px; }

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav--scrolled .nav__toggle span { background: var(--navy); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--gray-100);
}
.nav__mobile a:hover { background: var(--gray-50); color: var(--navy); }
.nav__mobile .mobile-sub {
  padding: 8px 16px 8px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}
.nav__mobile .mobile-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}
.nav__mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark) url('../images/hero-business-park.jpg') center 40% / cover no-repeat;
}

/* Dark slate overlay keeping text legible over the aerial photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(42,56,64,0.93) 0%, rgba(30,42,48,0.80) 55%, rgba(42,56,64,0.55) 100%);
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    /* Grid lines */
    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: 60px 60px;
  z-index: 0;
}

.hero__geo {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184,179,8,.2) 0%, transparent 70%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,179,8,.15);
  border: 1px solid rgba(184,179,8,.45);
  color: #DDD92A;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

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

.hero h1 {
  color: var(--white);
  max-width: 900px;
  margin-bottom: 24px;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
}

.hero h1 span { color: var(--orange-light); }

.hero__lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- STATS STRIP ---- */
.stats {
  background: var(--orange);
  padding: 32px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.stats__item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stats__item:last-child { border-right: none; }

.stats__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stats__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(61,77,85,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon { background: var(--navy); }
.service-card:hover .service-card__icon svg { color: var(--white); }

.service-card__icon svg { width: 28px; height: 28px; color: var(--navy); }

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card__link:hover { color: var(--orange); gap: 10px; }
.service-card__link svg { width: 16px; height: 16px; }

/* ---- ABOUT SPLIT ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split__visual {
  position: relative;
}

.about-split__img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1231/822; /* matches team-group-2026.jpg exactly - no side crop */
  background: var(--gray-200);
  position: relative;
}

.about-split__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-align: center;
}

.about-split__img-placeholder svg { width: 48px; height: 48px; opacity: 0.5; }

.about-split__accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-split__accent-box .big { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; line-height: 1; }
.about-split__accent-box .small { font-size: 0.8rem; font-weight: 600; opacity: 0.9; letter-spacing: 0.05em; }

.about-split__values { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-item__dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.value-item h4 { font-size: 0.95rem; margin-bottom: 2px; color: var(--navy); }
.value-item p { font-size: 0.875rem; margin: 0; }

/* ---- PROJECT CARDS ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  background: var(--white);
}

.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.project-card__thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__img { transform: scale(1.05); }

.project-card__thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 45%, transparent 70%);
}

/* Project card color backgrounds (visible when no photo) */
.project-card--transportation .project-card__thumb { background: linear-gradient(160deg, #3D4D55 0%, #5C6F7C 100%); }
.project-card--municipal .project-card__thumb { background: linear-gradient(160deg, #1A5276 0%, #2471A3 100%); }
.project-card--land-development .project-card__thumb { background: linear-gradient(160deg, #145A32 0%, #1E8449 100%); }
.project-card--construction .project-card__thumb { background: linear-gradient(160deg, #7B241C 0%, #CB4335 100%); }
.project-card--specialty .project-card__thumb { background: linear-gradient(160deg, #5B2C6F 0%, #8E44AD 100%); }
.project-card--survey .project-card__thumb { background: linear-gradient(160deg, #784212 0%, #CA6F1E 100%); }

.project-card__category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,.25);
  padding: 4px 10px;
  border-radius: 100px;
}

.project-card__body { padding: 24px; }
.project-card__body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.project-card__body p { font-size: 0.875rem; margin-bottom: 16px; }

.project-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.project-card__meta span { display: flex; align-items: center; gap: 4px; }
.project-card__meta svg { width: 14px; height: 14px; }

/* Portfolio filter buttons */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  border: 2px solid var(--gray-300);
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---- TEAM CARDS ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }

.team-card__avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}

.team-card__avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.team-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card__photo { transform: scale(1.04); }

.team-card__body { padding: 20px 16px; }
.team-card__name { font-size: 1rem; margin-bottom: 4px; }
.team-card__title { font-size: 0.8rem; color: var(--orange); font-weight: 600; font-family: var(--font-heading); letter-spacing: 0.03em; }
.team-card__dept { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }
.team-card__bio { font-size: 0.8rem; color: var(--gray-600); line-height: 1.65; margin-top: 10px; text-align: left; }

/* Leadership team gets larger cards */
.team-card--leader .team-card__avatar { font-size: 2.5rem; }
.team-card--leader .team-card__name { font-size: 1.1rem; }

/* Environment / group photo strips */
.env-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 48px 0;
}
.env-strip__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.env-strip__placeholder {
  width: 100%;
  height: 260px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .env-strip { grid-template-columns: 1fr 1fr; }
  .env-strip__img, .env-strip__placeholder { height: 180px; }
}

/* ---- VALUES SECTION ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ---- EOS / APPROACH SECTION ---- */
.eos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.eos-pillars { display: flex; flex-direction: column; gap: 20px; }

.eos-pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}

.eos-pillar:hover { box-shadow: var(--shadow-md); }

.eos-pillar__num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  min-width: 40px;
}

.eos-pillar h4 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.eos-pillar p { font-size: 0.875rem; margin: 0; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,179,8,.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-banner__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__brand h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer__brand .tagline {
  color: var(--orange-light);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.92); }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer__social a:hover { background: var(--orange); color: var(--white); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.875rem; transition: var(--transition); }
.footer__links a:hover { color: var(--orange-light); padding-left: 4px; }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item { display: flex; gap: 10px; font-size: 0.875rem; align-items: flex-start; }
.footer__contact-item svg { width: 16px; height: 16px; color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer__contact-item a:hover { color: var(--orange-light); }

.footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 48px auto 0;
}

.footer__bottom p { font-size: 0.8rem; margin: 0; }
.footer__bottom-links { display: flex; gap: 24px; font-size: 0.8rem; }
.footer__bottom-links a:hover { color: var(--white); }

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: calc(var(--nav-height) + 60px) 24px 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero__content { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--orange-light); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }

/* ---- SERVICE DETAIL LAYOUT ---- */
.service-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-capabilities { margin-top: 32px; }
.service-capabilities h3 { margin-bottom: 16px; }

.capability-list { display: flex; flex-direction: column; gap: 10px; }
.capability-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.capability-item svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.capability-item p { font-size: 0.9rem; margin: 0; }

.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

.sidebar-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--navy); }

.sidebar-services { display: flex; flex-direction: column; gap: 4px; }
.sidebar-services a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.sidebar-services a:hover, .sidebar-services a.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.sidebar-services a svg { width: 16px; height: 16px; color: var(--orange); }

/* Contact form sidebar */
.contact-cta-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  text-align: center;
}
.contact-cta-card h4 { color: var(--white); margin-bottom: 8px; }
.contact-cta-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: 20px; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(61,77,85,.12);
}

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%236B7280' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- CONTACT PAGE ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.office-cards { display: flex; flex-direction: column; gap: 20px; }

.office-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
}

.office-card h3 { font-size: 1rem; margin-bottom: 4px; }
.office-card .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.office-card__details { display: flex; flex-direction: column; gap: 8px; }
.office-card__detail { display: flex; gap: 10px; font-size: 0.875rem; color: var(--gray-600); }
.office-card__detail svg { width: 16px; height: 16px; color: var(--navy); margin-top: 2px; flex-shrink: 0; }

/* ---- CAREERS ---- */
.careers-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }

.benefit-card__icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-card h3 { font-size: 1rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.875rem; }

/* Open positions */
.positions-list { display: flex; flex-direction: column; gap: 16px; }

.position-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
}

.position-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy); }

.position-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.position-card__meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }
.position-card__meta span { display: flex; align-items: center; gap: 4px; }

/* ---- UTILITY CLASSES ---- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.section-header { max-width: 640px; }
.section-header--center { margin: 0 auto; text-align: center; }

/* ---- DIVIDER ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.divider span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); white-space: nowrap; }

/* ---- BADGE ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}
.badge--orange { background: rgba(184,179,8,.12); color: var(--orange-dark); }
.badge--navy  { background: rgba(61,77,85,.1);   color: var(--navy); }
.badge--green { background: rgba(22,163,74,.1);  color: #16a34a; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  :root { --section-v: 72px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-split { gap: 40px; }
  .eos-grid { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-v: 56px; --nav-height: 68px; }

  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stats__item:nth-child(2n) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .stats__item:last-child, .stats__item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .about-split { grid-template-columns: 1fr; }
  .about-split__visual { display: none; }
  .eos-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .careers-benefits { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .position-card { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .careers-benefits { grid-template-columns: 1fr; }
}

html, body { overflow-x: hidden; }

.rep-link { display: block; color: inherit; text-decoration: none; transition: var(--transition); border-radius: var(--radius); }
.rep-link:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.project-card[id] { scroll-margin-top: 100px; }

/* Whole service card is clickable via its details link (services + home) */
.service-card { position: relative; }
.service-card .service-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }