:root {
  --font: 'Helvetica Neue', Arial, sans-serif;
  --bg: #EBE8E2;
  --bg-dark: #E3DED4;
  --bg-card: #F6F3ED;
  --text: #2B2823;
  --text-mid: #5C5850;
  --text-muted: #76705F;
  --accent: #9A3324;
  --border: #D8D1C4;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* One-page anchor sections — offset scroll target so the sticky header doesn't cover the heading */
#home, #about, #leadership, #services, #projects, #contact {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: rgba(235, 232, 226, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(43, 40, 35, 0.06);
}
.logo-stack { display: flex; align-items: center; gap: 12px; }
.logo-state { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; letter-spacing: 1.2px; }
.logo-state img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.logo-compact { display: none; }
nav { display: flex; gap: 30px; font-size: 13px; color: var(--text-mid); }
nav a { transition: color 0.2s ease; }
nav a:hover, nav a.active { color: var(--text); font-weight: 700; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

@media (max-width: 820px) {
  .site-header { padding: 18px 24px; }
  nav { gap: 16px; font-size: 12px; }
}

@media (max-width: 640px) {
  .logo-full { display: none; }
  .logo-compact { display: inline-flex; }
  .site-header { padding: 16px 20px; }
  nav { gap: 10px; font-size: 11px; }
}

/* ==========================================================================
   Home (index.html)
   ========================================================================== */

.hero {
  position: relative; height: 600px; display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.78);
  transform: scale(1);
}
.hero-slide.is-active img {
  animation: heroPanZoom 6.5s ease-out forwards;
}
@keyframes heroPanZoom {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide img { animation: none; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43,40,35,0.05) 0%, rgba(43,40,35,0.55) 100%);
}
.hero-copy { position: relative; padding: 0 48px 40px; max-width: 560px; z-index: 2; }
.hero-copy h1 { font-size: 40px; font-weight: 700; line-height: 1.2; color: #F4F2EC; margin-bottom: 16px; }
.hero-copy p { font-size: 14px; color: #E3DFD3; }
.hero-dots {
  position: absolute; right: 48px; bottom: 40px; z-index: 2;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(244,242,236,0.4); cursor: pointer; padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.is-active { background: #F4F2EC; transform: scale(1.3); }

.work { padding: 40px 48px 56px; }
.work-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.work-head h2 { font-size: 17px; font-weight: 700; }
.work-head span { font-size: 13px; color: var(--text-muted); }

.proj-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr; gap: 16px; height: 340px; overflow: hidden; }
.proj-main { position: relative; height: 100%; border-radius: 6px; overflow: hidden; }
.proj-main img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.proj-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(20,18,15,0.75));
}
.proj-overlay .name { font-size: 16px; font-weight: 700; color: #F4F2EC; margin-bottom: 4px; }
.proj-overlay .meta { font-size: 12px; color: #D8D4C8; }

.proj-stack { display: grid; grid-template-rows: 1fr 1fr; height: 100%; gap: 16px; }
.proj-side { position: relative; height: 100%; border-radius: 6px; overflow: hidden; }
.proj-side img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.proj-side .proj-overlay { padding: 14px; }
.proj-side .proj-overlay .name { font-size: 13px; }

.quote-strip {
  padding: 36px 48px; background: var(--bg-dark); display: flex; align-items: center; justify-content: center; gap: 64px;
}
.quote-strip .stat { text-align: center; }
.quote-strip .stat .num { font-size: 26px; font-weight: 700; color: var(--text); }
.quote-strip .stat .lbl { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 2px; }

/* Client logo carousel */
.logo-strip { padding: 32px 0 40px; border-bottom: 1px solid var(--border); overflow: hidden; }
.logo-strip-label { text-align: center; margin-bottom: 18px; }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track {
  display: flex; align-items: center; gap: 14px; width: max-content;
  animation: logoScroll 32s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-pill {
  flex-shrink: 0; height: 56px; padding: 10px 28px; border: 1px solid var(--border); border-radius: 30px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.3px; color: var(--text-mid);
  background: var(--bg-card); white-space: nowrap;
  display: flex; align-items: center; justify-content: center;
}
.logo-pill-gov { color: var(--accent); border-color: var(--accent); }

.logo-mark { flex-shrink: 0; height: 56px; display: flex; align-items: center; justify-content: center; }
.logo-mark img {
  height: 100%; max-width: 140px; width: auto; object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.3s ease;
}
.logo-mark:hover img { filter: grayscale(0%) opacity(1); }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ==========================================================================
   About (about.html)
   ========================================================================== */

.page-hero { padding: 72px 48px 56px; border-bottom: 1px solid var(--border); }
.page-hero h2 { font-size: 42px; font-weight: 700; line-height: 1.2; }
.page-hero p { font-size: 15px; line-height: 1.8; color: var(--text-mid); margin-top: 20px; max-width: 480px; }
.about-hero-text { display: flex; flex-direction: column; gap: 32px; }
.hero-stat-col { display: flex; gap: 32px; }
.hero-stat .num { font-size: 52px; font-weight: 700; line-height: 1; color: var(--text); }
.hero-stat .lbl { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }

/* History timeline */
.history { padding: 64px 48px; border-bottom: 1px solid var(--border); }
.history h2 { font-size: 22px; font-weight: 700; margin-bottom: 40px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1px 1fr; gap: 0 32px; }
.tl-year { font-size: 22px; font-weight: 700; color: var(--text); padding: 0 0 40px; text-align: right; }
.tl-line { background: var(--border); position: relative; }
.tl-dot {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--text); border: 2px solid var(--bg);
}
.tl-body { padding: 0 0 40px 0; }
.tl-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.tl-body p { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }

/* ISO certs */
.certs { padding: 64px 48px; background: var(--bg-dark); border-bottom: 1px solid var(--border); }
.certs h2 { font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: var(--bg-card); border-radius: var(--radius); padding: 28px 24px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43,40,35,0.10); }
.cert-icon { display: block; color: var(--accent); margin-bottom: 16px; }
.cert-card .standard { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cert-card .name { font-size: 13px; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; }
.cert-card .body { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.cert-card .since { font-size: 11px; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; margin-top: 14px; }

/* Philosophy */
.philosophy { padding: 64px 48px; border-bottom: 1px solid var(--border); }
.philosophy h2 { font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.phil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.phil-card { background: var(--bg-dark); border-radius: var(--radius); padding: 24px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.phil-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43,40,35,0.10); }
.phil-icon { display: block; color: var(--accent); margin-bottom: 14px; }
.phil-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.phil-card p { font-size: 12.5px; line-height: 1.65; color: var(--text-mid); }

/* Policy */
.policy, .quality { padding: 64px 48px; background: var(--text); }
.policy .section-eyebrow, .quality .section-eyebrow { color: #8C8579; }
.policy blockquote, .quality blockquote {
  font-size: 18px; line-height: 1.75; color: #F4F2EC; max-width: 100%;
  border-left: 3px solid var(--accent); padding-left: 28px; margin: 20px 0 32px;
  font-style: italic;
}
.qual-objectives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 100%; margin-top: 24px; }
.qual-obj { display: flex; gap: 12px; align-items: flex-start; }
.qual-obj::before { content: "→"; color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.qual-obj p { font-size: 13.5px; color: #C8C3BA; line-height: 1.6; }

/* ==========================================================================
   Leadership (leadership.html)
   ========================================================================== */

.page-head { padding: 72px 48px 48px; border-bottom: 1px solid var(--border); }
.page-head h2 { font-size: 42px; font-weight: 700; max-width: 480px; line-height: 1.2; }
.page-head p { font-size: 15px; color: var(--text-mid); margin-top: 16px; max-width: 520px; line-height: 1.7; }

.head-with-collage {
  display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center;
}
.img-collage {
  position: relative; height: 400px;
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px;
}
.collage-img { border-radius: 10px; overflow: hidden; box-shadow: 0 14px 32px rgba(43,40,35,0.16); }
.collage-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9); }
.collage-main { grid-column: 1; grid-row: 1 / 3; }
.collage-top { grid-column: 2; grid-row: 1; }
.collage-bottom { grid-column: 2; grid-row: 2; }
.collage-accent {
  position: absolute; bottom: -6%; left: 36%; width: 34%; height: 28%; z-index: 2;
  border: 5px solid var(--bg); box-shadow: 0 16px 36px rgba(43,40,35,0.22);
}

/* Sequential leader sections — one full visual moment per person */
.leader-section {
  display: flex; align-items: center; gap: 64px;
  padding: 64px 48px; border-bottom: 1px solid var(--border);
}
.leader-section.reverse { flex-direction: row-reverse; }

.leader-photo {
  position: relative; overflow: hidden; background: var(--bg-dark);
  flex: 0 0 300px; width: 300px; aspect-ratio: 4 / 5; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(43,40,35,0.14);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; transition: transform 0.5s ease; }
.leader-section:hover .leader-photo img { transform: scale(1.04); }
.leader-photo .role-tag {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(43,40,35,0.82); color: #F4F2EC;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px;
  border-radius: 20px;
}

.leader-bio { position: relative; flex: 1 1 auto; min-width: 0; }
.leader-bio .number {
  position: absolute; top: -32px; left: -6px; z-index: 0;
  font-size: 168px; font-weight: 800; line-height: 1;
  color: var(--text); opacity: 0.06; letter-spacing: -4px;
  pointer-events: none; user-select: none;
}
.leader-bio h3, .leader-bio .title, .leader-bio p { position: relative; z-index: 1; }
.leader-bio h3 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.leader-bio .title { font-size: 14px; color: var(--accent); letter-spacing: 0.5px; margin-bottom: 24px; font-weight: 500; }
.leader-bio p { font-size: 14px; line-height: 1.75; color: var(--text-mid); margin-bottom: 14px; }
.leader-bio p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Services (services.html)
   ========================================================================== */

.civil-works { padding: 64px 48px; border-bottom: 1px solid var(--border); }
.civil-works h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.civil-works .sub { font-size: 14px; color: var(--text-mid); margin-bottom: 36px; max-width: 560px; line-height: 1.6; }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.service-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.service-item:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--border); }
.service-item:nth-child(even) { padding-left: 40px; }
.service-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.service-num { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; font-weight: 700; min-width: 20px; margin-top: 2px; }
.service-text { font-size: 14px; line-height: 1.6; color: var(--text); }

/* Building types — photo-card grid with real images */
.building-types { padding: 64px 48px; background: var(--bg-dark); border-bottom: 1px solid var(--border); }
.building-types h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.building-types .sub { font-size: 14px; color: var(--text-mid); margin-bottom: 36px; }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 200px; box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow 0.25s ease; }
.type-card:hover { box-shadow: 0 12px 28px rgba(43,40,35,0.18); }
.type-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.75); transition: transform 0.4s ease; }
.type-card:hover img { transform: scale(1.06); }
.type-card .overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px;
  background: linear-gradient(180deg, transparent 40%, rgba(20,18,15,0.72) 100%);
}
.type-card .overlay span { font-size: 15px; font-weight: 700; color: #F4F2EC; }

/* Named credibility — architects and RCC consultants */
.credibility { padding: 64px 48px; border-bottom: 1px solid var(--border); }
.credibility h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.credibility .sub { font-size: 14px; color: var(--text-mid); margin-bottom: 36px; max-width: 560px; line-height: 1.6; }
.cred-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 760px; }
.cred-col h3 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.cred-names { display: flex; flex-direction: column; gap: 0; }
.cred-name {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.cred-name .count { font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   Projects (projects.html)
   ========================================================================== */

.filter-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding: 18px 48px; background: var(--bg-dark);
}
.filter-group { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 12.5px; padding: 8px 16px; border-radius: 20px; color: var(--text-mid); background: var(--bg-card); cursor: pointer;
  border: 1px solid transparent;
}
.chip.active { background: var(--text); color: #F4F2EC; }
.sort-select {
  font-size: 12.5px; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-mid);
}

.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 28px 48px 56px; }
.proj-card { border-radius: 8px; overflow: hidden; background: var(--bg-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43,40,35,0.14); }
.proj-card .thumb { position: relative; height: 200px; overflow: hidden; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.4s ease; }
.proj-card:hover img { transform: scale(1.06); }
.proj-card .type-pill {
  position: absolute; top: 12px; left: 12px; background: rgba(43,40,35,0.78); color: #F4F2EC;
  font-size: 11px; padding: 5px 12px; border-radius: 14px;
}
.proj-card .status-pill {
  position: absolute; top: 12px; right: 12px; color: #F4F2EC;
  font-size: 11px; padding: 5px 12px; border-radius: 14px; font-weight: 600;
}
.proj-card .status-pill.status-completed { background: rgba(90,110,90,0.85); }
.proj-card .status-pill.status-ongoing { background: var(--accent); }
.proj-card .thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--border));
  color: var(--text-muted);
}
.proj-card .info { padding: 16px 18px; }
.proj-card .name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.proj-card .location { font-size: 12.5px; color: var(--text-muted); margin-bottom: 12px; }
.proj-card .specs { display: flex; flex-direction: column; gap: 6px; }
.proj-card .spec-line { font-size: 12px; color: var(--text-mid); display: flex; justify-content: space-between; }
.proj-card .spec-line .v { color: var(--text); font-weight: 500; }
.proj-card .no-data { font-size: 11.5px; color: var(--text-muted); font-style: italic; }
.proj-card.is-hidden { display: none; }
.proj-card .thumb[data-images] { cursor: zoom-in; }
.proj-card .photo-count {
  position: absolute; bottom: 10px; right: 12px; background: rgba(43,40,35,0.78); color: #F4F2EC;
  font-size: 10.5px; padding: 4px 9px; border-radius: 12px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(20,18,15,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-stage { display: flex; flex-direction: column; align-items: center; max-width: 88vw; max-height: 88vh; }
.lightbox-img { max-width: 88vw; max-height: 74vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-caption { color: #F4F2EC; margin-top: 16px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.lightbox-counter { color: rgba(244,242,236,0.6); font-size: 12px; }
.lightbox-dots { display: flex; gap: 6px; margin-top: 12px; }
.lightbox-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(244,242,236,0.35); cursor: pointer; border: none; padding: 0; }
.lightbox-dot.is-active { background: #F4F2EC; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none; color: #F4F2EC; cursor: pointer;
  opacity: 0.8; padding: 8px;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(244,242,236,0.1); border: none;
  color: #F4F2EC; cursor: pointer; padding: 12px; border-radius: 50%; transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(244,242,236,0.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav.is-hidden-nav { display: none; }
@media (max-width: 640px) {
  .lightbox-nav { padding: 8px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ==========================================================================
   Contact (contact.html)
   ========================================================================== */

.contact-body {
  display: grid; grid-template-columns: 1fr 1.4fr;
  min-height: 520px; border-bottom: 1px solid var(--border);
}

.careers-cta { padding: 0 48px 64px }

/* Careers application modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(20,18,15,0.6);
  display: flex; align-items: center; justify-content: center; padding: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-panel {
  position: relative; background: var(--bg); border-radius: 10px;
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  padding: 40px; box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: translateY(12px); transition: transform 0.2s ease;
}
.modal-overlay.is-open .modal-panel { transform: translateY(0); }
.modal-panel .contact-form { padding: 0; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  color: var(--text-muted); cursor: pointer; padding: 6px; line-height: 0;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }

.contact-info { padding: 56px 48px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 40px; }
.info-icon { display: block; color: var(--accent); margin-bottom: 10px; }
.info-block h3 { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.info-block p { font-size: 14.5px; line-height: 1.8; color: var(--text); }
.info-block a { color: var(--accent); }
.info-block a:hover { text-decoration: underline; }
.info-block .muted { color: var(--text-muted); font-size: 13px; }

.contact-form { padding: 56px 52px; }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font); font-size: 14px; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
  padding: 12px 14px; outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-row { margin-top: 20px; display: flex; align-items: center; gap: 16px; }
.btn-submit {
  font-family: var(--font); font-size: 14px; font-weight: 700;
  background: var(--text); color: #F4F2EC; border: none;
  padding: 14px 32px; border-radius: 6px; cursor: pointer; letter-spacing: 0.3px;
  transition: background 0.2s;
}
.btn-submit:hover { background: #1A1511; }
.form-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Map placeholder */
.map-strip {
  height: 280px; background: var(--bg-dark); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.map-strip iframe { width: 100%; height: 100%; border: none; }
.map-strip .map-note {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(43,40,35,0.75); color: #F4F2EC;
  font-size: 11px; padding: 6px 12px; border-radius: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--bg-dark); border-top: 1px solid var(--border); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 56px 48px 40px;
}
.footer-brand img { height: 44px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: var(--text-mid); max-width: 340px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--text-mid); }
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--text-mid); }
.footer-contact a,
.footer-contact span { display: flex; align-items: center; gap: 10px; }
.footer-contact a { transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 48px 28px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-muted); letter-spacing: 0.3px;
}
.footer-doc-link { color: var(--text-muted); text-decoration: underline; }
.footer-doc-link:hover { color: var(--text); }

/* ==========================================================================
   Scroll reveal + counters
   ========================================================================== */

[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

iframe { max-width: 100%; }

@media (max-width: 960px) {
  .contact-body { grid-template-columns: 1fr; }
  .head-with-collage { grid-template-columns: 1fr; gap: 32px; }
  .hero-stat-col { gap: 40px; }
  .img-collage { height: 300px; }
  .cert-grid, .phil-grid, .types-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .proj-grid { grid-template-columns: 1fr; height: auto; }
  .proj-main { height: 260px; }
  .proj-stack { grid-template-rows: 1fr 1fr; height: 260px; }

  .leader-section, .leader-section.reverse { flex-direction: column; gap: 28px; }
  .leader-photo { width: 240px; flex-basis: 240px; }
  .leader-bio { text-align: center; }
  .leader-bio p { text-align: left; }
  .leader-bio .number { top: -20px; left: 50%; transform: translateX(-50%); font-size: 120px; }
}

@media (max-width: 820px) {
  .page-hero, .page-head, .history, .certs, .philosophy, .policy,
  .civil-works, .building-types, .credibility, .work, .quote-strip,
  .contact-info, .contact-form, .leader-section, .filter-bar, .projects-grid,
  .hero-copy, .footer-top, .footer-bottom {
    padding-left: 28px; padding-right: 28px;
  }

  .page-hero h2, .page-head h2 { font-size: 32px; }
  .hero-copy h1 { font-size: 30px; }
  .hero { height: 360px; }
}

@media (max-width: 640px) {
  .page-hero, .page-head { padding: 40px 20px 32px; }
  .img-collage { height: 240px; }
  .hero-stat-col { gap: 24px; flex-wrap: wrap; }
  .history, .certs, .philosophy, .policy, .civil-works, .building-types,
  .credibility { padding: 40px 20px; }
  .work { padding: 28px 20px 40px; }
  .quote-strip { padding: 24px 20px; }
  .filter-bar { padding: 16px 20px; }
  .projects-grid { padding: 20px 20px 40px; }
  .leader-section { padding: 40px 20px; }
  .contact-info, .contact-form { padding: 32px 24px; }
  .careers-cta { padding: 0 20px 40px; }
  .modal-overlay { padding: 16px; }
  .modal-panel { padding: 28px 20px; }
  .modal-panel .contact-form { padding: 0; }

  .page-hero h2, .page-head h2 { font-size: 26px; }
  .hero-copy h1 { font-size: 24px; }
  .hero { height: 300px; }
  .hero-copy { padding: 0 20px 28px; }

  .cert-grid, .phil-grid, .types-grid, .projects-grid, .cred-cols,
  .services-list, .qual-objectives, .form-row {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .service-item:nth-child(even) { padding-left: 0; }

  .tl-item { grid-template-columns: 1fr; }
  .tl-year { text-align: left; padding-bottom: 8px; }
  .tl-line { display: none; }

  .leader-photo { width: 200px; flex-basis: 200px; }

  .contact-body { border-right: none; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); }

  .quote-strip { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
  .hero-dots { right: 20px; bottom: 20px; }

  .proj-main { height: 200px; }
  .proj-stack { height: auto; }
  .proj-side { height: 140px; }

  .footer-top { grid-template-columns: 1fr; padding: 40px 20px 32px; gap: 28px; }
  .footer-bottom { flex-direction: column; padding: 16px 20px 24px; }
}
