:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #60706a;
  --bg: #f6f5ef;
  --panel: #ffffff;
  --panel-strong: #eef2ec;
  --line: #d8ded5;
  --green: #173f35;
  --green-2: #2f6b57;
  --yellow: #d9a72f;
  --rust: #a95f32;
  --blue: #395f80;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(30, 39, 35, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 42px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 245, 239, 0.94);
  box-shadow: 0 8px 24px rgba(20, 30, 26, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #19231f;
  background: var(--yellow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1.15;
}

.brand-text span {
  font-size: 12px;
  color: currentColor;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 32px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #121a17;
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  z-index: -2;
  background-image: url("assets/hero-construction-planning.png");
  background-image: image-set(
    url("assets/hero-construction-planning.webp") type("image/webp"),
    url("assets/hero-construction-planning.png") type("image/png")
  );
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 17, 15, 0.9) 0%, rgba(12, 21, 18, 0.72) 38%, rgba(14, 20, 18, 0.18) 78%),
    linear-gradient(0deg, rgba(9, 17, 15, 0.72) 0%, rgba(9, 17, 15, 0.1) 42%, rgba(9, 17, 15, 0.28) 100%);
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #121a17;
  background: var(--yellow);
}

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

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 940px;
  margin: 46px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats div {
  padding: 18px;
  background: rgba(6, 14, 12, 0.38);
}

