/* ============================================================
   CONTECH GROUP LTD — MAIN STYLESHEET
   Brand: Red #D03030 | Steel #2C2C2C | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #D03030;
  --red-dark:    #A82020;
  --red-light:   #E84444;
  --steel:       #2C2C2C;
  --steel-mid:   #4A4A4A;
  --steel-light: #6B6B6B;
  --grey-bg:     #F4F4F2;
  --grey-line:   #E0E0DC;
  --white:       #FFFFFF;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --nav-height:   108px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--white);
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── NAVIGATION ── */
/* Scoped to #main-nav only so that other <nav> elements
   on the page (e.g. .ind-nav industry sub-navigation) keep
   their normal in-flow position. v13: was previously the
   bare "nav" selector which made every <nav> fixed at top. */
nav#main-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.nav-top {
  background: var(--steel);
  padding: 6px 56px;
  display: flex; justify-content: flex-end; align-items: center; gap: 24px;
  font-size: 12px; color: rgba(255,255,255,0.6);
  border-bottom: none;
}
.nav-top a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav-top a:hover { color: var(--red); }
.nav-top .sep { color: rgba(255,255,255,0.2); }
.nav-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-logo-badge {
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  letter-spacing: 2px; padding: 6px 16px; border-radius: 3px;
}
.nav-logo-sub {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; color: var(--steel-light); text-transform: uppercase; line-height: 1.3;
}
.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links li { position: relative; }
/* non-mega plain items */
.nav-links > li:not(.has-mega):not(.nav-sep-item) > a:not(.nav-cta-btn):not(.nav-plain-link) {
  display: block; padding: 0 16px; height: 72px; line-height: 72px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--steel); border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-links > li:not(.has-mega):not(.nav-sep-item) > a:not(.nav-cta-btn):not(.nav-plain-link):hover { color: var(--red); border-bottom-color: var(--red); }
.nav-cta-btn {
  background: var(--red) !important; color: var(--white) !important;
  padding: 10px 20px !important; height: auto !important; line-height: 1 !important;
  margin-left: 12px; border-radius: 2px; border-bottom: none !important;
  font-size: 11.5px !important; transition: background 0.2s !important;
}
.nav-cta-btn:hover { background: var(--red-dark) !important; border-bottom-color: transparent !important; }

/* ── NAV SEPARATOR & PLAIN LINK ── */
.nav-sep-item { display: flex; align-items: center; padding: 0 8px; }
.nav-sep-line { width: 1px; height: 28px; background: var(--grey-line); display: block; }
.nav-plain-link {
  display: block; padding: 0 16px; height: 72px; line-height: 72px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--steel); border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.nav-plain-link:hover, .nav-plain-link.active { color: var(--red); border-bottom-color: var(--red); }

/* ── MEGA OVERLAY ── */
.mega-overlay {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35); z-index: 200;
  pointer-events: none;
}
.mega-overlay.visible { display: block; pointer-events: auto; }

/* ── MEGA-DROP CONTAINER ── */
.mega-drop {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  z-index: 500;
  background: var(--white);
  border-top: 3px solid var(--red);
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
}

/* ── MEGA PANEL ── */
.mega-panel {
  display: flex;
  max-width: 100%;
  min-height: 300px;
}

/* Blue left panel */
.mega-blue {
  width: 300px;
  flex-shrink: 0;
  background: var(--steel);
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.mega-blue-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 16px; line-height: 1.1;
}
.mega-blue-desc {
  font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.82);
  margin-bottom: 28px; flex: 1;
}
.mega-blue-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px;
  transition: border-color 0.2s;
}
.mega-blue-cta:hover { border-bottom-color: var(--white); }

/* Body columns */
.mega-body {
  flex: 1; display: flex; gap: 0;
  padding: 36px 56px 36px 44px;
}
.mega-body-news { flex-direction: column; }

.mega-col {
  flex: 1; padding-right: 36px; border-right: 1px solid var(--grey-line);
  margin-right: 36px;
}
.mega-col:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.mega-col-heading {
  font-size: 14px; font-weight: 600; color: var(--steel);
  margin-bottom: 16px;
}
.mega-link {
  display: block; padding: 7px 0;
  font-size: 13.5px; color: var(--steel);
  border-bottom: 1px solid var(--grey-line);
  transition: color 0.15s;
}
.mega-link:last-child { border-bottom: none; }
.mega-link:hover { color: var(--red); }

/* Promo image column */
.mega-promo { width: 220px; flex-shrink: 0; padding-left: 32px; }
.mega-promo-img {
  width: 100%; height: 148px; object-fit: cover; display: block; margin-bottom: 10px;
}
.mega-promo-cta {
  font-size: 14px; font-weight: 500; color: var(--steel); transition: color 0.2s;
}
.mega-promo-cta:hover { color: var(--red); }

