:root {
  --dark: #101820;
  --navy: #162433;
  --graphite: #26313d;
  --yellow: #f5c542;
  --yellow-dark: #dcae28;
  --white: #ffffff;
  --muted: #f4f6f8;
  --text: #1d1d1f;
  --gray: #6b7280;
  --border: #d9dee5;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.03em;
  white-space: nowrap;
}

.brand span {
  color: var(--yellow-dark);
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--yellow-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(245, 197, 66, .28);
}

.btn-primary:hover {
  background: var(--yellow-dark);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, .1);
}

.hero {
  min-height: 650px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(16, 24, 32, .92), rgba(16, 24, 32, .72), rgba(16, 24, 32, .24)),
    url('assets/ruda-slaska.jpg');
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hero-minikoparka {
  background-image:
    linear-gradient(90deg, rgba(16, 24, 32, .92), rgba(16, 24, 32, .72), rgba(16, 24, 32, .24)),
    url('assets/minikoparka-prace-ziemne.jpg');
}

.hero-zwyzka {
  background-image:
    linear-gradient(90deg, rgba(16, 24, 32, .92), rgba(16, 24, 32, .72), rgba(16, 24, 32, .24)),
    url('assets/zwyzka-podnosnik-koszowy.jpg');
}

.hero-content {
  width: min(820px, 100%);
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 197, 66, .16);
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, .86);
  margin: 0 0 32px;
  max-width: 720px;
}

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

.quick-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 920px;
}

.stat {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}

section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--dark);
}

.section-head p {
  margin: 0;
  color: var(--gray);
  max-width: 540px;
  font-size: 17px;
}

.muted {
  background: var(--muted);
}

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

.content h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--dark);
}

.content p {
  color: var(--gray);
  font-size: 17px;
  margin: 0 0 16px;
}

.image-panel img {
  height: 520px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.work-list,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-item,
.spec-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(16, 24, 32, .06);
}

.work-item h3,
.spec-item dt {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.work-item p,
.spec-item dd {
  margin: 0;
  color: var(--gray);
}

.spec-item dd {
  font-size: 18px;
  color: var(--graphite);
  font-weight: 700;
}

.note-box {
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--yellow);
  background: #fff7da;
  color: var(--graphite);
  border-radius: 14px;
}

.cta {
  background: var(--navy);
  color: var(--white);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta h2 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.06;
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  max-width: 720px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-strip div {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-strip strong {
  display: block;
  color: var(--yellow);
  margin-bottom: 6px;
}

footer {
  background: #0b1118;
  color: rgba(255, 255, 255, .72);
  padding: 32px 0;
  font-size: 14px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .menu {
    display: none;
  }

  .quick-stats,
  .work-list,
  .spec-grid,
  .contact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    display: none;
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    min-height: 610px;
  }

  section {
    padding: 62px 0;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .quick-stats,
  .work-list,
  .spec-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .image-panel img {
    height: 360px;
  }
}
