/* ============================================================
   Rich Engineering, LLC — Main Stylesheet
   ============================================================ */

/* Google Fonts are loaded in each HTML file */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --red: #C8102E;
  --charcoal: #414B5A;
  --white: #FFFFFF;
  --light-bg: #F5F6F8;
  --text-dark: #2C2C2C;
  --footer-bg: #2C3640;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.16);
  --radius: 4px;
  --transition: 0.22s ease;
  --nav-height: 72px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ============================================================
   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(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--light-bg);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 620px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 48px;
  height: 4px;
  background: var(--red);
  margin: 16px 0 32px;
  display: block;
}

.divider--center {
  margin: 16px auto 32px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover, .btn-red:focus {
  background: #a50d25;
  border-color: #a50d25;
  box-shadow: 0 4px 16px rgba(200,16,46,0.30);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover, .btn-outline:focus {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-1px);
}

.btn-outline--dark {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline--dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e4e6ea;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo svg {
  display: block;
}

.nav__logo img {
  display: block;
  height: 42px;
  width: auto;
}

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

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav__links a:hover {
  color: var(--red);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__links a.active {
  color: var(--red);
}

.nav__links .btn-red {
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-left: 8px;
}

.nav__links .btn-red::after {
  display: none;
}

.nav__links .btn-red:hover {
  color: var(--white);
}

/* Keep the Careers button text white even when it's the active page */
.nav__links .btn-red.active {
  color: var(--white);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero — Full Page Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 500px;
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

/* Rotating hero slideshow (homepage) */
.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,54,64,0.78) 0%, rgba(44,54,64,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}

.hero__content h1 {
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__content p {
  color: rgba(255,255,255,0.90);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 32px;
  font-family: var(--font-body);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  display: block;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__cta-group .btn {
  min-width: 190px;
  text-align: center;
}

/* ============================================================
   Inner Page Hero
   ============================================================ */
.hero--inner {
  min-height: 280px;
}

.hero--inner .hero__content {
  max-width: 700px;
}

.hero--inner h1 {
  margin-bottom: 0;
}

.hero--inner .hero__subtitle {
  color: rgba(255,255,255,0.80);
  font-size: 1rem;
  margin-top: 10px;
  font-family: var(--font-body);
}

/* ============================================================
   About / Intro Section
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid__img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow);
}

.about-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid__text .btn {
  margin-top: 8px;
}

/* ============================================================
   Services Grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e4e6ea;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #e8eaee;
  line-height: 1;
  margin-bottom: 12px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Project Cards
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.project-card__img {
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__img img {
  transform: scale(1.05);
}

.project-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__status {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
  width: fit-content;
}

.status--completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status--in-progress {
  background: #fff3e0;
  color: #e65100;
}

.status--ongoing {
  background: #e3f2fd;
  color: #1565c0;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-card__meta {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.project-card__desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   Who We Serve Banner
   ============================================================ */
.who-we-serve {
  background: var(--red);
  padding: 72px 0;
}

.who-we-serve h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
}

.who-we-serve .section-subtitle {
  color: rgba(255,255,255,0.88);
  text-align: center;
  margin: 0 auto 48px;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.serve-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: background var(--transition);
}

.serve-item:hover {
  background: rgba(255,255,255,0.20);
}

.serve-item__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.serve-item h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   Values Section (About Page)
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.value-card__word {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.value-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   Team Cards
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 880px;
  margin: 48px auto 0;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.team-card__photo {
  height: 260px;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  user-select: none;
}

.team-card__body {
  padding: 28px 32px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-card__certs {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
}

.team-card__bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 28px;
  color: var(--charcoal);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d0d3d8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23414B5A' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 1.1rem;
}

.contact-info-item__text h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 5px;
}

.contact-info-item__text p,
.contact-info-item__text a {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.contact-info-item__text a:hover {
  color: var(--red);
}

/* ============================================================
   Careers Page
   ============================================================ */
.careers-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.careers-content h2 {
  margin-bottom: 12px;
}

.careers-content p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 16px;
}

.careers-apply-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin: 48px 0;
  border: 1px solid #e4e6ea;
}

.careers-apply-box h3 {
  margin-bottom: 12px;
  color: var(--charcoal);
}

.careers-apply-box p {
  color: #666;
  margin-bottom: 28px;
  font-size: 0.975rem;
}

.eeo-statement {
  background: var(--white);
  border-left: 4px solid var(--charcoal);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.eeo-statement h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.eeo-statement p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  background: var(--charcoal);
  padding: 40px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

/* ============================================================
   Services Detail (services.html)
   ============================================================ */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-detail-card__number {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

.service-detail-card h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--charcoal);
  line-height: 1.35;
}

.service-detail-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
  line-height: 1.75;
  max-width: 320px;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 18px;
  display: block;
}

.footer__logo {
  display: inline-block;
  background: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  line-height: 0;
}

.footer__logo img {
  display: block;
  height: 38px;
  width: auto;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 18px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__col address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}

.footer__col address a {
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}

.footer__col address a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.40);
  margin: 0;
}

/* Mission Statement list (About page) */
.mission-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 28px;
  margin-bottom: 6px;
}

.mission-text strong {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Footer legal / equal-opportunity statement */
.footer__legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 0 4px;
  text-align: center;
}

.footer__legal p {
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid #e4e6ea;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    gap: 2px;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 12px 16px;
    font-size: 0.88rem;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__links .btn-red {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 12px 16px;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: 420px;
    padding: 40px 0;
  }

  .hero--inner {
    min-height: 220px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-grid__img {
    height: 260px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-detail-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: 1fr;
    max-width: 480px;
  }

  .serve-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============================================================
   Responsive — 480px
   ============================================================ */
@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 380px;
    padding: 36px 0;
  }

  .hero--inner {
    min-height: 200px;
  }

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

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-form {
    padding: 28px 20px;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }
}