/* News grid */
.mega-news-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.mega-news-item { display: block; }
.mega-news-img {
  width: 100%; height: 155px;
  background-size: cover; background-position: center; margin-bottom: 10px;
}
.mega-news-label {
  font-size: 14px; color: var(--steel); line-height: 1.4; transition: color 0.2s;
}
.mega-news-item:hover .mega-news-label { color: var(--red); }

/* Careers dual promo */
.mega-promo2 { display: flex; gap: 20px; flex-shrink: 0; }
.mega-promo2-item { display: block; width: 210px; }
.mega-promo2-img {
  width: 100%; height: 155px;
  background-size: cover; background-position: center; margin-bottom: 10px;
}
.mega-promo2-label { font-size: 14px; color: var(--steel); line-height: 1.4; transition: color 0.2s; }
.mega-promo2-item:hover .mega-promo2-label { color: var(--red); }

/* Active state on mega trigger */
.has-mega > a {
  display: block; padding: 0 16px; height: 72px; line-height: 72px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--steel); border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.has-mega.mega-open > a,
.has-mega > a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative; height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--steel);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 56px 52px;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero-breadcrumb a:hover { color: var(--red); }
.page-hero-breadcrumb .bc-sep { color: rgba(255,255,255,0.25); }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px);
  font-weight: 800; text-transform: uppercase; color: var(--white);
  line-height: 0.95; letter-spacing: -1px;
}
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 14px;
  max-width: 520px; line-height: 1.6; font-weight: 300;
}

/* ── SECTION COMMONS ── */
section { padding: 88px 56px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.section-eyebrow-line { width: 32px; height: 2px; background: var(--red); flex-shrink: 0; }
.section-eyebrow span {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
}
.section-title {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; text-transform: uppercase; color: var(--steel);
  line-height: 1.0; letter-spacing: -0.5px;
}
.section-title em { color: var(--red); font-style: normal; }
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 17px; line-height: 1.8; color: var(--steel-mid);
  max-width: 680px; margin-top: 16px;
}
.section-lead.light { color: rgba(255,255,255,0.7); }
.section-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 52px;
}

/* ── BUTTONS ── */
.btn { display: inline-block; border-radius: 2px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 15px 36px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary {
  background: transparent; color: var(--steel);
  border: 2px solid var(--steel);
  padding: 13px 34px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.btn-secondary:hover { background: var(--steel); color: var(--white); }
.btn-ghost-white {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 15px 36px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.btn-ghost-white:hover { border-color: var(--white); }
.btn-white {
  background: var(--white); color: var(--red);
  padding: 17px 44px; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}
.btn-white:hover { background: #f0f0f0; }
.view-all {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid var(--red); padding-bottom: 2px;
  transition: opacity 0.2s; white-space: nowrap;
}
.view-all:hover { opacity: 0.7; }

/* ── CARDS ── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.service-card {
  background: var(--white); padding: 40px 36px;
  border-top: 3px solid var(--grey-line);
  position: relative; overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
  cursor: default;
}
.service-card:hover { background: var(--steel); border-top-color: var(--red); }
.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .svc-num { color: var(--white); }
.svc-num {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; color: var(--red); margin-bottom: 20px;
  transition: color 0.25s;
}
.service-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  text-transform: uppercase; color: var(--steel); margin-bottom: 12px; line-height: 1.1;
  transition: color 0.25s;
}
.service-desc {
  font-size: 14px; line-height: 1.7; color: var(--steel-light);
  transition: color 0.25s;
}

/* ── PROJECT CARD ── */
.project-card {
  position: relative; overflow: hidden; background: var(--steel);
  display: block; cursor: pointer;
}
.project-img {
  width: 100%; height: 280px;
  background-size: cover; background-position: center;
  transition: transform 0.5s; opacity: 0.75;
}
.project-card:hover .project-img { transform: scale(1.05); opacity: 0.55; }
.project-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.project-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.project-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--white); line-height: 1.1;
}
.project-loc { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--red); padding: 48px 56px;
}
.stats-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item { padding: 16px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-size: 56px; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat-num sup { font-size: 28px; }
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 6px;
}

/* ── CTA BAND ── */
.cta-band { background: var(--red); padding: 80px 56px; text-align: center; }
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 60px);
  font-weight: 800; text-transform: uppercase; color: var(--white);
  margin-bottom: 14px; line-height: 1;
}
.cta-band p {
  font-size: 17px; color: rgba(255,255,255,0.85);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: #1A1A1A; }
.footer-top {
  padding: 72px 56px 52px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1200px; margin: 0 auto;
}
.footer-logo-badge {
  display: inline-flex; background: var(--red);
  padding: 7px 16px; border-radius: 3px; margin-bottom: 18px;
}
.footer-logo-badge span {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: 2px; color: var(--white);
}
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,0.45);
  line-height: 1.8; max-width: 280px; margin-bottom: 20px;
}
.footer-contact-item {
  font-size: 12.5px; color: rgba(255,255,255,0.5);
  margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start;
}
.footer-contact-item strong { color: rgba(255,255,255,0.75); font-weight: 500; min-width: 70px; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col li a {
  font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer-col li a:hover { color: var(--red); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom {
  padding: 20px 56px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 100%;
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--steel-mid); margin-bottom: 8px;
}
.form-label .required { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--grey-line); background: var(--white);
  font-family: var(--font-body); font-size: 15px; color: var(--steel);
  border-radius: 2px; outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 12px; color: var(--steel-light); margin-top: 6px; }

/* ── NEWS CARD ── */
.news-card { border-bottom: 1px solid var(--grey-line); padding-bottom: 32px; }
.news-card-img {
  width: 100%; height: 220px;
  background-size: cover; background-position: center;
  margin-bottom: 20px; overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.news-card-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--steel); line-height: 1.15; margin-bottom: 10px;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--red); }
