:root {
  --bg: #11130f;
  --panel: #1b1e18;
  --text: #f3f0e8;
  --muted: #b5b0a3;
  --clay: #d36f45;
  --moss: #9fac6d;
  --line: rgba(243, 240, 232, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 15, 0.82);
  backdrop-filter: blur(16px);
}

.logo {
  color: var(--clay);
  font-weight: 950;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
}

button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 900;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 160px 1fr 390px;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.hero-number {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--moss);
  font-size: 4rem;
  font-weight: 950;
  writing-mode: vertical-rl;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 44px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding: 44px;
  border-left: 1px solid var(--line);
  background: var(--panel);
}

.label {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 980px;
  font-size: clamp(3.6rem, 9vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.1em;
}

.hero-side p,
.scope p,
.service-rows p,
.workflow-grid p,
footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-side a {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--clay);
  color: var(--bg);
  padding: 0 20px;
  font-weight: 950;
}

.scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.scope article {
  min-height: 430px;
  padding: 38px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scope article:last-child {
  border-right: 0;
}

.scope span {
  color: var(--moss);
  font-weight: 950;
  text-transform: uppercase;
}

.scope h2,
.services-title h2,
.workflow-card h2,
.result h2,
footer h2 {
  font-size: clamp(2.2rem, 5vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.services,
.workflow,
.result,
footer {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 100px;
}

.services {
  padding-top: 90px;
}

.services-title {
  max-width: 890px;
  margin-bottom: 34px;
}

.service-rows {
  border-top: 1px solid var(--line);
}

.service-rows article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-rows b {
  color: var(--clay);
  font-size: 2rem;
}

.service-rows h3 {
  margin-bottom: 10px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.workflow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.workflow-card {
  padding: 34px;
  background: var(--moss);
  color: var(--bg);
}

.workflow-card .label {
  color: var(--bg);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.workflow-grid p {
  margin: 0;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.result {
  padding: 42px;
  background: var(--clay);
  color: var(--bg);
}

.result-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: rgba(17, 19, 15, 0.28);
}

.result-list span {
  display: block;
  min-height: 180px;
  padding: 24px;
  background: #e98b62;
  font-weight: 850;
}

footer {
  margin-bottom: 28px;
  padding: 38px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

address {
  display: grid;
  gap: 12px;
  align-content: center;
  font-style: normal;
  font-weight: 950;
  color: var(--moss);
}

@media (max-width: 920px) {
  .header,
  .hero,
  .scope,
  .workflow,
  .workflow-grid,
  .result-list {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-number {
    min-height: 90px;
    writing-mode: horizontal-tb;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-side,
  .scope article {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-rows article {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}
