:root {
  color-scheme: dark;
  --navy: #071629;
  --blue: #0b2444;
  --blue-2: #0f355f;
  --orange: #f47b20;
  --orange-2: #ff9a3d;
  --ink: #f7fbff;
  --muted: #b9c6d6;
  --line: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(7, 22, 41, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand, .site-nav, .hero-actions, .safety-inner, .contact-panel { display: flex; align-items: center; }
.brand { gap: 12px; font-weight: 800; letter-spacing: 0; }
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
}
.brand > span {
  display: grid;
  gap: 2px;
}
.hero-logo-large {
  width: 252px; /* 42px * 6 */
  height: 252px;
  object-fit: contain;
  display: block;
  margin: 0 0 12px 0;
}

.contact-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  align-self: center;
  margin-bottom: 8px;
}

.contact-panel h2 {
  width: 100%;
  text-align: center;
  margin: 0;
}

/* Careers page: use blue contact panels for better contrast */
.careers-page .contact-panel {
  background: var(--blue);
  color: var(--ink);
  border-color: rgba(255,255,255,0.06);
}
.careers-page .contact-panel a:not(.btn) { color: var(--muted); }
.site-nav { gap: clamp(10px, 1.5vw, 20px); color: var(--muted); font-size: 13px; font-weight: 800; }
.site-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--white); border-color: var(--orange); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); }

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 70px) clamp(58px, 8vw, 96px);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 64% center; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 22, 41, 0.96) 0%, rgba(7, 22, 41, 0.8) 36%, rgba(7, 22, 41, 0.24) 78%),
    linear-gradient(0deg, var(--navy) 0%, rgba(7, 22, 41, 0) 34%);
}
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 6.2vw, 84px); line-height: 0.98; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.08; letter-spacing: 0; }
h3 { font-size: 22px; line-height: 1.18; }
p { color: var(--muted); line-height: 1.68; }
.hero p { max-width: 650px; font-size: clamp(17px, 2vw, 21px); }
.hero-lede {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(21px, 2.4vw, 30px) !important;
  font-weight: 850;
  line-height: 1.25 !important;
}
.hero-actions { flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 850;
}
.btn.primary { background: var(--orange); border-color: var(--orange); color: #160b03; }
.btn.secondary { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.text-link { display: inline-block; margin-top: 12px; color: var(--orange-2); font-weight: 850; }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}
.stat { background: var(--blue); padding: clamp(20px, 3vw, 32px); }
.stat strong { display: block; color: var(--orange-2); font-size: 28px; margin-bottom: 8px; }
.stat span { color: var(--muted); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 88px); align-items: start; }
.copy-block p { font-size: 18px; }
.service-band { background: #eef4fa; color: #071629; }
.service-band p, .service-band .card p { color: #4c5d70; }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.card-grid, .values, .service-list, .safety-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card, .values article, .service-list article, .safety-grid article, .project-grid article, .contact-panel, .contact-form {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--blue);
}
.service-band .card { background: var(--white); border-color: rgba(7, 22, 41, 0.12); }
.service-band .text-link.dark { color: #9d4a0f; }

.check-list,
.plain-list,
.service-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-list li,
.plain-list li,
.service-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  line-height: 1.55;
}

.check-list li::before,
.plain-list li::before,
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-2);
  font-weight: 900;
}