.news-card-date { font-size: 12px; color: var(--steel-light); margin-bottom: 12px; }
.news-card-excerpt { font-size: 14px; line-height: 1.7; color: var(--steel-mid); }
.news-card-link {
  display: inline-block; margin-top: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid var(--red); padding-bottom: 2px;
}

/* ── TEAM CARD ── */
.team-card {}
.team-photo {
  width: 100%; height: 320px;
  background-size: cover; background-position: top center;
  background-color: var(--grey-bg); margin-bottom: 20px;
}
.team-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  text-transform: uppercase; color: var(--steel); margin-bottom: 4px;
}
.team-role { font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: 1px; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--steel-mid); line-height: 1.7; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--grey-line);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -36px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--red);
}
.timeline-year {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 2px; color: var(--red); margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--steel); margin-bottom: 8px;
}
.timeline-desc { font-size: 14px; color: var(--steel-mid); line-height: 1.7; }

/* ── TABS ── */
.tabs { display: flex; border-bottom: 2px solid var(--grey-line); margin-bottom: 48px; }
.tab-btn {
  padding: 14px 28px; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--steel-light); background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--red); border-bottom-color: var(--red); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── UTILITY ── */
.red { color: var(--red); }
.text-center { text-align: center; }
.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; }
.bg-grey { background: var(--grey-bg); }
.bg-steel { background: var(--steel); }
.divider { border: none; border-top: 1px solid var(--grey-line); margin: 0; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
   ═══════════════════════════════════════════════════════════ */

/* ============================================================
   INDEX HOMEPAGE — DESKTOP COMPONENT STYLES
   Added v13: previously missing — caused unstyled cards and
   plain-text fallbacks across hero, services, why, projects,
   presence, partners, and news sections.
   ============================================================ */

/* ── WHO WE ARE (index) ── */
.who-inner {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 72px; align-items: center;
}
.who-visual { position: relative; }
.who-img {
  width: 100%; height: 520px;
  background-image: url('../images/team-engineers-site.jpg');
  background-size: cover; background-position: center;
}
.who-badge {
  position: absolute; right: -24px; bottom: -24px;
  background: var(--red); color: var(--white);
  padding: 22px 28px; min-width: 160px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.who-badge-num {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  line-height: 1; letter-spacing: 1px;
}
.who-badge-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; color: rgba(255,255,255,0.92); text-align: center;
}
.who-text { padding-left: 8px; }
.who-text > p {
  font-size: 16px; line-height: 1.85; color: var(--steel-mid);
  margin-top: 24px; max-width: 600px;
}
.who-offices { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.who-office { display: flex; gap: 14px; align-items: flex-start; }
.who-office-dot {
  width: 8px; height: 8px; background: var(--red);
  border-radius: 50%; margin-top: 8px; flex-shrink: 0;
}
.who-office-name {
  font-size: 13px; font-weight: 700; color: var(--steel);
  letter-spacing: 0.3px; margin-bottom: 4px; text-transform: uppercase;
}
.who-office-addr { font-size: 13px; color: var(--steel-light); line-height: 1.55; }
.mt-32 { margin-top: 32px; }

/* ── SERVICES SECTION (index) ── */
.services-bg { background: var(--grey-bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--grey-line);
  border: 1px solid var(--grey-line);
}
.svc-card {
  background: var(--white); padding: 40px 32px 36px;
  display: flex; flex-direction: column;
  transition: background 0.25s;
  position: relative; min-height: 280px;
}
.svc-card:hover { background: var(--steel); }
.svc-card:hover .svc-no { color: var(--red-light); }
.svc-card:hover .svc-title,
.svc-card:hover .svc-desc { color: var(--white); }
.svc-card:hover .svc-link { color: var(--white); border-bottom-color: var(--white); }
.svc-no {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--red); line-height: 1; margin-bottom: 14px;
  transition: color 0.25s;
}
.svc-bar {
  width: 36px; height: 2px; background: var(--red); margin-bottom: 22px;
}
.svc-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  text-transform: uppercase; color: var(--steel);
  line-height: 1.1; margin-bottom: 14px; letter-spacing: 0.3px;
  transition: color 0.25s;
}
.svc-desc {
  font-size: 14px; line-height: 1.7; color: var(--steel-mid);
  flex: 1; margin-bottom: 22px;
  transition: color 0.25s;
}
.svc-link {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid var(--red); padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.25s, border-color 0.25s;
}

