:root {
  --ink: #101820;
  --muted: #66707d;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: rgba(16, 24, 32, 0.12);
  --navy: #152331;
  --steel: #314457;
  --amber: #c9792b;
  --amber-dark: #a45e1f;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 240, 0.92);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/hero-construction-consultancy.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 22, 31, 0.9) 0%, rgba(14, 22, 31, 0.68) 42%, rgba(14, 22, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(14, 22, 31, 0.55) 0%, rgba(14, 22, 31, 0.18) 45%, rgba(14, 22, 31, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 172px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--amber);
}

.button.primary:hover {
  background: var(--amber-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin-top: 78px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats article {
  padding: 22px;
  background: rgba(16, 24, 32, 0.48);
  backdrop-filter: blur(14px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 20px;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.intro-text p,
.expertise-copy p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-text {
  display: grid;
  gap: 24px;
}

.intro-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.1);
}

.intro-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 24, 32, 0.05);
}

.service-number {
  color: var(--amber);
  font-weight: 800;
}

.service-card h3,
.timeline h3,
.expertise-panel h3 {
  margin: 26px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.service-card p,
.domain-list,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.domain-label {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.domain-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
}

.domain-list li {
  position: relative;
  padding-left: 18px;
}

.domain-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.process {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: var(--navy);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
}

.timeline article {
  padding: 28px;
  background: var(--navy);
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--amber);
  font-weight: 800;
}

.timeline p {
  color: rgba(255, 255, 255, 0.74);
}

.poster-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.poster-copy {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 24, 32, 0.05);
}

.poster-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.poster-frame {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.expertise {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.expertise-copy,
.expertise-panel,
.contact-card {
  border-radius: var(--radius);
}

.expertise-copy {
  padding: 48px;
  background: var(--white);
}

.expertise-copy p {
  margin-top: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--amber-dark);
  font-weight: 800;
}

.expertise-panel {
  padding: 42px;
  color: var(--white);
  background: linear-gradient(145deg, var(--steel), var(--navy));
  box-shadow: var(--shadow);
}

.expertise-panel h3 {
  margin-top: 0;
}

.expertise-panel ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.expertise-panel li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.contact-section {
  padding-top: 24px;
}

.contact-card {
  padding: clamp(34px, 7vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.72)),
    url("assets/hero-construction-consultancy.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.contact-card p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-note {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .poster-feature,
  .expertise {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-stats,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
  }

  .expertise-copy,
  .poster-copy,
  .expertise-panel {
    padding: 30px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
