:root {
  --ink: #171717;
  --muted: #66615a;
  --paper: #f8f6f1;
  --white: #ffffff;
  /* Updated colors to match the logo */
  --steel: #0d325a; /* Deep Navy Blue */
  --gold: #dfa629;  /* Golden Yellow */
  --terra: #828487; /* Logo Grey */
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 24px 70px rgba(24, 30, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: rgba(248, 246, 241, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Image Logo styles replacing the old text mark */
.brand-logo {
  flex: 0 0 auto;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #33302c;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 46px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1590725140246-20acdee442be?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 50, 90, 0.88), rgba(13, 50, 90, 0.48), rgba(13, 50, 90, 0.18)),
    linear-gradient(0deg, rgba(13, 50, 90, 0.5), transparent 45%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ink);
  background: var(--gold);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  align-self: end;
  width: min(740px, 100%);
  margin-left: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 22px;
  background: rgba(13, 50, 90, 0.58);
  backdrop-filter: blur(14px);
}

.hero-panel strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-heading {
  max-width: 760px;
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: end;
}

.intro > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-card,
.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(31, 36, 38, 0.08);
}

.service-card img,
.project-card img {
  height: 220px;
  object-fit: cover;
}

.service-card div,
.project-card div {
  padding: 22px;
}

.service-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

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

.project-card {
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.project-card.hide {
  display: none;
}

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

.project-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--terra);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process {
  width: 100%;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--steel);
}

.process .section-heading {
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.timeline article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.why-image img {
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.why-content ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.why-content li {
  padding: 16px 18px;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(25, 26, 28, 0.07);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #3d3832;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--terra);
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 860px;
  }

  .intro,
  .why,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .why-image img {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    max-width: 190px;
    overflow-wrap: anywhere;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 820px;
    padding-top: 126px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4.6rem);
  }

  .hero-panel,
  .service-grid,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}