/* ── WHY CHOOSE US (index) ── */
.why-bg {
  background: var(--steel);
  background-image: linear-gradient(rgba(28,28,28,0.94), rgba(28,28,28,0.94)), url('../images/construction-night.jpg');
  background-size: cover; background-position: center;
}
.why-bg .section-title { color: var(--white); }
.why-inner {
  display: grid; grid-template-columns: 0.95fr 1.1fr;
  gap: 72px; align-items: start;
}
.why-left > p {
  font-size: 16px; line-height: 1.85;
  color: rgba(255,255,255,0.72); margin-top: 22px; max-width: 480px;
}
.why-right { display: flex; flex-direction: column; gap: 0; }
.why-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-no {
  font-family: var(--font-display); font-size: 42px; font-weight: 800;
  color: var(--red); line-height: 1;
}
.why-content h4 {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  text-transform: uppercase; color: var(--white);
  letter-spacing: 0.4px; margin-bottom: 10px; line-height: 1.25;
}
.why-content p {
  font-size: 14.5px; line-height: 1.75;
  color: rgba(255,255,255,0.68);
}

/* ── PROJECTS MOSAIC (index — Featured Projects) ── */
.projects-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 4px; background: var(--grey-line);
}
.projects-mosaic .proj-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.proj-card {
  position: relative; overflow: hidden;
  background: var(--steel); display: block;
}
.proj-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.7; transition: transform 0.6s, opacity 0.3s;
}
.proj-card:hover .proj-bg { transform: scale(1.06); opacity: 0.5; }
.proj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}
.proj-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.proj-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--white);
  line-height: 1.15; margin-bottom: 6px; letter-spacing: 0.3px;
}
.proj-card:nth-child(1) .proj-title { font-size: 26px; }
.proj-loc { font-size: 12.5px; color: rgba(255,255,255,0.7); }

/* ── GLOBAL PRESENCE (index) ── */
.presence-inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 72px; align-items: stretch;
}
.presence-inner > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.presence-offices {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.pres-office {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 18px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-line);
}
.pres-office:last-child { border-bottom: none; }
.pres-flag {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--grey-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; flex-shrink: 0;
}
.pres-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 4px;
}
.pres-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  text-transform: uppercase; color: var(--steel);
  letter-spacing: 0.3px; margin-bottom: 4px; line-height: 1.2;
}
.pres-addr { font-size: 13px; color: var(--steel-light); line-height: 1.55; }
.presence-map-panel {
  background: var(--steel); min-height: 420px;
  display: flex; align-items: center; justify-content: center;
}

/* ── PARTNERS STRIP (index) ── */
.partners-strip {
  background: var(--white);
  padding: 36px 56px;
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
}
.partners-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--steel-light);
  text-align: center; margin-bottom: 22px;
}
.partners-logos {
  display: flex; justify-content: center; align-items: center;
  gap: 0;
}
.partner-logo {
  flex: 1; text-align: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--steel-light);
  padding: 14px 16px;
  border-right: 1px solid var(--grey-line);
  transition: color 0.25s;
}
.partner-logo:last-child { border-right: none; }
.partner-logo:hover { color: var(--red); }

/* ── NEWS & INSIGHTS (index) ── */
.news-grid-home {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.nh-card { display: flex; flex-direction: column; }
.nh-img {
  width: 100%; height: 220px;
  background-size: cover; background-position: center;
  margin-bottom: 18px;
  transition: opacity 0.3s;
}
.nh-card:hover .nh-img { opacity: 0.85; }
.nh-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.nh-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; color: var(--steel);
  line-height: 1.2; margin-bottom: 8px; letter-spacing: 0.2px;
}
.nh-title a { color: inherit; transition: color 0.2s; }
.nh-title a:hover { color: var(--red); }
.nh-date {
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--steel-light); margin-bottom: 14px;
}
.nh-excerpt {
  font-size: 14px; line-height: 1.7; color: var(--steel-mid);
  margin-bottom: 16px; flex: 1;
}
.nh-link {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--red);
  align-self: flex-start;
  transition: color 0.2s;
}
.nh-link:hover { color: var(--red-dark); }

