:root {
  --ink: #14202b;
  --muted: #5b6975;
  --line: #d8dee4;
  --paper: #f6f7f8;
  --white: #ffffff;
  --steel: #2d5f7f;
  --signal: #c94735;
  --soft: #eef3f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 36px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.main-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

.main-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover,
.nav-cta:hover {
  color: var(--signal);
}

.nav-cta {
  color: var(--steel);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  min-height: 650px;
  padding: 118px 36px 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 21, 31, 0.88), rgba(10, 21, 31, 0.58), rgba(10, 21, 31, 0.22)),
    url("assets/prefabrik-hero.png") center / cover;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--signal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.hero .eyebrow {
  color: #ffcf7a;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.14;
}

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

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--signal);
  color: var(--white);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--white);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.band,
.solutions,
.projects {
  padding: 72px 36px;
}

.band {
  background: var(--paper);
}

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

.intro p,
.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.solution-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.solution-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-card:nth-child(1) img {
  object-position: center;
}

.solution-card:nth-child(2) img {
  object-position: right center;
}

.solution-card:nth-child(3) img {
  object-position: 42% center;
}

.solution-card:nth-child(4) img {
  object-position: left center;
}

.solution-card div {
  padding: 22px;
}

.solution-card p,
.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.process {
  display: grid;
  gap: 34px;
}

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

.process-grid div {
  padding: 24px;
  border-left: 4px solid var(--signal);
  background: var(--white);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--steel);
  font-weight: 800;
}

.projects {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

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

.project-list span {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-weight: 700;
}

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

.contact-actions {
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
}

.contact-link span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 36px;
  color: var(--white);
  background: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  h1 {
    font-size: 48px;
  }

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

@media (max-width: 620px) {
  .site-header,
  .hero,
  .band,
  .solutions,
  .projects,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy,
  .intro p,
  .contact-copy p,
  .contact-link {
    font-size: 17px;
  }

  .solutions,
  .process-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