.hero-stats dt {
  margin: 0;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

section {
  scroll-margin-top: 90px;
}

.section-band {
  background: var(--panel-strong);
}

.intro {
  padding: 42px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.intro p:not(.section-kicker),
.section-heading p,
.dashboard-copy p,
.proof-grid p,
.lead-grid p,
.contact-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.services,
.dashboard-section,
.experience,
.lead-magnet,
.contact {
  padding: 84px 0;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(40, 50, 46, 0.06);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--green);
  background: #edf3e8;
  border-radius: var(--radius);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 22px 0 0;
  color: #34433e;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
}

.dashboard-section {
  color: var(--white);
  background: #15231f;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 42px;
  align-items: center;
}

.dashboard-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.toggle {
  min-height: 42px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.toggle.active,
.toggle:hover {
  color: #14211d;
  background: var(--yellow);
  border-color: var(--yellow);
}

.filter-label {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-scope {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 28px;
  padding: 0 15px;
  color: #14211d;
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 900;
}

.dashboard-note {
  margin-top: 18px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  font-size: 14px;
}

.powerbi-panel {
  padding: clamp(14px, 2vw, 20px);
  background: #f8faf7;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.powerbi-topbar,
.powerbi-kpis,
.legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.powerbi-topbar {
  margin-bottom: 14px;
  padding: 10px 12px;
  color: var(--white);
  background: #1f2d29;
  border-radius: var(--radius);
}

.powerbi-topbar div {
  display: grid;
  gap: 2px;
}

.powerbi-topbar span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.powerbi-topbar strong {
  color: var(--white);
  font-size: 18px;
  line-height: 1;
}

.report-date {
  white-space: nowrap;
}

.powerbi-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.powerbi-kpis div {
  padding: 14px;
  background: #edf2eb;
  border-radius: var(--radius);
}

.powerbi-kpis span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.powerbi-kpis strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
}

.powerbi-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.bi-card {
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bi-card-wide {
  grid-column: 1 / -1;
}

.bi-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.bi-card-head h3 {
  font-size: 16px;
}

.bi-card-head span {
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.chart {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart svg {
  width: 100%;
  height: auto;
}

.grid-lines path {
  fill: none;
  stroke: #dce3da;
  stroke-width: 1;
}

.area {
  fill: url("#actualFill");
}

.line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.line.plan {
  stroke: var(--yellow);
}

.line.actual {
  stroke: #5ea36a;
}

.chart-points circle {
  fill: #ffffff;
  stroke: var(--green);
  stroke-width: 4;
}

.chart-labels text {
  fill: #6b7771;
  font-size: 16px;
  font-weight: 700;
}

.legend {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 20px;
  height: 4px;
  border-radius: 999px;
}

.legend-plan {
  background: var(--yellow);
}

.legend-actual {
  background: #5ea36a;
}

.bar-chart {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.bar-chart div {
  display: grid;
  grid-template-columns: 86px 1fr 76px;
  align-items: center;
  gap: 10px;
}

.bar-chart span,
.doc-list span,
.estimate-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bar-chart i {
  position: relative;
  height: 12px;
  overflow: hidden;
  background: #e9eee7;
  border-radius: 999px;
}

.bar-chart i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: var(--green-2);
  border-radius: inherit;
}

.bar-chart div:nth-child(1) i::before {
  background: var(--yellow);
}

.bar-chart div:nth-child(3) i::before {
  background: var(--rust);
}

.bar-chart strong {
  font-size: 13px;
  text-align: right;
}

.doc-list {
  display: grid;
  gap: 10px;
}

.doc-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ec;
}

.doc-list div:last-child {
  border-bottom: 0;
}

.doc-list strong {
  color: var(--green);
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.estimate-grid div {
  padding: 12px;
  background: #f2f5f0;
  border-radius: var(--radius);
}

.estimate-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.process {
  padding: 78px 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

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

.timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline-item time {
  color: var(--green-2);
  font-weight: 900;
}

.timeline-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.project-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 240px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(40, 50, 46, 0.05);
}

.project-logo {
  display: grid;
  align-items: center;
  min-height: 76px;
  padding: 8px;
  background: #f8faf7;
  border: 1px solid #edf1ec;
  border-radius: var(--radius);
}

.project-logo img {
  width: 100%;
  height: 62px;
  object-fit: contain;
}

.project-card p {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.project-card strong {
  color: var(--green-2);
  font-size: 13px;
}

.project-emblem {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #14211d;
  background: var(--yellow);
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: var(--radius);
  font-weight: 900;
}

.emblem-pipe {
  color: #ffffff;
  background: var(--green);
}

.emblem-plant {
  color: #ffffff;
  background: var(--blue);
}

.emblem-metro {
  color: #ffffff;
  background: var(--rust);
}

.emblem-battery {
  color: #14211d;
  background: #9fd38d;
}

.emblem-theater {
  color: #ffffff;
  background: #29352f;
}

.lead-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: start;
}

.lead-magnet {
  background: #ffffff;
}

.promo-list {
  display: grid;
  gap: 12px;
}

.promo-list article {
  padding: 20px;
  background: #f6f5ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.promo-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-list p {
  margin: 8px 0 0;
}

.material-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid rgba(30, 95, 116, 0.28);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.material-link:hover {
  border-color: rgba(30, 95, 116, 0.52);
  background: rgba(30, 95, 116, 0.08);
}

.contact {
  background: #15231f;
  color: var(--white);
}

.contact-card,
.request-form {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods .location {
  display: grid;
  gap: 2px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.contact-methods span span,
.contact-methods a span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.contact-methods strong {
  color: var(--white);
  overflow-wrap: anywhere;
}

.request-form {
  display: grid;
  gap: 14px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 7px;
  color: #35443f;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid #d5ddd3;
  border-radius: var(--radius);
  outline: none;
}

.request-form textarea {
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(47, 107, 87, 0.14);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 24px 0;
  color: #e6ece8;
  background: #0d1714;
}

.footer-inner,
.footer-inner div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #d7b14f;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    min-height: auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .intro-grid,
  .dashboard-layout,
  .lead-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .powerbi-kpis,
  .estimate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-text span {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats,
  .service-grid,
  .project-grid,
  .powerbi-grid,
  .powerbi-kpis,
  .estimate-grid,
  .process-list,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .powerbi-topbar,
  .bi-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .services,
  .dashboard-section,
  .experience,
  .lead-magnet,
  .contact {
    padding: 58px 0;
  }

  .timeline-item,
  .project-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner,
  .footer-inner div {
    align-items: flex-start;
    flex-direction: column;
  }
}