/* ── HERO ACTIONS BUTTON ROW ── */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1024px) {
  section { padding: 64px 32px; }
  .stats-bar { padding: 40px 32px; }
  .cta-band { padding: 64px 32px; }
  .nav-main { padding: 0 32px; }
  .nav-top { padding: 6px 32px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 56px 32px 40px; }
  .footer-bottom { padding: 20px 32px; }
  .section-inner { max-width: 100%; }
  .mega-drop { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Variables ── */
  :root { --nav-height: 60px; }

  /* ── Body ── */
  body { padding-top: var(--nav-height); }

  /* ── Sections ── */
  section { padding: 48px 20px; }
  .stats-bar { padding: 32px 20px; }
  .cta-band { padding: 52px 20px; }

  /* ── NAV — hide desktop links, show hamburger ── */
  .nav-top { display: none; }
  .nav-main { padding: 0 20px; height: 60px; }
  .nav-logo-img { height: 36px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 900; overflow-y: auto;
    padding-bottom: 40px;
  }
  .nav-links.mobile-open li { border-bottom: 1px solid var(--grey-line); }
  .nav-links.mobile-open li.nav-sep-item { display: none; }
  .nav-links.mobile-open > li > a,
  .nav-links.mobile-open .has-mega > a,
  .nav-links.mobile-open .nav-plain-link {
    display: block; padding: 16px 20px; height: auto; line-height: 1.4;
    font-size: 14px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--steel); border-bottom: none;
    border-left: 3px solid transparent;
  }
  .nav-links.mobile-open > li > a:hover,
  .nav-links.mobile-open .has-mega > a:hover,
  .nav-links.mobile-open .nav-plain-link:hover { color: var(--red); border-left-color: var(--red); }
  .nav-links.mobile-open .nav-cta-btn {
    margin: 16px 20px 0; padding: 14px 20px !important;
    font-size: 13px !important; text-align: center;
    display: block !important; height: auto !important;
  }
  .mega-drop { display: none !important; }
  .mega-overlay { display: none !important; }

  /* Mobile sub-menu */
  .mobile-sub { display: none; background: var(--grey-bg); }
  .mobile-sub.open { display: block; }
  .mobile-sub a {
    display: block; padding: 12px 20px 12px 32px;
    font-size: 13px; color: var(--steel-mid);
    border-bottom: 1px solid var(--grey-line);
  }
  .mobile-sub a:hover { color: var(--red); }
  .mobile-toggle-icon { float: right; font-style: normal; }

  /* Hamburger button */
  .nav-hamburger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 36px; height: 36px; cursor: pointer;
    background: none; border: none; padding: 4px;
  }
  .nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--steel); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Page hero ── */
  .page-hero { height: 260px; }
  .page-hero-content { padding: 0 20px 32px; }
  .page-hero h1 { font-size: 36px; letter-spacing: -0.5px; }
  .page-hero-sub { font-size: 14px; }

  /* ── Section titles ── */
  .section-title { font-size: 28px; }
  .section-lead { font-size: 15px; }
  .section-header-row { flex-direction: column; gap: 16px; margin-bottom: 32px; }

  /* ── Grids → single column ── */
  .card-grid-3,
  .card-grid-4,
  .card-grid-2 { grid-template-columns: 1fr; }

  /* ── Stats bar ── */
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 20px 12px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 40px; }

  /* ── WHO WE ARE (index) ── */
  .who-inner { grid-template-columns: 1fr; gap: 48px; }
  .who-visual { display: none; }
  .who-text { padding-left: 0; }

  /* ── Services grid ── */
  .services-grid { grid-template-columns: 1fr; }

  /* ── Why choose us ── */
  .why-inner { grid-template-columns: 1fr; gap: 40px; }

  /* ── Projects mosaic → stack ── */
  .projects-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .proj-card:nth-child(1) { grid-row: auto; height: 260px; }
  .proj-card { height: 200px; }
  .proj-bg { height: 100%; }

  /* ── Global presence ── */
  .presence-inner { grid-template-columns: 1fr; gap: 40px; }
  .presence-map-panel { min-height: 240px; }

  /* ── Partners strip ── */
  .partners-logos { flex-wrap: wrap; }
  .partner-logo { min-width: 33%; border-right: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); }

  /* ── News grid ── */
  .news-grid-home { grid-template-columns: 1fr; gap: 32px; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px 32px; gap: 32px; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* ── Forms ── */
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 [style*="grid-column:span 2"],
  .form-grid-2 [style*="grid-column: span 2"] { grid-column: span 1 !important; }

  /* ── Contact page ── */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-tabs { flex-wrap: wrap; gap: 4px; }
  .ctab { padding: 10px 14px; font-size: 11px; }
  #ctab-general > div { grid-template-columns: 1fr !important; }

  /* ── Our company grids ── */
  .about-grid { grid-template-columns: 1fr !important; }
  .lead-grid { grid-template-columns: 1fr !important; }
  .gov-grid { grid-template-columns: 1fr !important; }
  .cert-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .timeline-wrapper { grid-template-columns: 1fr !important; }

  /* ── Services page ── */
  .svc-layout { grid-template-columns: 1fr !important; }
  .svc-layout.reverse .svc-sidebar { order: 1 !important; }
  .svc-layout.reverse .svc-body { order: 2 !important; }
  .svc-img { height: 240px !important; }
  .svc-num-large { font-size: 60px !important; }
  .svc-sidebar h2 { font-size: 28px !important; }
  .svc-list { grid-template-columns: 1fr !important; }

  /* ── Projects page ── */
  .proj-grid { grid-template-columns: 1fr !important; }
  .proj-card-full:nth-child(1) { grid-column: span 1 !important; }
  .pc-img { height: 240px !important; }
  .proj-detail-grid { grid-template-columns: 1fr !important; }
  .projects-filter { flex-wrap: wrap; gap: 4px; }
  .filter-btn { padding: 10px 16px; font-size: 11px; }

  /* ── Subcontractors ── */
  .benefits-grid { grid-template-columns: 1fr !important; }
  .process-steps { grid-template-columns: repeat(2, 1fr) !important; }
  .process-steps::before { display: none; }
  .coc-grid { grid-template-columns: 1fr !important; }
  .req-inner { grid-template-columns: 1fr !important; }

  /* ── News page ── */
  .news-main-grid { grid-template-columns: 1fr !important; }
  .news-sidebar-grid { grid-template-columns: 1fr !important; }
  .featured-article { grid-template-columns: 1fr !important; gap: 24px; }
  .fa-img { height: 240px !important; }
  .fa-title { font-size: 24px !important; }

  /* ── Careers page ── */
  .life-grid { grid-template-columns: 1fr !important; }
  .grad-grid { grid-template-columns: 1fr !important; }
  .job-card { grid-template-columns: 1fr !important; }
  .job-card .btn-primary { margin-top: 12px; display: block; text-align: center; }

  /* ── Partnerships page ── */
  .partner-type-grid { grid-template-columns: 1fr !important; }
  .jv-steps { grid-template-columns: repeat(2, 1fr) !important; }
  .jv-step { border-right: none !important; border-bottom: 1px solid var(--grey-line); }
  .donor-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* ── Culture page ── */
  .culture-grid { grid-template-columns: 1fr !important; }
  .esg-block { grid-template-columns: 1fr !important; gap: 32px; }
  .esg-block.reverse .esg-img { order: 1 !important; }
  .esg-block.reverse .esg-text { order: 2 !important; }
  .esg-img { height: 220px !important; }

  /* ── CTA band ── */
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { width: 100%; max-width: 320px; text-align: center; }

  /* ── Presence map ── */
  .pres-office { grid-template-columns: 44px 1fr; }

  /* ── Detail grids in projects ── */
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:2fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 2fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* ── Office panel 3-col → stack ── */
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════════
   SEO — SCREEN READER & ACCESSIBILITY HELPERS
   ══════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — SOCIAL + BOTTOM BAR
   ══════════════════════════════════════════════════════════════ */
.footer-social-inline {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px; flex-wrap: wrap;
  padding: 0 56px 0;
}
.footer-social-icon-plain {
  color: rgba(255,255,255,0.45); transition: color 0.2s;
  display: flex; align-items: center;
}
.footer-social-icon-plain:hover { color: #ffffff; }
.footer-social-inline { padding: 24px 56px 0; }

.footer-bottom {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center;
  padding: 14px 56px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 16px; max-width: 100%;
}
.footer-copy {
  font-size: 11.5px; color: rgba(255,255,255,0.28);
  justify-self: start;
}
.footer-bottom-links {
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.footer-bottom-links a {
  font-size: 11.5px; color: rgba(255,255,255,0.38);
  transition: color 0.2s; white-space: nowrap;
}
.footer-bottom-links a:hover { color: #ffffff; }
.footer-noox {
  display: flex; align-items: center; gap: 8px;
  justify-self: end;
}
.footer-noox-label {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  white-space: nowrap;
}
.footer-noox-link { display: flex; align-items: center; }

/* ══════════════════════════════════════════════════════════════
   GLOBAL OVERFLOW FIX
   ══════════════════════════════════════════════════════════════ */
html { overflow-x: hidden !important; }
body { overflow-x: hidden !important; max-width: 100vw !important; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — 900px AND BELOW (tablet + phone)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Overflow lock */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; width: 100% !important; }
  *, *::before, *::after { box-sizing: border-box; }
  img, video, iframe { max-width: 100% !important; }

  /* NAV */
  .nav-top { display: none !important; }
  .nav-main { padding: 0 16px !important; height: 60px !important; }
  .nav-logo-img { height: 32px !important; }
  .nav-hamburger { display: flex !important; }
  .nav-links { display: none; }
  :root { --nav-height: 60px; }
  body { padding-top: 60px; }

  /* SECTIONS */
  section { padding: 48px 20px !important; }
  .section-inner { max-width: 100% !important; }
  .stats-bar { padding: 28px 20px !important; }
  .cta-band { padding: 48px 20px !important; }
  .cta-band-actions { flex-direction: column !important; align-items: stretch !important; gap: 12px; }
  .cta-band-actions .btn { width: 100% !important; text-align: center !important; max-width: 100% !important; }

  /* HERO */
  .page-hero { height: 260px !important; }
  .page-hero-content { padding: 0 20px 28px !important; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 42px) !important; }
  .page-hero-sub { font-size: 13px !important; max-width: 100% !important; }
  .page-hero-breadcrumb { font-size: 10px !important; }

  /* SECTION TEXT */
  .section-title { font-size: clamp(22px, 5vw, 34px) !important; }
  .section-lead { font-size: 15px !important; }
  .section-header-row { flex-direction: column !important; gap: 12px; margin-bottom: 28px !important; }

  /* STATS BAR */
  .stats-bar-inner { grid-template-columns: repeat(2,1fr) !important; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.12) !important; padding: 16px 10px !important; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12) !important; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none !important; }
  .stat-num { font-size: 32px !important; }

  /* ALL GRIDS → SINGLE COLUMN */
  .card-grid-3, .card-grid-4, .card-grid-2,
  .about-grid, .lead-grid, .gov-grid,
  .culture-grid, .partner-type-grid,
  .life-grid, .grad-grid, .benefits-grid,
  .news-main-grid { grid-template-columns: 1fr !important; }

  /* CERTIFICATIONS → 2 COL */
  .cert-grid { grid-template-columns: repeat(2,1fr) !important; }
  .cert-badge { font-size: 22px !important; }
  .cert-card { padding: 20px 14px !important; }

  /* ESG BLOCKS */
  .esg-block { grid-template-columns: 1fr !important; gap: 24px !important; padding: 40px 0 !important; }
  .esg-block.reverse .esg-img, .esg-block.reverse .esg-text { order: 0 !important; }
  .esg-img { height: 200px !important; }

  /* SERVICES PAGE */
  .svc-section { padding: 40px 20px !important; }
  .svc-layout, .svc-layout.reverse { grid-template-columns: 1fr !important; gap: 28px !important; }
  .svc-layout.reverse .svc-sidebar { order: 0 !important; }
  .svc-layout.reverse .svc-body { order: 1 !important; }
  .svc-img { height: 200px !important; }
  .svc-num-large { font-size: 56px !important; }
  .svc-sidebar h2 { font-size: 26px !important; }
  .svc-list { grid-template-columns: 1fr !important; }

  /* PROJECTS */
  .proj-grid { grid-template-columns: 1fr !important; }
  .proj-card-full:nth-child(1) { grid-column: span 1 !important; }
  .pc-img { height: 200px !important; }
  .pc-name { font-size: 16px !important; }
  .projects-filter, .news-filter { flex-wrap: wrap !important; gap: 4px !important; }
  .filter-btn, .nf-btn { padding: 8px 12px !important; font-size: 10px !important; }

  /* PARTNERSHIPS */
  .jv-steps { grid-template-columns: 1fr 1fr !important; }
  .jv-step { border-right: none !important; border-bottom: 1px solid var(--grey-line); padding: 24px 16px !important; }
  .jv-step:nth-child(odd) { border-right: 1px solid var(--grey-line) !important; }
  .jv-step-num { font-size: 32px !important; }
  .donor-grid { grid-template-columns: 1fr 1fr !important; }

  /* SUBCONTRACTORS */
  .process-steps { grid-template-columns: 1fr 1fr !important; }
  .process-steps::before { display: none; }
  .coc-grid { grid-template-columns: 1fr !important; }

  /* NEWS */
  .featured-article { grid-template-columns: 1fr !important; gap: 20px !important; }
  .fa-img { height: 200px !important; }
  .fa-title { font-size: 22px !important; }
  .news-with-sidebar { grid-template-columns: 1fr !important; }
  aside { order: 2; }

  /* CAREERS */
  .job-card { grid-template-columns: 1fr !important; gap: 12px !important; }
  .job-card .btn { display: block !important; width: 100% !important; text-align: center !important; }

  /* FORMS */
  .form-grid-2 { grid-template-columns: 1fr !important; }

  /* INLINE STYLE GRID OVERRIDES */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:repeat(3"],
  div[style*="grid-template-columns: repeat(3"],
  div[style*="grid-template-columns:repeat(2"],
  div[style*="grid-template-columns: repeat(2"],
  div[style*="grid-template-columns:1fr 1fr 1fr"],
  div[style*="grid-template-columns:360px"],
  div[style*="grid-template-columns: 360px"],
  div[style*="grid-template-columns:1fr 300px"],
  div[style*="grid-template-columns: 1fr 300px"],
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* TIMELINE */
  .timeline { padding-left: 32px; }
  .timeline-title { font-size: 17px; }

  /* LEAD PHOTOS */
  .lead-photo { height: 180px !important; }
  .about-img { height: 220px !important; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr !important; padding: 36px 20px 28px !important; gap: 28px !important; }
  .footer-tagline { max-width: 100%; }
  .footer-social-inline { padding: 20px 20px 0 !important; gap: 18px; margin-top: 16px; }
  .footer-bottom {
    grid-template-columns: 1fr !important;
    padding: 14px 20px !important; gap: 10px;
  }
  .footer-copy { font-size: 11px; white-space: normal; }
  .footer-bottom-links { justify-content: flex-start !important; gap: 10px; flex-wrap: wrap; }
  .footer-bottom-links a { font-size: 11px; }
  .footer-noox { justify-self: start; margin-top: 4px; }
}

@media (max-width: 480px) {
  .cert-grid { grid-template-columns: 1fr 1fr !important; }
  .donor-grid { grid-template-columns: 1fr !important; }
  .jv-steps { grid-template-columns: 1fr !important; }
  .jv-step:nth-child(odd) { border-right: none !important; }
  .process-steps { grid-template-columns: 1fr !important; }
  .stat-num { font-size: 26px !important; }
  .page-hero h1 { font-size: clamp(22px, 7vw, 34px) !important; }
}

/* ============================================================
   SERVICE / DELIVERY / APPROACH PAGE COMPONENTS (v14)
   Used by all service-*.html and delivery-*.html pages
   ============================================================ */

/* ── SERVICE NAV BAR (within-group navigation) ── */
.service-nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.service-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 56px;
}
.service-nav {
  display: flex; gap: 0;
  border-bottom: 0;
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-nav::-webkit-scrollbar { display: none; }
.service-nav a {
  padding: 14px 22px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--steel-light);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.service-nav a.active,
.service-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ── INTRO GRID ── */
.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.service-intro-lead {
  font-size: 16px; line-height: 1.85;
  color: var(--steel); margin-bottom: 16px;
}
.service-intro-body {
  font-size: 15px; line-height: 1.85;
  color: var(--steel-mid);
}

/* ── CAPABILITY LIST (10-item bullets, two-column) ── */
.capability-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 36px;
  padding: 0;
}
.capability-list li {
  font-size: 14.5px;
  color: var(--steel);
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--grey-line);
  display: flex; gap: 12px; align-items: flex-start;
  line-height: 1.55;
}
.capability-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── VALUE GRID (3 cards) ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 36px 28px;
  background: var(--white);
  border-top: 3px solid var(--red);
  border-left: 1px solid var(--grey-line);
  border-right: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: 0.3px;
}
.value-card p {
  font-size: 14px; line-height: 1.75;
  color: var(--steel-mid);
}

/* Utility */
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }


/* ============================================================
   OUR SERVICES INDEX — SERVICE GRID CARDS (v14)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-grid-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-line);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: var(--red);
}
.sgc-img {
  width: 100%; height: 200px;
  background-size: cover; background-position: center;
}
.sgc-body {
  padding: 28px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.sgc-body-only { padding: 36px 28px; min-height: 200px; }

.sgc-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}
.sgc-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase;
  color: var(--steel);
  line-height: 1.2;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.sgc-desc {
  font-size: 14px; line-height: 1.65;
  color: var(--steel-mid);
  flex: 1;
  margin-bottom: 16px;
}
.sgc-link {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  align-self: flex-start;
}