.service-list.detailed article {
  background: linear-gradient(145deg, var(--blue), #102e53);
}

.service-list.detailed ul {
  display: grid;
  gap: 10px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid article {
  min-height: 230px;
  background:
    linear-gradient(0deg, rgba(7, 22, 41, 0.94), rgba(7, 22, 41, 0.6)),
    url("civil-infra-hero.png");
  background-size: cover;
  background-position: center;
}

.project-grid article:nth-child(2) { background-position: 72% center; }
.project-grid article:nth-child(3) { background-position: 88% center; }

.client-band {
  background: #eef4fa;
  color: var(--navy);
}

.client-band .section {
  padding-top: clamp(44px, 7vw, 78px);
  padding-bottom: clamp(44px, 7vw, 78px);
}

.client-band .eyebrow { color: #b45112; }

.client-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.client-strip span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(7, 22, 41, 0.12);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.fine-print {
  margin: 18px 0 0;
  color: #69788b;
  font-size: 14px;
}

.project-table {
  display: grid;
  gap: 14px;
}

.project-table article {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project-table article > div {
  min-height: 132px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--blue);
}

.project-table h3,
.project-table p {
  margin-bottom: 0;
}

.project-table strong {
  color: var(--orange-2);
  font-size: 22px;
}

.table-label {
  margin-bottom: 10px !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-total-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.client-total-grid article {
  min-height: 112px;
  padding: 20px;
  background: var(--blue);
  border: 1px solid var(--line);
}

.client-total-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.client-total-grid strong {
  color: var(--orange-2);
  font-size: 22px;
}

.experience-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--blue);
}

.experience-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.experience-table th,
.experience-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.experience-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #123763;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-table td {
  color: var(--muted);
}

.experience-table td:first-child,
.experience-table td:last-child {
  color: var(--white);
  font-weight: 850;
}

.experience-table td:first-child {
  width: 22%;
}

.experience-table td:nth-child(2) {
  width: 30%;
}

.experience-table td:nth-child(3) {
  width: 34%;
}

.experience-table td:last-child {
  width: 14%;
  white-space: nowrap;
  color: var(--orange-2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.gallery.large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background-image: linear-gradient(0deg, rgba(7, 22, 41, 0.92), rgba(7, 22, 41, 0.1)), url("civil-infra-hero.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.gallery article:nth-child(2) { background-position: 70% 45%; }
.gallery article:nth-child(3) { background-position: 45% 60%; }
.gallery article:nth-child(4) { background-position: 82% 56%; }
.gallery article:nth-child(5) { background-position: 58% 40%; }
.gallery article:nth-child(6) { background-position: 72% 72%; }
.gallery span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  font-weight: 900;
  font-size: 18px;
}
.safety-callout { background: var(--blue-2); }
.safety-inner { justify-content: space-between; gap: 28px; }
.safety-inner h2 { max-width: 760px; }

.page { padding-top: 74px; }
.page-hero { padding-top: clamp(74px, 12vw, 126px); }
.page-hero p { max-width: 760px; font-size: 19px; }
.page-hero h1 {
  max-width: 980px;
}
.values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-list article h2, .safety-grid article h2 { font-size: 25px; }
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--white); font-weight: 800; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 14px;
  font: inherit;
}
.contact-panel { flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-panel { flex-direction: column; align-items: flex-start; gap: 14px; background: var(--orange); color: #071629; border-color: rgba(0,0,0,0.06); }
.contact-panel a:not(.btn) { color: inherit; font-weight: 800; }
.contact-panel .fine-print { color: rgba(3,19,33,0.7); }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}
.contact-link .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: inherit;
}
.whatsapp {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: transparent;
}

.whatsapp-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--blue);
    border: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; }
  .stats, .gallery, .gallery.large, .card-grid, .values, .service-list, .safety-grid, .project-grid, .project-grid.large, .project-table article, .split, .contact-layout, .client-strip, .check-list {
    grid-template-columns: 1fr;
  }
  .safety-inner { display: grid; align-items: start; }
}

@media (max-width: 560px) {
  .brand span:last-child { max-width: 210px; line-height: 1.1; }
  h1 { font-size: clamp(36px, 13vw, 54px); }
  .hero { min-height: 90svh; padding-left: 20px; padding-right: 20px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7, 22, 41, 0.96), rgba(7, 22, 41, 0.62)), linear-gradient(0deg, var(--navy), rgba(7, 22, 41, 0)); }
  .btn { width: 100%; }
}
